Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

1094 lignes
949 KiB

  1. const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Badge.stories-B87MjRem.js","./BadgeComponent-CECMS32l.js","./helpers-YbsbTqMu.js","./ButtonComponent-C1nc5If8.js","./ButtonComponent-_07OVE4X.css","./helpers-DqLHmvy9.css","./BadgeComponent-Cq2ckS6a.css","./preload-helper-C1FmrZbK.js","./Blockquote.stories-C7wEhYNB.js","./BlockquoteComponent-22BZyH1U.js","./BlockquoteComponent-Bx-H_bOY.css","./Button.stories-CrEr7O0l.js","./EventTeaser.stories-D1PYjQ1n.js","./EventTeaserComponent-BJ07007z.js","./event-teaser-C7_vU5oM.css","./InputCheckboxRadio.stories-XGLmFQm6.js","./InputCheckboxRadioComponent-BDs-wiIA.js","./InputCheckboxRadioComponent-CqxnaLzt.css","./InputSelect.stories-DC0YQMnI.js","./InputSelectComponent-Dy8E-zpH.js","./InputSelectComponent-BZL-Ck1J.css","./InputText.stories-BRZ4P30L.js","./InterviewItem.stories-B0hmZmYv.js","./InterviewItemComponent-COP13Ut2.js","./InterviewItemComponent-Hwp8EJDy.css","./Label.stories-DPguvfD6.js","./LabelComponent-CLHT3U_X.js","./LabelComponent-B5dbspqH.css","./LabelFormCentric.stories-DiRCXNf9.js","./LabelFormCentricComponent-BAz0WP61.js","./LabelFormCentricComponent-CHLBNOOb.css","./Pagination.stories-BPYTxF1E.js","./PaginationComponent-l36Ycu-8.js","./PaginationComponent-bouHmxbw.css","./artwork-c-f7tMhv.css","./ProgressBar.stories-CR1ELRZB.js","./ProgressBarComponent-CJYx4JvT.js","./ProgressBarComponent-CnLpKg1S.css","./ReadingTime.stories-ZjRLiJmD.js","./ReadingTimeComponent-C2MLVCUi.js","./ReadingTimeComponent-DCWWCDQ9.css","./SearchButton.stories-sGmzXj8X.js","./SearchInput.stories-BUaBL-lO.js","./SecondaryMenu.stories-Ch92SFpa.js","./SkipButton.stories-B9PvQYBI.js","./SkipButtonComponent-BkDJ4rKN.js","./SkipButtonComponent-B5fyqKY3.css","./SliderTabs.stories-CG6aO-BT.js","./SliderTabs-XBtwE4SJ.css","./SocialIcons.stories-Dhs6zEAi.js","./Tabs.stories-7pa0mWlB.js","./TabsComponent-D3wHVvrx.js","./TabsComponent-Dz3YgPYt.css","./AZ.stories-DCEdalXY.js","./AZComponent-DZfFnXYz.js","./AZComponent-Dg5xprj8.css","./Accordion.stories-R-duVEd7.js","./AccordionComponent-BNTm0SjT.js","./AccordionComponent-4QBb6qaJ.css","./AnchorLinks.stories-BkGPhltZ.js","./AnchorLinksComponent-D-j3Q_vM.js","./AnchorLinksComponent-Dp0OtjrS.css","./Artwork.stories-CeeOYNoh.js","./ArtworkComponent-0m22bt7p.js","./Card.stories-C6TsbOVT.js","./CardComponent-idd2tH1i.js","./CardComponent-CnrL5333.css","./CheckboxGroup.stories-Ds9tf463.js","./CheckboxGroupComponent-D85yL_3Y.js","./FormElementComponent-FtR0enzF.js","./CheckboxGroupComponent-CxGGtte6.css","./CommonContentArticle.stories-BIViQLYt.js","./CommonContentArticleComponent-D3opUN9b.js","./ContactComponent-BEJdDWiP.js","./ContactComponent-fb8g5RNJ.css","./PrintShareComponent-DEPAnQR5.js","./PrintShareComponent-CjmQa_cF.css","./InfoboxComponent-Dt1wJeVy.js","./InfoboxComponent-B5PYHDiK.css","./TopicTeasersComponent-C36CeZfe.js","./topic-teasers-BlbV1erT.js","./topic-teasers-DlP4Cua-.css","./TopicTeaserComponent-DZoQMLrG.js","./LinkListComponent-ByRblC3q.js","./LinkListComponent-D65wU3H3.css","./topic-teaser-BbEVpnP0.css","./CommonContentComponent-QC1iQjWL.js","./CommonContentComponent-CYdVrjt4.css","./CommonContentArticleComponent-BjEiuvWM.css","./CommonContent.stories-9wA6DGXt.js","./Contact.stories-BsDFl5-A.js","./DocumentList.stories-wWDzOXBp.js","./DocumentListComponent-TGeSx8cf.js","./DocumentListComponent-BZlUG4aZ.css","./ElectionForm.stories-CLpF_Bfi.js","./ElectionFormComponent-DKPbHpyV.js","./ElectionFormComponent-DMaOcfto.css","./ElectionResultListBadge.stories-daZBFm2U.js","./ElectionResultListBadgeComponent-DdqivUQ5.js","./ElectionResultListBadgeComponent-BhqnF31j.css","./ElectionResultListItem.stories-abWXEGUI.js","./ElectionResultListItemComponent-B-2Z8qK2.js","./ElectionResultListItemComponent-Cj8V_y5g.css","./EventTeaserLarge.stories-DLTlEDQS.js","./EventTeaserLargeComponent-BxR07OfG.js","./EventTeaserLargeComponent-BGupsSWG.css","./Flockler.stories-CgVnkw4O.js","./FlocklerComponent-DAJoA9WV.js","./FlocklerComponent-Gng0mZZS.css","./Footer.stories-BJov2lHy.js","./FormElementFormCentric.stories-fZijnEYI.js","./FormElementFormCentric-Cf2KW6fy.css","./FormElement.stories-DYg0mL77.js","./Gallery.stories-DDsL021r.js","./GalleryComponent-BAPOy09g.js","./slider-DUgd_b0_.js","./masonry-VmBz5118.js","./GalleryComponent-C5Ij2lg7.css","./GlobalMessage.stories-BaYAu58l.js","./GlobalMessageComponent-fHMUzdqf.js","./GlobalMessageComponent-B-7dRSy-.css","./HeaderSearch.stories-D4hy6Nr8.js","./Header.stories-D39FlcIm.js","./HowToList.stories-BxQTWqV7.js","./HowToListComponent-T3bHtG0L.js","./HowToListComponent-DVVKPlPY.css","./IHKSwitch.stories-DArq-aIv.js","./ImageText.stories-CkMYUIwH.js","./ImageTextComponent-DubU_s4A.js","./ImageTextComponent-sC5HcWEI.css","./Infobox.stories-B6B85Fzj.js","./LinkCollection.stories-Ci7EkPRP.js","./LinkCollectionComponent-CXxhPbcU.js","./LinkCollectionComponent-yxG7eVmV.css","./LinkList.stories-C9grVZ7d.js","./Login.stories-X7psapNN.js","./LoginComponent-BscRPo6M.js","./LoginComponent-DsW6b01Q.css","./LogoWall.stories-DpMWlI_s.js","./LogoWall-BjlAWWLy.css","./MagazineArticle.stories-5ouPJQKq.js","./MagazineArticleComponent-BcMF6zCM.js","./lorem-D0uNeDcA.js","./EventsComponent-wV3CQD1c.js","./events-Aj-ubmBe.js","./events-BVu475Rn.css","./CardSliderComponent-IXVfxVc0.js","./CardSliderComponent-qD_OW0Es.css","./MagazineArticleComponent-DHWyq2V3.css","./MagazineCover.stories-DEKeKP9j.js","./MagazineCoverComponent-CKeiBa5D.js","./MagazineCoverComponent-BwvsghwG.css","./MagazineHeader.stories-CVhGpRkT.js","./MagazineHeaderComponent-DLnInH5G.js","./MagazineHeaderComponent-GDD8DSVH.css","./MiniTeaser.stories-CIjzmwp8.js","./MiniTeaserComponent-Ba458tfF.js","./MiniTeaserComponent-BMOAxPF4.css","./Nav.stories-CU2S0xbo.js","./NewsletterTeaser.stories-D9iOs5UV.js","./NewsletterTeaser-BTrisk-M.css","./PageDetails.stories-BRl36aCT.js","./ParticipationListItem.stories-B_eHjN0D.js","./ParticipationListItemComponent-FWsfGMRZ.js","./ParticipationTeaserComponent-Bo5nj-n1.js","./ParticipationTeaserComponent-BdmIfiHF.css","./ParticipationListItemComponent-C4uLzX9U.css","./ParticipationTeaser.stories-L35sGkeo.js","./PrintShare.stories-Cy68sPqZ.js","./SearchForm.stories-d5H20mh4.js","./SearchFormComponent-Bb4CA33u.js","./SearchFormComponent-BFFcepvK.css","./SearchResults.stories-CBPldGJT.js","./SearchResultsComponent-BIeWDOOn.js","./SearchResultsComponent-BWjGPqbQ.css","./Steps.stories-hCSpcACE.js","./StepsComponent-CyzPz1w2.js","./StepsComponent-mAHL5hkL.css","./slider-Dx42zWeJ.css","./SuperlistEntry.stories-BWHufTnj.js","./SuperlistEntryComponent-CD1tFqfA.js","./SuperlistEntryComponent-53hzrYre.css","./TeaserSocial.stories-ZFuxnGxx.js","./TeaserSocialComponent-CSTcUBCW.js","./TeaserSocialComponent-D-P6NOXj.css","./Teaser.stories-CZWjmhfT.js","./TeaserComponent-BkL8FttP.js","./TeaserComponent-B20xGJh0.css","./Testimonial.stories-CcvuH0KP.js","./TestimonialComponent-DptxxD4O.js","./TestimonialComponent-CawTnVGn.css","./TextWithHeadline.stories-DOD-Yr0q.js","./TextWithHeadlineComponent-BzFfxQsS.js","./TextWithHeadlineComponent-CYqDKa9a.css","./TopicTeaser.stories-Kn5pnVVw.js","./Video.stories-CJkoX30v.js","./VideoComponent-H_GDGAcq.js","./VideoComponent-DWmBocJ8.css","./AZPage.stories-Csuc0DB9.js","./Article.stories-xN7LwhDm.js","./SurveyComponent-BKu6IcKI.js","./SurveyComponent-X08qvnyJ.css","./QuickFactsComponent-DvsRwVOB.js","./QuickFactsComponent-CGPHb0ml.css","./CommonContent.stories-CYnPRycj.js","./TeasersComponent-zYqk_6zM.js","./TeasersComponent-DZwS8j1p.css","./Documents.stories-CRLiAG4i.js","./ElectionDetailPage.stories-BAhMxaEV.js","./ElectionDetailComponent-CENYqCDD.js","./ElectionDetailComponent-O7libgHO.css","./ElectionOverviewPage.stories-B_xcTlLH.js","./ElectionResultListComponent-B_chcW_G.js","./ElectionResultListComponent--VsHHnE8.css","./ElectionStartPage.stories--LbZkeVd.js","./ParticipationStageComponent-z02RnmX2.js","./ParticipationStageComponent-mrrIDiYF.css","./EventOverview.stories-C-Z1ea9u.js","./EventTeaserLargeSliderComponent-BlPQ6JYa.js","./EventTeaserLargeSliderComponent-gqR2lKDv.css","./EventOverviewStageComponent-Cr26t5Hp.js","./search-typeahead-CSTZDORb.js","./eventoverview-o_vbPdfm.js","./VideoStageComponent-DNfK0xbg.js","./VideoStageComponent-C_pvLHKR.css","./EventOverviewStageComponent-DtC7AVWt.css","./EventTeasersLargeComponent-DG0SOPlv.js","./EventTeasersLargeComponent-BFG4WuiE.css","./SliderComponent-IO2_u6x5.js","./EventOverview-Dc98kWDD.css","./EventPage.stories-BDVx3UEH.js","./Home.stories-6h0KM1Co.js","./SearchComponent-C9fxrYfR.js","./SearchComponent-eZ7fMk8b.css","./FeatureComponent-DMErR1s8.js","./FeatureComponent-kWBOLTLd.css","./InfoBannerComponent-DCPKg3E3.js","./InfoBannerComponent-BX_XBUsn.css","./SocialComponent-Du_y7KcD.js","./SocialComponent-1judhuPh.css","./Topic.stories-DQc4_WdB.js","./IntroComponent-BkmrnuDp.js","./IntroComponent-C-DW9PU9.css","./Home.stories-D6VvP6hH.js","./LoginPage.stories-B0az8rXb.js","./MagazineArticle.stories-z2EE51eq.js","./MagazineInterview.stories-DOnEqplg.js","./InterviewComponent-biOzr1Od.js","./MagazineStart.stories-BD_ErJ9I.js","./ParticipationList.stories-CiXEUx8A.js","./ParticipationTeasersData-D6HcWDw4.js","./ParticipationStart.stories-Bxyxl08c.js","./ParticipationTeasersComponent-DCwaXOJA.js","./ParticipationTeasersComponent-CyqfXL8Q.css","./ParticipationMapComponent-COETOqa-.js","./ParticipationMapComponent-CxptM8Ov.css","./SearchEventsPage.stories-DLqt7gba.js","./SearchPage.stories-D28zJSw1.js","./TileGridPage.stories-JHGQ4efV.js","./TileGridWoodComponent-iGHC8gaq.js","./TileGridWoodComponent-SkHxIt6R.css","./TimelinePage.stories-BuR6ffcF.js","./TimelineComponent-BrtijRxC.js","./TimelineComponent-DiNEkIOp.css","./Topic.stories-R0xCMmzP.js","./CardSlider.stories-BLEs8byO.js","./ElectionDetail.stories-BzC3U67W.js","./ElectionResultList.stories-DSvnTFUj.js","./EventTeaserLargeSlider.stories-CNPzipXE.js","./EventTeasersLarge.stories-CRnHuaMY.js","./EventOverviewStage.stories-irf52UQF.js","./Events.stories-BkfmceRG.js","./Feature.stories-pF6PfPgL.js","./InfoBanner.stories-DQetmDL7.js","./Interview.stories-CFrQUnyd.js","./Intro.stories-UC4mzPeb.js","./MarketingHeader.stories-aqO6afUh.js","./MarketingHeader-TabgGSxn.css","./ParticipationMap.stories-CyQTPt4n.js","./ParticipationStage.stories-HXdITxE-.js","./ParticipationTeasers.stories-D8JiK0-0.js","./QuickFacts.stories-D4KvPpzH.js","./Search.stories-DbI7fu4f.js","./Slider.stories-PAF_xYV0.js","./Social.stories-BuX_Nfpo.js","./Superlist.stories-MncZLDbG.js","./Superlist-B8yUAiec.css","./Survey.stories-o0nyiJJF.js","./Teasers.stories-B80ssKgu.js","./TileGridWood.stories-DMQj0qDR.js","./TileGrid.stories-DJRnfs3x.js","./Timeline.stories-BEZRp9rB.js","./TopicTeasers.stories-BXONEHPj.js","./VideoStage.stories-CK7B8HGk.js","./DocsRenderer-LL677BLK-D3Xe-KLW.js"])))=>i.map(i=>d[i]);
  2. var k0=Object.defineProperty;var $0=(e,t,r)=>t in e?k0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var pr=(e,t,r)=>$0(e,typeof t!="symbol"?t+"":t,r);import{_ as de}from"./preload-helper-C1FmrZbK.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var qu={},B0=Object.create,zc=Object.defineProperty,F0=Object.getOwnPropertyDescriptor,eg=Object.getOwnPropertyNames,V0=Object.getPrototypeOf,U0=Object.prototype.hasOwnProperty,Wa=(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')}),Y=(e,t)=>function(){return t||(0,e[eg(e)[0]])((t={exports:{}}).exports,t),t.exports},mr=(e,t)=>{for(var r in t)zc(e,r,{get:t[r],enumerable:!0})},J0=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of eg(t))!U0.call(e,o)&&o!==r&&zc(e,o,{get:()=>t[o],enumerable:!(n=F0(t,o))||n.enumerable});return e},It=(e,t,r)=>(r=e!=null?B0(V0(e)):{},J0(t||!e||!e.__esModule?zc(r,"default",{value:e,enumerable:!0}):r,e)),Yc=Y({"../../node_modules/picocolors/picocolors.browser.js"(e,t){var r=String,n=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,blackBright:r,redBright:r,greenBright:r,yellowBright:r,blueBright:r,magentaBright:r,cyanBright:r,whiteBright:r,bgBlackBright:r,bgRedBright:r,bgGreenBright:r,bgYellowBright:r,bgBlueBright:r,bgMagentaBright:r,bgCyanBright:r,bgWhiteBright:r}};t.exports=n(),t.exports.createColors=n}}),H0=Y({"../../node_modules/@ngard/tiny-isequal/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return function a(l,d,c){var p,f,g,b=t.call(l),T=t.call(d);if(l===d)return!0;if(l==null||d==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(d)>-1)return!0;if(c.push(l,d),b!=T||(p=n(l),f=n(d),p.length!=f.length||p.some(function(w){return!a(l[w],d[w],c)})))return!1;switch(b.slice(8,-1)){case"Symbol":return l.valueOf()==d.valueOf();case"Date":case"Number":return+l==+d||+l!=+l&&+d!=+d;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+d;case"Set":case"Map":p=l.entries(),f=d.entries();do if(!a((g=p.next()).value,f.next().value,c))return!1;while(!g.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),d=new Uint8Array(d);case"DataView":l=new Uint8Array(l.buffer),d=new Uint8Array(d.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=d.length)return!1;for(g=0;g<l.length;g++)if((g in l||g in d)&&(g in l!=g in d||!a(l[g],d[g],c)))return!1;return!0;case"Object":return a(r(l),r(d),c);default:return!1}}(o,i,[])}}()}}),G0=Y({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,i)=>Math.min(o,i.length),1/0):0}}}),W0=Y({"../../node_modules/strip-indent/index.js"(e,t){var r=G0();t.exports=n=>{let o=r(n);if(o===0)return n;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(i,"")}}}),z0=Y({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let i=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,o.indent.repeat(n))}}}),tg=Y({"../../node_modules/redent/index.js"(e,t){var r=W0(),n=z0();t.exports=(o,i=0,a)=>n(r(o),i,a)}}),Y0=Y({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var i=r[n];return n=n+1,{done:!1,value:i}}else return{done:!0}}};return o}e.default=t}}),Sa=Y({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(Y0());function r(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(i)}function o(i,a){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(a)}),i}}}),K0=Y({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Sa());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,g){return d(f)||l(f,g)||i(f,g)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  3. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(f,g){if(f){if(typeof f=="string")return a(f,g);var b={}.toString.call(f).slice(8,-1);return b==="Object"&&f.constructor&&(b=f.constructor.name),b==="Map"||b==="Set"?Array.from(f):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?a(f,g):void 0}}function a(f,g){(g==null||g>f.length)&&(g=f.length);for(var b=0,T=Array(g);b<g;b++)T[b]=f[b];return T}function l(f,g){var b=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(b!=null){var T,w,R,_,A=[],L=!0,D=!1;try{if(R=(b=b.call(f)).next,g===0){if(Object(b)!==b)return;L=!1}else for(;!(L=(T=R.call(b)).done)&&(A.push(T.value),A.length!==g);L=!0);}catch(k){D=!0,w=k}finally{try{if(!L&&b.return!=null&&(_=b.return(),Object(_)!==_))return}finally{if(D)throw w}}return A}}function d(f){if(Array.isArray(f))return f}var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],p={entries:function(){return c},forEach:function(f){for(var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=0,T=c;b<T.length;b++){var w=n(T[b],2),R=w[0],_=w[1];f.call(g,_,R,c)}},get:function(f){var g=c.filter(function(b){return b[0]===f})[0];return g&&g[1]},has:function(f){return!!p.get(f)},keys:function(){return c.map(function(f){var g=n(f,1),b=g[0];return b})},values:function(){return c.map(function(f){var g=n(f,2),b=g[1];return b})}};e.default=(0,t.default)(p,p.entries())}}),X0=Y({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Sa());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,g){return d(f)||l(f,g)||i(f,g)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  4. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(f,g){if(f){if(typeof f=="string")return a(f,g);var b={}.toString.call(f).slice(8,-1);return b==="Object"&&f.constructor&&(b=f.constructor.name),b==="Map"||b==="Set"?Array.from(f):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?a(f,g):void 0}}function a(f,g){(g==null||g>f.length)&&(g=f.length);for(var b=0,T=Array(g);b<g;b++)T[b]=f[b];return T}function l(f,g){var b=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(b!=null){var T,w,R,_,A=[],L=!0,D=!1;try{if(R=(b=b.call(f)).next,g===0){if(Object(b)!==b)return;L=!1}else for(;!(L=(T=R.call(b)).done)&&(A.push(T.value),A.length!==g);L=!0);}catch(k){D=!0,w=k}finally{try{if(!L&&b.return!=null&&(_=b.return(),Object(_)!==_))return}finally{if(D)throw w}}return A}}function d(f){if(Array.isArray(f))return f}var c=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],p={entries:function(){return c},forEach:function(f){for(var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=0,T=c;b<T.length;b++){var w=n(T[b],2),R=w[0],_=w[1];f.call(g,_,R,c)}},get:function(f){var g=c.filter(function(b){return b[0]===f})[0];return g&&g[1]},has:function(f){return!!p.get(f)},keys:function(){return c.map(function(f){var g=n(f,1),b=g[0];return b})},values:function(){return c.map(function(f){var g=n(f,2),b=g[1];return b})}};e.default=(0,t.default)(p,p.entries())}}),Q0=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),Z0=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),eR=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),tR=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),rR=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),nR=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),oR=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),iR=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),aR=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),sR=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),lR=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),uR=Y({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),cR=Y({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=b(Q0()),r=b(Z0()),n=b(eR()),o=b(tR()),i=b(rR()),a=b(nR()),l=b(oR()),d=b(iR()),c=b(aR()),p=b(sR()),f=b(lR()),g=b(uR());function b(w){return w&&w.__esModule?w:{default:w}}var T=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",i.default],["roletype",a.default],["section",l.default],["sectionhead",d.default],["select",c.default],["structure",p.default],["widget",f.default],["window",g.default]];e.default=T}}),dR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),pR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),fR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),hR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),mR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),yR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),bR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),vR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ER=Y({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),TR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),wR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),_R=Y({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),SR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),RR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),OR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),AR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),PR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),CR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),xR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),NR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),IR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),qR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),jR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),MR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),LR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),DR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),kR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),$R=Y({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),BR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),FR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),VR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),UR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),JR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),HR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),GR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),WR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),YR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),KR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),XR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),QR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),ZR=Y({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),eO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),tO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),rO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),nO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),oO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),iO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),aO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),sO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),lO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),uO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),cO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),dO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),pO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),fO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),hO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),mO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),yO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),gO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),bO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),vO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),EO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),TO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),wO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),_O=Y({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),SO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),RO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),OO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),AO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),PO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),CO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),xO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),NO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),IO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),qO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),jO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),MO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),LO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),DO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),kO=Y({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),$O=Y({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),BO=Y({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Te(dR()),r=Te(pR()),n=Te(fR()),o=Te(hR()),i=Te(mR()),a=Te(yR()),l=Te(gR()),d=Te(bR()),c=Te(vR()),p=Te(ER()),f=Te(TR()),g=Te(wR()),b=Te(_R()),T=Te(SR()),w=Te(RR()),R=Te(OR()),_=Te(AR()),A=Te(PR()),L=Te(CR()),D=Te(xR()),k=Te(NR()),h=Te(IR()),C=Te(qR()),x=Te(jR()),j=Te(MR()),Z=Te(LR()),G=Te(DR()),oe=Te(kR()),U=Te($R()),I=Te(BR()),V=Te(FR()),K=Te(VR()),ne=Te(UR()),he=Te(JR()),xe=Te(HR()),Pe=Te(GR()),Ce=Te(WR()),fe=Te(zR()),ue=Te(YR()),Ne=Te(KR()),_e=Te(XR()),be=Te(QR()),Ge=Te(ZR()),Be=Te(eO()),ot=Te(tO()),Q=Te(rO()),we=Te(nO()),Ie=Te(oO()),Oe=Te(iO()),qe=Te(aO()),je=Te(sO()),ve=Te(lO()),De=Te(uO()),bt=Te(cO()),Kt=Te(dO()),Ht=Te(pO()),Gt=Te(fO()),jt=Te(hO()),Zt=Te(mO()),At=Te(yO()),Wt=Te(gO()),Or=Te(bO()),so=Te(vO()),zr=Te(EO()),In=Te(TO()),qn=Te(wO()),lo=Te(_O()),Ar=Te(SO()),Dr=Te(RO()),jn=Te(OO()),Mn=Te(AO()),zt=Te(PO()),Mt=Te(CO()),un=Te(xO()),uo=Te(NO()),Ln=Te(IO()),Yr=Te(qO()),Pr=Te(jO()),Lt=Te(MO()),ke=Te(LO()),cn=Te(DO()),ar=Te(kO()),Tt=Te($O());function Te(Kr){return Kr&&Kr.__esModule?Kr:{default:Kr}}var co=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",i.default],["blockquote",a.default],["button",l.default],["caption",d.default],["cell",c.default],["checkbox",p.default],["code",f.default],["columnheader",g.default],["combobox",b.default],["complementary",T.default],["contentinfo",w.default],["definition",R.default],["deletion",_.default],["dialog",A.default],["directory",L.default],["document",D.default],["emphasis",k.default],["feed",h.default],["figure",C.default],["form",x.default],["generic",j.default],["grid",Z.default],["gridcell",G.default],["group",oe.default],["heading",U.default],["img",I.default],["insertion",V.default],["link",K.default],["list",ne.default],["listbox",he.default],["listitem",xe.default],["log",Pe.default],["main",Ce.default],["mark",fe.default],["marquee",ue.default],["math",Ne.default],["menu",_e.default],["menubar",be.default],["menuitem",Ge.default],["menuitemcheckbox",Be.default],["menuitemradio",ot.default],["meter",Q.default],["navigation",we.default],["none",Ie.default],["note",Oe.default],["option",qe.default],["paragraph",je.default],["presentation",ve.default],["progressbar",De.default],["radio",bt.default],["radiogroup",Kt.default],["region",Ht.default],["row",Gt.default],["rowgroup",jt.default],["rowheader",Zt.default],["scrollbar",At.default],["search",Wt.default],["searchbox",Or.default],["separator",so.default],["slider",zr.default],["spinbutton",In.default],["status",qn.default],["strong",lo.default],["subscript",Ar.default],["superscript",Dr.default],["switch",jn.default],["tab",Mn.default],["table",zt.default],["tablist",Mt.default],["tabpanel",un.default],["term",uo.default],["textbox",Ln.default],["time",Yr.default],["timer",Pr.default],["toolbar",Lt.default],["tooltip",ke.default],["tree",cn.default],["treegrid",ar.default],["treeitem",Tt.default]];e.default=co}}),FO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),VO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),UO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),JO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),HO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),GO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),WO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),YO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),KO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),XO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),QO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),ZO=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),eA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),tA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),rA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),nA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),oA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),iA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),aA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),sA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),lA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),uA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),cA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),dA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),pA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),fA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),hA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),mA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),yA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),gA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),vA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),EA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),TA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),wA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),_A=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),SA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),RA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),OA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),AA=Y({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),PA=Y({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=be(FO()),r=be(VO()),n=be(UO()),o=be(JO()),i=be(HO()),a=be(GO()),l=be(WO()),d=be(zO()),c=be(YO()),p=be(KO()),f=be(XO()),g=be(QO()),b=be(ZO()),T=be(eA()),w=be(tA()),R=be(rA()),_=be(nA()),A=be(oA()),L=be(iA()),D=be(aA()),k=be(sA()),h=be(lA()),C=be(uA()),x=be(cA()),j=be(dA()),Z=be(pA()),G=be(fA()),oe=be(hA()),U=be(mA()),I=be(yA()),V=be(gA()),K=be(bA()),ne=be(vA()),he=be(EA()),xe=be(TA()),Pe=be(wA()),Ce=be(_A()),fe=be(SA()),ue=be(RA()),Ne=be(OA()),_e=be(AA());function be(Be){return Be&&Be.__esModule?Be:{default:Be}}var Ge=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",a.default],["doc-bibliography",l.default],["doc-biblioref",d.default],["doc-chapter",c.default],["doc-colophon",p.default],["doc-conclusion",f.default],["doc-cover",g.default],["doc-credit",b.default],["doc-credits",T.default],["doc-dedication",w.default],["doc-endnote",R.default],["doc-endnotes",_.default],["doc-epigraph",A.default],["doc-epilogue",L.default],["doc-errata",D.default],["doc-example",k.default],["doc-footnote",h.default],["doc-foreword",C.default],["doc-glossary",x.default],["doc-glossref",j.default],["doc-index",Z.default],["doc-introduction",G.default],["doc-noteref",oe.default],["doc-notice",U.default],["doc-pagebreak",I.default],["doc-pagefooter",V.default],["doc-pageheader",K.default],["doc-pagelist",ne.default],["doc-part",he.default],["doc-preface",xe.default],["doc-prologue",Pe.default],["doc-pullquote",Ce.default],["doc-qna",fe.default],["doc-subtitle",ue.default],["doc-tip",Ne.default],["doc-toc",_e.default]];e.default=Ge}}),CA=Y({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),xA=Y({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),NA=Y({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),IA=Y({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(CA()),r=o(xA()),n=o(NA());function o(a){return a&&a.__esModule?a:{default:a}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=i}}),Kc=Y({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(cR()),r=a(BO()),n=a(PA()),o=a(IA()),i=a(Sa());function a(R){return R&&R.__esModule?R:{default:R}}function l(R,_){var A=typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(!A){if(Array.isArray(R)||(A=p(R))||_){A&&(R=A);var L=0,D=function(){};return{s:D,n:function(){return L>=R.length?{done:!0}:{done:!1,value:R[L++]}},e:function(x){throw x},f:D}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  5. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k,h=!0,C=!1;return{s:function(){A=A.call(R)},n:function(){var x=A.next();return h=x.done,x},e:function(x){C=!0,k=x},f:function(){try{h||A.return==null||A.return()}finally{if(C)throw k}}}}function d(R,_){return b(R)||g(R,_)||p(R,_)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  6. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(R,_){if(R){if(typeof R=="string")return f(R,_);var A={}.toString.call(R).slice(8,-1);return A==="Object"&&R.constructor&&(A=R.constructor.name),A==="Map"||A==="Set"?Array.from(R):A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A)?f(R,_):void 0}}function f(R,_){(_==null||_>R.length)&&(_=R.length);for(var A=0,L=Array(_);A<_;A++)L[A]=R[A];return L}function g(R,_){var A=R==null?null:typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(A!=null){var L,D,k,h,C=[],x=!0,j=!1;try{if(k=(A=A.call(R)).next,_===0){if(Object(A)!==A)return;x=!1}else for(;!(x=(L=k.call(A)).done)&&(C.push(L.value),C.length!==_);x=!0);}catch(Z){j=!0,D=Z}finally{try{if(!x&&A.return!=null&&(h=A.return(),Object(h)!==h))return}finally{if(j)throw D}}return C}}function b(R){if(Array.isArray(R))return R}var T=[].concat(t.default,r.default,n.default,o.default);T.forEach(function(R){var _=d(R,2),A=_[1],L=l(A.superClass),D;try{for(L.s();!(D=L.n()).done;){var k=D.value,h=l(k),C;try{var x=function(){var j=C.value,Z=T.filter(function(V){var K=d(V,1),ne=K[0];return ne===j})[0];if(Z)for(var G=Z[1],oe=0,U=Object.keys(G.props);oe<U.length;oe++){var I=U[oe];Object.prototype.hasOwnProperty.call(A.props,I)||(A.props[I]=G.props[I])}};for(h.s();!(C=h.n()).done;)x()}catch(j){h.e(j)}finally{h.f()}}}catch(j){L.e(j)}finally{L.f()}});var w={entries:function(){return T},forEach:function(R){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=l(T),L;try{for(A.s();!(L=A.n()).done;){var D=d(L.value,2),k=D[0],h=D[1];R.call(_,h,k,T)}}catch(C){A.e(C)}finally{A.f()}},get:function(R){var _=T.filter(function(A){return A[0]===R})[0];return _&&_[1]},has:function(R){return!!w.get(R)},keys:function(){return T.map(function(R){var _=d(R,1),A=_[0];return A})},values:function(){return T.map(function(R){var _=d(R,2),A=_[1];return A})}};e.default=(0,i.default)(w,w.entries())}}),qA=Y({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Sa()),r=n(Kc());function n(h){return h&&h.__esModule?h:{default:h}}function o(h,C){return c(h)||d(h,C)||a(h,C)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  7. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(h,C){if(h){if(typeof h=="string")return l(h,C);var x={}.toString.call(h).slice(8,-1);return x==="Object"&&h.constructor&&(x=h.constructor.name),x==="Map"||x==="Set"?Array.from(h):x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x)?l(h,C):void 0}}function l(h,C){(C==null||C>h.length)&&(C=h.length);for(var x=0,j=Array(C);x<C;x++)j[x]=h[x];return j}function d(h,C){var x=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(x!=null){var j,Z,G,oe,U=[],I=!0,V=!1;try{if(G=(x=x.call(h)).next,C===0){if(Object(x)!==x)return;I=!1}else for(;!(I=(j=G.call(x)).done)&&(U.push(j.value),U.length!==C);I=!0);}catch(K){V=!0,Z=K}finally{try{if(!I&&x.return!=null&&(oe=x.return(),Object(oe)!==oe))return}finally{if(V)throw Z}}return U}}function c(h){if(Array.isArray(h))return h}var p=[],f=r.default.keys();for(_=0;_<f.length;_++)if(g=f[_],b=r.default.get(g),b)for(T=[].concat(b.baseConcepts,b.relatedConcepts),w=function(){var h=T[R];if(h.module==="HTML"){var C=h.concept;if(C){var x=p.filter(function(oe){return L(oe[0],C)})[0],j;x?j=x[1]:j=[];for(var Z=!0,G=0;G<j.length;G++)if(j[G]===g){Z=!1;break}Z&&j.push(g),x||p.push([C,j])}}},R=0;R<T.length;R++)w();var g,b,T,w,R,_,A={entries:function(){return p},forEach:function(h){for(var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=0,j=p;x<j.length;x++){var Z=o(j[x],2),G=Z[0],oe=Z[1];h.call(C,oe,G,p)}},get:function(h){var C=p.filter(function(x){return h.name===x[0].name&&k(h.attributes,x[0].attributes)})[0];return C&&C[1]},has:function(h){return!!A.get(h)},keys:function(){return p.map(function(h){var C=o(h,1),x=C[0];return x})},values:function(){return p.map(function(h){var C=o(h,2),x=C[1];return x})}};function L(h,C){return h.name===C.name&&D(h.constraints,C.constraints)&&k(h.attributes,C.attributes)}function D(h,C){if(h===void 0&&C!==void 0||h!==void 0&&C===void 0)return!1;if(h!==void 0&&C!==void 0){if(h.length!==C.length)return!1;for(var x=0;x<h.length;x++)if(h[x]!==C[x])return!1}return!0}function k(h,C){if(h===void 0&&C!==void 0||h!==void 0&&C===void 0)return!1;if(h!==void 0&&C!==void 0){if(h.length!==C.length)return!1;for(var x=0;x<h.length;x++){if(h[x].name!==C[x].name||h[x].value!==C[x].value||h[x].constraints===void 0&&C[x].constraints!==void 0||h[x].constraints!==void 0&&C[x].constraints===void 0)return!1;if(h[x].constraints!==void 0&&C[x].constraints!==void 0){if(h[x].constraints.length!==C[x].constraints.length)return!1;for(var j=0;j<h[x].constraints.length;j++)if(h[x].constraints[j]!==C[x].constraints[j])return!1}}}return!0}e.default=(0,t.default)(A,A.entries())}}),jA=Y({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Sa()),r=n(Kc());function n(k){return k&&k.__esModule?k:{default:k}}function o(k,h){return c(k)||d(k,h)||a(k,h)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  8. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(k,h){if(k){if(typeof k=="string")return l(k,h);var C={}.toString.call(k).slice(8,-1);return C==="Object"&&k.constructor&&(C=k.constructor.name),C==="Map"||C==="Set"?Array.from(k):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?l(k,h):void 0}}function l(k,h){(h==null||h>k.length)&&(h=k.length);for(var C=0,x=Array(h);C<h;C++)x[C]=k[C];return x}function d(k,h){var C=k==null?null:typeof Symbol<"u"&&k[Symbol.iterator]||k["@@iterator"];if(C!=null){var x,j,Z,G,oe=[],U=!0,I=!1;try{if(Z=(C=C.call(k)).next,h===0){if(Object(C)!==C)return;U=!1}else for(;!(U=(x=Z.call(C)).done)&&(oe.push(x.value),oe.length!==h);U=!0);}catch(V){I=!0,j=V}finally{try{if(!U&&C.return!=null&&(G=C.return(),Object(G)!==G))return}finally{if(I)throw j}}return oe}}function c(k){if(Array.isArray(k))return k}var p=[],f=r.default.keys();for(L=0;L<f.length;L++)if(g=f[L],b=r.default.get(g),T=[],b){for(w=[].concat(b.baseConcepts,b.relatedConcepts),A=0;A<w.length;A++)R=w[A],R.module==="HTML"&&(_=R.concept,_!=null&&T.push(_));T.length>0&&p.push([g,T])}var g,b,T,w,R,_,A,L,D={entries:function(){return p},forEach:function(k){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=0,x=p;C<x.length;C++){var j=o(x[C],2),Z=j[0],G=j[1];k.call(h,G,Z,p)}},get:function(k){var h=p.filter(function(C){return C[0]===k})[0];return h&&h[1]},has:function(k){return!!D.get(k)},keys:function(){return p.map(function(k){var h=o(k,1),C=h[0];return C})},values:function(){return p.map(function(k){var h=o(k,2),C=h[1];return C})}};e.default=(0,t.default)(D,D.entries())}}),Xc=Y({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=a(K0()),r=a(X0()),n=a(Kc()),o=a(qA()),i=a(jA());function a(l){return l&&l.__esModule?l:{default:l}}e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=o.default,e.roleElements=i.default}}),rg=Y({"../../node_modules/css.escape/css.escape.js"(e,t){(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(o),a=i.length,l=-1,d,c="",p=i.charCodeAt(0);++l<a;){if(d=i.charCodeAt(l),d==0){c+="�";continue}if(d>=1&&d<=31||d==127||l==0&&d>=48&&d<=57||l==1&&d>=48&&d<=57&&p==45){c+="\\"+d.toString(16)+" ";continue}if(l==0&&a==1&&d==45){c+="\\"+i.charAt(l);continue}if(d>=128||d==45||d==95||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122){c+=i.charAt(l);continue}c+="\\"+i.charAt(l)}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),ng=Y({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var r=(i=0)=>a=>`\x1B[${38+i};5;${a}m`,n=(i=0)=>(a,l,d)=>`\x1B[${38+i};2;${a};${l};${d}m`;function o(){let i=new Map,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(let[l,d]of Object.entries(a)){for(let[c,p]of Object.entries(d))a[c]={open:`\x1B[${p[0]}m`,close:`\x1B[${p[1]}m`},d[c]=a[c],i.set(p[0],p[1]);Object.defineProperty(a,l,{value:d,enumerable:!1})}return Object.defineProperty(a,"codes",{value:i,enumerable:!1}),a.color.close="\x1B[39m",a.bgColor.close="\x1B[49m",a.color.ansi256=r(),a.color.ansi16m=n(),a.bgColor.ansi256=r(10),a.bgColor.ansi16m=n(10),Object.defineProperties(a,{rgbToAnsi256:{value:(l,d,c)=>l===d&&d===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(d/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:l=>{let d=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!d)return[0,0,0];let{colorString:c}=d.groups;c.length===3&&(c=c.split("").map(f=>f+f).join(""));let p=Number.parseInt(c,16);return[p>>16&255,p>>8&255,p&255]},enumerable:!1},hexToAnsi256:{value:l=>a.rgbToAnsi256(...a.hexToRgb(l)),enumerable:!1}}),a}Object.defineProperty(t,"exports",{enumerable:!0,get:o})}}),Ys=Y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=i;var t=(a,l)=>{let d=Object.keys(a).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(a).forEach(c=>{Object.getOwnPropertyDescriptor(a,c).enumerable&&d.push(c)}),d};function r(a,l,d,c,p,f,g=": "){let b="",T=a.next();if(!T.done){b+=l.spacingOuter;let w=d+l.indent;for(;!T.done;){let R=f(T.value[0],l,w,c,p),_=f(T.value[1],l,w,c,p);b+=w+R+g+_,T=a.next(),T.done?l.min||(b+=","):b+=","+l.spacingInner}b+=l.spacingOuter+d}return b}function n(a,l,d,c,p,f){let g="",b=a.next();if(!b.done){g+=l.spacingOuter;let T=d+l.indent;for(;!b.done;)g+=T+f(b.value,l,T,c,p),b=a.next(),b.done?l.min||(g+=","):g+=","+l.spacingInner;g+=l.spacingOuter+d}return g}function o(a,l,d,c,p,f){let g="";if(a.length){g+=l.spacingOuter;let b=d+l.indent;for(let T=0;T<a.length;T++)g+=b,T in a&&(g+=f(a[T],l,b,c,p)),T<a.length-1?g+=","+l.spacingInner:l.min||(g+=",");g+=l.spacingOuter+d}return g}function i(a,l,d,c,p,f){let g="",b=t(a,l.compareKeys);if(b.length){g+=l.spacingOuter;let T=d+l.indent;for(let w=0;w<b.length;w++){let R=b[w],_=f(R,l,T,c,p),A=f(a[R],l,T,c,p);g+=T+_+": "+A,w<b.length-1?g+=","+l.spacingInner:l.min||(g+=",")}g+=l.spacingOuter+d}return g}}}),MA=Y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ys(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,i=" ",a=(p,f,g,b,T,w)=>{let R=p.toString();return R==="ArrayContaining"||R==="ArrayNotContaining"?++b>f.maxDepth?"["+R+"]":R+i+"["+(0,t.printListItems)(p.sample,f,g,b,T,w)+"]":R==="ObjectContaining"||R==="ObjectNotContaining"?++b>f.maxDepth?"["+R+"]":R+i+"{"+(0,t.printObjectProperties)(p.sample,f,g,b,T,w)+"}":R==="StringMatching"||R==="StringNotMatching"||R==="StringContaining"||R==="StringNotContaining"?R+i+w(p.sample,f,g,b,T):p.toAsymmetricMatcher()};e.serialize=a;var l=p=>p&&p.$$typeof===o;e.test=l;var d={serialize:a,test:l},c=d;e.default=c}}),LA=Y({"../../node_modules/@testing-library/dom/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),DA=Y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(LA()),r=n(ng());function n(c){return c&&c.__esModule?c:{default:c}}var o=c=>c.replace((0,t.default)(),p=>{switch(p){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),i=c=>typeof c=="string"&&!!c.match((0,t.default)());e.test=i;var a=(c,p,f,g,b,T)=>T(o(c),p,f,g,b);e.serialize=a;var l={serialize:a,test:i},d=l;e.default=d}}),kA=Y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ys(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,i=f=>n.indexOf(f)!==-1||o.test(f),a=f=>f&&f.constructor&&!!f.constructor.name&&i(f.constructor.name);e.test=a;var l=f=>f.constructor.name==="NamedNodeMap",d=(f,g,b,T,w,R)=>{let _=f.constructor.name;return++T>g.maxDepth?"["+_+"]":(g.min?"":_+r)+(n.indexOf(_)!==-1?"{"+(0,t.printObjectProperties)(l(f)?Array.from(f).reduce((A,L)=>(A[L.name]=L.value,A),{}):{...f},g,b,T,w,R)+"}":"["+(0,t.printListItems)(Array.from(f),g,b,T,w,R)+"]")};e.serialize=d;var c={serialize:d,test:a},p=c;e.default=p}}),$A=Y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}}}),Qc=Y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r($A());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,p,f,g,b,T,w)=>{let R=g+f.indent,_=f.colors;return c.map(A=>{let L=p[A],D=w(L,f,R,b,T);return typeof L!="string"&&(D.indexOf(`
  9. `)!==-1&&(D=f.spacingOuter+R+D+f.spacingOuter+g),D="{"+D+"}"),f.spacingInner+g+_.prop.open+A+_.prop.close+"="+_.value.open+D+_.value.close}).join("")};e.printProps=n;var o=(c,p,f,g,b,T)=>c.map(w=>p.spacingOuter+f+(typeof w=="string"?i(w,p):T(w,p,f,g,b))).join("");e.printChildren=o;var i=(c,p)=>{let f=p.colors.content;return f.open+(0,t.default)(c)+f.close};e.printText=i;var a=(c,p)=>{let f=p.colors.comment;return f.open+"<!--"+(0,t.default)(c)+"-->"+f.close};e.printComment=a;var l=(c,p,f,g,b)=>{let T=g.colors.tag;return T.open+"<"+c+(p&&T.close+p+g.spacingOuter+b+T.open)+(f?">"+T.close+f+g.spacingOuter+b+T.open+"</"+c:(p&&!g.min?"":" ")+"/")+">"+T.close};e.printElement=l;var d=(c,p)=>{let f=p.colors.tag;return f.open+"<"+c+f.close+" …"+f.open+" />"+f.close};e.printElementAsLeaf=d}}),BA=Y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Qc(),r=1,n=3,o=8,i=11,a=/^((HTML|SVG)\w*)?Element$/,l=R=>{try{return typeof R.hasAttribute=="function"&&R.hasAttribute("is")}catch{return!1}},d=R=>{let _=R.constructor.name,{nodeType:A,tagName:L}=R,D=typeof L=="string"&&L.includes("-")||l(R);return A===r&&(a.test(_)||D)||A===n&&_==="Text"||A===o&&_==="Comment"||A===i&&_==="DocumentFragment"},c=R=>{var _;return(R==null||(_=R.constructor)===null||_===void 0?void 0:_.name)&&d(R)};e.test=c;function p(R){return R.nodeType===n}function f(R){return R.nodeType===o}function g(R){return R.nodeType===i}var b=(R,_,A,L,D,k)=>{if(p(R))return(0,t.printText)(R.data,_);if(f(R))return(0,t.printComment)(R.data,_);let h=g(R)?"DocumentFragment":R.tagName.toLowerCase();return++L>_.maxDepth?(0,t.printElementAsLeaf)(h,_):(0,t.printElement)(h,(0,t.printProps)(g(R)?[]:Array.from(R.attributes).map(C=>C.name).sort(),g(R)?{}:Array.from(R.attributes).reduce((C,x)=>(C[x.name]=x.value,C),{}),_,A+_.indent,L,D,k),(0,t.printChildren)(Array.prototype.slice.call(R.childNodes||R.children),_,A+_.indent,L,D,k),_,A)};e.serialize=b;var T={serialize:b,test:c},w=T;e.default=w}}),FA=Y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ys(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",a="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",d="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",p="@@__IMMUTABLE_STACK__@@",f=x=>"Immutable."+x,g=x=>"["+x+"]",b=" ",T="…",w=(x,j,Z,G,oe,U,I)=>++G>j.maxDepth?g(f(I)):f(I)+b+"{"+(0,t.printIteratorEntries)(x.entries(),j,Z,G,oe,U)+"}";function R(x){let j=0;return{next(){if(j<x._keys.length){let Z=x._keys[j++];return{done:!1,value:[Z,x.get(Z)]}}return{done:!0,value:void 0}}}}var _=(x,j,Z,G,oe,U)=>{let I=f(x._name||"Record");return++G>j.maxDepth?g(I):I+b+"{"+(0,t.printIteratorEntries)(R(x),j,Z,G,oe,U)+"}"},A=(x,j,Z,G,oe,U)=>{let I=f("Seq");return++G>j.maxDepth?g(I):x[o]?I+b+"{"+(x._iter||x._object?(0,t.printIteratorEntries)(x.entries(),j,Z,G,oe,U):T)+"}":I+b+"["+(x._iter||x._array||x._collection||x._iterable?(0,t.printIteratorValues)(x.values(),j,Z,G,oe,U):T)+"]"},L=(x,j,Z,G,oe,U,I)=>++G>j.maxDepth?g(f(I)):f(I)+b+"["+(0,t.printIteratorValues)(x.values(),j,Z,G,oe,U)+"]",D=(x,j,Z,G,oe,U)=>x[i]?w(x,j,Z,G,oe,U,x[a]?"OrderedMap":"Map"):x[n]?L(x,j,Z,G,oe,U,"List"):x[c]?L(x,j,Z,G,oe,U,x[a]?"OrderedSet":"Set"):x[p]?L(x,j,Z,G,oe,U,"Stack"):x[d]?A(x,j,Z,G,oe,U):_(x,j,Z,G,oe,U);e.serialize=D;var k=x=>x&&(x[r]===!0||x[l]===!0);e.test=k;var h={serialize:D,test:k},C=h;e.default=C}}),VA=Y({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,o=60108,i=60114,a=60109,l=60110,d=60112,c=60113,p=60120,f=60115,g=60116,b=60121,T=60122,w=60117,R=60129,_=60131;typeof Symbol=="function"&&Symbol.for&&(A=Symbol.for,t=A("react.element"),r=A("react.portal"),n=A("react.fragment"),o=A("react.strict_mode"),i=A("react.profiler"),a=A("react.provider"),l=A("react.context"),d=A("react.forward_ref"),c=A("react.suspense"),p=A("react.suspense_list"),f=A("react.memo"),g=A("react.lazy"),b=A("react.block"),T=A("react.server.block"),w=A("react.fundamental"),R=A("react.debug_trace_mode"),_=A("react.legacy_hidden"));var A;function L(I){if(typeof I=="object"&&I!==null){var V=I.$$typeof;switch(V){case t:switch(I=I.type,I){case n:case i:case o:case c:case p:return I;default:switch(I=I&&I.$$typeof,I){case l:case d:case g:case f:case a:return I;default:return V}}case r:return V}}}var D=a,k=t,h=d,C=n,x=g,j=f,Z=r,G=i,oe=o,U=c;e.ContextConsumer=l,e.ContextProvider=D,e.Element=k,e.ForwardRef=h,e.Fragment=C,e.Lazy=x,e.Memo=j,e.Portal=Z,e.Profiler=G,e.StrictMode=oe,e.Suspense=U,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(I){return L(I)===l},e.isContextProvider=function(I){return L(I)===a},e.isElement=function(I){return typeof I=="object"&&I!==null&&I.$$typeof===t},e.isForwardRef=function(I){return L(I)===d},e.isFragment=function(I){return L(I)===n},e.isLazy=function(I){return L(I)===g},e.isMemo=function(I){return L(I)===f},e.isPortal=function(I){return L(I)===r},e.isProfiler=function(I){return L(I)===i},e.isStrictMode=function(I){return L(I)===o},e.isSuspense=function(I){return L(I)===c},e.isValidElementType=function(I){return typeof I=="string"||typeof I=="function"||I===n||I===i||I===R||I===o||I===c||I===p||I===_||typeof I=="object"&&I!==null&&(I.$$typeof===g||I.$$typeof===f||I.$$typeof===a||I.$$typeof===l||I.$$typeof===d||I.$$typeof===w||I.$$typeof===b||I[0]===T)},e.typeOf=L}}),UA=Y({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=VA()}}),JA=Y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(UA()),r=Qc();function n(g){if(typeof WeakMap!="function")return null;var b=new WeakMap,T=new WeakMap;return(n=function(w){return w?T:b})(g)}function o(g,b){if(g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var T=n(b);if(T&&T.has(g))return T.get(g);var w={},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in g)if(_!=="default"&&Object.prototype.hasOwnProperty.call(g,_)){var A=R?Object.getOwnPropertyDescriptor(g,_):null;A&&(A.get||A.set)?Object.defineProperty(w,_,A):w[_]=g[_]}return w.default=g,T&&T.set(g,w),w}var i=(g,b=[])=>(Array.isArray(g)?g.forEach(T=>{i(T,b)}):g!=null&&g!==!1&&b.push(g),b),a=g=>{let b=g.type;if(typeof b=="string")return b;if(typeof b=="function")return b.displayName||b.name||"Unknown";if(t.isFragment(g))return"React.Fragment";if(t.isSuspense(g))return"React.Suspense";if(typeof b=="object"&&b!==null){if(t.isContextProvider(g))return"Context.Provider";if(t.isContextConsumer(g))return"Context.Consumer";if(t.isForwardRef(g)){if(b.displayName)return b.displayName;let T=b.render.displayName||b.render.name||"";return T!==""?"ForwardRef("+T+")":"ForwardRef"}if(t.isMemo(g)){let T=b.displayName||b.type.displayName||b.type.name||"";return T!==""?"Memo("+T+")":"Memo"}}return"UNDEFINED"},l=g=>{let{props:b}=g;return Object.keys(b).filter(T=>T!=="children"&&b[T]!==void 0).sort()},d=(g,b,T,w,R,_)=>++w>b.maxDepth?(0,r.printElementAsLeaf)(a(g),b):(0,r.printElement)(a(g),(0,r.printProps)(l(g),g.props,b,T+b.indent,w,R,_),(0,r.printChildren)(i(g.props.children),b,T+b.indent,w,R,_),b,T);e.serialize=d;var c=g=>g!=null&&t.isElement(g);e.test=c;var p={serialize:d,test:c},f=p;e.default=f}}),HA=Y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Qc(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,i=p=>{let{props:f}=p;return f?Object.keys(f).filter(g=>f[g]!==void 0).sort():[]},a=(p,f,g,b,T,w)=>++b>f.maxDepth?(0,t.printElementAsLeaf)(p.type,f):(0,t.printElement)(p.type,p.props?(0,t.printProps)(i(p),p.props,f,g+f.indent,b,T,w):"",p.children?(0,t.printChildren)(p.children,f,g+f.indent,b,T,w):"",f,g);e.serialize=a;var l=p=>p&&p.$$typeof===o;e.test=l;var d={serialize:a,test:l},c=d;e.default=c}}),GA=Y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=Ge,e.plugins=void 0;var t=p(ng()),r=Ys(),n=p(MA()),o=p(DA()),i=p(kA()),a=p(BA()),l=p(FA()),d=p(JA()),c=p(HA());function p(Q){return Q&&Q.__esModule?Q:{default:Q}}var f=Object.prototype.toString,g=Date.prototype.toISOString,b=Error.prototype.toString,T=RegExp.prototype.toString,w=Q=>typeof Q.constructor=="function"&&Q.constructor.name||"Object",R=Q=>typeof window<"u"&&Q===window,_=/^Symbol\((.*)\)(.*)$/,A=/\n/gi,L=class extends Error{constructor(Q,we){super(Q),this.stack=we,this.name=this.constructor.name}};function D(Q){return Q==="[object Array]"||Q==="[object ArrayBuffer]"||Q==="[object DataView]"||Q==="[object Float32Array]"||Q==="[object Float64Array]"||Q==="[object Int8Array]"||Q==="[object Int16Array]"||Q==="[object Int32Array]"||Q==="[object Uint8Array]"||Q==="[object Uint8ClampedArray]"||Q==="[object Uint16Array]"||Q==="[object Uint32Array]"}function k(Q){return Object.is(Q,-0)?"-0":String(Q)}function h(Q){return`${Q}n`}function C(Q,we){return we?"[Function "+(Q.name||"anonymous")+"]":"[Function]"}function x(Q){return String(Q).replace(_,"Symbol($1)")}function j(Q){return"["+b.call(Q)+"]"}function Z(Q,we,Ie,Oe){if(Q===!0||Q===!1)return""+Q;if(Q===void 0)return"undefined";if(Q===null)return"null";let qe=typeof Q;if(qe==="number")return k(Q);if(qe==="bigint")return h(Q);if(qe==="string")return Oe?'"'+Q.replace(/"|\\/g,"\\$&")+'"':'"'+Q+'"';if(qe==="function")return C(Q,we);if(qe==="symbol")return x(Q);let je=f.call(Q);return je==="[object WeakMap]"?"WeakMap {}":je==="[object WeakSet]"?"WeakSet {}":je==="[object Function]"||je==="[object GeneratorFunction]"?C(Q,we):je==="[object Symbol]"?x(Q):je==="[object Date]"?isNaN(+Q)?"Date { NaN }":g.call(Q):je==="[object Error]"?j(Q):je==="[object RegExp]"?Ie?T.call(Q).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):T.call(Q):Q instanceof Error?j(Q):null}function G(Q,we,Ie,Oe,qe,je){if(qe.indexOf(Q)!==-1)return"[Circular]";qe=qe.slice(),qe.push(Q);let ve=++Oe>we.maxDepth,De=we.min;if(we.callToJSON&&!ve&&Q.toJSON&&typeof Q.toJSON=="function"&&!je)return V(Q.toJSON(),we,Ie,Oe,qe,!0);let bt=f.call(Q);return bt==="[object Arguments]"?ve?"[Arguments]":(De?"":"Arguments ")+"["+(0,r.printListItems)(Q,we,Ie,Oe,qe,V)+"]":D(bt)?ve?"["+Q.constructor.name+"]":(De||!we.printBasicPrototype&&Q.constructor.name==="Array"?"":Q.constructor.name+" ")+"["+(0,r.printListItems)(Q,we,Ie,Oe,qe,V)+"]":bt==="[object Map]"?ve?"[Map]":"Map {"+(0,r.printIteratorEntries)(Q.entries(),we,Ie,Oe,qe,V," => ")+"}":bt==="[object Set]"?ve?"[Set]":"Set {"+(0,r.printIteratorValues)(Q.values(),we,Ie,Oe,qe,V)+"}":ve||R(Q)?"["+w(Q)+"]":(De||!we.printBasicPrototype&&w(Q)==="Object"?"":w(Q)+" ")+"{"+(0,r.printObjectProperties)(Q,we,Ie,Oe,qe,V)+"}"}function oe(Q){return Q.serialize!=null}function U(Q,we,Ie,Oe,qe,je){let ve;try{ve=oe(Q)?Q.serialize(we,Ie,Oe,qe,je,V):Q.print(we,De=>V(De,Ie,Oe,qe,je),De=>{let bt=Oe+Ie.indent;return bt+De.replace(A,`
  10. `+bt)},{edgeSpacing:Ie.spacingOuter,min:Ie.min,spacing:Ie.spacingInner},Ie.colors)}catch(De){throw new L(De.message,De.stack)}if(typeof ve!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ve}".`);return ve}function I(Q,we){for(let Ie=0;Ie<Q.length;Ie++)try{if(Q[Ie].test(we))return Q[Ie]}catch(Oe){throw new L(Oe.message,Oe.stack)}return null}function V(Q,we,Ie,Oe,qe,je){let ve=I(we.plugins,Q);if(ve!==null)return U(ve,Q,we,Ie,Oe,qe);let De=Z(Q,we.printFunctionName,we.escapeRegex,we.escapeString);return De!==null?De:G(Q,we,Ie,Oe,qe,je)}var K={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},ne=Object.keys(K),he={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:K};e.DEFAULT_OPTIONS=he;function xe(Q){if(Object.keys(Q).forEach(we=>{if(!he.hasOwnProperty(we))throw new Error(`pretty-format: Unknown option "${we}".`)}),Q.min&&Q.indent!==void 0&&Q.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(Q.theme!==void 0){if(Q.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof Q.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof Q.theme}".`)}}var Pe=Q=>ne.reduce((we,Ie)=>{let Oe=Q.theme&&Q.theme[Ie]!==void 0?Q.theme[Ie]:K[Ie],qe=Oe&&t.default[Oe];if(qe&&typeof qe.close=="string"&&typeof qe.open=="string")we[Ie]=qe;else throw new Error(`pretty-format: Option "theme" has a key "${Ie}" whose value "${Oe}" is undefined in ansi-styles.`);return we},Object.create(null)),Ce=()=>ne.reduce((Q,we)=>(Q[we]={close:"",open:""},Q),Object.create(null)),fe=Q=>Q&&Q.printFunctionName!==void 0?Q.printFunctionName:he.printFunctionName,ue=Q=>Q&&Q.escapeRegex!==void 0?Q.escapeRegex:he.escapeRegex,Ne=Q=>Q&&Q.escapeString!==void 0?Q.escapeString:he.escapeString,_e=Q=>{var we;return{callToJSON:Q&&Q.callToJSON!==void 0?Q.callToJSON:he.callToJSON,colors:Q&&Q.highlight?Pe(Q):Ce(),compareKeys:Q&&typeof Q.compareKeys=="function"?Q.compareKeys:he.compareKeys,escapeRegex:ue(Q),escapeString:Ne(Q),indent:Q&&Q.min?"":be(Q&&Q.indent!==void 0?Q.indent:he.indent),maxDepth:Q&&Q.maxDepth!==void 0?Q.maxDepth:he.maxDepth,min:Q&&Q.min!==void 0?Q.min:he.min,plugins:Q&&Q.plugins!==void 0?Q.plugins:he.plugins,printBasicPrototype:(we=Q==null?void 0:Q.printBasicPrototype)!==null&&we!==void 0?we:!0,printFunctionName:fe(Q),spacingInner:Q&&Q.min?" ":`
  11. `,spacingOuter:Q&&Q.min?"":`
  12. `}};function be(Q){return new Array(Q+1).join(" ")}function Ge(Q,we){if(we&&(xe(we),we.plugins)){let Oe=I(we.plugins,Q);if(Oe!==null)return U(Oe,Q,_e(we),"",0,[])}let Ie=Z(Q,fe(we),ue(we),Ne(we));return Ie!==null?Ie:G(Q,_e(we),"",0,[])}var Be={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:i.default,DOMElement:a.default,Immutable:l.default,ReactElement:d.default,ReactTestComponent:c.default};e.plugins=Be;var ot=Ge;e.default=ot}}),WA=Y({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",a={};function l(c,p){if(!a[c]){a[c]={};for(var f=0;f<c.length;f++)a[c][c.charAt(f)]=f}return a[c][p]}var d={compressToBase64:function(c){if(c==null)return"";var p=d._compress(c,6,function(f){return o.charAt(f)});switch(p.length%4){default:case 0:return p;case 1:return p+"===";case 2:return p+"==";case 3:return p+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:d._decompress(c.length,32,function(p){return l(o,c.charAt(p))})},compressToUTF16:function(c){return c==null?"":d._compress(c,15,function(p){return n(p+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:d._decompress(c.length,16384,function(p){return c.charCodeAt(p)-32})},compressToUint8Array:function(c){for(var p=d.compress(c),f=new Uint8Array(p.length*2),g=0,b=p.length;g<b;g++){var T=p.charCodeAt(g);f[g*2]=T>>>8,f[g*2+1]=T%256}return f},decompressFromUint8Array:function(c){if(c==null)return d.decompress(c);for(var p=new Array(c.length/2),f=0,g=p.length;f<g;f++)p[f]=c[f*2]*256+c[f*2+1];var b=[];return p.forEach(function(T){b.push(n(T))}),d.decompress(b.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":d._compress(c,6,function(p){return i.charAt(p)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),d._decompress(c.length,32,function(p){return l(i,c.charAt(p))}))},compress:function(c){return d._compress(c,16,function(p){return n(p)})},_compress:function(c,p,f){if(c==null)return"";var g,b,T={},w={},R="",_="",A="",L=2,D=3,k=2,h=[],C=0,x=0,j;for(j=0;j<c.length;j+=1)if(R=c.charAt(j),Object.prototype.hasOwnProperty.call(T,R)||(T[R]=D++,w[R]=!0),_=A+R,Object.prototype.hasOwnProperty.call(T,_))A=_;else{if(Object.prototype.hasOwnProperty.call(w,A)){if(A.charCodeAt(0)<256){for(g=0;g<k;g++)C=C<<1,x==p-1?(x=0,h.push(f(C)),C=0):x++;for(b=A.charCodeAt(0),g=0;g<8;g++)C=C<<1|b&1,x==p-1?(x=0,h.push(f(C)),C=0):x++,b=b>>1}else{for(b=1,g=0;g<k;g++)C=C<<1|b,x==p-1?(x=0,h.push(f(C)),C=0):x++,b=0;for(b=A.charCodeAt(0),g=0;g<16;g++)C=C<<1|b&1,x==p-1?(x=0,h.push(f(C)),C=0):x++,b=b>>1}L--,L==0&&(L=Math.pow(2,k),k++),delete w[A]}else for(b=T[A],g=0;g<k;g++)C=C<<1|b&1,x==p-1?(x=0,h.push(f(C)),C=0):x++,b=b>>1;L--,L==0&&(L=Math.pow(2,k),k++),T[_]=D++,A=String(R)}if(A!==""){if(Object.prototype.hasOwnProperty.call(w,A)){if(A.charCodeAt(0)<256){for(g=0;g<k;g++)C=C<<1,x==p-1?(x=0,h.push(f(C)),C=0):x++;for(b=A.charCodeAt(0),g=0;g<8;g++)C=C<<1|b&1,x==p-1?(x=0,h.push(f(C)),C=0):x++,b=b>>1}else{for(b=1,g=0;g<k;g++)C=C<<1|b,x==p-1?(x=0,h.push(f(C)),C=0):x++,b=0;for(b=A.charCodeAt(0),g=0;g<16;g++)C=C<<1|b&1,x==p-1?(x=0,h.push(f(C)),C=0):x++,b=b>>1}L--,L==0&&(L=Math.pow(2,k),k++),delete w[A]}else for(b=T[A],g=0;g<k;g++)C=C<<1|b&1,x==p-1?(x=0,h.push(f(C)),C=0):x++,b=b>>1;L--,L==0&&(L=Math.pow(2,k),k++)}for(b=2,g=0;g<k;g++)C=C<<1|b&1,x==p-1?(x=0,h.push(f(C)),C=0):x++,b=b>>1;for(;;)if(C=C<<1,x==p-1){h.push(f(C));break}else x++;return h.join("")},decompress:function(c){return c==null?"":c==""?null:d._decompress(c.length,32768,function(p){return c.charCodeAt(p)})},_decompress:function(c,p,f){var g=[],b=4,T=4,w=3,R="",_=[],A,L,D,k,h,C,x,j={val:f(0),position:p,index:1};for(A=0;A<3;A+=1)g[A]=A;for(D=0,h=Math.pow(2,2),C=1;C!=h;)k=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),D|=(k>0?1:0)*C,C<<=1;switch(D){case 0:for(D=0,h=Math.pow(2,8),C=1;C!=h;)k=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),D|=(k>0?1:0)*C,C<<=1;x=n(D);break;case 1:for(D=0,h=Math.pow(2,16),C=1;C!=h;)k=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),D|=(k>0?1:0)*C,C<<=1;x=n(D);break;case 2:return""}for(g[3]=x,L=x,_.push(x);;){if(j.index>c)return"";for(D=0,h=Math.pow(2,w),C=1;C!=h;)k=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),D|=(k>0?1:0)*C,C<<=1;switch(x=D){case 0:for(D=0,h=Math.pow(2,8),C=1;C!=h;)k=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),D|=(k>0?1:0)*C,C<<=1;g[T++]=n(D),x=T-1,b--;break;case 1:for(D=0,h=Math.pow(2,16),C=1;C!=h;)k=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),D|=(k>0?1:0)*C,C<<=1;g[T++]=n(D),x=T-1,b--;break;case 2:return _.join("")}if(b==0&&(b=Math.pow(2,w),w++),g[x])R=g[x];else if(x===T)R=L+L.charAt(0);else return null;_.push(R),g[T++]=L+R.charAt(0),b--,L=R,b==0&&(b=Math.pow(2,w),w++)}}};return d}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),og=Y({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,i){function a(c,p){if(!o[c]){if(!n[c]){var f=typeof Wa=="function"&&Wa;if(!p&&f)return f(c,!0);if(l)return l(c,!0);var g=new Error("Cannot find module '"+c+"'");throw g.code="MODULE_NOT_FOUND",g}var b=o[c]={exports:{}};n[c][0].call(b.exports,function(T){var w=n[c][1][T];return a(w||T)},b,b.exports,r,n,o,i)}return o[c].exports}for(var l=typeof Wa=="function"&&Wa,d=0;d<i.length;d++)a(i[d]);return a}({1:[function(r,n,o){n.exports=function(i){if(typeof Map!="function"||i){var a=r("./similar");return new a}else return new Map}},{"./similar":2}],2:[function(r,n,o){function i(){return this.list=[],this.lastItem=void 0,this.size=0,this}i.prototype.get=function(a){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,a))return this.lastItem.val;if(l=this.indexOf(a),l>=0)return this.lastItem=this.list[l],this.list[l].val},i.prototype.set=function(a,l){var d;return this.lastItem&&this.isEqual(this.lastItem.key,a)?(this.lastItem.val=l,this):(d=this.indexOf(a),d>=0?(this.lastItem=this.list[d],this.list[d].val=l,this):(this.lastItem={key:a,val:l},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(a){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,a)&&(this.lastItem=void 0),l=this.indexOf(a),l>=0)return this.size--,this.list.splice(l,1)[0]},i.prototype.has=function(a){var l;return this.lastItem&&this.isEqual(this.lastItem.key,a)?!0:(l=this.indexOf(a),l>=0?(this.lastItem=this.list[l],!0):!1)},i.prototype.forEach=function(a,l){var d;for(d=0;d<this.size;d++)a.call(l||this,this.list[d].val,this.list[d].key,this)},i.prototype.indexOf=function(a){var l;for(l=0;l<this.size;l++)if(this.isEqual(this.list[l].key,a))return l;return-1},i.prototype.isEqual=function(a,l){return a===l||a!==a&&l!==l},n.exports=i},{}],3:[function(r,n,o){var i=r("map-or-similar");n.exports=function(c){var p=new i(!1),f=[];return function(g){var b=function(){var T=p,w,R,_=arguments.length-1,A=Array(_+1),L=!0,D;if((b.numArgs||b.numArgs===0)&&b.numArgs!==_+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(D=0;D<_;D++){if(A[D]={cacheItem:T,arg:arguments[D]},T.has(arguments[D])){T=T.get(arguments[D]);continue}L=!1,w=new i(!1),T.set(arguments[D],w),T=w}return L&&(T.has(arguments[_])?R=T.get(arguments[_]):L=!1),L||(R=g.apply(null,arguments),T.set(arguments[_],R)),c>0&&(A[_]={cacheItem:T,arg:arguments[_]},L?a(f,A):f.push(A),f.length>c&&l(f.shift())),b.wasMemoized=L,b.numArgs=_+1,R};return b.limit=c,b.wasMemoized=!1,b.cache=p,b.lru=f,b}};function a(c,p){var f=c.length,g=p.length,b,T,w;for(T=0;T<f;T++){for(b=!0,w=0;w<g;w++)if(!d(c[T][w].arg,p[w].arg)){b=!1;break}if(b)break}c.push(c.splice(T,1)[0])}function l(c){var p=c.length,f=c[p-1],g,b;for(f.cacheItem.delete(f.arg),b=p-2;b>=0&&(f=c[b],g=f.cacheItem.get(f.arg),!g||!g.size);b--)f.cacheItem.delete(f.arg)}function d(c,p){return c===p||c!==c&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),ig=Y({"../../node_modules/picoquery/lib/string-util.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let i=o.length;if(i===0)return"";let a="",l=0,d=0;e:for(;d<i;d++){let c=o.charCodeAt(d);for(;c<128;){if(r[c]!==1&&(l<d&&(a+=o.slice(l,d)),l=d+1,a+=t[c]),++d===i)break e;c=o.charCodeAt(d)}if(l<d&&(a+=o.slice(l,d)),c<2048){l=d+1,a+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=d+1,a+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++d,d>=i)throw new Error("URI malformed");let p=o.charCodeAt(d)&1023;l=d+1,c=65536+((c&1023)<<10|p),a+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?o:l<i?a+o.slice(l):a}}}),Zc=Y({"../../node_modules/picoquery/lib/shared.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=ig(),r=i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""};e.defaultValueSerializer=r;var n=i=>i instanceof Date;e.defaultShouldSerializeObject=n;var o=i=>i;e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}}),ag=Y({"../../node_modules/picoquery/lib/object-util.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=p;var t=Zc(),r=ig();function n(f){return f==="__proto__"||f==="constructor"||f==="prototype"}function o(f,g,b,T,w){if(n(g))return f;let R=f[g];return typeof R=="object"&&R!==null?R:!T&&(w||typeof b=="number"||typeof b=="string"&&b*0===0&&b.indexOf(".")===-1)?f[g]=[]:f[g]={}}var i=20,a="[]",l="[",d="]",c=".";function p(f,g,b=0,T,w){let{nestingSyntax:R=t.defaultOptions.nestingSyntax,arrayRepeat:_=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:A=t.defaultOptions.arrayRepeatSyntax,nesting:L=t.defaultOptions.nesting,delimiter:D=t.defaultOptions.delimiter,valueSerializer:k=t.defaultOptions.valueSerializer,shouldSerializeObject:h=t.defaultOptions.shouldSerializeObject}=g,C=typeof D=="number"?String.fromCharCode(D):D,x=w===!0&&_,j=R==="dot"||R==="js"&&!w;if(b>i)return"";let Z="",G=!0,oe=!1;for(let U in f){let I=f[U];if(I===void 0)continue;let V;T?(V=T,x?A==="bracket"&&(V+=a):j?(V+=c,V+=U):(V+=l,V+=U,V+=d)):V=U,G||(Z+=C),typeof I=="object"&&I!==null&&!h(I)?(oe=I.pop!==void 0,(L||_&&oe)&&(Z+=p(I,g,b+1,V,oe))):(Z+=(0,r.encodeString)(V),Z+="=",Z+=k(I,U)),G&&(G=!1)}return Z}}}),zA=Y({"../../node_modules/picoquery/lib/decode-uri-component.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeURIComponent=o;var t=12,r=0,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function o(l){let d=l.indexOf("%");if(d===-1)return l;let c=l.length,p="",f=0,g=0,b=d,T=t;for(;d>-1&&d<c;){let w=a(l[d+1],4),R=a(l[d+2],0),_=w|R,A=n[_];if(T=n[256+T+A],g=g<<6|_&n[364+A],T===t)p+=l.slice(f,b),p+=g<=65535?String.fromCharCode(g):String.fromCharCode(55232+(g>>10),56320+(g&1023)),g=0,f=d+3,d=b=l.indexOf("%",f);else{if(T===r)return null;if(d+=3,d<c&&l.charCodeAt(d)===37)continue;return null}}return p+l.slice(f)}var i={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function a(l,d){let c=i[l];return c===void 0?255:c<<d}}}),YA=Y({"../../node_modules/picoquery/lib/parse.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=c;var t=ag(),r=Zc(),n=zA(),o=p=>{let f=Number(p);return Number.isNaN(f)?p:f};e.numberKeyDeserializer=o;var i=p=>{let f=Number(p);return Number.isNaN(f)?p:f};e.numberValueDeserializer=i;var a=/\+/g,l=function(){};l.prototype=Object.create(null);function d(p,f,g,b,T){let w=p.substring(f,g);return b&&(w=w.replace(a," ")),T&&(w=(0,n.decodeURIComponent)(w)||w),w}function c(p,f){let{valueDeserializer:g=r.defaultOptions.valueDeserializer,keyDeserializer:b=r.defaultOptions.keyDeserializer,arrayRepeatSyntax:T=r.defaultOptions.arrayRepeatSyntax,nesting:w=r.defaultOptions.nesting,arrayRepeat:R=r.defaultOptions.arrayRepeat,nestingSyntax:_=r.defaultOptions.nestingSyntax,delimiter:A=r.defaultOptions.delimiter}=f??{},L=typeof A=="string"?A.charCodeAt(0):A,D=_==="js",k=new l;if(typeof p!="string")return k;let h=p.length,C="",x=-1,j=-1,Z=-1,G=k,oe,U="",I="",V=!1,K=!1,ne=!1,he=!1,xe=!1,Pe=!1,Ce=0,fe=-1,ue=-1,Ne=-1;for(let _e=0;_e<h+1;_e++){if(Ce=_e!==h?p.charCodeAt(_e):L,Ce===L){if(Pe=j>x,Pe||(j=_e),Z!==j-1&&(I=d(p,Z+1,fe>-1?fe:j,ne,V),U=b(I),oe!==void 0&&(G=(0,t.getDeepObject)(G,oe,U,D&&xe,void 0))),Pe||U!==""){Pe&&(C=p.slice(j+1,_e),he&&(C=C.replace(a," ")),K&&(C=(0,n.decodeURIComponent)(C)||C));let be=g(C,U);if(R){let Ge=G[U];Ge===void 0?fe>-1?G[U]=[be]:G[U]=be:Ge.pop?Ge.push(be):G[U]=[Ge,be]}else G[U]=be}C="",x=_e,j=_e,V=!1,K=!1,ne=!1,he=!1,xe=!1,fe=-1,Z=_e,G=k,oe=void 0,U=""}else Ce===93?(R&&T==="bracket"&&Ne===91&&(fe=ue),w&&(_==="index"||D)&&j<=x&&(Z!==ue&&(I=d(p,Z+1,_e,ne,V),U=b(I),oe!==void 0&&(G=(0,t.getDeepObject)(G,oe,U,void 0,void 0)),oe=U,ne=!1,V=!1),Z=_e,xe=!1)):Ce===46?w&&(_==="dot"||D)&&j<=x&&(Z!==ue&&(I=d(p,Z+1,_e,ne,V),U=b(I),oe!==void 0&&(G=(0,t.getDeepObject)(G,oe,U,D)),oe=U,ne=!1,V=!1),xe=!0,Z=_e):Ce===91?w&&(_==="index"||D)&&j<=x&&(Z!==ue&&(I=d(p,Z+1,_e,ne,V),U=b(I),D&&oe!==void 0&&(G=(0,t.getDeepObject)(G,oe,U,D)),oe=U,ne=!1,V=!1,xe=!1),Z=_e):Ce===61?j<=x?j=_e:K=!0:Ce===43?j>x?he=!0:ne=!0:Ce===37&&(j>x?K=!0:V=!0);ue=_e,Ne=Ce}return k}}}),KA=Y({"../../node_modules/picoquery/lib/stringify.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=ag();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}}}),ed=Y({"../../node_modules/picoquery/lib/main.js"(e){var t=e&&e.__createBinding||(Object.create?function(i,a,l,d){d===void 0&&(d=l);var c=Object.getOwnPropertyDescriptor(a,l);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return a[l]}}),Object.defineProperty(i,d,c)}:function(i,a,l,d){d===void 0&&(d=l),i[d]=a[l]}),r=e&&e.__exportStar||function(i,a){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(a,l)&&t(a,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=YA();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return n.parse}});var o=KA();Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return o.stringify}}),r(Zc(),e)}}),sg=Y({"../../node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
  13. `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}}),XA=Y({"../../node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}}),lg=Y({"../../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),QA=Y({"../../node_modules/entities/lib/maps/decode.json"(e,t){t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),ZA=Y({"../../node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(QA()),n=String.fromCodePoint||function(i){var a="";return i>65535&&(i-=65536,a+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),a+=String.fromCharCode(i),a};function o(i){return i>=55296&&i<=57343||i>1114111?"�":(i in r.default&&(i=r.default[i]),n(i))}e.default=o}}),Of=Y({"../../node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(sg()),n=t(XA()),o=t(lg()),i=t(ZA()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(p){var f=c(p);return function(g){return String(g).replace(a,f)}}var d=function(p,f){return p<f?1:-1};e.decodeHTML=function(){for(var p=Object.keys(n.default).sort(d),f=Object.keys(r.default).sort(d),g=0,b=0;g<f.length;g++)p[b]===f[g]?(f[g]+=";?",b++):f[g]+=";";var T=new RegExp("&(?:"+f.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),w=c(r.default);function R(_){return _.substr(-1)!==";"&&(_+=";"),w(_)}return function(_){return String(_).replace(T,R)}}();function c(p){return function(f){if(f.charAt(1)==="#"){var g=f.charAt(2);return g==="X"||g==="x"?i.default(parseInt(f.substr(3),16)):i.default(parseInt(f.substr(2),10))}return p[f.slice(1,-1)]||f}}}}),Af=Y({"../../node_modules/entities/lib/encode.js"(e){var t=e&&e.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(lg()),n=d(r.default),o=c(n);e.encodeXML=_(n);var i=t(sg()),a=d(i.default),l=c(a);e.encodeHTML=b(a,l),e.encodeNonAsciiHTML=_(a);function d(A){return Object.keys(A).sort().reduce(function(L,D){return L[A[D]]="&"+D+";",L},{})}function c(A){for(var L=[],D=[],k=0,h=Object.keys(A);k<h.length;k++){var C=h[k];C.length===1?L.push("\\"+C):D.push(C)}L.sort();for(var x=0;x<L.length-1;x++){for(var j=x;j<L.length-1&&L[j].charCodeAt(1)+1===L[j+1].charCodeAt(1);)j+=1;var Z=1+j-x;Z<3||L.splice(x,Z,L[x]+"-"+L[j])}return D.unshift("["+L.join("")+"]"),new RegExp(D.join("|"),"g")}var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,f=String.prototype.codePointAt!=null?function(A){return A.codePointAt(0)}:function(A){return(A.charCodeAt(0)-55296)*1024+A.charCodeAt(1)-56320+65536};function g(A){return"&#x"+(A.length>1?f(A):A.charCodeAt(0)).toString(16).toUpperCase()+";"}function b(A,L){return function(D){return D.replace(L,function(k){return A[k]}).replace(p,g)}}var T=new RegExp(o.source+"|"+p.source,"g");function w(A){return A.replace(T,g)}e.escape=w;function R(A){return A.replace(o,g)}e.escapeUTF8=R;function _(A){return function(L){return L.replace(T,function(D){return A[D]||g(D)})}}}}),eP=Y({"../../node_modules/entities/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=Of(),r=Af();function n(d,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(d)}e.decode=n;function o(d,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(d)}e.decodeStrict=o;function i(d,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(d)}e.encode=i;var a=Af();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return a.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return a.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return a.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return a.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return a.encodeHTML}});var l=Of();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return l.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return l.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return l.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return l.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return l.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return l.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return l.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return l.decodeXML}})}}),tP=Y({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(I,V){if(!(I instanceof V))throw new TypeError("Cannot call a class as a function")}function n(I,V){for(var K=0;K<V.length;K++){var ne=V[K];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(I,ne.key,ne)}}function o(I,V,K){return V&&n(I.prototype,V),I}function i(I,V){var K=typeof Symbol<"u"&&I[Symbol.iterator]||I["@@iterator"];if(!K){if(Array.isArray(I)||(K=a(I))||V){K&&(I=K);var ne=0,he=function(){};return{s:he,n:function(){return ne>=I.length?{done:!0}:{done:!1,value:I[ne++]}},e:function(fe){throw fe},f:he}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  14. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var xe=!0,Pe=!1,Ce;return{s:function(){K=K.call(I)},n:function(){var fe=K.next();return xe=fe.done,fe},e:function(fe){Pe=!0,Ce=fe},f:function(){try{!xe&&K.return!=null&&K.return()}finally{if(Pe)throw Ce}}}}function a(I,V){if(I){if(typeof I=="string")return l(I,V);var K=Object.prototype.toString.call(I).slice(8,-1);if(K==="Object"&&I.constructor&&(K=I.constructor.name),K==="Map"||K==="Set")return Array.from(I);if(K==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(K))return l(I,V)}}function l(I,V){(V==null||V>I.length)&&(V=I.length);for(var K=0,ne=new Array(V);K<V;K++)ne[K]=I[K];return ne}var d=eP(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:p()};function p(){var I={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return A(0,5).forEach(function(V){A(0,5).forEach(function(K){A(0,5).forEach(function(ne){return f(V,K,ne,I)})})}),A(0,23).forEach(function(V){var K=V+232,ne=g(V*10+8);I[K]="#"+ne+ne+ne}),I}function f(I,V,K,ne){var he=16+I*36+V*6+K,xe=I>0?I*40+55:0,Pe=V>0?V*40+55:0,Ce=K>0?K*40+55:0;ne[he]=b([xe,Pe,Ce])}function g(I){for(var V=I.toString(16);V.length<2;)V="0"+V;return V}function b(I){var V=[],K=i(I),ne;try{for(K.s();!(ne=K.n()).done;){var he=ne.value;V.push(g(he))}}catch(xe){K.e(xe)}finally{K.f()}return"#"+V.join("")}function T(I,V,K,ne){var he;return V==="text"?he=k(K,ne):V==="display"?he=R(I,K,ne):V==="xterm256Foreground"?he=x(I,ne.colors[K]):V==="xterm256Background"?he=j(I,ne.colors[K]):V==="rgb"&&(he=w(I,K)),he}function w(I,V){V=V.substring(2).slice(0,-1);var K=+V.substr(0,2),ne=V.substring(5).split(";"),he=ne.map(function(xe){return("0"+Number(xe).toString(16)).substr(-2)}).join("");return C(I,(K===38?"color:#":"background-color:#")+he)}function R(I,V,K){V=parseInt(V,10);var ne={"-1":function(){return"<br/>"},0:function(){return I.length&&_(I)},1:function(){return h(I,"b")},3:function(){return h(I,"i")},4:function(){return h(I,"u")},8:function(){return C(I,"display:none")},9:function(){return h(I,"strike")},22:function(){return C(I,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return Z(I,"i")},24:function(){return Z(I,"u")},39:function(){return x(I,K.fg)},49:function(){return j(I,K.bg)},53:function(){return C(I,"text-decoration:overline")}},he;return ne[V]?he=ne[V]():4<V&&V<7?he=h(I,"blink"):29<V&&V<38?he=x(I,K.colors[V-30]):39<V&&V<48?he=j(I,K.colors[V-40]):89<V&&V<98?he=x(I,K.colors[8+(V-90)]):99<V&&V<108&&(he=j(I,K.colors[8+(V-100)])),he}function _(I){var V=I.slice(0);return I.length=0,V.reverse().map(function(K){return"</"+K+">"}).join("")}function A(I,V){for(var K=[],ne=I;ne<=V;ne++)K.push(ne);return K}function L(I){return function(V){return(I===null||V.category!==I)&&I!=="all"}}function D(I){I=parseInt(I,10);var V=null;return I===0?V="all":I===1?V="bold":2<I&&I<5?V="underline":4<I&&I<7?V="blink":I===8?V="hide":I===9?V="strike":29<I&&I<38||I===39||89<I&&I<98?V="foreground-color":(39<I&&I<48||I===49||99<I&&I<108)&&(V="background-color"),V}function k(I,V){return V.escapeXML?d.encodeXML(I):I}function h(I,V,K){return K||(K=""),I.push(V),"<".concat(V).concat(K?' style="'.concat(K,'"'):"",">")}function C(I,V){return h(I,"span",V)}function x(I,V){return h(I,"span","color:"+V)}function j(I,V){return h(I,"span","background-color:"+V)}function Z(I,V){var K;if(I.slice(-1)[0]===V&&(K=I.pop()),K)return"</"+V+">"}function G(I,V,K){var ne=!1,he=3;function xe(){return""}function Pe(je,ve){return K("xterm256Foreground",ve),""}function Ce(je,ve){return K("xterm256Background",ve),""}function fe(je){return V.newline?K("display",-1):K("text",je),""}function ue(je,ve){ne=!0,ve.trim().length===0&&(ve="0"),ve=ve.trimRight(";").split(";");var De=i(ve),bt;try{for(De.s();!(bt=De.n()).done;){var Kt=bt.value;K("display",Kt)}}catch(Ht){De.e(Ht)}finally{De.f()}return""}function Ne(je){return K("text",je),""}function _e(je){return K("rgb",je),""}var be=[{pattern:/^\x08+/,sub:xe},{pattern:/^\x1b\[[012]?K/,sub:xe},{pattern:/^\x1b\[\(B/,sub:xe},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:_e},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Pe},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Ce},{pattern:/^\n/,sub:fe},{pattern:/^\r+\n/,sub:fe},{pattern:/^\r/,sub:fe},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ue},{pattern:/^\x1b\[\d?J/,sub:xe},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:xe},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:xe},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Ne}];function Ge(je,ve){ve>he&&ne||(ne=!1,I=I.replace(je.pattern,je.sub))}var Be=[],ot=I,Q=ot.length;e:for(;Q>0;){for(var we=0,Ie=0,Oe=be.length;Ie<Oe;we=++Ie){var qe=be[we];if(Ge(qe,we),I.length!==Q){Q=I.length;continue e}}if(I.length===Q)break;Be.push(0),Q=I.length}return Be}function oe(I,V,K){return V!=="text"&&(I=I.filter(L(D(K))),I.push({token:V,data:K,category:D(K)})),I}var U=function(){function I(V){r(this,I),V=V||{},V.colors&&(V.colors=Object.assign({},c.colors,V.colors)),this.options=Object.assign({},c,V),this.stack=[],this.stickyStack=[]}return o(I,[{key:"toHtml",value:function(V){var K=this;V=typeof V=="string"?[V]:V;var ne=this.stack,he=this.options,xe=[];return this.stickyStack.forEach(function(Pe){var Ce=T(ne,Pe.token,Pe.data,he);Ce&&xe.push(Ce)}),G(V.join(""),he,function(Pe,Ce){var fe=T(ne,Pe,Ce,he);fe&&xe.push(fe),he.stream&&(K.stickyStack=oe(K.stickyStack,Pe,Ce))}),ne.length&&xe.push(_(ne)),xe.join("")}}]),I}();t.exports=U}}),rP=Y({"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(s){return s.text!==void 0&&s.text!==""?`'${s.type}' with value '${s.text}'`:`'${s.type}'`}class o extends Error{constructor(y){super(`No parslet found for token: ${n(y)}`),this.token=y,Object.setPrototypeOf(this,o.prototype)}getToken(){return this.token}}class i extends Error{constructor(y){super(`The parsing ended early. The next token was: ${n(y)}`),this.token=y,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class a extends Error{constructor(y,S){let q=`Unexpected type: '${y.type}'.`;S!==void 0&&(q+=` Message: ${S}`),super(q),Object.setPrototypeOf(this,a.prototype)}}function l(s){return y=>y.startsWith(s)?{type:s,text:s}:null}function d(s){let y=0,S,q=s[0],X=!1;if(q!=="'"&&q!=='"')return null;for(;y<s.length;){if(y++,S=s[y],!X&&S===q){y++;break}X=!X&&S==="\\"}if(S!==q)throw new Error("Unterminated String");return s.slice(0,y)}let c=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),p=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function f(s){let y=s[0];if(!c.test(y))return null;let S=1;do{if(y=s[S],!p.test(y))break;S++}while(S<s.length);return s.slice(0,S)}let g=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function b(s){var y,S;return(S=(y=g.exec(s))===null||y===void 0?void 0:y[0])!==null&&S!==void 0?S:null}let T=s=>{let y=f(s);return y==null?null:{type:"Identifier",text:y}};function w(s){return y=>{if(!y.startsWith(s))return null;let S=y[s.length];return S!==void 0&&p.test(S)?null:{type:s,text:s}}}let R=s=>{let y=d(s);return y==null?null:{type:"StringValue",text:y}},_=s=>s.length>0?null:{type:"EOF",text:""},A=s=>{let y=b(s);return y===null?null:{type:"Number",text:y}},L=[_,l("=>"),l("("),l(")"),l("{"),l("}"),l("["),l("]"),l("|"),l("&"),l("<"),l(">"),l(","),l(";"),l("*"),l("?"),l("!"),l("="),l(":"),l("..."),l("."),l("#"),l("~"),l("/"),l("@"),w("undefined"),w("null"),w("function"),w("this"),w("new"),w("module"),w("event"),w("extends"),w("external"),w("infer"),w("typeof"),w("keyof"),w("readonly"),w("import"),w("is"),w("in"),w("asserts"),A,T,R],D=/^\s*\n\s*/;class k{static create(y){let S=this.read(y);y=S.text;let q=this.read(y);return y=q.text,new k(y,void 0,S.token,q.token)}constructor(y,S,q,X){this.text="",this.text=y,this.previous=S,this.current=q,this.next=X}static read(y,S=!1){S=S||D.test(y),y=y.trim();for(let q of L){let X=q(y);if(X!==null){let le=Object.assign(Object.assign({},X),{startOfLine:S});return y=y.slice(le.text.length),{text:y,token:le}}}throw new Error("Unexpected Token "+y)}advance(){let y=k.read(this.text);return new k(y.text,this.current,this.next,y.token)}}function h(s){if(s===void 0)throw new Error("Unexpected undefined");if(s.type==="JsdocTypeKeyValue"||s.type==="JsdocTypeParameterList"||s.type==="JsdocTypeProperty"||s.type==="JsdocTypeReadonlyProperty"||s.type==="JsdocTypeObjectField"||s.type==="JsdocTypeJsdocObjectField"||s.type==="JsdocTypeIndexSignature"||s.type==="JsdocTypeMappedType"||s.type==="JsdocTypeTypeParameter")throw new a(s);return s}function C(s){return s.type==="JsdocTypeKeyValue"?j(s):h(s)}function x(s){return s.type==="JsdocTypeName"?s:j(s)}function j(s){if(s.type!=="JsdocTypeKeyValue")throw new a(s);return s}function Z(s){var y;if(s.type==="JsdocTypeVariadic"){if(((y=s.element)===null||y===void 0?void 0:y.type)==="JsdocTypeName")return s;throw new a(s)}if(s.type!=="JsdocTypeNumber"&&s.type!=="JsdocTypeName")throw new a(s);return s}function G(s){if(s.type==="JsdocTypeTuple"||s.type==="JsdocTypeGeneric"&&s.meta.brackets==="square")return s;throw new a(s)}function oe(s){return s.type==="JsdocTypeIndexSignature"||s.type==="JsdocTypeMappedType"}var U;(function(s){s[s.ALL=0]="ALL",s[s.PARAMETER_LIST=1]="PARAMETER_LIST",s[s.OBJECT=2]="OBJECT",s[s.KEY_VALUE=3]="KEY_VALUE",s[s.INDEX_BRACKETS=4]="INDEX_BRACKETS",s[s.UNION=5]="UNION",s[s.INTERSECTION=6]="INTERSECTION",s[s.PREFIX=7]="PREFIX",s[s.INFIX=8]="INFIX",s[s.TUPLE=9]="TUPLE",s[s.SYMBOL=10]="SYMBOL",s[s.OPTIONAL=11]="OPTIONAL",s[s.NULLABLE=12]="NULLABLE",s[s.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",s[s.FUNCTION=14]="FUNCTION",s[s.ARROW=15]="ARROW",s[s.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",s[s.GENERIC=17]="GENERIC",s[s.NAME_PATH=18]="NAME_PATH",s[s.PARENTHESIS=19]="PARENTHESIS",s[s.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(U||(U={}));class I{constructor(y,S,q){this.grammar=y,typeof S=="string"?this._lexer=k.create(S):this._lexer=S,this.baseParser=q}get lexer(){return this._lexer}parse(){let y=this.parseType(U.ALL);if(this.lexer.current.type!=="EOF")throw new i(this.lexer.current);return y}parseType(y){return h(this.parseIntermediateType(y))}parseIntermediateType(y){let S=this.tryParslets(null,y);if(S===null)throw new o(this.lexer.current);return this.parseInfixIntermediateType(S,y)}parseInfixIntermediateType(y,S){let q=this.tryParslets(y,S);for(;q!==null;)y=q,q=this.tryParslets(y,S);return y}tryParslets(y,S){for(let q of this.grammar){let X=q(this,S,y);if(X!==null)return X}return null}consume(y){return Array.isArray(y)||(y=[y]),y.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(y){this._lexer=y.lexer}}function V(s){return s==="}"||s==="EOF"||s==="|"||s===","||s===")"||s===">"}let K=(s,y,S)=>{let q=s.lexer.current.type,X=s.lexer.next.type;return S==null&&q==="?"&&!V(X)||S!=null&&q==="?"?(s.consume("?"),S==null?{type:"JsdocTypeNullable",element:s.parseType(U.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:h(S),meta:{position:"suffix"}}):null};function ne(s){let y=(S,q,X)=>{let le=S.lexer.current.type,Ee=S.lexer.next.type;if(X===null){if("parsePrefix"in s&&s.accept(le,Ee))return s.parsePrefix(S)}else if("parseInfix"in s&&s.precedence>q&&s.accept(le,Ee))return s.parseInfix(S,X);return null};return Object.defineProperty(y,"name",{value:s.name}),y}let he=ne({name:"optionalParslet",accept:s=>s==="=",precedence:U.OPTIONAL,parsePrefix:s=>(s.consume("="),{type:"JsdocTypeOptional",element:s.parseType(U.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(s,y)=>(s.consume("="),{type:"JsdocTypeOptional",element:h(y),meta:{position:"suffix"}})}),xe=ne({name:"numberParslet",accept:s=>s==="Number",parsePrefix:s=>{let y=parseFloat(s.lexer.current.text);return s.consume("Number"),{type:"JsdocTypeNumber",value:y}}}),Pe=ne({name:"parenthesisParslet",accept:s=>s==="(",parsePrefix:s=>{if(s.consume("("),s.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let y=s.parseIntermediateType(U.ALL);if(!s.consume(")"))throw new Error("Unterminated parenthesis");return y.type==="JsdocTypeParameterList"?y:y.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[y]}:{type:"JsdocTypeParenthesis",element:h(y)}}}),Ce=ne({name:"specialTypesParslet",accept:(s,y)=>s==="?"&&V(y)||s==="null"||s==="undefined"||s==="*",parsePrefix:s=>{if(s.consume("null"))return{type:"JsdocTypeNull"};if(s.consume("undefined"))return{type:"JsdocTypeUndefined"};if(s.consume("*"))return{type:"JsdocTypeAny"};if(s.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+s.lexer.current.text)}}),fe=ne({name:"notNullableParslet",accept:s=>s==="!",precedence:U.NULLABLE,parsePrefix:s=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:s.parseType(U.NULLABLE),meta:{position:"prefix"}}),parseInfix:(s,y)=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:h(y),meta:{position:"suffix"}})});function ue({allowTrailingComma:s}){return ne({name:"parameterListParslet",accept:y=>y===",",precedence:U.PARAMETER_LIST,parseInfix:(y,S)=>{let q=[C(S)];y.consume(",");do try{let X=y.parseIntermediateType(U.PARAMETER_LIST);q.push(C(X))}catch(X){if(X instanceof o)break;throw X}while(y.consume(","));if(q.length>0&&q.slice(0,-1).some(X=>X.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:q}}})}let Ne=ne({name:"genericParslet",accept:(s,y)=>s==="<"||s==="."&&y==="<",precedence:U.GENERIC,parseInfix:(s,y)=>{let S=s.consume(".");s.consume("<");let q=[],X=!1;if(s.consume("infer")){X=!0;let le=s.parseIntermediateType(U.SYMBOL);if(le.type!=="JsdocTypeName")throw new a(le,"A typescript asserts always has to have a name on the left side.");q.push(le)}else do q.push(s.parseType(U.PARAMETER_LIST));while(s.consume(","));if(!s.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:h(y),elements:q},X?{infer:!0}:{}),{meta:{brackets:"angle",dot:S}})}}),_e=ne({name:"unionParslet",accept:s=>s==="|",precedence:U.UNION,parseInfix:(s,y)=>{s.consume("|");let S=[];do S.push(s.parseType(U.UNION));while(s.consume("|"));return{type:"JsdocTypeUnion",elements:[h(y),...S]}}}),be=[K,he,xe,Pe,Ce,fe,ue({allowTrailingComma:!0}),Ne,_e,he];function Ge({allowSquareBracketsOnAnyType:s,allowJsdocNamePaths:y,pathGrammar:S}){return function(q,X,le){if(le==null||X>=U.NAME_PATH)return null;let Ee=q.lexer.current.type,Fe=q.lexer.next.type;if(!(Ee==="."&&Fe!=="<"||Ee==="["&&(s||le.type==="JsdocTypeName")||y&&(Ee==="~"||Ee==="#")))return null;let He,tt=!1;q.consume(".")?He="property":q.consume("[")?(He="property-brackets",tt=!0):q.consume("~")?He="inner":(q.consume("#"),He="instance");let Pt=S!==null?new I(S,q.lexer,q):q,yt=Pt.parseIntermediateType(U.NAME_PATH);q.acceptLexerState(Pt);let sr;switch(yt.type){case"JsdocTypeName":sr={type:"JsdocTypeProperty",value:yt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":sr={type:"JsdocTypeProperty",value:yt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":sr={type:"JsdocTypeProperty",value:yt.value,meta:{quote:yt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(yt.specialType==="event")sr=yt;else throw new a(yt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new a(yt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(tt&&!q.consume("]")){let $n=q.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${$n.type}' with text '${$n.text}'`)}return{type:"JsdocTypeNamePath",left:h(le),right:sr,pathType:He}}}function Be({allowedAdditionalTokens:s}){return ne({name:"nameParslet",accept:y=>y==="Identifier"||y==="this"||y==="new"||s.includes(y),parsePrefix:y=>{let{type:S,text:q}=y.lexer.current;return y.consume(S),{type:"JsdocTypeName",value:q}}})}let ot=ne({name:"stringValueParslet",accept:s=>s==="StringValue",parsePrefix:s=>{let y=s.lexer.current.text;return s.consume("StringValue"),{type:"JsdocTypeStringValue",value:y.slice(1,-1),meta:{quote:y[0]==="'"?"single":"double"}}}});function Q({pathGrammar:s,allowedTypes:y}){return ne({name:"specialNamePathParslet",accept:S=>y.includes(S),parsePrefix:S=>{let q=S.lexer.current.type;if(S.consume(q),!S.consume(":"))return{type:"JsdocTypeName",value:q};let X,le=S.lexer.current;if(S.consume("StringValue"))X={type:"JsdocTypeSpecialNamePath",value:le.text.slice(1,-1),specialType:q,meta:{quote:le.text[0]==="'"?"single":"double"}};else{let He="",tt=["Identifier","@","/"];for(;tt.some(Pt=>S.consume(Pt));)He+=le.text,le=S.lexer.current;X={type:"JsdocTypeSpecialNamePath",value:He,specialType:q,meta:{quote:void 0}}}let Ee=new I(s,S.lexer,S),Fe=Ee.parseInfixIntermediateType(X,U.ALL);return S.acceptLexerState(Ee),h(Fe)}})}let we=[Be({allowedAdditionalTokens:["external","module"]}),ot,xe,Ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Ie=[...we,Q({allowedTypes:["event"],pathGrammar:we})];function Oe(s){let y;if(s.type==="JsdocTypeParameterList")y=s.elements;else if(s.type==="JsdocTypeParenthesis")y=[s.element];else throw new a(s);return y.map(S=>C(S))}function qe(s){let y=Oe(s);if(y.some(S=>S.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return y}function je({allowNamedParameters:s,allowNoReturnType:y,allowWithoutParenthesis:S,allowNewAsFunctionKeyword:q}){return ne({name:"functionParslet",accept:(X,le)=>X==="function"||q&&X==="new"&&le==="(",parsePrefix:X=>{let le=X.consume("new");X.consume("function");let Ee=X.lexer.current.type==="(";if(!Ee){if(!S)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let Fe={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:le,parenthesis:Ee},He=X.parseIntermediateType(U.FUNCTION);if(s===void 0)Fe.parameters=qe(He);else{if(le&&He.type==="JsdocTypeFunction"&&He.arrow)return Fe=He,Fe.constructor=!0,Fe;Fe.parameters=Oe(He);for(let tt of Fe.parameters)if(tt.type==="JsdocTypeKeyValue"&&!s.includes(tt.key))throw new Error(`only allowed named parameters are ${s.join(", ")} but got ${tt.type}`)}if(X.consume(":"))Fe.returnType=X.parseType(U.PREFIX);else if(!y)throw new Error("function is missing return type");return Fe}})}function ve({allowPostfix:s,allowEnclosingBrackets:y}){return ne({name:"variadicParslet",accept:S=>S==="...",precedence:U.PREFIX,parsePrefix:S=>{S.consume("...");let q=y&&S.consume("[");try{let X=S.parseType(U.PREFIX);if(q&&!S.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:h(X),meta:{position:"prefix",squareBrackets:q}}}catch(X){if(X instanceof o){if(q)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw X}},parseInfix:s?(S,q)=>(S.consume("..."),{type:"JsdocTypeVariadic",element:h(q),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let De=ne({name:"symbolParslet",accept:s=>s==="(",precedence:U.SYMBOL,parseInfix:(s,y)=>{if(y.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");s.consume("(");let S={type:"JsdocTypeSymbol",value:y.value};if(!s.consume(")")){let q=s.parseIntermediateType(U.SYMBOL);if(S.element=Z(q),!s.consume(")"))throw new Error("Symbol does not end after value")}return S}}),bt=ne({name:"arrayBracketsParslet",precedence:U.ARRAY_BRACKETS,accept:(s,y)=>s==="["&&y==="]",parseInfix:(s,y)=>(s.consume("["),s.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[h(y)],meta:{brackets:"square",dot:!1}})});function Kt({objectFieldGrammar:s,allowKeyTypes:y}){return ne({name:"objectParslet",accept:S=>S==="{",parsePrefix:S=>{S.consume("{");let q={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!S.consume("}")){let X,le=new I(s,S.lexer,S);for(;;){le.acceptLexerState(S);let Ee=le.parseIntermediateType(U.OBJECT);S.acceptLexerState(le),Ee===void 0&&y&&(Ee=S.parseIntermediateType(U.OBJECT));let Fe=!1;if(Ee.type==="JsdocTypeNullable"&&(Fe=!0,Ee=Ee.element),Ee.type==="JsdocTypeNumber"||Ee.type==="JsdocTypeName"||Ee.type==="JsdocTypeStringValue"){let He;Ee.type==="JsdocTypeStringValue"&&(He=Ee.meta.quote),q.elements.push({type:"JsdocTypeObjectField",key:Ee.value.toString(),right:void 0,optional:Fe,readonly:!1,meta:{quote:He}})}else if(Ee.type==="JsdocTypeObjectField"||Ee.type==="JsdocTypeJsdocObjectField")q.elements.push(Ee);else throw new a(Ee);if(S.lexer.current.startOfLine)X="linebreak",S.consume(",")||S.consume(";");else if(S.consume(","))X="comma";else if(S.consume(";"))X="semicolon";else break;if(S.lexer.current.type==="}")break}if(q.meta.separator=X??"comma",X==="linebreak"&&(q.meta.propertyIndent=" "),!S.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return q}})}function Ht({allowSquaredProperties:s,allowKeyTypes:y,allowReadonly:S,allowOptional:q}){return ne({name:"objectFieldParslet",precedence:U.KEY_VALUE,accept:X=>X===":",parseInfix:(X,le)=>{var Ee;let Fe=!1,He=!1;q&&le.type==="JsdocTypeNullable"&&(Fe=!0,le=le.element),S&&le.type==="JsdocTypeReadonlyProperty"&&(He=!0,le=le.element);let tt=(Ee=X.baseParser)!==null&&Ee!==void 0?Ee:X;if(tt.acceptLexerState(X),le.type==="JsdocTypeNumber"||le.type==="JsdocTypeName"||le.type==="JsdocTypeStringValue"||oe(le)){if(oe(le)&&!s)throw new a(le);tt.consume(":");let Pt;le.type==="JsdocTypeStringValue"&&(Pt=le.meta.quote);let yt=tt.parseType(U.KEY_VALUE);return X.acceptLexerState(tt),{type:"JsdocTypeObjectField",key:oe(le)?le:le.value.toString(),right:yt,optional:Fe,readonly:He,meta:{quote:Pt}}}else{if(!y)throw new a(le);tt.consume(":");let Pt=tt.parseType(U.KEY_VALUE);return X.acceptLexerState(tt),{type:"JsdocTypeJsdocObjectField",left:h(le),right:Pt}}}})}function Gt({allowOptional:s,allowVariadic:y}){return ne({name:"keyValueParslet",precedence:U.KEY_VALUE,accept:S=>S===":",parseInfix:(S,q)=>{let X=!1,le=!1;if(s&&q.type==="JsdocTypeNullable"&&(X=!0,q=q.element),y&&q.type==="JsdocTypeVariadic"&&q.element!==void 0&&(le=!0,q=q.element),q.type!=="JsdocTypeName")throw new a(q);S.consume(":");let Ee=S.parseType(U.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:q.value,right:Ee,optional:X,variadic:le}}})}let jt=[...be,je({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ot,Q({allowedTypes:["module","external","event"],pathGrammar:Ie}),ve({allowEnclosingBrackets:!0,allowPostfix:!0}),Be({allowedAdditionalTokens:["keyof"]}),De,bt,Ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ie})],Zt=[...jt,Kt({objectFieldGrammar:[Be({allowedAdditionalTokens:["typeof","module","in"]}),Ht({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...jt],allowKeyTypes:!0}),Gt({allowOptional:!0,allowVariadic:!0})],At=ne({name:"typeOfParslet",accept:s=>s==="typeof",parsePrefix:s=>(s.consume("typeof"),{type:"JsdocTypeTypeof",element:s.parseType(U.KEY_OF_TYPE_OF)})}),Wt=[Be({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),K,he,ot,xe,Ht({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Or=[...be,Kt({allowKeyTypes:!1,objectFieldGrammar:Wt}),Be({allowedAdditionalTokens:["event","external","in"]}),At,je({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ve({allowEnclosingBrackets:!1,allowPostfix:!1}),Be({allowedAdditionalTokens:["keyof"]}),Q({allowedTypes:["module"],pathGrammar:Ie}),Ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ie}),Gt({allowOptional:!1,allowVariadic:!1}),De],so=ne({name:"assertsParslet",accept:s=>s==="asserts",parsePrefix:s=>{s.consume("asserts");let y=s.parseIntermediateType(U.SYMBOL);if(y.type!=="JsdocTypeName")throw new a(y,"A typescript asserts always has to have a name on the left side.");return s.consume("is")?{type:"JsdocTypeAsserts",left:y,right:h(s.parseIntermediateType(U.INFIX))}:{type:"JsdocTypeAssertsPlain",element:y}}});function zr({allowQuestionMark:s}){return ne({name:"tupleParslet",accept:y=>y==="[",parsePrefix:y=>{y.consume("[");let S={type:"JsdocTypeTuple",elements:[]};if(y.consume("]"))return S;let q=y.parseIntermediateType(U.ALL);if(q.type==="JsdocTypeParameterList"?q.elements[0].type==="JsdocTypeKeyValue"?S.elements=q.elements.map(j):S.elements=q.elements.map(h):q.type==="JsdocTypeKeyValue"?S.elements=[j(q)]:S.elements=[h(q)],!y.consume("]"))throw new Error("Unterminated '['");if(S.elements.some(X=>X.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return S}})}let In=ne({name:"keyOfParslet",accept:s=>s==="keyof",parsePrefix:s=>(s.consume("keyof"),{type:"JsdocTypeKeyof",element:h(s.parseType(U.KEY_OF_TYPE_OF))})}),qn=ne({name:"importParslet",accept:s=>s==="import",parsePrefix:s=>{if(s.consume("import"),!s.consume("("))throw new Error("Missing parenthesis after import keyword");let y=s.parseType(U.PREFIX);if(y.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!s.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:y}}}),lo=ne({name:"readonlyPropertyParslet",accept:s=>s==="readonly",parsePrefix:s=>(s.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:s.parseIntermediateType(U.KEY_VALUE)})}),Ar=ne({name:"arrowFunctionParslet",precedence:U.ARROW,accept:s=>s==="=>",parseInfix:(s,y)=>(s.consume("=>"),{type:"JsdocTypeFunction",parameters:Oe(y).map(x),arrow:!0,constructor:!1,parenthesis:!0,returnType:s.parseType(U.OBJECT)})}),Dr=ne({name:"genericArrowFunctionParslet",accept:s=>s==="<",parsePrefix:s=>{let y=[];s.consume("<");do{let q,X=s.parseIntermediateType(U.SYMBOL);if(X.type==="JsdocTypeOptional"&&(X=X.element,q=s.parseType(U.SYMBOL)),X.type!=="JsdocTypeName")throw new a(X);let le;s.consume("extends")&&(le=s.parseType(U.SYMBOL),le.type==="JsdocTypeOptional"&&(le=le.element,q=s.parseType(U.SYMBOL)));let Ee={type:"JsdocTypeTypeParameter",name:X};if(le!==void 0&&(Ee.constraint=le),q!==void 0&&(Ee.defaultValue=q),y.push(Ee),s.consume(">"))break}while(s.consume(","));let S=s.parseIntermediateType(U.SYMBOL);return S.typeParameters=y,S}}),jn=ne({name:"intersectionParslet",accept:s=>s==="&",precedence:U.INTERSECTION,parseInfix:(s,y)=>{s.consume("&");let S=[];do S.push(s.parseType(U.INTERSECTION));while(s.consume("&"));return{type:"JsdocTypeIntersection",elements:[h(y),...S]}}}),Mn=ne({name:"predicateParslet",precedence:U.INFIX,accept:s=>s==="is",parseInfix:(s,y)=>{if(y.type!=="JsdocTypeName")throw new a(y,"A typescript predicate always has to have a name on the left side.");return s.consume("is"),{type:"JsdocTypePredicate",left:y,right:h(s.parseIntermediateType(U.INFIX))}}}),zt=ne({name:"objectSquareBracketPropertyParslet",accept:s=>s==="[",parsePrefix:s=>{if(s.baseParser===void 0)throw new Error("Only allowed inside object grammar");s.consume("[");let y=s.lexer.current.text;s.consume("Identifier");let S;if(s.consume(":")){let q=s.baseParser;q.acceptLexerState(s),S={type:"JsdocTypeIndexSignature",key:y,right:q.parseType(U.INDEX_BRACKETS)},s.acceptLexerState(q)}else if(s.consume("in")){let q=s.baseParser;q.acceptLexerState(s),S={type:"JsdocTypeMappedType",key:y,right:q.parseType(U.ARRAY_BRACKETS)},s.acceptLexerState(q)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!s.consume("]"))throw new Error("Unterminated square brackets");return S}}),Mt=ne({name:"readonlyArrayParslet",accept:s=>s==="readonly",parsePrefix:s=>(s.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:G(s.parseIntermediateType(U.ALL))})}),un=ne({name:"conditionalParslet",precedence:U.INFIX,accept:s=>s==="extends",parseInfix:(s,y)=>{s.consume("extends");let S=s.parseType(U.KEY_OF_TYPE_OF).element,q=s.parseType(U.INFIX);return s.consume(":"),{type:"JsdocTypeConditional",checksType:h(y),extendsType:S,trueType:q,falseType:s.parseType(U.INFIX)}}}),uo=[lo,Be({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),K,he,ot,xe,Ht({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),zt],Ln=[...be,Kt({allowKeyTypes:!1,objectFieldGrammar:uo}),Mt,At,In,qn,ot,je({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),zr({allowQuestionMark:!1}),ve({allowEnclosingBrackets:!1,allowPostfix:!1}),so,un,Be({allowedAdditionalTokens:["event","external","in"]}),Q({allowedTypes:["module"],pathGrammar:Ie}),bt,Ar,Dr,Ge({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Ie}),jn,Mn,Gt({allowVariadic:!0,allowOptional:!0})];function Yr(s,y){switch(y){case"closure":return new I(Or,s).parse();case"jsdoc":return new I(Zt,s).parse();case"typescript":return new I(Ln,s).parse()}}function Pr(s,y=["typescript","closure","jsdoc"]){let S;for(let q of y)try{return Yr(s,q)}catch(X){S=X}throw S}function Lt(s,y){let S=s[y.type];if(S===void 0)throw new Error(`In this set of transform rules exists no rule for type ${y.type}.`);return S(y,q=>Lt(s,q))}function ke(s){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function cn(s){let y={params:[]};for(let S of s.parameters)S.type==="JsdocTypeKeyValue"?S.key==="this"?y.this=S.right:S.key==="new"?y.new=S.right:y.params.push(S):y.params.push(S);return y}function ar(s,y,S){return s==="prefix"?S+y:y+S}function Tt(s,y){switch(y){case"double":return`"${s}"`;case"single":return`'${s}'`;case void 0:return s}}function Te(){return{JsdocTypeParenthesis:(s,y)=>`(${s.element!==void 0?y(s.element):""})`,JsdocTypeKeyof:(s,y)=>`keyof ${y(s.element)}`,JsdocTypeFunction:(s,y)=>{var S;if(s.arrow){if(s.returnType===void 0)throw new Error("Arrow function needs a return type.");let q=`${s.typeParameters!==void 0?`<${(S=s.typeParameters.map(y).join(", "))!==null&&S!==void 0?S:""}>`:""}(${s.parameters.map(y).join(", ")}) => ${y(s.returnType)}`;return s.constructor&&(q="new "+q),q}else{let q=s.constructor?"new":"function";return s.parenthesis&&(q+=`(${s.parameters.map(y).join(", ")})`,s.returnType!==void 0&&(q+=`: ${y(s.returnType)}`)),q}},JsdocTypeName:s=>s.value,JsdocTypeTuple:(s,y)=>`[${s.elements.map(y).join(", ")}]`,JsdocTypeVariadic:(s,y)=>s.meta.position===void 0?"...":ar(s.meta.position,y(s.element),"..."),JsdocTypeNamePath:(s,y)=>{let S=y(s.left),q=y(s.right);switch(s.pathType){case"inner":return`${S}~${q}`;case"instance":return`${S}#${q}`;case"property":return`${S}.${q}`;case"property-brackets":return`${S}[${q}]`}},JsdocTypeStringValue:s=>Tt(s.value,s.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(s,y)=>{if(s.meta.brackets==="square"){let S=s.elements[0],q=y(S);return S.type==="JsdocTypeUnion"||S.type==="JsdocTypeIntersection"?`(${q})[]`:`${q}[]`}else return`${y(s.left)}${s.meta.dot?".":""}<${s.infer===!0?"infer ":""}${s.elements.map(y).join(", ")}>`},JsdocTypeImport:(s,y)=>`import(${y(s.element)})`,JsdocTypeObjectField:(s,y)=>{let S="";return s.readonly&&(S+="readonly "),typeof s.key=="string"?S+=Tt(s.key,s.meta.quote):S+=y(s.key),s.optional&&(S+="?"),s.right===void 0?S:S+`: ${y(s.right)}`},JsdocTypeJsdocObjectField:(s,y)=>`${y(s.left)}: ${y(s.right)}`,JsdocTypeKeyValue:(s,y)=>{let S=s.key;return s.optional&&(S+="?"),s.variadic&&(S="..."+S),s.right===void 0?S:S+`: ${y(s.right)}`},JsdocTypeSpecialNamePath:s=>`${s.specialType}:${Tt(s.value,s.meta.quote)}`,JsdocTypeNotNullable:(s,y)=>ar(s.meta.position,y(s.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(s,y)=>ar(s.meta.position,y(s.element),"?"),JsdocTypeNumber:s=>s.value.toString(),JsdocTypeObject:(s,y)=>{var S,q;return`{${(s.meta.separator==="linebreak"&&s.elements.length>1?`
  15. `+((S=s.meta.propertyIndent)!==null&&S!==void 0?S:""):"")+s.elements.map(y).join(s.meta.separator==="comma"?", ":s.meta.separator==="linebreak"?`
  16. `+((q=s.meta.propertyIndent)!==null&&q!==void 0?q:""):"; ")+(s.meta.separator==="linebreak"&&s.elements.length>1?`
  17. `:"")}}`},JsdocTypeOptional:(s,y)=>ar(s.meta.position,y(s.element),"="),JsdocTypeSymbol:(s,y)=>`${s.value}(${s.element!==void 0?y(s.element):""})`,JsdocTypeTypeof:(s,y)=>`typeof ${y(s.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(s,y)=>s.elements.map(y).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(s,y)=>s.elements.map(y).join(" & "),JsdocTypeProperty:s=>Tt(s.value,s.meta.quote),JsdocTypePredicate:(s,y)=>`${y(s.left)} is ${y(s.right)}`,JsdocTypeIndexSignature:(s,y)=>`[${s.key}: ${y(s.right)}]`,JsdocTypeMappedType:(s,y)=>`[${s.key} in ${y(s.right)}]`,JsdocTypeAsserts:(s,y)=>`asserts ${y(s.left)} is ${y(s.right)}`,JsdocTypeReadonlyArray:(s,y)=>`readonly ${y(s.element)}`,JsdocTypeAssertsPlain:(s,y)=>`asserts ${y(s.element)}`,JsdocTypeConditional:(s,y)=>`${y(s.checksType)} extends ${y(s.extendsType)} ? ${y(s.trueType)} : ${y(s.falseType)}`,JsdocTypeTypeParameter:(s,y)=>`${y(s.name)}${s.constraint!==void 0?` extends ${y(s.constraint)}`:""}${s.defaultValue!==void 0?` = ${y(s.defaultValue)}`:""}`}}let co=Te();function Kr(s){return Lt(co,s)}let Ho=["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 $t(s){let y={type:"NameExpression",name:s};return Ho.includes(s)&&(y.reservedWord=!0),y}let Pi={JsdocTypeOptional:(s,y)=>{let S=y(s.element);return S.optional=!0,S},JsdocTypeNullable:(s,y)=>{let S=y(s.element);return S.nullable=!0,S},JsdocTypeNotNullable:(s,y)=>{let S=y(s.element);return S.nullable=!1,S},JsdocTypeVariadic:(s,y)=>{if(s.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let S=y(s.element);return S.repeatable=!0,S},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:s=>$t(Tt(s.value,s.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(s,y)=>{let S=cn(s),q={type:"FunctionType",params:S.params.map(y)};return S.this!==void 0&&(q.this=y(S.this)),S.new!==void 0&&(q.new=y(S.new)),s.returnType!==void 0&&(q.result=y(s.returnType)),q},JsdocTypeGeneric:(s,y)=>({type:"TypeApplication",applications:s.elements.map(S=>y(S)),expression:y(s.left)}),JsdocTypeSpecialNamePath:s=>$t(s.specialType+":"+Tt(s.value,s.meta.quote)),JsdocTypeName:s=>s.value!=="function"?$t(s.value):{type:"FunctionType",params:[]},JsdocTypeNumber:s=>$t(s.value.toString()),JsdocTypeObject:(s,y)=>{let S={type:"RecordType",fields:[]};for(let q of s.elements)q.type!=="JsdocTypeObjectField"&&q.type!=="JsdocTypeJsdocObjectField"?S.fields.push({type:"FieldType",key:y(q),value:void 0}):S.fields.push(y(q));return S},JsdocTypeObjectField:(s,y)=>{if(typeof s.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:$t(Tt(s.key,s.meta.quote)),value:s.right===void 0?void 0:y(s.right)}},JsdocTypeJsdocObjectField:(s,y)=>({type:"FieldType",key:y(s.left),value:y(s.right)}),JsdocTypeUnion:(s,y)=>({type:"TypeUnion",elements:s.elements.map(S=>y(S))}),JsdocTypeKeyValue:(s,y)=>({type:"FieldType",key:$t(s.key),value:s.right===void 0?void 0:y(s.right)}),JsdocTypeNamePath:(s,y)=>{let S=y(s.left),q;s.right.type==="JsdocTypeSpecialNamePath"?q=y(s.right).name:q=Tt(s.right.value,s.right.meta.quote);let X=s.pathType==="inner"?"~":s.pathType==="instance"?"#":".";return $t(`${S.name}${X}${q}`)},JsdocTypeSymbol:s=>{let y="",S=s.element,q=!1;return(S==null?void 0:S.type)==="JsdocTypeVariadic"&&(S.meta.position==="prefix"?y="...":q=!0,S=S.element),(S==null?void 0:S.type)==="JsdocTypeName"?y+=S.value:(S==null?void 0:S.type)==="JsdocTypeNumber"&&(y+=S.value.toString()),q&&(y+="..."),$t(`${s.value}(${y})`)},JsdocTypeParenthesis:(s,y)=>y(h(s.element)),JsdocTypeMappedType:ke,JsdocTypeIndexSignature:ke,JsdocTypeImport:ke,JsdocTypeKeyof:ke,JsdocTypeTuple:ke,JsdocTypeTypeof:ke,JsdocTypeIntersection:ke,JsdocTypeProperty:ke,JsdocTypePredicate:ke,JsdocTypeAsserts:ke,JsdocTypeReadonlyArray:ke,JsdocTypeAssertsPlain:ke,JsdocTypeConditional:ke,JsdocTypeTypeParameter:ke};function Go(s){return Lt(Pi,s)}function Xt(s){switch(s){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Xr(s){switch(s){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function Qr(s,y){return y.length===2?{type:s,left:y[0],right:y[1]}:{type:s,left:y[0],right:Qr(s,y.slice(1))}}let po={JsdocTypeOptional:(s,y)=>({type:"OPTIONAL",value:y(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(s,y)=>({type:"NULLABLE",value:y(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(s,y)=>({type:"NOT_NULLABLE",value:y(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(s,y)=>{let S={type:"VARIADIC",meta:{syntax:s.meta.position==="prefix"?"PREFIX_DOTS":s.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return s.element!==void 0&&(S.value=y(s.element)),S},JsdocTypeName:s=>({type:"NAME",name:s.value}),JsdocTypeTypeof:(s,y)=>({type:"TYPE_QUERY",name:y(s.element)}),JsdocTypeTuple:(s,y)=>({type:"TUPLE",entries:s.elements.map(y)}),JsdocTypeKeyof:(s,y)=>({type:"KEY_QUERY",value:y(s.element)}),JsdocTypeImport:s=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:Xt(s.element.meta.quote),string:s.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(s,y)=>{let S=cn(s),q={type:s.arrow?"ARROW":"FUNCTION",params:S.params.map(X=>{if(X.type==="JsdocTypeKeyValue"){if(X.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:X.key,typeName:y(X.right)}}else return y(X)}),new:null,returns:null};return S.this!==void 0?q.this=y(S.this):s.arrow||(q.this=null),S.new!==void 0&&(q.new=y(S.new)),s.returnType!==void 0&&(q.returns=y(s.returnType)),q},JsdocTypeGeneric:(s,y)=>{let S={type:"GENERIC",subject:y(s.left),objects:s.elements.map(y),meta:{syntax:s.meta.brackets==="square"?"SQUARE_BRACKET":s.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return s.meta.brackets==="square"&&s.elements[0].type==="JsdocTypeFunction"&&!s.elements[0].parenthesis&&(S.objects[0]={type:"NAME",name:"function"}),S},JsdocTypeObjectField:(s,y)=>{if(typeof s.key!="string")throw new Error("Index signatures and mapped types are not supported");if(s.right===void 0)return{type:"RECORD_ENTRY",key:s.key,quoteStyle:Xt(s.meta.quote),value:null,readonly:!1};let S=y(s.right);return s.optional&&(S={type:"OPTIONAL",value:S,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:s.key.toString(),quoteStyle:Xt(s.meta.quote),value:S,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(s,y)=>{if(s.right===void 0)return{type:"RECORD_ENTRY",key:s.key,quoteStyle:"none",value:null,readonly:!1};let S=y(s.right);return s.optional&&(S={type:"OPTIONAL",value:S,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:s.key,quoteStyle:"none",value:S,readonly:!1}},JsdocTypeObject:(s,y)=>{let S=[];for(let q of s.elements)(q.type==="JsdocTypeObjectField"||q.type==="JsdocTypeJsdocObjectField")&&S.push(y(q));return{type:"RECORD",entries:S}},JsdocTypeSpecialNamePath:s=>{if(s.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${s.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:Xt(s.meta.quote),path:s.value}}},JsdocTypeNamePath:(s,y)=>{let S=!1,q,X;s.right.type==="JsdocTypeSpecialNamePath"&&s.right.specialType==="event"?(S=!0,q=s.right.value,X=Xt(s.right.meta.quote)):(q=s.right.value,X=Xt(s.right.meta.quote));let le={type:Xr(s.pathType),owner:y(s.left),name:q,quoteStyle:X,hasEventPrefix:S};if(le.owner.type==="MODULE"){let Ee=le.owner;return le.owner=le.owner.value,Ee.value=le,Ee}else return le},JsdocTypeUnion:(s,y)=>Qr("UNION",s.elements.map(y)),JsdocTypeParenthesis:(s,y)=>({type:"PARENTHESIS",value:y(h(s.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:s=>({type:"STRING_VALUE",quoteStyle:Xt(s.meta.quote),string:s.value}),JsdocTypeIntersection:(s,y)=>Qr("INTERSECTION",s.elements.map(y)),JsdocTypeNumber:s=>({type:"NUMBER_VALUE",number:s.value.toString()}),JsdocTypeSymbol:ke,JsdocTypeProperty:ke,JsdocTypePredicate:ke,JsdocTypeMappedType:ke,JsdocTypeIndexSignature:ke,JsdocTypeAsserts:ke,JsdocTypeReadonlyArray:ke,JsdocTypeAssertsPlain:ke,JsdocTypeConditional:ke,JsdocTypeTypeParameter:ke};function fo(s){return Lt(po,s)}function Dn(){return{JsdocTypeIntersection:(s,y)=>({type:"JsdocTypeIntersection",elements:s.elements.map(y)}),JsdocTypeGeneric:(s,y)=>({type:"JsdocTypeGeneric",left:y(s.left),elements:s.elements.map(y),meta:{dot:s.meta.dot,brackets:s.meta.brackets}}),JsdocTypeNullable:s=>s,JsdocTypeUnion:(s,y)=>({type:"JsdocTypeUnion",elements:s.elements.map(y)}),JsdocTypeUnknown:s=>s,JsdocTypeUndefined:s=>s,JsdocTypeTypeof:(s,y)=>({type:"JsdocTypeTypeof",element:y(s.element)}),JsdocTypeSymbol:(s,y)=>{let S={type:"JsdocTypeSymbol",value:s.value};return s.element!==void 0&&(S.element=y(s.element)),S},JsdocTypeOptional:(s,y)=>({type:"JsdocTypeOptional",element:y(s.element),meta:{position:s.meta.position}}),JsdocTypeObject:(s,y)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:s.elements.map(y)}),JsdocTypeNumber:s=>s,JsdocTypeNull:s=>s,JsdocTypeNotNullable:(s,y)=>({type:"JsdocTypeNotNullable",element:y(s.element),meta:{position:s.meta.position}}),JsdocTypeSpecialNamePath:s=>s,JsdocTypeObjectField:(s,y)=>({type:"JsdocTypeObjectField",key:s.key,right:s.right===void 0?void 0:y(s.right),optional:s.optional,readonly:s.readonly,meta:s.meta}),JsdocTypeJsdocObjectField:(s,y)=>({type:"JsdocTypeJsdocObjectField",left:y(s.left),right:y(s.right)}),JsdocTypeKeyValue:(s,y)=>({type:"JsdocTypeKeyValue",key:s.key,right:s.right===void 0?void 0:y(s.right),optional:s.optional,variadic:s.variadic}),JsdocTypeImport:(s,y)=>({type:"JsdocTypeImport",element:y(s.element)}),JsdocTypeAny:s=>s,JsdocTypeStringValue:s=>s,JsdocTypeNamePath:s=>s,JsdocTypeVariadic:(s,y)=>{let S={type:"JsdocTypeVariadic",meta:{position:s.meta.position,squareBrackets:s.meta.squareBrackets}};return s.element!==void 0&&(S.element=y(s.element)),S},JsdocTypeTuple:(s,y)=>({type:"JsdocTypeTuple",elements:s.elements.map(y)}),JsdocTypeName:s=>s,JsdocTypeFunction:(s,y)=>{let S={type:"JsdocTypeFunction",arrow:s.arrow,parameters:s.parameters.map(y),constructor:s.constructor,parenthesis:s.parenthesis};return s.returnType!==void 0&&(S.returnType=y(s.returnType)),S},JsdocTypeKeyof:(s,y)=>({type:"JsdocTypeKeyof",element:y(s.element)}),JsdocTypeParenthesis:(s,y)=>({type:"JsdocTypeParenthesis",element:y(s.element)}),JsdocTypeProperty:s=>s,JsdocTypePredicate:(s,y)=>({type:"JsdocTypePredicate",left:y(s.left),right:y(s.right)}),JsdocTypeIndexSignature:(s,y)=>({type:"JsdocTypeIndexSignature",key:s.key,right:y(s.right)}),JsdocTypeMappedType:(s,y)=>({type:"JsdocTypeMappedType",key:s.key,right:y(s.right)}),JsdocTypeAsserts:(s,y)=>({type:"JsdocTypeAsserts",left:y(s.left),right:y(s.right)}),JsdocTypeReadonlyArray:(s,y)=>({type:"JsdocTypeReadonlyArray",element:y(s.element)}),JsdocTypeAssertsPlain:(s,y)=>({type:"JsdocTypeAssertsPlain",element:y(s.element)}),JsdocTypeConditional:(s,y)=>({type:"JsdocTypeConditional",checksType:y(s.checksType),extendsType:y(s.extendsType),trueType:y(s.trueType),falseType:y(s.falseType)}),JsdocTypeTypeParameter:(s,y)=>({type:"JsdocTypeTypeParameter",name:y(s.name),constraint:s.constraint!==void 0?y(s.constraint):void 0,defaultValue:s.defaultValue!==void 0?y(s.defaultValue):void 0})}}let kn={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"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function dn(s,y,S,q,X){q==null||q(s,y,S);let le=kn[s.type];for(let Ee of le){let Fe=s[Ee];if(Fe!==void 0)if(Array.isArray(Fe))for(let He of Fe)dn(He,s,Ee,q,X);else dn(Fe,s,Ee,q,X)}X==null||X(s,y,S)}function Wo(s,y,S){dn(s,void 0,void 0,y,S)}r.catharsisTransform=Go,r.identityTransformRules=Dn,r.jtpTransform=fo,r.parse=Yr,r.stringify=Kr,r.stringifyRules=Te,r.transform=Lt,r.traverse=Wo,r.tryParse=Pr,r.visitorKeys=kn})}}),nP=Y({"../../node_modules/browser-dtector/browser-dtector.umd.min.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=n()})(e,function(){function r(d,c){for(var p=0;p<c.length;p++){var f=c[p];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(d,(g=f.key,b=void 0,typeof(b=function(T,w){if(typeof T!="object"||T===null)return T;var R=T[Symbol.toPrimitive];if(R!==void 0){var _=R.call(T,w);if(typeof _!="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(w==="string"?String:Number)(T)}(g,"string"))=="symbol"?b:String(b)),f)}var g,b}var n={chrome:"Google Chrome",brave:"Brave",crios:"Google Chrome",edge:"Microsoft Edge",edg:"Microsoft Edge",edgios:"Microsoft Edge",fennec:"Mozilla Firefox",jsdom:"JsDOM",mozilla:"Mozilla Firefox",fxios:"Mozilla Firefox",msie:"Microsoft Internet Explorer",opera:"Opera",opios:"Opera",opr:"Opera",opt:"Opera",rv:"Microsoft Internet Explorer",safari:"Safari",samsungbrowser:"Samsung Browser",electron:"Electron"},o={android:"Android",androidTablet:"Android Tablet",cros:"Chrome OS",fennec:"Android Tablet",ipad:"IPad",iphone:"IPhone",jsdom:"JsDOM",linux:"Linux",mac:"Macintosh",tablet:"Android Tablet",win:"Windows","windows phone":"Windows Phone",xbox:"Microsoft Xbox"},i=function(d){var c=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),p=Number(d).toString().match(c);return p?p[0]:null},a=function(){return typeof window<"u"?window.navigator:null},l=function(){function d(g){var b;(function(T,w){if(!(T instanceof w))throw new TypeError("Cannot call a class as a function")})(this,d),this.userAgent=g||((b=a())===null||b===void 0?void 0:b.userAgent)||null}var c,p,f;return c=d,p=[{key:"parseUserAgent",value:function(g){var b,T,w,R={},_=g||this.userAgent||"",A=_.toLowerCase().replace(/\s\s+/g," "),L=/(edge)\/([\w.]+)/.exec(A)||/(edg)[/]([\w.]+)/.exec(A)||/(opr)[/]([\w.]+)/.exec(A)||/(opt)[/]([\w.]+)/.exec(A)||/(fxios)[/]([\w.]+)/.exec(A)||/(edgios)[/]([\w.]+)/.exec(A)||/(jsdom)[/]([\w.]+)/.exec(A)||/(samsungbrowser)[/]([\w.]+)/.exec(A)||/(electron)[/]([\w.]+)/.exec(A)||/(chrome)[/]([\w.]+)/.exec(A)||/(crios)[/]([\w.]+)/.exec(A)||/(opios)[/]([\w.]+)/.exec(A)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(A)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(A)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(A)||/(webkit)[/]([\w.]+)/.exec(A)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(A)||/(msie) ([\w.]+)/.exec(A)||/(fennec)[/]([\w.]+)/.exec(A)||A.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(A)||A.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(A)||[],D=/(ipad)/.exec(A)||/(ipod)/.exec(A)||/(iphone)/.exec(A)||/(jsdom)/.exec(A)||/(windows phone)/.exec(A)||/(xbox)/.exec(A)||/(win)/.exec(A)||/(tablet)/.exec(A)||/(android)/.test(A)&&/(mobile)/.test(A)===!1&&["androidTablet"]||/(android)/.exec(A)||/(mac)/.exec(A)||/(linux)/.exec(A)||/(cros)/.exec(A)||[],k=L[5]||L[3]||L[1]||null,h=D[0]||null,C=L[4]||L[2]||null,x=a();k==="chrome"&&typeof(x==null||(b=x.brave)===null||b===void 0?void 0:b.isBrave)=="function"&&(k="brave"),k&&(R[k]=!0),h&&(R[h]=!0);var j=!!(R.tablet||R.android||R.androidTablet),Z=!!(R.ipad||R.tablet||R.androidTablet),G=!!(R.android||R.androidTablet||R.tablet||R.ipad||R.ipod||R.iphone||R["windows phone"]),oe=!!(R.cros||R.mac||R.linux||R.win),U=!!(R.brave||R.chrome||R.crios||R.opr||R.safari||R.edg||R.electron),I=!!(R.msie||R.rv);return{name:(T=n[k])!==null&&T!==void 0?T:null,platform:(w=o[h])!==null&&w!==void 0?w:null,userAgent:_,version:C,shortVersion:C?i(parseFloat(C),2):null,isAndroid:j,isTablet:Z,isMobile:G,isDesktop:oe,isWebkit:U,isIE:I}}},{key:"getBrowserInfo",value:function(){var g=this.parseUserAgent();return{name:g.name,platform:g.platform,userAgent:g.userAgent,version:g.version,shortVersion:g.shortVersion}}}],f=[{key:"VERSION",get:function(){return"3.4.0"}}],p&&r(c.prototype,p),f&&r(c,f),Object.defineProperty(c,"prototype",{writable:!1}),d}();return l})}}),td={};mr(td,{AI_PROMPT_NUDGE:()=>MP,AI_SETUP_ANALYTICS_REQUEST:()=>NP,AI_SETUP_ANALYTICS_RESPONSE:()=>xP,ARGTYPES_INFO_REQUEST:()=>Cg,ARGTYPES_INFO_RESPONSE:()=>Du,CHANNEL_CREATED:()=>iP,CHANNEL_WS_DISCONNECT:()=>ug,CONFIG_ERROR:()=>cg,CREATE_NEW_STORYFILE_REQUEST:()=>aP,CREATE_NEW_STORYFILE_RESPONSE:()=>sP,CURRENT_STORY_WAS_SET:()=>ju,DOCS_PREPARED:()=>dg,DOCS_RENDERED:()=>nd,FILE_COMPONENT_SEARCH_REQUEST:()=>lP,FILE_COMPONENT_SEARCH_RESPONSE:()=>uP,FORCE_REMOUNT:()=>Ts,FORCE_RE_RENDER:()=>od,GHOST_STORIES_REQUEST:()=>PP,GHOST_STORIES_RESPONSE:()=>CP,GLOBALS_UPDATED:()=>na,MANAGER_INERT_ATTRIBUTE_CHANGED:()=>xg,NAVIGATE_URL:()=>cP,OPEN_IN_EDITOR_REQUEST:()=>IP,OPEN_IN_EDITOR_RESPONSE:()=>qP,PLAY_FUNCTION_THREW_EXCEPTION:()=>pg,PRELOAD_ENTRIES:()=>hg,PREVIEW_BUILDER_PROGRESS:()=>dP,PREVIEW_INITIALIZED:()=>mg,PREVIEW_KEYDOWN:()=>yg,REGISTER_SUBSCRIPTION:()=>pP,REQUEST_WHATS_NEW_DATA:()=>wP,RESET_STORY_ARGS:()=>id,RESULT_WHATS_NEW_DATA:()=>_P,SAVE_STORY_REQUEST:()=>OP,SAVE_STORY_RESPONSE:()=>AP,SELECT_STORY:()=>fP,SET_CONFIG:()=>hP,SET_CURRENT_STORY:()=>ad,SET_FILTER:()=>mP,SET_GLOBALS:()=>gg,SET_INDEX:()=>yP,SET_STORIES:()=>gP,SET_WHATS_NEW_CACHE:()=>SP,SHARED_STATE_CHANGED:()=>bP,SHARED_STATE_SET:()=>vP,SHARE_ISOLATE_MODE:()=>jP,SIDEBAR_FILTER_CHANGED:()=>LP,STORIES_COLLAPSE_ALL:()=>EP,STORIES_EXPAND_ALL:()=>TP,STORY_ARGS_UPDATED:()=>bg,STORY_CHANGED:()=>vg,STORY_ERRORED:()=>Eg,STORY_FINISHED:()=>Lu,STORY_HOT_UPDATED:()=>Og,STORY_INDEX_INVALIDATED:()=>Tg,STORY_MISSING:()=>Mu,STORY_PREPARED:()=>wg,STORY_RENDERED:()=>ws,STORY_RENDER_PHASE_CHANGED:()=>Io,STORY_SPECIFIED:()=>_g,STORY_THREW_EXCEPTION:()=>Sg,STORY_UNCHANGED:()=>Rg,TELEMETRY_ERROR:()=>Pg,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>RP,UNHANDLED_ERRORS_WHILE_PLAYING:()=>fg,UPDATE_GLOBALS:()=>sd,UPDATE_QUERY_PARAMS:()=>Ag,UPDATE_STORY_ARGS:()=>ld,default:()=>oP});var rd=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_INITIALIZED="previewInitialized",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.GHOST_STORIES_REQUEST="ghostStoriesRequest",e.GHOST_STORIES_RESPONSE="ghostStoriesResponse",e.AI_SETUP_ANALYTICS_RESPONSE="aiSetupAnalyticsResponse",e.AI_SETUP_ANALYTICS_REQUEST="aiSetupAnalyticsRequest",e.OPEN_IN_EDITOR_REQUEST="openInEditorRequest",e.OPEN_IN_EDITOR_RESPONSE="openInEditorResponse",e.MANAGER_INERT_ATTRIBUTE_CHANGED="managerInertAttributeChanged",e.SHARE_ISOLATE_MODE="shareIsolateMode",e.AI_PROMPT_NUDGE="aiPromptNudge",e.SIDEBAR_FILTER_CHANGED="sidebarFilterChanged",e))(rd||{}),oP=rd,{CHANNEL_WS_DISCONNECT:ug,CHANNEL_CREATED:iP,CONFIG_ERROR:cg,CREATE_NEW_STORYFILE_REQUEST:aP,CREATE_NEW_STORYFILE_RESPONSE:sP,CURRENT_STORY_WAS_SET:ju,DOCS_PREPARED:dg,DOCS_RENDERED:nd,FILE_COMPONENT_SEARCH_REQUEST:lP,FILE_COMPONENT_SEARCH_RESPONSE:uP,FORCE_RE_RENDER:od,FORCE_REMOUNT:Ts,GLOBALS_UPDATED:na,NAVIGATE_URL:cP,PLAY_FUNCTION_THREW_EXCEPTION:pg,UNHANDLED_ERRORS_WHILE_PLAYING:fg,PRELOAD_ENTRIES:hg,PREVIEW_INITIALIZED:mg,PREVIEW_BUILDER_PROGRESS:dP,PREVIEW_KEYDOWN:yg,REGISTER_SUBSCRIPTION:pP,RESET_STORY_ARGS:id,SELECT_STORY:fP,SET_CONFIG:hP,SET_CURRENT_STORY:ad,SET_FILTER:mP,SET_GLOBALS:gg,SET_INDEX:yP,SET_STORIES:gP,SHARED_STATE_CHANGED:bP,SHARED_STATE_SET:vP,STORIES_COLLAPSE_ALL:EP,STORIES_EXPAND_ALL:TP,STORY_ARGS_UPDATED:bg,STORY_CHANGED:vg,STORY_ERRORED:Eg,STORY_INDEX_INVALIDATED:Tg,STORY_MISSING:Mu,STORY_PREPARED:wg,STORY_RENDER_PHASE_CHANGED:Io,STORY_RENDERED:ws,STORY_FINISHED:Lu,STORY_SPECIFIED:_g,STORY_THREW_EXCEPTION:Sg,STORY_UNCHANGED:Rg,STORY_HOT_UPDATED:Og,UPDATE_GLOBALS:sd,UPDATE_QUERY_PARAMS:Ag,UPDATE_STORY_ARGS:ld,REQUEST_WHATS_NEW_DATA:wP,RESULT_WHATS_NEW_DATA:_P,SET_WHATS_NEW_CACHE:SP,TOGGLE_WHATS_NEW_NOTIFICATIONS:RP,TELEMETRY_ERROR:Pg,SAVE_STORY_REQUEST:OP,SAVE_STORY_RESPONSE:AP,ARGTYPES_INFO_REQUEST:Cg,ARGTYPES_INFO_RESPONSE:Du,GHOST_STORIES_REQUEST:PP,GHOST_STORIES_RESPONSE:CP,AI_SETUP_ANALYTICS_RESPONSE:xP,AI_SETUP_ANALYTICS_REQUEST:NP,OPEN_IN_EDITOR_REQUEST:IP,OPEN_IN_EDITOR_RESPONSE:qP,MANAGER_INERT_ATTRIBUTE_CHANGED:xg,SHARE_ISOLATE_MODE:jP,AI_PROMPT_NUDGE:MP,SIDEBAR_FILTER_CHANGED:LP}=rd,Ng={};mr(Ng,{global:()=>Re});var Re=(()=>{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})(),Ig={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/test":"__STORYBOOK_MODULE_TEST__","storybook/actions":"__STORYBOOK_MODULE_ACTIONS__","storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__"},DP=Object.keys(Ig),qg={};mr(qg,{Channel:()=>Ks,HEARTBEAT_INTERVAL:()=>nb,HEARTBEAT_MAX_LATENCY:()=>ob,PostMessageTransport:()=>rb,WebsocketTransport:()=>ib,createBrowserChannel:()=>QN,default:()=>XN});function et(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,d){var c=d.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(p){var f,g;return(g=(f=p.match(/[\t ]/g))===null||f===void 0?void 0:f.length)!==null&&g!==void 0?g:0})):l},[]);if(o.length){var i=new RegExp(`
  18. [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
  19. `)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(l,d){var c=a.match(/(?:^|\n)( *)$/),p=c?c[1]:"",f=l;typeof l=="string"&&l.includes(`
  20. `)&&(f=String(l).split(`
  21. `).map(function(g,b){return b===0?g:""+p+g}).join(`
  22. `)),a+=f+n[d+1]}),a}var Pf=new Map,kP="UNIVERSAL_STORE:",xr={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},So=class Ye{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=()=>(this.debug("getState",{state:this.state}),this.state),this.subscribe=(n,o)=>{let i=typeof n=="function",a=i?"*":n,l=i?n:o;if(this.debug("subscribe",{eventType:a,listener:l}),!l)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(a)||this.listeners.set(a,new Set),this.listeners.get(a).add(l),()=>{var d;this.debug("unsubscribe",{eventType:a,listener:l}),this.listeners.has(a)&&(this.listeners.get(a).delete(l),((d=this.listeners.get(a))==null?void 0:d.size)===0&&this.listeners.delete(a))}},this.send=n=>{if(this.debug("send",{event:n}),this.status!==Ye.Status.READY)throw new TypeError(et`Cannot send event before store is ready. You can get the current status with store.status,
  23. or await store.readyPromise to wait for the store to be ready before sending events.
  24. ${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},this.debugging=t.debug??!1,!Ye.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(Ye.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?Ye.ActorType.LEADER:Ye.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${kP}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===Ye.ActorType.LEADER)this.syncing={state:xr.RESOLVED,promise:Promise.resolve()};else{let n,o,i=new Promise((a,l)=>{n=()=>{this.syncing.state===xr.PENDING&&(this.syncing.state=xr.RESOLVED,a())},o=d=>{this.syncing.state===xr.PENDING&&(this.syncing.state=xr.REJECTED,l(d))}});this.syncing={state:xr.PENDING,promise:i,resolve:n,reject:o}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=(r==null?void 0:r.channel)??Ye.preparation.channel,this.environment=(r==null?void 0:r.environment)??Ye.preparation.environment,this.channel&&this.environment?(Ye.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):Ye.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,i)=>{t=a=>{o(a)},r=(...a)=>{i(a)}});Ye.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??Ye.Environment.UNKNOWN})}get status(){var t;if(!this.channel||!this.environment)return Ye.Status.UNPREPARED;switch((t=this.syncing)==null?void 0:t.state){case xr.PENDING:case void 0:return Ye.Status.SYNCING;case xr.REJECTED:return Ye.Status.ERROR;case xr.RESOLVED:default:return Ye.Status.READY}}untilReady(){var t;return Promise.all([Ye.preparation.promise,(t=this.syncing)==null?void 0:t.promise])}static create(t){if(!t||typeof(t==null?void 0:t.id)!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(et`[UniversalStore]
  25. create`,{options:t});let r=Pf.get(t.id);if(r)return console.warn(et`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
  26. You should reuse the existing instance instead of trying to create a new one.`),r;Ye.isInternalConstructing=!0;let n=new Ye(t);return Pf.set(t.id,n),n}static __prepare(t,r){Ye.preparation.channel=t,Ye.preparation.environment=r,Ye.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==Ye.Status.READY)throw new TypeError(et`Cannot set state before store is ready. You can get the current status with store.status,
  27. or await store.readyPromise to wait for the store to be ready before sending events.
  28. ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:Ye.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(Ye.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){var n;this.debug("emitToChannel",{event:t,eventInfo:r,channel:!!this.channel}),(n=this.channel)==null||n.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:!!t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===Ye.ActorType.LEADER?this.emitToChannel({type:Ye.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:Ye.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:Ye.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n??[],...o??[]].forEach(i=>i(t,r))}handleChannelEvents(t){var o,i,a,l,d;let{event:r,eventInfo:n}=t;if([n.actor.id,(o=n.forwardingActor)==null?void 0:o.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(((i=this.syncing)==null?void 0:i.state)===xr.PENDING&&r.type!==Ye.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===Ye.ActorType.LEADER){let c=!0;switch(r.type){case Ye.InternalEventType.EXISTING_STATE_REQUEST:c=!1;let p={type:Ye.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:p}),this.emitToChannel(p,{actor:this.actor}),this.emitToListeners(p,{actor:this.actor});break;case Ye.InternalEventType.LEADER_CREATED:c=!1,this.syncing.state=xr.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(et`Detected multiple UniversalStore leaders created with the same id "${this.id}".
  29. Only one leader can exists at a time, your stores are now in an invalid state.
  30. Leaders detected:
  31. this: ${JSON.stringify(this.actor,null,2)}
  32. other: ${JSON.stringify(n.actor,null,2)}`);break}c&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===Ye.ActorType.FOLLOWER)switch(r.type){case Ye.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),((a=this.syncing)==null?void 0:a.state)!==xr.PENDING)break;(d=(l=this.syncing).resolve)==null||d.call(l);let c={type:Ye.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(c,n);break}switch(r.type){case Ye.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(et`[UniversalStore::${this.id}::${this.environment??Ye.Environment.UNKNOWN}]
  33. ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){Ye.preparation.reject(new Error("reset")),Ye.setupPreparationPromise(),Ye.isInternalConstructing=!1}};So.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},So.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},So.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},So.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},So.isInternalConstructing=!1,So.setupPreparationPromise();var Hl=So,$P=e=>e.transports!==void 0,BP=()=>Math.random().toString(16).slice(2),Ks=class{constructor(e={}){this.sender=BP(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,$P(e)?(this.transports=e.transports||[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})}get hasTransport(){return this.transports.length>0}addListener(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}emit(e,...t){let r={type:e,args:t,from:this.sender},n={};t.length>=1&&t[0]&&t[0].options&&(n=t[0].options);let o=()=>{this.transports.forEach(i=>{i.send(r,n)}),this.handleEvent(r)};this.isAsync?setImmediate(o):o()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let t=this.listeners(e);return t?t.length:0}listeners(e){return this.events[e]||void 0}once(e,t){let r=this.onceListener(e,t);this.addListener(e,r)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,t){let r=this.listeners(e);r&&(this.events[e]=r.filter(n=>n!==t))}on(e,t){this.addListener(e,t)}off(e,t){this.removeListener(e,t)}handleEvent(e){let t=this.listeners(e.type);t&&t.length&&t.forEach(r=>{r.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,t){let r=(...n)=>(this.removeListener(e,r),t(...n));return r}},jg={};mr(jg,{deprecate:()=>ud,logger:()=>Et,once:()=>Nt,pretty:()=>Sr});var{LOGLEVEL:FP}=Re,Wn={trace:1,debug:2,info:3,warn:4,error:5,silent:10},VP=FP,Yo=Wn[VP]||Wn.info,Et={trace:(e,...t)=>{Yo<=Wn.trace&&console.trace(e,...t)},debug:(e,...t)=>{Yo<=Wn.debug&&console.debug(e,...t)},info:(e,...t)=>{Yo<=Wn.info&&console.info(e,...t)},warn:(e,...t)=>{Yo<=Wn.warn&&console.warn(e,...t)},error:(e,...t)=>{Yo<=Wn.error&&console.error(e,...t)},log:(e,...t)=>{Yo<Wn.silent&&console.log(e,...t)}},ku=new Set,Nt=e=>(t,...r)=>{if(!ku.has(t))return ku.add(t),Et[e](t,...r)};Nt.clear=()=>ku.clear();Nt.trace=Nt("trace");Nt.debug=Nt("debug");Nt.info=Nt("info");Nt.warn=Nt("warn");Nt.error=Nt("error");Nt.log=Nt("log");var ud=Nt("warn"),Sr=e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,i;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));i=n.exec(t[0]);)r.push(i[2]),r.push("");for(let a=1;a<t.length;a++)r.push(t[a])}Et[e].apply(Et,r)};Sr.trace=Sr("trace");Sr.debug=Sr("debug");Sr.info=Sr("info");Sr.warn=Sr("warn");Sr.error=Sr("error");var UP=Object.create,Mg=Object.defineProperty,JP=Object.getOwnPropertyDescriptor,Lg=Object.getOwnPropertyNames,HP=Object.getPrototypeOf,GP=Object.prototype.hasOwnProperty,Xe=(e,t)=>function(){return t||(0,e[Lg(e)[0]])((t={exports:{}}).exports,t),t.exports},WP=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Lg(t))!GP.call(e,o)&&o!==r&&Mg(e,o,{get:()=>t[o],enumerable:!(n=JP(t,o))||n.enumerable});return e},cd=(e,t,r)=>(r=e!=null?UP(HP(e)):{},WP(!e||!e.__esModule?Mg(r,"default",{value:e,enumerable:!0}):r,e)),zP=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],YP=["detail"];function KP(e){let t=zP.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of YP.filter(n=>e[n]!==void 0))t[r]=e[r];return t}var Dg=Xe({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),XP=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),QP=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),ZP=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),eC=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),tC=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),dd=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),rC=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),nC=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),oC=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),iC=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),aC=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),sC=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),lC=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),uC=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||function(r){return r!==r}}}),cC=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=uC();t.exports=function(n){return r(n)||n===0?n:n<0?-1:1}}}),dC=Xe({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),pd=Xe({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=dC();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),pC=Xe({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}}),kg=Xe({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(var a in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(r,n);if(d.value!==i||d.enumerable!==!0)return!1}return!0}}}),$g=Xe({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=kg();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),Bg=Xe({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),Fg=Xe({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=Dg();t.exports=r.getPrototypeOf||null}}),fC=Xe({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,i="[object Function]",a=function(c,p){for(var f=[],g=0;g<c.length;g+=1)f[g]=c[g];for(var b=0;b<p.length;b+=1)f[b+c.length]=p[b];return f},l=function(c,p){for(var f=[],g=p,b=0;g<c.length;g+=1,b+=1)f[b]=c[g];return f},d=function(c,p){for(var f="",g=0;g<c.length;g+=1)f+=c[g],g+1<c.length&&(f+=p);return f};t.exports=function(c){var p=this;if(typeof p!="function"||n.apply(p)!==i)throw new TypeError(r+p);for(var f=l(arguments,1),g,b=function(){if(this instanceof g){var A=p.apply(this,a(f,arguments));return Object(A)===A?A:this}return p.apply(c,a(f,arguments))},T=o(0,p.length-f.length),w=[],R=0;R<T;R++)w[R]="$"+R;if(g=Function("binder","return function ("+d(w,",")+"){ return binder.apply(this,arguments); }")(b),p.prototype){var _=function(){};_.prototype=p.prototype,g.prototype=new _,_.prototype=null}return g}}}),Xs=Xe({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=fC();t.exports=Function.prototype.bind||r}}),fd=Xe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),Vg=Xe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),hC=Xe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),mC=Xe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=Xs(),n=Vg(),o=fd(),i=hC();t.exports=i||r.call(o,n)}}),Ug=Xe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=Xs(),n=dd(),o=fd(),i=mC();t.exports=function(a){if(a.length<1||typeof a[0]!="function")throw new n("a function is required");return i(r,o,a)}}}),yC=Xe({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=Ug(),n=pd(),o;try{o=[].__proto__===Array.prototype}catch(d){if(!d||typeof d!="object"||!("code"in d)||d.code!=="ERR_PROTO_ACCESS")throw d}var i=!!o&&n&&n(Object.prototype,"__proto__"),a=Object,l=a.getPrototypeOf;t.exports=i&&typeof i.get=="function"?r([i.get]):typeof l=="function"?function(d){return l(d==null?d:a(d))}:!1}}),gC=Xe({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=Bg(),n=Fg(),o=yC();t.exports=r?function(i){return r(i)}:n?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return n(i)}:o?function(i){return o(i)}:null}}),Jg=Xe({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=Xs();t.exports=o.call(r,n)}}),bC=Xe({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=Dg(),o=XP(),i=QP(),a=ZP(),l=eC(),d=tC(),c=dd(),p=rC(),f=nC(),g=oC(),b=iC(),T=aC(),w=sC(),R=lC(),_=cC(),A=Function,L=function(we){try{return A('"use strict"; return ('+we+").constructor;")()}catch{}},D=pd(),k=pC(),h=function(){throw new c},C=D?function(){try{return arguments.callee,h}catch{try{return D(arguments,"callee").get}catch{return h}}}():h,x=$g()(),j=gC(),Z=Fg(),G=Bg(),oe=Vg(),U=fd(),I={},V=typeof Uint8Array>"u"||!j?r:j(Uint8Array),K={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":x&&j?j([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":A,"%GeneratorFunction%":I,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&j?j(j([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!x||!j?r:j(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":D,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!x||!j?r:j(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&j?j(""[Symbol.iterator]()):r,"%Symbol%":x?Symbol:r,"%SyntaxError%":d,"%ThrowTypeError%":C,"%TypedArray%":V,"%TypeError%":c,"%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%":p,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":U,"%Function.prototype.apply%":oe,"%Object.defineProperty%":k,"%Object.getPrototypeOf%":Z,"%Math.abs%":f,"%Math.floor%":g,"%Math.max%":b,"%Math.min%":T,"%Math.pow%":w,"%Math.round%":R,"%Math.sign%":_,"%Reflect.getPrototypeOf%":G};if(j)try{null.error}catch(we){ne=j(j(we)),K["%Error.prototype%"]=ne}var ne,he=function we(Ie){var Oe;if(Ie==="%AsyncFunction%")Oe=L("async function () {}");else if(Ie==="%GeneratorFunction%")Oe=L("function* () {}");else if(Ie==="%AsyncGeneratorFunction%")Oe=L("async function* () {}");else if(Ie==="%AsyncGenerator%"){var qe=we("%AsyncGeneratorFunction%");qe&&(Oe=qe.prototype)}else if(Ie==="%AsyncIteratorPrototype%"){var je=we("%AsyncGenerator%");je&&j&&(Oe=j(je.prototype))}return K[Ie]=Oe,Oe},xe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Pe=Xs(),Ce=Jg(),fe=Pe.call(U,Array.prototype.concat),ue=Pe.call(oe,Array.prototype.splice),Ne=Pe.call(U,String.prototype.replace),_e=Pe.call(U,String.prototype.slice),be=Pe.call(U,RegExp.prototype.exec),Ge=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Be=/\\(\\)?/g,ot=function(we){var Ie=_e(we,0,1),Oe=_e(we,-1);if(Ie==="%"&&Oe!=="%")throw new d("invalid intrinsic syntax, expected closing `%`");if(Oe==="%"&&Ie!=="%")throw new d("invalid intrinsic syntax, expected opening `%`");var qe=[];return Ne(we,Ge,function(je,ve,De,bt){qe[qe.length]=De?Ne(bt,Be,"$1"):ve||je}),qe},Q=function(we,Ie){var Oe=we,qe;if(Ce(xe,Oe)&&(qe=xe[Oe],Oe="%"+qe[0]+"%"),Ce(K,Oe)){var je=K[Oe];if(je===I&&(je=he(Oe)),typeof je>"u"&&!Ie)throw new c("intrinsic "+we+" exists, but is not available. Please file an issue!");return{alias:qe,name:Oe,value:je}}throw new d("intrinsic "+we+" does not exist!")};t.exports=function(we,Ie){if(typeof we!="string"||we.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ie!="boolean")throw new c('"allowMissing" argument must be a boolean');if(be(/^%?[^%]*%?$/,we)===null)throw new d("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Oe=ot(we),qe=Oe.length>0?Oe[0]:"",je=Q("%"+qe+"%",Ie),ve=je.name,De=je.value,bt=!1,Kt=je.alias;Kt&&(qe=Kt[0],ue(Oe,fe([0,1],Kt)));for(var Ht=1,Gt=!0;Ht<Oe.length;Ht+=1){var jt=Oe[Ht],Zt=_e(jt,0,1),At=_e(jt,-1);if((Zt==='"'||Zt==="'"||Zt==="`"||At==='"'||At==="'"||At==="`")&&Zt!==At)throw new d("property names with quotes must have matching quotes");if((jt==="constructor"||!Gt)&&(bt=!0),qe+="."+jt,ve="%"+qe+"%",Ce(K,ve))De=K[ve];else if(De!=null){if(!(jt in De)){if(!Ie)throw new c("base intrinsic for "+we+" exists, but the property is not available.");return}if(D&&Ht+1>=Oe.length){var Wt=D(De,jt);Gt=!!Wt,Gt&&"get"in Wt&&!("originalValue"in Wt.get)?De=Wt.get:De=De[jt]}else Gt=Ce(De,jt),De=De[jt];Gt&&!bt&&(K[ve]=De)}}return De}}}),hd=Xe({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=bC(),n=Ug(),o=n([r("%String.prototype.indexOf%")]);t.exports=function(i,a){var l=r(i,!!a);return typeof l=="function"&&o(i,".prototype.")>-1?n([l]):l}}}),vC=Xe({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=kg();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),Hg=Xe({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=hd(),n=vC()(),o=Jg(),i=pd(),a;n?(l=r("RegExp.prototype.exec"),d={},c=function(){throw d},p={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(p[Symbol.toPrimitive]=c),a=function(b){if(!b||typeof b!="object")return!1;var T=i(b,"lastIndex"),w=T&&o(T,"value");if(!w)return!1;try{l(b,p)}catch(R){return R===d}}):(f=r("Object.prototype.toString"),g="[object RegExp]",a=function(b){return!b||typeof b!="object"&&typeof b!="function"?!1:f(b)===g});var l,d,c,p,f,g;t.exports=a}}),EC=Xe({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var i=r.call(o);return i==="[object Function]"||typeof o=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),TC=Xe({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=hd(),n=Hg(),o=r("RegExp.prototype.exec"),i=dd();t.exports=function(a){if(!n(a))throw new i("`regex` must be a RegExp");return function(l){return o(a,l)!==null}}}}),wC=Xe({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=hd(),n=r("Object.prototype.toString"),o=$g()(),i=TC();o?(a=r("Symbol.prototype.toString"),l=i(/^Symbol\(.*\)$/),d=function(c){return typeof c.valueOf()!="symbol"?!1:l(a(c))},t.exports=function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||n(c)!=="[object Symbol]")return!1;try{return d(c)}catch{return!1}}):t.exports=function(c){return!1};var a,l,d}}),_C=cd(Hg()),SC=cd(EC()),RC=cd(wC());function OC(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var AC=typeof global=="object"&&global&&global.Object===Object&&global,PC=AC,CC=typeof self=="object"&&self&&self.Object===Object&&self,xC=PC||CC||Function("return this")(),md=xC,NC=md.Symbol,ai=NC,Gg=Object.prototype,IC=Gg.hasOwnProperty,qC=Gg.toString,Li=ai?ai.toStringTag:void 0;function jC(e){var t=IC.call(e,Li),r=e[Li];try{e[Li]=void 0;var n=!0}catch{}var o=qC.call(e);return n&&(t?e[Li]=r:delete e[Li]),o}var MC=jC,LC=Object.prototype,DC=LC.toString;function kC(e){return DC.call(e)}var $C=kC,BC="[object Null]",FC="[object Undefined]",Cf=ai?ai.toStringTag:void 0;function VC(e){return e==null?e===void 0?FC:BC:Cf&&Cf in Object(e)?MC(e):$C(e)}var Wg=VC;function UC(e){return e!=null&&typeof e=="object"}var JC=UC,HC="[object Symbol]";function GC(e){return typeof e=="symbol"||JC(e)&&Wg(e)==HC}var yd=GC;function WC(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var zC=WC,YC=Array.isArray,gd=YC,xf=ai?ai.prototype:void 0,Nf=xf?xf.toString:void 0;function zg(e){if(typeof e=="string")return e;if(gd(e))return zC(e,zg)+"";if(yd(e))return Nf?Nf.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var KC=zg;function XC(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Yg=XC,QC="[object AsyncFunction]",ZC="[object Function]",ex="[object GeneratorFunction]",tx="[object Proxy]";function rx(e){if(!Yg(e))return!1;var t=Wg(e);return t==ZC||t==ex||t==QC||t==tx}var nx=rx,ox=md["__core-js_shared__"],Gl=ox,If=function(){var e=/[^.]+$/.exec(Gl&&Gl.keys&&Gl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function ix(e){return!!If&&If in e}var ax=ix,sx=Function.prototype,lx=sx.toString;function ux(e){if(e!=null){try{return lx.call(e)}catch{}try{return e+""}catch{}}return""}var cx=ux,dx=/[\\^$.*+?()[\]{}|]/g,px=/^\[object .+?Constructor\]$/,fx=Function.prototype,hx=Object.prototype,mx=fx.toString,yx=hx.hasOwnProperty,gx=RegExp("^"+mx.call(yx).replace(dx,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function bx(e){if(!Yg(e)||ax(e))return!1;var t=nx(e)?gx:px;return t.test(cx(e))}var vx=bx;function Ex(e,t){return e==null?void 0:e[t]}var Tx=Ex;function wx(e,t){var r=Tx(e,t);return vx(r)?r:void 0}var Kg=wx;function _x(e,t){return e===t||e!==e&&t!==t}var Sx=_x,Rx=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ox=/^\w*$/;function Ax(e,t){if(gd(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||yd(e)?!0:Ox.test(e)||!Rx.test(e)||t!=null&&e in Object(t)}var Px=Ax,Cx=Kg(Object,"create"),oa=Cx;function xx(){this.__data__=oa?oa(null):{},this.size=0}var Nx=xx;function Ix(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var qx=Ix,jx="__lodash_hash_undefined__",Mx=Object.prototype,Lx=Mx.hasOwnProperty;function Dx(e){var t=this.__data__;if(oa){var r=t[e];return r===jx?void 0:r}return Lx.call(t,e)?t[e]:void 0}var kx=Dx,$x=Object.prototype,Bx=$x.hasOwnProperty;function Fx(e){var t=this.__data__;return oa?t[e]!==void 0:Bx.call(t,e)}var Vx=Fx,Ux="__lodash_hash_undefined__";function Jx(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=oa&&t===void 0?Ux:t,this}var Hx=Jx;function Ti(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ti.prototype.clear=Nx;Ti.prototype.delete=qx;Ti.prototype.get=kx;Ti.prototype.has=Vx;Ti.prototype.set=Hx;var qf=Ti;function Gx(){this.__data__=[],this.size=0}var Wx=Gx;function zx(e,t){for(var r=e.length;r--;)if(Sx(e[r][0],t))return r;return-1}var Qs=zx,Yx=Array.prototype,Kx=Yx.splice;function Xx(e){var t=this.__data__,r=Qs(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Kx.call(t,r,1),--this.size,!0}var Qx=Xx;function Zx(e){var t=this.__data__,r=Qs(t,e);return r<0?void 0:t[r][1]}var eN=Zx;function tN(e){return Qs(this.__data__,e)>-1}var rN=tN;function nN(e,t){var r=this.__data__,n=Qs(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var oN=nN;function wi(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}wi.prototype.clear=Wx;wi.prototype.delete=Qx;wi.prototype.get=eN;wi.prototype.has=rN;wi.prototype.set=oN;var iN=wi,aN=Kg(md,"Map"),sN=aN;function lN(){this.size=0,this.__data__={hash:new qf,map:new(sN||iN),string:new qf}}var uN=lN;function cN(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var dN=cN;function pN(e,t){var r=e.__data__;return dN(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Zs=pN;function fN(e){var t=Zs(this,e).delete(e);return this.size-=t?1:0,t}var hN=fN;function mN(e){return Zs(this,e).get(e)}var yN=mN;function gN(e){return Zs(this,e).has(e)}var bN=gN;function vN(e,t){var r=Zs(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var EN=vN;function _i(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}_i.prototype.clear=uN;_i.prototype.delete=hN;_i.prototype.get=yN;_i.prototype.has=bN;_i.prototype.set=EN;var Xg=_i,TN="Expected a function";function bd(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(TN);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(bd.Cache||Xg),r}bd.Cache=Xg;var wN=bd,_N=500;function SN(e){var t=wN(e,function(n){return r.size===_N&&r.clear(),n}),r=t.cache;return t}var RN=SN,ON=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,AN=/\\(\\)?/g,PN=RN(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(ON,function(r,n,o,i){t.push(o?i.replace(AN,"$1"):n||r)}),t}),CN=PN;function xN(e){return e==null?"":KC(e)}var NN=xN;function IN(e,t){return gd(e)?e:Px(e,t)?[e]:CN(NN(e))}var qN=IN;function jN(e){if(typeof e=="string"||yd(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var MN=jN;function LN(e,t){t=qN(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[MN(t[r++])];return r&&r==n?e:void 0}var DN=LN;function kN(e,t,r){var n=e==null?void 0:DN(e,t);return n===void 0?r:n}var $N=kN,vd=OC,BN=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Ed=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function Qg(e){if(!vd(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=KP(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}var FN=function(e){let t,r,n,o;return function(i,a){var l;try{if(i==="")return o=[],t=new Map([[a,"[]"]]),r=new Map,n=[],a;let d=r.get(this)||this;for(;n.length&&d!==n[0];)n.shift(),o.pop();if(typeof a=="boolean")return a;if(a===void 0)return e.allowUndefined?"_undefined_":void 0;if(a===null)return null;if(typeof a=="number")return a===Number.NEGATIVE_INFINITY?"_-Infinity_":a===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(a)?"_NaN_":a;if(typeof a=="bigint")return`_bigint_${a.toString()}`;if(typeof a=="string")return BN.test(a)?e.allowDate?`_date_${a}`:void 0:a;if((0,_C.default)(a))return e.allowRegExp?`_regexp_${a.flags}|${a.source}`:void 0;if((0,SC.default)(a))return;if((0,RC.default)(a)){if(!e.allowSymbol)return;let p=Symbol.keyFor(a);return p!==void 0?`_gsymbol_${p}`:`_symbol_${a.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(a)?`[Array(${a.length})]`:"[Object]";if(a===this)return`_duplicate_${JSON.stringify(o)}`;if(a instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...a.cause?{cause:a.cause}:{},...a,name:a.name,message:a.message,stack:a.stack,"_constructor-name_":a.constructor.name}};if((l=a==null?void 0:a.constructor)!=null&&l.name&&a.constructor.name!=="Object"&&!Array.isArray(a)){let p=t.get(a);if(!p){let f={__isClassInstance__:!0,__className__:a.constructor.name,...Object.getOwnPropertyNames(a).reduce((g,b)=>{try{g[b]=a[b]}catch{}return g},{})};return o.push(i),n.unshift(f),t.set(a,JSON.stringify(o)),a!==f&&r.set(a,f),f}return`_duplicate_${p}`}let c=t.get(a);if(!c){let p=Array.isArray(a)?a:Qg(a);return o.push(i),n.unshift(p),t.set(a,JSON.stringify(o)),a!==p&&r.set(a,p),p}return`_duplicate_${c}`}catch{return}}},VN=function(e){let t=[],r;return function(n,o){if(n===""&&(r=o,t.forEach(({target:i,container:a,replacement:l})=>{let d=Ed(l)?JSON.parse(l):l.split(".");d.length===0?a[i]=r:a[i]=$N(r,d)})),n==="_constructor-name_")return o;if(vd(o)&&o.__isConvertedError__){let{message:i,...a}=o.errorProperties,l=new Error(i);return Object.assign(l,a),l}if(typeof o=="string"&&o.startsWith("_regexp_")&&e.allowRegExp){let[,i,a]=o.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(a,i)}return typeof o=="string"&&o.startsWith("_date_")&&e.allowDate?new Date(o.replace("_date_","")):typeof o=="string"&&o.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:o.replace(/^_duplicate_/,"")}),null):typeof o=="string"&&o.startsWith("_symbol_")&&e.allowSymbol?Symbol(o.replace("_symbol_","")):typeof o=="string"&&o.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(o.replace("_gsymbol_","")):typeof o=="string"&&o==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof o=="string"&&o==="_Infinity_"?Number.POSITIVE_INFINITY:typeof o=="string"&&o==="_NaN_"?Number.NaN:typeof o=="string"&&o.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(o.replace("_bigint_","")):o}},Zg={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},eb=(e,t={})=>{let r={...Zg,...t};return JSON.stringify(Qg(e),FN(r),t.space)},UN=()=>{let e=new Map;return function t(r){vd(r)&&Object.entries(r).forEach(([n,o])=>{o==="_undefined_"?r[n]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((n,o)=>{n==="_undefined_"?(e.set(n,!0),r[o]=void 0):e.get(n)||(e.set(n,!0),t(n))})}},tb=(e,t={})=>{let r={...Zg,...t},n=JSON.parse(e,VN(r));return UN()(n),n},JN="Invariant failed";function Rn(e,t){if(!e)throw new Error(JN)}var HN=(e,t)=>{if(e.length===1)return e[0];if(!(e.length===0||!t))return e.find(r=>(r.getAttribute("src")??"").includes(`refId=${encodeURIComponent(t)}`))},GN=(e,t)=>{var o;let r=Array.from(document.querySelectorAll("iframe[data-is-storybook]")).filter(i=>{var d,c;try{return((d=i.contentWindow)==null?void 0:d.location.origin)===e.source.location.origin&&((c=i.contentWindow)==null?void 0:c.location.pathname)===e.source.location.pathname}catch{}try{return i.contentWindow===e.source}catch{}let a=i.getAttribute("src"),l;try{if(!a)return!1;({origin:l}=new URL(a,document.location.toString()))}catch{return!1}return l===e.origin}),n=(o=HN(r,t))==null?void 0:o.getAttribute("src");if(n){let{protocol:i,host:a,pathname:l}=new URL(n,document.location.toString());return`${i}//${a}${l}`}return r.length>1&&Et.error("found multiple candidates for event source"),null},{document:Wl,location:Di}=Re,jf="storybook-channel",WN={maxDepth:25},rb=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof(Re==null?void 0:Re.addEventListener)=="function"&&Re.addEventListener("message",this.handleEvent.bind(this),!1),e.page!=="manager"&&e.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${e.page}"`)}setHandler(e){this.handler=(...t)=>{e.apply(this,t),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(e,t){let{target:r,allowRegExp:n,allowSymbol:o,allowDate:i,allowError:a,allowUndefined:l,maxDepth:d,space:c}=t||{},p=Object.fromEntries(Object.entries({allowRegExp:n,allowSymbol:o,allowDate:i,allowError:a,allowUndefined:l,maxDepth:d,space:c}).filter(([w,R])=>typeof R<"u")),f={...WN,...Re.CHANNEL_OPTIONS||{},...p},g=this.getFrames(r),b=new URLSearchParams((Di==null?void 0:Di.search)||""),T=eb({key:jf,event:e,refId:b.get("refId")},f);return g.length?(this.buffer.length&&this.flush(),g.forEach(w=>{try{w.postMessage(T,"*")}catch{Et.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((w,R)=>{this.buffer.push({event:e,resolve:w,reject:R})})}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>{this.send(t.event).then(t.resolve).catch(t.reject)})}getFrames(e){if(this.config.page==="manager"){let t=Array.from(Wl.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(r=>{try{return r.contentWindow&&r.dataset.isStorybook!==void 0&&r.id===e?[r.contentWindow]:[]}catch{return[]}});return t!=null&&t.length?t:this.getCurrentFrames()}return Re&&Re.parent&&Re.parent!==Re.self?[Re.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Wl.querySelectorAll('[data-is-storybook="true"]')).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):Re&&Re.parent?[Re.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Wl.querySelectorAll("#storybook-preview-iframe")).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):Re&&Re.parent?[Re.parent]:[]}handleEvent(e){try{let{data:t}=e,{key:r,event:n,refId:o}=typeof t=="string"&&Ed(t)?tb(t,Re.CHANNEL_OPTIONS||{}):t;if(r===jf){let i=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',a=Object.values(td).includes(n.type)?`<span style="color: #FF4785">${n.type}</span>`:`<span style="color: #FFAE00">${n.type}</span>`;if(o&&(n.refId=o),n.source=this.config.page==="preview"?e.origin:GN(e,o),!n.source){Sr.error(`${i} received ${a} but was unable to determine the source of the event`);return}let l=`${i} received ${a} (${t.length})`;Sr.debug(Di.origin!==n.source?l:`${l} <span style="color: gray">(on ${Di.origin} from ${n.source})</span>`,...n.args),Rn(this.handler,"ChannelHandler should be set"),this.handler(n)}}catch(t){Et.error(t)}}},{WebSocket:zN}=Re,nb=15e3,ob=5e3,ib=class{constructor({url:e,onError:t,page:r}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new zN(e),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:n})=>{let o=typeof n=="string"&&Ed(n)?tb(n):n;Rn(this.handler),this.handler(o),o.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=n=>{t&&t(n)},this.socket.onclose=n=>{Rn(this.handler),this.handler({type:ug,args:[{reason:n.reason,code:n.code}],from:r||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},nb+ob)}setHandler(e){this.handler=e}send(e){this.isClosed||(this.isReady?this.sendNow(e):this.sendLater(e))}sendLater(e){this.buffer.push(e)}sendNow(e){let t=eb(e,{maxDepth:15,...Re.CHANNEL_OPTIONS});this.socket.send(t)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>this.send(t))}},{CHANNEL_OPTIONS:YN,CONFIG_TYPE:KN}=Re,XN=Ks;function QN({page:e,extraTransports:t=[]}){let r=[new rb({page:e}),...t];if(KN==="DEVELOPMENT"){let o=window.location.protocol==="http:"?"ws":"wss",{hostname:i,port:a}=window.location,{wsToken:l}=YN||{},d=`${o}://${i}:${a}/storybook-server-channel?token=${l}`;r.push(new ib({url:d,onError:()=>{},page:e}))}let n=new Ks({transports:r});return Hl.__prepare(n,e==="manager"?Hl.Environment.MANAGER:Hl.Environment.PREVIEW),n}var ab={};mr(ab,{CalledExtractOnStoreError:()=>db,CalledPreviewMethodBeforeInitializationError:()=>Tr,Category:()=>lb,ElementA11yParameterError:()=>iI,EmptyIndexError:()=>mb,ImplicitActionsDuringRendering:()=>cb,InvalidBlockOfPropError:()=>nI,MdxFileWithNoCsfReferencesError:()=>hb,MissingRenderToCanvasError:()=>pb,MissingStoryAfterHmrError:()=>ub,MissingStoryFromCsfFileError:()=>gb,MountMustBeDestructuredError:()=>Td,NextJsSharpError:()=>eI,NextjsRouterMocksNotAvailable:()=>tI,NoRenderFunctionError:()=>vb,NoStoryMatchError:()=>yb,NoStoryMountedError:()=>Eb,StatusTypeIdMismatchError:()=>ZN,StoryIndexFetchError:()=>fb,StoryStoreAccessedBeforeInitializationError:()=>bb,UnknownArgTypesError:()=>rI,UnsupportedViewportDimensionError:()=>oI});function Mf({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}function Lf(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set("ref","error"),t.toString()}catch{return e}}var qt=class sb extends Error{constructor(t){super(sb.getFullMessage(t),t.cause===void 0?void 0:{cause:t.cause}),this.data={},this.fromStorybook=!0,this.isHandledError=!1,this.subErrors=[],this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code,this.isHandledError=t.isHandledError??!1,this.name=t.name,this.subErrors=t.subErrors??[]}get fullErrorCode(){return Mf({code:this.code,category:this.category})}get name(){let t=this._name||this.constructor.name;return`${this.fullErrorCode} (${t})`}set name(t){this._name=t}static getFullMessage({documentation:t,code:r,category:n,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${Mf({code:r,category:n})}?ref=error`:typeof t=="string"?i=Lf(t):Array.isArray(t)&&(i=`
  34. ${t.map(a=>` - ${Lf(a)}`).join(`
  35. `)}`),`${o}${i!=null?`
  36. More info: ${i}
  37. `:""}`}},lb=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e.ADDON_A11Y="ADDON_A11Y",e))(lb||{}),ub=class extends qt{constructor(e){super({name:"MissingStoryAfterHmrError",category:"PREVIEW_API",code:1,message:et`
  38. Couldn't find story matching id '${e.storyId}' after HMR.
  39. - Did you just rename a story?
  40. - Did you remove it from your CSF file?
  41. - Are you sure a story with the id '${e.storyId}' exists?
  42. - Please check the values in the stories field of your main.js config and see if they would match your CSF File.
  43. - Also check the browser console and terminal for potential error messages.`}),this.data=e}},cb=class extends qt{constructor(e){super({name:"ImplicitActionsDuringRendering",category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:et`
  44. We detected that you use an implicit action arg while ${e.phase} of your story.
  45. ${e.deprecated?`
  46. This is deprecated and won't work in Storybook 8 anymore.
  47. `:""}
  48. Please provide an explicit spy to your args like this:
  49. import { fn } from 'storybook/test';
  50. ...
  51. args: {
  52. ${e.name}: fn()
  53. }`}),this.data=e}},db=class extends qt{constructor(){super({name:"CalledExtractOnStoreError",category:"PREVIEW_API",code:3,message:et`
  54. Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
  55. You probably meant to call \`await preview.extract()\` which does the above for you.`})}},pb=class extends qt{constructor(){super({name:"MissingRenderToCanvasError",category:"PREVIEW_API",code:4,message:et`
  56. Expected your framework's preset to export a \`renderToCanvas\` field.
  57. Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}},Tr=class extends qt{constructor(e){super({name:"CalledPreviewMethodBeforeInitializationError",category:"PREVIEW_API",code:5,message:et`
  58. Called \`Preview.${e.methodName}()\` before initialization.
  59. The preview needs to load the story index before most methods can be called. If you want
  60. to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first.
  61. If you didn't call the above code, then likely it was called by an addon that needs to
  62. do the above.`}),this.data=e}},fb=class extends qt{constructor(e){super({name:"StoryIndexFetchError",category:"PREVIEW_API",code:6,message:et`
  63. Error fetching \`/index.json\`:
  64. ${e.text}
  65. If you are in development, this likely indicates a problem with your Storybook process,
  66. check the terminal for errors.
  67. If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
  68. build.`}),this.data=e}},hb=class extends qt{constructor(e){super({name:"MdxFileWithNoCsfReferencesError",category:"PREVIEW_API",code:7,message:et`
  69. Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF
  70. references, or autodocs for a CSF file that some doesn't refer to itself.
  71. This likely is an internal error in Storybook's indexing, or you've attached the
  72. \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=e}},mb=class extends qt{constructor(){super({name:"EmptyIndexError",category:"PREVIEW_API",code:8,message:et`
  73. Couldn't find any stories in your Storybook.
  74. - Please check your stories field of your main.js config: does it match correctly?
  75. - Also check the browser console and terminal for error messages.`})}},yb=class extends qt{constructor(e){super({name:"NoStoryMatchError",category:"PREVIEW_API",code:9,message:et`
  76. Couldn't find story matching '${e.storySpecifier}'.
  77. - Are you sure a story with that id exists?
  78. - Please check your stories field of your main.js config.
  79. - Also check the browser console and terminal for error messages.`}),this.data=e}},gb=class extends qt{constructor(e){super({name:"MissingStoryFromCsfFileError",category:"PREVIEW_API",code:10,message:et`
  80. Couldn't find story matching id '${e.storyId}' after importing a CSF file.
  81. The file was indexed as if the story was there, but then after importing the file in the browser
  82. we didn't find the story. Possible reasons:
  83. - You are using a custom story indexer that is misbehaving.
  84. - You have a custom file loader that is removing or renaming exports.
  85. Please check your browser console and terminal for errors that may explain the issue.`}),this.data=e}},bb=class extends qt{constructor(){super({name:"StoryStoreAccessedBeforeInitializationError",category:"PREVIEW_API",code:11,message:et`
  86. Cannot access the Story Store until the index is ready.
  87. It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
  88. remove access to the store entirely`})}},Td=class extends qt{constructor(e){super({name:"MountMustBeDestructuredError",category:"PREVIEW_API",code:12,message:et`
  89. Incorrect use of mount in the play function.
  90. To use mount in the play function, you must satisfy the following two requirements:
  91. 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
  92. This makes sure that Storybook does not start rendering the story before the play function begins.
  93. 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
  94. This is because destructuring statements and async/await usages are otherwise transpiled away,
  95. which prevents Storybook from recognizing your usage of \`mount\`.
  96. Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
  97. More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#run-code-before-the-component-gets-rendered
  98. Received the following play function:
  99. ${e.playFunction}`}),this.data=e}},vb=class extends qt{constructor(e){super({name:"NoRenderFunctionError",category:"PREVIEW_API",code:14,message:et`
  100. No render function available for storyId '${e.id}'
  101. `}),this.data=e}},Eb=class extends qt{constructor(){super({name:"NoStoryMountedError",category:"PREVIEW_API",code:15,message:et`
  102. No component is mounted in your story.
  103. This usually occurs when you destructure mount in the play function, but forget to call it.
  104. For example:
  105. async play({ mount, canvasElement }) {
  106. // 👈 mount should be called: await mount();
  107. const canvas = within(canvasElement);
  108. const button = await canvas.findByRole('button');
  109. await userEvent.click(button);
  110. };
  111. Make sure to either remove it or call mount in your play function.
  112. `})}},ZN=class extends qt{constructor(e){super({name:"StatusTypeIdMismatchError",category:"PREVIEW_API",code:16,message:`Status has typeId "${e.status.typeId}" but was added to store with typeId "${e.typeId}". Full status: ${JSON.stringify(e.status,null,2)}`}),this.data=e}},eI=class extends qt{constructor(){super({name:"NextJsSharpError",category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/frameworks/nextjs#error-you-are-importing-avif-images-but-you-dont-have-sharp-installed-you-have-to-install-sharp-in-order-to-use-image-optimization-features-in-nextjs",message:et`
  113. You are importing avif images, but you don't have sharp installed.
  114. You have to install sharp in order to use image optimization features in Next.js.
  115. `})}},tI=class extends qt{constructor(e){super({name:"NextjsRouterMocksNotAvailable",category:"FRAMEWORK_NEXTJS",code:2,message:et`
  116. Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment.
  117. `}),this.data=e}},rI=class extends qt{constructor(t){super({name:"UnknownArgTypesError",category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:et`
  118. There was a failure when generating detailed ArgTypes in ${t.language} for:
  119. ${JSON.stringify(t.type,null,2)}
  120. Storybook will fall back to use a generic type description instead.
  121. This type is either not supported or it is a bug in the docgen generation in Storybook.
  122. If you think this is a bug, please detail it as much as possible in the Github issue.
  123. `}),this.data=t}},nI=class extends qt{constructor(){super({name:"InvalidBlockOfPropError",category:"BLOCKS",code:1,message:"Unexpected `of={undefined}`, did you mistype a CSF file reference?"})}},oI=class extends qt{constructor(e){super({name:"UnsupportedViewportDimensionError",category:"ADDON_VITEST",code:1,message:et`
  124. Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension.
  125. The Storybook plugin only supports values in the following units:
  126. - px, vh, vw, em, rem and %.
  127. You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
  128. `}),this.data=e}},iI=class extends qt{constructor(){super({name:"ElementA11yParameterError",category:"ADDON_A11Y",code:1,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-parameter",message:'The "element" parameter in parameters.a11y has been removed. Use "context" instead.'})}},Tb={};mr(Tb,{Addon_TypesEnum:()=>wb,CHANGE_DETECTION_STATUS_TYPE_ID:()=>aI,CoreWebpackCompiler:()=>Rb,Feature:()=>Ab,SupportedBuilder:()=>Ob,SupportedFramework:()=>_b,SupportedLanguage:()=>Pb,SupportedRenderer:()=>Sb});var wb=(e=>(e.TAB="tab",e.PANEL="panel",e.TOOL="tool",e.TOOLEXTRA="toolextra",e.PREVIEW="preview",e.experimental_PAGE="page",e.experimental_TEST_PROVIDER="test-provider",e))(wb||{}),_b=(e=>(e.ANGULAR="angular",e.EMBER="ember",e.HTML_VITE="html-vite",e.NEXTJS="nextjs",e.NEXTJS_VITE="nextjs-vite",e.PREACT_VITE="preact-vite",e.REACT_NATIVE_WEB_VITE="react-native-web-vite",e.REACT_VITE="react-vite",e.REACT_WEBPACK5="react-webpack5",e.SERVER_WEBPACK5="server-webpack5",e.SVELTE_VITE="svelte-vite",e.SVELTEKIT="sveltekit",e.TANSTACK_REACT="tanstack-react",e.VUE3_VITE="vue3-vite",e.WEB_COMPONENTS_VITE="web-components-vite",e.HTML_RSBUILD="html-rsbuild",e.NUXT="nuxt",e.QWIK="qwik",e.REACT_RSBUILD="react-rsbuild",e.SOLID="solid",e.VUE3_RSBUILD="vue3-rsbuild",e.WEB_COMPONENTS_RSBUILD="web-components-rsbuild",e))(_b||{}),Sb=(e=>(e.REACT="react",e.REACT_NATIVE="react-native",e.VUE3="vue3",e.ANGULAR="angular",e.EMBER="ember",e.PREACT="preact",e.SVELTE="svelte",e.QWIK="qwik",e.HTML="html",e.WEB_COMPONENTS="web-components",e.SERVER="server",e.SOLID="solid",e.NUXT="nuxt",e))(Sb||{});It(Yc(),1);var aI="storybook/change-detection",Rb=(e=>(e.Babel="babel",e.SWC="swc",e))(Rb||{}),Ob=(e=>(e.WEBPACK5="webpack5",e.VITE="vite",e.RSBUILD="rsbuild",e))(Ob||{}),Ab=(e=>(e.DOCS="docs",e.TEST="test",e.ONBOARDING="onboarding",e.A11Y="a11y",e.AI="ai",e))(Ab||{}),Pb=(e=>(e.JAVASCRIPT="javascript",e.TYPESCRIPT="typescript",e))(Pb||{}),Cb={};mr(Cb,{ADDON_ID:()=>el,CLEAR_ID:()=>uI,CYCLIC_KEY:()=>cI,EVENT_ID:()=>xb,PANEL_ID:()=>lI,PARAM_KEY:()=>sI,action:()=>Da,actions:()=>UG,config:()=>_a,configureActions:()=>BG});var sI="actions",el="storybook/actions",lI=`${el}/panel`,xb=`${el}/action-event`,uI=`${el}/action-clear`,cI="$___storybook.isCyclic",$u={};mr($u,{DocsContext:()=>Xp,HooksContext:()=>wd,Preview:()=>yS,PreviewWeb:()=>xG,PreviewWithSelection:()=>gS,ReporterAPI:()=>Kp,StoryStore:()=>hS,Tag:()=>tn,UrlStore:()=>wS,WebView:()=>SS,addons:()=>fr,applyHooks:()=>Ib,combineArgs:()=>Js,combineParameters:()=>ko,composeConfigs:()=>vi,composeStepRunners:()=>uS,composeStories:()=>oG,composeStory:()=>fS,createPlaywrightTest:()=>iG,decorateStory:()=>tS,defaultDecorateStory:()=>nS,emitTransformCode:()=>$G,filterArgTypes:()=>lS,getCsfFactoryAnnotations:()=>pS,inferControls:()=>Wp,makeDecorator:()=>SI,mockChannel:()=>Nb,normalizeArrays:()=>gt,normalizeProjectAnnotations:()=>Gs,normalizeStory:()=>ta,pauseAnimations:()=>zp,prepareMeta:()=>oS,prepareStory:()=>Gp,sanitizeStoryContextUpdate:()=>rS,setDefaultProjectAnnotations:()=>QH,setProjectAnnotations:()=>rG,simulateDOMContentLoaded:()=>Uc,simulatePageLoad:()=>jG,sortStoriesV7:()=>fG,useArgs:()=>wI,useCallback:()=>ia,useChannel:()=>EI,useEffect:()=>qo,useGlobals:()=>_I,useMemo:()=>jb,useParameter:()=>TI,useReducer:()=>vI,useRef:()=>yI,useState:()=>bI,useStoryContext:()=>rl,userOrAutoTitle:()=>cG,userOrAutoTitleFromSpecifier:()=>mS,waitForAnimations:()=>Yp});function Nb(){let e={setHandler:()=>{},send:()=>{}};return new Ks({transport:e})}var dI=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=Nb();return this.setChannel(e),e}return this.channel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.setChannel=e=>{this.channel=e,this.resolve()},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},zl="__STORYBOOK_ADDONS_PREVIEW";function pI(){return Re[zl]||(Re[zl]=new dI),Re[zl]}var fr=pI(),wd=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=e=>{var t;e===((t=this.currentContext)==null?void 0:t.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),fr.getChannel().on(ws,this.renderListener)}removeRenderListeners(){fr.getChannel().removeListener(ws,this.renderListener)}};function Df(e){let t=(...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,i=n.currentHooks,a=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let d=Re.STORYBOOK_HOOKS_CONTEXT;Re.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(Re.STORYBOOK_HOOKS_CONTEXT=d,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=i,n.nextHookIndex=a,n.currentDecoratorName=l,c};return t.originalFn=e,t}var Yl=0,fI=25,Ib=e=>(t,r)=>{let n=e(Df(t),r.map(o=>Df(o)));return o=>{let{hooks:i}=o;i.prevMountedDecorators??(i.prevMountedDecorators=new Set),i.mountedDecorators=new Set([t,...r]),i.currentContext=o,i.hasUpdates=!1;let a=n(o);for(Yl=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],a=n(o),Yl+=1,Yl>fI)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),a}},hI=(e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),_d=()=>new Error(`Storybook preview hooks can only be called inside decorators and story functions.
  129. When combining Storybook hooks (e.g. useArgs) with framework hooks (e.g. React's useState, useEffect, useRef) in the same render function, use Storybook's equivalents from 'storybook/preview-api' instead: useState, useEffect, useRef, useMemo, useCallback, useReducer.`);function qb(){return Re.STORYBOOK_HOOKS_CONTEXT||null}function Sd(){let e=qb();if(e==null)throw _d();return e}function mI(e,t,r){let n=Sd();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&Et.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&Et.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&Et.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&Et.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
  130. Previous: ${o.deps}
  131. Incoming: ${r}`),(r==null||o.deps==null||!hI(r,o.deps))&&(t(o),o.deps=r),o}throw _d()}function tl(e,t,r){let{memoizedState:n}=mI(e,o=>{o.memoizedState=t()},r);return n}function jb(e,t){return tl("useMemo",e,t)}function ia(e,t){return tl("useCallback",()=>e,t)}function Mb(e,t){return tl(e,()=>({current:t}),[])}function yI(e){return Mb("useRef",e)}function gI(){let e=qb();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{fr.getChannel().emit(od)}catch{Et.warn("State updates of Storybook preview hooks work only in browser")}}function Lb(e,t){let r=Mb(e,typeof t=="function"?t():t),n=o=>{r.current=typeof o=="function"?o(r.current):o,gI()};return[r.current,n]}function bI(e){return Lb("useState",e)}function vI(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=Lb("useReducer",n);return[o,a=>i(l=>e(l,a))]}function qo(e,t){let r=Sd(),n=tl("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}function EI(e,t=[]){let r=fr.getChannel();return qo(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),ia(r.emit.bind(r),[r])}function rl(){let{currentContext:e}=Sd();if(e==null)throw _d();return e}function TI(e,t){let{parameters:r}=rl();if(e)return r[e]??t}function wI(){let e=fr.getChannel(),{id:t,args:r}=rl(),n=ia(i=>e.emit(ld,{storyId:t,updatedArgs:i}),[e,t]),o=ia(i=>e.emit(id,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}function _I(){let e=fr.getChannel(),{globals:t}=rl(),r=ia(n=>e.emit(sd,{globals:n}),[e]);return[t,r]}var SI=({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=i=>(a,l)=>{let d=l.parameters&&l.parameters[t];return d&&d.disable||n&&!i&&!d?a(l):r(a,l,{options:i,parameters:d})};return(...i)=>typeof i[0]=="function"?o()(...i):(...a)=>{if(a.length>1)return i.length>1?o(i)(...a):o(...i)(...a);throw new Error(`Passing stories directly into ${e}() is not allowed,
  132. instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}};function RI(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,o)=>`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}var kf=It(H0(),1),Db=e=>e.map(t=>typeof t<"u").filter(Boolean).length,OI=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if(Db([r,n,o,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,kf.isEqual)(t,n);if(typeof o<"u")return!(0,kf.isEqual)(t,o);if(typeof r<"u"){let a=typeof t<"u";return r?a:!a}return typeof i>"u"||i?!!t:!t},AI=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(Db([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return OI(e.if,i)};function PI(e){return e!=null&&CI(e).includes("mount")}function CI(e){var l;let[,t,r]=e.toString().match(/[^(]*\(([^)]+)\)(?:.*{([^]+)})?/)||[];if(!t)return[];let[n]=Kl(t);if(!n)return[];let[,o]=n.match(/^{([^]+)}$/)||[];if(o)return Kl($f(o)).map(d=>d.replace(/:.*|=.*/g,"").trim());if(!n.match(/^[a-z_$][0-9a-z_$]*$/i))return[];let i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),[,a]=((l=r==null?void 0:r.trim())==null?void 0:l.match(new RegExp(`^(?:const|let|var)\\s*{([^}]+)}\\s*=\\s*${i};`)))||[];return a?Kl($f(a)).map(d=>d.replace(/:.*|=.*/g,"").trim()):[]}function $f(e){return e=e.replace(/\/\/.*$/gm,""),e=e.replace(/\/\*[\s\S]*?\*\//g,""),e}function Kl(e){let t=[],r=[],n=0;for(let i=0;i<e.length;i++)if(e[i]==="{"||e[i]==="[")r.push(e[i]==="{"?"}":"]");else if(e[i]===r[r.length-1])r.pop();else if(!r.length&&e[i]===","){let a=e.substring(n,i).trim();a&&t.push(a),n=i+1}let o=e.substring(n).trim();return o&&t.push(o),t}var tn={AUTODOCS:"autodocs",ATTACHED_MDX:"attached-mdx",UNATTACHED_MDX:"unattached-mdx",PLAY_FN:"play-fn",TEST_FN:"test-fn",DEV:"dev",TEST:"test",MANIFEST:"manifest"},kb={};mr(kb,{argsEnhancers:()=>II});var $b=(e,t)=>typeof t[e]>"u"&&!(e in t),xI=e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:o}}=e;if(!o||o.disable||!o.argTypesRegex||!r)return{};let i=new RegExp(o.argTypesRegex);return Object.entries(r).filter(([a])=>!!i.test(a)).reduce((a,[l,d])=>($b(l,t)&&(a[l]=Da(l,{implicit:!0,id:n})),a),{})},NI=e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([o,i])=>!!i.action).reduce((o,[i,a])=>($b(i,t)&&(o[i]=Da(typeof a.action=="string"?a.action:i)),o),{})},II=[NI,xI],Bb={};mr(Bb,{loaders:()=>FU});var Fb={};mr(Fb,{buildQueries:()=>EV,clearAllMocks:()=>NT,configure:()=>TV,createEvent:()=>wV,expect:()=>kU,findAllByAltText:()=>SV,findAllByDisplayValue:()=>RV,findAllByLabelText:()=>OV,findAllByPlaceholderText:()=>AV,findAllByRole:()=>PV,findAllByTestId:()=>CV,findAllByText:()=>xV,findAllByTitle:()=>NV,findByAltText:()=>IV,findByDisplayValue:()=>qV,findByLabelText:()=>jV,findByPlaceholderText:()=>MV,findByRole:()=>LV,findByTestId:()=>DV,findByText:()=>kV,findByTitle:()=>$V,fireEvent:()=>_V,fn:()=>CT,getAllByAltText:()=>BV,getAllByDisplayValue:()=>FV,getAllByLabelText:()=>VV,getAllByPlaceholderText:()=>UV,getAllByRole:()=>JV,getAllByTestId:()=>HV,getAllByText:()=>GV,getAllByTitle:()=>WV,getByAltText:()=>zV,getByDisplayValue:()=>YV,getByLabelText:()=>KV,getByPlaceholderText:()=>XV,getByRole:()=>QV,getByTestId:()=>ZV,getByText:()=>eU,getByTitle:()=>tU,getConfig:()=>rU,getDefaultNormalizer:()=>nU,getElementError:()=>oU,getNodeText:()=>iU,getQueriesForElement:()=>aU,getRoles:()=>sU,getSuggestedQuery:()=>lU,isInaccessible:()=>uU,isMockFunction:()=>oi,logDOM:()=>cU,logRoles:()=>dU,mocked:()=>WD,mocks:()=>Ia,onMockCall:()=>PT,prettyDOM:()=>pU,prettyFormat:()=>LU,queries:()=>fU,queryAllByAltText:()=>hU,queryAllByAttribute:()=>mU,queryAllByDisplayValue:()=>yU,queryAllByLabelText:()=>gU,queryAllByPlaceholderText:()=>bU,queryAllByRole:()=>vU,queryAllByTestId:()=>EU,queryAllByText:()=>TU,queryAllByTitle:()=>wU,queryByAltText:()=>_U,queryByAttribute:()=>SU,queryByDisplayValue:()=>RU,queryByLabelText:()=>OU,queryByPlaceholderText:()=>AU,queryByRole:()=>PU,queryByTestId:()=>CU,queryByText:()=>xU,queryByTitle:()=>NU,queryHelpers:()=>IU,resetAllMocks:()=>IT,restoreAllMocks:()=>qT,sb:()=>$U,screen:()=>qU,spyOn:()=>GD,uninstrumentedUserEvent:()=>H_,userEvent:()=>DU,waitFor:()=>jU,waitForElementToBeRemoved:()=>MU,within:()=>J_});var qI={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},Vb=Object.entries(qI);function nl(e){return String(e)}nl.open="";nl.close="";Vb.reduce((e,[t])=>(e[t]=nl,e),{isColorSupported:!1});function jI(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function MI(e=!1){let t=jI(e),r=(a,l,d,c)=>{let p="",f=0;do p+=a.substring(f,c)+d,f=c+l.length,c=a.indexOf(l,f);while(~c);return p+a.substring(f)},n=(a,l,d=a)=>{let c=p=>{let f=String(p),g=f.indexOf(l,a.length);return~g?a+r(f,l,d,g)+l:a+f+l};return c.open=a,c.close=l,c},o={isColorSupported:t},i=a=>`\x1B[${a}m`;for(let[a,l]of Vb)o[a]=t?n(i(l[0]),i(l[1]),l[2]):nl;return o}var En=MI();function Ub(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(e)}function LI(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function Ra(e,t,r,n,o,i,a=": "){let l="",d=0,c=e.next();if(!c.done){l+=t.spacingOuter;let p=r+t.indent;for(;!c.done;){if(l+=p,d++===t.maxWidth){l+="…";break}let f=i(c.value[0],t,p,n,o),g=i(c.value[1],t,p,n,o);l+=f+a+g,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function Rd(e,t,r,n,o,i){let a="",l=0,d=e.next();if(!d.done){a+=t.spacingOuter;let c=r+t.indent;for(;!d.done;){if(a+=c,l++===t.maxWidth){a+="…";break}a+=i(d.value,t,c,n,o),d=e.next(),d.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}function _s(e,t,r,n,o,i){let a="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,d=l(e)?e.byteLength:e.length;if(d>0){a+=t.spacingOuter;let c=r+t.indent;for(let p=0;p<d;p++){if(a+=c,p===t.maxWidth){a+="…";break}(l(e)||p in e)&&(a+=i(l(e)?e.getInt8(p):e[p],t,c,n,o)),p<d-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}function Od(e,t,r,n,o,i){let a="",l=LI(e,t.compareKeys);if(l.length>0){a+=t.spacingOuter;let d=r+t.indent;for(let c=0;c<l.length;c++){let p=l[c],f=i(p,t,d,n,o),g=i(e[p],t,d,n,o);a+=`${d+f}: ${g}`,c<l.length-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}var DI=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Xl=" ",kI=(e,t,r,n,o,i)=>{let a=e.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Xl}[${_s(e.sample,t,r,n,o,i)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Xl}{${Od(e.sample,t,r,n,o,i)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+Xl+i(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},$I=e=>e&&e.$$typeof===DI,BI={serialize:kI,test:$I},FI=" ",Jb=new Set(["DOMStringMap","NamedNodeMap"]),VI=/^(?:HTML\w*Collection|NodeList)$/;function UI(e){return Jb.has(e)||VI.test(e)}var JI=e=>e&&e.constructor&&!!e.constructor.name&&UI(e.constructor.name);function HI(e){return e.constructor.name==="NamedNodeMap"}var GI=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?`[${a}]`:(t.min?"":a+FI)+(Jb.has(a)?`{${Od(HI(e)?[...e].reduce((l,d)=>(l[d.name]=d.value,l),{}):{...e},t,r,n,o,i)}}`:`[${_s([...e],t,r,n,o,i)}]`)},WI={serialize:GI,test:JI};function Hb(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function Ad(e,t,r,n,o,i,a){let l=n+r.indent,d=r.colors;return e.map(c=>{let p=t[c],f=a(p,r,l,o,i);return typeof p!="string"&&(f.includes(`
  133. `)&&(f=r.spacingOuter+l+f+r.spacingOuter+n),f=`{${f}}`),`${r.spacingInner+n+d.prop.open+c+d.prop.close}=${d.value.open}${f}${d.value.close}`}).join("")}function Pd(e,t,r,n,o,i){return e.map(a=>t.spacingOuter+r+(typeof a=="string"?Gb(a,t):i(a,t,r,n,o))).join("")}function Gb(e,t){let r=t.colors.content;return r.open+Hb(e)+r.close}function zI(e,t){let r=t.colors.comment;return`${r.open}<!--${Hb(e)}-->${r.close}`}function Cd(e,t,r,n,o){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+o+i.open}${r?`>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function xd(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var YI=1,Wb=3,zb=8,Yb=11,KI=/^(?:(?:HTML|SVG)\w*)?Element$/;function XI(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function QI(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||XI(e);return r===YI&&(KI.test(t)||o)||r===Wb&&t==="Text"||r===zb&&t==="Comment"||r===Yb&&t==="DocumentFragment"}var ZI=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&QI(e)};function e1(e){return e.nodeType===Wb}function t1(e){return e.nodeType===zb}function Ql(e){return e.nodeType===Yb}var r1=(e,t,r,n,o,i)=>{if(e1(e))return Gb(e.data,t);if(t1(e))return zI(e.data,t);let a=Ql(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?xd(a,t):Cd(a,Ad(Ql(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Ql(e)?{}:[...e.attributes].reduce((l,d)=>(l[d.name]=d.value,l),{}),t,r+t.indent,n,o,i),Pd(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},n1={serialize:r1,test:ZI},o1="@@__IMMUTABLE_ITERABLE__@@",i1="@@__IMMUTABLE_LIST__@@",a1="@@__IMMUTABLE_KEYED__@@",s1="@@__IMMUTABLE_MAP__@@",Bf="@@__IMMUTABLE_ORDERED__@@",l1="@@__IMMUTABLE_RECORD__@@",u1="@@__IMMUTABLE_SEQ__@@",c1="@@__IMMUTABLE_SET__@@",d1="@@__IMMUTABLE_STACK__@@",si=e=>`Immutable.${e}`,ol=e=>`[${e}]`,aa=" ",Ff="…";function p1(e,t,r,n,o,i,a){return++n>t.maxDepth?ol(si(a)):`${si(a)+aa}{${Ra(e.entries(),t,r,n,o,i)}}`}function f1(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function h1(e,t,r,n,o,i){let a=si(e._name||"Record");return++n>t.maxDepth?ol(a):`${a+aa}{${Ra(f1(e),t,r,n,o,i)}}`}function m1(e,t,r,n,o,i){let a=si("Seq");return++n>t.maxDepth?ol(a):e[a1]?`${a+aa}{${e._iter||e._object?Ra(e.entries(),t,r,n,o,i):Ff}}`:`${a+aa}[${e._iter||e._array||e._collection||e._iterable?Rd(e.values(),t,r,n,o,i):Ff}]`}function Zl(e,t,r,n,o,i,a){return++n>t.maxDepth?ol(si(a)):`${si(a)+aa}[${Rd(e.values(),t,r,n,o,i)}]`}var y1=(e,t,r,n,o,i)=>e[s1]?p1(e,t,r,n,o,i,e[Bf]?"OrderedMap":"Map"):e[i1]?Zl(e,t,r,n,o,i,"List"):e[c1]?Zl(e,t,r,n,o,i,e[Bf]?"OrderedSet":"Set"):e[d1]?Zl(e,t,r,n,o,i,"Stack"):e[u1]?m1(e,t,r,n,o,i):h1(e,t,r,n,o,i),g1=e=>e&&(e[o1]===!0||e[l1]===!0),b1={serialize:y1,test:g1};function Kb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vf={exports:{}},pt={},Uf;function v1(){if(Uf)return pt;Uf=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");function T(w){if(typeof w=="object"&&w!==null){var R=w.$$typeof;switch(R){case e:switch(w=w.type,w){case r:case o:case n:case d:case c:case g:return w;default:switch(w=w&&w.$$typeof,w){case a:case l:case f:case p:return w;case i:return w;default:return R}}case t:return R}}}return pt.ContextConsumer=i,pt.ContextProvider=a,pt.Element=e,pt.ForwardRef=l,pt.Fragment=r,pt.Lazy=f,pt.Memo=p,pt.Portal=t,pt.Profiler=o,pt.StrictMode=n,pt.Suspense=d,pt.SuspenseList=c,pt.isContextConsumer=function(w){return T(w)===i},pt.isContextProvider=function(w){return T(w)===a},pt.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},pt.isForwardRef=function(w){return T(w)===l},pt.isFragment=function(w){return T(w)===r},pt.isLazy=function(w){return T(w)===f},pt.isMemo=function(w){return T(w)===p},pt.isPortal=function(w){return T(w)===t},pt.isProfiler=function(w){return T(w)===o},pt.isStrictMode=function(w){return T(w)===n},pt.isSuspense=function(w){return T(w)===d},pt.isSuspenseList=function(w){return T(w)===c},pt.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===r||w===o||w===n||w===d||w===c||typeof w=="object"&&w!==null&&(w.$$typeof===f||w.$$typeof===p||w.$$typeof===a||w.$$typeof===i||w.$$typeof===l||w.$$typeof===b||w.getModuleId!==void 0)},pt.typeOf=T,pt}var Jf;function E1(){return Jf||(Jf=1,Vf.exports=v1()),Vf.exports}var Xb=E1(),T1=Kb(Xb),w1=Ub({__proto__:null,default:T1},[Xb]),Hf={exports:{}},ct={},Gf;function _1(){if(Gf)return ct;Gf=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),T;T=Symbol.for("react.module.reference");function w(R){if(typeof R=="object"&&R!==null){var _=R.$$typeof;switch(_){case e:switch(R=R.type,R){case r:case o:case n:case c:case p:return R;default:switch(R=R&&R.$$typeof,R){case l:case a:case d:case g:case f:case i:return R;default:return _}}case t:return _}}}return ct.ContextConsumer=a,ct.ContextProvider=i,ct.Element=e,ct.ForwardRef=d,ct.Fragment=r,ct.Lazy=g,ct.Memo=f,ct.Portal=t,ct.Profiler=o,ct.StrictMode=n,ct.Suspense=c,ct.SuspenseList=p,ct.isAsyncMode=function(){return!1},ct.isConcurrentMode=function(){return!1},ct.isContextConsumer=function(R){return w(R)===a},ct.isContextProvider=function(R){return w(R)===i},ct.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===e},ct.isForwardRef=function(R){return w(R)===d},ct.isFragment=function(R){return w(R)===r},ct.isLazy=function(R){return w(R)===g},ct.isMemo=function(R){return w(R)===f},ct.isPortal=function(R){return w(R)===t},ct.isProfiler=function(R){return w(R)===o},ct.isStrictMode=function(R){return w(R)===n},ct.isSuspense=function(R){return w(R)===c},ct.isSuspenseList=function(R){return w(R)===p},ct.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===r||R===o||R===n||R===c||R===p||R===b||typeof R=="object"&&R!==null&&(R.$$typeof===g||R.$$typeof===f||R.$$typeof===i||R.$$typeof===a||R.$$typeof===d||R.$$typeof===T||R.getModuleId!==void 0)},ct.typeOf=w,ct}var Wf;function S1(){return Wf||(Wf=1,Hf.exports=_1()),Hf.exports}var Qb=S1(),R1=Kb(Qb),O1=Ub({__proto__:null,default:R1},[Qb]),A1=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],Ro=Object.fromEntries(A1.map(e=>[e,t=>O1[e](t)||w1[e](t)]));function Zb(e,t=[]){if(Array.isArray(e))for(let r of e)Zb(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function zf(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ro.isFragment(e))return"React.Fragment";if(Ro.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ro.isContextProvider(e))return"Context.Provider";if(Ro.isContextConsumer(e))return"Context.Consumer";if(Ro.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ro.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function P1(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var C1=(e,t,r,n,o,i)=>++n>t.maxDepth?xd(zf(e),t):Cd(zf(e),Ad(P1(e),e.props,t,r+t.indent,n,o,i),Pd(Zb(e.props.children),t,r+t.indent,n,o,i),t,r),x1=e=>e!=null&&Ro.isElement(e),N1={serialize:C1,test:x1},I1=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function q1(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var j1=(e,t,r,n,o,i)=>++n>t.maxDepth?xd(e.type,t):Cd(e.type,e.props?Ad(q1(e),e.props,t,r+t.indent,n,o,i):"",e.children?Pd(e.children,t,r+t.indent,n,o,i):"",t,r),M1=e=>e&&e.$$typeof===I1,L1={serialize:j1,test:M1},ev=Object.prototype.toString,D1=Date.prototype.toISOString,k1=Error.prototype.toString,Yf=RegExp.prototype.toString;function cs(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function $1(e){return typeof window<"u"&&e===window}var B1=/^Symbol\((.*)\)(.*)$/,F1=/\n/g,tv=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function V1(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function U1(e){return Object.is(e,-0)?"-0":String(e)}function J1(e){return`${e}n`}function Kf(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Xf(e){return String(e).replace(B1,"Symbol($1)")}function Qf(e){return`[${k1.call(e)}]`}function rv(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return U1(e);if(o==="bigint")return J1(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Kf(e,t);if(o==="symbol")return Xf(e);let i=ev.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Kf(e,t):i==="[object Symbol]"?Xf(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":D1.call(e):i==="[object Error]"?Qf(e):i==="[object RegExp]"?r?Yf.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Yf.call(e):e instanceof Error?Qf(e):null}function nv(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let a=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!i)return zn(e.toJSON(),t,r,n,o,!0);let d=ev.call(e);return d==="[object Arguments]"?a?"[Arguments]":`${l?"":"Arguments "}[${_s(e,t,r,n,o,zn)}]`:V1(d)?a?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${_s(e,t,r,n,o,zn)}]`:d==="[object Map]"?a?"[Map]":`Map {${Ra(e.entries(),t,r,n,o,zn," => ")}}`:d==="[object Set]"?a?"[Set]":`Set {${Rd(e.values(),t,r,n,o,zn)}}`:a||$1(e)?`[${cs(e)}]`:`${l||!t.printBasicPrototype&&cs(e)==="Object"?"":`${cs(e)} `}{${Od(e,t,r,n,o,zn)}}`}var H1={test:e=>e&&e instanceof Error,serialize(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o,e];let a=++n>t.maxDepth,{message:l,cause:d,...c}=e,p={message:l,...typeof d<"u"?{cause:d}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},f=e.name!=="Error"?e.name:cs(e);return a?`[${f}]`:`${f} {${Ra(Object.entries(p).values(),t,r,n,o,i)}}`}};function G1(e){return e.serialize!=null}function ov(e,t,r,n,o,i){let a;try{a=G1(e)?e.serialize(t,r,n,o,i,zn):e.print(t,l=>zn(l,r,n,o,i),l=>{let d=n+r.indent;return d+l.replaceAll(F1,`
  134. ${d}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new tv(l.message,l.stack)}if(typeof a!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function iv(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new tv(n.message,n.stack)}return null}function zn(e,t,r,n,o,i){let a=iv(t.plugins,e);if(a!==null)return ov(a,e,t,r,n,o);let l=rv(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:nv(e,t,r,n,o,i)}var Nd={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},av=Object.keys(Nd),Fr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Nd};function W1(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Fr,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function z1(){return av.reduce((e,t)=>{let r=Nd[t],n=r&&En[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function Y1(){return av.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function sv(e){return(e==null?void 0:e.printFunctionName)??Fr.printFunctionName}function lv(e){return(e==null?void 0:e.escapeRegex)??Fr.escapeRegex}function uv(e){return(e==null?void 0:e.escapeString)??Fr.escapeString}function Zf(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Fr.callToJSON,colors:e!=null&&e.highlight?z1():Y1(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Fr.compareKeys,escapeRegex:lv(e),escapeString:uv(e),indent:e!=null&&e.min?"":K1((e==null?void 0:e.indent)??Fr.indent),maxDepth:(e==null?void 0:e.maxDepth)??Fr.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Fr.maxWidth,min:(e==null?void 0:e.min)??Fr.min,plugins:(e==null?void 0:e.plugins)??Fr.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:sv(e),spacingInner:e!=null&&e.min?" ":`
  135. `,spacingOuter:e!=null&&e.min?"":`
  136. `}}function K1(e){return Array.from({length:e+1}).join(" ")}function rn(e,t){if(t&&(W1(t),t.plugins)){let n=iv(t.plugins,e);if(n!==null)return ov(n,e,Zf(t),"",0,[])}let r=rv(e,sv(t),lv(t),uv(t));return r!==null?r:nv(e,Zf(t),"",0,[])}var Id={AsymmetricMatcher:BI,DOMCollection:WI,DOMElement:n1,Immutable:b1,ReactElement:N1,ReactTestComponent:L1,Error:H1},eh={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},X1={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},li="…";function Q1(e,t){let r=eh[X1[t]]||eh[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function Z1({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:l=[],truncate:d=1/0,stylize:c=String}={},p){let f={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(d),seen:l,inspect:p,stylize:c};return f.colors&&(f.stylize=Q1),f}function eq(e){return e>="\uD800"&&e<="\uDBFF"}function io(e,t,r=li){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&eq(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Gr(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,a="",l="",d="";for(let c=0;c<o;c+=1){let p=c+1===e.length,f=c+2===e.length;d=`${li}(${e.length-c})`;let g=e[c];t.truncate=i-a.length-(p?0:n.length);let b=l||r(g,t)+(p?"":n),T=a.length+b.length,w=T+d.length;if(p&&T>i&&a.length+d.length<=i||!p&&!f&&w>i||(l=p?"":r(e[c+1],t)+(f?"":n),!p&&f&&w>i&&T+l.length>i))break;if(a+=b,!p&&!f&&T+l.length>=i){d=`${li}(${e.length-c-1})`;break}d=""}return`${a}${d}`}function tq(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function sa([e,t],r){return r.truncate-=2,typeof e=="string"?e=tq(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function rq(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Gr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Gr(r.map(i=>[i,e[i]]),t,sa)),`[ ${n}${o?`, ${o}`:""} ]`}var nq=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function hn(e,t){let r=nq(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){let l=`${t.stylize(io(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){o+=`${li}(${e.length-e[a]+1})`;break}o+=l}let i="";return n.length&&(i=Gr(n.map(a=>[a,e[a]]),t,sa)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function oq(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${io(n[1],t.truncate-o.length-1)}`,"date")}function th(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${io(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function iq([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function aq(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function sq(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Gr(aq(e),t,iq)} }`)}var lq=Number.isNaN||(e=>e!==e);function rh(e,t){return lq(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(io(String(e),t.truncate),"number")}function nh(e,t){let r=io(e.toString(),t.truncate-1);return r!==li&&(r+="n"),t.stylize(r,"bigint")}function uq(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${io(o,n)}/${r}`,"regexp")}function cq(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function dq(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Gr(cq(e),t)} }`)}var oh=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),pq={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},fq=16;function hq(e){return pq[e]||`\\u${`0000${e.charCodeAt(0).toString(fq)}`.slice(-4)}`}function ih(e,t){return oh.test(e)&&(e=e.replace(oh,hq)),t.stylize(`'${io(e,t.truncate-2)}'`,"string")}function ah(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var cv=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(cv=(n,o)=>{let[i,a]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(a,o)}}`})}catch{}var mq=cv;function ds(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Gr(r.map(l=>[l,e[l]]),t,sa),i=Gr(n.map(l=>[l,e[l]]),t,sa);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}var eu=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function yq(e,t){let r="";return eu&&eu in e&&(r=e[eu]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ds(e,t)}`}function gq(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Gr(e,t)} ]`)}var bq=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function vq(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>bq.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=io(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=Gr(r.map(a=>[a,e[a]]),t,sa);return`${n}${o}${i?` { ${i} }`:""}`}function Eq([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Bu(e,t){return Gr(e,t,Tq,`
  137. `)}function Tq(e,t){switch(e.nodeType){case 1:return dv(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function dv(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Gr(r.map(p=>[p,e.getAttribute(p)]),t,Eq," ")),t.truncate-=l.length;let d=t.truncate,c=Bu(e.children,t);return c&&c.length>d&&(c=`${li}(${e.children.length})`),`${o}${l}${i}${c}${a}`}var wq=typeof Symbol=="function"&&typeof Symbol.for=="function",tu=wq?Symbol.for("chai/inspect"):"@@chai/inspect",ru=Symbol.for("nodejs.util.inspect.custom"),sh=new WeakMap,lh={},uh={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:rh,Number:rh,bigint:nh,BigInt:nh,string:ih,String:ih,function:th,Function:th,symbol:ah,Symbol:ah,Array:rq,Date:oq,Map:sq,Set:dq,RegExp:uq,Promise:mq,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:gq,Int8Array:hn,Uint8Array:hn,Uint8ClampedArray:hn,Int16Array:hn,Uint16Array:hn,Int32Array:hn,Uint32Array:hn,Float32Array:hn,Float64Array:hn,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:vq,HTMLCollection:Bu,NodeList:Bu},_q=(e,t,r)=>tu in e&&typeof e[tu]=="function"?e[tu](t):ru in e&&typeof e[ru]=="function"?e[ru](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&sh.has(e.constructor)?sh.get(e.constructor)(e,t):lh[r]?lh[r](e,t):"",Sq=Object.prototype.toString;function Fu(e,t={}){let r=Z1(t,Fu),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=Sq.call(e).slice(8,-1)),o in uh)return uh[o](e,r);if(n&&e){let a=_q(e,r,o);if(a)return typeof a=="string"?a:Fu(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?ds(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?dv(e,r):"constructor"in e?e.constructor!==Object?yq(e,r):ds(e,r):e===Object(e)?ds(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:Rq,DOMCollection:Oq,DOMElement:Aq,Immutable:Pq,ReactElement:Cq,ReactTestComponent:xq}=Id,ch=[xq,Cq,Aq,Oq,Pq,Rq];function Rr(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=rn(e,{maxDepth:t,escapeString:!1,plugins:ch,...n})}catch{i=rn(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:ch,...n})}return i.length>=o&&t>1?Rr(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):i}var Nq=/%[sdjifoOc%]/g;function Iq(...e){if(typeof e[0]!="string"){let i=[];for(let a=0;a<e.length;a++)i.push(ki(e[a],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(Nq,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:typeof a=="number"&&a===0&&1/a<0?"-0":typeof a=="object"&&a!==null?typeof a.toString=="function"&&a.toString!==Object.prototype.toString?a.toString():ki(a,{depth:0,colors:!1}):String(a)}case"%d":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number(a).toString()}case"%i":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number.parseInt(String(a)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return ki(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ki(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(a){let l=a.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw a}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${ki(i)}`;return o}function ki(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Fu(e,t)}function pv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function mn(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function ps(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function qq(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Ss(e){return Object.prototype.toString.apply(e).slice(8,-1)}function jq(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function fv(e){let t=new Set;return qq(e)?[]:(jq(e,t),Array.from(t))}var hv={forceWritable:!1};function dh(e,t=hv){return Vu(e,new WeakMap,t)}function Vu(e,t,r=hv){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=Vu(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=fv(e);for(let a of i){let l=Object.getOwnPropertyDescriptor(e,a);if(!l)continue;let d=Vu(e[a],t,r);r.forceWritable?Object.defineProperty(o,a,{enumerable:l.enumerable,configurable:!0,writable:!0,value:d}):"get"in l?Object.defineProperty(o,a,{...l,get(){return d}}):Object.defineProperty(o,a,{...l,value:d})}return o}return e}function Mq(){}var rr=-1,Qt=1,xt=0,Ot=class{constructor(e,t){pr(this,0);pr(this,1);this[0]=e,this[1]=t}};function Lq(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function mv(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function ph(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let i=0,a=1;for(;;){let l=e.substring(o-a),d=t.indexOf(l);if(d===-1)return i;a+=d,(d===0||e.substring(o-a)===t.substring(0,a))&&(i=a,a++)}}function Dq(e){let t=!1,r=[],n=0,o=null,i=0,a=0,l=0,d=0,c=0;for(;i<e.length;)e[i][0]===xt?(r[n++]=i,a=d,l=c,d=0,c=0,o=e[i][1]):(e[i][0]===Qt?d+=e[i][1].length:c+=e[i][1].length,o&&o.length<=Math.max(a,l)&&o.length<=Math.max(d,c)&&(e.splice(r[n-1],0,new Ot(rr,o)),e[r[n-1]+1][0]=Qt,n--,n--,i=n>0?r[n-1]:-1,a=0,l=0,d=0,c=0,o=null,t=!0)),i++;for(t&&yv(e),Bq(e),i=1;i<e.length;){if(e[i-1][0]===rr&&e[i][0]===Qt){let p=e[i-1][1],f=e[i][1],g=ph(p,f),b=ph(f,p);g>=b?(g>=p.length/2||g>=f.length/2)&&(e.splice(i,0,new Ot(xt,f.substring(0,g))),e[i-1][1]=p.substring(0,p.length-g),e[i+1][1]=f.substring(g),i++):(b>=p.length/2||b>=f.length/2)&&(e.splice(i,0,new Ot(xt,p.substring(0,b))),e[i-1][0]=Qt,e[i-1][1]=f.substring(0,f.length-b),e[i+1][0]=rr,e[i+1][1]=p.substring(b),i++),i++}i++}}var fh=/[^a-z0-9]/i,hh=/\s/,mh=/[\r\n]/,kq=/\n\r?\n$/,$q=/^\r?\n\r?\n/;function Bq(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===xt&&e[t+1][0]===xt){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],i=mv(r,n);if(i){let p=n.substring(n.length-i);r=r.substring(0,r.length-i),n=p+n.substring(0,n.length-i),o=p+o}let a=r,l=n,d=o,c=za(r,n)+za(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let p=za(r,n)+za(n,o);p>=c&&(c=p,a=r,l=n,d=o)}e[t-1][1]!==a&&(a?e[t-1][1]=a:(e.splice(t-1,1),t--),e[t][1]=l,d?e[t+1][1]=d:(e.splice(t+1,1),t--))}t++}}function yv(e){e.push(new Ot(xt,""));let t=0,r=0,n=0,o="",i="",a;for(;t<e.length;)switch(e[t][0]){case Qt:n++,i+=e[t][1],t++;break;case rr:r++,o+=e[t][1],t++;break;case xt:r+n>1?(r!==0&&n!==0&&(a=Lq(i,o),a!==0&&(t-r-n>0&&e[t-r-n-1][0]===xt?e[t-r-n-1][1]+=i.substring(0,a):(e.splice(0,0,new Ot(xt,i.substring(0,a))),t++),i=i.substring(a),o=o.substring(a)),a=mv(i,o),a!==0&&(e[t][1]=i.substring(i.length-a)+e[t][1],i=i.substring(0,i.length-a),o=o.substring(0,o.length-a))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Ot(rr,o)),t++),i.length&&(e.splice(t,0,new Ot(Qt,i)),t++),t++):t!==0&&e[t-1][0]===xt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===xt&&e[t+1][0]===xt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&yv(e)}function za(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(fh),i=n.match(fh),a=o&&r.match(hh),l=i&&n.match(hh),d=a&&r.match(mh),c=l&&n.match(mh),p=d&&e.match(kq),f=c&&t.match($q);return p||f?5:d||c?4:o&&!a&&l?3:a||l?2:o||i?1:0}var gv="Compared values have no visual difference.",Fq="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Ya={},yh;function Vq(){if(yh)return Ya;yh=1,Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.default=g;let e="diff-sequences",t=0,r=(b,T,w,R,_)=>{let A=0;for(;b<T&&w<R&&_(b,w);)b+=1,w+=1,A+=1;return A},n=(b,T,w,R,_)=>{let A=0;for(;b<=T&&w<=R&&_(T,R);)T-=1,R-=1,A+=1;return A},o=(b,T,w,R,_,A,L)=>{let D=0,k=-b,h=A[D],C=h;A[D]+=r(h+1,T,R+h-k+1,w,_);let x=b<L?b:L;for(D+=1,k+=2;D<=x;D+=1,k+=2){if(D!==b&&C<A[D])h=A[D];else if(h=C+1,T<=h)return D-1;C=A[D],A[D]=h+r(h+1,T,R+h-k+1,w,_)}return L},i=(b,T,w,R,_,A,L)=>{let D=0,k=b,h=A[D],C=h;A[D]-=n(T,h-1,w,R+h-k-1,_);let x=b<L?b:L;for(D+=1,k-=2;D<=x;D+=1,k-=2){if(D!==b&&A[D]<C)h=A[D];else if(h=C-1,h<T)return D-1;C=A[D],A[D]=h-n(T,h-1,w,R+h-k-1,_)}return L},a=(b,T,w,R,_,A,L,D,k,h,C)=>{let x=R-T,j=w-T,Z=_-R-j,G=-Z-(b-1),oe=-Z+(b-1),U=t,I=b<D?b:D;for(let V=0,K=-b;V<=I;V+=1,K+=2){let ne=V===0||V!==b&&U<L[V],he=ne?L[V]:U,xe=ne?he:he+1,Pe=x+xe-K,Ce=r(xe+1,w,Pe+1,_,A),fe=xe+Ce;if(U=L[V],L[V]=fe,G<=K&&K<=oe){let ue=(b-1-(K+Z))/2;if(ue<=h&&k[ue]-1<=fe){let Ne=x+he-(ne?K+1:K-1),_e=n(T,he,R,Ne,A),be=he-_e,Ge=Ne-_e,Be=be+1,ot=Ge+1;C.nChangePreceding=b-1,b-1===Be+ot-T-R?(C.aEndPreceding=T,C.bEndPreceding=R):(C.aEndPreceding=Be,C.bEndPreceding=ot),C.nCommonPreceding=_e,_e!==0&&(C.aCommonPreceding=Be,C.bCommonPreceding=ot),C.nCommonFollowing=Ce,Ce!==0&&(C.aCommonFollowing=xe+1,C.bCommonFollowing=Pe+1);let Q=fe+1,we=Pe+Ce+1;return C.nChangeFollowing=b-1,b-1===w+_-Q-we?(C.aStartFollowing=w,C.bStartFollowing=_):(C.aStartFollowing=Q,C.bStartFollowing=we),!0}}}return!1},l=(b,T,w,R,_,A,L,D,k,h,C)=>{let x=_-w,j=w-T,Z=_-R-j,G=Z-b,oe=Z+b,U=t,I=b<h?b:h;for(let V=0,K=b;V<=I;V+=1,K-=2){let ne=V===0||V!==b&&k[V]<U,he=ne?k[V]:U,xe=ne?he:he-1,Pe=x+xe-K,Ce=n(T,xe-1,R,Pe-1,A),fe=xe-Ce;if(U=k[V],k[V]=fe,G<=K&&K<=oe){let ue=(b+(K-Z))/2;if(ue<=D&&fe-1<=L[ue]){let Ne=Pe-Ce;if(C.nChangePreceding=b,b===fe+Ne-T-R?(C.aEndPreceding=T,C.bEndPreceding=R):(C.aEndPreceding=fe,C.bEndPreceding=Ne),C.nCommonPreceding=Ce,Ce!==0&&(C.aCommonPreceding=fe,C.bCommonPreceding=Ne),C.nChangeFollowing=b-1,b===1)C.nCommonFollowing=0,C.aStartFollowing=w,C.bStartFollowing=_;else{let _e=x+he-(ne?K-1:K+1),be=r(he,w,_e,_,A);C.nCommonFollowing=be,be!==0&&(C.aCommonFollowing=he,C.bCommonFollowing=_e);let Ge=he+be,Be=_e+be;b-1===w+_-Ge-Be?(C.aStartFollowing=w,C.bStartFollowing=_):(C.aStartFollowing=Ge,C.bStartFollowing=Be)}return!0}}}return!1},d=(b,T,w,R,_,A,L,D,k)=>{let h=R-T,C=_-w,x=w-T,j=_-R,Z=j-x,G=x,oe=x;if(L[0]=T-1,D[0]=w,Z%2===0){let U=(b||Z)/2,I=(x+j)/2;for(let V=1;V<=I;V+=1)if(G=o(V,w,_,h,A,L,G),V<U)oe=i(V,T,R,C,A,D,oe);else if(l(V,T,w,R,_,A,L,G,D,oe,k))return}else{let U=((b||Z)+1)/2,I=(x+j+1)/2,V=1;for(G=o(V,w,_,h,A,L,G),V+=1;V<=I;V+=1)if(oe=i(V-1,T,R,C,A,D,oe),V<U)G=o(V,w,_,h,A,L,G);else if(a(V,T,w,R,_,A,L,G,D,oe,k))return}throw new Error(`${e}: no overlap aStart=${T} aEnd=${w} bStart=${R} bEnd=${_}`)},c=(b,T,w,R,_,A,L,D,k,h)=>{if(_-R<w-T){if(A=!A,A&&L.length===1){let{foundSubsequence:ue,isCommon:Ne}=L[0];L[1]={foundSubsequence:(_e,be,Ge)=>{ue(_e,Ge,be)},isCommon:(_e,be)=>Ne(be,_e)}}let Ce=T,fe=w;T=R,w=_,R=Ce,_=fe}let{foundSubsequence:C,isCommon:x}=L[A?1:0];d(b,T,w,R,_,x,D,k,h);let{nChangePreceding:j,aEndPreceding:Z,bEndPreceding:G,nCommonPreceding:oe,aCommonPreceding:U,bCommonPreceding:I,nCommonFollowing:V,aCommonFollowing:K,bCommonFollowing:ne,nChangeFollowing:he,aStartFollowing:xe,bStartFollowing:Pe}=h;T<Z&&R<G&&c(j,T,Z,R,G,A,L,D,k,h),oe!==0&&C(oe,U,I),V!==0&&C(V,K,ne),xe<w&&Pe<_&&c(he,xe,w,Pe,_,A,L,D,k,h)},p=(b,T)=>{if(typeof T!="number")throw new TypeError(`${e}: ${b} typeof ${typeof T} is not a number`);if(!Number.isSafeInteger(T))throw new RangeError(`${e}: ${b} value ${T} is not a safe integer`);if(T<0)throw new RangeError(`${e}: ${b} value ${T} is a negative integer`)},f=(b,T)=>{let w=typeof T;if(w!=="function")throw new TypeError(`${e}: ${b} typeof ${w} is not a function`)};function g(b,T,w,R){p("aLength",b),p("bLength",T),f("isCommon",w),f("foundSubsequence",R);let _=r(0,b,0,T,w);if(_!==0&&R(_,0,0),b!==_||T!==_){let A=_,L=_,D=n(A,b-1,L,T-1,w),k=b-D,h=T-D,C=_+D;b!==C&&T!==C&&c(0,A,k,L,h,!1,[{foundSubsequence:R,isCommon:w}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),D!==0&&R(D,k,h)}}return Ya}var Uq=Vq(),bv=pv(Uq);function Jq(e,t){return e.replace(/\s+$/,r=>t(r))}function qd(e,t,r,n,o,i){return e.length!==0?r(`${n} ${Jq(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function vv(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return qd(e,t,r,n,o,i)}function Ev(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return qd(e,t,r,n,o,i)}function Tv(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return qd(e,t,r,n,o,i)}function gh(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function Hq(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,a=!1,l=0,d=0;for(;d!==r;){let D=d;for(;d!==r&&e[d][0]===xt;)d+=1;if(D!==d)if(D===0)d>n&&(i-=d-n,a=!0);else if(d===r){let k=d-D;k>n&&(i-=k-n,a=!0)}else{let k=d-D;k>o&&(i-=k-o,l+=1)}for(;d!==r&&e[d][0]!==xt;)d+=1}let c=l!==0||a;l!==0?i+=l+1:a&&(i+=1);let p=i-1,f=[],g=0;c&&f.push("");let b=0,T=0,w=0,R=0,_=D=>{let k=f.length;f.push(Tv(D,k===0||k===p,t)),w+=1,R+=1},A=D=>{let k=f.length;f.push(vv(D,k===0||k===p,t)),w+=1},L=D=>{let k=f.length;f.push(Ev(D,k===0||k===p,t)),R+=1};for(d=0;d!==r;){let D=d;for(;d!==r&&e[d][0]===xt;)d+=1;if(D!==d)if(D===0){d>n&&(D=d-n,b=D,T=D,w=b,R=T);for(let k=D;k!==d;k+=1)_(e[k][1])}else if(d===r){let k=d-D>n?D+n:d;for(let h=D;h!==k;h+=1)_(e[h][1])}else{let k=d-D;if(k>o){let h=D+n;for(let x=D;x!==h;x+=1)_(e[x][1]);f[g]=gh(b,w,T,R,t),g=f.length,f.push("");let C=k-o;b=w+C,T=R+C,w=b,R=T;for(let x=d-n;x!==d;x+=1)_(e[x][1])}else for(let h=D;h!==d;h+=1)_(e[h][1])}for(;d!==r&&e[d][0]===rr;)A(e[d][1]),d+=1;for(;d!==r&&e[d][0]===Qt;)L(e[d][1]),d+=1}return c&&(f[g]=gh(b,w,T,R,t)),f.join(`
  138. `)}function Gq(e,t){return e.map((r,n,o)=>{let i=r[1],a=n===0||n===o.length-1;switch(r[0]){case rr:return vv(i,a,t);case Qt:return Ev(i,a,t);default:return Tv(i,a,t)}}).join(`
  139. `)}var nu=e=>e,wv=5,Wq=0;function zq(){return{aAnnotation:"Expected",aColor:En.green,aIndicator:"-",bAnnotation:"Received",bColor:En.red,bIndicator:"+",changeColor:En.inverse,changeLineTrailingSpaceColor:nu,commonColor:En.dim,commonIndicator:" ",commonLineTrailingSpaceColor:nu,compareKeys:void 0,contextLines:wv,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:En.yellow,printBasicPrototype:!1,truncateThreshold:Wq,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:nu}}function Yq(e){return e&&typeof e=="function"?e:void 0}function Kq(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:wv}function $o(e={}){return{...zq(),...e,compareKeys:Yq(e.compareKeys),contextLines:Kq(e.contextLines)}}function Qo(e){return e.length===1&&e[0].length===0}function Xq(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case rr:t+=1;break;case Qt:r+=1;break}}),{a:t,b:r}}function Qq({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:a,omitAnnotationLines:l},d){if(l)return"";let c="",p="";if(a){let b=String(d.a),T=String(d.b),w=n.length-e.length,R=" ".repeat(Math.max(0,w)),_=" ".repeat(Math.max(0,-w)),A=T.length-b.length,L=" ".repeat(Math.max(0,A)),D=" ".repeat(Math.max(0,-A));c=`${R} ${r} ${L}${b}`,p=`${_} ${i} ${D}${T}`}let f=`${r} ${e}${c}`,g=`${i} ${n}${p}`;return`${t(f)}
  140. ${o(g)}
  141. `}function jd(e,t,r){return Qq(r,Xq(e))+(r.expand?Gq(e,r):Hq(e,r))+(t?r.truncateAnnotationColor(`
  142. ${r.truncateAnnotation}`):"")}function il(e,t,r){let n=$o(r),[o,i]=_v(Qo(e)?[]:e,Qo(t)?[]:t,n);return jd(o,i,n)}function Zq(e,t,r,n,o){if(Qo(e)&&Qo(r)&&(e=[],r=[]),Qo(t)&&Qo(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return il(e,t,o);let[i,a]=_v(r,n,o),l=0,d=0;return i.forEach(c=>{switch(c[0]){case rr:c[1]=e[l],l+=1;break;case Qt:c[1]=t[d],d+=1;break;default:c[1]=t[d],l+=1,d+=1}}),jd(i,a,$o(o))}function _v(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),i=n?Math.min(e.length,o):e.length,a=n?Math.min(t.length,o):t.length,l=i!==e.length||a!==t.length,d=(g,b)=>e[g]===t[b],c=[],p=0,f=0;for(bv(i,a,d,(g,b,T)=>{for(;p!==b;p+=1)c.push(new Ot(rr,e[p]));for(;f!==T;f+=1)c.push(new Ot(Qt,t[f]));for(;g!==0;g-=1,p+=1,f+=1)c.push(new Ot(xt,t[f]))});p!==i;p+=1)c.push(new Ot(rr,e[p]));for(;f!==a;f+=1)c.push(new Ot(Qt,t[f]));return[c,l]}function bh(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}function vh(e){return e.includes(`\r
  143. `)?`\r
  144. `:`
  145. `}function ej(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),i=e.length,a=t.length;if(n){let g=e.includes(`
  146. `),b=t.includes(`
  147. `),T=vh(e),w=vh(t),R=g?`${e.split(T,o).join(T)}
  148. `:e,_=b?`${t.split(w,o).join(w)}
  149. `:t;i=R.length,a=_.length}let l=i!==e.length||a!==t.length,d=(g,b)=>e[g]===t[b],c=0,p=0,f=[];return bv(i,a,d,(g,b,T)=>{c!==b&&f.push(new Ot(rr,e.slice(c,b))),p!==T&&f.push(new Ot(Qt,t.slice(p,T))),c=b+g,p=T+g,f.push(new Ot(xt,t.slice(T,p)))}),c!==i&&f.push(new Ot(rr,e.slice(c))),p!==a&&f.push(new Ot(Qt,t.slice(p))),[f,l]}function tj(e,t,r){return t.reduce((n,o)=>n+(o[0]===xt?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var Eh=class{constructor(e,t){pr(this,"op");pr(this,"line");pr(this,"lines");pr(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Ot(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Ot(this.op,tj(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Ot(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
  150. `)){let r=t.split(`
  151. `),n=r.length-1;r.forEach((o,i)=>{i<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},rj=class{constructor(e,t){pr(this,"deleteBuffer");pr(this,"insertBuffer");pr(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
  152. `)){let n=r.split(`
  153. `),o=n.length-1;n.forEach((i,a)=>{if(a===0){let l=new Ot(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else a<o?this.pushDiffCommonLine(new Ot(t,i)):i.length!==0&&this.pushDiffChangeLines(new Ot(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function nj(e,t){let r=new Eh(rr,t),n=new Eh(Qt,t),o=new rj(r,n);return e.forEach(i=>{switch(i[0]){case rr:r.align(i);break;case Qt:n.align(i);break;default:o.align(i)}}),o.getLines()}function oj(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===xt&&(o!==r||n[1]!==`
  154. `))}return e.some(r=>r[0]===xt)}function ij(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
  155. `)||t.includes(`
  156. `),[o,i]=Sv(n?`${e}
  157. `:e,n?`${t}
  158. `:t,!0,r);if(oj(o,n)){let a=$o(r),l=nj(o,a.changeColor);return jd(l,i,a)}}return il(e.split(`
  159. `),t.split(`
  160. `),r)}function Sv(e,t,r,n){let[o,i]=ej(e,t,n);return Dq(o),[o,i]}function Uu(e,t){let{commonColor:r}=$o(t);return r(e)}var{AsymmetricMatcher:aj,DOMCollection:sj,DOMElement:lj,Immutable:uj,ReactElement:cj,ReactTestComponent:dj}=Id,Rv=[dj,cj,lj,sj,uj,aj,Id.Error],Ju={maxDepth:20,plugins:Rv},Ov={callToJSON:!1,maxDepth:8,plugins:Rv};function Si(e,t,r){if(Object.is(e,t))return"";let n=bh(e),o=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==bh(t)){let a=function(L){return L.length<=R?L:`${L.slice(0,R)}...`},{aAnnotation:l,aColor:d,aIndicator:c,bAnnotation:p,bColor:f,bIndicator:g}=$o(r),b=Hu(Ov,r),T=rn(e,b),w=rn(t,b),R=1e5;T=a(T),w=a(w);let _=`${d(`${c} ${l}:`)}
  161. ${T}`,A=`${f(`${g} ${p}:`)}
  162. ${w}`;return`${_}
  163. ${A}`}if(!i)switch(n){case"string":return il(e.split(`
  164. `),t.split(`
  165. `),r);case"boolean":case"number":return pj(e,t,r);case"map":return ou(Th(e),Th(t),r);case"set":return ou(wh(e),wh(t),r);default:return ou(e,t,r)}}function pj(e,t,r){let n=rn(e,Ju),o=rn(t,Ju);return n===o?"":il(n.split(`
  166. `),o.split(`
  167. `),r)}function Th(e){return new Map(Array.from(e.entries()).sort())}function wh(e){return new Set(Array.from(e.values()).sort())}function ou(e,t,r){let n,o=!1;try{let a=Hu(Ju,r);n=_h(e,t,a,r)}catch{o=!0}let i=Uu(gv,r);if(n===void 0||n===i){let a=Hu(Ov,r);n=_h(e,t,a,r),n!==i&&!o&&(n=`${Uu(Fq,r)}
  168. ${n}`)}return n}function Hu(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:o}=$o(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o??e.maxDepth}}function _h(e,t,r,n){let o={...r,indent:0},i=rn(e,o),a=rn(t,o);if(i===a)return Uu(gv,n);{let l=rn(e,r),d=rn(t,r);return Zq(l.split(`
  169. `),d.split(`
  170. `),i.split(`
  171. `),a.split(`
  172. `),n)}}var Sh=2e4;function Rh(e){return Ss(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Oh(e,t){let r=Ss(e),n=Ss(t);return r===n&&(r==="Object"||r==="Array")}function Av(e,t,r){let{aAnnotation:n,bAnnotation:o}=$o(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=Sh&&e.length<=Sh&&t!==e){if(t.includes(`
  173. `)||e.includes(`
  174. `))return ij(t,e,r);let[c]=Sv(t,e),p=c.some(T=>T[0]===xt),f=fj(n,o),g=f(n)+yj(Ah(c,rr,p)),b=f(o)+mj(Ah(c,Qt,p));return`${g}
  175. ${b}`}let i=dh(t,{forceWritable:!0}),a=dh(e,{forceWritable:!0}),{replacedExpected:l,replacedActual:d}=Pv(a,i);return Si(l,d,r)}function Pv(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):Oh(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),fv(t).forEach(o=>{let i=t[o],a=e[o];if(Rh(i))i.asymmetricMatch(a)&&(e[o]=i);else if(Rh(a))a.asymmetricMatch(i)&&(t[o]=a);else if(Oh(a,i)){let l=Pv(a,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function fj(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var hj="·";function Cv(e){return e.replace(/\s+$/gm,t=>hj.repeat(t.length))}function mj(e){return En.red(Cv(Rr(e)))}function yj(e){return En.green(Cv(Rr(e)))}function Ah(e,t,r){return e.reduce((n,o)=>n+(o[0]===xt?o[1]:o[0]===t?r?En.inverse(o[1]):o[1]:""),"")}var gj="@@__IMMUTABLE_RECORD__@@",bj="@@__IMMUTABLE_ITERABLE__@@";function vj(e){return e&&(e[bj]||e[gj])}var Ej=Object.getPrototypeOf({});function Ph(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function Yn(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&Ka(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&Ka(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&Ka(()=>r.name??(r.name=e.name)),e.cause!=null&&Ka(()=>r.cause??(r.cause=Yn(e.cause,t)))),Yn(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(vj(e))return Yn(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${Iq(e.sample)}`;if(typeof e.toJSON=="function")return Yn(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=Yn(n,t)}catch(i){r[o]=Ph(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==Ej;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=Yn(e[o],t)}catch(i){delete r[o],r[o]=Ph(i)}}),n=Object.getPrototypeOf(n);return r}}function Ka(e){try{return e()}catch{}}function Tj(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Md(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Av(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Rr(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Rr(n.actual,10));try{typeof n.message=="string"&&(n.message=Tj(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Md(n.cause,t,r))}catch{}try{return Yn(n)}catch(o){return Yn(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
  176. Inner error message: ${n==null?void 0:n.message}`))}}var yn={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},iu=globalThis.__STORYBOOK_ADDONS_PREVIEW,wj=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Ch=e=>Object.prototype.toString.call(e)==="[object Object]",_j=e=>Object.prototype.toString.call(e)==="[object Module]",Sj=e=>{if(!Ch(e)&&!_j(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Ch(t)},Rj=e=>{try{return new e.constructor}catch{return{}}},au=()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),xh=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},Oj=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=()=>{var l,d;try{this.state=((d=(l=Re.window)==null?void 0:l.parent)==null?void 0:d.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{}}catch{this.detached=!0}},this.updateParentWindowState=()=>{try{Re.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},this.loadParentWindowState();let e=({storyId:l,renderPhase:d,isPlaying:c=!0,isDebugging:p=!1})=>{let f=this.getState(l);this.setState(l,{...au(),...xh(f,p),renderPhase:d||f.renderPhase,shadowCalls:p?f.shadowCalls:[],chainedCallIds:p?f.chainedCallIds:new Set,playUntil:p?f.playUntil:void 0,isPlaying:c,isDebugging:p}),this.sync(l)},t=l=>({storyId:d,playUntil:c})=>{this.getState(d).isDebugging||this.setState(d,({calls:f})=>({calls:[],shadowCalls:f.map(g=>({...g,status:"waiting"})),isDebugging:!0}));let p=this.getLog(d);this.setState(d,({shadowCalls:f})=>{var b;if(c||!p.length)return{playUntil:c};let g=f.findIndex(T=>T.id===p[0].callId);return{playUntil:(b=f.slice(0,g).filter(T=>{var w;return T.interceptable&&!((w=T.ancestors)!=null&&w.length)}).slice(-1)[0])==null?void 0:b.id}}),l.emit(Ts,{storyId:d,isDebugging:!0})},r=l=>({storyId:d})=>{var f;let c=this.getLog(d).filter(g=>{var b;return!((b=g.ancestors)!=null&&b.length)}),p=c.reduceRight((g,b,T)=>g>=0||b.status==="waiting"?g:T,-1);t(l)({storyId:d,playUntil:(f=c[p-1])==null?void 0:f.callId})},n=l=>({storyId:d,callId:c})=>{var w;let{calls:p,shadowCalls:f,resolvers:g}=this.getState(d),b=p.find(({id:R})=>R===c),T=f.find(({id:R})=>R===c);if(!b&&T&&Object.values(g).length>0){let R=(w=this.getLog(d).find(_=>_.status==="waiting"))==null?void 0:w.callId;T.id!==R&&this.setState(d,{playUntil:T.id}),Object.values(g).forEach(_=>_())}else t(l)({storyId:d,playUntil:c})},o=l=>({storyId:d})=>{var p;let{resolvers:c}=this.getState(d);if(Object.values(c).length>0)Object.values(c).forEach(f=>f());else{let f=(p=this.getLog(d).find(g=>g.status==="waiting"))==null?void 0:p.callId;f?t(l)({storyId:d,playUntil:f}):i({storyId:d})}},i=({storyId:l})=>{this.setState(l,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(l).resolvers).forEach(d=>d())},a=({storyId:l,newPhase:d})=>{let{isDebugging:c}=this.getState(l);if(d==="preparing"&&c)return e({storyId:l,renderPhase:d,isDebugging:c});if(d==="playing")return e({storyId:l,renderPhase:d,isDebugging:c});d==="played"?this.setState(l,{renderPhase:d,isLocked:!1,isPlaying:!1,isDebugging:!1}):d==="errored"?this.setState(l,{renderPhase:d,isLocked:!1,isPlaying:!1}):d==="aborted"?this.setState(l,{renderPhase:d,isLocked:!0,isPlaying:!1}):this.setState(l,{renderPhase:d}),this.sync(l)};iu&&iu.ready().then(()=>{this.channel=iu.getChannel(),this.channel.on(Ts,e),this.channel.on(Io,a),this.channel.on(ad,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(yn.START,t(this.channel)),this.channel.on(yn.BACK,r(this.channel)),this.channel.on(yn.GOTO,n(this.channel)),this.channel.on(yn.NEXT,o(this.channel)),this.channel.on(yn.END,i)})}getState(e){return this.state[e]||au()}setState(e,t){if(e){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},this.updateParentWindowState()}}cleanup(){var t;this.state=Object.entries(this.state).reduce((r,[n,o])=>{let i=xh(o);return i&&(r[n]=Object.assign(au(),i)),r},{});let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};(t=this.channel)==null||t.emit(yn.SYNC,e),this.updateParentWindowState()}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((i,a)=>{n[a]=i});let o=new Set;return n.reduceRight((i,a)=>(a.args.forEach(l=>{l!=null&&l.__callId__&&o.add(l.__callId__)}),a.path.forEach(l=>{l.__callId__&&o.add(l.__callId__)}),(a.interceptable||a.exception)&&!o.has(a.id)&&(i.unshift({callId:a.id,status:a.status,ancestors:a.ancestors}),o.add(a.id)),i),[])}instrument(e,t,r=0){if(!Sj(e))return e;let{mutate:n=!1,path:o=[]}=t,i=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,i.reduce((a,l)=>{let d=Aj(e,l);if(typeof(d==null?void 0:d.get)=="function"){if(d.configurable){let p=()=>{var f,g;return(g=(f=d==null?void 0:d.get)==null?void 0:f.bind(e))==null?void 0:g()};Object.defineProperty(a,l,{get:()=>this.instrument(p(),{...t,path:o.concat(l)},r)})}return a}let c=e[l];return typeof c!="function"?(a[l]=this.instrument(c,{...t,path:o.concat(l)},r),a):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(a[l]=c,a):(a[l]=(...p)=>this.track(l,c,e,p,t),a[l].__originalFn__=c,Object.defineProperty(a[l],"name",{value:l,writable:!1}),Object.keys(c).length>0&&Object.assign(a[l],this.instrument({...c},{...t,path:o.concat(l)},r)),a)},n?e:Rj(e))}track(e,t,r,n,o){var w,R,_,A;let i=((w=n==null?void 0:n[0])==null?void 0:w.__storyId__)||((A=(_=(R=Re.__STORYBOOK_PREVIEW__)==null?void 0:R.selectionStore)==null?void 0:_.selection)==null?void 0:A.storyId),{cursor:a,ancestors:l}=this.getState(i);this.setState(i,{cursor:a+1});let d=`${l.slice(-1)[0]||i} [${a}] ${e}`,{path:c=[],intercept:p=!1,retain:f=!1}=o,g=typeof p=="function"?p(e,c):p,b={id:d,cursor:a,storyId:i,ancestors:l,path:c,method:e,args:n,interceptable:g,retain:f},T=(g&&!l.length?this.intercept:this.invoke).call(this,t,r,b,o);return this.instrument(T,{...o,mutate:!0,path:[{__callId__:b.id}]})}intercept(e,t,r,n){let{chainedCallIds:o,isDebugging:i,playUntil:a}=this.getState(r.storyId),l=o.has(r.id);return!i||l||a?(a===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(d=>{this.setState(r.storyId,({resolvers:c})=>({isLocked:!1,resolvers:{...c,[r.id]:d}}))}).then(()=>(this.setState(r.storyId,d=>{let{[r.id]:c,...p}=d.resolvers;return{isLocked:!0,resolvers:p}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:o,renderPhase:i}=this.getState(r.storyId),a=25,l=(p,f,g)=>{var b,T,w;if(g.includes(p))return"[Circular]";if(g=[...g,p],f>a)return"...";if(o.has(p))return o.get(p);if(p instanceof Array)return p.map(R=>l(R,++f,g));if(p instanceof Date)return{__date__:{value:p.toISOString()}};if(p instanceof Error){let{name:R,message:_,stack:A}=p;return{__error__:{name:R,message:_,stack:A}}}if(p instanceof RegExp){let{flags:R,source:_}=p;return{__regexp__:{flags:R,source:_}}}if(p instanceof((b=Re.window)==null?void 0:b.HTMLElement)){let{prefix:R,localName:_,id:A,classList:L,innerText:D}=p,k=Array.from(L);return{__element__:{prefix:R,localName:_,id:A,classNames:k,innerText:D}}}return typeof p=="function"?{__function__:{name:"getMockName"in p?p.getMockName():p.name}}:typeof p=="symbol"?{__symbol__:{description:p.description}}:typeof p=="object"&&((T=p==null?void 0:p.constructor)!=null&&T.name)&&((w=p==null?void 0:p.constructor)==null?void 0:w.name)!=="Object"?{__class__:{name:p.constructor.name}}:Object.prototype.toString.call(p)==="[object Object]"?Object.fromEntries(Object.entries(p).map(([R,_])=>[R,l(_,++f,g)])):p},d={...r,args:r.args.map(p=>l(p,0,[]))};r.path.forEach(p=>{p!=null&&p.__callId__&&this.setState(r.storyId,({chainedCallIds:f})=>({chainedCallIds:new Set(Array.from(f).concat(p.__callId__))}))});let c=p=>{var f;if(p instanceof Error){let{name:g,message:b,stack:T,callId:w=r.id}=p,{showDiff:R=void 0,diff:_=void 0,actual:A=void 0,expected:L=void 0}=p.name==="AssertionError"?Md(p):p,D={name:g,message:b,stack:T,callId:w,showDiff:R,diff:_,actual:A,expected:L};if(this.update({...d,status:"error",exception:D}),this.setState(r.storyId,k=>({callRefsByResult:new Map([...Array.from(k.callRefsByResult.entries()),[p,{__callId__:r.id,retain:r.retain}]])})),(f=r.ancestors)==null?void 0:f.length)throw Object.prototype.hasOwnProperty.call(p,"callId")||Object.defineProperty(p,"callId",{value:r.id}),p}throw p};try{if(i==="played"&&!r.retain)throw wj;let p=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(g=>typeof g!="function"||Pj(g)||Object.keys(g).length?g:(...b)=>{let{cursor:T,ancestors:w}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...w,r.id]});let R=()=>this.setState(r.storyId,{cursor:T,ancestors:w}),_=!1;try{let A=g(...b);return A instanceof Promise?(_=!0,A.finally(R)):A}finally{_||R()}}),f=e.apply(t,p);return f&&["object","function","symbol"].includes(typeof f)&&this.setState(r.storyId,g=>({callRefsByResult:new Map([...Array.from(g.callRefsByResult.entries()),[f,{__callId__:r.id,retain:r.retain}]])})),this.update({...d,status:f instanceof Promise?"active":"done"}),f instanceof Promise?f.then(g=>(this.update({...d,status:"done"}),g),c):f}catch(p){return c(p)}}update(e){var t;(t=this.channel)==null||t.emit(yn.CALL,e),this.setState(e.storyId,({calls:r})=>{let n=r.concat(e).reduce((o,i)=>Object.assign(o,{[i.id]:i}),{});return{calls:Object.values(n).sort((o,i)=>o.id.localeCompare(i.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var c,p,f;let{isLocked:r,isPlaying:n}=this.getState(e),o=this.getLog(e),i=(c=o.filter(({ancestors:g})=>!g.length).find(g=>g.status==="waiting"))==null?void 0:c.callId,a=o.some(g=>g.status==="active");if(this.detached||r||a||o.length===0){let g={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:o};(p=this.channel)==null||p.emit(yn.SYNC,g);return}let l=o.some(g=>g.status==="done"||g.status==="error"),d={controlStates:{detached:this.detached,start:l,back:l,goto:!0,next:n,end:n},logItems:o,pausedAt:i};(f=this.channel)==null||f.emit(yn.SYNC,d)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function Oa(e,t={}){var r,n,o,i,a,l,d,c;try{let p=!1,f=!1;return(o=(n=(r=Re.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&o.includes("instrument=true")?p=!0:(l=(a=(i=Re.window)==null?void 0:i.location)==null?void 0:a.search)!=null&&l.includes("instrument=false")&&(f=!0),((d=Re.window)==null?void 0:d.parent)===Re.window&&!p||f?e:(Re.window&&!Re.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(Re.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new Oj),((c=Re.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(p){return Nt.warn(p),e}}function Aj(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function Pj(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}var xv=Object.defineProperty,ie=(e,t)=>xv(e,"name",{value:t,configurable:!0}),Ld=(e,t)=>{for(var r in t)xv(e,r,{get:t[r],enumerable:!0})},nn={};Ld(nn,{addChainableMethod:()=>zd,addLengthGuard:()=>Ca,addMethod:()=>Hd,addProperty:()=>Jd,checkError:()=>Er,compareByInspect:()=>Ps,eql:()=>nE,expectTypes:()=>Dv,flag:()=>Ke,getActual:()=>sl,getMessage:()=>$d,getName:()=>ul,getOperator:()=>Qd,getOwnEnumerableProperties:()=>Xd,getOwnEnumerablePropertySymbols:()=>Kd,getPathInfo:()=>Ud,hasProperty:()=>ll,inspect:()=>at,isNaN:()=>Cs,isNumeric:()=>Yt,isProxyEnabled:()=>Pa,isRegExp:()=>xs,objDisplay:()=>Po,overwriteChainableMethod:()=>Yd,overwriteMethod:()=>Wd,overwriteProperty:()=>Gd,proxify:()=>Ri,test:()=>Dd,transferFlags:()=>Wr,type:()=>ft});var Er={};Ld(Er,{compatibleConstructor:()=>qv,compatibleInstance:()=>Iv,compatibleMessage:()=>jv,getConstructorName:()=>Mv,getMessage:()=>Lv});function al(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}ie(al,"isErrorInstance");function Nv(e){return Object.prototype.toString.call(e)==="[object RegExp]"}ie(Nv,"isRegExp");function Iv(e,t){return al(t)&&e===t}ie(Iv,"compatibleInstance");function qv(e,t){return al(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}ie(qv,"compatibleConstructor");function jv(e,t){let r=typeof e=="string"?e:e.message;return Nv(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}ie(jv,"compatibleMessage");function Mv(e){let t=e;return al(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}ie(Mv,"getConstructorName");function Lv(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}ie(Lv,"getMessage");function Ke(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}ie(Ke,"flag");function Dd(e,t){let r=Ke(e,"negate"),n=t[0];return r?!n:n}ie(Dd,"test");function ft(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}ie(ft,"type");var Cj="captureStackTrace"in Error,Xa,st=(Xa=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);pr(this,"message");this.message=t,Cj&&Error.captureStackTrace(this,n||Xa);for(let o in r)o in this||(this[o]=r[o])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},ie(Xa,"AssertionError"),Xa);function Dv(e,t){let r=Ke(e,"message"),n=Ke(e,"ssfi");r=r?r+": ":"",e=Ke(e,"object"),t=t.map(function(a){return a.toLowerCase()}),t.sort();let o=t.map(function(a,l){let d=~["a","e","i","o","u"].indexOf(a.charAt(0))?"an":"a";return(t.length>1&&l===t.length-1?"or ":"")+d+" "+a}).join(", "),i=ft(e).toLowerCase();if(!t.some(function(a){return i===a}))throw new st(r+"object tested must be "+o+", but "+i+" given",void 0,n)}ie(Dv,"expectTypes");function sl(e,t){return t.length>4?t[4]:e._obj}ie(sl,"getActual");var Nh={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},xj={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},ui="…";function kv(e,t){let r=Nh[xj[t]]||Nh[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}ie(kv,"colorise");function $v({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:l=[],truncate:d=1/0,stylize:c=String}={},p){let f={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(d),seen:l,inspect:p,stylize:c};return f.colors&&(f.stylize=kv),f}ie($v,"normaliseOptions");function Bv(e){return e>="\uD800"&&e<="\uDBFF"}ie(Bv,"isHighSurrogate");function Pn(e,t,r=ui){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&Bv(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}ie(Pn,"truncate");function Mr(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,a="",l="",d="";for(let c=0;c<o;c+=1){let p=c+1===e.length,f=c+2===e.length;d=`${ui}(${e.length-c})`;let g=e[c];t.truncate=i-a.length-(p?0:n.length);let b=l||r(g,t)+(p?"":n),T=a.length+b.length,w=T+d.length;if(p&&T>i&&a.length+d.length<=i||!p&&!f&&w>i||(l=p?"":r(e[c+1],t)+(f?"":n),!p&&f&&w>i&&T+l.length>i))break;if(a+=b,!p&&!f&&T+l.length>=i){d=`${ui}(${e.length-c-1})`;break}d=""}return`${a}${d}`}ie(Mr,"inspectList");function Fv(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}ie(Fv,"quoteComplexKey");function ci([e,t],r){return r.truncate-=2,typeof e=="string"?e=Fv(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}ie(ci,"inspectProperty");function Vv(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Mr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Mr(r.map(i=>[i,e[i]]),t,ci)),`[ ${n}${o?`, ${o}`:""} ]`}ie(Vv,"inspectArray");var Nj=ie(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function en(e,t){let r=Nj(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){let l=`${t.stylize(Pn(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){o+=`${ui}(${e.length-e[a]+1})`;break}o+=l}let i="";return n.length&&(i=Mr(n.map(a=>[a,e[a]]),t,ci)),`${r}[ ${o}${i?`, ${i}`:""} ]`}ie(en,"inspectTypedArray");function Uv(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Pn(n[1],t.truncate-o.length-1)}`,"date")}ie(Uv,"inspectDate");function Gu(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Pn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}ie(Gu,"inspectFunction");function Jv([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}ie(Jv,"inspectMapEntry");function Hv(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}ie(Hv,"mapToEntries");function Gv(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Mr(Hv(e),t,Jv)} }`)}ie(Gv,"inspectMap");var Ij=Number.isNaN||(e=>e!==e);function Wu(e,t){return Ij(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Pn(String(e),t.truncate),"number")}ie(Wu,"inspectNumber");function zu(e,t){let r=Pn(e.toString(),t.truncate-1);return r!==ui&&(r+="n"),t.stylize(r,"bigint")}ie(zu,"inspectBigInt");function Wv(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Pn(o,n)}/${r}`,"regexp")}ie(Wv,"inspectRegExp");function zv(e){let t=[];return e.forEach(r=>{t.push(r)}),t}ie(zv,"arrayFromSet");function Yv(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Mr(zv(e),t)} }`)}ie(Yv,"inspectSet");var Ih=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),qj={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},jj=16;function Kv(e){return qj[e]||`\\u${`0000${e.charCodeAt(0).toString(jj)}`.slice(-4)}`}ie(Kv,"escape");function Yu(e,t){return Ih.test(e)&&(e=e.replace(Ih,Kv)),t.stylize(`'${Pn(e,t.truncate-2)}'`,"string")}ie(Yu,"inspectString");function Ku(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}ie(Ku,"inspectSymbol");var Mj=ie(()=>"Promise{…}","getPromiseValue"),Lj=Mj;function Yi(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Mr(r.map(l=>[l,e[l]]),t,ci),i=Mr(n.map(l=>[l,e[l]]),t,ci);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}ie(Yi,"inspectObject");var su=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Xv(e,t){let r="";return su&&su in e&&(r=e[su]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Yi(e,t)}`}ie(Xv,"inspectClass");function Qv(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Mr(e,t)} ]`)}ie(Qv,"inspectArguments");var Dj=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Zv(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>Dj.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Pn(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=Mr(r.map(a=>[a,e[a]]),t,ci);return`${n}${o}${i?` { ${i} }`:""}`}ie(Zv,"inspectObject");function eE([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}ie(eE,"inspectAttribute");function Rs(e,t){return Mr(e,t,tE,`
  177. `)}ie(Rs,"inspectNodeCollection");function tE(e,t){switch(e.nodeType){case 1:return kd(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}ie(tE,"inspectNode");function kd(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Mr(r.map(p=>[p,e.getAttribute(p)]),t,eE," ")),t.truncate-=l.length;let d=t.truncate,c=Rs(e.children,t);return c&&c.length>d&&(c=`${ui}(${e.children.length})`),`${o}${l}${i}${c}${a}`}ie(kd,"inspectHTML");var kj=typeof Symbol=="function"&&typeof Symbol.for=="function",lu=kj?Symbol.for("chai/inspect"):"@@chai/inspect",uu=Symbol.for("nodejs.util.inspect.custom"),qh=new WeakMap,jh={},Mh={undefined:ie((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:ie((e,t)=>t.stylize("null","null"),"null"),boolean:ie((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:ie((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Wu,Number:Wu,bigint:zu,BigInt:zu,string:Yu,String:Yu,function:Gu,Function:Gu,symbol:Ku,Symbol:Ku,Array:Vv,Date:Uv,Map:Gv,Set:Yv,RegExp:Wv,Promise:Lj,WeakSet:ie((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:ie((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Qv,Int8Array:en,Uint8Array:en,Uint8ClampedArray:en,Int16Array:en,Uint16Array:en,Int32Array:en,Uint32Array:en,Float32Array:en,Float64Array:en,Generator:ie(()=>"","Generator"),DataView:ie(()=>"","DataView"),ArrayBuffer:ie(()=>"","ArrayBuffer"),Error:Zv,HTMLCollection:Rs,NodeList:Rs},$j=ie((e,t,r)=>lu in e&&typeof e[lu]=="function"?e[lu](t):uu in e&&typeof e[uu]=="function"?e[uu](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&qh.has(e.constructor)?qh.get(e.constructor)(e,t):jh[r]?jh[r](e,t):"","inspectCustom"),Bj=Object.prototype.toString;function Os(e,t={}){let r=$v(t,Os),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=Bj.call(e).slice(8,-1)),o in Mh)return Mh[o](e,r);if(n&&e){let a=$j(e,r,o);if(a)return typeof a=="string"?a:Os(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Yi(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?kd(e,r):"constructor"in e?e.constructor!==Object?Xv(e,r):Yi(e,r):e===Object(e)?Yi(e,r):r.stylize(String(e),o)}ie(Os,"inspect");var lr={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function at(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:lr.truncateThreshold?lr.truncateThreshold:1/0};return Os(e,o)}ie(at,"inspect");function Po(e){let t=at(e),r=Object.prototype.toString.call(e);if(lr.truncateThreshold&&t.length>=lr.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}ie(Po,"objDisplay");function $d(e,t){let r=Ke(e,"negate"),n=Ke(e,"object"),o=t[3],i=sl(e,t),a=r?t[2]:t[1],l=Ke(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return Po(n)}).replace(/#\{act\}/g,function(){return Po(i)}).replace(/#\{exp\}/g,function(){return Po(o)}),l?l+": "+a:a}ie($d,"getMessage");function Wr(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(let o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}ie(Wr,"transferFlags");function Xu(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}ie(Xu,"type");function Bd(){this._key="chai/deep-eql__"+Math.random()+Date.now()}ie(Bd,"FakeMap");Bd.prototype={get:ie(function(e){return e[this._key]},"get"),set:ie(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var rE=typeof WeakMap=="function"?WeakMap:Bd;function Qu(e,t,r){if(!r||jo(e)||jo(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}ie(Qu,"memoizeCompare");function Ji(e,t,r,n){if(!(!r||jo(e)||jo(t))){var o=r.get(e);o?o.set(t,n):(o=new rE,o.set(t,n),r.set(e,o))}}ie(Ji,"memoizeSet");var nE=Aa;function Aa(e,t,r){if(r&&r.comparator)return Zu(e,t,r);var n=Fd(e,t);return n!==null?n:Zu(e,t,r)}ie(Aa,"deepEqual");function Fd(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:jo(e)||jo(t)?!1:null}ie(Fd,"simpleEqual");function Zu(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new rE;var n=r&&r.comparator,o=Qu(e,t,r.memoize);if(o!==null)return o;var i=Qu(t,e,r.memoize);if(i!==null)return i;if(n){var a=n(e,t);if(a===!1||a===!0)return Ji(e,t,r.memoize,a),a;var l=Fd(e,t);if(l!==null)return l}var d=Xu(e);if(d!==Xu(t))return Ji(e,t,r.memoize,!1),!1;Ji(e,t,r.memoize,!0);var c=oE(e,t,d,r);return Ji(e,t,r.memoize,c),c}ie(Zu,"extensiveDeepEqual");function oE(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Aa(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Vd(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return Zn(e,t,n);case"RegExp":return iE(e,t);case"Generator":return aE(e,t,n);case"DataView":return Zn(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Zn(new Uint8Array(e),new Uint8Array(t),n);case"Set":return ec(e,t,n);case"Map":return ec(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return lE(e,t,n)}}ie(oE,"extensiveDeepEqualByType");function iE(e,t){return e.toString()===t.toString()}ie(iE,"regexpEqual");function ec(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],o=[];return e.forEach(ie(function(i,a){n.push([i,a])},"gatherEntries")),t.forEach(ie(function(i,a){o.push([i,a])},"gatherEntries")),Zn(n.sort(),o.sort(),r)}ie(ec,"entriesEqual");function Zn(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(Aa(e[o],t[o],r)===!1)return!1;return!0}ie(Zn,"iterableEqual");function aE(e,t,r){return Zn(As(e),As(t),r)}ie(aE,"generatorEqual");function sE(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}ie(sE,"hasIteratorFunction");function tc(e){if(sE(e))try{return As(e[Symbol.iterator]())}catch{return[]}return[]}ie(tc,"getIteratorEntries");function As(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}ie(As,"getGeneratorEntries");function rc(e){var t=[];for(var r in e)t.push(r);return t}ie(rc,"getEnumerableKeys");function nc(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}ie(nc,"getEnumerableSymbols");function Vd(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(Aa(e[r[i]],t[r[i]],n)===!1)return!1;return!0}ie(Vd,"keysEqual");function lE(e,t,r){var n=rc(e),o=rc(t),i=nc(e),a=nc(t);if(n=n.concat(i),o=o.concat(a),n.length&&n.length===o.length)return Zn(oc(n).sort(),oc(o).sort())===!1?!1:Vd(e,t,n,r);var l=tc(e),d=tc(t);return l.length&&l.length===d.length?(l.sort(),d.sort(),Zn(l,d,r)):n.length===0&&l.length===0&&o.length===0&&d.length===0}ie(lE,"objectEqual");function jo(e){return e===null||typeof e!="object"}ie(jo,"isPrimitive");function oc(e){return e.map(ie(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}ie(oc,"mapSymbols");function ll(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}ie(ll,"hasProperty");function uE(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}ie(uE,"parsePath");function ic(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let a=t[i];n&&(typeof a.p>"u"?n=n[a.i]:n=n[a.p],i===r-1&&(o=n))}return o}ie(ic,"internalGetPathValue");function Ud(e,t){let r=uE(t),n=r[r.length-1],o={parent:r.length>1?ic(e,r,r.length-1):e,name:n.p||n.i,value:ic(e,r)};return o.exists=ll(o.parent,o.name),o}ie(Ud,"getPathInfo");var Qa,F=(Qa=class{constructor(e,t,r,n){pr(this,"__flags",{});return Ke(this,"ssfi",r||Qa),Ke(this,"lockSsfi",n),Ke(this,"object",e),Ke(this,"message",t),Ke(this,"eql",lr.deepEqual||nE),Ri(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),lr.includeStack}static set includeStack(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),lr.includeStack=e}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),lr.showDiff}static set showDiff(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),lr.showDiff=e}static addProperty(e,t){Jd(this.prototype,e,t)}static addMethod(e,t){Hd(this.prototype,e,t)}static addChainableMethod(e,t,r){zd(this.prototype,e,t,r)}static overwriteProperty(e,t){Gd(this.prototype,e,t)}static overwriteMethod(e,t){Wd(this.prototype,e,t)}static overwriteChainableMethod(e,t,r){Yd(this.prototype,e,t,r)}assert(e,t,r,n,o,i){let a=Dd(this,arguments);if(i!==!1&&(i=!0),n===void 0&&o===void 0&&(i=!1),lr.showDiff!==!0&&(i=!1),!a){t=$d(this,arguments);let l={actual:sl(this,arguments),expected:n,showDiff:i},d=Qd(this,arguments);throw d&&(l.operator=d),new st(t,l,lr.includeStack?this.assert:Ke(this,"ssfi"))}}get _obj(){return Ke(this,"object")}set _obj(e){Ke(this,"object",e)}},ie(Qa,"Assertion"),Qa);function Pa(){return lr.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}ie(Pa,"isProxyEnabled");function Jd(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:ie(function n(){!Pa()&&!Ke(this,"lockSsfi")&&Ke(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let i=new F;return Wr(this,i),i},"propertyGetter"),configurable:!0})}ie(Jd,"addProperty");var Fj=Object.getOwnPropertyDescriptor(function(){},"length");function Ca(e,t,r){return Fj.configurable&&Object.defineProperty(e,"length",{get:ie(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}ie(Ca,"addLengthGuard");function cE(e){let t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}ie(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}ie(cE,"getProperties");var Lh=["__flags","__methods","_obj","assert"];function Ri(e,t){return Pa()?new Proxy(e,{get:ie(function r(n,o){if(typeof o=="string"&&lr.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');let i=null,a=4;throw cE(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&Lh.indexOf(l)===-1){let d=dE(o,l,a);d<a&&(i=l,a=d)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return Lh.indexOf(o)===-1&&!Ke(n,"lockSsfi")&&Ke(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}ie(Ri,"proxify");function dE(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o<t.length;o++)n[0][o]=o;for(let o=1;o<=e.length;o++){let i=e.charCodeAt(o-1);for(let a=1;a<=t.length;a++){if(Math.abs(o-a)>=r){n[o][a]=r;continue}n[o][a]=Math.min(n[o-1][a]+1,n[o][a-1]+1,n[o-1][a-1]+(i===t.charCodeAt(a-1)?0:1))}}return n[e.length][t.length]}ie(dE,"stringDistanceCapped");function Hd(e,t,r){let n=ie(function(){Ke(this,"lockSsfi")||Ke(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let i=new F;return Wr(this,i),i},"methodWrapper");Ca(n,t,!1),e[t]=Ri(n,t)}ie(Hd,"addMethod");function Gd(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),o=ie(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:ie(function i(){!Pa()&&!Ke(this,"lockSsfi")&&Ke(this,"ssfi",i);let a=Ke(this,"lockSsfi");Ke(this,"lockSsfi",!0);let l=r(o).call(this);if(Ke(this,"lockSsfi",a),l!==void 0)return l;let d=new F;return Wr(this,d),d},"overwritingPropertyGetter"),configurable:!0})}ie(Gd,"overwriteProperty");function Wd(e,t,r){let n=e[t],o=ie(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);let i=ie(function(){Ke(this,"lockSsfi")||Ke(this,"ssfi",i);let a=Ke(this,"lockSsfi");Ke(this,"lockSsfi",!0);let l=r(o).apply(this,arguments);if(Ke(this,"lockSsfi",a),l!==void 0)return l;let d=new F;return Wr(this,d),d},"overwritingMethodWrapper");Ca(i,t,!1),e[t]=Ri(i,t)}ie(Wd,"overwriteMethod");var Vj=typeof Object.setPrototypeOf=="function",Dh=ie(function(){},"testFn"),Uj=Object.getOwnPropertyNames(Dh).filter(function(e){let t=Object.getOwnPropertyDescriptor(Dh,e);return typeof t!="object"?!0:!t.configurable}),Jj=Function.prototype.call,Hj=Function.prototype.apply;function zd(e,t,r,n){typeof n!="function"&&(n=ie(function(){},"chainingBehavior"));let o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:ie(function(){o.chainingBehavior.call(this);let i=ie(function(){Ke(this,"lockSsfi")||Ke(this,"ssfi",i);let a=o.method.apply(this,arguments);if(a!==void 0)return a;let l=new F;return Wr(this,l),l},"chainableMethodWrapper");if(Ca(i,t,!0),Vj){let a=Object.create(this);a.call=Jj,a.apply=Hj,Object.setPrototypeOf(i,a)}else Object.getOwnPropertyNames(e).forEach(function(a){if(Uj.indexOf(a)!==-1)return;let l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(i,a,l)});return Wr(this,i),Ri(i)},"chainableMethodGetter"),configurable:!0})}ie(zd,"addChainableMethod");function Yd(e,t,r,n){let o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=ie(function(){let l=n(i).call(this);if(l!==void 0)return l;let d=new F;return Wr(this,d),d},"overwritingChainableMethodGetter");let a=o.method;o.method=ie(function(){let l=r(a).apply(this,arguments);if(l!==void 0)return l;let d=new F;return Wr(this,d),d},"overwritingChainableMethodWrapper")}ie(Yd,"overwriteChainableMethod");function Ps(e,t){return at(e)<at(t)?-1:1}ie(Ps,"compareByInspect");function Kd(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}ie(Kd,"getOwnEnumerablePropertySymbols");function Xd(e){return Object.keys(e).concat(Kd(e))}ie(Xd,"getOwnEnumerableProperties");var Cs=Number.isNaN;function pE(e){let t=ft(e);return["Array","Object","Function"].indexOf(t)!==-1}ie(pE,"isObjectType");function Qd(e,t){let r=Ke(e,"operator"),n=Ke(e,"negate"),o=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!i||/\shave\s/.test(i))return;let a=pE(o);return/\snot\s/.test(i)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}ie(Qd,"getOperator");function ul(e){return e.name}ie(ul,"getName");function xs(e){return Object.prototype.toString.call(e)==="[object RegExp]"}ie(xs,"isRegExp");function Yt(e){return["Number","BigInt"].includes(ft(e))}ie(Yt,"isNumeric");var{flag:ee}=nn;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){F.addProperty(e)});F.addProperty("not",function(){ee(this,"negate",!0)});F.addProperty("deep",function(){ee(this,"deep",!0)});F.addProperty("nested",function(){ee(this,"nested",!0)});F.addProperty("own",function(){ee(this,"own",!0)});F.addProperty("ordered",function(){ee(this,"ordered",!0)});F.addProperty("any",function(){ee(this,"any",!0),ee(this,"all",!1)});F.addProperty("all",function(){ee(this,"all",!0),ee(this,"any",!1)});var kh={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Zd(e,t){t&&ee(this,"message",t),e=e.toLowerCase();let r=ee(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ",o=ft(r).toLowerCase();kh.function.includes(e)?this.assert(kh[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}ie(Zd,"an");F.addChainableMethod("an",Zd);F.addChainableMethod("a",Zd);function fE(e,t){return Cs(e)&&Cs(t)||e===t}ie(fE,"SameValueZero");function xa(){ee(this,"contains",!0)}ie(xa,"includeChainingBehavior");function Na(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ft(r).toLowerCase(),o=ee(this,"message"),i=ee(this,"negate"),a=ee(this,"ssfi"),l=ee(this,"deep"),d=l?"deep ":"",c=l?ee(this,"eql"):fE;o=o?o+": ":"";let p=!1;switch(n){case"string":p=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new st(o+"unable to use .deep.include with WeakSet",void 0,a);p=r.has(e);break;case"map":r.forEach(function(f){p=p||c(f,e)});break;case"set":l?r.forEach(function(f){p=p||c(f,e)}):p=r.has(e);break;case"array":l?p=r.some(function(f){return c(f,e)}):p=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new st(o+"the given combination of arguments ("+n+" and "+ft(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+ft(e).toLowerCase(),void 0,a);let f=Object.keys(e),g=null,b=0;if(f.forEach(function(T){let w=new F(r);if(Wr(this,w,!0),ee(w,"lockSsfi",!0),!i||f.length===1){w.property(T,e[T]);return}try{w.property(T,e[T])}catch(R){if(!Er.compatibleConstructor(R,st))throw R;g===null&&(g=R),b++}},this),i&&f.length>1&&b===f.length)throw g;return}}this.assert(p,"expected #{this} to "+d+"include "+at(e),"expected #{this} to not "+d+"include "+at(e))}ie(Na,"include");F.addChainableMethod("include",Na,xa);F.addChainableMethod("contain",Na,xa);F.addChainableMethod("contains",Na,xa);F.addChainableMethod("includes",Na,xa);F.addProperty("ok",function(){this.assert(ee(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});F.addProperty("true",function(){this.assert(ee(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!ee(this,"negate"))});F.addProperty("numeric",function(){let e=ee(this,"object");this.assert(["Number","BigInt"].includes(ft(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!ee(this,"negate"))});F.addProperty("callable",function(){let e=ee(this,"object"),t=ee(this,"ssfi"),r=ee(this,"message"),n=r?`${r}: `:"",o=ee(this,"negate"),i=o?`${n}expected ${at(e)} not to be a callable function`:`${n}expected ${at(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(ft(e));if(a&&o||!a&&!o)throw new st(i,void 0,t)});F.addProperty("false",function(){this.assert(ee(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!ee(this,"negate"))});F.addProperty("null",function(){this.assert(ee(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});F.addProperty("undefined",function(){this.assert(ee(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});F.addProperty("NaN",function(){this.assert(Cs(ee(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function ep(){let e=ee(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}ie(ep,"assertExist");F.addProperty("exist",ep);F.addProperty("exists",ep);F.addProperty("empty",function(){let e=ee(this,"object"),t=ee(this,"ssfi"),r=ee(this,"message"),n;switch(r=r?r+": ":"",ft(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new st(r+".empty was passed a weak collection",void 0,t);case"function":{let o=r+".empty was passed a function "+ul(e);throw new st(o.trim(),void 0,t)}default:if(e!==Object(e))throw new st(r+".empty was passed non-string primitive "+at(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function tp(){let e=ee(this,"object"),t=ft(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}ie(tp,"checkArguments");F.addProperty("arguments",tp);F.addProperty("Arguments",tp);function cl(e,t){t&&ee(this,"message",t);let r=ee(this,"object");if(ee(this,"deep")){let n=ee(this,"lockSsfi");ee(this,"lockSsfi",!0),this.eql(e),ee(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}ie(cl,"assertEqual");F.addMethod("equal",cl);F.addMethod("equals",cl);F.addMethod("eq",cl);function rp(e,t){t&&ee(this,"message",t);let r=ee(this,"eql");this.assert(r(e,ee(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}ie(rp,"assertEql");F.addMethod("eql",rp);F.addMethod("eqls",rp);function dl(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ee(this,"doLength"),o=ee(this,"message"),i=o?o+": ":"",a=ee(this,"ssfi"),l=ft(r).toLowerCase(),d=ft(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new F(r,o,a,!0).to.have.property("length"),!n&&l==="date"&&d!=="date")throw new st(i+"the argument to above must be a date",void 0,a);if(!Yt(e)&&(n||Yt(r)))throw new st(i+"the argument to above must be a number",void 0,a);if(!n&&l!=="date"&&!Yt(r)){let c=l==="string"?"'"+r+"'":r;throw new st(i+"expected "+c+" to be a number or a date",void 0,a)}if(n){let c="length",p;l==="map"||l==="set"?(c="size",p=r.size):p=r.length,this.assert(p>e,"expected #{this} to have a "+c+" above #{exp} but got #{act}","expected #{this} to not have a "+c+" above #{exp}",e,p)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}ie(dl,"assertAbove");F.addMethod("above",dl);F.addMethod("gt",dl);F.addMethod("greaterThan",dl);function pl(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ee(this,"doLength"),o=ee(this,"message"),i=o?o+": ":"",a=ee(this,"ssfi"),l=ft(r).toLowerCase(),d=ft(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new F(r,o,a,!0).to.have.property("length"),!n&&l==="date"&&d!=="date")c=i+"the argument to least must be a date";else if(!Yt(e)&&(n||Yt(r)))c=i+"the argument to least must be a number";else if(!n&&l!=="date"&&!Yt(r)){let f=l==="string"?"'"+r+"'":r;c=i+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new st(c,void 0,a);if(n){let f="length",g;l==="map"||l==="set"?(f="size",g=r.size):g=r.length,this.assert(g>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,g)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}ie(pl,"assertLeast");F.addMethod("least",pl);F.addMethod("gte",pl);F.addMethod("greaterThanOrEqual",pl);function fl(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ee(this,"doLength"),o=ee(this,"message"),i=o?o+": ":"",a=ee(this,"ssfi"),l=ft(r).toLowerCase(),d=ft(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new F(r,o,a,!0).to.have.property("length"),!n&&l==="date"&&d!=="date")c=i+"the argument to below must be a date";else if(!Yt(e)&&(n||Yt(r)))c=i+"the argument to below must be a number";else if(!n&&l!=="date"&&!Yt(r)){let f=l==="string"?"'"+r+"'":r;c=i+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new st(c,void 0,a);if(n){let f="length",g;l==="map"||l==="set"?(f="size",g=r.size):g=r.length,this.assert(g<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,g)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}ie(fl,"assertBelow");F.addMethod("below",fl);F.addMethod("lt",fl);F.addMethod("lessThan",fl);function hl(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ee(this,"doLength"),o=ee(this,"message"),i=o?o+": ":"",a=ee(this,"ssfi"),l=ft(r).toLowerCase(),d=ft(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new F(r,o,a,!0).to.have.property("length"),!n&&l==="date"&&d!=="date")c=i+"the argument to most must be a date";else if(!Yt(e)&&(n||Yt(r)))c=i+"the argument to most must be a number";else if(!n&&l!=="date"&&!Yt(r)){let f=l==="string"?"'"+r+"'":r;c=i+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new st(c,void 0,a);if(n){let f="length",g;l==="map"||l==="set"?(f="size",g=r.size):g=r.length,this.assert(g<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,g)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}ie(hl,"assertMost");F.addMethod("most",hl);F.addMethod("lte",hl);F.addMethod("lessThanOrEqual",hl);F.addMethod("within",function(e,t,r){r&&ee(this,"message",r);let n=ee(this,"object"),o=ee(this,"doLength"),i=ee(this,"message"),a=i?i+": ":"",l=ee(this,"ssfi"),d=ft(n).toLowerCase(),c=ft(e).toLowerCase(),p=ft(t).toLowerCase(),f,g=!0,b=c==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&d!=="map"&&d!=="set"&&new F(n,i,l,!0).to.have.property("length"),!o&&d==="date"&&(c!=="date"||p!=="date"))f=a+"the arguments to within must be dates";else if((!Yt(e)||!Yt(t))&&(o||Yt(n)))f=a+"the arguments to within must be numbers";else if(!o&&d!=="date"&&!Yt(n)){let T=d==="string"?"'"+n+"'":n;f=a+"expected "+T+" to be a number or a date"}else g=!1;if(g)throw new st(f,void 0,l);if(o){let T="length",w;d==="map"||d==="set"?(T="size",w=n.size):w=n.length,this.assert(w>=e&&w<=t,"expected #{this} to have a "+T+" within "+b,"expected #{this} to not have a "+T+" within "+b)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+b,"expected #{this} to not be within "+b)});function np(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ee(this,"ssfi"),o=ee(this,"message"),i;try{i=r instanceof e}catch(l){throw l instanceof TypeError?(o=o?o+": ":"",new st(o+"The instanceof assertion needs a constructor but "+ft(e)+" was given.",void 0,n)):l}let a=ul(e);a==null&&(a="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+a,"expected #{this} to not be an instance of "+a)}ie(np,"assertInstanceOf");F.addMethod("instanceof",np);F.addMethod("instanceOf",np);function op(e,t,r){r&&ee(this,"message",r);let n=ee(this,"nested"),o=ee(this,"own"),i=ee(this,"message"),a=ee(this,"object"),l=ee(this,"ssfi"),d=typeof e;if(i=i?i+": ":"",n){if(d!=="string")throw new st(i+"the argument to property must be a string when using nested syntax",void 0,l)}else if(d!=="string"&&d!=="number"&&d!=="symbol")throw new st(i+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&o)throw new st(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(a==null)throw new st(i+"Target cannot be null or undefined.",void 0,l);let c=ee(this,"deep"),p=ee(this,"negate"),f=n?Ud(a,e):null,g=n?f.value:a[e],b=c?ee(this,"eql"):(R,_)=>R===_,T="";c&&(T+="deep "),o&&(T+="own "),n&&(T+="nested "),T+="property ";let w;o?w=Object.prototype.hasOwnProperty.call(a,e):n?w=f.exists:w=ll(a,e),(!p||arguments.length===1)&&this.assert(w,"expected #{this} to have "+T+at(e),"expected #{this} to not have "+T+at(e)),arguments.length>1&&this.assert(w&&b(t,g),"expected #{this} to have "+T+at(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+T+at(e)+" of #{act}",t,g),ee(this,"object",g)}ie(op,"assertProperty");F.addMethod("property",op);function ip(e,t,r){ee(this,"own",!0),op.apply(this,arguments)}ie(ip,"assertOwnProperty");F.addMethod("ownProperty",ip);F.addMethod("haveOwnProperty",ip);function ap(e,t,r){typeof t=="string"&&(r=t,t=null),r&&ee(this,"message",r);let n=ee(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=ee(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+at(e)+" on #{this} to match "+at(t)+", got "+at(o),"expected the own property descriptor for "+at(e)+" on #{this} to not match "+at(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+at(e),"expected #{this} to not have an own property descriptor for "+at(e)),ee(this,"object",o)}ie(ap,"assertOwnPropertyDescriptor");F.addMethod("ownPropertyDescriptor",ap);F.addMethod("haveOwnPropertyDescriptor",ap);function sp(){ee(this,"doLength",!0)}ie(sp,"assertLengthChain");function lp(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ft(r).toLowerCase(),o=ee(this,"message"),i=ee(this,"ssfi"),a="length",l;switch(n){case"map":case"set":a="size",l=r.size;break;default:new F(r,o,i,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+a+" of #{exp} but got #{act}","expected #{this} to not have a "+a+" of #{act}",e,l)}ie(lp,"assertLength");F.addChainableMethod("length",lp,sp);F.addChainableMethod("lengthOf",lp,sp);function up(e,t){t&&ee(this,"message",t);let r=ee(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}ie(up,"assertMatch");F.addMethod("match",up);F.addMethod("matches",up);F.addMethod("string",function(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ee(this,"message"),o=ee(this,"ssfi");new F(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+at(e),"expected #{this} to not contain "+at(e))});function cp(e){let t=ee(this,"object"),r=ft(t),n=ft(e),o=ee(this,"ssfi"),i=ee(this,"deep"),a,l="",d,c=!0,p=ee(this,"message");p=p?p+": ":"";let f=p+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=i?"deeply ":"",d=[],t.forEach(function(_,A){d.push(A)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(d=Xd(t),n){case"Array":if(arguments.length>1)throw new st(f,void 0,o);break;case"Object":if(arguments.length>1)throw new st(f,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(_){return typeof _=="symbol"?_:String(_)})}if(!e.length)throw new st(p+"keys required",void 0,o);let g=e.length,b=ee(this,"any"),T=ee(this,"all"),w=e,R=i?ee(this,"eql"):(_,A)=>_===A;if(!b&&!T&&(T=!0),b&&(c=w.some(function(_){return d.some(function(A){return R(_,A)})})),T&&(c=w.every(function(_){return d.some(function(A){return R(_,A)})}),ee(this,"contains")||(c=c&&e.length==d.length)),g>1){e=e.map(function(A){return at(A)});let _=e.pop();T&&(a=e.join(", ")+", and "+_),b&&(a=e.join(", ")+", or "+_)}else a=at(e[0]);a=(g>1?"keys ":"key ")+a,a=(ee(this,"contains")?"contain ":"have ")+a,this.assert(c,"expected #{this} to "+l+a,"expected #{this} to not "+l+a,w.slice(0).sort(Ps),d.sort(Ps),!0)}ie(cp,"assertKeys");F.addMethod("keys",cp);F.addMethod("key",cp);function ml(e,t,r){r&&ee(this,"message",r);let n=ee(this,"object"),o=ee(this,"ssfi"),i=ee(this,"message"),a=ee(this,"negate")||!1;new F(n,i,o,!0).is.a("function"),(xs(e)||typeof e=="string")&&(t=e,e=null);let l,d=!1;try{n()}catch(b){d=!0,l=b}let c=e===void 0&&t===void 0,p=!!(e&&t),f=!1,g=!1;if(c||!c&&!a){let b="an error";e instanceof Error?b="#{exp}":e&&(b=Er.getConstructorName(e));let T=l;if(l instanceof Error)T=l.toString();else if(typeof l=="string")T=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{T=Er.getConstructorName(l)}catch{}this.assert(d,"expected #{this} to throw "+b,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),T)}if(e&&l&&(e instanceof Error&&Er.compatibleInstance(l,e)===a&&(p&&a?f=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!a?" but #{act} was thrown":""),e.toString(),l.toString())),Er.compatibleConstructor(l,e)===a&&(p&&a?f=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Er.getConstructorName(e),l instanceof Error?l.toString():l&&Er.getConstructorName(l)))),l&&t!==void 0&&t!==null){let b="including";xs(t)&&(b="matching"),Er.compatibleMessage(l,t)===a&&(p&&a?g=!0:this.assert(a,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",t,Er.getMessage(l)))}f&&g&&this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Er.getConstructorName(e),l instanceof Error?l.toString():l&&Er.getConstructorName(l)),ee(this,"object",l)}ie(ml,"assertThrows");F.addMethod("throw",ml);F.addMethod("throws",ml);F.addMethod("Throw",ml);function dp(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ee(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+at(e),"expected #{this} to not respond to "+at(e))}ie(dp,"respondTo");F.addMethod("respondTo",dp);F.addMethod("respondsTo",dp);F.addProperty("itself",function(){ee(this,"itself",!0)});function pp(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Po(e),"expected #{this} to not satisfy"+Po(e),!ee(this,"negate"),n)}ie(pp,"satisfy");F.addMethod("satisfy",pp);F.addMethod("satisfies",pp);function fp(e,t,r){r&&ee(this,"message",r);let n=ee(this,"object"),o=ee(this,"message"),i=ee(this,"ssfi");new F(n,o,i,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new st(o?`${o}: ${a}`:a,void 0,i);if(new F(t,o,i,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new st(o?`${o}: ${a}`:a,void 0,i);new F(e,o,i,!0).is.numeric;let l=ie(c=>c<0n?-c:c,"abs"),d=ie(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(d(l(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}ie(fp,"closeTo");F.addMethod("closeTo",fp);F.addMethod("approximately",fp);function hE(e,t,r,n,o){let i=Array.from(t),a=Array.from(e);if(!n){if(a.length!==i.length)return!1;i=i.slice()}return a.every(function(l,d){if(o)return r?r(l,i[d]):l===i[d];if(!r){let c=i.indexOf(l);return c===-1?!1:(n||i.splice(c,1),!0)}return i.some(function(c,p){return r(l,c)?(n||i.splice(p,1),!0):!1})})}ie(hE,"isSubsetOf");F.addMethod("members",function(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ee(this,"message"),o=ee(this,"ssfi");new F(r,n,o,!0).to.be.iterable,new F(e,n,o,!0).to.be.iterable;let i=ee(this,"contains"),a=ee(this,"ordered"),l,d,c;i?(l=a?"an ordered superset":"a superset",d="expected #{this} to be "+l+" of #{exp}",c="expected #{this} to not be "+l+" of #{exp}"):(l=a?"ordered members":"members",d="expected #{this} to have the same "+l+" as #{exp}",c="expected #{this} to not have the same "+l+" as #{exp}");let p=ee(this,"deep")?ee(this,"eql"):void 0;this.assert(hE(e,r,p,i,a),d,c,e,r,!0)});F.addProperty("iterable",function(e){e&&ee(this,"message",e);let t=ee(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function mE(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ee(this,"message"),o=ee(this,"ssfi"),i=ee(this,"contains"),a=ee(this,"deep"),l=ee(this,"eql");new F(e,n,o,!0).to.be.an("array"),i?this.assert(e.some(function(d){return r.indexOf(d)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):a?this.assert(e.some(function(d){return l(r,d)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}ie(mE,"oneOf");F.addMethod("oneOf",mE);function hp(e,t,r){r&&ee(this,"message",r);let n=ee(this,"object"),o=ee(this,"message"),i=ee(this,"ssfi");new F(n,o,i,!0).is.a("function");let a;t?(new F(e,o,i,!0).to.have.property(t),a=e[t]):(new F(e,o,i,!0).is.a("function"),a=e()),n();let l=t==null?e():e[t],d=t==null?a:"."+t;ee(this,"deltaMsgObj",d),ee(this,"initialDeltaValue",a),ee(this,"finalDeltaValue",l),ee(this,"deltaBehavior","change"),ee(this,"realDelta",l!==a),this.assert(a!==l,"expected "+d+" to change","expected "+d+" to not change")}ie(hp,"assertChanges");F.addMethod("change",hp);F.addMethod("changes",hp);function mp(e,t,r){r&&ee(this,"message",r);let n=ee(this,"object"),o=ee(this,"message"),i=ee(this,"ssfi");new F(n,o,i,!0).is.a("function");let a;t?(new F(e,o,i,!0).to.have.property(t),a=e[t]):(new F(e,o,i,!0).is.a("function"),a=e()),new F(a,o,i,!0).is.a("number"),n();let l=t==null?e():e[t],d=t==null?a:"."+t;ee(this,"deltaMsgObj",d),ee(this,"initialDeltaValue",a),ee(this,"finalDeltaValue",l),ee(this,"deltaBehavior","increase"),ee(this,"realDelta",l-a),this.assert(l-a>0,"expected "+d+" to increase","expected "+d+" to not increase")}ie(mp,"assertIncreases");F.addMethod("increase",mp);F.addMethod("increases",mp);function yp(e,t,r){r&&ee(this,"message",r);let n=ee(this,"object"),o=ee(this,"message"),i=ee(this,"ssfi");new F(n,o,i,!0).is.a("function");let a;t?(new F(e,o,i,!0).to.have.property(t),a=e[t]):(new F(e,o,i,!0).is.a("function"),a=e()),new F(a,o,i,!0).is.a("number"),n();let l=t==null?e():e[t],d=t==null?a:"."+t;ee(this,"deltaMsgObj",d),ee(this,"initialDeltaValue",a),ee(this,"finalDeltaValue",l),ee(this,"deltaBehavior","decrease"),ee(this,"realDelta",a-l),this.assert(l-a<0,"expected "+d+" to decrease","expected "+d+" to not decrease")}ie(yp,"assertDecreases");F.addMethod("decrease",yp);F.addMethod("decreases",yp);function yE(e,t){t&&ee(this,"message",t);let r=ee(this,"deltaMsgObj"),n=ee(this,"initialDeltaValue"),o=ee(this,"finalDeltaValue"),i=ee(this,"deltaBehavior"),a=ee(this,"realDelta"),l;i==="change"?l=Math.abs(o-n)===Math.abs(e):l=a===Math.abs(e),this.assert(l,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}ie(yE,"assertDelta");F.addMethod("by",yE);F.addProperty("extensible",function(){let e=ee(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});F.addProperty("sealed",function(){let e=ee(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});F.addProperty("frozen",function(){let e=ee(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});F.addProperty("finite",function(e){let t=ee(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function Ns(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return Ns(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?Ns(n,o):typeof n=="function"?n(o):o===n}):!1}ie(Ns,"compareSubset");F.addMethod("containSubset",function(e){let t=Ke(this,"object"),r=lr.showDiff;this.assert(Ns(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Co(e,t){return new F(e,t)}ie(Co,"expect");Co.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new st(r,{actual:e,expected:t,operator:n},Co.fail)};var gE={};Ld(gE,{Should:()=>Wj,should:()=>Gj});function gp(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new F(this.valueOf(),null,e):new F(this,null,e)}ie(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}ie(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,o,i,a){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new st(i,{actual:n,expected:o,operator:a},r.fail)},r.equal=function(n,o,i){new F(n,i).to.equal(o)},r.Throw=function(n,o,i,a){new F(n,a).to.Throw(o,i)},r.exist=function(n,o){new F(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new F(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,a){new F(n,a).to.not.Throw(o,i)},r.not.exist=function(n,o){new F(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}ie(gp,"loadShould");var Gj=gp,Wj=gp;function B(e,t){new F(null,null,B,!0).assert(e,t,"[ negation message unavailable ]")}ie(B,"assert");B.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new st(r,{actual:e,expected:t,operator:n},B.fail)};B.isOk=function(e,t){new F(e,t,B.isOk,!0).is.ok};B.isNotOk=function(e,t){new F(e,t,B.isNotOk,!0).is.not.ok};B.equal=function(e,t,r){let n=new F(e,r,B.equal,!0);n.assert(t==Ke(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};B.notEqual=function(e,t,r){let n=new F(e,r,B.notEqual,!0);n.assert(t!=Ke(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};B.strictEqual=function(e,t,r){new F(e,r,B.strictEqual,!0).to.equal(t)};B.notStrictEqual=function(e,t,r){new F(e,r,B.notStrictEqual,!0).to.not.equal(t)};B.deepEqual=B.deepStrictEqual=function(e,t,r){new F(e,r,B.deepEqual,!0).to.eql(t)};B.notDeepEqual=function(e,t,r){new F(e,r,B.notDeepEqual,!0).to.not.eql(t)};B.isAbove=function(e,t,r){new F(e,r,B.isAbove,!0).to.be.above(t)};B.isAtLeast=function(e,t,r){new F(e,r,B.isAtLeast,!0).to.be.least(t)};B.isBelow=function(e,t,r){new F(e,r,B.isBelow,!0).to.be.below(t)};B.isAtMost=function(e,t,r){new F(e,r,B.isAtMost,!0).to.be.most(t)};B.isTrue=function(e,t){new F(e,t,B.isTrue,!0).is.true};B.isNotTrue=function(e,t){new F(e,t,B.isNotTrue,!0).to.not.equal(!0)};B.isFalse=function(e,t){new F(e,t,B.isFalse,!0).is.false};B.isNotFalse=function(e,t){new F(e,t,B.isNotFalse,!0).to.not.equal(!1)};B.isNull=function(e,t){new F(e,t,B.isNull,!0).to.equal(null)};B.isNotNull=function(e,t){new F(e,t,B.isNotNull,!0).to.not.equal(null)};B.isNaN=function(e,t){new F(e,t,B.isNaN,!0).to.be.NaN};B.isNotNaN=function(e,t){new F(e,t,B.isNotNaN,!0).not.to.be.NaN};B.exists=function(e,t){new F(e,t,B.exists,!0).to.exist};B.notExists=function(e,t){new F(e,t,B.notExists,!0).to.not.exist};B.isUndefined=function(e,t){new F(e,t,B.isUndefined,!0).to.equal(void 0)};B.isDefined=function(e,t){new F(e,t,B.isDefined,!0).to.not.equal(void 0)};B.isCallable=function(e,t){new F(e,t,B.isCallable,!0).is.callable};B.isNotCallable=function(e,t){new F(e,t,B.isNotCallable,!0).is.not.callable};B.isObject=function(e,t){new F(e,t,B.isObject,!0).to.be.a("object")};B.isNotObject=function(e,t){new F(e,t,B.isNotObject,!0).to.not.be.a("object")};B.isArray=function(e,t){new F(e,t,B.isArray,!0).to.be.an("array")};B.isNotArray=function(e,t){new F(e,t,B.isNotArray,!0).to.not.be.an("array")};B.isString=function(e,t){new F(e,t,B.isString,!0).to.be.a("string")};B.isNotString=function(e,t){new F(e,t,B.isNotString,!0).to.not.be.a("string")};B.isNumber=function(e,t){new F(e,t,B.isNumber,!0).to.be.a("number")};B.isNotNumber=function(e,t){new F(e,t,B.isNotNumber,!0).to.not.be.a("number")};B.isNumeric=function(e,t){new F(e,t,B.isNumeric,!0).is.numeric};B.isNotNumeric=function(e,t){new F(e,t,B.isNotNumeric,!0).is.not.numeric};B.isFinite=function(e,t){new F(e,t,B.isFinite,!0).to.be.finite};B.isBoolean=function(e,t){new F(e,t,B.isBoolean,!0).to.be.a("boolean")};B.isNotBoolean=function(e,t){new F(e,t,B.isNotBoolean,!0).to.not.be.a("boolean")};B.typeOf=function(e,t,r){new F(e,r,B.typeOf,!0).to.be.a(t)};B.notTypeOf=function(e,t,r){new F(e,r,B.notTypeOf,!0).to.not.be.a(t)};B.instanceOf=function(e,t,r){new F(e,r,B.instanceOf,!0).to.be.instanceOf(t)};B.notInstanceOf=function(e,t,r){new F(e,r,B.notInstanceOf,!0).to.not.be.instanceOf(t)};B.include=function(e,t,r){new F(e,r,B.include,!0).include(t)};B.notInclude=function(e,t,r){new F(e,r,B.notInclude,!0).not.include(t)};B.deepInclude=function(e,t,r){new F(e,r,B.deepInclude,!0).deep.include(t)};B.notDeepInclude=function(e,t,r){new F(e,r,B.notDeepInclude,!0).not.deep.include(t)};B.nestedInclude=function(e,t,r){new F(e,r,B.nestedInclude,!0).nested.include(t)};B.notNestedInclude=function(e,t,r){new F(e,r,B.notNestedInclude,!0).not.nested.include(t)};B.deepNestedInclude=function(e,t,r){new F(e,r,B.deepNestedInclude,!0).deep.nested.include(t)};B.notDeepNestedInclude=function(e,t,r){new F(e,r,B.notDeepNestedInclude,!0).not.deep.nested.include(t)};B.ownInclude=function(e,t,r){new F(e,r,B.ownInclude,!0).own.include(t)};B.notOwnInclude=function(e,t,r){new F(e,r,B.notOwnInclude,!0).not.own.include(t)};B.deepOwnInclude=function(e,t,r){new F(e,r,B.deepOwnInclude,!0).deep.own.include(t)};B.notDeepOwnInclude=function(e,t,r){new F(e,r,B.notDeepOwnInclude,!0).not.deep.own.include(t)};B.match=function(e,t,r){new F(e,r,B.match,!0).to.match(t)};B.notMatch=function(e,t,r){new F(e,r,B.notMatch,!0).to.not.match(t)};B.property=function(e,t,r){new F(e,r,B.property,!0).to.have.property(t)};B.notProperty=function(e,t,r){new F(e,r,B.notProperty,!0).to.not.have.property(t)};B.propertyVal=function(e,t,r,n){new F(e,n,B.propertyVal,!0).to.have.property(t,r)};B.notPropertyVal=function(e,t,r,n){new F(e,n,B.notPropertyVal,!0).to.not.have.property(t,r)};B.deepPropertyVal=function(e,t,r,n){new F(e,n,B.deepPropertyVal,!0).to.have.deep.property(t,r)};B.notDeepPropertyVal=function(e,t,r,n){new F(e,n,B.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};B.ownProperty=function(e,t,r){new F(e,r,B.ownProperty,!0).to.have.own.property(t)};B.notOwnProperty=function(e,t,r){new F(e,r,B.notOwnProperty,!0).to.not.have.own.property(t)};B.ownPropertyVal=function(e,t,r,n){new F(e,n,B.ownPropertyVal,!0).to.have.own.property(t,r)};B.notOwnPropertyVal=function(e,t,r,n){new F(e,n,B.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};B.deepOwnPropertyVal=function(e,t,r,n){new F(e,n,B.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};B.notDeepOwnPropertyVal=function(e,t,r,n){new F(e,n,B.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};B.nestedProperty=function(e,t,r){new F(e,r,B.nestedProperty,!0).to.have.nested.property(t)};B.notNestedProperty=function(e,t,r){new F(e,r,B.notNestedProperty,!0).to.not.have.nested.property(t)};B.nestedPropertyVal=function(e,t,r,n){new F(e,n,B.nestedPropertyVal,!0).to.have.nested.property(t,r)};B.notNestedPropertyVal=function(e,t,r,n){new F(e,n,B.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};B.deepNestedPropertyVal=function(e,t,r,n){new F(e,n,B.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};B.notDeepNestedPropertyVal=function(e,t,r,n){new F(e,n,B.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};B.lengthOf=function(e,t,r){new F(e,r,B.lengthOf,!0).to.have.lengthOf(t)};B.hasAnyKeys=function(e,t,r){new F(e,r,B.hasAnyKeys,!0).to.have.any.keys(t)};B.hasAllKeys=function(e,t,r){new F(e,r,B.hasAllKeys,!0).to.have.all.keys(t)};B.containsAllKeys=function(e,t,r){new F(e,r,B.containsAllKeys,!0).to.contain.all.keys(t)};B.doesNotHaveAnyKeys=function(e,t,r){new F(e,r,B.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};B.doesNotHaveAllKeys=function(e,t,r){new F(e,r,B.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};B.hasAnyDeepKeys=function(e,t,r){new F(e,r,B.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};B.hasAllDeepKeys=function(e,t,r){new F(e,r,B.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};B.containsAllDeepKeys=function(e,t,r){new F(e,r,B.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};B.doesNotHaveAnyDeepKeys=function(e,t,r){new F(e,r,B.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};B.doesNotHaveAllDeepKeys=function(e,t,r){new F(e,r,B.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};B.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let o=new F(e,n,B.throws,!0).to.throw(t,r);return Ke(o,"object")};B.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new F(e,n,B.doesNotThrow,!0).to.not.throw(t,r)};B.operator=function(e,t,r,n){let o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new st(n+'Invalid operator "'+t+'"',void 0,B.operator)}let i=new F(o,n,B.operator,!0);i.assert(Ke(i,"object")===!0,"expected "+at(e)+" to be "+t+" "+at(r),"expected "+at(e)+" to not be "+t+" "+at(r))};B.closeTo=function(e,t,r,n){new F(e,n,B.closeTo,!0).to.be.closeTo(t,r)};B.approximately=function(e,t,r,n){new F(e,n,B.approximately,!0).to.be.approximately(t,r)};B.sameMembers=function(e,t,r){new F(e,r,B.sameMembers,!0).to.have.same.members(t)};B.notSameMembers=function(e,t,r){new F(e,r,B.notSameMembers,!0).to.not.have.same.members(t)};B.sameDeepMembers=function(e,t,r){new F(e,r,B.sameDeepMembers,!0).to.have.same.deep.members(t)};B.notSameDeepMembers=function(e,t,r){new F(e,r,B.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};B.sameOrderedMembers=function(e,t,r){new F(e,r,B.sameOrderedMembers,!0).to.have.same.ordered.members(t)};B.notSameOrderedMembers=function(e,t,r){new F(e,r,B.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};B.sameDeepOrderedMembers=function(e,t,r){new F(e,r,B.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};B.notSameDeepOrderedMembers=function(e,t,r){new F(e,r,B.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};B.includeMembers=function(e,t,r){new F(e,r,B.includeMembers,!0).to.include.members(t)};B.notIncludeMembers=function(e,t,r){new F(e,r,B.notIncludeMembers,!0).to.not.include.members(t)};B.includeDeepMembers=function(e,t,r){new F(e,r,B.includeDeepMembers,!0).to.include.deep.members(t)};B.notIncludeDeepMembers=function(e,t,r){new F(e,r,B.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};B.includeOrderedMembers=function(e,t,r){new F(e,r,B.includeOrderedMembers,!0).to.include.ordered.members(t)};B.notIncludeOrderedMembers=function(e,t,r){new F(e,r,B.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};B.includeDeepOrderedMembers=function(e,t,r){new F(e,r,B.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};B.notIncludeDeepOrderedMembers=function(e,t,r){new F(e,r,B.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};B.oneOf=function(e,t,r){new F(e,r,B.oneOf,!0).to.be.oneOf(t)};B.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${at(e)} to be an iterable`:`expected ${at(e)} to be an iterable`,new st(t,void 0,B.isIterable)};B.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,B.changes,!0).to.change(t,r)};B.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new F(e,o,B.changesBy,!0).to.change(t,r).by(n)};B.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,B.doesNotChange,!0).to.not.change(t,r)};B.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new F(e,o,B.changesButNotBy,!0).to.change(t,r).but.not.by(n)};B.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,B.increases,!0).to.increase(t,r)};B.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new F(e,o,B.increasesBy,!0).to.increase(t,r).by(n)};B.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,B.doesNotIncrease,!0).to.not.increase(t,r)};B.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new F(e,o,B.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};B.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,B.decreases,!0).to.decrease(t,r)};B.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new F(e,o,B.decreasesBy,!0).to.decrease(t,r).by(n)};B.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,B.doesNotDecrease,!0).to.not.decrease(t,r)};B.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);return new F(e,o,B.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};B.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new F(e,o,B.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};B.ifError=function(e){if(e)throw e};B.isExtensible=function(e,t){new F(e,t,B.isExtensible,!0).to.be.extensible};B.isNotExtensible=function(e,t){new F(e,t,B.isNotExtensible,!0).to.not.be.extensible};B.isSealed=function(e,t){new F(e,t,B.isSealed,!0).to.be.sealed};B.isNotSealed=function(e,t){new F(e,t,B.isNotSealed,!0).to.not.be.sealed};B.isFrozen=function(e,t){new F(e,t,B.isFrozen,!0).to.be.frozen};B.isNotFrozen=function(e,t){new F(e,t,B.isNotFrozen,!0).to.not.be.frozen};B.isEmpty=function(e,t){new F(e,t,B.isEmpty,!0).to.be.empty};B.isNotEmpty=function(e,t){new F(e,t,B.isNotEmpty,!0).to.not.be.empty};B.containsSubset=function(e,t,r){new F(e,r).to.containSubset(t)};B.doesNotContainSubset=function(e,t,r){new F(e,r).to.not.containSubset(t)};var zj=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of zj)B[t]=B[e];var $h=[];function ri(e){let t={use:ri,AssertionError:st,util:nn,config:lr,expect:Co,assert:B,Assertion:F,...gE};return~$h.indexOf(e)||(e(t,nn),$h.push(e)),t}ie(ri,"use");var bE={};mr(bE,{toAppearAfter:()=>HL,toAppearBefore:()=>hc,toBeChecked:()=>oT,toBeDisabled:()=>KE,toBeEmpty:()=>ME,toBeEmptyDOMElement:()=>LE,toBeEnabled:()=>XE,toBeInTheDOM:()=>lc,toBeInTheDocument:()=>jE,toBeInvalid:()=>eT,toBePartiallyChecked:()=>aT,toBePartiallyPressed:()=>dT,toBePressed:()=>cT,toBeRequired:()=>QE,toBeValid:()=>tT,toBeVisible:()=>HE,toContainElement:()=>uc,toContainHTML:()=>DE,toHaveAccessibleDescription:()=>cc,toHaveAccessibleErrorMessage:()=>$E,toHaveAccessibleName:()=>pc,toHaveAttribute:()=>BE,toHaveClass:()=>FE,toHaveDescription:()=>sT,toHaveDisplayValue:()=>nT,toHaveErrorMessage:()=>lT,toHaveFocus:()=>VE,toHaveFormValues:()=>UE,toHaveRole:()=>dc,toHaveSelection:()=>uT,toHaveStyle:()=>fc,toHaveTextContent:()=>kE,toHaveValue:()=>rT});var Bh=It(tg(),1);function vE(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function bp(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var EE={};vE(EE);bp(EE,"default",()=>TE);var TE=class extends Error{constructor(e,t,r,n,o){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=o}},wE={};vE(wE);bp(wE,"default",()=>_E);var _E=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},Yj={};bp(Yj,"CssTypes",()=>kt);var kt;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(kt||(kt={}));var cu=/\/\*[^]*?(?:\*\/|$)/g,Kj=(e,t)=>{t=t||{};let r=1,n=1;function o(fe){let ue=fe.match(/\n/g);ue&&(r+=ue.length);let Ne=fe.lastIndexOf(`
  178. `);n=~Ne?fe.length-Ne:n+fe.length}function i(){let fe={line:r,column:n};return function(ue){return ue.position=new _E(fe,{line:r,column:n},(t==null?void 0:t.source)||""),b(),ue}}let a=[];function l(fe){let ue=new TE((t==null?void 0:t.source)||"",fe,r,n,e);if(t!=null&&t.silent)a.push(ue);else throw ue}function d(){let fe=f();return{type:kt.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:fe,parsingErrors:a}}}function c(){return g(/^{\s*/)}function p(){return g(/^}/)}function f(){let fe,ue=[];for(b(),T(ue);e.length&&e.charAt(0)!=="}"&&(fe=Pe()||Ce());)fe&&(ue.push(fe),T(ue));return ue}function g(fe){let ue=fe.exec(e);if(!ue)return;let Ne=ue[0];return o(Ne),e=e.slice(Ne.length),ue}function b(){g(/^\s*/)}function T(fe){let ue;for(fe=fe||[];ue=w();)ue&&fe.push(ue);return fe}function w(){let fe=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let ue=g(/^\/\*[^]*?\*\//);return ue?fe({type:kt.comment,comment:ue[0].slice(2,-2)}):l("End of comment missing")}function R(fe,ue,Ne){let _e=ue+1,be=!1,Ge=fe.indexOf(")",_e);for(;!be&&Ge!==-1;){let Be=fe.indexOf("(",_e);Be!==-1&&Be<Ge?(_e=R(fe,Be+1)+1,Ge=fe.indexOf(")",_e)):be=!0}return be&&Ge!==-1?Ge:-1}function _(){let fe=g(/^([^{]+)/);if(!fe)return;let ue=Nr(fe[0]).replace(cu,"");if(ue.indexOf(",")===-1)return[ue];let Ne=0,_e=ue.indexOf("(",Ne);for(;_e!==-1;){let be=R(ue,_e);if(be===-1)break;Ne=be+1,ue=ue.substring(0,_e)+ue.substring(_e,be).replace(/,/g,"‌")+ue.substring(be),_e=ue.indexOf("(",Ne)}return ue=ue.replace(/("|')(?:\\\1|.)*?\1/g,be=>be.replace(/,/g,"‌")),ue.split(",").map(be=>Nr(be.replace(/\u200C/g,",")))}function A(){let fe=i(),ue=g(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!ue)return;let Ne=Nr(ue[0]);if(!g(/^:\s*/))return l("property missing ':'");let _e=g(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),be=fe({type:kt.declaration,property:Ne.replace(cu,""),value:_e?Nr(_e[0]).replace(cu,""):""});return g(/^[;\s]*/),be}function L(){let fe=[];if(!c())return l("missing '{'");T(fe);let ue;for(;ue=A();)ue&&(fe.push(ue),T(fe));return p()?fe:l("missing '}'")}function D(){let fe,ue=[],Ne=i();for(;fe=g(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)ue.push(fe[1]),g(/^,\s*/);if(ue.length)return Ne({type:kt.keyframe,values:ue,declarations:L()||[]})}function k(){let fe=i(),ue=g(/^@([-\w]+)?keyframes\s*/);if(!ue)return;let Ne=ue[1],_e=g(/^([-\w]+)\s*/);if(!_e)return l("@keyframes missing name");let be=_e[1];if(!c())return l("@keyframes missing '{'");let Ge,Be=T();for(;Ge=D();)Be.push(Ge),Be=Be.concat(T());return p()?fe({type:kt.keyframes,name:be,vendor:Ne,keyframes:Be}):l("@keyframes missing '}'")}function h(){let fe=i(),ue=g(/^@supports *([^{]+)/);if(!ue)return;let Ne=Nr(ue[1]);if(!c())return l("@supports missing '{'");let _e=T().concat(f());return p()?fe({type:kt.supports,supports:Ne,rules:_e}):l("@supports missing '}'")}function C(){let fe=i();if(!g(/^@host\s*/))return;if(!c())return l("@host missing '{'");let ue=T().concat(f());return p()?fe({type:kt.host,rules:ue}):l("@host missing '}'")}function x(){let fe=i(),ue=g(/^@container *([^{]+)/);if(!ue)return;let Ne=Nr(ue[1]);if(!c())return l("@container missing '{'");let _e=T().concat(f());return p()?fe({type:kt.container,container:Ne,rules:_e}):l("@container missing '}'")}function j(){let fe=i(),ue=g(/^@layer *([^{;@]+)/);if(!ue)return;let Ne=Nr(ue[1]);if(!c())return g(/^[;\s]*/),fe({type:kt.layer,layer:Ne});let _e=T().concat(f());return p()?fe({type:kt.layer,layer:Ne,rules:_e}):l("@layer missing '}'")}function Z(){let fe=i(),ue=g(/^@media *([^{]+)/);if(!ue)return;let Ne=Nr(ue[1]);if(!c())return l("@media missing '{'");let _e=T().concat(f());return p()?fe({type:kt.media,media:Ne,rules:_e}):l("@media missing '}'")}function G(){let fe=i(),ue=g(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(ue)return fe({type:kt.customMedia,name:Nr(ue[1]),media:Nr(ue[2])})}function oe(){let fe=i();if(!g(/^@page */))return;let ue=_()||[];if(!c())return l("@page missing '{'");let Ne=T(),_e;for(;_e=A();)Ne.push(_e),Ne=Ne.concat(T());return p()?fe({type:kt.page,selectors:ue,declarations:Ne}):l("@page missing '}'")}function U(){let fe=i(),ue=g(/^@([-\w]+)?document *([^{]+)/);if(!ue)return;let Ne=Nr(ue[1]),_e=Nr(ue[2]);if(!c())return l("@document missing '{'");let be=T().concat(f());return p()?fe({type:kt.document,document:_e,vendor:Ne,rules:be}):l("@document missing '}'")}function I(){let fe=i();if(!g(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let ue=T(),Ne;for(;Ne=A();)ue.push(Ne),ue=ue.concat(T());return p()?fe({type:kt.fontFace,declarations:ue}):l("@font-face missing '}'")}function V(){let fe=i();if(!g(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let ue=T().concat(f());return p()?fe({type:kt.startingStyle,rules:ue}):l("@starting-style missing '}'")}let K=xe("import"),ne=xe("charset"),he=xe("namespace");function xe(fe){let ue=new RegExp("^@"+fe+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let Ne=i(),_e=g(ue);if(!_e)return;let be={type:fe};return be[fe]=_e[1].trim(),Ne(be)}}function Pe(){if(e[0]==="@")return k()||Z()||G()||h()||K()||ne()||he()||U()||oe()||C()||I()||x()||V()||j()}function Ce(){let fe=i(),ue=_();return ue?(T(),fe({type:kt.rule,selectors:ue,declarations:L()||[]})):l("selector missing")}return ac(d())};function Nr(e){return e?e.trim():""}function ac(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let i=e[o];Array.isArray(i)?i.forEach(a=>{ac(a,n)}):i&&typeof i=="object"&&ac(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var Xj=Kj,Qj=Xj,Zj=Object.prototype.toString;function eM(e){return typeof e=="function"||Zj.call(e)==="[object Function]"}function tM(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var rM=Math.pow(2,53)-1;function nM(e){var t=tM(e);return Math.min(Math.max(t,0),rM)}function Vr(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var o=nM(n.length),i=eM(r)?Object(new r(o)):new Array(o),a=0,l;a<o;)l=n[a],i[a]=l,a+=1;return i.length=o,i}function la(e){"@babel/helpers - typeof";return la=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},la(e)}function oM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,SE(n.key),n)}}function aM(e,t,r){return t&&iM(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function sM(e,t,r){return t=SE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SE(e){var t=lM(e,"string");return la(t)==="symbol"?t:String(t)}function lM(e,t){if(la(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(la(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var uM=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];oM(this,e),sM(this,"items",void 0),this.items=t}return aM(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),cM=typeof Set>"u"?Set:uM;function nr(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var dM={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},pM={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function fM(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=pM[t])!==null&&n!==void 0&&n.has(r))})}function RE(e,t){return fM(e,t)}function hM(e){var t=yM(e);if(t===null||sc.indexOf(t)!==-1){var r=mM(e);if(sc.indexOf(t||"")===-1||RE(e,r||""))return r}return t}function mM(e){var t=dM[nr(e)];if(t!==void 0)return t;switch(nr(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!RE(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function yM(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var sc=["presentation","none"];function _t(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function OE(e){return _t(e)&&nr(e)==="caption"}function fs(e){return _t(e)&&nr(e)==="input"}function gM(e){return _t(e)&&nr(e)==="optgroup"}function bM(e){return _t(e)&&nr(e)==="select"}function vM(e){return _t(e)&&nr(e)==="table"}function EM(e){return _t(e)&&nr(e)==="textarea"}function TM(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function wM(e){return _t(e)&&nr(e)==="fieldset"}function _M(e){return _t(e)&&nr(e)==="legend"}function SM(e){return _t(e)&&nr(e)==="slot"}function RM(e){return _t(e)&&e.ownerSVGElement!==void 0}function OM(e){return _t(e)&&nr(e)==="svg"}function AM(e){return RM(e)&&nr(e)==="title"}function Is(e,t){if(_t(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function Tn(e,t){return _t(e)?t.indexOf(hM(e))!==-1:!1}function PM(e){return e.trim().replace(/\s\s+/g," ")}function CM(e,t){if(!_t(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function xM(e){return Tn(e,["button","combobox","listbox","textbox"])||AE(e,"range")}function AE(e,t){if(!_t(e))return!1;switch(t){case"range":return Tn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Fh(e,t){var r=Vr(e.querySelectorAll(t));return Is(e,"aria-owns").forEach(function(n){r.push.apply(r,Vr(n.querySelectorAll(t)))}),r}function NM(e){return bM(e)?e.selectedOptions||Fh(e,"[selected]"):Fh(e,'[aria-selected="true"]')}function IM(e){return Tn(e,sc)}function qM(e){return OE(e)}function jM(e){return Tn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function MM(e){return!1}function LM(e){return fs(e)||EM(e)?e.value:e.textContent||""}function Vh(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function PE(e){var t=nr(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function CE(e){if(PE(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&_t(r)){var n=CE(r);n!==null&&(t=n)}}),t}function DM(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):CE(e)}function kM(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Vr(t);if(!PE(e))return null;var r=e.ownerDocument;return Vr(r.querySelectorAll("label")).filter(function(n){return DM(n)===e})}function $M(e){var t=e.assignedNodes();return t.length===0?Vr(e.childNodes):t}function xE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new cM,n=TM(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,l=a===void 0?t.getComputedStyle!==void 0:a,d=t.getComputedStyle,c=d===void 0?n.getComputedStyle.bind(n):d,p=t.hidden,f=p===void 0?!1:p;function g(_,A){var L="";if(_t(_)&&l){var D=c(_,"::before"),k=Vh(D);L="".concat(k," ").concat(L)}var h=SM(_)?$M(_):Vr(_.childNodes).concat(Is(_,"aria-owns"));if(h.forEach(function(j){var Z=R(j,{isEmbeddedInLabel:A.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),G=_t(j)?c(j).getPropertyValue("display"):"inline",oe=G!=="inline"?" ":"";L+="".concat(oe).concat(Z).concat(oe)}),_t(_)&&l){var C=c(_,"::after"),x=Vh(C);L="".concat(L," ").concat(x)}return L.trim()}function b(_,A){var L=_.getAttributeNode(A);return L!==null&&!r.has(L)&&L.value.trim()!==""?(r.add(L),L.value):null}function T(_){return _t(_)?b(_,"title"):null}function w(_){if(!_t(_))return null;if(wM(_)){r.add(_);for(var A=Vr(_.childNodes),L=0;L<A.length;L+=1){var D=A[L];if(_M(D))return R(D,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(vM(_)){r.add(_);for(var k=Vr(_.childNodes),h=0;h<k.length;h+=1){var C=k[h];if(OE(C))return R(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(OM(_)){r.add(_);for(var x=Vr(_.childNodes),j=0;j<x.length;j+=1){var Z=x[j];if(AM(Z))return Z.textContent}return null}else if(nr(_)==="img"||nr(_)==="area"){var G=b(_,"alt");if(G!==null)return G}else if(gM(_)){var oe=b(_,"label");if(oe!==null)return oe}if(fs(_)&&(_.type==="button"||_.type==="submit"||_.type==="reset")){var U=b(_,"value");if(U!==null)return U;if(_.type==="submit")return"Submit";if(_.type==="reset")return"Reset"}var I=kM(_);if(I!==null&&I.length!==0)return r.add(_),Vr(I).map(function(he){return R(he,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(he){return he.length>0}).join(" ");if(fs(_)&&_.type==="image"){var V=b(_,"alt");if(V!==null)return V;var K=b(_,"title");return K!==null?K:"Submit Query"}if(Tn(_,["button"])){var ne=g(_,{isEmbeddedInLabel:!1});if(ne!=="")return ne}return null}function R(_,A){if(r.has(_))return"";if(!f&&CM(_,c)&&!A.isReferenced)return r.add(_),"";var L=_t(_)?_.getAttributeNode("aria-labelledby"):null,D=L!==null&&!r.has(L)?Is(_,"aria-labelledby"):[];if(i==="name"&&!A.isReferenced&&D.length>0)return r.add(L),D.map(function(G){return R(G,{isEmbeddedInLabel:A.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var k=A.recursion&&xM(_)&&i==="name";if(!k){var h=(_t(_)&&_.getAttribute("aria-label")||"").trim();if(h!==""&&i==="name")return r.add(_),h;if(!IM(_)){var C=w(_);if(C!==null)return r.add(_),C}}if(Tn(_,["menu"]))return r.add(_),"";if(k||A.isEmbeddedInLabel||A.isReferenced){if(Tn(_,["combobox","listbox"])){r.add(_);var x=NM(_);return x.length===0?fs(_)?_.value:"":Vr(x).map(function(G){return R(G,{isEmbeddedInLabel:A.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(AE(_,"range"))return r.add(_),_.hasAttribute("aria-valuetext")?_.getAttribute("aria-valuetext"):_.hasAttribute("aria-valuenow")?_.getAttribute("aria-valuenow"):_.getAttribute("value")||"";if(Tn(_,["textbox"]))return r.add(_),LM(_)}if(jM(_)||_t(_)&&A.isReferenced||qM(_)||MM()){var j=g(_,{isEmbeddedInLabel:A.isEmbeddedInLabel});if(j!=="")return r.add(_),j}if(_.nodeType===_.TEXT_NODE)return r.add(_),_.textContent||"";if(A.recursion)return r.add(_),g(_,{isEmbeddedInLabel:A.isEmbeddedInLabel});var Z=T(_);return Z!==null?(r.add(_),Z):(r.add(_),"")}return PM(R(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function ua(e){"@babel/helpers - typeof";return ua=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},ua(e)}function Uh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Jh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Uh(Object(r),!0).forEach(function(n){BM(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Uh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function BM(e,t,r){return t=FM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function FM(e){var t=VM(e,"string");return ua(t)==="symbol"?t:String(t)}function VM(e,t){if(ua(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ua(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function UM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Is(e,"aria-describedby").map(function(i){return xE(i,Jh(Jh({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function JM(e){return Tn(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function HM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return JM(e)?"":xE(e,t)}var vp=It(Xc(),1),GM=It(Yc(),1),WM=It(rg(),1),NE=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(`
  179. `)}},Hh=class extends NE{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},Gh=class extends NE{constructor(...e){super("be a Node",...e)}};function IE(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function zM(e,...t){IE(e,Gh,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Gh(e,...t)}function nt(e,...t){IE(e,Hh,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Hh(e,...t)}var YM=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
  180. `)}};function KM(e,...t){let r=Qj(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new YM({css:e,message:`Syntax error parsing expected css: ${n} on line: ${o}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:o,value:i})=>Object.assign(n,{[o]:i}),{})}function Wh(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Jt(e,t,r,n,o,i){return[`${t}
  181. `,`${r}:
  182. ${e.utils.EXPECTED_COLOR((0,Bh.default)(Wh(e,n),2))}`,`${o}:
  183. ${e.utils.RECEIVED_COLOR((0,Bh.default)(Wh(e,i),2))}`].join(`
  184. `)}function XM(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function yl(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function gl(e){return e.replace(/\s+/g," ").trim()}function eo(e){return e.tagName&&e.tagName.toLowerCase()}function QM({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function ZM(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var eL=["meter","progressbar","slider","spinbutton"];function tL(e){if(eL.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function qE(e){if(e)switch(e.tagName.toLowerCase()){case"input":return ZM(e);case"select":return QM(e);default:return e.value??tL(e)}}function rL(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function Ep(e,t){return Array.isArray(e)&&Array.isArray(t)?[...new Set(e)].every(r=>new Set(t).has(r)):e===t}function lc(e,t){return yl("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&nt(e,lc,this),t&&nt(t,lc,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
  185. `)}}function jE(e){(e!==null||!this.isNot)&&nt(e,jE,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
  186. `)}}function ME(e){return yl("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),nt(e,ME,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
  187. `)}}function LE(e){return nt(e,LE,this),{pass:nL(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
  188. `)}}function nL(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function uc(e,t){return nt(e,uc,this),t!==null&&nt(t,uc,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
  189. `)].join(`
  190. `)}}function oL(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function DE(e,t){if(nt(e,DE,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(oL(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
  191. `)}}function kE(e,t,r={normalizeWhitespace:!0}){zM(e,kE,this);let n=r.normalizeWhitespace?gl(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&XM(n,t),message:()=>{let i=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${i} have text content`,t,"Received",n)}}}function cc(e,t){nt(e,cc,this);let r=UM(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${cc.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)}}}var $i="aria-invalid",iL=["false"];function $E(e,t){var l;nt(e,$E,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return{pass:!1,message:()=>Jt(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let i=e.getAttribute($i);if(!e.hasAttribute($i)||iL.includes(i))return{pass:!1,message:()=>Jt(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${$i}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${$i}="${e.getAttribute($i)}`:null)};let a=gl(((l=e.ownerDocument.getElementById(o))==null?void 0:l.textContent)??"");return{pass:t===void 0?!!a:t instanceof RegExp?t.test(a):this.equals(a,t),message:()=>Jt(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",a)}}var aL=uL(vp.elementRoles);function dc(e,t){nt(e,dc,this);let r=sL(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${dc.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function sL(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):lL(e)}function lL(e){for(let{match:t,roles:r}of aL)if(t(e))return[...r];return[]}function uL(e){function t({name:a,attributes:l}){return`${a}${l.map(({name:d,value:c,constraints:p=[]})=>p.indexOf("undefined")!==-1?`:not([${d}])`:c?`[${d}="${c}"]`:`[${d}]`).join("")}`}function r({attributes:a=[]}){return a.length}function n({specificity:a},{specificity:l}){return l-a}function o(a){let{attributes:l=[]}=a,d=l.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");d>=0&&(l=[...l.slice(0,d),...l.slice(d+1)]);let c=t({...a,attributes:l});return p=>d>=0&&p.type!=="text"?!1:p.matches(c)}let i=[];for(let[a,l]of e.entries())i=[...i,{match:o(a),roles:Array.from(l),specificity:r(a)}];return i.sort(n)}function pc(e,t){nt(e,pc,this);let r=HM(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${pc.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)}}}function zh(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function cL(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function BE(e,t,r){nt(e,BE,this);let n=r!==void 0,o=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?o&&this.equals(i,r):o,message:()=>{let a=this.isNot?"not to":"to",l=o?zh(this.utils.stringify,t,i):null,d=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:cL(this.utils.stringify,t,r)});return Jt(this,d,`Expected the element ${a} have attribute`,zh(this.utils.stringify,t,r),"Received",l)}}}function dL(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function Yh(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function Kh(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function FE(e,...t){nt(e,FE,this);let{expectedClassNames:r,options:n}=dL(t),o=Yh(e.getAttribute("class")),i=r.reduce((l,d)=>l.concat(typeof d=="string"||!d?Yh(d):d),[]),a=i.some(l=>l instanceof RegExp);if(n.exact&&a)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Kh(i,o)&&i.length===o.length,message:()=>{let l=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,i.join(" "),"Received",o.join(" "))}}:i.length>0?{pass:Kh(i,o),message:()=>{let l=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have class`,i.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?Jt(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
  192. `)}}function pL(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o]}),r}function fL(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),i=[r];return o||i.push(r.toLowerCase()),i.some(a=>t[a]===n||t.getPropertyValue(a)===n)})}function Xh(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
  193. `)}function hL(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,i)=>Object.assign(o,{[i]:r.getPropertyValue(i)}),{});return e(Xh(t),Xh(n)).replace(`${GM.default.red("+ Received")}
  194. `,"")}function fc(e,t){nt(e,fc,this);let r=typeof t=="object"?t:KM(t,fc,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=pL(e.ownerDocument,r),i=n(e);return{pass:fL(o,i),message:()=>{let a=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(a,"element",""),hL(this.utils.diff,o,i)].join(`
  195. `)}}}function VE(e){return nt(e,VE,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
  196. `)}}function mL(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function yL(e,t){let r=[...e.querySelectorAll(`[name="${(0,WM.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return qE(r[0]);default:return mL(r)}}function gL(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function bL(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[gL(r)]:yL(e,r)}),{})}function UE(e,t){if(nt(e,UE,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=bL(e);return{pass:Object.entries(t).every(([n,o])=>Ep(r[n],o)),message:()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(a=>t.hasOwnProperty(a)).reduce((a,l)=>({...a,[l]:r[l]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,i)].join(`
  197. `)}}}function vL(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}function EL(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function JE(e,t){return vL(e)&&EL(e,t)&&(!e.parentElement||JE(e.parentElement,e))}function HE(e){nt(e,HE,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&JE(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
  198. `)}}}var TL=["fieldset","input","select","optgroup","option","button","textarea"];function wL(e,t){return eo(e)==="legend"&&eo(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>eo(r)==="legend"))}function _L(e,t){return WE(t)&&!wL(e,t)}function SL(e){return e.includes("-")}function GE(e){let t=eo(e);return TL.includes(t)||SL(t)}function WE(e){return GE(e)&&e.hasAttribute("disabled")}function zE(e){let t=e.parentElement;return!!t&&(_L(e,t)||zE(t))}function YE(e){return GE(e)&&(WE(e)||zE(e))}function KE(e){nt(e,KE,this);let t=YE(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
  199. `)}}}function XE(e){nt(e,XE,this);let t=!YE(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
  200. `)}}}var RL=["select","textarea"],OL=["input","select","textarea"],AL=["color","hidden","range","submit","image","reset"],PL=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function CL(e){return RL.includes(eo(e))&&e.hasAttribute("required")}function xL(e){return eo(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!AL.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function NL(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(OL.includes(eo(e))||e.hasAttribute("role")&&PL.includes(e.getAttribute("role")))}function QE(e){nt(e,QE,this);let t=CL(e)||xL(e)||NL(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
  201. `)}}}var IL=["form","input","select","textarea"];function qL(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function jL(e){return IL.includes(eo(e))}function ZE(e){let t=qL(e);return jL(e)?t||!e.checkValidity():t}function eT(e){nt(e,eT,this);let t=ZE(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
  202. `)}}}function tT(e){nt(e,tT,this);let t=!ZE(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
  203. `)}}}function rT(e,t){if(nt(e,rT,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=qE(e),n=t!==void 0,o=t,i=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:n?Ep(r,t):!!r,message:()=>{let a=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Jt(this,l,`Expected the element ${a} have value`,n?o:"(any)","Received",i)}}}function nT(e,t){nt(e,nT,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=ML(r,e),o=LL(t),i=o.filter(d=>n.some(c=>d instanceof RegExp?d.test(c):this.equals(c,String(d)))).length,a=i===n.length,l=i===o.length;return{pass:a&&l,message:()=>Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function ML(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function LL(e){return e instanceof Array?e:[e]}function oT(e){nt(e,oT,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>iT(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${DL()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
  204. `)}}}function DL(){return rL(kL().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function kL(){return vp.roles.keys().filter(iT)}function iT(e){var t;return((t=vp.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function aT(e){nt(e,aT,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
  205. `)}}}function sT(e,t){yl("toHaveDescription","Please use toHaveAccessibleDescription."),nt(e,sT,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,a=n.map(l=>i.getElementById(l)).filter(Boolean);o=gl(a.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function lT(e,t){if(yl("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),nt(e,lT,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:()=>Jt(this,this.utils.matcherHint(`${i}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,a=n.map(l=>i.getElementById(l)).filter(Boolean);o=gl(a.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${i} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function $L(e){let t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";let r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let i=e===r.startContainer||e.contains(r.startContainer),a=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(i||a)&&(n.selectNodeContents(e),i&&n.setStart(r.startContainer,r.startOffset),a&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let o=t.toString();return t.removeAllRanges(),t.addRange(r),o}function uT(e,t){nt(e,uT,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=$L(e);return{pass:r?Ep(n,t):!!n,message:()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Jt(this,i,`Expected the element ${o} have selection`,r?t:"(any)","Received",n)}}}function cT(e){nt(e,cT,this);let t=(e.getAttribute("role")||"").split(" ").map(o=>o.trim()),r=e.tagName.toLowerCase()==="button"||e.tagName.toLowerCase()==="input"&&e.type==="button"||t.includes("button"),n=e.getAttribute("aria-pressed");return!r||!(n==="true"||n==="false")?{pass:!1,message:()=>'Only button or input with type="button" or element with role="button" and a valid aria-pressed attribute can be used with .toBePressed()'}:{pass:r&&n==="true",message:()=>{let o=this.utils.matcherHint(`${this.isNot?".not":""}.toBePressed`,"element","");return Jt(this,o,"Expected element to have",`aria-pressed="${this.isNot?"false":"true"}"`,"Received",`aria-pressed="${n}"`)}}}function dT(e){nt(e,dT,this);let t=(e.getAttribute("role")||"").split(" ").map(o=>o.trim()),r=e.tagName.toLowerCase()==="button"||e.tagName.toLowerCase()==="input"&&e.type==="button"||t.includes("button"),n=e.getAttribute("aria-pressed");return!r||!(n==="true"||n==="false"||n==="mixed")?{pass:!1,message:()=>'Only button or input with type="button" or element with role="button" and a valid aria-pressed attribute can be used with .toBePartiallyPressed()'}:{pass:r&&n==="mixed",message:()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyPressed`,"element","");return Jt(this,i,`Expected element ${o} have`,'aria-pressed="mixed"',"Received",`aria-pressed="${n}"`)}}}var BL=1,pT=2,fT=4,FL=8,VL=16,UL=32,Qh={[BL]:"Node.DOCUMENT_POSITION_DISCONNECTED",[pT]:"Node.DOCUMENT_POSITION_PRECEDING",[fT]:"Node.DOCUMENT_POSITION_FOLLOWING",[FL]:"Node.DOCUMENT_POSITION_CONTAINS",[VL]:"Node.DOCUMENT_POSITION_CONTAINED_BY",[UL]:"Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC"};function JL(e){return e in Qh?`${Qh[e]} (${e})`:`Unknown document position (${e})`}function hT(e,t){return function(r,n){nt(r,hc,this),nt(n,hc,this);let o=r.compareDocumentPosition(n);return{pass:o===t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.${e}`,"element","secondElement"),"",`Received: ${JL(o)}`].join(`
  206. `)}}}function hc(e,t){return hT("toAppearBefore",fT).apply(this,[e,t])}function HL(e,t){return hT("toAppearAfter",pT).apply(this,[e,t])}It(tg(),1);It(Xc(),1);It(Yc(),1);It(rg(),1);var du,Zh;function GL(){if(Zh)return du;Zh=1;var e,t,r,n,o,i,a,l,d,c,p,f,g,b,T,w,R,_,A;return g=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,f=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,T=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,p=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,w=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,A=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,d=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,b=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,o=/[^<>{}]+/y,_=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,R=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,i=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,a=/^(?:return|throw|yield)$/,c=RegExp(l.source),du=function*(L,{jsx:D=!1}={}){var k,h,C,x,j,Z,G,oe,U,I,V,K,ne,he;for({length:Z}=L,x=0,j="",he=[{tag:"JS"}],k=[],V=0,K=!1;x<Z;){switch(oe=he[he.length-1],oe.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(L[x]==="/"&&(_.test(j)||i.test(j))&&(g.lastIndex=x,G=g.exec(L))){x=g.lastIndex,j=G[0],K=!0,yield{type:"RegularExpressionLiteral",value:G[0],closed:G[1]!==void 0&&G[1]!=="\\"};continue}if(f.lastIndex=x,G=f.exec(L)){switch(ne=G[0],U=f.lastIndex,I=ne,ne){case"(":j==="?NonExpressionParenKeyword"&&he.push({tag:"JSNonExpressionParen",nesting:V}),V++,K=!1;break;case")":V--,K=!0,oe.tag==="JSNonExpressionParen"&&V===oe.nesting&&(he.pop(),I="?NonExpressionParenEnd",K=!1);break;case"{":f.lastIndex=0,C=!R.test(j)&&(_.test(j)||i.test(j)),k.push(C),K=!1;break;case"}":switch(oe.tag){case"InterpolationInTemplate":if(k.length===oe.nesting){w.lastIndex=x,G=w.exec(L),x=w.lastIndex,j=G[0],G[1]==="${"?(j="?InterpolationInTemplate",K=!1,yield{type:"TemplateMiddle",value:G[0]}):(he.pop(),K=!0,yield{type:"TemplateTail",value:G[0],closed:G[1]==="`"});continue}break;case"InterpolationInJSX":if(k.length===oe.nesting){he.pop(),x+=1,j="}",yield{type:"JSXPunctuator",value:"}"};continue}}K=k.pop(),I=K?"?ExpressionBraceEnd":"}";break;case"]":K=!0;break;case"++":case"--":I=K?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(D&&(_.test(j)||i.test(j))){he.push({tag:"JSXTag"}),x+=1,j="<",yield{type:"JSXPunctuator",value:ne};continue}K=!1;break;default:K=!1}x=U,j=I,yield{type:"Punctuator",value:ne};continue}if(e.lastIndex=x,G=e.exec(L)){switch(x=e.lastIndex,I=G[0],G[0]){case"for":case"if":case"while":case"with":j!=="."&&j!=="?."&&(I="?NonExpressionParenKeyword")}j=I,K=!i.test(G[0]),yield{type:G[1]==="#"?"PrivateIdentifier":"IdentifierName",value:G[0]};continue}if(T.lastIndex=x,G=T.exec(L)){x=T.lastIndex,j=G[0],K=!0,yield{type:"StringLiteral",value:G[0],closed:G[2]!==void 0};continue}if(p.lastIndex=x,G=p.exec(L)){x=p.lastIndex,j=G[0],K=!0,yield{type:"NumericLiteral",value:G[0]};continue}if(w.lastIndex=x,G=w.exec(L)){x=w.lastIndex,j=G[0],G[1]==="${"?(j="?InterpolationInTemplate",he.push({tag:"InterpolationInTemplate",nesting:k.length}),K=!1,yield{type:"TemplateHead",value:G[0]}):(K=!0,yield{type:"NoSubstitutionTemplate",value:G[0],closed:G[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=x,G=r.exec(L)){switch(x=r.lastIndex,I=G[0],G[0]){case"<":he.push({tag:"JSXTag"});break;case">":he.pop(),j==="/"||oe.tag==="JSXTagEnd"?(I="?JSX",K=!0):he.push({tag:"JSXChildren"});break;case"{":he.push({tag:"InterpolationInJSX",nesting:k.length}),I="?InterpolationInJSX",K=!1;break;case"/":j==="<"&&(he.pop(),he[he.length-1].tag==="JSXChildren"&&he.pop(),he.push({tag:"JSXTagEnd"}))}j=I,yield{type:"JSXPunctuator",value:G[0]};continue}if(t.lastIndex=x,G=t.exec(L)){x=t.lastIndex,j=G[0],yield{type:"JSXIdentifier",value:G[0]};continue}if(n.lastIndex=x,G=n.exec(L)){x=n.lastIndex,j=G[0],yield{type:"JSXString",value:G[0],closed:G[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=x,G=o.exec(L)){x=o.lastIndex,j=G[0],yield{type:"JSXText",value:G[0]};continue}switch(L[x]){case"<":he.push({tag:"JSXTag"}),x++,j="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":he.push({tag:"InterpolationInJSX",nesting:k.length}),x++,j="?InterpolationInJSX",K=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(A.lastIndex=x,G=A.exec(L)){x=A.lastIndex,yield{type:"WhiteSpace",value:G[0]};continue}if(l.lastIndex=x,G=l.exec(L)){x=l.lastIndex,K=!1,a.test(j)&&(j="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:G[0]};continue}if(d.lastIndex=x,G=d.exec(L)){x=d.lastIndex,c.test(G[0])&&(K=!1,a.test(j)&&(j="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:G[0],closed:G[1]!==void 0};continue}if(b.lastIndex=x,G=b.exec(L)){x=b.lastIndex,K=!1,yield{type:"SingleLineComment",value:G[0]};continue}h=String.fromCodePoint(L.codePointAt(x)),x+=h.length,j=h,K=!1,yield{type:oe.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:h}}},du}var WL=GL();pv(WL);var mT={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(mT.keyword);new Set(mT.strict);var zL={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},yT=Object.entries(zL);function bl(e){return String(e)}bl.open="";bl.close="";yT.reduce((e,[t])=>(e[t]=bl,e),{isColorSupported:!1});function YL(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function KL(e=!1){let t=YL(e),r=(a,l,d,c)=>{let p="",f=0;do p+=a.substring(f,c)+d,f=c+l.length,c=a.indexOf(l,f);while(~c);return p+a.substring(f)},n=(a,l,d=a)=>{let c=p=>{let f=String(p),g=f.indexOf(l,a.length);return~g?a+r(f,l,d,g)+l:a+f+l};return c.open=a,c.close=l,c},o={isColorSupported:t},i=a=>`\x1B[${a}m`;for(let[a,l]of yT)o[a]=t?n(i(l[0]),i(l[1]),l[2]):bl;return o}var _r=KL();function hs(e,t){if(!e)throw new Error(t)}function Zo(e,t){return typeof t===e}function XL(e){return e instanceof Promise}function ca(e,t,r){Object.defineProperty(e,t,r)}function ni(e,t,r){ca(e,t,{value:r,configurable:!0,writable:!0})}var to=Symbol.for("tinyspy:spy"),QL=new Set,ZL=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},eD=e=>(ca(e,to,{value:{reset:()=>ZL(e[to])}}),e[to]),mc=e=>e[to]||eD(e);function tD(e){hs(Zo("function",e)||Zo("undefined",e),"cannot spy on a non-function value");let t=function(...n){let o=mc(t);o.called=!0,o.callCount++,o.calls.push(n);let i=o.next.shift();if(i){o.results.push(i);let[p,f]=i;if(p==="ok")return f;throw f}let a,l="ok",d=o.results.length;if(o.impl)try{new.target?a=Reflect.construct(o.impl,n,new.target):a=o.impl.apply(this,n),l="ok"}catch(p){throw a=p,l="error",o.results.push([l,p]),p}let c=[l,a];return XL(a)&&a.then(p=>o.resolves[d]=["ok",p],p=>o.resolves[d]=["error",p]),o.results.push(c),a};ni(t,"_isMockFunction",!0),ni(t,"length",e?e.length:0),ni(t,"name",e&&e.name||"spy");let r=mc(t);return r.reset(),r.impl=e,t}function rD(e){return!!e&&e._isMockFunction===!0}var gT=(e,t)=>{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return[e,r];let n=Object.getPrototypeOf(e);for(;n!==null;){let o=Object.getOwnPropertyDescriptor(n,t);if(o)return[n,o];n=Object.getPrototypeOf(n)}},em=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function bT(e,t,r){hs(!Zo("undefined",e),"spyOn could not find an object to spy upon"),hs(Zo("object",e)||Zo("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!Zo("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),[i,a]=gT(e,n)||[];hs(a||n in e,`${String(n)} does not exist`);let l=!1;o==="value"&&a&&!a.value&&a.get&&(o="get",l=!0,r=a.get());let d;a?d=a[o]:o!=="value"?d=()=>e[n]:d=e[n],d&&aD(d)&&(d=d[to].getOriginal());let c=b=>{let{value:T,...w}=a||{configurable:!0,writable:!0};o!=="value"&&delete w.writable,w[o]=b,ca(e,n,w)},p=()=>{i!==e?Reflect.deleteProperty(e,n):a&&!d?ca(e,n,a):c(d)};r||(r=d);let f=iD(tD(r),r);o==="value"&&em(f,d);let g=f[to];return ni(g,"restore",p),ni(g,"getOriginal",()=>l?d():d),ni(g,"willCall",b=>(g.impl=b,f)),c(l?()=>(em(f,r),f):f),QL.add(f),f}var nD=new Set(["length","name","prototype"]);function oD(e){let t=new Set,r={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let o of n)r[o]||nD.has(o)||(t.add(o),r[o]=Object.getOwnPropertyDescriptor(e,o));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}function iD(e,t){if(!t||to in t)return e;let{properties:r,descriptors:n}=oD(t);for(let o of r){let i=n[o];gT(e,o)||ca(e,o,i)}return e}function aD(e){return rD(e)&&"getOriginal"in e[to]}var Ia=new Set;function oi(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function sD(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o,i=uD(e,t),a=i&&i[r||"value"];oi(a)&&(o=a.mock._state());try{let l=bT(e,n),d=vT(l);return o&&d.mock._state(o),d}catch(l){throw l instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(l.message.includes("Cannot redefine property")||l.message.includes("Cannot replace module namespace")||l.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(n)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:l}):l}}var lD=0;function vT(e){let t=e,r,n=[],o=!1,i=[],a=[],l=[],d=mc(e),c={get calls(){return d.calls},get contexts(){return a},get instances(){return i},get invocationCallOrder(){return l},get results(){return d.results.map(([b,T])=>({type:b==="error"?"throw":"return",value:T}))},get settledResults(){return d.resolves.map(([b,T])=>({type:b==="error"?"rejected":"fulfilled",value:T}))},get lastCall(){return d.calls[d.calls.length-1]},_state(b){return b&&(r=b.implementation,n=b.onceImplementations,o=b.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:o}}};function p(...b){return i.push(this),a.push(this),l.push(++lD),(o?r:n.shift()||r||d.getOriginal()||(()=>{})).apply(this,b)}let f=t.name;t.getMockName=()=>f||"vi.fn()",t.mockName=b=>(f=b,t),t.mockClear=()=>(d.reset(),i=[],a=[],l=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),d.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>o?r:n.at(0)||r,t.mockImplementation=b=>(r=b,d.willCall(p),t),t.mockImplementationOnce=b=>(n.push(b),t);function g(b,T){let w=r;r=b,d.willCall(p),o=!0;let R=()=>{r=w,o=!1},_=T();return typeof _=="object"&&_&&typeof _.then=="function"?_.then(()=>(R(),t)):(R(),t)}return t.withImplementation=g,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=b=>t.mockImplementation(()=>b),t.mockReturnValueOnce=b=>t.mockImplementationOnce(()=>b),t.mockResolvedValue=b=>t.mockImplementation(()=>Promise.resolve(b)),t.mockResolvedValueOnce=b=>t.mockImplementationOnce(()=>Promise.resolve(b)),t.mockRejectedValue=b=>t.mockImplementation(()=>Promise.reject(b)),t.mockRejectedValueOnce=b=>t.mockImplementationOnce(()=>Promise.reject(b)),Object.defineProperty(t,"mock",{get:()=>c}),d.willCall(p),Ia.add(t),t}function tm(e){let t=vT(bT({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}function uD(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;let n=Object.getPrototypeOf(e);for(;n!==null;){let o=Object.getOwnPropertyDescriptor(n,t);if(o)return o;n=Object.getPrototypeOf(n)}}var da=Symbol.for("matchers-object"),pa=Symbol.for("$$jest-matchers-object-storybook"),Tp=Symbol.for("expect-global"),yc=Symbol.for("asymmetric-matchers-object"),cD={toSatisfy(e,t,r){let{printReceived:n,printExpected:o,matcherHint:i}=this.utils,a=t(e);return{pass:a,message:()=>a?`${i(".not.toSatisfy","received","")}
  207. Expected value to not satisfy:
  208. ${r||o(t)}
  209. Received:
  210. ${n(e)}`:`${i(".toSatisfy","received","")}
  211. Expected value to satisfy:
  212. ${r||o(t)}
  213. Received:
  214. ${n(e)}`}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:o,printExpected:i,matcherHint:a}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${a(".toBeOneOf")}, not '${typeof t}'.`);let l=t.length===0||t.some(d=>r(d,e,n));return{pass:l,message:()=>l?`${a(".not.toBeOneOf","received","")}
  215. Expected value to not be one of:
  216. ${i(t)}
  217. Received:
  218. ${o(e)}`:`${a(".toBeOneOf","received","")}
  219. Expected value to be one of:
  220. ${i(t)}
  221. Received:
  222. ${o(e)}`}}},qs=_r.green,wp=_r.red,dD=_r.inverse,pD=_r.bold,Gn=_r.dim;function fD(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:a=!1,promise:l="",secondArgument:d="",expectedColor:c=qs,receivedColor:p=wp,secondArgumentColor:f=qs}=n,g="",b="expect";return!i&&t!==""&&(g+=Gn(`${b}(`)+p(t),b=")"),l!==""&&(g+=Gn(`${b}.`)+l,b=""),a&&(g+=`${Gn(`${b}.`)}not`,b=""),e.includes(".")?b+=e:(g+=Gn(`${b}.`)+e,b=""),r===""?b+="()":(g+=Gn(`${b}(`)+c(r),d&&(g+=Gn(", ")+f(d)),b=")"),o!==""&&(b+=` // ${o}`),b!==""&&(g+=Gn(b)),g}var hD="·";function ET(e){return e.replace(/\s+$/gm,t=>hD.repeat(t.length))}function mD(e){return wp(ET(Rr(e)))}function yD(e){return qs(ET(Rr(e)))}function TT(){return{EXPECTED_COLOR:qs,RECEIVED_COLOR:wp,INVERTED_COLOR:dD,BOLD_WEIGHT:pD,DIM_COLOR:Gn,diff:Si,matcherHint:fD,printReceived:mD,printExpected:yD,printDiffOrStringify:Av,printWithType:gD}}function gD(e,t,r){let n=Ss(t),o=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
  223. `:"",i=`${e} has value: ${r(t)}`;return o+i}function _p(){return globalThis[pa].customEqualityTesters}function lt(e,t,r,n){return r=r||[],Ki(e,t,[],[],r,n?wT:ED)}function rm(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Hr("Function",e.asymmetricMatch)}function bD(e,t){let r=rm(e),n=rm(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function Ki(e,t,r,n,o,i){let a=!0,l=bD(e,t);if(l!==void 0)return l;let d={equals:lt};for(let T=0;T<o.length;T++){let w=o[T].call(d,e,t,o);if(w!==void 0)return w}if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return!1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let T=+e,w=+t;return T===w||Number.isNaN(T)&&Number.isNaN(w)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(om(e)&&om(t))return e.isEqualNode(t);let p=r.length;for(;p--;){if(r[p]===e)return n[p]===t;if(n[p]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return vD(e,t,r,n,o,i)}finally{r.pop(),n.pop()}let f=nm(e,i),g,b=f.length;if(nm(t,i).length!==b)return!1;for(;b--;)if(g=f[b],a=i(t,g)&&Ki(e[g],t[g],r,n,o,i),!a)return!1;return r.pop(),n.pop(),a}function vD(e,t,r,n,o,i){let a=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&a&&(a=Ki(e.cause,t.cause,r,n,o,i)),e instanceof AggregateError&&t instanceof AggregateError&&a&&(a=Ki(e.errors,t.errors,r,n,o,i)),a&&(a=Ki({...e},{...t},r,n,o,i)),a}function nm(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function ED(e,t){return wT(e,t)&&e[t]!==void 0}function wT(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Hr(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function om(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var _T="@@__IMMUTABLE_KEYED__@@",ST="@@__IMMUTABLE_SET__@@",TD="@@__IMMUTABLE_LIST__@@",vl="@@__IMMUTABLE_ORDERED__@@",wD="@@__IMMUTABLE_RECORD__@@";function _D(e){return!!(e&&e[_T]&&!e[vl])}function SD(e){return!!(e&&e[ST]&&!e[vl])}function El(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function RD(e){return!!(e&&El(e)&&e[TD])}function OD(e){return!!(e&&El(e)&&e[_T]&&e[vl])}function AD(e){return!!(e&&El(e)&&e[ST]&&e[vl])}function PD(e){return!!(e&&El(e)&&e[wD])}var RT=Symbol.iterator;function im(e){return!!(e!=null&&e[RT])}function jr(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!im(e)||!im(t))return;if(e.constructor!==t.constructor)return!1;let i=n.length;for(;i--;)if(n[i]===e)return o[i]===t;n.push(e),o.push(t);let a=[...r.filter(c=>c!==jr),l];function l(c,p){return jr(c,p,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Hr("Set",e)||SD(e)){let c=!0;for(let p of e)if(!t.has(p)){let f=!1;for(let g of t)lt(p,g,a)===!0&&(f=!0);if(f===!1){c=!1;break}}return n.pop(),o.pop(),c}else if(Hr("Map",e)||_D(e)){let c=!0;for(let p of e)if(!t.has(p[0])||!lt(p[1],t.get(p[0]),a)){let f=!1;for(let g of t){let b=lt(p[0],g[0],a),T=!1;b===!0&&(T=lt(p[1],g[1],a)),T===!0&&(f=!0)}if(f===!1){c=!1;break}}return n.pop(),o.pop(),c}}let d=t[RT]();for(let c of e){let p=d.next();if(p.done||!lt(c,p.value,a))return!1}if(!d.next().done)return!1;if(!RD(e)&&!OD(e)&&!AD(e)&&!PD(e)){let c=Object.entries(e),p=Object.entries(t);if(!lt(c,p,a))return!1}return n.pop(),o.pop(),!0}function Sp(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Sp(Object.getPrototypeOf(e),t)}function CD(e){return ps(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function qa(e,t,r=[]){let n=r.filter(i=>i!==qa),o=(i=new WeakMap)=>(a,l)=>{if(CD(l))return Object.keys(l).every(d=>{if(l[d]!=null&&typeof l[d]=="object"){if(i.has(l[d]))return lt(a[d],l[d],n);i.set(l[d],!0)}let c=a!=null&&Sp(a,d)&&lt(a[d],l[d],[...n,o(i)]);return i.delete(l[d]),c})};return o()(e,t)}function am(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function sm(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}function gc(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),i=r.filter(a=>a!==gc);return lt(e,t,i,!0)&&lt(n,o)}function xD(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
  224. If it should pass with deep equality, replace "toBe" with "${e}"
  225. Expected: ${t}
  226. Received: serializes to the same string
  227. `:n}function ND(e,t){return`${t} ${e}${t===1?"":"s"}`}function pu(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}function ID(e,t,r){let n=0,o=(i=new WeakMap)=>(a,l)=>{if(Array.isArray(a)){if(Array.isArray(l)&&l.length===a.length)return l.map((d,c)=>o(i)(a[c],d))}else{if(a instanceof Date)return a;if(ps(a)&&ps(l)){if(lt(a,l,[...r,jr,qa]))return l;let d={};i.set(a,d),typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&Object.defineProperty(d,"constructor",{enumerable:!1,value:a.constructor});for(let c of pu(a))Sp(l,c)?d[c]=i.has(a[c])?i.get(a[c]):o(i)(a[c],l[c]):i.has(a[c])||(n+=1,ps(a[c])&&(n+=pu(a[c]).length),o(i)(a[c],l[c]));if(pu(d).length>0)return d}}return a};return{subset:o()(e,t),stripped:n}}if(!Object.prototype.hasOwnProperty.call(globalThis,da)){let e=new WeakMap;Object.defineProperty(globalThis,da,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,pa)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,pa,{configurable:!0,get:()=>({state:globalThis[da].get(globalThis[Tp]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,yc)){let e=Object.create(null);Object.defineProperty(globalThis,yc,{get:()=>e})}function js(e){return globalThis[da].get(e)}function fu(e,t){let r=globalThis[da],n=r.get(t)||{},o=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,o)}var Cn=class{constructor(e,t=!1){pr(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...js(e||globalThis[Tp]),equals:lt,isNot:this.inverse,customTesters:_p(),utils:{...TT(),diff:Si,stringify:Rr,iterableEquality:jr,subsetEquality:qa}}}};Cn.prototype[Symbol.for("chai/inspect")]=function(e){let t=Rr(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var lm=class extends Cn{constructor(e,t=!1){if(!Hr("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Hr("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},qD=class extends Cn{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},um=class extends Cn{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!lt(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},cm=class extends Cn{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(o=>lt(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},jD=class extends Cn{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||typeof e=="function":this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},dm=class extends Cn{constructor(e,t=!1){if(!Hr("String",e)&&!Hr("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Hr("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},pm=class extends Cn{constructor(t,r=2,n=!1){if(!Hr("Number",t))throw new Error("Expected is not a Number");if(!Hr("Number",r))throw new Error("Precision is not a Number");super(t);pr(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!Hr("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${ND("digit",this.precision)})`].join(" ")}},MD=(e,t)=>{t.addMethod(e.expect,"anything",()=>new qD),t.addMethod(e.expect,"any",r=>new jD(r)),t.addMethod(e.expect,"stringContaining",r=>new lm(r)),t.addMethod(e.expect,"objectContaining",r=>new um(r)),t.addMethod(e.expect,"arrayContaining",r=>new cm(r)),t.addMethod(e.expect,"stringMatching",r=>new dm(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new pm(r,n)),e.expect.not={stringContaining:r=>new lm(r,!0),objectContaining:r=>new um(r,!0),arrayContaining:r=>new cm(r,!0),stringMatching:r=>new dm(r,!0),closeTo:(r,n)=>new pm(r,n,!0)}};function fm(e,t,r){let n=e.flag(t,"negate")?"not.":"",o=`${e.flag(t,"_name")}(${r?"expected":""})`,i=e.flag(t,"promise");return`expect(actual)${i?`.${i}`:""}.${n}${o}`}function hm(e,t,r,n){let o=e;if(o&&t instanceof Promise){t=t.finally(()=>{if(!o.promises)return;let a=o.promises.indexOf(t);a!==-1&&o.promises.splice(a,1)}),o.promises||(o.promises=[]),o.promises.push(t);let i=!1;return o.onFinished??(o.onFinished=[]),o.onFinished.push(()=>{if(!i){var a;let l=(((a=globalThis.__vitest_worker__)===null||a===void 0?void 0:a.onFilterStackTrace)||(d=>d||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
  228. `,l].join(""))}}),{then(a,l){return i=!0,t.then(a,l)},catch(a){return t.catch(a)},finally(a){return t.finally(a)},[Symbol.toStringTag]:"Promise"}}return t}function mm(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(Md(t))}function OT(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{let i=r.apply(this,n);return i&&typeof i=="object"&&typeof i.then=="function"?i.then(Mq,a=>{mm(o,a)}):i}catch(i){mm(o,i)}}}var LD=(e,t)=>{let{AssertionError:r}=e,n=_p();function o(c,p){let f=g=>{let b=OT(t,g,p);t.addMethod(e.Assertion.prototype,g,b),t.addMethod(globalThis[pa].matchers,g,b)};Array.isArray(c)?c.forEach(g=>f(g)):f(c)}["throw","throws","Throw"].forEach(c=>{t.overwriteMethod(e.Assertion.prototype,c,p=>function(...f){let g=t.flag(this,"promise"),b=t.flag(this,"object"),T=t.flag(this,"negate");if(g==="rejects")t.flag(this,"object",()=>{throw b});else if(g==="resolves"&&typeof b!="function"){if(T)return;{let w=t.flag(this,"message")||"expected promise to throw an error, but it didn't",R={showDiff:!1};throw new r(w,R,t.flag(this,"ssfi"))}}p.apply(this,f)})}),o("withTest",function(c){return t.flag(this,"vitest-test",c),this}),o("toEqual",function(c){let p=t.flag(this,"object"),f=lt(p,c,[...n,jr]);return this.assert(f,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",c,p)}),o("toStrictEqual",function(c){let p=t.flag(this,"object"),f=lt(p,c,[...n,jr,am,gc,sm],!0);return this.assert(f,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",c,p)}),o("toBe",function(c){let p=this._obj,f=Object.is(p,c),g="";return f||(lt(p,c,[...n,jr,am,gc,sm],!0)?g="toStrictEqual":lt(p,c,[...n,jr])&&(g="toEqual")),this.assert(f,xD(g),"expected #{this} not to be #{exp} // Object.is equality",c,p)}),o("toMatchObject",function(c){let p=this._obj,f=lt(p,c,[...n,jr,qa]),g=t.flag(this,"negate"),{subset:b,stripped:T}=ID(p,c,n);if(f&&g||!f&&!g){let w=t.getMessage(this,[f,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",c,b,!1]),R=T===0?w:`${w}
  229. (${T} matching ${T===1?"property":"properties"} omitted from actual)`;throw new r(R,{showDiff:!0,expected:c,actual:b})}}),o("toMatch",function(c){let p=this._obj;if(typeof p!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof p}`);return this.assert(typeof c=="string"?p.includes(c):p.match(c),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",c,p)}),o("toContain",function(c){let p=this._obj;if(typeof Node<"u"&&p instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(p.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,p)}if(typeof DOMTokenList<"u"&&p instanceof DOMTokenList){mn(c,"class name",["string"]);let f=t.flag(this,"negate")?p.value.replace(c,"").trim():`${p.value} ${c}`;return this.assert(p.contains(c),`expected "${p.value}" to contain "${c}"`,`expected "${p.value}" not to contain "${c}"`,f,p.value)}return typeof p=="string"&&typeof c=="string"?this.assert(p.includes(c),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",c,p):(p!=null&&typeof p!="string"&&t.flag(this,"object",Array.from(p)),this.contain(c))}),o("toContainEqual",function(c){let p=t.flag(this,"object"),f=Array.from(p).findIndex(g=>lt(g,c,n));this.assert(f!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",c)}),o("toBeTruthy",function(){let c=t.flag(this,"object");this.assert(!!c,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,c)}),o("toBeFalsy",function(){let c=t.flag(this,"object");this.assert(!c,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,c)}),o("toBeGreaterThan",function(c){let p=this._obj;return mn(p,"actual",["number","bigint"]),mn(c,"expected",["number","bigint"]),this.assert(p>c,`expected ${p} to be greater than ${c}`,`expected ${p} to be not greater than ${c}`,c,p,!1)}),o("toBeGreaterThanOrEqual",function(c){let p=this._obj;return mn(p,"actual",["number","bigint"]),mn(c,"expected",["number","bigint"]),this.assert(p>=c,`expected ${p} to be greater than or equal to ${c}`,`expected ${p} to be not greater than or equal to ${c}`,c,p,!1)}),o("toBeLessThan",function(c){let p=this._obj;return mn(p,"actual",["number","bigint"]),mn(c,"expected",["number","bigint"]),this.assert(p<c,`expected ${p} to be less than ${c}`,`expected ${p} to be not less than ${c}`,c,p,!1)}),o("toBeLessThanOrEqual",function(c){let p=this._obj;return mn(p,"actual",["number","bigint"]),mn(c,"expected",["number","bigint"]),this.assert(p<=c,`expected ${p} to be less than or equal to ${c}`,`expected ${p} to be not less than or equal to ${c}`,c,p,!1)}),o("toBeNaN",function(){let c=t.flag(this,"object");this.assert(Number.isNaN(c),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,c)}),o("toBeUndefined",function(){let c=t.flag(this,"object");this.assert(c===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,c)}),o("toBeNull",function(){let c=t.flag(this,"object");this.assert(c===null,"expected #{this} to be null","expected #{this} not to be null",null,c)}),o("toBeDefined",function(){let c=t.flag(this,"object");this.assert(typeof c<"u","expected #{this} to be defined","expected #{this} to be undefined",c)}),o("toBeTypeOf",function(c){let p=typeof this._obj,f=c===p;return this.assert(f,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",c,p)}),o("toBeInstanceOf",function(c){return this.instanceOf(c)}),o("toHaveLength",function(c){return this.have.length(c)}),o("toHaveProperty",function(...c){Array.isArray(c[0])&&(c[0]=c[0].map(A=>String(A).replace(/([.[\]])/g,"\\$1")).join("."));let p=this._obj,[f,g]=c,b=()=>Object.prototype.hasOwnProperty.call(p,f)?{value:p[f],exists:!0}:t.getPathInfo(p,f),{value:T,exists:w}=b(),R=w&&(c.length===1||lt(g,T,n)),_=c.length===1?"":` with value ${t.objDisplay(g)}`;return this.assert(R,`expected #{this} to have property "${f}"${_}`,`expected #{this} to not have property "${f}"${_}`,g,w?T:void 0)}),o("toBeCloseTo",function(c,p=2){let f=this._obj,g=!1,b=0,T=0;return c===Number.POSITIVE_INFINITY&&f===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&f===Number.NEGATIVE_INFINITY?g=!0:(b=10**-p/2,T=Math.abs(f-c),g=T<b),this.assert(g,`expected #{this} to be close to #{exp}, received difference is ${T}, but expected ${b}`,`expected #{this} to not be close to #{exp}, received difference is ${T}, but expected ${b}`,c,f,!1)});function i(c){if(!oi(c._obj))throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`)}function a(c){return i(c),c._obj}o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let p=a(this),f=p.getMockName(),g=p.mock.calls.length;return this.assert(g===c,`expected "${f}" to be called #{exp} times, but got ${g} times`,`expected "${f}" to not be called #{exp} times`,c,g,!1)}),o("toHaveBeenCalledOnce",function(){let c=a(this),p=c.getMockName(),f=c.mock.calls.length;return this.assert(f===1,`expected "${p}" to be called once, but got ${f} times`,`expected "${p}" to not be called once`,1,f,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let c=a(this),p=c.getMockName(),f=c.mock.calls.length,g=f>0,b=t.flag(this,"negate"),T=t.getMessage(this,[g,`expected "${p}" to be called at least once`,`expected "${p}" to not be called at all, but actually been called ${f} times`,!0,g]);if(g&&b&&(T=hu(c,T)),g&&b||!g&&!b)throw new r(T)});function l(c,p){return c.length===p.length&&c.every((f,g)=>lt(f,p[g],[...n,jr]))}o(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let p=a(this),f=p.getMockName(),g=p.mock.calls.some(w=>l(w,c)),b=t.flag(this,"negate"),T=t.getMessage(this,[g,`expected "${f}" to be called with arguments: #{exp}`,`expected "${f}" to not be called with arguments: #{exp}`,c]);if(g&&b||!g&&!b)throw new r(hu(p,T,c))}),o("toHaveBeenCalledExactlyOnceWith",function(...c){let p=a(this),f=p.getMockName(),g=p.mock.calls.length,b=p.mock.calls.some(R=>l(R,c))&&g===1,T=t.flag(this,"negate"),w=t.getMessage(this,[b,`expected "${f}" to be called once with arguments: #{exp}`,`expected "${f}" to not be called once with arguments: #{exp}`,c]);if(b&&T||!b&&!T)throw new r(hu(p,w,c))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...p){let f=a(this),g=f.getMockName(),b=f.mock.calls[c-1],T=f.mock.calls.length,w=c<=T;this.assert(b&&l(b,p),`expected ${Xi(c)} "${g}" call to have been called with #{exp}${w?"":`, but called only ${T} times`}`,`expected ${Xi(c)} "${g}" call to not have been called with #{exp}`,p,b,w)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let p=a(this),f=p.getMockName(),g=p.mock.calls[p.mock.calls.length-1];this.assert(g&&l(g,c),`expected last "${f}" call to have been called with #{exp}`,`expected last "${f}" call to not have been called with #{exp}`,c,g)});function d(c,p,f){let g=c.mock.invocationCallOrder,b=p.mock.invocationCallOrder;return g.length===0?!f:b.length===0?!1:g[0]<b[0]}o(["toHaveBeenCalledBefore"],function(c,p=!0){let f=a(this);if(!oi(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(d(f,c,p),`expected "${f.getMockName()}" to have been called before "${c.getMockName()}"`,`expected "${f.getMockName()}" to not have been called before "${c.getMockName()}"`,c,f)}),o(["toHaveBeenCalledAfter"],function(c,p=!0){let f=a(this);if(!oi(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(d(c,f,p),`expected "${f.getMockName()}" to have been called after "${c.getMockName()}"`,`expected "${f.getMockName()}" to not have been called after "${c.getMockName()}"`,c,f)}),o(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c===""?/^$/:c);let p=this._obj,f=t.flag(this,"promise"),g=t.flag(this,"negate"),b=null;if(f==="rejects")b=p;else if(f==="resolves"&&typeof p!="function"){if(g)return;{let T=t.flag(this,"message")||"expected promise to throw an error, but it didn't",w={showDiff:!1};throw new r(T,w,t.flag(this,"ssfi"))}}else{let T=!1;try{p()}catch(w){T=!0,b=w}if(!T&&!g){let w=t.flag(this,"message")||"expected function to throw an error, but it didn't",R={showDiff:!1};throw new r(w,R,t.flag(this,"ssfi"))}}if(typeof c=="function"){let T=c.name||c.prototype.constructor.name;return this.assert(b&&b instanceof c,`expected error to be instance of ${T}`,`expected error not to be instance of ${T}`,c,b)}if(c instanceof Error){let T=lt(b,c,[...n,jr]);return this.assert(T,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",c,b)}if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let T=c;return this.assert(b&&T.asymmetricMatch(b),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",T,b)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),[{name:"toHaveResolved",condition:c=>c.mock.settledResults.length>0&&c.mock.settledResults.some(({type:p})=>p==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:c=>c.mock.calls.length>0&&c.mock.results.some(({type:p})=>p!=="throw"),action:"called"}].forEach(({name:c,condition:p,action:f})=>{o(c,function(){let g=a(this),b=g.getMockName(),T=p(g);this.assert(T,`expected "${b}" to be successfully ${f} at least once`,`expected "${b}" to not be successfully ${f}`,T,!T,!1)})}),[{name:"toHaveResolvedTimes",condition:(c,p)=>c.mock.settledResults.reduce((f,{type:g})=>g==="fulfilled"?++f:f,0)===p,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(c,p)=>c.mock.results.reduce((f,{type:g})=>g==="throw"?f:++f,0)===p,action:"called"}].forEach(({name:c,condition:p,action:f})=>{o(c,function(g){let b=a(this),T=b.getMockName(),w=p(b,g);this.assert(w,`expected "${T}" to be successfully ${f} ${g} times`,`expected "${T}" to not be successfully ${f} ${g} times`,`expected resolved times: ${g}`,`received resolved times: ${w}`,!1)})}),[{name:"toHaveResolvedWith",condition:(c,p)=>c.mock.settledResults.some(({type:f,value:g})=>f==="fulfilled"&&lt(p,g)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(c,p)=>c.mock.results.some(({type:f,value:g})=>f==="return"&&lt(p,g)),action:"return"}].forEach(({name:c,condition:p,action:f})=>{o(c,function(g){let b=a(this),T=p(b,g),w=t.flag(this,"negate");if(T&&w||!T&&!w){let R=b.getMockName(),_=t.getMessage(this,[T,`expected "${R}" to ${f} with: #{exp} at least once`,`expected "${R}" to not ${f} with: #{exp}`,g]),A=f==="return"?b.mock.results:b.mock.settledResults;throw new r(DD(b,A,_,g))}})}),[{name:"toHaveLastResolvedWith",condition:(c,p)=>{let f=c.mock.settledResults[c.mock.settledResults.length-1];return f&&f.type==="fulfilled"&&lt(f.value,p)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(c,p)=>{let f=c.mock.results[c.mock.results.length-1];return f&&f.type==="return"&&lt(f.value,p)},action:"return"}].forEach(({name:c,condition:p,action:f})=>{o(c,function(g){let b=a(this),T=f==="return"?b.mock.results:b.mock.settledResults,w=T[T.length-1],R=b.getMockName();this.assert(p(b,g),`expected last "${R}" call to ${f} #{exp}`,`expected last "${R}" call to not ${f} #{exp}`,g,w==null?void 0:w.value)})}),[{name:"toHaveNthResolvedWith",condition:(c,p,f)=>{let g=c.mock.settledResults[p-1];return g&&g.type==="fulfilled"&&lt(g.value,f)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(c,p,f)=>{let g=c.mock.results[p-1];return g&&g.type==="return"&&lt(g.value,f)},action:"return"}].forEach(({name:c,condition:p,action:f})=>{o(c,function(g,b){let T=a(this),w=T.getMockName(),R=(f==="return"?T.mock.results:T.mock.settledResults)[g-1],_=`${Xi(g)} call`;this.assert(p(T,g,b),`expected ${_} "${w}" call to ${f} #{exp}`,`expected ${_} "${w}" call to not ${f} #{exp}`,b,R==null?void 0:R.value)})}),o("withContext",function(c){for(let p in c)t.flag(this,p,c[p]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),f=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(f==null?void 0:f.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof f}'.`);let g=new Proxy(this,{get:(b,T,w)=>{let R=Reflect.get(b,T,w);return typeof R!="function"?R instanceof e.Assertion?g:R:(..._)=>{t.flag(this,"_name",T);let A=f.then(L=>(t.flag(this,"object",L),R.call(this,..._)),L=>{let D=new r(`promise rejected "${t.inspect(L)}" instead of resolving`,{showDiff:!1});throw D.cause=L,D.stack=c.stack.replace(c.message,D.message),D});return hm(p,A,fm(t,this,!!_.length),c)}}});return g}),t.addProperty(e.Assertion.prototype,"rejects",function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),f=t.flag(this,"object"),g=typeof f=="function"?f():f;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(g==null?void 0:g.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof g}'.`);let b=new Proxy(this,{get:(T,w,R)=>{let _=Reflect.get(T,w,R);return typeof _!="function"?_ instanceof e.Assertion?b:_:(...A)=>{t.flag(this,"_name",w);let L=g.then(D=>{let k=new r(`promise resolved "${t.inspect(D)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:D});throw k.stack=c.stack.replace(c.message,k.message),k},D=>(t.flag(this,"object",D),_.call(this,...A)));return hm(p,L,fm(t,this,!!A.length),c)}}});return b})};function Xi(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}function hu(e,t,r){return e.mock.calls.length&&(t+=_r.gray(`
  230. Received:
  231. ${e.mock.calls.map((n,o)=>{let i=_r.bold(` ${Xi(o+1)} ${e.getMockName()} call:
  232. `);return r?i+=Si(r,n,{omitAnnotationLines:!0}):i+=Rr(n).split(`
  233. `).map(a=>` ${a}`).join(`
  234. `),i+=`
  235. `,i}).join(`
  236. `)}`)),t+=_r.gray(`
  237. Number of calls: ${_r.bold(e.mock.calls.length)}
  238. `),t}function DD(e,t,r,n){return t.length&&(r+=_r.gray(`
  239. Received:
  240. ${t.map((o,i)=>{let a=_r.bold(` ${Xi(i+1)} ${e.getMockName()} call return:
  241. `);return n?a+=Si(n,o.value,{omitAnnotationLines:!0}):a+=Rr(o).split(`
  242. `).map(l=>` ${l}`).join(`
  243. `),a+=`
  244. `,a}).join(`
  245. `)}`)),r+=_r.gray(`
  246. Number of calls: ${_r.bold(e.mock.calls.length)}
  247. `),r}function kD(e,t){let r=e._obj,n=nn.flag(e,"negate"),o=nn.flag(e,"promise")||"",i={...TT(),diff:Si,stringify:Rr,iterableEquality:jr,subsetEquality:qa};return{state:{...js(t),customTesters:_p(),isNot:n,utils:i,promise:o,equals:lt,suppressedErrors:[],soft:nn.flag(e,"soft"),poll:nn.flag(e,"poll")},isNot:n,obj:r}}var ym=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function $D(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,a])=>{function l(...f){let{state:g,isNot:b,obj:T}=kD(this,t),w=a.call(g,T,...f);if(w&&typeof w=="object"&&typeof w.then=="function")return w.then(({pass:D,message:k,actual:h,expected:C})=>{if(D&&b||!D&&!b)throw new ym(k(),h,C)});let{pass:R,message:_,actual:A,expected:L}=w;if(R&&b||!R&&!b)throw new ym(_(),A,L)}let d=OT(o,i,l);o.addMethod(globalThis[pa].matchers,i,d),o.addMethod(e.Assertion.prototype,i,d);class c extends Cn{constructor(g=!1,...b){super(b,g)}asymmetricMatch(g){let{pass:b}=a.call(this.getMatcherContext(t),g,...this.sample);return this.inverse?!b:b}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(g=>Rr(g)).join(", ")}>`}}let p=(...f)=>new c(!1,...f);Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:p,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:(...f)=>new c(!0,...f),writable:!0}),Object.defineProperty(globalThis[yc],i,{configurable:!0,enumerable:!0,value:p,writable:!0})})}}var BD=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{ri($D(e,r,n))})};function FD(){ri(BD),ri(LD),ri(MD);let e=(n,o)=>{let{assertionCalls:i}=js(e);return fu({assertionCalls:i+1,soft:!1},e),Co(n,o)};Object.assign(e,Co),e.getState=()=>js(e),e.setState=n=>fu(n,e),e.extend=n=>Co.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.extend(cD),e.unreachable=n=>{B.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return fu({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),nn.addMethod(e,"assertions",t),nn.addMethod(e,"hasAssertions",r),e.extend(bE),e}var AT=FD();Object.defineProperty(globalThis,Tp,{value:AT,writable:!0,configurable:!0});function VD(e,t,r){Object.defineProperty(e,t,r)}var ms=Symbol.for("tinyspy:spy"),UD=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},JD=e=>(VD(e,ms,{value:{reset:()=>UD(e[ms])}}),e[ms]),HD=e=>e[ms]||JD(e),Rp=globalThis.__STORYBOOK_MODULE_MOCK_SPIES__??(globalThis.__STORYBOOK_MODULE_MOCK_SPIES__=new Set),bc=new Set;function PT(e){return bc.add(e),()=>void bc.delete(e)}var GD=(...e)=>{let t=sD(...e);return xT(t)};function CT(e){let t=e?tm(e):tm();return xT(t)}function xT(e){let t=gm(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>gm(r(n)),t}function gm(e){let t=HD(e),r=t.impl;return t.willCall(function(...n){return bc.forEach(o=>o(e,n)),r==null?void 0:r.apply(this,n)}),e}function NT(){Ia.forEach(e=>e.mockClear()),Rp.forEach(e=>e.mockClear())}function IT(){Ia.forEach(e=>e.mockReset()),Rp.forEach(e=>e.mockReset())}function qT(){Ia.forEach(e=>e.mockRestore()),Rp.forEach(e=>e.mockClear())}function WD(e,t={}){return e}var jT={};mr(jT,{buildQueries:()=>Nn,configure:()=>a$,createEvent:()=>gs,findAllByAltText:()=>kw,findAllByDisplayValue:()=>Iw,findAllByLabelText:()=>dw,findAllByPlaceholderText:()=>Ew,findAllByRole:()=>Xw,findAllByTestId:()=>n_,findAllByText:()=>Ow,findAllByTitle:()=>Jw,findByAltText:()=>$w,findByDisplayValue:()=>qw,findByLabelText:()=>pw,findByPlaceholderText:()=>Tw,findByRole:()=>Qw,findByTestId:()=>o_,findByText:()=>Aw,findByTitle:()=>Hw,fireEvent:()=>ga,getAllByAltText:()=>Lw,getAllByDisplayValue:()=>xw,getAllByLabelText:()=>fw,getAllByPlaceholderText:()=>bw,getAllByRole:()=>Yw,getAllByTestId:()=>t_,getAllByText:()=>Sw,getAllByTitle:()=>Vw,getByAltText:()=>Dw,getByDisplayValue:()=>Nw,getByLabelText:()=>hw,getByPlaceholderText:()=>vw,getByRole:()=>Kw,getByTestId:()=>r_,getByText:()=>Rw,getByTitle:()=>Uw,getConfig:()=>rt,getDefaultNormalizer:()=>Np,getElementError:()=>wl,getMultipleElementsFoundError:()=>_l,getNodeText:()=>ja,getQueriesForElement:()=>Pc,getRoles:()=>ow,getSuggestedQuery:()=>Ls,isInaccessible:()=>Tl,logDOM:()=>vc,logRoles:()=>d$,makeFindQuery:()=>pi,makeGetAllQuery:()=>jp,makeSingleQuery:()=>di,prettyDOM:()=>ma,prettyFormat:()=>Op,queries:()=>Ds,queryAllByAltText:()=>jw,queryAllByAttribute:()=>Fo,queryAllByDisplayValue:()=>Pw,queryAllByLabelText:()=>mw,queryAllByPlaceholderText:()=>yw,queryAllByRole:()=>Ww,queryAllByTestId:()=>Zw,queryAllByText:()=>ww,queryAllByTitle:()=>Bw,queryByAltText:()=>Mw,queryByAttribute:()=>aw,queryByDisplayValue:()=>Cw,queryByLabelText:()=>uw,queryByPlaceholderText:()=>gw,queryByRole:()=>zw,queryByTestId:()=>e_,queryByText:()=>_w,queryByTitle:()=>Fw,queryHelpers:()=>R$,screen:()=>Z$,waitFor:()=>qp,waitForElementToBeRemoved:()=>G$,within:()=>Pc,wrapAllByQueryWithSuggestion:()=>hr,wrapSingleQueryWithSuggestion:()=>ro});var Op=It(GA()),zD=Object.prototype.toString;function YD(e){return typeof e=="function"||zD.call(e)==="[object Function]"}function KD(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var XD=Math.pow(2,53)-1;function QD(e){var t=KD(e);return Math.min(Math.max(t,0),XD)}function Ur(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var o=QD(n.length),i=YD(r)?Object(new r(o)):new Array(o),a=0,l;a<o;)l=n[a],i[a]=l,a+=1;return i.length=o,i}function fa(e){"@babel/helpers - typeof";return fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fa(e)}function ZD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ek(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,MT(n.key),n)}}function tk(e,t,r){return t&&ek(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function rk(e,t,r){return t=MT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function MT(e){var t=nk(e,"string");return fa(t)==="symbol"?t:String(t)}function nk(e,t){if(fa(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(fa(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ok=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ZD(this,e),rk(this,"items",void 0),this.items=t}return tk(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),ik=typeof Set>"u"?Set:ok;function or(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var ak={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},sk={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function lk(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=sk[t])!==null&&n!==void 0&&n.has(r))})}function LT(e,t){return lk(e,t)}function uk(e){var t=dk(e);if(t===null||t==="presentation"){var r=ck(e);if(t!=="presentation"||LT(e,r||""))return r}return t}function ck(e){var t=ak[or(e)];if(t!==void 0)return t;switch(or(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!LT(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function dk(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function St(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function DT(e){return St(e)&&or(e)==="caption"}function ys(e){return St(e)&&or(e)==="input"}function pk(e){return St(e)&&or(e)==="optgroup"}function fk(e){return St(e)&&or(e)==="select"}function hk(e){return St(e)&&or(e)==="table"}function mk(e){return St(e)&&or(e)==="textarea"}function yk(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function gk(e){return St(e)&&or(e)==="fieldset"}function bk(e){return St(e)&&or(e)==="legend"}function vk(e){return St(e)&&or(e)==="slot"}function Ek(e){return St(e)&&e.ownerSVGElement!==void 0}function Tk(e){return St(e)&&or(e)==="svg"}function wk(e){return Ek(e)&&or(e)==="title"}function Ms(e,t){if(St(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function wn(e,t){return St(e)?t.indexOf(uk(e))!==-1:!1}function _k(e){return e.trim().replace(/\s\s+/g," ")}function Sk(e,t){if(!St(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function Rk(e){return wn(e,["button","combobox","listbox","textbox"])||kT(e,"range")}function kT(e,t){if(!St(e))return!1;switch(t){case"range":return wn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function bm(e,t){var r=Ur(e.querySelectorAll(t));return Ms(e,"aria-owns").forEach(function(n){r.push.apply(r,Ur(n.querySelectorAll(t)))}),r}function Ok(e){return fk(e)?e.selectedOptions||bm(e,"[selected]"):bm(e,'[aria-selected="true"]')}function Ak(e){return wn(e,["none","presentation"])}function Pk(e){return DT(e)}function Ck(e){return wn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function xk(e){return!1}function Nk(e){return ys(e)||mk(e)?e.value:e.textContent||""}function vm(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function $T(e){var t=or(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function BT(e){if($T(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&St(r)){var n=BT(r);n!==null&&(t=n)}}),t}function Ik(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):BT(e)}function qk(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ur(t);if(!$T(e))return null;var r=e.ownerDocument;return Ur(r.querySelectorAll("label")).filter(function(n){return Ik(n)===e})}function jk(e){var t=e.assignedNodes();return t.length===0?Ur(e.childNodes):t}function FT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new ik,n=yk(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,l=a===void 0?t.getComputedStyle!==void 0:a,d=t.getComputedStyle,c=d===void 0?n.getComputedStyle.bind(n):d,p=t.hidden,f=p===void 0?!1:p;function g(_,A){var L="";if(St(_)&&l){var D=c(_,"::before"),k=vm(D);L="".concat(k," ").concat(L)}var h=vk(_)?jk(_):Ur(_.childNodes).concat(Ms(_,"aria-owns"));if(h.forEach(function(j){var Z=R(j,{isEmbeddedInLabel:A.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),G=St(j)?c(j).getPropertyValue("display"):"inline",oe=G!=="inline"?" ":"";L+="".concat(oe).concat(Z).concat(oe)}),St(_)&&l){var C=c(_,"::after"),x=vm(C);L="".concat(L," ").concat(x)}return L.trim()}function b(_,A){var L=_.getAttributeNode(A);return L!==null&&!r.has(L)&&L.value.trim()!==""?(r.add(L),L.value):null}function T(_){return St(_)?b(_,"title"):null}function w(_){if(!St(_))return null;if(gk(_)){r.add(_);for(var A=Ur(_.childNodes),L=0;L<A.length;L+=1){var D=A[L];if(bk(D))return R(D,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(hk(_)){r.add(_);for(var k=Ur(_.childNodes),h=0;h<k.length;h+=1){var C=k[h];if(DT(C))return R(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Tk(_)){r.add(_);for(var x=Ur(_.childNodes),j=0;j<x.length;j+=1){var Z=x[j];if(wk(Z))return Z.textContent}return null}else if(or(_)==="img"||or(_)==="area"){var G=b(_,"alt");if(G!==null)return G}else if(pk(_)){var oe=b(_,"label");if(oe!==null)return oe}if(ys(_)&&(_.type==="button"||_.type==="submit"||_.type==="reset")){var U=b(_,"value");if(U!==null)return U;if(_.type==="submit")return"Submit";if(_.type==="reset")return"Reset"}var I=qk(_);if(I!==null&&I.length!==0)return r.add(_),Ur(I).map(function(he){return R(he,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(he){return he.length>0}).join(" ");if(ys(_)&&_.type==="image"){var V=b(_,"alt");if(V!==null)return V;var K=b(_,"title");return K!==null?K:"Submit Query"}if(wn(_,["button"])){var ne=g(_,{isEmbeddedInLabel:!1});if(ne!=="")return ne}return null}function R(_,A){if(r.has(_))return"";if(!f&&Sk(_,c)&&!A.isReferenced)return r.add(_),"";var L=St(_)?_.getAttributeNode("aria-labelledby"):null,D=L!==null&&!r.has(L)?Ms(_,"aria-labelledby"):[];if(i==="name"&&!A.isReferenced&&D.length>0)return r.add(L),D.map(function(G){return R(G,{isEmbeddedInLabel:A.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var k=A.recursion&&Rk(_)&&i==="name";if(!k){var h=(St(_)&&_.getAttribute("aria-label")||"").trim();if(h!==""&&i==="name")return r.add(_),h;if(!Ak(_)){var C=w(_);if(C!==null)return r.add(_),C}}if(wn(_,["menu"]))return r.add(_),"";if(k||A.isEmbeddedInLabel||A.isReferenced){if(wn(_,["combobox","listbox"])){r.add(_);var x=Ok(_);return x.length===0?ys(_)?_.value:"":Ur(x).map(function(G){return R(G,{isEmbeddedInLabel:A.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(kT(_,"range"))return r.add(_),_.hasAttribute("aria-valuetext")?_.getAttribute("aria-valuetext"):_.hasAttribute("aria-valuenow")?_.getAttribute("aria-valuenow"):_.getAttribute("value")||"";if(wn(_,["textbox"]))return r.add(_),Nk(_)}if(Ck(_)||St(_)&&A.isReferenced||Pk(_)||xk()){var j=g(_,{isEmbeddedInLabel:A.isEmbeddedInLabel});if(j!=="")return r.add(_),j}if(_.nodeType===_.TEXT_NODE)return r.add(_),_.textContent||"";if(A.recursion)return r.add(_),g(_,{isEmbeddedInLabel:A.isEmbeddedInLabel});var Z=T(_);return Z!==null?(r.add(_),Z):(r.add(_),"")}return _k(R(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function ha(e){"@babel/helpers - typeof";return ha=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},ha(e)}function Em(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Tm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Em(Object(r),!0).forEach(function(n){Mk(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Em(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Mk(e,t,r){return t=Lk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lk(e){var t=Dk(e,"string");return ha(t)==="symbol"?t:String(t)}function Dk(e,t){if(ha(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ha(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function VT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ms(e,"aria-describedby").map(function(o){return FT(o,Tm(Tm({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function kk(e){return wn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Ap(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return kk(e)?"":FT(e,t)}var qr=It(Xc()),$k=It(WA());function UT(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Bk=(e,t,r,n,o,i,a)=>{let l=n+r.indent,d=r.colors;return e.map(c=>{let p=t[c],f=a(p,r,l,o,i);return typeof p!="string"&&(f.indexOf(`
  248. `)!==-1&&(f=r.spacingOuter+l+f+r.spacingOuter+n),f="{"+f+"}"),r.spacingInner+n+d.prop.open+c+d.prop.close+"="+d.value.open+f+d.value.close}).join("")},Fk=3,Vk=(e,t,r,n,o,i)=>e.map(a=>{let l=typeof a=="string"?JT(a,t):i(a,t,r,n,o);return l===""&&typeof a=="object"&&a!==null&&a.nodeType!==Fk?"":t.spacingOuter+r+l}).join(""),JT=(e,t)=>{let r=t.colors.content;return r.open+UT(e)+r.close},Uk=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+UT(e)+"-->"+r.close},Jk=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},Hk=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},Gk=1,HT=3,GT=8,WT=11,Wk=/^((HTML|SVG)\w*)?Element$/,zT=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},zk=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===Gk&&(Wk.test(t)||zT(e))||r===HT&&t==="Text"||r===GT&&t==="Comment"||r===WT&&t==="DocumentFragment"};function Yk(e){return e.nodeType===HT}function Kk(e){return e.nodeType===GT}function mu(e){return e.nodeType===WT}function Xk(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||zT(t))&&zk(t)},serialize:(t,r,n,o,i,a)=>{if(Yk(t))return JT(t.data,r);if(Kk(t))return Uk(t.data,r);let l=mu(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?Hk(l,r):Jk(l,Bk(mu(t)?[]:Array.from(t.attributes).map(d=>d.name).sort(),mu(t)?{}:Array.from(t.attributes).reduce((d,c)=>(d[c.name]=c.value,d),{}),r,n+r.indent,o,i,a),Vk(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var YT=null,Pp=null,Cp=null;try{let e=module&&module.require;Pp=e.call(module,"fs").readFileSync,Cp=e.call(module,"@babel/code-frame").codeFrameColumns,YT=e.call(module,"picocolors")}catch{}function Qk(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[i,a,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],d="";try{d=Pp(i,"utf-8")}catch{return""}let c=Cp(d,{start:{line:a,column:l}},{highlightCode:!0,linesBelow:0});return YT.dim(n)+`
  249. `+c+`
  250. `}function Zk(){if(!Pp||!Cp)return"";let e=new Error().stack.split(`
  251. `).slice(1).find(t=>!t.includes("node_modules/"));return Qk(e)}var KT=3;function yu(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function xp(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function XT(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function xn(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var e$=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=qu)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:t$}=Op.plugins,r$=1,n$=8;function o$(e){return e.nodeType!==n$&&(e.nodeType!==r$||!e.matches(rt().defaultIgnore))}function ma(e,t,r){if(r===void 0&&(r={}),e||(e=xp().body),typeof t!="number"&&(t=typeof process<"u"&&typeof qu<"u"&&qu.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:o=o$,...i}=r,a=Op.format(e,{plugins:[Xk(o),t$],printFunctionName:!1,highlight:e$(),...i});return t!==void 0&&e.outerHTML.length>t?a.slice(0,t)+"...":a}var vc=function(){let e=Zk();console.log(e?ma(...arguments)+`
  252. `+e:ma(...arguments))},xo={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=ma(t),n=new Error([e,"Ignored nodes: comments, "+xo.defaultIgnore+`
  253. `+r].filter(Boolean).join(`
  254. `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function i$(e){try{return xo._disableExpensiveErrorDiagnostics=!0,e()}finally{xo._disableExpensiveErrorDiagnostics=!1}}function a$(e){typeof e=="function"&&(e=e(xo)),xo={...xo,...e}}function rt(){return xo}var s$=["button","meter","output","progress","select","textarea","input"];function QT(e){return s$.includes(e.nodeName.toLowerCase())?"":e.nodeType===KT?e.textContent:Array.from(e.childNodes).map(t=>QT(t)).join("")}function Ec(e){let t;return e.tagName.toLowerCase()==="label"?t=QT(e):t=e.value||e.textContent,t}function ZT(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!l$(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function l$(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function ew(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),i=o?o.split(" "):[];return i.length?i.map(a=>{let l=e.querySelector('[id="'+a+'"]');return l?{content:Ec(l),formControl:null}:{content:"",formControl:null}}):Array.from(ZT(t)).map(a=>{let l=Ec(a),d=Array.from(a.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:d}})}function tw(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Oi(e,t,r,n){if(typeof e!="string")return!1;tw(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):rw(r,o)}function On(e,t,r,n){if(typeof e!="string")return!1;tw(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?rw(r,o):o===String(r)}function Np(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function Bo(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Np({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function rw(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function ja(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===KT&&!!t.textContent).map(t=>t.textContent).join("")}var u$=c$(qr.elementRoles);function nw(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Tl(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=nw}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function Ip(e){for(let{match:t,roles:r}of u$)if(t(e))return[...r];return[]}function c$(e){function t(a){let{name:l,attributes:d}=a;return""+l+d.map(c=>{let{name:p,value:f,constraints:g=[]}=c,b=g.indexOf("undefined")!==-1,T=g.indexOf("set")!==-1;return typeof f<"u"?"["+p+'="'+f+'"]':b?":not(["+p+"])":T?"["+p+"]:not(["+p+'=""])':"["+p+"]"}).join("")}function r(a){let{attributes:l=[]}=a;return l.length}function n(a,l){let{specificity:d}=a,{specificity:c}=l;return c-d}function o(a){let{attributes:l=[]}=a,d=l.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");d>=0&&(l=[...l.slice(0,d),...l.slice(d+1)]);let c=t({...a,attributes:l});return p=>d>=0&&p.type!=="text"?!1:p.matches(c)}let i=[];for(let[a,l]of e.entries())i=[...i,{match:o(a),roles:Array.from(l),specificity:r(a)}];return i.sort(n)}function ow(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((i,a)=>[...i,...n(a)],[])]}return n(e).filter(o=>r===!1?Tl(o)===!1:!0).reduce((o,i)=>{let a=[];return i.hasAttribute("role")?a=i.getAttribute("role").split(" ").slice(0,1):a=Ip(i),a.reduce((l,d)=>Array.isArray(l[d])?{...l,[d]:[...l[d],i]}:{...l,[d]:[i]},o)},{})}function iw(e,t){let{hidden:r,includeDescription:n}=t,o=ow(e,{hidden:r});return Object.entries(o).filter(i=>{let[a]=i;return a!=="generic"}).map(i=>{let[a,l]=i,d="-".repeat(50),c=l.map(p=>{let f='Name "'+Ap(p,{computedStyleSupportsPseudoElements:rt().computedStyleSupportsPseudoElements})+`":
  255. `,g=ma(p.cloneNode(!1));if(n){let b='Description "'+VT(p,{computedStyleSupportsPseudoElements:rt().computedStyleSupportsPseudoElements})+`":
  256. `;return""+f+b+g}return""+f+g}).join(`
  257. `);return a+`:
  258. `+c+`
  259. `+d}).join(`
  260. `)}var d$=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(iw(e,{hidden:r}))};function p$(e){return e.tagName==="OPTION"?e.selected:Ma(e,"aria-selected")}function f$(e){return e.getAttribute("aria-busy")==="true"}function h$(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Ma(e,"aria-checked")}function m$(e){return Ma(e,"aria-pressed")}function y$(e){var t,r;return(t=(r=Ma(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function g$(e){return Ma(e,"aria-expanded")}function Ma(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function b$(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function v$(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function E$(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function T$(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function w$(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var wm=Np();function _$(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function _m(e){return new RegExp(_$(e.toLowerCase()),"i")}function Vn(e,t,r,n){let{variant:o,name:i}=n,a="",l={},d=[["Role","TestId"].includes(e)?r:_m(r)];i&&(l.name=_m(i)),e==="Role"&&Tl(t)&&(l.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
  261. If you are using the aria-hidden prop, make sure this is the right choice for your case.
  262. `),Object.keys(l).length>0&&d.push(l);let c=o+"By"+e;return{queryName:e,queryMethod:c,queryArgs:d,variant:o,warning:a,toString(){a&&console.warn(a);let[p,f]=d;return p=typeof p=="string"?"'"+p+"'":p,f=f?", { "+Object.entries(f).map(g=>{let[b,T]=g;return b+": "+T}).join(", ")+" }":"",c+"("+p+f+")"}}}function Un(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Ls(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(rt().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=Ip(e))==null?void 0:o[0];if(i!=="generic"&&Un("Role",r,i))return Vn("Role",e,i,{variant:t,name:Ap(e,{computedStyleSupportsPseudoElements:rt().computedStyleSupportsPseudoElements})});let a=ew(document,e).map(g=>g.content).join(" ");if(Un("LabelText",r,a))return Vn("LabelText",e,a,{variant:t});let l=e.getAttribute("placeholder");if(Un("PlaceholderText",r,l))return Vn("PlaceholderText",e,l,{variant:t});let d=wm(ja(e));if(Un("Text",r,d))return Vn("Text",e,d,{variant:t});if(Un("DisplayValue",r,e.value))return Vn("DisplayValue",e,wm(e.value),{variant:t});let c=e.getAttribute("alt");if(Un("AltText",r,c))return Vn("AltText",e,c,{variant:t});let p=e.getAttribute("title");if(Un("Title",r,p))return Vn("Title",e,p,{variant:t});let f=e.getAttribute(rt().testIdAttribute);if(Un("TestId",r,f))return Vn("TestId",e,f,{variant:t})}function Za(e,t){e.stack=t.stack.replace(t.message,e.message)}function S$(e,t){let{container:r=xp(),timeout:n=rt().asyncUtilTimeout,showOriginalStackTrace:o=rt().showOriginalStackTrace,stackTraceError:i,interval:a=50,onTimeout:l=c=>(Object.defineProperty(c,"message",{value:rt().getElementError(c.message,r).message}),c),mutationObserverOptions:d={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,p)=>{let f,g,b,T=!1,w="idle",R=setTimeout(k,n),_=yu();if(_){let{unstable_advanceTimersWrapper:h}=rt();for(D();!T;){if(!yu()){let C=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||Za(C,i),p(C);return}if(await h(async()=>{jest.advanceTimersByTime(a)}),T)break;D()}}else{try{xn(r)}catch(C){p(C);return}g=setInterval(L,a);let{MutationObserver:h}=XT(r);b=new h(L),b.observe(r,d),D()}function A(h,C){T=!0,clearTimeout(R),_||(clearInterval(g),b.disconnect()),h?p(h):c(C)}function L(){if(yu()){let h=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return o||Za(h,i),p(h)}else return D()}function D(){if(w!=="pending")try{let h=i$(e);typeof(h==null?void 0:h.then)=="function"?(w="pending",h.then(C=>{w="resolved",A(null,C)},C=>{w="rejected",f=C})):A(null,h)}catch(h){f=h}}function k(){let h;f?(h=f,!o&&h.name==="TestingLibraryElementError"&&Za(h,i)):(h=new Error("Timed out in waitFor."),o||Za(h,i)),A(l(h),null)}})}function qp(e,t){let r=new Error("STACK_TRACE_MESSAGE");return rt().asyncWrapper(()=>S$(e,{stackTraceError:r,...t}))}function wl(e,t){return rt().getElementError(e,t)}function _l(e,t){return wl(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Fo(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:a,normalizer:l}=n===void 0?{}:n,d=o?On:Oi,c=Bo({collapseWhitespace:i,trim:a,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(p=>d(p.getAttribute(e),p,r,c))}function aw(e,t,r,n){let o=Fo(e,t,r,n);if(o.length>1)throw _l("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function di(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let a=e(r,...o);if(a.length>1){let l=a.map(d=>wl(null,d).message).join(`
  263. `);throw _l(t(r,...o)+`
  264. Here are the matching elements:
  265. `+l,r)}return a[0]||null}}function sw(e,t){return rt().getElementError(`A better query is available, try this:
  266. `+e.toString()+`
  267. `,t)}function jp(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let a=e(r,...o);if(!a.length)throw rt().getElementError(t(r,...o),r);return a}}function pi(e){return(t,r,n,o)=>qp(()=>e(t,r,n),{container:t,...o})}var ro=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let l=e(n,...i),[{suggest:d=rt().throwSuggestions}={}]=i.slice(-1);if(l&&d){let c=Ls(l,r);if(c&&!t.endsWith(c.queryName))throw sw(c.toString(),n)}return l},hr=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let l=e(n,...i),[{suggest:d=rt().throwSuggestions}={}]=i.slice(-1);if(l.length&&d){let c=[...new Set(l.map(p=>{var f;return(f=Ls(p,r))==null?void 0:f.toString()}))];if(c.length===1&&!t.endsWith(Ls(l[0],r).queryName))throw sw(c[0],n)}return l};function Nn(e,t,r){let n=ro(di(e,t),e.name,"query"),o=jp(e,r),i=di(o,t),a=ro(i,e.name,"get"),l=hr(o,e.name.replace("query","get"),"getAll"),d=pi(hr(o,e.name,"findAll")),c=pi(ro(i,e.name,"find"));return[n,l,a,d,c]}var R$=Object.freeze({__proto__:null,getElementError:wl,wrapAllByQueryWithSuggestion:hr,wrapSingleQueryWithSuggestion:ro,getMultipleElementsFoundError:_l,queryAllByAttribute:Fo,queryByAttribute:aw,makeSingleQuery:di,makeGetAllQuery:jp,makeFindQuery:pi,buildQueries:Nn});function O$(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Ec(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var A$=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:a}=r===void 0?{}:r,l=n?On:Oi,d=Bo({collapseWhitespace:i,trim:o,normalizer:a});return O$(e).filter(c=>{let{node:p,textToMatch:f}=c;return l(f,p,t,d)}).map(c=>{let{node:p}=c;return p})},ya=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,normalizer:l}=r===void 0?{}:r;xn(e);let d=o?On:Oi,c=Bo({collapseWhitespace:i,trim:a,normalizer:l}),p=Array.from(e.querySelectorAll("*")).filter(f=>ZT(f).length||f.hasAttribute("aria-labelledby")).reduce((f,g)=>{let b=ew(e,g,{selector:n});b.filter(w=>!!w.formControl).forEach(w=>{d(w.content,w.formControl,t,c)&&w.formControl&&f.push(w.formControl)});let T=b.filter(w=>!!w.content).map(w=>w.content);return d(T.join(" "),g,t,c)&&f.push(g),T.length>1&&T.forEach((w,R)=>{d(w,g,t,c)&&f.push(g);let _=[...T];_.splice(R,1),_.length>1&&d(_.join(" "),g,t,c)&&f.push(g)}),f},[]).concat(Fo("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(p)).filter(f=>f.matches(n))},Mo=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let i=ya(e,t,...n);if(!i.length){let a=A$(e,t,...n);if(a.length){let l=a.map(d=>P$(e,d)).filter(d=>!!d);throw l.length?rt().getElementError(l.map(d=>"Found a label with the text of: "+t+", however the element associated with this label (<"+d+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+d+" />, you can use aria-label or aria-labelledby instead.").join(`
  268. `),e):rt().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw rt().getElementError("Unable to find a label with the text of: "+t,e)}return i};function P$(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var lw=(e,t)=>"Found multiple elements with the text of: "+t,uw=ro(di(ya,lw),ya.name,"query"),cw=di(Mo,lw),dw=pi(hr(Mo,Mo.name,"findAll")),pw=pi(ro(cw,Mo.name,"find")),fw=hr(Mo,Mo.name,"getAll"),hw=ro(cw,Mo.name,"get"),mw=hr(ya,ya.name,"queryAll"),Tc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xn(t[0]),Fo("placeholder",...t)},C$=(e,t)=>"Found multiple elements with the placeholder text of: "+t,x$=(e,t)=>"Unable to find an element with the placeholder text of: "+t,yw=hr(Tc,Tc.name,"queryAll"),[gw,bw,vw,Ew,Tw]=Nn(Tc,C$,x$),wc=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,ignore:l=rt().defaultIgnore,normalizer:d}=r===void 0?{}:r;xn(e);let c=o?On:Oi,p=Bo({collapseWhitespace:i,trim:a,normalizer:d}),f=[];return typeof e.matches=="function"&&e.matches(n)&&(f=[e]),[...f,...Array.from(e.querySelectorAll(n))].filter(g=>!l||!g.matches(l)).filter(g=>c(ja(g),g,t,p))},N$=(e,t)=>"Found multiple elements with the text: "+t,I$=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:i,selector:a}=r,l=Bo({collapseWhitespace:n,trim:o,normalizer:i})(t.toString()),d=l!==t.toString(),c=(a??"*")!=="*";return"Unable to find an element with the text: "+(d?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+a+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},ww=hr(wc,wc.name,"queryAll"),[_w,Sw,Rw,Ow,Aw]=Nn(wc,N$,I$),_c=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;xn(e);let l=n?On:Oi,d=Bo({collapseWhitespace:o,trim:i,normalizer:a});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(p=>p.selected).some(p=>l(ja(p),p,t,d)):l(c.value,c,t,d))},q$=(e,t)=>"Found multiple elements with the display value: "+t+".",j$=(e,t)=>"Unable to find an element with the display value: "+t+".",Pw=hr(_c,_c.name,"queryAll"),[Cw,xw,Nw,Iw,qw]=Nn(_c,q$,j$),M$=/^(img|input|area|.+-.+)$/i,Sc=function(e,t,r){return r===void 0&&(r={}),xn(e),Fo("alt",e,t,r).filter(n=>M$.test(n.tagName))},L$=(e,t)=>"Found multiple elements with the alt text: "+t,D$=(e,t)=>"Unable to find an element with the alt text: "+t,jw=hr(Sc,Sc.name,"queryAll"),[Mw,Lw,Dw,kw,$w]=Nn(Sc,L$,D$),k$=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Rc=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;xn(e);let l=n?On:Oi,d=Bo({collapseWhitespace:o,trim:i,normalizer:a});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,d)||k$(c)&&l(ja(c),c,t,d))},$$=(e,t)=>"Found multiple elements with the title: "+t+".",B$=(e,t)=>"Unable to find an element with the title: "+t+".",Bw=hr(Rc,Rc.name,"queryAll"),[Fw,Vw,Uw,Jw,Hw]=Nn(Rc,$$,B$),Oc=function(e,t,r){let{hidden:n=rt().defaultHidden,name:o,description:i,queryFallbacks:a=!1,selected:l,busy:d,checked:c,pressed:p,current:f,level:g,expanded:b,value:{now:T,min:w,max:R,text:_}={}}=r===void 0?{}:r;if(xn(e),l!==void 0){var A;if(((A=qr.roles.get(t))==null?void 0:A.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(d!==void 0){var L;if(((L=qr.roles.get(t))==null?void 0:L.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var D;if(((D=qr.roles.get(t))==null?void 0:D.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(p!==void 0){var k;if(((k=qr.roles.get(t))==null?void 0:k.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(f!==void 0){var h;if(((h=qr.roles.get(t))==null?void 0:h.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(g!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(T!==void 0){var C;if(((C=qr.roles.get(t))==null?void 0:C.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(R!==void 0){var x;if(((x=qr.roles.get(t))==null?void 0:x.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(w!==void 0){var j;if(((j=qr.roles.get(t))==null?void 0:j.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(_!==void 0){var Z;if(((Z=qr.roles.get(t))==null?void 0:Z.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(b!==void 0){var G;if(((G=qr.roles.get(t))==null?void 0:G.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let oe=new WeakMap;function U(I){return oe.has(I)||oe.set(I,nw(I)),oe.get(I)}return Array.from(e.querySelectorAll(F$(t))).filter(I=>{if(I.hasAttribute("role")){let V=I.getAttribute("role");if(a)return V.split(" ").filter(Boolean).some(ne=>ne===t);let[K]=V.split(" ");return K===t}return Ip(I).some(V=>V===t)}).filter(I=>{if(l!==void 0)return l===p$(I);if(d!==void 0)return d===f$(I);if(c!==void 0)return c===h$(I);if(p!==void 0)return p===m$(I);if(f!==void 0)return f===y$(I);if(b!==void 0)return b===g$(I);if(g!==void 0)return g===b$(I);if(T!==void 0||R!==void 0||w!==void 0||_!==void 0){let K=!0;if(T!==void 0&&K&&(K=T===v$(I)),R!==void 0&&K&&(K=R===E$(I)),w!==void 0&&K&&(K=w===T$(I)),_!==void 0){var V;K&&(K=On((V=w$(I))!=null?V:null,I,_,ne=>ne))}return K}return!0}).filter(I=>o===void 0?!0:On(Ap(I,{computedStyleSupportsPseudoElements:rt().computedStyleSupportsPseudoElements}),I,o,V=>V)).filter(I=>i===void 0?!0:On(VT(I,{computedStyleSupportsPseudoElements:rt().computedStyleSupportsPseudoElements}),I,i,V=>V)).filter(I=>n===!1?Tl(I,{isSubtreeInaccessible:U})===!1:!0)};function F$(e){var t;let r='*[role~="'+e+'"]',n=(t=qr.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>{let{name:a}=i;return a}));return[r].concat(Array.from(o)).join(",")}var Gw=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},V$=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+Gw(n)},U$=function(e,t,r){let{hidden:n=rt().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(rt()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Gw(o);let a="";Array.from(e.children).forEach(p=>{a+=iw(p,{hidden:n,includeDescription:i!==void 0})});let l;a.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
  269. Here are the `+(n===!1?"accessible":"available")+` roles:
  270. `+a.replace(/\n/g,`
  271. `).replace(/\n\s\s\n/g,`
  272. `)+`
  273. `).trim();let d="";o===void 0?d="":typeof o=="string"?d=' and name "'+o+'"':d=" and name `"+o+"`";let c="";return i===void 0?c="":typeof i=="string"?c=' and description "'+i+'"':c=" and description `"+i+"`",(`
  274. Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+d+c+`
  275. `+l).trim()},Ww=hr(Oc,Oc.name,"queryAll"),[zw,Yw,Kw,Xw,Qw]=Nn(Oc,V$,U$),Mp=()=>rt().testIdAttribute,Ac=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xn(t[0]),Fo(Mp(),...t)},J$=(e,t)=>"Found multiple elements by: ["+Mp()+'="'+t+'"]',H$=(e,t)=>"Unable to find an element by: ["+Mp()+'="'+t+'"]',Zw=hr(Ac,Ac.name,"queryAll"),[e_,t_,r_,n_,o_]=Nn(Ac,J$,H$),Ds=Object.freeze({__proto__:null,queryAllByLabelText:mw,queryByLabelText:uw,getAllByLabelText:fw,getByLabelText:hw,findAllByLabelText:dw,findByLabelText:pw,queryByPlaceholderText:gw,queryAllByPlaceholderText:yw,getByPlaceholderText:vw,getAllByPlaceholderText:bw,findAllByPlaceholderText:Ew,findByPlaceholderText:Tw,queryByText:_w,queryAllByText:ww,getByText:Rw,getAllByText:Sw,findAllByText:Ow,findByText:Aw,queryByDisplayValue:Cw,queryAllByDisplayValue:Pw,getByDisplayValue:Nw,getAllByDisplayValue:xw,findAllByDisplayValue:Iw,findByDisplayValue:qw,queryByAltText:Mw,queryAllByAltText:jw,getByAltText:Dw,getAllByAltText:Lw,findAllByAltText:kw,findByAltText:$w,queryByTitle:Fw,queryAllByTitle:Bw,getByTitle:Uw,getAllByTitle:Vw,findAllByTitle:Jw,findByTitle:Hw,queryByRole:zw,queryAllByRole:Ww,getAllByRole:Yw,getByRole:Kw,findAllByRole:Xw,findByRole:Qw,queryByTestId:e_,queryAllByTestId:Zw,getByTestId:r_,getAllByTestId:t_,findAllByTestId:n_,findByTestId:o_});function Pc(e,t,r){return t===void 0&&(t=Ds),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var i_=e=>!e||Array.isArray(e)&&!e.length;function Sm(e){if(i_(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function G$(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Sm(e);let n=(Array.isArray(e)?e:[e]).map(o=>{let i=o.parentElement;if(i===null)return()=>null;for(;i.parentElement;)i=i.parentElement;return()=>i.contains(o)?o:null});e=()=>n.map(o=>o()).filter(Boolean)}return Sm(e()),qp(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!i_(n))throw r},t)}var Rm={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},Om={doubleClick:"dblClick"};function ga(e,t){return rt().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function gs(e,t,r,n){let{EventType:o="Event",defaultInit:i={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let a={...i,...r},{target:{value:l,files:d,...c}={}}=a;l!==void 0&&W$(t,l),d!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:d}),Object.assign(t,c);let p=XT(t),f=p[o]||p.Event,g;if(typeof f=="function")g=new f(e,a);else{g=p.document.createEvent(o);let{bubbles:b,cancelable:T,detail:w,...R}=a;g.initEvent(e,b,T,w),Object.keys(R).forEach(_=>{g[_]=R[_]})}return["dataTransfer","clipboardData"].forEach(b=>{let T=a[b];typeof T=="object"&&(typeof p.DataTransfer=="function"?Object.defineProperty(g,b,{value:Object.getOwnPropertyNames(T).reduce((w,R)=>(Object.defineProperty(w,R,{value:T[R]}),w),new p.DataTransfer)}):Object.defineProperty(g,b,{value:T}))}),g}Object.keys(Rm).forEach(e=>{let{EventType:t,defaultInit:r}=Rm[e],n=e.toLowerCase();gs[e]=(o,i)=>gs(n,o,i,{EventType:t,defaultInit:r}),ga[e]=(o,i)=>ga(o,gs[e](o,i))});function W$(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(Om).forEach(e=>{let t=Om[e];ga[e]=function(){return ga[t](...arguments)}});function z$(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
  276. `)}function Y$(e){return $k.default.compressToEncodedURIComponent(z$(e))}function K$(e){return"https://testing-playground.com/#markup="+Y$(e)}var X$=(e,t,r)=>Array.isArray(e)?e.forEach(n=>vc(n,t,r)):vc(e,t,r),Q$=function(e){if(e===void 0&&(e=xp().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=K$(e.innerHTML);return console.log(`Open this URL in your browser
  277. `+t),t},Am={debug:X$,logTestingPlaygroundURL:Q$},Z$=typeof document<"u"&&document.body?Pc(document.body,Ds,Am):Object.keys(Ds).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),Am);function Qe(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}function Lr(e){var t;if(eB(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${tB(e)}`)}function eB(e){return e.nodeType===9}function tB(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function a_(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function Lp(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s_=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Xn(this,"kind",void 0),Xn(this,"type",void 0),Xn(this,"file",null),Xn(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},rB=class extends Array{add(...e){let t=new s_(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function es(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}function nB(e){return new class{getData(t){var r;let n=(r=this.items.find(es(t,!0)))!==null&&r!==void 0?r:this.items.find(es(t,!1)),o="";return n==null||n.getAsString(i=>{o=i}),o}setData(t,r){let n=this.items.findIndex(es(t,!0)),o=new s_(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(es(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){Xn(this,"dropEffect","none"),Xn(this,"effectAllowed","uninitialized"),Xn(this,"items",new rB),Xn(this,"files",Lp(e,[]))}}}function Dp(e,t=[]){let r=typeof e.DataTransfer>"u"?nB(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Lp(e,t)}),r}async function oB(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function l_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u_(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let o=await this.data[n];if(!o)throw new Error(`${n} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:n})}constructor(n){l_(this,"data",void 0),this.data=n}}(r)}var fi=Symbol("Manage ClipboardSub");function Pm(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let o=n.types.includes("text/plain")?"text/plain":n.types.find(i=>i.startsWith("text/"));o&&(r+=await n.getType(o).then(i=>a_(i,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[u_(e,r)]}constructor(...r){super(...r),l_(this,"items",[])}},{[fi]:t})}function kp(e){return!!(e!=null&&e[fi])}function iB(e){if(kp(e.navigator.clipboard))return e.navigator.clipboard[fi];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Pm(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Pm(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[fi]}function aB(e){kp(e.navigator.clipboard)&&e.navigator.clipboard[fi].resetClipboardStub()}function sB(e){kp(e.navigator.clipboard)&&e.navigator.clipboard[fi].detachClipboardStub()}async function lB(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=Dp(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(l=>a_(l,t.FileReader)));return o}async function c_(e,t){let r=Lr(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let a=t.items[i],l=await oB(r,a);o.push(u_(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var ks=globalThis;typeof ks.afterEach=="function"&&ks.afterEach(()=>{typeof globalThis.window<"u"&&aB(globalThis.window)});typeof ks.afterAll=="function"&&ks.afterAll(()=>{typeof globalThis.window<"u"&&sB(globalThis.window)});var d_=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function $p(e){return e.matches(d_)}function uB(e){return new e.constructor(e.type,e)}function An(e){for(let r=e;r;r=r.parentElement)if(Qe(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Qe(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function La(e){let t=e.activeElement;return t!=null&&t.shadowRoot?La(t.shadowRoot):An(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function gu(e){var t;return(t=La(e))!==null&&t!==void 0?t:e.body}function cB(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function Lo(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function ba(e){let t=dB(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function dB(e){return e.nodeType===1?e:e.parentElement}var p_=function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e}(p_||{});function f_(e){return Qe(e,"button")||Qe(e,"input")&&e.type in p_}function hi(e){return m_(e)&&!e.readOnly||Lo(e)}var h_=function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e}(h_||{});function m_(e){return Qe(e,"textarea")||Qe(e,"input")&&e.type in h_}function sn(e){return y_(e)&&m_(e)}function pB(e){return y_(e)&&f_(e)}function y_(e){return e.nodeType===1}function fB(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&sn(e)){let n=ba(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function mi(e,t){return rt().eventWrapper(e)}function no(e){let t=cB(e,$p),r=La(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(mi(t?()=>t.focus():()=>r==null?void 0:r.blur()),fB(t??e.ownerDocument.body))}function hB(e){!$p(e)||La(e.ownerDocument)!==e||mi(()=>e.blur())}var oo={};oo.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&Qe(n,"label")&&n.control;if(o&&o!==t)return()=>{$p(o)&&(no(o),r.dispatchEvent(o,uB(e)))};if(Qe(t,"input",{type:"file"}))return()=>{hB(t),t.dispatchEvent(new(Lr(t)).Event("fileDialog")),no(t)}};var yi=Symbol("Displayed value in UI"),_n=Symbol("Displayed selection in UI"),$s=Symbol("Initial value to compare on blur");function mB(e){return typeof e=="object"&&yi in e}function yB(e){return!!e&&typeof e=="object"&&_n in e}function gB(e,t){e[$s]===void 0&&(e[$s]=e.value),e[yi]=t,e.value=Object.assign(new String(t),{[yi]:!0})}function ln(e){return e[yi]===void 0?e.value:String(e[yi])}function Bp(e){e[yi]=void 0}function g_(e){e[$s]=void 0}function bB(e){return e[$s]}function vB(e,t){e[_n]=t}function Ai(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=ln(e).length,i=f=>Math.max(0,Math.min(o,f)),a=n==="replace"||e[_n]===void 0?i(r):e[_n].anchorOffset,l=i(t),d=Math.min(a,l),c=Math.max(a,l);if(e[_n]={anchorOffset:a,focusOffset:l},e.selectionStart===d&&e.selectionEnd===c)return;let p=Object.assign(new Number(d),{[_n]:!0});try{e.setSelectionRange(p,c)}catch{}}function va(e){var t,r,n;let o=(n=e[_n])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function EB(e){return!!e[_n]}function bs(e){e[_n]=void 0}var Bs=globalThis.parseInt;function TB(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=Bs(t[0],10),n=Bs(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Cm(t,o)}return e.length===2?e:Cm(t,2)}function Cm(e,t){let r=e.slice(0,t),n=Math.min(Bs(r,10),23),o=e.slice(t),i=Bs(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function b_(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var v_=function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e}(v_||{});function wB(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function _B(e){return Qe(e,"textarea")||Qe(e,"input")&&e.type in v_}function E_(e,t,r,n){if(vs(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=xm(e,t,r);if(o){if(vs(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(Qe(o,"br")){let i=xm(o,void 0,r);return i?vs(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&Qe(i,"br")?{node:o.parentNode,offset:ts(o)}:{node:i.parentNode,offset:ts(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:ts(o)}:void 0}else return{node:o.parentNode,offset:ts(o)+(r>0?1:0)}}}function xm(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Fp(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),RB(e,r===1?"next":"previous",SB)}function SB(e){if(vs(e))return!0;if(Fp(e)){if(Qe(e,["input","textarea"]))return e.type!=="hidden";if(Qe(e,"br"))return!0}return!1}function ts(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Fp(e){return e.nodeType===1}function vs(e){return e.nodeType===3}function RB(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=OB(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Fp(e.parentNode)||!Lo(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function OB(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var Ea=Symbol("Track programmatic changes for React workaround");function AB(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Lr(e).REACT_VERSION===17}function PB(e){AB(e)&&(e[Ea]={previousValue:String(e.value),tracked:[]})}function CB(e,t){var r,n;(n=e[Ea])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Ea]||(Bp(e),Ai(e,{focusOffset:t.length}))}function xB(e,t){var r;let n=e[Ea];if(e[Ea]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||Bp(e),EB(e)&&Ai(e,{focusOffset:o?t:e.value.length})}function T_(e){let t=NB(e);if(t&&sn(t))return{type:"input",selection:va(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:ba(e)&&(r!=null&&r.anchorNode)&&ba(r.anchorNode)?"contenteditable":"default",selection:r}}function NB(e){return e.nodeType===1?e:e.parentElement}function IB(e){let t=T_(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Do({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(T_(e).type==="input")return Ai(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function w_(e){return Qe(e,"input")&&["date","time"].includes(e.type)}function gi(e,t,r,n="insertText"){let o=IB(t);o&&(!w_(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?qB(e,t,o,r,n):jB(e,t,o,r,n)))}function qB(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=E_(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(a){i=!0;let l=r.cloneRange();l.comparePoint(a.node,a.offset)<0?l.setStart(a.node,a.offset):l.setEnd(a.node,a.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let a=r.endOffset;r.endContainer.insertData(a,n),r.setStart(r.endContainer,a+n.length),r.setEnd(r.endContainer,a+n.length)}else{let a=t.ownerDocument.createTextNode(n);r.insertNode(a),r.setStart(a,n.length),r.setEnd(a,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function jB(e,t,r,n,o){let i=n;if(_B(t)){let c=wB(t);if(c!==void 0&&n.length>0){let p=c-t.value.length;if(p>0)i=n.substring(0,p);else return}}let{newValue:a,newOffset:l,oldValue:d}=MB(i,t,r,o);a===d&&l===r.startOffset&&l===r.endOffset||Qe(t,"input",{type:"number"})&&!LB(a)||(gB(t,a),Do({focusNode:t,anchorOffset:l,focusOffset:l}),w_(t)?b_(t,a)&&(Nm(e,t,l,{}),e.dispatchUIEvent(t,"change"),g_(t)):Nm(e,t,l,{data:n,inputType:o}))}function MB(e,t,{startOffset:r,endOffset:n},o){let i=ln(t),a=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),l=i.substring(0,a),d=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),c=i.substring(d,i.length),p=`${l}${e}${c}`,f=a+e.length;if(Qe(t,"input",{type:"time"})){let g=TB(p);g!==""&&b_(t,g)&&(p=g,f=g.length)}return{oldValue:i,newValue:p,newOffset:f}}function Nm(e,t,r,n){e.dispatchUIEvent(t,"input",n),xB(t,r)}function LB(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}oo.cut=(e,t,r)=>()=>{hi(t)&&gi(r,t,"","deleteByCut")};function DB(e){return e?Lo(e)?e.textContent:ln(e):null}function kB(e){let t=Lr(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function $B(e,t){let r=e.ownerDocument,n=r.querySelectorAll(d_),o=Array.from(n).filter(d=>d===e||!(Number(d.getAttribute("tabindex"))<0||An(d)));Number(e.getAttribute("tabindex"))>=0&&o.sort((d,c)=>{let p=Number(d.getAttribute("tabindex")),f=Number(c.getAttribute("tabindex"));return p===f?0:p===0?1:f===0?-1:p-f});let i={},a=[r.body],l=Qe(e,"input",{type:"radio"})?e.name:void 0;o.forEach(d=>{let c=d;if(Qe(c,"input",{type:"radio"})&&c.name){if(c===e){a.push(c);return}else if(c.name===l)return;if(c.checked){a=a.filter(p=>!Qe(p,"input",{type:"radio",name:c.name})),a.push(c),i[c.name]=c;return}if(typeof i[c.name]<"u")return}a.push(c)});for(let d=a.findIndex(c=>c===e);;)if(d+=t?-1:1,d===a.length?d=0:d===-1&&(d=a.length-1),a[d]===e||a[d]===r.body||kB(a[d]))return a[d]}function Im(e,t){if(sn(e)){let r=va(e);Do({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=E_(r.focusNode,r.focusOffset,t);n&&Do({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function __(e){if(sn(e))return Do({focusNode:e,anchorOffset:0,focusOffset:ln(e).length});var t;let r=(t=ba(e))!==null&&t!==void 0?t:e.ownerDocument.body;Do({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function BB(e){if(sn(e))return va(e).startOffset===0&&va(e).endOffset===ln(e).length;var t;let r=(t=ba(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function Hi(e,t,r){var n;if(sn(e))return Do({focusNode:e,anchorOffset:t,focusOffset:r});if(Lo(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Do({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function rs(e,t,r){let n=Lr(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(a=>a===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;if(!An(o[i])){no(o[i]),e.dispatchUIEvent(o[i],"click");return}}}oo.keydown=(e,t,r)=>{var n,o;return(o=(n=qm[e.key])===null||n===void 0?void 0:n.call(qm,e,t,r))!==null&&o!==void 0?o:FB(e,t,r)};var qm={ArrowDown:(e,t,r)=>{if(Qe(t,"input",{type:"radio"}))return()=>rs(r,t,1)},ArrowLeft:(e,t,r)=>Qe(t,"input",{type:"radio"})?()=>rs(r,t,-1):()=>Im(t,-1),ArrowRight:(e,t,r)=>Qe(t,"input",{type:"radio"})?()=>rs(r,t,1):()=>Im(t,1),ArrowUp:(e,t,r)=>{if(Qe(t,"input",{type:"radio"}))return()=>rs(r,t,-1)},Backspace:(e,t,r)=>{if(hi(t))return()=>{gi(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(hi(t))return()=>{gi(r,t,"","deleteContentForward")}},End:(e,t)=>{if(Qe(t,["input","textarea"])||Lo(t))return()=>{var r,n;let o=(n=(r=DB(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Hi(t,o,o)}},Home:(e,t)=>{if(Qe(t,["input","textarea"])||Lo(t))return()=>{Hi(t,0,0)}},PageDown:(e,t)=>{if(Qe(t,["input"]))return()=>{let r=ln(t).length;Hi(t,r,r)}},PageUp:(e,t)=>{if(Qe(t,["input"]))return()=>{Hi(t,0,0)}},Tab:(e,t,r)=>()=>{let n=$B(t,r.system.keyboard.modifiers.Shift);no(n),sn(n)&&Ai(n,{anchorOffset:0,focusOffset:n.value.length})}},FB=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>__(t)};oo.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Qe(t,"button")||Qe(t,"input")&&VB.includes(t.type)||Qe(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Qe(t,"input")){let n=t.form,o=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&UB.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(hi(t)){let n=e.key==="Enter"?Lo(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
  278. `:e.key;return()=>gi(r,t,o,n)}};var VB=["button","color","file","image","reset","submit"],UB=["email","month","password","search","tel","text","url","week"];oo.keyup=(e,t,r)=>{var n;return(n=jm[e.key])===null||n===void 0?void 0:n.call(jm,e,t,r)};var jm={" ":(e,t,r)=>{if(f_(t))return()=>r.dispatchUIEvent(t,"click")}};oo.paste=(e,t,r)=>{if(hi(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&gi(r,t,o,"insertFromPaste")}};var S_={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function R_(e){return S_[e].EventType}var JB=["MouseEvent","PointerEvent"];function HB(e){return JB.includes(R_(e))}function GB(e){return R_(e)==="KeyboardEvent"}var WB={ClipboardEvent:[YB],Event:[],FocusEvent:[Bi,KB],InputEvent:[Bi,XB],MouseEvent:[Bi,bu,Mm],PointerEvent:[Bi,bu,Mm,ZB],KeyboardEvent:[Bi,bu,QB]};function O_(e,t,r){let n=Lr(t),{EventType:o,defaultInit:i}=S_[e],a=new(zB(n))[o](e,i);var l={};for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(l[d]=r[d]);return l.view=n,WB[o].forEach(function(c){c(a,l)}),a}function zB(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let o=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var i;let a=(i=e.ClipboardEvent)!==null&&i!==void 0?i:class extends r{};var l;let d=(l=e.PopStateEvent)!==null&&l!==void 0?l:class extends r{};var c;let p=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var f;let g=(f=e.TransitionEvent)!==null&&f!==void 0?f:class extends r{};var b;let T=(b=e.UIEvent)!==null&&b!==void 0?b:class extends r{};var w;let R=(w=e.CompositionEvent)!==null&&w!==void 0?w:class extends T{};var _;let A=(_=e.FocusEvent)!==null&&_!==void 0?_:class extends T{};var L;let D=(L=e.InputEvent)!==null&&L!==void 0?L:class extends T{};var k;let h=(k=e.KeyboardEvent)!==null&&k!==void 0?k:class extends T{};var C;let x=(C=e.MouseEvent)!==null&&C!==void 0?C:class extends T{};var j;let Z=(j=e.DragEvent)!==null&&j!==void 0?j:class extends x{};var G;let oe=(G=e.PointerEvent)!==null&&G!==void 0?G:class extends x{};var U;let I=(U=e.TouchEvent)!==null&&U!==void 0?U:class extends T{};return{Event:r,AnimationEvent:o,ClipboardEvent:a,PopStateEvent:d,ProgressEvent:p,TransitionEvent:g,UIEvent:T,CompositionEvent:R,FocusEvent:A,InputEvent:D,KeyboardEvent:h,MouseEvent:x,DragEvent:Z,PointerEvent:oe,TouchEvent:I}}function ao(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Ct(e){return Number(e??0)}function YB(e,{clipboardData:t}){ao(e,{clipboardData:t})}function KB(e,{relatedTarget:t}){ao(e,{relatedTarget:t})}function XB(e,{data:t,inputType:r,isComposing:n}){ao(e,{data:t,isComposing:!!n,inputType:String(r)})}function Bi(e,{view:t,detail:r}){ao(e,{view:t,detail:Ct(r??0)})}function bu(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:a,modifierFn:l,modifierFnLock:d,modifierNumLock:c,modifierScrollLock:p,modifierSymbol:f,modifierSymbolLock:g}){ao(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(b){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:l,FnLock:d,Meta:n,NumLock:c,ScrollLock:p,Shift:o,Symbol:f,SymbolLock:g}[b]}})}function QB(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){ao(e,{key:String(t),code:String(r),location:Ct(n),repeat:!!o,isComposing:!!i,charCode:a})}function Mm(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:l,buttons:d,relatedTarget:c,offsetX:p,offsetY:f,pageX:g,pageY:b}){ao(e,{screenX:Ct(n),screenY:Ct(o),clientX:Ct(i),x:Ct(i),clientY:Ct(a),y:Ct(a),button:Ct(l),buttons:Ct(d),relatedTarget:c,offsetX:Ct(p),offsetY:Ct(f),pageX:Ct(g),pageY:Ct(b)})}function ZB(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:l,twist:d,pointerType:c,isPrimary:p}){ao(e,{pointerId:Ct(t),width:Ct(r??1),height:Ct(n??1),pressure:Ct(o),tangentialPressure:Ct(i),tiltX:Ct(a),tiltY:Ct(l),twist:Ct(d),pointerType:String(c),isPrimary:!!p})}function eF(e,t,r,n=!1){(HB(t)||GB(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=O_(t,e,r);return A_.call(this,e,o,n)}function A_(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=oo[o])===null||n===void 0?void 0:n.call(oo,t,e,this);if(i){t.preventDefault();let a=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>a}),Object.defineProperty(t,"preventDefault",{value:()=>{a=t.cancelable}}),mi(()=>e.dispatchEvent(t)),a||i(),!a}return mi(()=>e.dispatchEvent(t))}function Oo(e,t,r){let n=O_(t,e,r);mi(()=>e.dispatchEvent(n))}var Lm=Symbol("patched focus/blur methods");function P_(e){if(e.prototype[Lm])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>o},blur:{configurable:!0,get:()=>i},[Lm]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let l=Dm(this.ownerDocument);if(l===this)return;let d=Symbol("focus call");n=d,l&&(r.call(l),Oo(l,"blur",{relatedTarget:this}),Oo(l,"focusout",{relatedTarget:n===d?this:null})),n===d&&(t.call(this,a),Oo(this,"focus",{relatedTarget:l})),n===d&&Oo(this,"focusin",{relatedTarget:l})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=Dm(this.ownerDocument);a===this&&(n=Symbol("blur call"),r.call(this),Oo(a,"blur",{relatedTarget:null}),Oo(a,"focusout",{relatedTarget:null}))}}function Dm(e){let t=La(e);return(t==null?void 0:t.tagName)==="BODY"?null:t}var vu=Symbol("Interceptor for programmatical calls");function ei(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[i])!="function"||n[i][vu])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...l){let{applyNative:d=!1,realArgs:c,then:p}=r.call(this,...l),f=(!d&&o||n)[i];i==="set"?f.call(this,c):f.call(this,...c),p==null||p()}a[vu]=vu,Object.defineProperty(e,t,{...o??n,[i]:a})}function tF(e){ei(e,"value",function(t){let r=mB(t);return r&&PB(this),{applyNative:!!r,realArgs:rF(this,t),then:r?void 0:()=>CB(this,String(t))}})}function rF(e,t){return Qe(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function nF(e){ei(e,"setSelectionRange",function(t,...r){let n=yB(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:bs(e)}}),ei(e,"selectionStart",function(t){return{realArgs:t,then:()=>bs(e)}}),ei(e,"selectionEnd",function(t){return{realArgs:t,then:()=>bs(e)}}),ei(e,"select",function(){return{realArgs:[],then:()=>vB(e,{anchorOffset:0,focusOffset:ln(e).length})}})}function oF(e){ei(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Bp(e),bs(e)}}})}var ii=Symbol("Node prepared with document state workarounds");function C_(e){e[ii]||(e.addEventListener("focus",t=>{let r=t.target;km(r)},{capture:!0,passive:!0}),e.activeElement&&km(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=bB(r);n!==void 0&&(r.value!==n&&Oo(r,"change"),g_(r))},{capture:!0,passive:!0}),e[ii]=ii)}function km(e){e[ii]||(Qe(e,["input","textarea"])&&(tF(e),nF(e),oF(e)),e[ii]=ii)}function iF(e){return aF(e)?e:e.ownerDocument}function aF(e){return e.nodeType===9}var wr=function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e}({});function Gi(e,t){e.levelRefs[t]={}}function ns(e,t){return e.levelRefs[t]}function bi(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var Es=function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e}({});function To(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Zr=function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e}({}),sF=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function $m(e){return sF.includes(e)}var lF=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Bm(e){return lF.includes(e)}var uF=class{isKeyPressed(e){return this.pressed.has(String(e.code))}getPressedKeys(){return this.pressed.values().map(e=>e.keyDef)}async keydown(e,t){let r=String(t.key),n=String(t.code),o=gu(e.config.document);this.setKeydownTarget(o),this.pressed.add(n,t),$m(r)&&(this.modifiers[r]=!0);let i=e.dispatchUIEvent(o,"keydown",{key:r,code:n});Bm(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),i&&this.pressed.setUnprevented(n),i&&this.hasKeyPress(r)&&e.dispatchUIEvent(gu(e.config.document),"keypress",{key:r,code:n,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),o=this.pressed.isUnprevented(n);this.pressed.delete(n),$m(r)&&!this.pressed.values().find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(gu(e.config.document),"keyup",{key:r,code:n},!o),Bm(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){To(this,"system",void 0),To(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),To(this,"pressed",new class{add(t,r){var n,o,i;(i=(n=this.registry)[o=t])!==null&&i!==void 0||(n[o]={keyDef:r,unpreventedDefault:!1})}has(t){return!!this.registry[t]}setUnprevented(t){let r=this.registry[t];r&&(r.unpreventedDefault=!0)}isUnprevented(t){var r;return!!(!((r=this.registry[t])===null||r===void 0)&&r.unpreventedDefault)}delete(t){delete this.registry[t]}values(){return Object.values(this.registry)}constructor(){To(this,"registry",{})}}),To(this,"carryChar",""),To(this,"lastKeydownTarget",void 0),To(this,"modifierLockStart",{}),this.system=e}},cF=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Zr.LEFT},{code:"AltRight",key:"Alt",location:Zr.RIGHT},{code:"ShiftLeft",key:"Shift",location:Zr.LEFT},{code:"ShiftRight",key:"Shift",location:Zr.RIGHT},{code:"ControlLeft",key:"Control",location:Zr.LEFT},{code:"ControlRight",key:"Control",location:Zr.RIGHT},{code:"MetaLeft",key:"Meta",location:Zr.LEFT},{code:"MetaRight",key:"Meta",location:Zr.RIGHT},{code:"OSLeft",key:"OS",location:Zr.LEFT},{code:"OSRight",key:"OS",location:Zr.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],dF=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function pF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var x_=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=Cc(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=Cc(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){pF(this,"pressed",{})}},Fm={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Cc(e=0){return e in Fm?Fm[e]:Number(e)}var Vm={1:2,2:1};function xc(e){return e=Cc(e),e in Vm?Vm[e]:e}function fF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var hF=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){fF(this,"pressedKeys",new Set)}};function Qi(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function Nc({target:e,node:t,offset:r}){return sn(e)?{node:e,offset:r??ln(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:N_(e,r)}function N_(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let i=e.childNodes.item(n),a=String(i.textContent);if(a.length)if(t!==void 0&&a.length<t)t-=a.length;else{if(i.nodeType===1)return N_(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function mF({document:e,target:t,clickCount:r,node:n,offset:o}){if(pB(t))return;let i=sn(t),a=String(i?ln(t):t.textContent),[l,d]=n?[o,o]:yF(a,o,r);if(i)return Ai(t,{anchorOffset:l??a.length,focusOffset:d??a.length}),{node:t,start:l??0,end:d??a.length};{let{node:c,offset:p}=Nc({target:t,node:n,offset:l}),{node:f,offset:g}=Nc({target:t,node:n,offset:d}),b=t.ownerDocument.createRange();try{b.setStart(c,p),b.setEnd(f,g)}catch{throw new Error("The given offset is out of bounds.")}let T=e.getSelection();return T==null||T.removeAllRanges(),T==null||T.addRange(b.cloneRange()),b}}function yF(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function gF(e,{document:t,target:r,node:n,offset:o}){let i=Nc({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let a=i.offset<e.start?e.end:e.start,l=i.offset>e.end||i.offset<e.start?i.offset:e.end;Ai(e.node,{anchorOffset:a,focusOffset:l})}}else{let a=e.cloneRange(),l=a.comparePoint(i.node,i.offset);l<0?a.setStart(i.node,i.offset):l>0&&a.setEnd(i.node,i.offset);let d=t.getSelection();d==null||d.removeAllRanges(),d==null||d.addRange(a.cloneRange())}}function I_(e,t){var r,n,o,i,a,l,d,c,p,f,g,b,T,w,R,_,A,L,D,k,h,C,x,j;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((l=t.coords)===null||l===void 0?void 0:l.clientX)||((d=e.coords)===null||d===void 0?void 0:d.clientY)!==((c=t.coords)===null||c===void 0?void 0:c.clientY)||((p=e.coords)===null||p===void 0?void 0:p.offsetX)!==((f=t.coords)===null||f===void 0?void 0:f.offsetX)||((g=e.coords)===null||g===void 0?void 0:g.offsetY)!==((b=t.coords)===null||b===void 0?void 0:b.offsetY)||((T=e.coords)===null||T===void 0?void 0:T.pageX)!==((w=t.coords)===null||w===void 0?void 0:w.pageX)||((R=e.coords)===null||R===void 0?void 0:R.pageY)!==((_=t.coords)===null||_===void 0?void 0:_.pageY)||((A=e.coords)===null||A===void 0?void 0:A.screenX)!==((L=t.coords)===null||L===void 0?void 0:L.screenX)||((D=e.coords)===null||D===void 0?void 0:D.screenY)!==((k=t.coords)===null||k===void 0?void 0:k.screenY)||((h=e.caret)===null||h===void 0?void 0:h.node)!==((C=t.caret)===null||C===void 0?void 0:C.node)||((x=e.caret)===null||x===void 0?void 0:x.offset)!==((j=t.caret)===null||j===void 0?void 0:j.offset)}function wo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var bF=class{move(e,t,r){let n=this.position,o=this.getTarget(e);if(this.position=t,!I_(n,t))return;let i=this.getTarget(e),a=this.getEventInit("mousemove"),[l,d]=Qi(o,i);return{leave:()=>{o!==i&&(e.dispatchUIEvent(o,"mouseout",a),l.forEach(c=>e.dispatchUIEvent(c,"mouseleave",a)))},enter:()=>{o!==i&&(e.dispatchUIEvent(i,"mouseover",a),d.forEach(c=>e.dispatchUIEvent(c,"mouseenter",a)))},move:()=>{r||(e.dispatchUIEvent(i,"mousemove",a),this.modifySelecting(e))}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[n]=o;let i=this.getEventInit("mousedown",t.button),a=An(o);!r&&(a||e.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(e,i.detail),no(o)),!a&&xc(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let o=this.getTarget(e);if(!An(o)){if(!r){let a=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(o,"mouseup",a),this.endSelecting()}let i=Qi(this.buttonDownTarget[n],o)[2][0];if(i){let a=this.getEventInit("click",t.button);a.detail&&(e.dispatchUIEvent(i,a.button===0?"click":"auxclick",a),a.button===0&&a.detail===2&&e.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",t.button),detail:a.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){let r={...this.position.coords};return r.button=xc(t),r.buttons=this.buttons.getButtons(),e==="mousedown"?r.detail=this.clickCount.getOnDown(r.button):e==="mouseup"?r.detail=this.clickCount.getOnUp(r.button):(e==="click"||e==="auxclick")&&(r.detail=this.clickCount.incOnClick(r.button)),r}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=mF({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&gF(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){wo(this,"position",{}),wo(this,"buttons",new x_),wo(this,"selecting",void 0),wo(this,"buttonDownTarget",{}),wo(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){wo(this,"down",{}),wo(this,"count",{})}})}};function Fs(e,t){var r;return((r=q_(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function vF(e){let t=Lr(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var Um=Symbol("Last check for pointer-events");function q_(e,t){let r=t[Um];if(!(e.config.pointerEventsCheck!==Es.Never&&(!r||Jm(e.config.pointerEventsCheck,Es.EachApiCall)&&r[wr.Call]!==ns(e,wr.Call)||Jm(e.config.pointerEventsCheck,Es.EachTrigger)&&r[wr.Trigger]!==ns(e,wr.Trigger))))return r==null?void 0:r.result;let n=vF(t);return t[Um]={[wr.Call]:ns(e,wr.Call),[wr.Trigger]:ns(e,wr.Trigger),result:n},n}function Wi(e,t){let r=q_(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",EF(r.tree)].join(`
  279. `))}function EF(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,TF(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
  280. `)}function TF(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(Qe(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(a=>{var l;return(l=a.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(Qe(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}function Jm(e,t){return(e&t)>0}function gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wF=class{init(e){let t=this.getTarget(e),[,r]=Qi(null,t),n=this.getEventInit();return Wi(e,t),e.dispatchUIEvent(t,"pointerover",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerenter",n)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!I_(r,t))return;let o=this.getTarget(e),i=this.getEventInit(-1),[a,l]=Qi(n,o);return{leave:()=>{Fs(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",i),a.forEach(d=>e.dispatchUIEvent(d,"pointerleave",i)))},enter:()=>{Wi(e,o),n!==o&&(e.dispatchUIEvent(o,"pointerover",i),l.forEach(d=>e.dispatchUIEvent(d,"pointerenter",i)))},move:()=>{e.dispatchUIEvent(o,"pointermove",i)}}}down(e,t=0){if(this.isDown)return;let r=this.getTarget(e);Wi(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit(t))}up(e,t=0){if(!this.isDown)return;let r=this.getTarget(e);Wi(e,r),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit(t))}release(e){let t=this.getTarget(e),[r]=Qi(t,null),n=this.getEventInit();Fs(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(e){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:xc(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:r},n){gn(this,"pointerId",void 0),gn(this,"pointerType",void 0),gn(this,"isPrimary",void 0),gn(this,"buttons",void 0),gn(this,"isMultitouch",!1),gn(this,"isCancelled",!1),gn(this,"isDown",!1),gn(this,"isPrevented",!1),gn(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r,this.buttons=n}};function Jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _F=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t);let n=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(n,t.pointerType,this.buttons):this.pointers.get(n);o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),o.pointerType==="touch"&&o.init(e),o.down(e,t.button),o.pointerType!=="touch"&&this.mouse.down(e,t,o.isPrevented)}async move(e,t,r){let n=this.pointers.get(t),o=n.move(e,r),i=n.pointerType==="touch"?void 0:this.mouse.move(e,r,n.isPrevented);o==null||o.leave(),i==null||i.leave(),o==null||o.enter(),i==null||i.enter(),o==null||o.move(),i==null||i.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let o=this.pointers.get(this.getPointerName(t)),i=o.isPrevented;if(o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&o.up(e,t.button),o.pointerType==="touch"&&o.release(e),o.pointerType==="touch"&&!o.isMultitouch){let a=this.mouse.move(e,r,i);a==null||a.leave(),a==null||a.enter(),a==null||a.move(),this.mouse.down(e,t,i)}if(!o.isMultitouch){let a=this.mouse.move(e,r,i);a==null||a.leave(),a==null||a.enter(),a==null||a.move(),this.mouse.up(e,t,i)}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){Jn(this,"system",void 0),Jn(this,"mouse",void 0),Jn(this,"buttons",void 0),Jn(this,"devices",new class{get(t){var r,n,o;return(o=(r=this.registry)[n=t])!==null&&o!==void 0?o:r[n]=new hF}constructor(){Jn(this,"registry",{})}}),Jn(this,"pointers",new class{new(t,r,n){let o=r!=="touch"||!Object.values(this.registry).some(i=>i.pointerType==="touch"&&!i.isCancelled);return o||Object.values(this.registry).forEach(i=>{i.pointerType===r&&!i.isCancelled&&(i.isMultitouch=!0)}),this.registry[t]=new wF({pointerId:this.nextId++,pointerType:r,isPrimary:o},n),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){Jn(this,"registry",{}),Jn(this,"nextId",1)}}),this.system=e,this.buttons=new x_,this.mouse=new bF,this.pointers.new("mouse","mouse",this.buttons)}};function Hm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j_=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){Hm(this,"keyboard",new uF(this)),Hm(this,"pointer",new _F(this))}};async function SF(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function RF(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function OF(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function AF(e){return this.pointer({target:e})}async function PF(e){return Wi(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function CF({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Vp=function(e){return e["{"]="}",e["["]="]",e}(Vp||{});function M_(e,t){let r=0,n=e[r]in Vp?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?xF(e,r,t):NF(e,r,o,t)}}function xF(e,t,r){let n=e[t];return L_(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function NF(e,t,r,n){var o,i;let a=e[t]==="/"?"/":"";t+=a.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let d=l?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];L_(d,e,t,n),t+=d.length;var c;let p=(c=(i=e.slice(t).match(/^>\d+/))===null||i===void 0?void 0:i[0])!==null&&c!==void 0?c:"";t+=p.length;let f=e[t]==="/"||!p&&e[t]===">"?e[t]:"";t+=f.length;let g=Vp[r],b=e[t]===g?g:"";if(!b)throw new Error(D_([!p&&"repeat modifier",!f&&"release modifier",`"${g}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=b.length,{consumedLength:t,descriptor:d,releasePrevious:!!a,repeat:p?Math.max(Number(p.substr(1)),1):1,releaseSelf:IF(f,p)}}function L_(e,t,r,n){if(!e)throw new Error(D_("key descriptor",t[r],t,n))}function IF(e,t){if(e)return e==="/";if(t)return!1}function D_(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
  281. See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
  282. for more information about how userEvent parses your input.`}function qF(e,t){let r=[];do{let{type:o,descriptor:i,consumedLength:a,releasePrevious:l,releaseSelf:d=!0,repeat:c}=M_(t,"keyboard");var n;let p=(n=e.find(f=>{if(o==="["){var g;return((g=f.code)===null||g===void 0?void 0:g.toLowerCase())===i.toLowerCase()}else if(o==="{"){var b;return((b=f.key)===null||b===void 0?void 0:b.toLowerCase())===i.toLowerCase()}return f.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:p,releasePrevious:l,releaseSelf:d,repeat:c}),t=t.slice(a)}while(t);return r}async function jF(e){let t=qF(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await bi(this.config),await MF(this,t[r])}async function MF(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let a=1;a<=o;a++)await i.keyboard.keydown(e,t),a<o&&await bi(e.config);n&&await i.keyboard.keyup(e,t)}}async function LF(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function k_(e){let t=sn(e)?{"text/plain":DF(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Dp(Lr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function DF(e){let t=va(e);return ln(e).substring(t.startOffset,t.endOffset)}async function kF(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=k_(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await c_(e,n),n}async function $F(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=k_(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await c_(r.ownerDocument,n),n}async function BF(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let i=(o=typeof e=="string"?FF(t,e):e)!==null&&o!==void 0?o:await lB(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}function FF(e,t){let r=Dp(Lr(e));return r.setData("text",t),r}function Gm(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=M_(t,"pointer"),l=e.find(d=>d.name===n);l&&r.push({keyDef:l,releasePrevious:i,releaseSelf:a}),t=t.slice(o)}while(t);return r}async function VF(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Gm(t,n)):"keys"in n?r.push(...Gm(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await bi(this.config),await UF(this,r[n]);this.system.pointer.resetClickCount()}async function UF(e,t){var r,n;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",i=e.system.pointer.getPreviousPosition(o);var a,l,d,c;let p={target:(a=t.target)!==null&&a!==void 0?a:JF(e,i),coords:(l=t.coords)!==null&&l!==void 0?l:i==null?void 0:i.coords,caret:{node:(d=t.node)!==null&&d!==void 0?d:Wm(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:Wm(t)||i==null||(n=i.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Gi(e,wr.Trigger),await e.system.pointer.release(e,t.keyDef,p)),t.releasePrevious||(Gi(e,wr.Trigger),await e.system.pointer.press(e,t.keyDef,p),t.releaseSelf&&(Gi(e,wr.Trigger),await e.system.pointer.release(e,t.keyDef,p)))):(Gi(e,wr.Trigger),await e.system.pointer.move(e,o,p))}function Wm(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function JF(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function HF(e){if(!hi(e)||An(e))throw new Error("clear()` is only supported on editable elements.");if(no(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(__(e),!BB(e))throw new Error("The element content to be cleared could not be selected.");gi(this,e,"","deleteContentBackward")}async function GF(e,t){return $_.call(this,!0,e,t)}async function WF(e,t){return $_.call(this,!1,e,t)}async function $_(e,t,r){if(!e&&!t.multiple)throw rt().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(l=>{if(typeof l!="string"&&o.includes(l))return l;{let d=o.find(c=>c.value===l||c.innerHTML===l);if(d)return d;throw rt().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!An(l));if(An(t)||!i.length)return;let a=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(Qe(t,"select"))if(t.multiple)for(let l of i){let d=this.config.pointerEventsCheck===0?!0:Fs(this,l);d&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),no(t),d&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),a(l),d&&this.dispatchUIEvent(l,"click"),await bi(this.config)}else if(i.length===1){let l=this.config.pointerEventsCheck===0?!0:Fs(this,t);l?await this.click(t):no(t),a(i[0]),l&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await bi(this.config)}else throw rt().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of i)await this.click(l),await this.unhover(l);else throw rt().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function zF(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&Hi(e,o,i??o),await this.keyboard(t),n||await LF(this))}var zm=Symbol("files and value properties are mocked");function Eu(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function YF(e,t){var r;(r=e[zm])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){Eu(e,"type",n),Eu(e,"value",o),Eu(e,"files",i)}e[zm]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")a();else{var d;o==null||(d=o.set)===null||d===void 0||d.call(e,l)}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(a(),e.type=l)}}})}async function KF(e,t){let r=Qe(e,"label")?e.control:e;if(!r||!Qe(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(An(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||XF(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((a,l)=>{var d;return a===((d=r.files)===null||d===void 0?void 0:d.item(l))})||(YF(r,Lp(Lr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function os(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function XF(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return os(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?os(e.name).endsWith(n):r.includes(n)?os(e.type).startsWith(n.replace("*","")):os(e.type)===n)}var Ym={click:SF,dblClick:RF,tripleClick:OF,hover:AF,unhover:PF,tab:CF,keyboard:jF,copy:kF,cut:$F,paste:BF,pointer:VF,clear:HF,deselectOptions:WF,selectOptions:GF,type:zF,upload:KF};function QF(e){return rt().asyncWrapper(e)}var B_={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:cF,pointerMap:dF,pointerEventsCheck:Es.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},ZF={...B_,writeToClipboard:!0};function F_(e={},t=ZF,r){let n=nV(e,r,t);return{...t,...e,document:n}}function eV(e={}){let t=F_(e);C_(t.document),P_(Lr(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return iB(n),Up(t).api}function ir({keyboardState:e,pointerState:t,...r}={},n){let o=F_(r,B_,n);C_(o.document),P_(Lr(o.document).HTMLElement);var i;let a=(i=t??e)!==null&&i!==void 0?i:new j_;return{api:Up(o,a).api,system:a}}function tV(e){return Up({...this.config,...e},this.system).api}function rV(e,t){function r(...n){return Gi(e,wr.Call),QF(()=>t.apply(e,n).then(async o=>(await bi(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Up(e,t=new j_){let r={};return Object.assign(r,{config:e,dispatchEvent:A_.bind(r),dispatchUIEvent:eF.bind(r),system:t,levelRefs:{},...Ym}),{instance:r,api:{...Object.fromEntries(Object.entries(Ym).map(([n,o])=>[n,rV(r,o)])),setup:tV.bind(r)}}}function nV(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&iF(t))!==null&&o!==void 0?o:r.document}var V_={};mr(V_,{clear:()=>oV,click:()=>iV,copy:()=>aV,cut:()=>sV,dblClick:()=>lV,deselectOptions:()=>uV,hover:()=>cV,keyboard:()=>dV,paste:()=>fV,pointer:()=>pV,selectOptions:()=>hV,tab:()=>vV,tripleClick:()=>mV,type:()=>yV,unhover:()=>gV,upload:()=>bV});function oV(e){return ir().api.clear(e)}function iV(e,t={}){return ir(t,e).api.click(e)}function aV(e={}){return ir(e).api.copy()}function sV(e={}){return ir(e).api.cut()}function lV(e,t={}){return ir(t).api.dblClick(e)}function uV(e,t,r={}){return ir(r).api.deselectOptions(e,t)}function cV(e,t={}){return ir(t).api.hover(e)}async function dV(e,t={}){let{api:r,system:n}=ir(t);return r.keyboard(e).then(()=>n)}async function pV(e,t={}){let{api:r,system:n}=ir(t);return r.pointer(e).then(()=>n)}function fV(e,t){return ir(t).api.paste(e)}function hV(e,t,r={}){return ir(r).api.selectOptions(e,t)}function mV(e,t={}){return ir(t).api.tripleClick(e)}function yV(e,t,r={}){return ir(r,e).api.type(e,t,r)}function gV(e,t={}){let{api:r,system:n}=ir(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function bV(e,t,r={}){return ir(r).api.upload(e,t)}function vV(e={}){return ir().api.tab(e)}var U_={...V_,setup:eV},Ic=Oa({...jT},{getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper"),intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Ic.screen=new Proxy(Ic.screen,{get(e,t,r){var n,o;return typeof window<"u"&&((o=(n=globalThis.location)==null?void 0:n.href)!=null&&o.includes("viewMode=docs"))&&Nt.warn(et`
  283. You are using Testing Library's \`screen\` object while the story is rendered in docs mode. This will likely lead to issues, as multiple stories are rendered in the same page and therefore screen will potentially find multiple elements. Use the \`canvas\` utility from the story context instead, which will scope the queries to each story's canvas.
  284. More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#querying-the-canvas
  285. `),Reflect.get(e,t,r)}});var{buildQueries:EV,configure:TV,createEvent:wV,fireEvent:_V,findAllByAltText:SV,findAllByDisplayValue:RV,findAllByLabelText:OV,findAllByPlaceholderText:AV,findAllByRole:PV,findAllByTestId:CV,findAllByText:xV,findAllByTitle:NV,findByAltText:IV,findByDisplayValue:qV,findByLabelText:jV,findByPlaceholderText:MV,findByRole:LV,findByTestId:DV,findByText:kV,findByTitle:$V,getAllByAltText:BV,getAllByDisplayValue:FV,getAllByLabelText:VV,getAllByPlaceholderText:UV,getAllByRole:JV,getAllByTestId:HV,getAllByText:GV,getAllByTitle:WV,getByAltText:zV,getByDisplayValue:YV,getByLabelText:KV,getByPlaceholderText:XV,getByRole:QV,getByTestId:ZV,getByText:eU,getByTitle:tU,getConfig:rU,getDefaultNormalizer:nU,getElementError:oU,getNodeText:iU,getQueriesForElement:aU,getRoles:sU,getSuggestedQuery:lU,isInaccessible:uU,logDOM:cU,logRoles:dU,prettyDOM:pU,queries:fU,queryAllByAltText:hU,queryAllByAttribute:mU,queryAllByDisplayValue:yU,queryAllByLabelText:gU,queryAllByPlaceholderText:bU,queryAllByRole:vU,queryAllByTestId:EU,queryAllByText:TU,queryAllByTitle:wU,queryByAltText:_U,queryByAttribute:SU,queryByDisplayValue:RU,queryByLabelText:OU,queryByPlaceholderText:AU,queryByRole:PU,queryByTestId:CU,queryByText:xU,queryByTitle:NU,queryHelpers:IU,screen:qU,waitFor:jU,waitForElementToBeRemoved:MU,within:J_,prettyFormat:LU}=Ic,H_=U_,{userEvent:DU}=Oa({userEvent:U_},{intercept:!0,getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper")}),{expect:kU}=Oa({expect:AT},{getKeys:(e,t)=>{if("constructor"in e&&e.constructor===F){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},mutate:!0,intercept:e=>e!=="expect"}),$U={mock:()=>{}},Km=!1,BU=e=>{var r;let{parameters:t}=e;(r=t==null?void 0:t.actions)!=null&&r.disable||Km||(PT((n,o)=>{let i=n.getMockName();i!=="spy"&&i!=="vi.fn()"&&(!/^next\/.*::/.test(i)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(a=>i.startsWith(a)))&&Da(i)(o)}),Km=!0)},FU=[BU],Xm=()=>({...kb,...Bb}),Vs="backgrounds",VU={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:Jr}=globalThis,UU=()=>{var e;return globalThis!=null&&globalThis.matchMedia?!!((e=globalThis.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&e.matches):!1},Qm=e=>{(Array.isArray(e)?e:[e]).forEach(JU)},JU=e=>{if(!Jr)return;let t=Jr.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},HU=(e,t)=>{if(!Jr)return;let r=Jr.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=Jr.createElement("style");n.setAttribute("id",e),n.innerHTML=t,Jr.head.appendChild(n)}},GU=(e,t,r)=>{var o;if(!Jr)return;let n=Jr.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let i=Jr.createElement("style");i.setAttribute("id",e),i.innerHTML=t;let a=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,l=Jr.getElementById(a);l?(o=l.parentElement)==null||o.insertBefore(i,l):Jr.head.appendChild(i)}},WU={cellSize:100,cellAmount:10,opacity:.8},Zm="addon-backgrounds",ey="addon-backgrounds-grid",zU=UU()?"":"transition: background-color 0.3s;",YU=(e,t)=>{let{globals:r={},parameters:n={},viewMode:o,id:i}=t,{options:a=VU,disable:l,grid:d=WU}=n[Vs]||{},c=r[Vs]||{},p=typeof c=="string"?c:c==null?void 0:c.value,f=p?a[p]:void 0,g=typeof f=="string"?f:(f==null?void 0:f.value)||"transparent",b=typeof c=="string"?!1:c.grid||!1,T=!!f&&!l,w=o==="docs"?`#anchor--${i} .docs-story, #anchor--primary--${i} .docs-story`:".sb-show-main",R=o==="docs"?`#anchor--${i} .docs-story, #anchor--primary--${i} .docs-story`:".sb-show-main",_=n.layout===void 0||n.layout==="padded",A=o==="docs"?20:_?16:0,{cellAmount:L,cellSize:D,opacity:k,offsetX:h=A,offsetY:C=A}=d,x=o==="docs"?`${Zm}-docs-${i}`:`${Zm}-color`,j=o==="docs"?i:null;qo(()=>{let G=`
  286. ${w} {
  287. background: ${g} !important;
  288. ${zU}
  289. }`;if(!T){Qm(x);return}GU(x,G,j)},[w,x,j,T,g]);let Z=o==="docs"?`${ey}-docs-${i}`:`${ey}`;return qo(()=>{if(!b){Qm(Z);return}let G=[`${D*L}px ${D*L}px`,`${D*L}px ${D*L}px`,`${D}px ${D}px`,`${D}px ${D}px`].join(", "),oe=`
  290. ${R} {
  291. background-size: ${G} !important;
  292. background-position: ${h}px ${C}px, ${h}px ${C}px, ${h}px ${C}px, ${h}px ${C}px !important;
  293. background-blend-mode: difference !important;
  294. background-image: linear-gradient(rgba(130, 130, 130, ${k}) 1px, transparent 1px),
  295. linear-gradient(90deg, rgba(130, 130, 130, ${k}) 1px, transparent 1px),
  296. linear-gradient(rgba(130, 130, 130, ${k/2}) 1px, transparent 1px),
  297. linear-gradient(90deg, rgba(130, 130, 130, ${k/2}) 1px, transparent 1px) !important;
  298. }
  299. `;HU(Z,oe)},[L,D,R,Z,b,h,C,k]),e()},Ky,KU=(Ky=globalThis.FEATURES)!=null&&Ky.backgrounds?[YU]:[],XU={[Vs]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},QU={[Vs]:{value:void 0,grid:!1}},ty=()=>({decorators:KU,parameters:XU,initialGlobals:QU}),{step:ZU}=Oa({step:async(e,t,r)=>t(r)},{intercept:!0}),ry=()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:ZU}),eJ=e=>{let t=getComputedStyle(e),r=e.getBoundingClientRect();return!(r.width>0&&r.height>0&&t.visibility!=="hidden"&&Number(t.opacity)>0&&t.display!=="none")},tJ=async({reporting:e,canvasElement:t,globals:r})=>{var n;try{if(!((n=r.renderAnalysis)!=null&&n.enabled))return;let o=eJ(t.firstElementChild??t);o&&e.addReport({type:"render-analysis",version:1,result:{emptyRender:o},status:"warning"})}catch{}},ny=()=>({afterEach:tJ}),Sl="storybook/highlight",rJ=`${Sl}/add`,nJ=`${Sl}/remove`,oJ=`${Sl}/reset`,iJ=`${Sl}/scroll-into-view`,oy=2147483647,Kn=28,iy={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["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","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["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","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"]},aJ="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),Vt=(e,t={},r)=>{let n=aJ.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([o,i])=>{/[A-Z]/.test(o)?(o==="onClick"&&(n.addEventListener("click",i),n.addEventListener("keydown",a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),i())})),o==="onMouseEnter"&&n.addEventListener("mouseenter",i),o==="onMouseLeave"&&n.addEventListener("mouseleave",i)):n.setAttribute(o,i)}),r==null||r.forEach(o=>{if(!(o==null||o===!1))try{n.appendChild(o)}catch{n.appendChild(document.createTextNode(String(o)))}}),n},is=e=>iy[e]&&Vt("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},iy[e].map(t=>Vt("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),sJ=e=>{if("elements"in e){let{elements:n,color:o,style:i}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${i} ${o}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},lJ=e=>e instanceof Function,Fi=new Map,_o=new Map,as=new Map,bn=e=>{let t=Symbol();return _o.set(t,[]),Fi.set(t,e),{get:()=>Fi.get(t),set:r=>{var i;let n=Fi.get(t),o=lJ(r)?r(n):r;o!==n&&(Fi.set(t,o),(i=_o.get(t))==null||i.forEach(a=>{var l;(l=as.get(a))==null||l(),as.set(a,a(o))}))},subscribe:r=>{var n;return(n=_o.get(t))==null||n.push(r),()=>{let o=_o.get(t);o&&_o.set(t,o.filter(i=>i!==r))}},teardown:()=>{var r;(r=_o.get(t))==null||r.forEach(n=>{var o;(o=as.get(n))==null||o(),as.delete(n)}),_o.delete(t),Fi.delete(t)}}},ay=e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:o=0}=n;for(let i of n.selectors){let a=[...document.querySelectorAll(`:is(${i}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...(t==null?void 0:t.querySelectorAll(i))||[]];for(let l of a){let d=r.get(l);(!d||d.priority<=o)&&r.set(l,{...n,priority:o,selectors:Array.from(new Set(((d==null?void 0:d.selectors)||[]).concat(i)))})}}}return r},uJ=e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:a}])=>{let{top:l,left:d,width:c,height:p}=t.getBoundingClientRect(),{position:f}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:a,top:f==="fixed"?l:l+window.scrollY,left:f==="fixed"?d:d+window.scrollX,width:c,height:p}}).sort((t,r)=>r.width*r.height-t.width*t.height),sy=(e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:o}=t;return(r==null?void 0:r.top)&&(r==null?void 0:r.left)&&n>=r.left&&n<=r.left+r.width&&o>=r.top&&o<=r.top+r.height},ly=(e,t,r)=>{if(!t||!r)return!1;let{left:n,top:o,width:i,height:a}=e;a<Kn&&(o=o-Math.round((Kn-a)/2),a=Kn),i<Kn&&(n=n-Math.round((Kn-i)/2),i=Kn),t.style.position==="fixed"&&(n+=window.scrollX,o+=window.scrollY);let{x:l,y:d}=r;return l>=n&&l<=n+i&&d>=o&&d<=o+a},cJ=(e,t,r={})=>{let{x:n,y:o}=t,{margin:i=5,topOffset:a=0,centered:l=!1}=r,{scrollX:d,scrollY:c,innerHeight:p,innerWidth:f}=window,g=Math.min(e.style.position==="fixed"?o-c:o,p-e.clientHeight-i-a+c),b=l?e.clientWidth/2:0,T=e.style.position==="fixed"?Math.max(Math.min(n-d,f-b-i),b+i):Math.max(Math.min(n,f-b-i+d),b+i+d);Object.assign(e.style,{...T!==n&&{left:`${T}px`},...g!==o&&{top:`${g}px`}})},uy=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},dJ=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},pJ=e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),vt="storybook-highlights-menu",cy="storybook-highlights-root",fJ="storybook-root",hJ=e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=bn([]),n=bn(new Map),o=bn([]),i=bn(),a=bn(),l=bn([]),d=bn([]),c=bn(),p=bn(),f=t.getElementById(cy);r.subscribe(()=>{f||(f=Vt("div",{id:cy}),t.body.appendChild(f))}),r.subscribe(C=>{let x=t.getElementById(fJ);if(!x)return;n.set(ay(C));let j=new MutationObserver(()=>n.set(ay(C)));return j.observe(x,{subtree:!0,childList:!0}),()=>{j.disconnect()}}),n.subscribe(C=>{let x=()=>requestAnimationFrame(()=>o.set(uJ(C))),j=new ResizeObserver(x);j.observe(t.body),Array.from(C.keys()).forEach(G=>j.observe(G));let Z=Array.from(t.body.querySelectorAll("*")).filter(G=>{let{overflow:oe,overflowX:U,overflowY:I}=window.getComputedStyle(G);return["auto","scroll"].some(V=>[oe,U,I].includes(V))});return Z.forEach(G=>G.addEventListener("scroll",x)),()=>{j.disconnect(),Z.forEach(G=>G.removeEventListener("scroll",x))}}),n.subscribe(C=>{let x=Array.from(C.keys()).filter(({style:Z})=>Z.position==="sticky"),j=()=>requestAnimationFrame(()=>{o.set(Z=>Z.map(G=>{if(x.includes(G.element)){let{top:oe,left:U}=G.element.getBoundingClientRect();return{...G,top:oe+window.scrollY,left:U+window.scrollX}}return G}))});return t.addEventListener("scroll",j),()=>t.removeEventListener("scroll",j)}),n.subscribe(C=>{l.set(x=>x.filter(({element:j})=>C.has(j)))}),l.subscribe(C=>{C.length?(p.set(x=>C.some(j=>j.element===(x==null?void 0:x.element))?x:void 0),c.set(x=>C.some(j=>j.element===(x==null?void 0:x.element))?x:void 0)):(p.set(void 0),c.set(void 0),i.set(void 0))});let g=new Map(new Map);r.subscribe(C=>{C.forEach(({keyframes:x})=>{if(x){let j=g.get(x);j||(j=t.createElement("style"),j.setAttribute("data-highlight","keyframes"),g.set(x,j),t.head.appendChild(j)),j.innerHTML=x}}),g.forEach((x,j)=>{C.some(Z=>Z.keyframes===j)||(x.remove(),g.delete(j))})});let b=new Map(new Map);o.subscribe(C=>{C.forEach(x=>{let j=b.get(x.element);if(f&&!j){let Z={popover:"manual","data-highlight-dimensions":`w${x.width.toFixed(0)}h${x.height.toFixed(0)}`,"data-highlight-coordinates":`x${x.left.toFixed(0)}y${x.top.toFixed(0)}`};j=f.appendChild(Vt("div",Z,[Vt("div")])),b.set(x.element,j)}}),b.forEach((x,j)=>{C.some(({element:Z})=>Z===j)||(x.remove(),b.delete(j))})}),o.subscribe(C=>{let x=C.filter(Z=>Z.menu);if(!x.length)return;let j=Z=>{requestAnimationFrame(()=>{let G=t.getElementById(vt),oe={x:Z.pageX,y:Z.pageY};if(G&&!sy(G,oe)){let U=x.filter(I=>{let V=b.get(I.element);return ly(I,V,oe)});i.set(U.length?oe:void 0),l.set(U)}})};return t.addEventListener("click",j),()=>t.removeEventListener("click",j)});let T=()=>{let C=t.getElementById(vt),x=a.get();!x||C&&sy(C,x)||d.set(j=>{let Z=o.get().filter(I=>{let V=b.get(I.element);return ly(I,V,x)}),G=j.filter(I=>Z.includes(I)),oe=Z.filter(I=>!j.includes(I)),U=j.length-G.length;return oe.length||U?[...G,...oe]:j})};a.subscribe(T),o.subscribe(T);let w=()=>{let C=p.get(),x=C?[C]:l.get(),j=x.length===1?x[0]:c.get(),Z=i.get()!==void 0;o.get().forEach(G=>{var U;let oe=b.get(G.element);if(oe){let I=j===G,V=Z?j?I:x.includes(G):(U=d.get())==null?void 0:U.includes(G);Object.assign(oe.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...G.styles,...V?G.hoverStyles:{},...I?G.focusStyles:{},position:getComputedStyle(G.element).position==="fixed"?"fixed":"absolute",zIndex:oy-10,top:`${G.top}px`,left:`${G.left}px`,width:`${G.width}px`,height:`${G.height}px`,margin:0,padding:0,cursor:G.menu&&V?"pointer":"default",pointerEvents:G.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(oe.children[0].style,{width:"100%",height:"100%",minHeight:`${Kn}px`,minWidth:`${Kn}px`,boxSizing:"content-box",padding:oe.style.outlineWidth||"0px"}),uy(oe)}})};o.subscribe(w),l.subscribe(w),d.subscribe(w),c.subscribe(w),p.subscribe(w);let R=()=>{var G;if(!f)return;let C=t.getElementById(vt);if(C)C.innerHTML="";else{let oe={id:vt,popover:"manual"};C=f.appendChild(Vt("div",oe)),f.appendChild(Vt("style",{},[`
  300. #${vt} {
  301. position: absolute;
  302. z-index: ${oy};
  303. width: 300px;
  304. padding: 0px;
  305. margin: 15px 0 0 0;
  306. transform: translateX(-50%);
  307. font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  308. font-size: 12px;
  309. background: white;
  310. border: none;
  311. border-radius: 6px;
  312. box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
  313. color: #2E3438;
  314. }
  315. #${vt} ul {
  316. list-style: none;
  317. margin: 0;
  318. padding: 0;
  319. }
  320. #${vt} > ul {
  321. max-height: 300px;
  322. overflow-y: auto;
  323. padding: 4px 0;
  324. }
  325. #${vt} li {
  326. padding: 0 4px;
  327. margin: 0;
  328. }
  329. #${vt} li > :not(ul) {
  330. display: flex;
  331. padding: 8px;
  332. margin: 0;
  333. align-items: center;
  334. gap: 8px;
  335. border-radius: 4px;
  336. }
  337. #${vt} button {
  338. width: 100%;
  339. border: 0;
  340. background: transparent;
  341. color: inherit;
  342. text-align: left;
  343. font-family: inherit;
  344. font-size: inherit;
  345. }
  346. #${vt} button:focus-visible {
  347. outline-color: #029CFD;
  348. }
  349. #${vt} button:hover {
  350. background: rgba(2, 156, 253, 0.07);
  351. color: #029CFD;
  352. cursor: pointer;
  353. }
  354. #${vt} li code {
  355. white-space: nowrap;
  356. overflow: hidden;
  357. text-overflow: ellipsis;
  358. line-height: 16px;
  359. font-size: 11px;
  360. }
  361. #${vt} li svg {
  362. flex-shrink: 0;
  363. margin: 1px;
  364. color: #73828C;
  365. }
  366. #${vt} li > button:hover svg, #${vt} li > button:focus-visible svg {
  367. color: #029CFD;
  368. }
  369. #${vt} .element-list li svg {
  370. display: none;
  371. }
  372. #${vt} li.selectable svg, #${vt} li.selected svg {
  373. display: block;
  374. }
  375. #${vt} .menu-list {
  376. border-top: 1px solid rgba(38, 85, 115, 0.15);
  377. }
  378. #${vt} .menu-list > li:not(:last-child) {
  379. padding-bottom: 4px;
  380. margin-bottom: 4px;
  381. border-bottom: 1px solid rgba(38, 85, 115, 0.15);
  382. }
  383. #${vt} .menu-items, #${vt} .menu-items li {
  384. padding: 0;
  385. }
  386. #${vt} .menu-item {
  387. display: flex;
  388. }
  389. #${vt} .menu-item-content {
  390. display: flex;
  391. flex-direction: column;
  392. flex-grow: 1;
  393. }
  394. `]))}let x=p.get(),j=x?[x]:l.get();if(j.length&&(C.style.position=getComputedStyle(j[0].element).position==="fixed"?"fixed":"absolute",C.appendChild(Vt("ul",{class:"element-list"},j.map(oe=>{var K;let U=j.length>1&&!!((K=oe.menu)!=null&&K.some(ne=>ne.some(he=>!he.selectors||he.selectors.some(xe=>oe.selectors.includes(xe))))),I=U?{class:"selectable",onClick:()=>p.set(oe),onMouseEnter:()=>c.set(oe),onMouseLeave:()=>c.set(void 0)}:x?{class:"selected",onClick:()=>p.set(void 0)}:{},V=U||x;return Vt("li",I,[Vt(V?"button":"div",V?{type:"button"}:{},[x?is("chevronLeft"):null,Vt("code",{},[oe.element.outerHTML]),U?is("chevronRight"):null])])})))),p.get()||l.get().length===1){let oe=p.get()||l.get()[0],U=(G=oe.menu)==null?void 0:G.filter(I=>I.some(V=>!V.selectors||V.selectors.some(K=>oe.selectors.includes(K))));U!=null&&U.length&&C.appendChild(Vt("ul",{class:"menu-list"},U.map(I=>Vt("li",{},[Vt("ul",{class:"menu-items"},I.map(({id:V,title:K,description:ne,iconLeft:he,iconRight:xe,clickEvent:Pe})=>{let Ce=Pe&&(()=>e.emit(Pe,V,pJ(oe)));return Vt("li",{},[Vt(Ce?"button":"div",Ce?{class:"menu-item",type:"button",onClick:Ce}:{class:"menu-item"},[he?is(he):null,Vt("div",{class:"menu-item-content"},[Vt(ne?"strong":"span",{},[K]),ne&&Vt("span",{},[ne])]),xe?is(xe):null])])}))]))))}let Z=i.get();Z?(Object.assign(C.style,{display:"block",left:`${C.style.position==="fixed"?Z.x-window.scrollX:Z.x}px`,top:`${C.style.position==="fixed"?Z.y-window.scrollY:Z.y}px`}),uy(C),requestAnimationFrame(()=>cJ(C,Z,{topOffset:15,centered:!0}))):(dJ(C),Object.assign(C.style,{display:"none"}))};l.subscribe(R),p.subscribe(R);let _=C=>{let x=sJ(C);r.set(j=>{var G;let Z=x.id?j.filter(oe=>oe.id!==x.id):j;return(G=x.selectors)!=null&&G.length?[...Z,x]:Z})},A=C=>{C&&r.set(x=>x.filter(j=>j.id!==C))},L=()=>{r.set([]),n.set(new Map),o.set([]),i.set(void 0),a.set(void 0),l.set([]),d.set([]),c.set(void 0),p.set(void 0)},D,k=(C,x)=>{let j="scrollIntoView-highlight";clearTimeout(D),A(j);let Z=t.querySelector(C);if(!Z){console.warn(`Cannot scroll into view: ${C} not found`);return}Z.scrollIntoView({behavior:"smooth",block:"center",...x});let G=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(oe=>[...oe,{id:j,priority:1e3,selectors:[C],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${G} 3s linear forwards`},keyframes:`@keyframes ${G} {
  395. 0% { outline: 2px solid #1EA7FD; }
  396. 20% { outline: 2px solid #1EA7FD00; }
  397. 40% { outline: 2px solid #1EA7FD; }
  398. 60% { outline: 2px solid #1EA7FD00; }
  399. 80% { outline: 2px solid #1EA7FD; }
  400. 100% { outline: 2px solid #1EA7FD00; }
  401. }`}]),D=setTimeout(()=>A(j),3500)},h=C=>{requestAnimationFrame(()=>a.set({x:C.pageX,y:C.pageY}))};t.body.addEventListener("mousemove",h),e.on(rJ,_),e.on(nJ,A),e.on(oJ,L),e.on(iJ,k),e.on(Io,({newPhase:C})=>{C==="loading"&&L()})},Xy;(Xy=globalThis==null?void 0:globalThis.FEATURES)!=null&&Xy.highlight&&(fr!=null&&fr.ready)&&fr.ready().then(hJ);var dy=()=>({}),mJ="measureEnabled";function G_(){let e=Re.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function yJ(){let e=Re.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");Rn(t!=null);let{width:r,height:n}=G_();return qc(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",Re.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}function qc(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let o=Re.window.devicePixelRatio;e.width=Math.floor(r*o),e.height=Math.floor(n*o),t.scale(o,o)}var Ut={};function gJ(){Ut.canvas||(Ut=yJ())}function W_(){Ut.context&&Ut.context.clearRect(0,0,Ut.width??0,Ut.height??0)}function bJ(e){W_(),e(Ut.context)}function vJ(){Rn(Ut.canvas),Rn(Ut.context),qc(Ut.canvas,Ut.context,{width:0,height:0});let{width:e,height:t}=G_();qc(Ut.canvas,Ut.context,{width:e,height:t}),Ut.width=e,Ut.height=t}function EJ(){var e;Ut.canvas&&(W_(),(e=Ut.canvas.parentNode)==null||e.removeChild(Ut.canvas),Ut={})}var Ko={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},Sn=6;function py(e,{x:t,y:r,w:n,h:o,r:i}){t=t-n/2,r=r-o/2,n<2*i&&(i=n/2),o<2*i&&(i=o/2),e.beginPath(),e.moveTo(t+i,r),e.arcTo(t+n,r,t+n,r+o,i),e.arcTo(t+n,r+o,t,r+o,i),e.arcTo(t,r+o,t,r,i),e.arcTo(t,r,t+n,r,i),e.closePath()}function TJ(e,{padding:t,border:r,width:n,height:o,top:i,left:a}){let l=n-r.left-r.right-t.left-t.right,d=o-t.top-t.bottom-r.top-r.bottom,c=a+r.left+t.left,p=i+r.top+t.top;return e==="top"?c+=l/2:e==="right"?(c+=l,p+=d/2):e==="bottom"?(c+=l/2,p+=d):e==="left"?p+=d/2:e==="center"&&(c+=l/2,p+=d/2),{x:c,y:p}}function wJ(e,t,{margin:r,border:n,padding:o},i,a){let l=g=>0,d=0,c=0,p=a?1:.5,f=a?i*2:0;return e==="padding"?l=g=>o[g]*p+f:e==="border"?l=g=>o[g]+n[g]*p+f:e==="margin"&&(l=g=>o[g]+n[g]+r[g]*p+f),t==="top"?c=-l("top"):t==="right"?d=l("right"):t==="bottom"?c=l("bottom"):t==="left"&&(d=-l("left")),{offsetX:d,offsetY:c}}function _J(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}function SJ(e,t,r){return e==="top"?t.y=r.y-r.h-Sn:e==="right"?t.x=r.x+r.w/2+Sn+t.w/2:e==="bottom"?t.y=r.y+r.h+Sn:e==="left"&&(t.x=r.x-r.w/2-Sn-t.w/2),{x:t.x,y:t.y}}function z_(e,t,{x:r,y:n,w:o,h:i},a){return py(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Ko[t]}dd`,e.fill(),e.strokeStyle=Ko[t],e.stroke(),e.fillStyle=Ko.text,e.fillText(a,r,n),py(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Ko[t]}dd`,e.fill(),e.strokeStyle=Ko[t],e.stroke(),e.fillStyle=Ko.text,e.fillText(a,r,n),{x:r,y:n,w:o,h:i}}function Y_(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,o=r.width+Sn*2,i=n+Sn*2;return{w:o,h:i}}function RJ(e,t,{type:r,position:n="center",text:o},i,a=!1){let{x:l,y:d}=TJ(n,t),{offsetX:c,offsetY:p}=wJ(r,n,t,Sn+1,a);l+=c,d+=p;let{w:f,h:g}=Y_(e,o);if(i&&_J({x:l,y:d,w:f,h:g},i)){let b=SJ(n,{x:l,y:d,w:f},i);l=b.x,d=b.y}return z_(e,r,{x:l,y:d,w:f,h:g},o)}function OJ(e,{w:t,h:r}){let n=t*.5+Sn,o=r*.5+Sn;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*o}}function AJ(e,t,{type:r,text:n}){let{floatingAlignment:o,extremities:i}=t,a=i[o.x],l=i[o.y],{w:d,h:c}=Y_(e,n),{offsetX:p,offsetY:f}=OJ(o,{w:d,h:c});return a+=p,l+=f,z_(e,r,{x:a,y:l,w:d,h:c},n)}function Vi(e,t,r,n){let o=[];r.forEach((i,a)=>{let l=n&&i.position==="center"?AJ(e,t,i):RJ(e,t,i,o[a-1],n);o[a]=l})}function PJ(e,t,r,n){let o=r.reduce((i,a)=>{var l;return Object.prototype.hasOwnProperty.call(i,a.position)||(i[a.position]=[]),(l=i[a.position])==null||l.push(a),i},{});o.top&&Vi(e,t,o.top,n),o.right&&Vi(e,t,o.right,n),o.bottom&&Vi(e,t,o.bottom,n),o.left&&Vi(e,t,o.left,n),o.center&&Vi(e,t,o.center,n)}var Rl={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},fy=30;function Ir(e){return parseInt(e.replace("px",""),10)}function ti(e){return Number.isInteger(e)?e:e.toFixed(2)}function Jp(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function CJ(e){let t={top:Re.window.scrollY,bottom:Re.window.scrollY+Re.window.innerHeight,left:Re.window.scrollX,right:Re.window.scrollX+Re.window.innerWidth},r={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}function xJ(e){let t=Re.getComputedStyle(e),{top:r,left:n,right:o,bottom:i,width:a,height:l}=e.getBoundingClientRect(),{marginTop:d,marginBottom:c,marginLeft:p,marginRight:f,paddingTop:g,paddingBottom:b,paddingLeft:T,paddingRight:w,borderBottomWidth:R,borderTopWidth:_,borderLeftWidth:A,borderRightWidth:L}=t;r=r+Re.window.scrollY,n=n+Re.window.scrollX,i=i+Re.window.scrollY,o=o+Re.window.scrollX;let D={top:Ir(d),bottom:Ir(c),left:Ir(p),right:Ir(f)},k={top:Ir(g),bottom:Ir(b),left:Ir(T),right:Ir(w)},h={top:Ir(_),bottom:Ir(R),left:Ir(A),right:Ir(L)},C={top:r-D.top,bottom:i+D.bottom,left:n-D.left,right:o+D.right};return{margin:D,padding:k,border:h,top:r,left:n,bottom:i,right:o,width:a,height:l,extremities:C,floatingAlignment:CJ(C)}}function NJ(e,{margin:t,width:r,height:n,top:o,left:i,bottom:a,right:l}){let d=n+t.bottom+t.top;e.fillStyle=Rl.margin,e.fillRect(i,o-t.top,r,t.top),e.fillRect(l,o-t.top,t.right,d),e.fillRect(i,a,r,t.bottom),e.fillRect(i-t.left,o-t.top,t.left,d);let c=[{type:"margin",text:ti(t.top),position:"top"},{type:"margin",text:ti(t.right),position:"right"},{type:"margin",text:ti(t.bottom),position:"bottom"},{type:"margin",text:ti(t.left),position:"left"}];return Jp(c)}function IJ(e,{padding:t,border:r,width:n,height:o,top:i,left:a,bottom:l,right:d}){let c=n-r.left-r.right,p=o-t.top-t.bottom-r.top-r.bottom;e.fillStyle=Rl.padding,e.fillRect(a+r.left,i+r.top,c,t.top),e.fillRect(d-t.right-r.right,i+t.top+r.top,t.right,p),e.fillRect(a+r.left,l-t.bottom-r.bottom,c,t.bottom),e.fillRect(a+r.left,i+t.top+r.top,t.left,p);let f=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return Jp(f)}function qJ(e,{border:t,width:r,height:n,top:o,left:i,bottom:a,right:l}){let d=n-t.top-t.bottom;e.fillStyle=Rl.border,e.fillRect(i,o,r,t.top),e.fillRect(i,a-t.bottom,r,t.bottom),e.fillRect(i,o+t.top,t.left,d),e.fillRect(l-t.right,o+t.top,t.right,d);let c=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return Jp(c)}function jJ(e,{padding:t,border:r,width:n,height:o,top:i,left:a}){let l=n-r.left-r.right-t.left-t.right,d=o-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=Rl.content,e.fillRect(a+r.left+t.left,i+r.top+t.top,l,d),[{type:"content",position:"center",text:`${ti(l)} x ${ti(d)}`}]}function MJ(e){return t=>{if(e&&t){let r=xJ(e),n=NJ(t,r),o=IJ(t,r),i=qJ(t,r),a=jJ(t,r),l=r.width<=fy*3||r.height<=fy;PJ(t,r,[...a,...o,...i,...n],l)}}}function LJ(e){bJ(MJ(e))}var DJ=(e,t)=>{let r=Re.document.elementFromPoint(e,t),n=o=>{if(o&&o.shadowRoot){let i=o.shadowRoot.elementFromPoint(e,t);return o.isEqualNode(i)?o:i.shadowRoot?n(i):i}return o};return n(r)||r},hy,ss={x:0,y:0};function my(e,t){hy=DJ(e,t),LJ(hy)}var kJ=(e,t)=>{let{measureEnabled:r}=t.globals||{};return qo(()=>{if(typeof globalThis.document>"u")return;let n=o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),ss.x=o.clientX,ss.y=o.clientY})};return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),qo(()=>{let n=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),my(i.clientX,i.clientY)})},o=()=>{window.requestAnimationFrame(()=>{vJ()})};return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),gJ(),globalThis.window.addEventListener("resize",o),my(ss.x,ss.y)),()=>{globalThis.window.removeEventListener("resize",o),EJ()}},[r,t.viewMode]),e()},Qy,$J=(Qy=globalThis.FEATURES)!=null&&Qy.measure?[kJ]:[],BJ={[mJ]:!1},yy=()=>({decorators:$J,initialGlobals:BJ}),K_="outline",gy=e=>{(Array.isArray(e)?e:[e]).forEach(FJ)},FJ=e=>{let t=typeof e=="string"?e:e.join(""),r=Re.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},VJ=(e,t)=>{let r=Re.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=Re.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,Re.document.head.appendChild(n)}};function UJ(e){return et`
  402. ${e} body {
  403. outline: 1px solid #2980b9 !important;
  404. }
  405. ${e} article {
  406. outline: 1px solid #3498db !important;
  407. }
  408. ${e} nav {
  409. outline: 1px solid #0088c3 !important;
  410. }
  411. ${e} aside {
  412. outline: 1px solid #33a0ce !important;
  413. }
  414. ${e} section {
  415. outline: 1px solid #66b8da !important;
  416. }
  417. ${e} header {
  418. outline: 1px solid #99cfe7 !important;
  419. }
  420. ${e} footer {
  421. outline: 1px solid #cce7f3 !important;
  422. }
  423. ${e} h1 {
  424. outline: 1px solid #162544 !important;
  425. }
  426. ${e} h2 {
  427. outline: 1px solid #314e6e !important;
  428. }
  429. ${e} h3 {
  430. outline: 1px solid #3e5e85 !important;
  431. }
  432. ${e} h4 {
  433. outline: 1px solid #449baf !important;
  434. }
  435. ${e} h5 {
  436. outline: 1px solid #c7d1cb !important;
  437. }
  438. ${e} h6 {
  439. outline: 1px solid #4371d0 !important;
  440. }
  441. ${e} main {
  442. outline: 1px solid #2f4f90 !important;
  443. }
  444. ${e} address {
  445. outline: 1px solid #1a2c51 !important;
  446. }
  447. ${e} div {
  448. outline: 1px solid #036cdb !important;
  449. }
  450. ${e} p {
  451. outline: 1px solid #ac050b !important;
  452. }
  453. ${e} hr {
  454. outline: 1px solid #ff063f !important;
  455. }
  456. ${e} pre {
  457. outline: 1px solid #850440 !important;
  458. }
  459. ${e} blockquote {
  460. outline: 1px solid #f1b8e7 !important;
  461. }
  462. ${e} ol {
  463. outline: 1px solid #ff050c !important;
  464. }
  465. ${e} ul {
  466. outline: 1px solid #d90416 !important;
  467. }
  468. ${e} li {
  469. outline: 1px solid #d90416 !important;
  470. }
  471. ${e} dl {
  472. outline: 1px solid #fd3427 !important;
  473. }
  474. ${e} dt {
  475. outline: 1px solid #ff0043 !important;
  476. }
  477. ${e} dd {
  478. outline: 1px solid #e80174 !important;
  479. }
  480. ${e} figure {
  481. outline: 1px solid #ff00bb !important;
  482. }
  483. ${e} figcaption {
  484. outline: 1px solid #bf0032 !important;
  485. }
  486. ${e} table {
  487. outline: 1px solid #00cc99 !important;
  488. }
  489. ${e} caption {
  490. outline: 1px solid #37ffc4 !important;
  491. }
  492. ${e} thead {
  493. outline: 1px solid #98daca !important;
  494. }
  495. ${e} tbody {
  496. outline: 1px solid #64a7a0 !important;
  497. }
  498. ${e} tfoot {
  499. outline: 1px solid #22746b !important;
  500. }
  501. ${e} tr {
  502. outline: 1px solid #86c0b2 !important;
  503. }
  504. ${e} th {
  505. outline: 1px solid #a1e7d6 !important;
  506. }
  507. ${e} td {
  508. outline: 1px solid #3f5a54 !important;
  509. }
  510. ${e} col {
  511. outline: 1px solid #6c9a8f !important;
  512. }
  513. ${e} colgroup {
  514. outline: 1px solid #6c9a9d !important;
  515. }
  516. ${e} button {
  517. outline: 1px solid #da8301 !important;
  518. }
  519. ${e} datalist {
  520. outline: 1px solid #c06000 !important;
  521. }
  522. ${e} fieldset {
  523. outline: 1px solid #d95100 !important;
  524. }
  525. ${e} form {
  526. outline: 1px solid #d23600 !important;
  527. }
  528. ${e} input {
  529. outline: 1px solid #fca600 !important;
  530. }
  531. ${e} keygen {
  532. outline: 1px solid #b31e00 !important;
  533. }
  534. ${e} label {
  535. outline: 1px solid #ee8900 !important;
  536. }
  537. ${e} legend {
  538. outline: 1px solid #de6d00 !important;
  539. }
  540. ${e} meter {
  541. outline: 1px solid #e8630c !important;
  542. }
  543. ${e} optgroup {
  544. outline: 1px solid #b33600 !important;
  545. }
  546. ${e} option {
  547. outline: 1px solid #ff8a00 !important;
  548. }
  549. ${e} output {
  550. outline: 1px solid #ff9619 !important;
  551. }
  552. ${e} progress {
  553. outline: 1px solid #e57c00 !important;
  554. }
  555. ${e} select {
  556. outline: 1px solid #e26e0f !important;
  557. }
  558. ${e} textarea {
  559. outline: 1px solid #cc5400 !important;
  560. }
  561. ${e} details {
  562. outline: 1px solid #33848f !important;
  563. }
  564. ${e} summary {
  565. outline: 1px solid #60a1a6 !important;
  566. }
  567. ${e} command {
  568. outline: 1px solid #438da1 !important;
  569. }
  570. ${e} menu {
  571. outline: 1px solid #449da6 !important;
  572. }
  573. ${e} del {
  574. outline: 1px solid #bf0000 !important;
  575. }
  576. ${e} ins {
  577. outline: 1px solid #400000 !important;
  578. }
  579. ${e} img {
  580. outline: 1px solid #22746b !important;
  581. }
  582. ${e} iframe {
  583. outline: 1px solid #64a7a0 !important;
  584. }
  585. ${e} embed {
  586. outline: 1px solid #98daca !important;
  587. }
  588. ${e} object {
  589. outline: 1px solid #00cc99 !important;
  590. }
  591. ${e} param {
  592. outline: 1px solid #37ffc4 !important;
  593. }
  594. ${e} video {
  595. outline: 1px solid #6ee866 !important;
  596. }
  597. ${e} audio {
  598. outline: 1px solid #027353 !important;
  599. }
  600. ${e} source {
  601. outline: 1px solid #012426 !important;
  602. }
  603. ${e} canvas {
  604. outline: 1px solid #a2f570 !important;
  605. }
  606. ${e} track {
  607. outline: 1px solid #59a600 !important;
  608. }
  609. ${e} map {
  610. outline: 1px solid #7be500 !important;
  611. }
  612. ${e} area {
  613. outline: 1px solid #305900 !important;
  614. }
  615. ${e} a {
  616. outline: 1px solid #ff62ab !important;
  617. }
  618. ${e} em {
  619. outline: 1px solid #800b41 !important;
  620. }
  621. ${e} strong {
  622. outline: 1px solid #ff1583 !important;
  623. }
  624. ${e} i {
  625. outline: 1px solid #803156 !important;
  626. }
  627. ${e} b {
  628. outline: 1px solid #cc1169 !important;
  629. }
  630. ${e} u {
  631. outline: 1px solid #ff0430 !important;
  632. }
  633. ${e} s {
  634. outline: 1px solid #f805e3 !important;
  635. }
  636. ${e} small {
  637. outline: 1px solid #d107b2 !important;
  638. }
  639. ${e} abbr {
  640. outline: 1px solid #4a0263 !important;
  641. }
  642. ${e} q {
  643. outline: 1px solid #240018 !important;
  644. }
  645. ${e} cite {
  646. outline: 1px solid #64003c !important;
  647. }
  648. ${e} dfn {
  649. outline: 1px solid #b4005a !important;
  650. }
  651. ${e} sub {
  652. outline: 1px solid #dba0c8 !important;
  653. }
  654. ${e} sup {
  655. outline: 1px solid #cc0256 !important;
  656. }
  657. ${e} time {
  658. outline: 1px solid #d6606d !important;
  659. }
  660. ${e} code {
  661. outline: 1px solid #e04251 !important;
  662. }
  663. ${e} kbd {
  664. outline: 1px solid #5e001f !important;
  665. }
  666. ${e} samp {
  667. outline: 1px solid #9c0033 !important;
  668. }
  669. ${e} var {
  670. outline: 1px solid #d90047 !important;
  671. }
  672. ${e} mark {
  673. outline: 1px solid #ff0053 !important;
  674. }
  675. ${e} bdi {
  676. outline: 1px solid #bf3668 !important;
  677. }
  678. ${e} bdo {
  679. outline: 1px solid #6f1400 !important;
  680. }
  681. ${e} ruby {
  682. outline: 1px solid #ff7b93 !important;
  683. }
  684. ${e} rt {
  685. outline: 1px solid #ff2f54 !important;
  686. }
  687. ${e} rp {
  688. outline: 1px solid #803e49 !important;
  689. }
  690. ${e} span {
  691. outline: 1px solid #cc2643 !important;
  692. }
  693. ${e} br {
  694. outline: 1px solid #db687d !important;
  695. }
  696. ${e} wbr {
  697. outline: 1px solid #db175b !important;
  698. }`}var JJ=(e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[K_]),o=t.viewMode==="docs",i=jb(()=>UJ(o?'[data-story-block="true"]':".sb-show-main"),[t]);return qo(()=>{let a=o?`addon-outline-docs-${t.id}`:"addon-outline";return n?VJ(a,i):gy(a),()=>{gy(a)}},[n,i,t]),e()},Zy,HJ=(Zy=globalThis.FEATURES)!=null&&Zy.outline?[JJ]:[],GJ={[K_]:!1},by=()=>({decorators:HJ,initialGlobals:GJ}),WJ=({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?IT():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?NT():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&qT()},jc=(e,t=0,r)=>{var n,o;if(t>5||e==null)return e;if(oi(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let i=CT(e);return r&&i.mockName(r),i}if(Array.isArray(e)){t++;for(let i=0;i<e.length;i++)(n=Object.getOwnPropertyDescriptor(e,i))!=null&&n.writable&&(e[i]=jc(e[i],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[i,a]of Object.entries(e))(o=Object.getOwnPropertyDescriptor(e,i))!=null&&o.writable&&(e[i]=jc(a,t,i));return e}return e},zJ=({initialArgs:e})=>{jc(e)},vy=!1,YJ=async e=>{var t,r;globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=J_(e.canvasElement));try{let n=(r=(t=globalThis.window)==null?void 0:t.navigator)==null?void 0:r.clipboard;if(n&&(e.userEvent=Oa({userEvent:H_.setup()},{intercept:!0,getKeys:o=>Object.keys(o).filter(i=>i!=="eventWrapper")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:()=>n,configurable:!0}),!vy)){let o=HTMLElement.prototype.focus,i=HTMLElement.prototype.focus,a=new Set;Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:l=>{i=l},get(){return a.has(this)?o:(a.add(this),setTimeout(()=>a.delete(this),0),i)}}}),vy=!0}}catch{}},Ey=()=>({loaders:[WJ,zJ,YJ]}),KJ="viewport",XJ={[KJ]:{value:void 0,isRotated:!1}},Ty=()=>({initialGlobals:XJ});function X_(){return[(yy.default??yy)(),(ty.default??ty)(),(dy.default??dy)(),(by.default??by)(),(Ty.default??Ty)(),(Xm.default??Xm)(),(ry.default??ry)(),(Ey.default??Ey)(),(ny.default??ny)()]}function QJ(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Meta"}function Us(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Story"}function ZJ(e){return"__children"in e?e.__children:[]}var Q_=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),Mc=(e,t)=>{let r=Q_(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},eH=(e,t)=>`${Mc(e,"kind")}${t?`--${Mc(t,"name")}`:""}`,tH=(e,t)=>`${e}:${Mc(t,"test")}`,rH=e=>RI(e);function wy(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Lc(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||wy(e,t))&&(!r||!wy(e,r))}var nH=(...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)};function _y(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function Sy(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var oH="[object RegExp]",iH="[object String]",aH="[object Number]",sH="[object Boolean]",Ry="[object Arguments]",lH="[object Symbol]",uH="[object Date]",cH="[object Map]",dH="[object Set]",pH="[object Array]",fH="[object Function]",hH="[object ArrayBuffer]",Tu="[object Object]",mH="[object Error]",yH="[object DataView]",gH="[object Uint8Array]",bH="[object Uint8ClampedArray]",vH="[object Uint16Array]",EH="[object Uint32Array]",TH="[object BigUint64Array]",wH="[object Int8Array]",_H="[object Int16Array]",SH="[object Int32Array]",RH="[object BigInt64Array]",OH="[object Float32Array]",AH="[object Float64Array]";function on(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function Ta(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],a=e[i];r[i]=t(a,i,e)}return r}function PH(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],a=e[i];t(a,i)&&(r[i]=a)}return r}var wu=It(og(),1);function CH(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function xH(e,t,r){return zi(e,t,void 0,void 0,void 0,void 0,r)}function zi(e,t,r,n,o,i,a){let l=a(e,t,r,n,o,i);if(l!==void 0)return l;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return Zi(e,t,i,a)}return Zi(e,t,i,a)}function Zi(e,t,r,n){if(Object.is(e,t))return!0;let o=Sy(e),i=Sy(t);if(o===Ry&&(o=Tu),i===Ry&&(i=Tu),o!==i)return!1;switch(o){case iH:return e.toString()===t.toString();case aH:{let d=e.valueOf(),c=t.valueOf();return CH(d,c)}case sH:case uH:case lH:return Object.is(e.valueOf(),t.valueOf());case oH:return e.source===t.source&&e.flags===t.flags;case fH:return e===t}r=r??new Map;let a=r.get(e),l=r.get(t);if(a!=null&&l!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(o){case cH:{if(e.size!==t.size)return!1;for(let[d,c]of e.entries())if(!t.has(d)||!zi(c,t.get(d),d,e,t,r,n))return!1;return!0}case dH:{if(e.size!==t.size)return!1;let d=Array.from(e.values()),c=Array.from(t.values());for(let p=0;p<d.length;p++){let f=d[p],g=c.findIndex(b=>zi(f,b,void 0,e,t,r,n));if(g===-1)return!1;c.splice(g,1)}return!0}case pH:case gH:case bH:case vH:case EH:case TH:case wH:case _H:case SH:case RH:case OH:case AH:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let d=0;d<e.length;d++)if(!zi(e[d],t[d],d,e,t,r,n))return!1;return!0}case hH:return e.byteLength!==t.byteLength?!1:Zi(new Uint8Array(e),new Uint8Array(t),r,n);case yH:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Zi(new Uint8Array(e),new Uint8Array(t),r,n);case mH:return e.name===t.name&&e.message===t.message;case Tu:{if(!(Zi(e.constructor,t.constructor,r,n)||on(e)&&on(t)))return!1;let d=[...Object.keys(e),..._y(e)],c=[...Object.keys(t),..._y(t)];if(d.length!==c.length)return!1;for(let p=0;p<d.length;p++){let f=d[p],g=e[f];if(!Object.hasOwn(t,f))return!1;let b=t[f];if(!zi(g,b,f,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}function NH(){}function IH(e,t){return xH(e,t,NH)}var Ao=Symbol("incompatible"),Dc=(e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Ao:e.reduce((n,o,i)=>{let a=Dc(o,{type:r.value});return a!==Ao&&(n[i]=a),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Ao:Object.entries(e).reduce((n,[o,i])=>{let a=Dc(i,{type:r.value[o]});return a===Ao?n:Object.assign(n,{[o]:a})},{});case"other":{let n=typeof e=="string"||typeof e=="number"||typeof e=="boolean";return r.value==="ReactNode"&&n?e:Ao}default:return Ao}},qH=(e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=Dc(o,t[n]);return i===Ao?r:Object.assign(r,{[n]:i})},{}),Js=(e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=Js(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!on(e)||!on(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=Js(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),jH=(e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(!o)return i();if(!Array.isArray(o))return Nt.error(et`
  699. Invalid argType: '${n}.options' should be an array.
  700. More info: https://storybook.js.org/docs/api/arg-types?ref=error
  701. `),i();if(o.some(f=>f&&["object","function"].includes(typeof f)))return Nt.error(et`
  702. Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
  703. More info: https://storybook.js.org/docs/writing-stories/args?ref=error#mapping-to-complex-arg-values
  704. `),i();let a=Array.isArray(e[n]),l=a&&e[n].findIndex(f=>!o.includes(f)),d=a&&l===-1;if(e[n]===void 0||o.includes(e[n])||d)return i();let c=a?`${n}[${l}]`:n,p=o.map(f=>typeof f=="string"?`'${f}'`:String(f)).join(", ");return Nt.warn(`Received illegal value for '${c}'. Supported options: ${p}`),r},{}),ea=Symbol("Deeply equal"),Hs=(e,t)=>{if(typeof e!=typeof t)return t;if(IH(e,t))return ea;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let a=Hs(e[i],o);return a!==ea&&(n[i]=a),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return on(e)&&on(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Hs(e==null?void 0:e[n],t==null?void 0:t[n]);return o===ea?r:Object.assign(r,{[n]:o})},{}):t},Z_="UNTARGETED";function MH({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=Z_}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}function LH(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}var DH=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let t=Hs(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,t!==ea&&this.updateFromDelta(e,t)}}updateFromDelta(e,t){let r=jH(t,e.argTypes);this.argsByStoryId[e.id]=Js(this.argsByStoryId[e.id],r)}updateFromPersisted(e,t){let r=qH(t,e.argTypes);return this.updateFromDelta(e,r)}update(e,t){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=LH({...this.argsByStoryId[e],...t})}},eS=(e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),kH=class{constructor({globals:e={},globalTypes:t={}}){this.set({globals:e,globalTypes:t})}set({globals:e={},globalTypes:t={}}){let r=this.initialGlobals&&Hs(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(t)]);let n=eS(t);this.initialGlobals={...n,...e},this.globals=this.initialGlobals,r&&r!==ea&&this.updateFromPersisted(r)}filterAllowedGlobals(e){return Object.entries(e).reduce((t,[r,n])=>(this.allowedGlobalNames.has(r)?t[r]=n:Et.warn(`Attempted to set a global (${r}) that is not defined in initial globals or globalTypes`),t),{})}updateFromPersisted(e){let t=this.filterAllowedGlobals(e);this.globals={...this.globals,...t}}get(){return this.globals}update(e){this.globals={...this.globals,...this.filterAllowedGlobals(e)};for(let t in e)e[t]===void 0&&(this.globals[t]=this.initialGlobals[t])}},$H=It(og(),1),BH=(0,$H.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),FH=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let t=Object.values(this.entries);if(e==="*")return t[0];if(typeof e=="string")return this.entries[e]?this.entries[e]:t.find(o=>o.id.startsWith(e));let{name:r,title:n}=e;return t.find(o=>o.name===r&&o.title===n)}storyIdToEntry(e){let t=this.entries[e];if(!t)throw new ub({storyId:e});return t}importPathToEntry(e){return BH(this.entries)[e]}},VH=e=>typeof e=="string"?{name:e}:e,UH=e=>typeof e=="string"?{type:e,disable:!1}:e&&typeof e=="object"&&"type"in e&&!("disable"in e)?{...e,disable:!1}:e,JH=(e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=VH(r)),n?i.control=UH(n):n===!1&&(i.control={disable:!0}),i},Hp=e=>Ta(e,JH),gt=e=>Array.isArray(e)?e:e?[e]:[],HH=et`
  705. CSF .story annotations deprecated; annotate story functions directly:
  706. - StoryFn.story.name => StoryFn.storyName
  707. - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
  708. See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
  709. `;function ta(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(Et.debug("deprecated story",i),ud(HH));let a=rH(e),l=typeof n!="function"&&n.name||n.storyName||(i==null?void 0:i.name)||a,d=[...gt(n.decorators),...gt(i==null?void 0:i.decorators)],c={...i==null?void 0:i.parameters,...n.parameters},p={...i==null?void 0:i.args,...n.args},f={...i==null?void 0:i.argTypes,...n.argTypes},g=[...gt(n.loaders),...gt(i==null?void 0:i.loaders)],b=[...gt(n.beforeEach),...gt(i==null?void 0:i.beforeEach)],T=[...gt(n.afterEach),...gt(i==null?void 0:i.afterEach)],{render:w,play:R,tags:_=[],globals:A={}}=n,L=c.__id||eH(r.id,a);return{moduleExport:t,id:L,name:l,tags:_,decorators:d,parameters:c,args:p,argTypes:Hp(f),loaders:g,beforeEach:b,afterEach:T,globals:A,...w&&{render:w},...o&&{userStoryFn:o},...R&&{play:R}}}function kc(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Q_(n||t),...e,title:t,...o&&{argTypes:Hp(o)},parameters:{fileName:r,...e.parameters}}}var GH=e=>{let{globals:t,globalTypes:r}=e;(t||r)&&Et.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},WH=e=>{let{options:t}=e;t!=null&&t.storySort&&Et.error("The storySort option parameter can only be set globally")},ls=e=>{e&&(GH(e),WH(e))};function zH(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,a=Object.values(i).find(c=>Us(c));if(a){let c=kc(a.meta.input,r,t);ls(c.parameters);let p={meta:c,stories:{},moduleExports:e};return Object.keys(i).forEach(f=>{if(Lc(f,c)&&Us(i[f])){let g=i[f],b=ta(f,g.input,c);ls(b.parameters),p.stories[b.id]=b,ZJ(g).forEach(T=>{var _;let w=T.input.name,R=tH(b.id,w);(_=T.input).parameters??(_.parameters={}),T.input.parameters.__id=R,p.stories[R]=ta(w,T.input,c)})}}),p.projectAnnotations=a.meta.preview.composed,p}let l=kc(n,r,t);ls(l.parameters);let d={meta:l,stories:{},moduleExports:e};return Object.keys(i).forEach(c=>{if(Lc(c,l)){let p=ta(c,i[c],l);ls(p.parameters),d.stories[p.id]=p}}),d}function tS(e,t,r){let n=r(e);return o=>t(n,o)}function rS({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:a,initialArgs:l,argTypes:d,...c}={}){return c}function nS(e,t){let r={},n=i=>a=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...rS(a)},i(r.value)},o=t.reduce((i,a)=>tS(i,a,n),e);return i=>(r.value=i,o(i))}var ko=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([a,l])=>{let d=o[a];Array.isArray(l)||typeof d>"u"?o[a]=l:on(l)&&on(d)?t[a]=!0:typeof l<"u"&&(o[a]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(a=>a[o]).filter(a=>typeof a<"u");i.every(a=>on(a))?n[o]=ko(...i):n[o]=i[i.length-1]}),n};function Gp(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},a=iS(e,t,r),l=async h=>{let C={};for(let x of[gt(r.loaders),gt(t.loaders),gt(e.loaders)]){if(h.abortSignal.aborted)return C;let j=await Promise.all(x.map(Z=>Z(h)));Object.assign(C,...j)}return C},d=async h=>{let C=new Array;for(let x of[...gt(r.beforeEach),...gt(t.beforeEach),...gt(e.beforeEach)]){if(h.abortSignal.aborted)return C;let j=await x(h);j&&C.push(j)}return C},c=async h=>{let C=[...gt(r.afterEach),...gt(t.afterEach),...gt(e.afterEach)].reverse();for(let x of C){if(h.abortSignal.aborted)return;await x(h)}},p=h=>h.originalStoryFn(h.args,h),{applyDecorators:f=nS,runStep:g}=r,b=[...gt(e==null?void 0:e.decorators),...gt(t==null?void 0:t.decorators),...gt(r==null?void 0:r.decorators)],T=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,w=Ib(f)(p,b),R=h=>w(h),_=(e==null?void 0:e.play)??(t==null?void 0:t.play),A=PI(_);if(!T&&!A)throw new vb({id:o});let L=h=>async()=>(await h.renderToCanvas(),h.canvas),D=e.mount??t.mount??r.mount??L,k=r.testingLibraryRender;return{storyGlobals:{},...a,moduleExport:n,id:o,name:i,story:i,originalStoryFn:T,undecoratedStoryFn:p,unboundStoryFn:R,applyLoaders:l,applyBeforeEach:d,applyAfterEach:c,playFunction:_,runStep:g,mount:D,testingLibraryRender:k,renderToCanvas:r.renderToCanvas,usesMount:A}}function oS(e,t,r){return{...iS(void 0,e,t),moduleExport:r}}function iS(e,t,r){var A,L;let n=[tn.DEV,tn.TEST],o=((A=Re.DOCS_OPTIONS)==null?void 0:A.autodocs)===!0?[tn.AUTODOCS]:[],i=(L=e==null?void 0:e.tags)!=null&&L.includes(tn.TEST_FN)?[`!${tn.AUTODOCS}`]:[],a=nH(...n,...o,...r.tags??[],...t.tags??[],...i,...(e==null?void 0:e.tags)??[]),l=ko(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:d=[],argsEnhancers:c=[]}=r,p=ko(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let D=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;l.__isArgsStory=D&&D.length>0}let f={...r.args,...t.args,...e==null?void 0:e.args},g={...t.globals,...e==null?void 0:e.globals},b={componentId:t.id,title:t.title,kind:t.title,id:(e==null?void 0:e.id)||t.id,name:(e==null?void 0:e.name)||"__meta",story:(e==null?void 0:e.name)||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:l,initialArgs:f,argTypes:p,storyGlobals:g};b.argTypes=d.reduce((D,k)=>k({...b,argTypes:D}),b.argTypes);let T={...f};b.initialArgs=[...c].reduce((D,k)=>({...D,...k({...b,initialArgs:D})}),T);let{name:w,story:R,..._}=b;return _}function aS(e){var i;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((i=Re.FEATURES)!=null&&i.argTypeTargetsV7){let a=MH(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[Z_]||{}}}let n=Object.entries(r.args).reduce((a,[l,d])=>{var p;if(!((p=r.argTypes[l])!=null&&p.mapping))return a[l]=d,a;let c=f=>{let g=r.argTypes[l].mapping;return g&&f in g?g[f]:f};return a[l]=Array.isArray(d)?d.map(c):c(d),a},{}),o=Object.entries(n).reduce((a,[l,d])=>{let c=r.argTypes[l]||{};return AI(c,n,r.globals)&&(a[l]=d),a},{});return{...r,unmappedArgs:t,args:o}}var $c=(e,t,r,n)=>{let o=typeof e;switch(o){case"boolean":case"string":case"number":case"function":case"symbol":return{name:o}}if(e){if(n.has(e))return n.get(e);if(r.has(e))return Et.warn(et`
  710. We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
  711. Consider using the mapping feature or fully custom args:
  712. - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
  713. - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
  714. `),{name:"other",value:"cyclic object"};r.add(e);let i;return Array.isArray(e)?i={name:"array",value:e.length>0?$c(e[0],t,r,n):{name:"other",value:"unknown"}}:i={name:"object",value:Ta(e,a=>$c(a,t,r,n))},r.delete(e),n.set(e,i),i}return{name:"object",value:{}}},sS=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=new Map,i=Ta(n,(l,d)=>({name:d,type:$c(l,`${t}.${d}`,new Set,o)})),a=Ta(r,(l,d)=>({name:d}));return ko(i,a,r)};sS.secondPass=!0;var Oy=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),lS=(e,t,r)=>!t&&!r?e:e&&PH(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||Oy(i,t))&&(!r||!Oy(i,r))}),YH=(e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let i=n.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&Et.warn(`Addon controls: Control of type color only supports string, received "${i}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:i}=n;return{control:{type:(i==null?void 0:i.length)<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},Wp=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let a=lS(t,n,o),l=Ta(a,(d,c)=>(d==null?void 0:d.type)&&YH(d,c.toString(),i));return ko(l,a)};Wp.secondPass=!0;function Gs({argTypes:e,argTypesEnhancers:t,decorators:r,loaders:n,beforeEach:o,afterEach:i,initialGlobals:a,...l}){return{...e&&{argTypes:Hp(e)},decorators:gt(r),loaders:gt(n),beforeEach:gt(o),afterEach:gt(i),argTypesEnhancers:[...t||[],sS,Wp],initialGlobals:a,...l}}var KH=e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}};function uS(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}function wa(e,t){return e.map(r=>{var n;return((n=r.default)==null?void 0:n[t])??r[t]}).filter(Boolean)}function Hn(e,t,r={}){return wa(e,t).reduce((n,o)=>{let i=gt(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}function us(e,t){return Object.assign({},...wa(e,t))}function Ui(e,t){return wa(e,t).pop()}function vi(e){var o;let t=Hn(e,"argTypesEnhancers"),r=wa(e,"runStep"),n=Hn(e,"beforeAll");return{parameters:ko(...wa(e,"parameters")),decorators:Hn(e,"decorators",{reverseFileOrder:!(((o=Re.FEATURES)==null?void 0:o.legacyDecoratorFileOrder)??!1)}),args:us(e,"args"),argsEnhancers:Hn(e,"argsEnhancers"),argTypes:us(e,"argTypes"),argTypesEnhancers:[...t.filter(i=>!i.secondPass),...t.filter(i=>i.secondPass)],initialGlobals:us(e,"initialGlobals"),globalTypes:us(e,"globalTypes"),loaders:Hn(e,"loaders"),beforeAll:KH(n),beforeEach:Hn(e,"beforeEach"),afterEach:Hn(e,"afterEach"),render:Ui(e,"render"),renderToCanvas:Ui(e,"renderToCanvas"),applyDecorators:Ui(e,"applyDecorators"),runStep:uS(r),tags:Hn(e,"tags"),mount:Ui(e,"mount"),testingLibraryRender:Ui(e,"testingLibraryRender")}}function cS(){var e,t,r;try{return!!globalThis.__vitest_browser__||!!((r=(t=(e=globalThis.window)==null?void 0:e.navigator)==null?void 0:t.userAgent)!=null&&r.match(/StorybookTestRunner/))}catch{return!1}}function zp(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
  715. animation: none !important;
  716. }`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
  717. animation-delay: 0s !important;
  718. animation-direction: ${e?"reverse":"normal"} !important;
  719. animation-play-state: paused !important;
  720. transition: none !important;
  721. }`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{var n;(n=r.parentNode)==null||n.removeChild(r)}}async function Yp(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...dS(globalThis.document)],o=async()=>{if(t||e!=null&&e.aborted)return;let i=n.flatMap(a=>{var l;return((l=a==null?void 0:a.getAnimations)==null?void 0:l.call(a))||[]}).filter(a=>a.playState==="running"&&!XH(a));i.length>0&&(await Promise.allSettled(i.map(async a=>a.finished)),await o())};o().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}function dS(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...dS(r.shadowRoot)),t),[])}function XH(e){var t;if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let r=getComputedStyle(e.effect.target,e.effect.pseudoElement),n=(t=r.animationName)==null?void 0:t.split(", ").indexOf(e.animationName);return r.animationIterationCount.split(", ")[n]==="infinite"}return!1}var Kp=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};function pS(e,t,r){return Us(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:QJ(t)?t.input:t,preview:r}}function QH(e){globalThis.defaultProjectAnnotations=e}var ZH="ComposedStory",eG="Unnamed Story";function tG(e){return e?vi([e]):{}}function rG(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=vi([...X_(),globalThis.defaultProjectAnnotations??{},vi(t.map(tG))]),globalThis.globalProjectAnnotations??{}}var Qn=[];function fS(e,t,r,n,o){var _;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??ZH;let i=kc(t),a=o||e.storyName||((_=e.story)==null?void 0:_.name)||e.name||eG,l=ta(a,e,i),d=Gs(vi([n??globalThis.globalProjectAnnotations??{},r??{}])),c=Gp(l,i,d),p={...eS(d.globalTypes),...d.initialGlobals,...c.storyGlobals},f=new Kp,g=()=>{let A=aS({hooks:new wd,globals:p,args:{...c.initialArgs},viewMode:"story",reporting:f,loaded:{},abortSignal:new AbortController().signal,step:(L,D)=>c.runStep(L,D,A),canvasElement:null,canvas:{},userEvent:{},globalTypes:d.globalTypes,...c,context:null,mount:null});return A.parameters.__isPortableStory=!0,A.context=A,c.renderToCanvas&&(A.renderToCanvas=async()=>{var D;let L=await((D=c.renderToCanvas)==null?void 0:D.call(c,{componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:()=>{},showError:k=>{throw new Error(`${k.title}
  722. ${k.description}`)},showException:k=>{throw k},forceRemount:!0,storyContext:A,storyFn:()=>c.unboundStoryFn(A),unboundStoryFn:c.unboundStoryFn},A.canvasElement));L&&Qn.push(L)}),A.mount=c.mount(A),A},b,T=async A=>{var D;let L=g();return L.canvasElement??(L.canvasElement=(D=globalThis==null?void 0:globalThis.document)==null?void 0:D.body),b&&(L.loaded=b.loaded),Object.assign(L,A),c.playFunction(L)},w=A=>{let L=g();return Object.assign(L,A),aG(c,L)},R=c.playFunction?T:void 0;return Object.assign(function(A){let L=g();return b&&(L.loaded=b.loaded),L.args={...L.initialArgs,...A},c.unboundStoryFn(L)},{id:c.id,storyName:a,load:async()=>{for(let L of[...Qn].reverse())await L();Qn.length=0;let A=g();A.loaded=await c.applyLoaders(A),Qn.push(...(await c.applyBeforeEach(A)).filter(Boolean)),b=A},globals:p,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:R,run:w,reporting:f,tags:c.tags})}var nG=(e,t,r,n)=>fS(e,t,r,{},n);function oG(e,t,r=nG){let{default:n,__esModule:o,__namedExportsOrder:i,...a}=e,l=n;return Object.entries(a).reduce((d,[c,p])=>{let{story:f,meta:g}=pS(p);return!l&&g&&(l=g),Lc(c,l)?Object.assign(d,{[c]:r(f,l,t,c)}):d},{})}function iG(e){return e.extend({mount:async({mount:t,page:r},n)=>{await n(async(o,...i)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(et`
  723. Portable stories in Playwright CT only work when referencing JSX elements.
  724. Please use JSX format for your components such as:
  725. instead of:
  726. await mount(MyComponent, { props: { foo: 'bar' } })
  727. do:
  728. await mount(<MyComponent foo="bar"/>)
  729. More info: https://storybook.js.org/docs/api/portable-stories/portable-stories-playwright?ref=error
  730. `);let{props:a,...l}=o;await r.evaluate(async c=>{var f,g,b;let p=await((f=globalThis.__pwUnwrapObject)==null?void 0:f.call(globalThis,c));return(b=(g="__pw_type"in p?p.type:p)==null?void 0:g.load)==null?void 0:b.call(g)},l);let d=await t(o,...i);return await r.evaluate(async c=>{var b,T;let p=await((b=globalThis.__pwUnwrapObject)==null?void 0:b.call(globalThis,c)),f="__pw_type"in p?p.type:p,g=document.querySelector("#root");return(T=f==null?void 0:f.play)==null?void 0:T.call(f,{canvasElement:g})},l),d})}})}async function aG(e,t){var i,a;for(let l of[...Qn].reverse())await l();if(Qn.length=0,!t.canvasElement){let l=document.createElement("div");(a=(i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body)==null||a.appendChild(l),t.canvasElement=l,Qn.push(()=>{var d,c,p,f;(c=(d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body)!=null&&c.contains(l)&&((f=(p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body)==null||f.removeChild(l))})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;Qn.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new Td({playFunction:r.toString()})}),await r(t));let o;cS()?o=zp():await Yp(t.abortSignal),await e.applyAfterEach(t),await(o==null?void 0:o())}var Ay=1e3,sG=1e4,hS=class{constructor(e,t,r){this.importFn=t,this.storyIndex=new FH(e),this.projectAnnotations=Gs(vi([...X_(),r]));let{initialGlobals:n,globalTypes:o}=this.projectAnnotations;this.args=new DH,this.userGlobals=new kH({globals:n,globalTypes:o}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,wu.default)(Ay)(zH),this.prepareMetaWithCache=(0,wu.default)(Ay)(oS),this.prepareStoryWithCache=(0,wu.default)(sG)(Gp)}setProjectAnnotations(e){this.projectAnnotations=Gs(e);let{initialGlobals:t,globalTypes:r}=e;this.userGlobals.set({globals:t,globalTypes:r})}async onStoriesChanged({importFn:e,storyIndex:t}){e&&(this.importFn=e),t&&(this.storyIndex.entries=t.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:t,title:r}=this.storyIndex.storyIdToEntry(e),n=await this.importFn(t);return this.processCSFFileWithCache(n,t,r)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([t,{importPath:r}])=>{e[r]=t}),(await Promise.all(Object.entries(e).map(async([t,r])=>({importPath:t,csfFile:await this.loadCSFFileByStoryId(r)})))).reduce((t,{importPath:r,csfFile:n})=>(t[r]=n,t),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:e}){let t=e.meta;return this.prepareMetaWithCache(t,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let t=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:t})}storyFromCSFFile({storyId:e,csfFile:t}){let r=t.stories[e];if(!r)throw new gb({storyId:e});let n=t.meta,o=this.prepareStoryWithCache(r,n,t.projectAnnotations??this.projectAnnotations);return this.args.setInitial(o),this.hooks[o.id]=this.hooks[o.id]||new wd,o}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(t=>!!e.stories[t]).map(t=>this.storyFromCSFFile({storyId:t,csfFile:e}))}async loadEntry(e){let t=await this.storyIdToEntry(e),r=t.type==="docs"?t.storiesImports:[],[n,...o]=await Promise.all([this.importFn(t.importPath),...r.map(i=>{let a=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(a.id)})]);return{entryExports:n,csfFiles:o}}getStoryContext(e,{forceInitialArgs:t=!1}={}){let r=this.userGlobals.get(),{initialGlobals:n}=this.userGlobals,o=new Kp;return aS({...e,args:t?e.initialArgs:this.args.get(e.id),initialGlobals:n,globalTypes:this.projectAnnotations.globalTypes,userGlobals:r,reporting:o,globals:{...r,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,...t){this.cleanupCallbacks[e.id]=(this.cleanupCallbacks[e.id]||[]).concat(t)}async cleanupStory(e){this.hooks[e.id].clean();let t=this.cleanupCallbacks[e.id];if(t)for(let r of[...t].reverse())await r();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:t}=this;if(console.log("extract: extracting stories",t),!t)throw new db;let r=Object.entries(this.storyIndex.entries).reduce((n,[o,i])=>{if(i.type==="docs")return n;let a=t[i.importPath],l=this.storyFromCSFFile({storyId:o,csfFile:a});return!e.includeDocsOnly&&l.parameters.docsOnly||(n[o]=Object.entries(l).reduce((d,[c,p])=>c==="story"&&i.subtype==="test"?{...d,story:i.parentName}:c==="moduleExport"||typeof p=="function"?d:Array.isArray(p)?Object.assign(d,{[c]:p.slice().sort()}):Object.assign(d,{[c]:p}),{args:l.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...l.storyGlobals},storyId:i.parent?i.parent:o})),n},{});return console.log("extract: stories",r),r}};function lG(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}var uG=e=>{if(e.length===0)return e;let t=e[e.length-1],r=t==null?void 0:t.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]};function Py(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}var mS=(e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&Nt.warn(et`
  731. CSF Auto-title received a numeric fileName. This typically happens when
  732. webpack is mis-configured in production mode. To force webpack to produce
  733. filenames, set optimization.moduleIds = "named" in your webpack config.
  734. `);let a=lG(String(e));if(o.exec(a)){if(!r){let l=a.replace(n,""),d=Py([i,l]).split("/");return d=uG(d),d.join("/")}return i?Py([i,r]):r}},cG=(e,t,r)=>{for(let n=0;n<t.length;n+=1){let o=mS(e,t[n],r);if(o)return o}return r||void 0},Cy=/\s*\/\s*/,dG=(e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],i=t.title.trim().split(Cy),a=r.title.trim().split(Cy);e.includeNames&&(i.push(t.name),a.push(r.name));let l=0;for(;i[l]||a[l];){if(!i[l])return-1;if(!a[l])return 1;let d=i[l],c=a[l];if(d!==c){let f=o.indexOf(d),g=o.indexOf(c),b=o.indexOf("*");return f!==-1||g!==-1?(f===-1&&(b!==-1?f=b:f=o.length),g===-1&&(b!==-1?g=b:g=o.length),f-g):n==="configure"?0:d.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let p=o.indexOf(d);p===-1&&(p=o.indexOf("*")),o=p!==-1&&Array.isArray(o[p+1])?o[p+1]:[],l+=1}return 0},pG=(e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=dG(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},fG=(e,t,r)=>{try{return pG(e,t,r)}catch(n){throw new Error(et`
  735. Error sorting stories with sort parameter ${t}:
  736. > ${n.message}
  737. Are you using a V6-style sort function in V7 mode?
  738. More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
  739. `)}},Ol=new Error("prepareAborted"),{AbortController:xy}=globalThis;function Ny(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}var Bc=class{constructor(e,t,r,n,o,i,a={autoplay:!0,forceInitialArgs:!1},l){this.channel=e,this.store=t,this.renderToScreen=r,this.callbacks=n,this.id=o,this.viewMode=i,this.renderOptions=a,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=()=>{},this.torndown=!1,this.abortController=new xy,this.renderId=Date.now(),l&&(this.story=l,this.phase="preparing")}async runPhase(e,t,r){this.phase=t,this.channel.emit(Io,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),r&&(await r(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted&&!["finished","aborted","errored"].includes(this.phase)&&(this.phase="aborted",this.channel.emit(Io,{newPhase:this.phase,renderId:this.renderId,storyId:this.id})),e.aborted}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Ol}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!1,forceRemount:t=!1}={}){var A,L,D,k,h,C,x,j;let{canvasElement:r}=this;if(!this.story)throw new Error("cannot render when not prepared");let n=this.story;if(!r)throw new Error("cannot render when canvasElement is unset");let{id:o,componentId:i,title:a,name:l,tags:d,applyLoaders:c,applyBeforeEach:p,applyAfterEach:f,unboundStoryFn:g,playFunction:b,runStep:T}=n;t&&!e&&(this.cancelRender(),this.abortController=new xy);let w=this.abortController.signal,R=!1,_=n.usesMount;try{let Z={...this.storyContext(),viewMode:this.viewMode,abortSignal:w,canvasElement:r,loaded:{},step:(Pe,Ce)=>T(Pe,Ce,Z),context:null,canvas:{},userEvent:{},renderToCanvas:async()=>{let Pe=await this.renderToScreen(G,r);this.teardownRender=Pe||(()=>{}),R=!0},mount:async(...Pe)=>{var fe,ue;(ue=(fe=this.callbacks).showStoryDuringRender)==null||ue.call(fe);let Ce=null;return await this.runPhase(w,"rendering",async()=>{Ce=await n.mount(Z)(...Pe)}),_&&await this.runPhase(w,"playing"),Ce}};Z.context=Z;let G={componentId:i,title:a,kind:a,id:o,name:l,story:l,tags:d,...this.callbacks,showError:Pe=>(this.phase="errored",this.callbacks.showError(Pe)),showException:Pe=>(this.phase="errored",this.callbacks.showException(Pe)),forceRemount:t||this.notYetRendered,storyContext:Z,storyFn:()=>g(Z),unboundStoryFn:g};if(await this.runPhase(w,"loading",async()=>{Z.loaded=await c(Z)}),w.aborted)return;let oe=await p(Z);if(this.store.addCleanupCallbacks(n,...oe),this.checkIfAborted(w)||(!R&&!_&&await Z.mount(),this.notYetRendered=!1,w.aborted))return;let U=((L=(A=this.story.parameters)==null?void 0:A.test)==null?void 0:L.dangerouslyIgnoreUnhandledErrors)===!0,I=new Set,V=Pe=>{Pe.error&&I.add(Pe.error)},K=Pe=>{Pe.reason&&I.add(Pe.reason)};if(this.renderOptions.autoplay&&t&&b&&this.phase!=="errored"){(D=window==null?void 0:window.addEventListener)==null||D.call(window,"error",V),(k=window==null?void 0:window.addEventListener)==null||k.call(window,"unhandledrejection",K),this.disableKeyListeners=!0;try{if(_?await b(Z):(Z.mount=async()=>{throw new Td({playFunction:b.toString()})},await this.runPhase(w,"playing",async()=>b(Z))),!R)throw new Eb;this.checkIfAborted(w),!U&&I.size>0?await this.runPhase(w,"errored"):await this.runPhase(w,"played")}catch(Pe){if((C=(h=this.callbacks).showStoryDuringRender)==null||C.call(h),await this.runPhase(w,"errored",async()=>{this.channel.emit(pg,Ny(Pe))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw Pe;console.error(Pe)}if(!U&&I.size>0&&this.channel.emit(fg,Array.from(I).map(Ny)),this.disableKeyListeners=!1,(x=window==null?void 0:window.removeEventListener)==null||x.call(window,"unhandledrejection",K),(j=window==null?void 0:window.removeEventListener)==null||j.call(window,"error",V),w.aborted)return}await this.runPhase(w,"completing",async()=>{cS()?this.store.addCleanupCallbacks(n,zp()):await Yp(w)}),await this.runPhase(w,"completed",async()=>{this.channel.emit(ws,o)}),this.phase!=="errored"&&await this.runPhase(w,"afterEach",async()=>{await f(Z)});let ne=!U&&I.size>0,he=Z.reporting.reports.some(Pe=>Pe.status==="failed"),xe=ne||he;await this.runPhase(w,"finished",async()=>this.channel.emit(Lu,{storyId:o,status:xe?"error":"success",reporters:Z.reporting.reports}))}catch(Z){this.phase="errored",this.callbacks.showException(Z),await this.runPhase(w,"finished",async()=>this.channel.emit(Lu,{storyId:o,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController.abort()}cancelPlayFunction(){this.phase==="playing"&&(this.abortController.abort(),this.runPhase(this.abortController.signal,"aborted"))}async teardown(){var e,t;this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let r=0;r<3;r+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(n=>setTimeout(n,0))}(t=(e=window==null?void 0:window.location)==null?void 0:e.reload)==null||t.call(e),await new Promise(()=>{})}},{fetch:hG}=Re,mG="./index.json",yS=class{constructor(e,t,r=fr.getChannel(),n=!0){this.importFn=e,this.getProjectAnnotations=t,this.channel=r,this.storyRenders=[],this.storeInitializationPromise=new Promise((o,i)=>{this.resolveStoreInitializationPromise=o,this.rejectStoreInitializationPromise=i}),n&&this.initialize()}get storyStore(){return new Proxy({},{get:(e,t)=>{if(this.storyStoreValue)return ud("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[t];throw new bb}})}async initialize(){var e;this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t);let r=(e=globalThis==null?void 0:globalThis.navigator)==null?void 0:e.userAgent;await this.channel.emit(mg,{userAgent:r})}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(Tg,this.onStoryIndexChanged.bind(this)),this.channel.on(sd,this.onUpdateGlobals.bind(this)),this.channel.on(ld,this.onUpdateArgs.bind(this)),this.channel.on(Cg,this.onRequestArgTypesInfo.bind(this)),this.channel.on(id,this.onResetArgs.bind(this)),this.channel.on(od,this.onForceReRender.bind(this)),this.channel.on(Ts,this.onForceRemount.bind(this)),this.channel.on(Og,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new pb;return e}catch(e){throw this.renderPreviewEntryError("Error reading preview.js:",e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let t=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(t)}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async runBeforeAllHook(e){var t,r;try{await((t=this.beforeAllCleanup)==null?void 0:t.call(this)),this.beforeAllCleanup=await((r=e.beforeAll)==null?void 0:r.call(e))}catch(n){throw this.renderPreviewEntryError("Error in beforeAll hook:",n),n}}async getStoryIndexFromServer(){let e=await hG(mG);if(e.status===200)return e.json();throw new fb({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new hS(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Tr({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(gg,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;let t=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(t),!this.storyStoreValue){await this.initializeWithProjectAnnotations(t);return}this.storyStoreValue.setProjectAnnotations(t),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError("Error loading story index:",e),e}}async onStoriesChanged({importFn:e,storyIndex:t}){if(!this.storyStoreValue)throw new Tr({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:t})}async onUpdateGlobals({globals:e,currentStory:t}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new Tr({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),t){let{initialGlobals:r,storyGlobals:n,userGlobals:o,globals:i}=this.storyStoreValue.getStoryContext(t);this.channel.emit(na,{initialGlobals:r,userGlobals:o,storyGlobals:n,globals:i})}else{let{initialGlobals:r,globals:n}=this.storyStoreValue.userGlobals;this.channel.emit(na,{initialGlobals:r,userGlobals:n,storyGlobals:{},globals:n})}await Promise.all(this.storyRenders.map(r=>r.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:t}){if(!this.storyStoreValue)throw new Tr({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(e,t),await Promise.all(this.storyRenders.filter(r=>r.id===e&&!r.renderOptions.forceInitialArgs).map(r=>r.story&&r.story.usesMount?r.remount():r.rerender())),this.channel.emit(bg,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:t}){var r;try{await this.storeInitializationPromise;let n=await((r=this.storyStoreValue)==null?void 0:r.loadStory(t));this.channel.emit(Du,{id:e,success:!0,payload:{argTypes:(n==null?void 0:n.argTypes)||{}},error:null})}catch(n){this.channel.emit(Du,{id:e,success:!1,error:n==null?void 0:n.message})}}async onResetArgs({storyId:e,argNames:t}){var o;if(!this.storyStoreValue)throw new Tr({methodName:"onResetArgs"});let r=((o=this.storyRenders.find(i=>i.id===e))==null?void 0:o.story)||await this.storyStoreValue.loadStory({storyId:e}),n=(t||[...new Set([...Object.keys(r.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((i,a)=>(i[a]=r.initialArgs[a],i),{});await this.onUpdateArgs({storyId:e,updatedArgs:n})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(t=>t.id===e).map(t=>t.remount()))}async onStoryHotUpdated(){await Promise.all(this.storyRenders.map(e=>e.cancelPlayFunction()))}renderStoryToElement(e,t,r,n){if(!this.renderToCanvas||!this.storyStoreValue)throw new Tr({methodName:"renderStoryToElement"});let o=new Bc(this.channel,this.storyStoreValue,this.renderToCanvas,r,e.id,"docs",n,e);return o.renderToElement(t),this.storyRenders.push(o),async()=>{await this.teardownRender(o)}}async teardownRender(e,{viewModeChanged:t}={}){var r;this.storyRenders=this.storyRenders.filter(n=>n!==e),await((r=e==null?void 0:e.teardown)==null?void 0:r.call(e,{viewModeChanged:t}))}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new Tr({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:t=!1}={}){if(!this.storyStoreValue)throw new Tr({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:t})}async extract(e){if(!this.storyStoreValue)throw new Tr({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,t){this.previewEntryError=t,Et.error(e),Et.error(t),this.channel.emit(cg,t)}},Xp=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.renderStoryToElement=r,this.storyIdByName=o=>{let i=this.nameToStoryId.get(o);if(i)return i;throw new Error(`No story found with that name: ${o}`)},this.componentStories=()=>this.componentStoriesValue,this.componentStoriesFromCSFFile=o=>this.store.componentStoriesFromCSFFile({csfFile:o}),this.storyById=o=>{if(!o){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let i=this.storyIdToCSFFile.get(o);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${o}`);return this.store.storyFromCSFFile({storyId:o,csfFile:i})},this.getStoryContext=o=>({...this.store.getStoryContext(o),loaded:{},viewMode:"docs"}),this.loadStory=o=>this.store.loadStory({storyId:o}),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,n.forEach((o,i)=>{this.referenceCSFFile(o)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{let r=e.stories[t.id];this.storyIdToCSFFile.set(r.id,e),this.exportToStory.set(r.moduleExport,t)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{this.nameToStoryId.set(t.name,t.id),this.componentStoriesValue.push(t),this.primaryStory||(this.primaryStory=t)}))}referenceMeta(e,t){let r=this.resolveModuleExport(e);if(r.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");t&&this.attachCSFFile(r.csfFile)}get projectAnnotations(){let{projectAnnotations:e}=this.store;if(!e)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return e}resolveAttachedModuleExportType(e){if(e==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let t=Array.from(this.attachedCSFFiles)[0];if(e==="meta")return{type:"meta",csfFile:t};let{component:r}=t.meta;if(!r)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:r}}resolveModuleExport(e){let t=this.exportsToCSFFile.get(e);if(!t&&e&&typeof e=="object"&&"default"in e&&(t=this.exportsToCSFFile.get(e.default)),t)return{type:"meta",csfFile:t};let r=this.exportToStory.get(Us(e)?e.input:e);return r?{type:"story",story:r}:{type:"component",component:e}}resolveOf(e,t=[]){let r;if(["component","meta","story"].includes(e)){let n=e;r=this.resolveAttachedModuleExportType(n)}else r=this.resolveModuleExport(e);if(t.length&&!t.includes(r.type)){let n=r.type==="component"?"component or unknown":r.type;throw new Error(et`Invalid value passed to the 'of' prop. The value was resolved to a '${n}' type but the only types for this block are: ${t.join(", ")}.
  740. - Did you pass a component to the 'of' prop when the block only supports a story or a meta?
  741. - ... or vice versa?
  742. - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(r.type){case"component":return{...r,projectAnnotations:this.projectAnnotations};case"meta":return{...r,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:r.csfFile})};case"story":default:return r}}},Iy=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.entry=r,this.callbacks=n,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=r.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Ol;let{importPath:r,title:n}=this.entry,o=this.store.processCSFFileWithCache(e,r,n),i=Object.keys(o.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:o}),this.csfFiles=[o,...t],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let t=new Xp(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(r=>t.attachCSFFile(r)),t}async renderToElement(e,t){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=this.docsContext(t),{docs:n}=this.story.parameters||{};if(!n)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o=await n.renderer(),{render:i}=o,a=async()=>{try{await i(r,n,e),this.channel.emit(nd,this.id)}catch(l){this.callbacks.showException(l)}};return this.rerender=async()=>a(),this.teardownRender=async({viewModeChanged:l})=>{!l||!e||o.unmount(e)},a()}async teardown({viewModeChanged:e}={}){var t;(t=this.teardownRender)==null||t.call(this,{viewModeChanged:e}),this.torndown=!0}},qy=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.entry=r,this.callbacks=n,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=r.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){var r;this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Ol;if(this.csfFiles=t,this.exports=e,this.attachedCsfFile=void 0,this.attachedStory=void 0,(r=this.entry.tags)==null?void 0:r.includes(tn.ATTACHED_MDX)){this.attachedCsfFile=t[0];let n=this.attachedCsfFile&&Object.keys(this.attachedCsfFile.stories)[0];this.attachedCsfFile&&n&&(this.attachedStory=this.store.storyFromCSFFile({storyId:n,csfFile:this.attachedCsfFile}))}this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let t=new Xp(this.channel,this.store,e,this.csfFiles);return this.attachedCsfFile&&t.attachCSFFile(this.attachedCsfFile),t}async renderToElement(e,t){var c,p;if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let r=this.docsContext(t),{docs:n}=this.store.projectAnnotations.parameters??{},o=((p=(c=this.attachedStory)==null?void 0:c.parameters)==null?void 0:p.docs)??n;if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},a=await o.renderer(),{render:l}=a,d=async()=>{try{await l(r,i,e),this.channel.emit(nd,this.id)}catch(f){this.callbacks.showException(f)}};return this.rerender=async()=>d(),this.teardownRender=async({viewModeChanged:f}={})=>{!f||!e||(a.unmount(e),this.torndown=!0)},d()}async teardown({viewModeChanged:e}={}){var t;(t=this.teardownRender)==null||t.call(this,{viewModeChanged:e}),this.torndown=!0}},yG=globalThis;function gG(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}function bG({tags:e}){return(e==null?void 0:e.includes(tn.UNATTACHED_MDX))||(e==null?void 0:e.includes(tn.ATTACHED_MDX))}function _u(e){return e.type==="story"}function vG(e){return e.type==="docs"}function EG(e){return vG(e)&&e.subtype==="csf"}var gS=class extends yS{constructor(e,t,r,n){super(e,t,void 0,!1),this.importFn=e,this.getProjectAnnotations=t,this.selectionStore=r,this.view=n,this.initialize()}setupListeners(){super.setupListeners(),yG.onkeydown=this.onKeydown.bind(this),this.channel.on(ad,this.onSetCurrentStory.bind(this)),this.channel.on(Ag,this.onUpdateQueryParams.bind(this)),this.channel.on(hg,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Tr({methodName:"setInitialGlobals"});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new Tr({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:t}=this.selectionStore.selectionSpecifier,r=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!r){e==="*"?this.renderStoryLoadingException(e,new mb):this.renderStoryLoadingException(e,new yb({storySpecifier:e.toString()}));return}let{id:n,type:o}=r;this.selectionStore.setSelection({storyId:n,viewMode:o}),this.channel.emit(_g,this.selectionStore.selection),this.channel.emit(ju,this.selectionStore.selection),await this.renderSelection({persistedArgs:t})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:t}){await super.onStoriesChanged({importFn:e,storyIndex:t}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(t=>t.disableKeyListeners)&&!gG(e)){let{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,key:i,code:a,keyCode:l}=e;this.channel.emit(yg,{event:{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,key:i,code:a,keyCode:l}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(ju,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){var r,n;let t=this.currentRender instanceof Bc&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:t}),(this.currentRender instanceof qy||this.currentRender instanceof Iy)&&await((n=(r=this.currentRender).rerender)==null?void 0:n.call(r))}async onUpdateArgs({storyId:e,updatedArgs:t}){super.onUpdateArgs({storyId:e,updatedArgs:t})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(t=>{var r;return(r=this.storyStoreValue)==null?void 0:r.loadEntry(t)}))}async renderSelection({persistedArgs:e}={}){var f,g,b,T;let{renderToCanvas:t}=this;if(!this.storyStoreValue||!t)throw new Tr({methodName:"renderSelection"});let{selection:r}=this.selectionStore;if(!r)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:n}=r,o;try{o=await this.storyStoreValue.storyIdToEntry(n)}catch(w){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(n,w);return}let i=((f=this.currentSelection)==null?void 0:f.storyId)!==n,a=((g=this.currentRender)==null?void 0:g.type)!==o.type;o.type==="story"?this.view.showPreparingStory({immediate:a}):this.view.showPreparingDocs({immediate:a}),(b=this.currentRender)!=null&&b.isPreparing()&&await this.teardownRender(this.currentRender);let l;o.type==="story"?l=new Bc(this.channel,this.storyStoreValue,t,this.mainStoryCallbacks(n),n,"story"):bG(o)?l=new qy(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(n)):l=new Iy(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(n));let d=this.currentSelection;this.currentSelection=r;let c=this.currentRender;this.currentRender=l;try{await l.prepare()}catch(w){c&&await this.teardownRender(c),w!==Ol&&this.renderStoryLoadingException(n,w);return}let p=!i&&c&&!l.isEqual(c);if(e&&_u(l)&&(Rn(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,e)),c&&!c.torndown&&!i&&!p&&!a){this.currentRender=c,this.channel.emit(Rg,n),this.view.showMain();return}if(c&&await this.teardownRender(c,{viewModeChanged:a}),d&&(i||a)&&this.channel.emit(vg,n),_u(l)){Rn(!!l.story);let{parameters:w,initialArgs:R,argTypes:_,unmappedArgs:A,initialGlobals:L,userGlobals:D,storyGlobals:k,globals:h}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(wg,{id:n,parameters:w,initialArgs:R,argTypes:_,args:A}),this.channel.emit(na,{userGlobals:D,storyGlobals:k,globals:h,initialGlobals:L})}else{let{parameters:w}=this.storyStoreValue.projectAnnotations,{initialGlobals:R,globals:_}=this.storyStoreValue.userGlobals;if(this.channel.emit(na,{globals:_,initialGlobals:R,storyGlobals:{},userGlobals:_}),EG(l)||((T=l.entry.tags)==null?void 0:T.includes(tn.ATTACHED_MDX))){if(!l.csfFiles)throw new hb({storyId:n});({parameters:w}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(dg,{id:n,parameters:w})}_u(l)?(Rn(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:t=!1}={}){var r;this.storyRenders=this.storyRenders.filter(n=>n!==e),await((r=e==null?void 0:e.teardown)==null?void 0:r.call(e,{viewModeChanged:t}))}mainStoryCallbacks(e){return{showStoryDuringRender:()=>this.view.showStoryDuringRender(),showMain:()=>this.view.showMain(),showError:t=>this.renderError(e,t),showException:t=>this.renderException(e,t)}}renderPreviewEntryError(e,t){super.renderPreviewEntryError(e,t),this.view.showErrorDisplay(t)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Mu)}renderStoryLoadingException(e,t){Et.error(t),this.view.showErrorDisplay(t),this.channel.emit(Mu,e)}renderException(e,t){var a;let{name:r="Error",message:n=String(t),stack:o}=t,i=(a=this.currentRender)==null?void 0:a.renderId;this.channel.emit(Sg,{name:r,message:n,stack:o}),this.channel.emit(Io,{newPhase:"errored",renderId:i,storyId:e}),this.view.showErrorDisplay(t),Et.error(`Error rendering story '${e}':`),Et.error(t)}renderError(e,{title:t,description:r}){var o;let n=(o=this.currentRender)==null?void 0:o.renderId;this.channel.emit(Eg,{title:t,description:r}),this.channel.emit(Io,{newPhase:"errored",renderId:n,storyId:e}),this.view.showErrorDisplay({message:t,stack:r}),Et.error(`Error rendering story ${t}: ${r}`)}},Fc=It(ed(),1),TG=It(ed(),1),jy=/^[a-zA-Z0-9 _-]*$/,bS=/^-?[0-9]+(\.[0-9]+)?$/,wG=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,vS=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Vc=(e="",t)=>e===null||e===""||!jy.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?jy.test(t)||bS.test(t)||wG.test(t)||vS.test(t):Array.isArray(t)?t.every(r=>Vc(e,r)):on(t)?Object.entries(t).every(([r,n])=>Vc(r,n)):!1,_G={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(vS);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return bS.test(e)?Number(e):e}},My=e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,TG.parse)(t.join(";"),_G)).reduce((r,[n,o])=>Vc(n,o)?Object.assign(r,{[n]:o}):(Nt.warn(et`
  743. Omitted potentially unsafe URL args.
  744. More info: https://storybook.js.org/docs/writing-stories/args?ref=error#setting-args-through-the-url
  745. `),r),{})},{history:ES,document:an}=Re;function SG(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}var TS=({selection:e,extraParams:t})=>{let r=an==null?void 0:an.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...a}=(0,Fc.parse)(r);return`?${(0,Fc.stringify)({...a,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},RG=e=>{if(!e)return;let t=TS({selection:e}),{hash:r=""}=an.location;an.title=e.storyId,ES.replaceState({},"",`${an.location.pathname}${t}${r}`)},OG=e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,ra=e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return ra(e[0]);if(OG(e))return ra(Object.values(e).filter(Boolean))}},AG=()=>{if(typeof an<"u"){let e=an.location.search.slice(1),t=(0,Fc.parse)(e),r=typeof t.args=="string"?My(t.args):void 0,n=typeof t.globals=="string"?My(t.globals):void 0,o=ra(t.viewMode);if(typeof o!="string"||!o)o="story";else if(!o.match(/docs|story/))return null;let i=ra(t.path),a=i?SG(i):ra(t.id);if(a)return{storySpecifier:a,args:r,globals:n,viewMode:o}}return null},wS=class{constructor(){this.selectionSpecifier=AG()}setSelection(e){this.selection=e,RG(this.selection)}setQueryParams(e){let t=TS({extraParams:e}),{hash:r=""}=an.location;ES.replaceState({},"",`${an.location.pathname}${t}${r}`)}},PG=It(tP(),1),CG=It(ed(),1),{document:tr}=Re,Ly=100,_S=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(_S||{}),Su={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Ru={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Dy=new PG.default({escapeXML:!0}),SS=class{constructor(){if(this.testing=!1,typeof tr<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,CG.parse)(tr.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),tr.documentElement.scrollTop=0,tr.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return tr.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),tr.documentElement.scrollTop=0,tr.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return tr.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){tr.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let t=Ru[e];tr.body.classList.remove(this.currentLayoutClass),tr.body.classList.add(t),this.currentLayoutClass=t}checkIfLayoutExists(e){Ru[e]||Et.warn(et`
  746. The desired layout: ${e} is not a valid option.
  747. The possible options are: ${Object.keys(Ru).join(", ")}, none.
  748. `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(_S).forEach(t=>{t===e?tr.body.classList.add(Su[t]):tr.body.classList.remove(Su[t])})}showErrorDisplay({message:e="",stack:t=""}){let r=e,n=t,o=e.split(`
  749. `);o.length>1&&([r]=o,n=o.slice(1).join(`
  750. `).replace(/^\n/,"")),tr.getElementById("error-message").innerHTML=Dy.toHtml(r),tr.getElementById("error-stack").innerHTML=Dy.toHtml(n),this.showMode("ERROR")}showNoPreview(){var e,t;this.testing||(this.showMode("NOPREVIEW"),(e=this.storyRoot())==null||e.setAttribute("hidden","true"),(t=this.docsRoot())==null||t.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Ly)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Ly)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){tr.body.classList.add(Su.MAIN)}},xG=class extends gS{constructor(t,r){super(t,r,new wS,new SS),this.importFn=t,this.getProjectAnnotations=r,Re.__STORYBOOK_PREVIEW__=this}},{document:No}=Re,NG=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],IG="script",ky="scripts-root";function Uc(){let e=No.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),No.dispatchEvent(e)}function qG(e,t,r){let n=No.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):No.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}function RS(e,t,r=0){e[r](()=>{r++,r===e.length?t():RS(e,t,r)})}function jG(e){let t=No.getElementById(ky);t?t.innerHTML="":(t=No.createElement("div"),t.id=ky,No.body.appendChild(t));let r=Array.from(e.querySelectorAll(IG));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||NG.includes(i))&&n.push(a=>qG(o,a,t))}),n.length&&RS(n,Uc,void 0)}else Uc()}var Ou;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Ou=Ou||(Ou={}));var MG=It(rP(),1),Vo=(0,MG.stringifyRules)(),LG=Vo.JsdocTypeObject;Vo.JsdocTypeAny=()=>"any";Vo.JsdocTypeObject=(e,t)=>`(${LG(e,t)})`;Vo.JsdocTypeOptional=(e,t)=>t(e.element);Vo.JsdocTypeNullable=(e,t)=>t(e.element);Vo.JsdocTypeNotNullable=(e,t)=>t(e.element);Vo.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");var DG="storybook/docs",kG=`${DG}/snippet-rendered`;async function $G(e,t){var l,d,c;let r=(c=(d=(l=t.parameters)==null?void 0:l.docs)==null?void 0:d.source)==null?void 0:c.transform,{id:n,unmappedArgs:o}=t,i=r&&e?r==null?void 0:r(e,t):e,a=i?await i:void 0;fr.getChannel().emit(kG,{id:n,source:a,args:o})}var _a={depth:10,clearOnStoryChange:!0,limit:50},BG=(e={})=>{Object.assign(_a,e)},OS=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:OS(r,t)},FG=e=>!!(typeof e=="object"&&e&&OS(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),VG=e=>{if(FG(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e};function Da(e,t={}){let r={..._a,...t},n=function(...o){var f,g;if(t.implicit){let b=(f="__STORYBOOK_PREVIEW__"in Re?Re.__STORYBOOK_PREVIEW__:void 0)==null?void 0:f.storyRenders.find(T=>T.phase==="playing"||T.phase==="rendering");if(b){let T=!((g=globalThis==null?void 0:globalThis.FEATURES)!=null&&g.disallowImplicitActionsInRenderV8),w=new cb({phase:b.phase,name:e,deprecated:T});if(T)console.warn(w);else throw w}}let i=fr.getChannel(),a=Date.now().toString(36)+Math.random().toString(36).substring(2),l=5,d=o.map(VG),c=o.length>1?d:d[0],p={id:a,count:0,data:{name:e,args:c},options:{...r,maxDepth:l+(r.depth||3)}};i.emit(xb,p)};return n.isAction=!0,n.implicit=t.implicit,n}var UG=(...e)=>{let t=_a,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={..._a,...r.pop()});let n=r[0];(r.length!==1||typeof n=="string")&&(n={},r.forEach(i=>{n[i]=i}));let o={};return Object.keys(n).forEach(i=>{o[i]=Da(n[i],t)}),o},JG={"@storybook/global":Ng,"storybook/test":Fb,"storybook/actions":Cb,"storybook/preview-api":$u,"storybook/internal/channels":qg,"storybook/internal/client-logger":jg,"storybook/internal/core-events":td,"storybook/internal/types":Tb,"storybook/internal/preview-errors":ab,"storybook/internal/preview-api":$u};async function HG(){let e=new URL(window.location.href);if(e.searchParams.get("navigator")!=="true"||globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__)return;globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__=!0;let t=await(await fetch("/index.json")).json(),r=e.searchParams.get("id");if(!r){let n=Object.values(t.entries)[0];n&&(e.searchParams.set("id",n.id),e.searchParams.set("viewMode",n.type),window.location.href=e.toString());return}GG(t,r)}var GG=async(e,t)=>{var l,d;let r={entries:{}};for(let c of Object.values(e.entries)){let p=c.title.split("/"),f=r;for(let g of p)f.entries||(f.entries={}),f.entries[g]?t===c.id&&(f.entries[g].isActive=!0):f.entries[g]={title:g,isActive:t===c.id,entries:{}},f=f.entries[g];f.entries||(f.entries={}),f.entries[c.name]={id:c.id,name:c.name,href:`?id=${c.id}&viewMode=${c.type}&navigator=true`,isActive:t===c.id}}let n=c=>{if("entries"in c&&"title"in c){let f=c;return`
  751. <li class="sb-navigator-branch">
  752. <details${f.isActive?" open":""}>
  753. <summary class="sb-navigator-title">
  754. ${f.title}
  755. </summary>
  756. <ul class="sb-navigator-entries" aria-label="${f.title}">
  757. ${Object.values(f.entries).map(n).join("")}
  758. </ul>
  759. </details>
  760. </li>
  761. `}let p=c;return`
  762. <li class="sb-navigator-story-item">
  763. <a href="${p.href}"
  764. class="sb-navigator-story-link${p.isActive?" active":""}"
  765. aria-current="${p.isActive?"location":"false"}">${p.name}</a>
  766. </li>
  767. `},o=Object.values(r.entries).map(n).join(""),i=document.createElement("nav");i.id="sb-navigator-container",i.setAttribute("role","navigation"),i.setAttribute("aria-label","Story navigation"),i.innerHTML=`
  768. <ul class="sb-navigator-list">${o}</ul>
  769. `,document.body.insertBefore(i,document.body.firstChild);let a=document.createElement("style");a.id="sb-navigator-style",a.textContent=`
  770. body {
  771. display: grid !important;
  772. grid-template-columns: 300px 1fr;
  773. font-family: 'Nunito', sans-serif;
  774. height: 100vh;
  775. margin: 0;
  776. --text-color: rgb(46, 52, 56);
  777. --bg-color: rgb(246, 249, 252);
  778. @media (prefers-color-scheme: dark) {
  779. --text-color: rgb(201, 205, 207);
  780. --bg-color: rgb(34, 36, 37);
  781. }
  782. }
  783. #storybook-root, #storybook-docs {
  784. overflow-y: auto;
  785. max-height: 100vh;
  786. max-width: 100%;
  787. }
  788. #sb-navigator-container, #sb-navigator-container * {
  789. box-sizing: border-box;
  790. }
  791. #sb-navigator-container {
  792. height: 100vh;
  793. overflow-y: auto;
  794. border-right: 1px solid #eee;
  795. padding: 1rem;
  796. font-size: 14px;
  797. color: var(--text-color);
  798. background-color: var(--bg-color);
  799. align-self: start;
  800. z-index: 1000;
  801. }
  802. .sb-main-padded #sb-navigator-container {
  803. margin: -1rem 1rem -1rem -1rem;
  804. }
  805. .sb-navigator-list {
  806. list-style-type: none;
  807. padding: 0;
  808. margin: 0;
  809. }
  810. .sb-navigator-branch {
  811. list-style-type: none;
  812. }
  813. .sb-navigator-item {
  814. margin-bottom: 15px;
  815. }
  816. .sb-navigator-title {
  817. color: var(--text-color);
  818. text-decoration: none;
  819. padding-block: 5px;
  820. cursor: pointer;
  821. }
  822. .sb-navigator-entries {
  823. padding-left: 15px;
  824. }
  825. .sb-navigator-story-item {
  826. margin-bottom: 8px;
  827. margin-left: 8px;
  828. }
  829. .sb-navigator-story-link {
  830. color: var(--text-color);
  831. }
  832. .sb-navigator-story-link.active {
  833. font-weight: bold;
  834. color: hsl(212 100 46);
  835. }
  836. `,document.head.appendChild(a),(d=(l=i.querySelector(".sb-navigator-story-link.active"))==null?void 0:l.closest("details"))==null||d.scrollIntoView({block:"center"})},WG=It(nP(),1),Au;function zG(){var e;return Au||(Au=new WG.default((e=Re.navigator)==null?void 0:e.userAgent).getBrowserInfo()),Au}function YG(e){return e.browserInfo=zG(),e}function KG(e){let t=e.error||e;t.fromStorybook&&Re.sendTelemetryError(t)}function XG({reason:e}){e.fromStorybook&&Re.sendTelemetryError(e)}function AS(){DP.forEach(e=>{Re[Ig[e]]=JG[e]}),Re.sendTelemetryError=e=>{Re.__STORYBOOK_ADDONS_CHANNEL__.emit(Pg,YG(e))},document.addEventListener("DOMContentLoaded",()=>{Re.__STORYBOOK_ADDONS_CHANNEL__.on(xg,e=>{e?document.body.setAttribute("inert","true"):document.body.removeAttribute("inert")})}),Re.addEventListener("error",KG),Re.addEventListener("unhandledrejection",XG),HG()}AS();const{createBrowserChannel:QG}=__STORYBOOK_MODULE_CHANNELS__,{addons:ZG}=__STORYBOOK_MODULE_PREVIEW_API__,Qp=QG({page:"preview"});ZG.setChannel(Qp);window.__STORYBOOK_ADDONS_CHANNEL__=Qp;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=Qp);const e3={"./stories/atoms/badge/Badge.stories.js":()=>de(()=>import("./Badge.stories-B87MjRem.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./stories/atoms/blockquote/Blockquote.stories.js":()=>de(()=>import("./Blockquote.stories-C7wEhYNB.js"),__vite__mapDeps([8,9,2,3,4,5,10,7]),import.meta.url),"./stories/atoms/button/Button.stories.js":()=>de(()=>import("./Button.stories-CrEr7O0l.js"),__vite__mapDeps([11,3,4]),import.meta.url),"./stories/atoms/event-teaser/EventTeaser.stories.js":()=>de(()=>import("./EventTeaser.stories-D1PYjQ1n.js"),__vite__mapDeps([12,13,2,3,4,5,14,7]),import.meta.url),"./stories/atoms/input-checkbox-radio/InputCheckboxRadio.stories.js":()=>de(()=>import("./InputCheckboxRadio.stories-XGLmFQm6.js"),__vite__mapDeps([15,16,2,3,4,5,17,7]),import.meta.url),"./stories/atoms/input-select/InputSelect.stories.js":()=>de(()=>import("./InputSelect.stories-DC0YQMnI.js"),__vite__mapDeps([18,19,2,3,4,5,20,7]),import.meta.url),"./stories/atoms/input-text/InputText.stories.js":()=>de(()=>import("./InputText.stories-BRZ4P30L.js"),__vite__mapDeps([21,2,3,4,5,7]),import.meta.url),"./stories/atoms/interview-item/InterviewItem.stories.js":()=>de(()=>import("./InterviewItem.stories-B0hmZmYv.js"),__vite__mapDeps([22,23,2,3,4,5,24,7]),import.meta.url),"./stories/atoms/label/Label.stories.js":()=>de(()=>import("./Label.stories-DPguvfD6.js"),__vite__mapDeps([25,26,2,3,4,5,27,7]),import.meta.url),"./stories/atoms/labelFormCentric/LabelFormCentric.stories.js":()=>de(()=>import("./LabelFormCentric.stories-DiRCXNf9.js"),__vite__mapDeps([28,29,2,3,4,5,30,7]),import.meta.url),"./stories/atoms/pagination/Pagination.stories.js":()=>de(()=>import("./Pagination.stories-BPYTxF1E.js"),__vite__mapDeps([31,2,3,4,5,32,33,7,34]),import.meta.url),"./stories/atoms/progress-bar/ProgressBar.stories.js":()=>de(()=>import("./ProgressBar.stories-CR1ELRZB.js"),__vite__mapDeps([35,36,2,3,4,5,37,7]),import.meta.url),"./stories/atoms/reading-time/ReadingTime.stories.js":()=>de(()=>import("./ReadingTime.stories-ZjRLiJmD.js"),__vite__mapDeps([38,39,2,3,4,5,40,7]),import.meta.url),"./stories/atoms/search-button/SearchButton.stories.js":()=>de(()=>import("./SearchButton.stories-sGmzXj8X.js"),__vite__mapDeps([41,2,3,4,5,7]),import.meta.url),"./stories/atoms/search-input/SearchInput.stories.js":()=>de(()=>import("./SearchInput.stories-BUaBL-lO.js"),__vite__mapDeps([42,2,3,4,5,7]),import.meta.url),"./stories/atoms/secondary-menu/SecondaryMenu.stories.js":()=>de(()=>import("./SecondaryMenu.stories-Ch92SFpa.js"),__vite__mapDeps([43,2,3,4,5,7]),import.meta.url),"./stories/atoms/skip-button/SkipButton.stories.js":()=>de(()=>import("./SkipButton.stories-B9PvQYBI.js"),__vite__mapDeps([44,45,3,4,46]),import.meta.url),"./stories/atoms/slider-tabs/SliderTabs.stories.js":()=>de(()=>import("./SliderTabs.stories-CG6aO-BT.js"),__vite__mapDeps([47,2,3,4,5,7,48]),import.meta.url),"./stories/atoms/social-icons/SocialIcons.stories.js":()=>de(()=>import("./SocialIcons.stories-Dhs6zEAi.js"),__vite__mapDeps([49,2,3,4,5,7]),import.meta.url),"./stories/atoms/tabs/Tabs.stories.js":()=>de(()=>import("./Tabs.stories-7pa0mWlB.js"),__vite__mapDeps([50,51,2,3,4,5,52,7]),import.meta.url),"./stories/components/a-z/AZ.stories.js":()=>de(()=>import("./AZ.stories-DCEdalXY.js"),__vite__mapDeps([53,54,2,3,4,5,55,7]),import.meta.url),"./stories/components/accordion/Accordion.stories.js":()=>de(()=>import("./Accordion.stories-R-duVEd7.js"),__vite__mapDeps([56,57,2,3,4,5,58,7]),import.meta.url),"./stories/components/anchor-links/AnchorLinks.stories.js":()=>de(()=>import("./AnchorLinks.stories-BkGPhltZ.js"),__vite__mapDeps([59,60,2,3,4,5,61,7]),import.meta.url),"./stories/components/artwork/Artwork.stories.js":()=>de(()=>import("./Artwork.stories-CeeOYNoh.js"),__vite__mapDeps([62,63,2,3,4,5,34,7]),import.meta.url),"./stories/components/card/Card.stories.js":()=>de(()=>import("./Card.stories-C6TsbOVT.js"),__vite__mapDeps([64,65,2,3,4,5,66,7]),import.meta.url),"./stories/components/checkbox-group/CheckboxGroup.stories.js":()=>de(()=>import("./CheckboxGroup.stories-Ds9tf463.js"),__vite__mapDeps([67,68,69,2,3,4,5,26,27,16,17,19,20,70,7]),import.meta.url),"./stories/components/common-content-article/CommonContentArticle.stories.js":()=>de(()=>import("./CommonContentArticle.stories-BIViQLYt.js"),__vite__mapDeps([71,72,2,3,4,5,9,10,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,7]),import.meta.url),"./stories/components/common-content/CommonContent.stories.js":()=>de(()=>import("./CommonContent.stories-9wA6DGXt.js"),__vite__mapDeps([89,86,2,3,4,5,87,7]),import.meta.url),"./stories/components/contact/Contact.stories.js":()=>de(()=>import("./Contact.stories-BsDFl5-A.js"),__vite__mapDeps([90,73,2,3,4,5,74,7]),import.meta.url),"./stories/components/document-list/DocumentList.stories.js":()=>de(()=>import("./DocumentList.stories-wWDzOXBp.js"),__vite__mapDeps([91,92,2,3,4,5,93,7]),import.meta.url),"./stories/components/election-form/ElectionForm.stories.js":()=>de(()=>import("./ElectionForm.stories-CLpF_Bfi.js"),__vite__mapDeps([94,95,2,3,4,5,19,20,96,7]),import.meta.url),"./stories/components/election-result-list-badge/ElectionResultListBadge.stories.js":()=>de(()=>import("./ElectionResultListBadge.stories-daZBFm2U.js"),__vite__mapDeps([97,98,2,3,4,5,99,7]),import.meta.url),"./stories/components/election-result-list-item/ElectionResultListItem.stories.js":()=>de(()=>import("./ElectionResultListItem.stories-abWXEGUI.js"),__vite__mapDeps([100,101,2,3,4,5,102,7]),import.meta.url),"./stories/components/event-teaser-large/EventTeaserLarge.stories.js":()=>de(()=>import("./EventTeaserLarge.stories-DLTlEDQS.js"),__vite__mapDeps([103,104,2,3,4,5,105,7]),import.meta.url),"./stories/components/flockler/Flockler.stories.js":()=>de(()=>import("./Flockler.stories-CgVnkw4O.js"),__vite__mapDeps([106,107,2,3,4,5,108,7]),import.meta.url),"./stories/components/footer/Footer.stories.js":()=>de(()=>import("./Footer.stories-BJov2lHy.js"),__vite__mapDeps([109,2,3,4,5,7]),import.meta.url),"./stories/components/form-element-form-centric/FormElementFormCentric.stories.js":()=>de(()=>import("./FormElementFormCentric.stories-fZijnEYI.js"),__vite__mapDeps([110,2,3,4,5,29,30,16,17,19,20,7,111]),import.meta.url),"./stories/components/form-element/FormElement.stories.js":()=>de(()=>import("./FormElement.stories-DYg0mL77.js"),__vite__mapDeps([112,69,2,3,4,5,26,27,16,17,19,20,7]),import.meta.url),"./stories/components/gallery/Gallery.stories.js":()=>de(()=>import("./Gallery.stories-DDsL021r.js"),__vite__mapDeps([113,114,2,3,4,5,115,116,117,7]),import.meta.url),"./stories/components/global-message/GlobalMessage.stories.js":()=>de(()=>import("./GlobalMessage.stories-BaYAu58l.js"),__vite__mapDeps([118,119,2,3,4,5,120,7]),import.meta.url),"./stories/components/header-search/HeaderSearch.stories.js":()=>de(()=>import("./HeaderSearch.stories-D4hy6Nr8.js"),__vite__mapDeps([121,2,3,4,5,7]),import.meta.url),"./stories/components/header/Header.stories.js":()=>de(()=>import("./Header.stories-D39FlcIm.js"),__vite__mapDeps([122,2,3,4,5,7]),import.meta.url),"./stories/components/howto-list/HowToList.stories.js":()=>de(()=>import("./HowToList.stories-BxQTWqV7.js"),__vite__mapDeps([123,124,2,3,4,5,125,7]),import.meta.url),"./stories/components/ihk-switch/IHKSwitch.stories.js":()=>de(()=>import("./IHKSwitch.stories-DArq-aIv.js"),__vite__mapDeps([126,2,3,4,5,7]),import.meta.url),"./stories/components/image-text/ImageText.stories.js":()=>de(()=>import("./ImageText.stories-CkMYUIwH.js"),__vite__mapDeps([127,128,2,3,4,5,129,7]),import.meta.url),"./stories/components/infobox/Infobox.stories.js":()=>de(()=>import("./Infobox.stories-B6B85Fzj.js"),__vite__mapDeps([130,77,2,3,4,5,9,10,78,7]),import.meta.url),"./stories/components/link-collection/LinkCollection.stories.js":()=>de(()=>import("./LinkCollection.stories-Ci7EkPRP.js"),__vite__mapDeps([131,83,2,3,4,5,84,132,133,7]),import.meta.url),"./stories/components/linklist/LinkList.stories.js":()=>de(()=>import("./LinkList.stories-C9grVZ7d.js"),__vite__mapDeps([134,83,2,3,4,5,84,7]),import.meta.url),"./stories/components/login/Login.stories.js":()=>de(()=>import("./Login.stories-X7psapNN.js"),__vite__mapDeps([135,136,2,3,4,5,69,26,27,16,17,19,20,137,7]),import.meta.url),"./stories/components/logo-wall/LogoWall.stories.js":()=>de(()=>import("./LogoWall.stories-DpMWlI_s.js"),__vite__mapDeps([138,2,3,4,5,7,139]),import.meta.url),"./stories/components/magazine-article/MagazineArticle.stories.js":()=>de(()=>import("./MagazineArticle.stories-5ouPJQKq.js"),__vite__mapDeps([140,141,2,3,4,5,142,114,115,116,117,60,61,9,10,73,74,75,76,77,78,143,144,145,13,14,146,65,66,147,148,7]),import.meta.url),"./stories/components/magazine-cover/MagazineCover.stories.js":()=>de(()=>import("./MagazineCover.stories-DEKeKP9j.js"),__vite__mapDeps([149,150,2,3,4,5,39,40,151,7]),import.meta.url),"./stories/components/magazine-header/MagazineHeader.stories.js":()=>de(()=>import("./MagazineHeader.stories-CVhGpRkT.js"),__vite__mapDeps([152,153,2,3,4,5,154,7]),import.meta.url),"./stories/components/mini-teaser/MiniTeaser.stories.js":()=>de(()=>import("./MiniTeaser.stories-CIjzmwp8.js"),__vite__mapDeps([155,156,2,3,4,5,157,7]),import.meta.url),"./stories/components/nav/Nav.stories.js":()=>de(()=>import("./Nav.stories-CU2S0xbo.js"),__vite__mapDeps([158,2,3,4,5,7]),import.meta.url),"./stories/components/newsletter-teaser/NewsletterTeaser.stories.js":()=>de(()=>import("./NewsletterTeaser.stories-D9iOs5UV.js"),__vite__mapDeps([159,2,3,4,5,69,26,27,16,17,19,20,7,160]),import.meta.url),"./stories/components/page-details/PageDetails.stories.js":()=>de(()=>import("./PageDetails.stories-BRl36aCT.js"),__vite__mapDeps([161,2,3,4,5,7]),import.meta.url),"./stories/components/participation-list-item/ParticipationListItem.stories.js":()=>de(()=>import("./ParticipationListItem.stories-B_eHjN0D.js"),__vite__mapDeps([162,163,2,3,4,5,164,36,37,165,166,7]),import.meta.url),"./stories/components/participation-teaser/ParticipationTeaser.stories.js":()=>de(()=>import("./ParticipationTeaser.stories-L35sGkeo.js"),__vite__mapDeps([167,164,2,3,4,5,36,37,165,7]),import.meta.url),"./stories/components/print-share/PrintShare.stories.js":()=>de(()=>import("./PrintShare.stories-Cy68sPqZ.js"),__vite__mapDeps([168,75,2,3,4,5,76,7]),import.meta.url),"./stories/components/search-form/SearchForm.stories.js":()=>de(()=>import("./SearchForm.stories-d5H20mh4.js"),__vite__mapDeps([169,170,2,3,4,5,69,26,27,16,17,19,20,68,70,171,7]),import.meta.url),"./stories/components/search-results/SearchResults.stories.js":()=>de(()=>import("./SearchResults.stories-CBPldGJT.js"),__vite__mapDeps([172,173,2,3,4,5,13,14,174,7]),import.meta.url),"./stories/components/steps/Steps.stories.js":()=>de(()=>import("./Steps.stories-hCSpcACE.js"),__vite__mapDeps([175,176,2,3,4,5,115,177,178,7]),import.meta.url),"./stories/components/superlist-entry/SuperlistEntry.stories.js":()=>de(()=>import("./SuperlistEntry.stories-BWHufTnj.js"),__vite__mapDeps([179,180,2,3,4,5,181,7]),import.meta.url),"./stories/components/teaser-social/TeaserSocial.stories.js":()=>de(()=>import("./TeaserSocial.stories-ZFuxnGxx.js"),__vite__mapDeps([182,183,2,3,4,5,184,7]),import.meta.url),"./stories/components/teaser/Teaser.stories.js":()=>de(()=>import("./Teaser.stories-CZWjmhfT.js"),__vite__mapDeps([185,186,2,3,4,5,39,40,83,84,187,7]),import.meta.url),"./stories/components/testimonial/Testimonial.stories.js":()=>de(()=>import("./Testimonial.stories-CcvuH0KP.js"),__vite__mapDeps([188,189,2,3,4,5,190,7]),import.meta.url),"./stories/components/text-with-headline/TextWithHeadline.stories.js":()=>de(()=>import("./TextWithHeadline.stories-DOD-Yr0q.js"),__vite__mapDeps([191,192,2,3,4,5,142,193,7]),import.meta.url),"./stories/components/topic-teaser/TopicTeaser.stories.js":()=>de(()=>import("./TopicTeaser.stories-Kn5pnVVw.js"),__vite__mapDeps([194,82,2,3,4,5,83,84,85,7]),import.meta.url),"./stories/components/video/Video.stories.js":()=>de(()=>import("./Video.stories-CJkoX30v.js"),__vite__mapDeps([195,196,2,3,4,5,197,7]),import.meta.url),"./stories/pages/a-z-page/AZPage.stories.js":()=>de(()=>import("./AZPage.stories-Csuc0DB9.js"),__vite__mapDeps([198,2,3,4,5,73,74,54,55,75,76,7]),import.meta.url),"./stories/pages/article/Article.stories.js":()=>de(()=>import("./Article.stories-xN7LwhDm.js"),__vite__mapDeps([199,2,3,4,5,114,115,116,117,57,58,73,74,77,9,10,78,132,83,84,133,176,177,178,75,76,200,201,60,61,142,196,197,143,144,145,13,14,146,65,66,147,202,203,189,190,7]),import.meta.url),"./stories/pages/common-content/CommonContent.stories.js":()=>de(()=>import("./CommonContent.stories-CYnPRycj.js"),__vite__mapDeps([204,2,3,4,5,153,154,150,39,40,151,205,186,83,84,187,116,183,184,206,72,9,10,73,74,75,76,77,78,79,80,81,82,85,86,87,88,7]),import.meta.url),"./stories/pages/documents/Documents.stories.js":()=>de(()=>import("./Documents.stories-CRLiAG4i.js"),__vite__mapDeps([207,2,3,4,5,92,93,73,74,75,76,7]),import.meta.url),"./stories/pages/election-detail/ElectionDetailPage.stories.js":()=>de(()=>import("./ElectionDetailPage.stories-BAhMxaEV.js"),__vite__mapDeps([208,2,3,4,5,153,154,209,196,197,210,7]),import.meta.url),"./stories/pages/election-overview/ElectionOverviewPage.stories.js":()=>de(()=>import("./ElectionOverviewPage.stories-B_xcTlLH.js"),__vite__mapDeps([211,2,3,4,5,95,19,20,96,153,154,212,101,102,98,99,213,200,201,7]),import.meta.url),"./stories/pages/election-start/ElectionStartPage.stories.js":()=>de(()=>import("./ElectionStartPage.stories--LbZkeVd.js"),__vite__mapDeps([214,2,3,4,5,95,19,20,96,128,129,124,125,153,154,215,36,37,216,7]),import.meta.url),"./stories/pages/event-overview/EventOverview.stories.js":()=>de(()=>import("./EventOverview.stories-C-Z1ea9u.js"),__vite__mapDeps([217,2,3,4,5,143,144,145,13,14,128,129,218,115,219,220,221,82,83,84,85,222,223,224,225,226,104,105,227,228,178,7,229]),import.meta.url),"./stories/pages/event/EventPage.stories.js":()=>de(()=>import("./EventPage.stories-BDVx3UEH.js"),__vite__mapDeps([230,2,3,4,5,142,73,74,57,58,60,61,75,76,7]),import.meta.url),"./stories/pages/flockler/home/Home.stories.js":()=>de(()=>import("./Home.stories-6h0KM1Co.js"),__vite__mapDeps([231,228,2,3,4,5,115,178,232,63,34,221,233,119,120,234,83,84,235,236,237,80,81,144,145,238,239,205,186,39,40,187,116,183,184,206,107,108,7,85,14]),import.meta.url),"./stories/pages/flockler/topic/Topic.stories.js":()=>de(()=>import("./Topic.stories-DQc4_WdB.js"),__vite__mapDeps([240,2,3,4,5,241,242,205,186,39,40,83,84,187,116,183,184,206,79,80,81,82,85,132,133,73,74,143,144,145,13,14,234,235,107,108,7]),import.meta.url),"./stories/pages/home/Home.stories.js":()=>de(()=>import("./Home.stories-D6VvP6hH.js"),__vite__mapDeps([243,228,2,3,4,5,115,178,232,63,34,221,233,119,120,234,83,84,235,236,237,79,80,81,82,85,143,144,145,13,14,238,239,205,186,39,40,187,116,183,184,206,200,201,192,142,193,45,46,7]),import.meta.url),"./stories/pages/login/LoginPage.stories.js":()=>de(()=>import("./LoginPage.stories-B0az8rXb.js"),__vite__mapDeps([244,2,3,4,5,73,74,136,69,26,27,16,17,19,20,137,142,7]),import.meta.url),"./stories/pages/magazine-article/MagazineArticle.stories.js":()=>de(()=>import("./MagazineArticle.stories-z2EE51eq.js"),__vite__mapDeps([245,2,3,4,5,153,154,150,39,40,151,205,186,83,84,187,116,183,184,206,141,142,114,115,117,60,61,9,10,73,74,75,76,77,78,143,144,145,13,14,146,65,66,147,148,7]),import.meta.url),"./stories/pages/magazine-interview/MagazineInterview.stories.js":()=>de(()=>import("./MagazineInterview.stories-DOnEqplg.js"),__vite__mapDeps([246,2,3,4,5,153,154,150,39,40,151,247,23,24,7]),import.meta.url),"./stories/pages/magazine-start/MagazineStart.stories.js":()=>de(()=>import("./MagazineStart.stories-BD_ErJ9I.js"),__vite__mapDeps([248,2,3,4,5,153,154,205,186,39,40,83,84,187,116,183,184,206,202,115,203,178,200,201,7]),import.meta.url),"./stories/pages/participation-list/ParticipationList.stories.js":()=>de(()=>import("./ParticipationList.stories-CiXEUx8A.js"),__vite__mapDeps([249,2,3,4,5,73,74,32,33,51,52,75,76,250,163,164,36,37,165,166,7]),import.meta.url),"./stories/pages/participation-start/ParticipationStart.stories.js":()=>de(()=>import("./ParticipationStart.stories-Bxyxl08c.js"),__vite__mapDeps([251,2,3,4,5,215,36,37,216,252,250,164,165,1,6,253,200,201,236,237,254,255,7]),import.meta.url),"./stories/pages/search-events/SearchEventsPage.stories.js":()=>de(()=>import("./SearchEventsPage.stories-DLqt7gba.js"),__vite__mapDeps([256,2,3,4,5,170,69,26,27,16,17,19,20,68,70,171,173,13,14,174,73,74,7]),import.meta.url),"./stories/pages/search/SearchPage.stories.js":()=>de(()=>import("./SearchPage.stories-D28zJSw1.js"),__vite__mapDeps([257,2,3,4,5,73,74,173,13,14,174,170,69,26,27,16,17,19,20,68,70,171,51,52,7]),import.meta.url),"./stories/pages/tile-grid/TileGridPage.stories.js":()=>de(()=>import("./TileGridPage.stories-JHGQ4efV.js"),__vite__mapDeps([258,2,3,4,5,150,39,40,151,141,142,114,115,116,117,60,61,9,10,73,74,75,76,77,78,143,144,145,13,14,146,65,66,147,148,259,222,260,7]),import.meta.url),"./stories/pages/timeline/TimelinePage.stories.js":()=>de(()=>import("./TimelinePage.stories-BuR6ffcF.js"),__vite__mapDeps([261,262,2,3,4,5,51,52,115,263,178,7]),import.meta.url),"./stories/pages/topic/Topic.stories.js":()=>de(()=>import("./Topic.stories-R0xCMmzP.js"),__vite__mapDeps([264,2,3,4,5,241,242,205,186,39,40,83,84,187,116,183,184,206,79,80,81,82,85,132,133,73,74,143,144,145,13,14,234,235,7]),import.meta.url),"./stories/sections/card-slider/CardSlider.stories.js":()=>de(()=>import("./CardSlider.stories-BLEs8byO.js"),__vite__mapDeps([265,146,2,3,4,5,65,66,115,147,7]),import.meta.url),"./stories/sections/election-detail/ElectionDetail.stories.js":()=>de(()=>import("./ElectionDetail.stories-BzC3U67W.js"),__vite__mapDeps([266,209,2,3,4,5,196,197,210,7]),import.meta.url),"./stories/sections/election-result-list/ElectionResultList.stories.js":()=>de(()=>import("./ElectionResultList.stories-DSvnTFUj.js"),__vite__mapDeps([267,212,2,3,4,5,101,102,98,99,213,7]),import.meta.url),"./stories/sections/event-teaser-large-slider/EventTeaserLargeSlider.stories.js":()=>de(()=>import("./EventTeaserLargeSlider.stories-CNPzipXE.js"),__vite__mapDeps([268,218,2,3,4,5,115,219,7]),import.meta.url),"./stories/sections/event-teasers-large/EventTeasersLarge.stories.js":()=>de(()=>import("./EventTeasersLarge.stories-CRnHuaMY.js"),__vite__mapDeps([269,226,2,3,4,5,104,105,227,7]),import.meta.url),"./stories/sections/eventoverview-stage/EventOverviewStage.stories.js":()=>de(()=>import("./EventOverviewStage.stories-irf52UQF.js"),__vite__mapDeps([270,220,2,3,4,5,221,82,83,84,85,222,223,224,225,7]),import.meta.url),"./stories/sections/events/Events.stories.js":()=>de(()=>import("./Events.stories-BkfmceRG.js"),__vite__mapDeps([271,143,144,145,2,3,4,5,13,14,7]),import.meta.url),"./stories/sections/feature/Feature.stories.js":()=>de(()=>import("./Feature.stories-pF6PfPgL.js"),__vite__mapDeps([272,234,2,3,4,5,83,84,235,7]),import.meta.url),"./stories/sections/infobanner/InfoBanner.stories.js":()=>de(()=>import("./InfoBanner.stories-DQetmDL7.js"),__vite__mapDeps([273,236,2,3,4,5,237,7]),import.meta.url),"./stories/sections/interview/Interview.stories.js":()=>de(()=>import("./Interview.stories-CFrQUnyd.js"),__vite__mapDeps([274,247,2,3,4,5,23,24,7]),import.meta.url),"./stories/sections/intro/Intro.stories.js":()=>de(()=>import("./Intro.stories-UC4mzPeb.js"),__vite__mapDeps([275,241,2,3,4,5,242,7]),import.meta.url),"./stories/sections/marketingheader/MarketingHeader.stories.js":()=>de(()=>import("./MarketingHeader.stories-aqO6afUh.js"),__vite__mapDeps([276,2,3,4,5,63,34,115,156,157,7,277,178]),import.meta.url),"./stories/sections/participation-map/ParticipationMap.stories.js":()=>de(()=>import("./ParticipationMap.stories-CyQTPt4n.js"),__vite__mapDeps([278,254,2,3,4,5,1,6,255,7]),import.meta.url),"./stories/sections/participation-stage/ParticipationStage.stories.js":()=>de(()=>import("./ParticipationStage.stories-HXdITxE-.js"),__vite__mapDeps([279,215,2,3,4,5,36,37,216,7]),import.meta.url),"./stories/sections/participation-teasers/ParticipationTeasers.stories.js":()=>de(()=>import("./ParticipationTeasers.stories-D8JiK0-0.js"),__vite__mapDeps([280,250,252,2,3,4,5,164,36,37,165,1,6,253,7]),import.meta.url),"./stories/sections/quick-facts/QuickFacts.stories.js":()=>de(()=>import("./QuickFacts.stories-D4KvPpzH.js"),__vite__mapDeps([281,202,2,3,4,5,115,203,178,7]),import.meta.url),"./stories/sections/search/Search.stories.js":()=>de(()=>import("./Search.stories-DbI7fu4f.js"),__vite__mapDeps([282,232,2,3,4,5,63,34,221,233,7]),import.meta.url),"./stories/sections/slider/Slider.stories.js":()=>de(()=>import("./Slider.stories-PAF_xYV0.js"),__vite__mapDeps([283,228,2,3,4,5,115,178,7]),import.meta.url),"./stories/sections/social/Social.stories.js":()=>de(()=>import("./Social.stories-BuX_Nfpo.js"),__vite__mapDeps([284,238,2,3,4,5,239,7]),import.meta.url),"./stories/sections/superlist/Superlist.stories.js":()=>de(()=>import("./Superlist.stories-MncZLDbG.js"),__vite__mapDeps([285,2,3,4,5,180,181,7,286]),import.meta.url),"./stories/sections/survey/Survey.stories.js":()=>de(()=>import("./Survey.stories-o0nyiJJF.js"),__vite__mapDeps([287,200,2,3,4,5,201,7]),import.meta.url),"./stories/sections/teasers/Teasers.stories.js":()=>de(()=>import("./Teasers.stories-B80ssKgu.js"),__vite__mapDeps([288,205,2,3,4,5,186,39,40,83,84,187,116,183,184,206,7]),import.meta.url),"./stories/sections/tile-grid-wood/TileGridWood.stories.js":()=>de(()=>import("./TileGridWood.stories-DMQj0qDR.js"),__vite__mapDeps([289,259,2,3,4,5,222,260,7]),import.meta.url),"./stories/sections/tile-grid/TileGrid.stories.js":()=>de(()=>import("./TileGrid.stories-DJRnfs3x.js"),__vite__mapDeps([290,2,3,4,5,222,7,260]),import.meta.url),"./stories/sections/timeline/Timeline.stories.js":()=>de(()=>import("./Timeline.stories-BEZRp9rB.js"),__vite__mapDeps([291,262,2,3,4,5,51,52,115,263,178,7]),import.meta.url),"./stories/sections/topic-teasers/TopicTeasers.stories.js":()=>de(()=>import("./TopicTeasers.stories-BXONEHPj.js"),__vite__mapDeps([292,79,80,81,2,3,4,5,82,83,84,85,7]),import.meta.url),"./stories/sections/video-stage/VideoStage.stories.js":()=>de(()=>import("./VideoStage.stories-CK7B8HGk.js"),__vite__mapDeps([293,223,2,3,4,5,224,7]),import.meta.url)};async function t3(e){return await e3[e]()}var r3=Object.defineProperty,n3=(e,t)=>{for(var r in t)r3(e,r,{get:t[r],enumerable:!0})};function Pu(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function yz(e){return e==null||typeof e!="object"&&typeof e!="function"}function gz(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function bz(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function vz(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var Ez="[object RegExp]",Tz="[object String]",wz="[object Number]",_z="[object Boolean]",Sz="[object Arguments]",Rz="[object Symbol]",Oz="[object Date]",Az="[object Map]",Pz="[object Set]",Cz="[object Array]",xz="[object Function]",Nz="[object ArrayBuffer]",Iz="[object Object]",qz="[object Error]",jz="[object DataView]",Mz="[object Uint8Array]",Lz="[object Uint8ClampedArray]",Dz="[object Uint16Array]",kz="[object Uint32Array]",$z="[object BigUint64Array]",Bz="[object Int8Array]",Fz="[object Int16Array]",Vz="[object Int32Array]",Uz="[object BigInt64Array]",Jz="[object Float32Array]",Hz="[object Float64Array]",o3=Object.create,Zp=Object.defineProperty,i3=Object.getOwnPropertyDescriptor,PS=Object.getOwnPropertyNames,a3=Object.getPrototypeOf,s3=Object.prototype.hasOwnProperty,Gz=(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')}),l3=(e,t)=>function(){return t||(0,e[PS(e)[0]])((t={exports:{}}).exports,t),t.exports},Wz=(e,t)=>{for(var r in t)Zp(e,r,{get:t[r],enumerable:!0})},u3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of PS(t))!s3.call(e,o)&&o!==r&&Zp(e,o,{get:()=>t[o],enumerable:!(n=i3(t,o))||n.enumerable});return e},c3=(e,t,r)=>(r=e!=null?o3(a3(e)):{},u3(t||!e||!e.__esModule?Zp(r,"default",{value:e,enumerable:!0}):r,e)),d3=l3({"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(s){return s.text!==void 0&&s.text!==""?`'${s.type}' with value '${s.text}'`:`'${s.type}'`}class o extends Error{constructor(y){super(`No parslet found for token: ${n(y)}`),this.token=y,Object.setPrototypeOf(this,o.prototype)}getToken(){return this.token}}class i extends Error{constructor(y){super(`The parsing ended early. The next token was: ${n(y)}`),this.token=y,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class a extends Error{constructor(y,S){let q=`Unexpected type: '${y.type}'.`;S!==void 0&&(q+=` Message: ${S}`),super(q),Object.setPrototypeOf(this,a.prototype)}}function l(s){return y=>y.startsWith(s)?{type:s,text:s}:null}function d(s){let y=0,S,q=s[0],X=!1;if(q!=="'"&&q!=='"')return null;for(;y<s.length;){if(y++,S=s[y],!X&&S===q){y++;break}X=!X&&S==="\\"}if(S!==q)throw new Error("Unterminated String");return s.slice(0,y)}let c=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),p=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function f(s){let y=s[0];if(!c.test(y))return null;let S=1;do{if(y=s[S],!p.test(y))break;S++}while(S<s.length);return s.slice(0,S)}let g=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function b(s){var y,S;return(S=(y=g.exec(s))===null||y===void 0?void 0:y[0])!==null&&S!==void 0?S:null}let T=s=>{let y=f(s);return y==null?null:{type:"Identifier",text:y}};function w(s){return y=>{if(!y.startsWith(s))return null;let S=y[s.length];return S!==void 0&&p.test(S)?null:{type:s,text:s}}}let R=s=>{let y=d(s);return y==null?null:{type:"StringValue",text:y}},_=s=>s.length>0?null:{type:"EOF",text:""},A=s=>{let y=b(s);return y===null?null:{type:"Number",text:y}},L=[_,l("=>"),l("("),l(")"),l("{"),l("}"),l("["),l("]"),l("|"),l("&"),l("<"),l(">"),l(","),l(";"),l("*"),l("?"),l("!"),l("="),l(":"),l("..."),l("."),l("#"),l("~"),l("/"),l("@"),w("undefined"),w("null"),w("function"),w("this"),w("new"),w("module"),w("event"),w("extends"),w("external"),w("infer"),w("typeof"),w("keyof"),w("readonly"),w("import"),w("is"),w("in"),w("asserts"),A,T,R],D=/^\s*\n\s*/;class k{static create(y){let S=this.read(y);y=S.text;let q=this.read(y);return y=q.text,new k(y,void 0,S.token,q.token)}constructor(y,S,q,X){this.text="",this.text=y,this.previous=S,this.current=q,this.next=X}static read(y,S=!1){S=S||D.test(y),y=y.trim();for(let q of L){let X=q(y);if(X!==null){let le=Object.assign(Object.assign({},X),{startOfLine:S});return y=y.slice(le.text.length),{text:y,token:le}}}throw new Error("Unexpected Token "+y)}advance(){let y=k.read(this.text);return new k(y.text,this.current,this.next,y.token)}}function h(s){if(s===void 0)throw new Error("Unexpected undefined");if(s.type==="JsdocTypeKeyValue"||s.type==="JsdocTypeParameterList"||s.type==="JsdocTypeProperty"||s.type==="JsdocTypeReadonlyProperty"||s.type==="JsdocTypeObjectField"||s.type==="JsdocTypeJsdocObjectField"||s.type==="JsdocTypeIndexSignature"||s.type==="JsdocTypeMappedType"||s.type==="JsdocTypeTypeParameter")throw new a(s);return s}function C(s){return s.type==="JsdocTypeKeyValue"?j(s):h(s)}function x(s){return s.type==="JsdocTypeName"?s:j(s)}function j(s){if(s.type!=="JsdocTypeKeyValue")throw new a(s);return s}function Z(s){var y;if(s.type==="JsdocTypeVariadic"){if(((y=s.element)===null||y===void 0?void 0:y.type)==="JsdocTypeName")return s;throw new a(s)}if(s.type!=="JsdocTypeNumber"&&s.type!=="JsdocTypeName")throw new a(s);return s}function G(s){if(s.type==="JsdocTypeTuple"||s.type==="JsdocTypeGeneric"&&s.meta.brackets==="square")return s;throw new a(s)}function oe(s){return s.type==="JsdocTypeIndexSignature"||s.type==="JsdocTypeMappedType"}var U;(function(s){s[s.ALL=0]="ALL",s[s.PARAMETER_LIST=1]="PARAMETER_LIST",s[s.OBJECT=2]="OBJECT",s[s.KEY_VALUE=3]="KEY_VALUE",s[s.INDEX_BRACKETS=4]="INDEX_BRACKETS",s[s.UNION=5]="UNION",s[s.INTERSECTION=6]="INTERSECTION",s[s.PREFIX=7]="PREFIX",s[s.INFIX=8]="INFIX",s[s.TUPLE=9]="TUPLE",s[s.SYMBOL=10]="SYMBOL",s[s.OPTIONAL=11]="OPTIONAL",s[s.NULLABLE=12]="NULLABLE",s[s.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",s[s.FUNCTION=14]="FUNCTION",s[s.ARROW=15]="ARROW",s[s.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",s[s.GENERIC=17]="GENERIC",s[s.NAME_PATH=18]="NAME_PATH",s[s.PARENTHESIS=19]="PARENTHESIS",s[s.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(U||(U={}));class I{constructor(y,S,q){this.grammar=y,typeof S=="string"?this._lexer=k.create(S):this._lexer=S,this.baseParser=q}get lexer(){return this._lexer}parse(){let y=this.parseType(U.ALL);if(this.lexer.current.type!=="EOF")throw new i(this.lexer.current);return y}parseType(y){return h(this.parseIntermediateType(y))}parseIntermediateType(y){let S=this.tryParslets(null,y);if(S===null)throw new o(this.lexer.current);return this.parseInfixIntermediateType(S,y)}parseInfixIntermediateType(y,S){let q=this.tryParslets(y,S);for(;q!==null;)y=q,q=this.tryParslets(y,S);return y}tryParslets(y,S){for(let q of this.grammar){let X=q(this,S,y);if(X!==null)return X}return null}consume(y){return Array.isArray(y)||(y=[y]),y.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(y){this._lexer=y.lexer}}function V(s){return s==="}"||s==="EOF"||s==="|"||s===","||s===")"||s===">"}let K=(s,y,S)=>{let q=s.lexer.current.type,X=s.lexer.next.type;return S==null&&q==="?"&&!V(X)||S!=null&&q==="?"?(s.consume("?"),S==null?{type:"JsdocTypeNullable",element:s.parseType(U.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:h(S),meta:{position:"suffix"}}):null};function ne(s){let y=(S,q,X)=>{let le=S.lexer.current.type,Ee=S.lexer.next.type;if(X===null){if("parsePrefix"in s&&s.accept(le,Ee))return s.parsePrefix(S)}else if("parseInfix"in s&&s.precedence>q&&s.accept(le,Ee))return s.parseInfix(S,X);return null};return Object.defineProperty(y,"name",{value:s.name}),y}let he=ne({name:"optionalParslet",accept:s=>s==="=",precedence:U.OPTIONAL,parsePrefix:s=>(s.consume("="),{type:"JsdocTypeOptional",element:s.parseType(U.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(s,y)=>(s.consume("="),{type:"JsdocTypeOptional",element:h(y),meta:{position:"suffix"}})}),xe=ne({name:"numberParslet",accept:s=>s==="Number",parsePrefix:s=>{let y=parseFloat(s.lexer.current.text);return s.consume("Number"),{type:"JsdocTypeNumber",value:y}}}),Pe=ne({name:"parenthesisParslet",accept:s=>s==="(",parsePrefix:s=>{if(s.consume("("),s.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let y=s.parseIntermediateType(U.ALL);if(!s.consume(")"))throw new Error("Unterminated parenthesis");return y.type==="JsdocTypeParameterList"?y:y.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[y]}:{type:"JsdocTypeParenthesis",element:h(y)}}}),Ce=ne({name:"specialTypesParslet",accept:(s,y)=>s==="?"&&V(y)||s==="null"||s==="undefined"||s==="*",parsePrefix:s=>{if(s.consume("null"))return{type:"JsdocTypeNull"};if(s.consume("undefined"))return{type:"JsdocTypeUndefined"};if(s.consume("*"))return{type:"JsdocTypeAny"};if(s.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+s.lexer.current.text)}}),fe=ne({name:"notNullableParslet",accept:s=>s==="!",precedence:U.NULLABLE,parsePrefix:s=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:s.parseType(U.NULLABLE),meta:{position:"prefix"}}),parseInfix:(s,y)=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:h(y),meta:{position:"suffix"}})});function ue({allowTrailingComma:s}){return ne({name:"parameterListParslet",accept:y=>y===",",precedence:U.PARAMETER_LIST,parseInfix:(y,S)=>{let q=[C(S)];y.consume(",");do try{let X=y.parseIntermediateType(U.PARAMETER_LIST);q.push(C(X))}catch(X){if(X instanceof o)break;throw X}while(y.consume(","));if(q.length>0&&q.slice(0,-1).some(X=>X.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:q}}})}let Ne=ne({name:"genericParslet",accept:(s,y)=>s==="<"||s==="."&&y==="<",precedence:U.GENERIC,parseInfix:(s,y)=>{let S=s.consume(".");s.consume("<");let q=[],X=!1;if(s.consume("infer")){X=!0;let le=s.parseIntermediateType(U.SYMBOL);if(le.type!=="JsdocTypeName")throw new a(le,"A typescript asserts always has to have a name on the left side.");q.push(le)}else do q.push(s.parseType(U.PARAMETER_LIST));while(s.consume(","));if(!s.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:h(y),elements:q},X?{infer:!0}:{}),{meta:{brackets:"angle",dot:S}})}}),_e=ne({name:"unionParslet",accept:s=>s==="|",precedence:U.UNION,parseInfix:(s,y)=>{s.consume("|");let S=[];do S.push(s.parseType(U.UNION));while(s.consume("|"));return{type:"JsdocTypeUnion",elements:[h(y),...S]}}}),be=[K,he,xe,Pe,Ce,fe,ue({allowTrailingComma:!0}),Ne,_e,he];function Ge({allowSquareBracketsOnAnyType:s,allowJsdocNamePaths:y,pathGrammar:S}){return function(q,X,le){if(le==null||X>=U.NAME_PATH)return null;let Ee=q.lexer.current.type,Fe=q.lexer.next.type;if(!(Ee==="."&&Fe!=="<"||Ee==="["&&(s||le.type==="JsdocTypeName")||y&&(Ee==="~"||Ee==="#")))return null;let He,tt=!1;q.consume(".")?He="property":q.consume("[")?(He="property-brackets",tt=!0):q.consume("~")?He="inner":(q.consume("#"),He="instance");let Pt=S!==null?new I(S,q.lexer,q):q,yt=Pt.parseIntermediateType(U.NAME_PATH);q.acceptLexerState(Pt);let sr;switch(yt.type){case"JsdocTypeName":sr={type:"JsdocTypeProperty",value:yt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":sr={type:"JsdocTypeProperty",value:yt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":sr={type:"JsdocTypeProperty",value:yt.value,meta:{quote:yt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(yt.specialType==="event")sr=yt;else throw new a(yt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new a(yt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(tt&&!q.consume("]")){let $n=q.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${$n.type}' with text '${$n.text}'`)}return{type:"JsdocTypeNamePath",left:h(le),right:sr,pathType:He}}}function Be({allowedAdditionalTokens:s}){return ne({name:"nameParslet",accept:y=>y==="Identifier"||y==="this"||y==="new"||s.includes(y),parsePrefix:y=>{let{type:S,text:q}=y.lexer.current;return y.consume(S),{type:"JsdocTypeName",value:q}}})}let ot=ne({name:"stringValueParslet",accept:s=>s==="StringValue",parsePrefix:s=>{let y=s.lexer.current.text;return s.consume("StringValue"),{type:"JsdocTypeStringValue",value:y.slice(1,-1),meta:{quote:y[0]==="'"?"single":"double"}}}});function Q({pathGrammar:s,allowedTypes:y}){return ne({name:"specialNamePathParslet",accept:S=>y.includes(S),parsePrefix:S=>{let q=S.lexer.current.type;if(S.consume(q),!S.consume(":"))return{type:"JsdocTypeName",value:q};let X,le=S.lexer.current;if(S.consume("StringValue"))X={type:"JsdocTypeSpecialNamePath",value:le.text.slice(1,-1),specialType:q,meta:{quote:le.text[0]==="'"?"single":"double"}};else{let He="",tt=["Identifier","@","/"];for(;tt.some(Pt=>S.consume(Pt));)He+=le.text,le=S.lexer.current;X={type:"JsdocTypeSpecialNamePath",value:He,specialType:q,meta:{quote:void 0}}}let Ee=new I(s,S.lexer,S),Fe=Ee.parseInfixIntermediateType(X,U.ALL);return S.acceptLexerState(Ee),h(Fe)}})}let we=[Be({allowedAdditionalTokens:["external","module"]}),ot,xe,Ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Ie=[...we,Q({allowedTypes:["event"],pathGrammar:we})];function Oe(s){let y;if(s.type==="JsdocTypeParameterList")y=s.elements;else if(s.type==="JsdocTypeParenthesis")y=[s.element];else throw new a(s);return y.map(S=>C(S))}function qe(s){let y=Oe(s);if(y.some(S=>S.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return y}function je({allowNamedParameters:s,allowNoReturnType:y,allowWithoutParenthesis:S,allowNewAsFunctionKeyword:q}){return ne({name:"functionParslet",accept:(X,le)=>X==="function"||q&&X==="new"&&le==="(",parsePrefix:X=>{let le=X.consume("new");X.consume("function");let Ee=X.lexer.current.type==="(";if(!Ee){if(!S)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let Fe={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:le,parenthesis:Ee},He=X.parseIntermediateType(U.FUNCTION);if(s===void 0)Fe.parameters=qe(He);else{if(le&&He.type==="JsdocTypeFunction"&&He.arrow)return Fe=He,Fe.constructor=!0,Fe;Fe.parameters=Oe(He);for(let tt of Fe.parameters)if(tt.type==="JsdocTypeKeyValue"&&!s.includes(tt.key))throw new Error(`only allowed named parameters are ${s.join(", ")} but got ${tt.type}`)}if(X.consume(":"))Fe.returnType=X.parseType(U.PREFIX);else if(!y)throw new Error("function is missing return type");return Fe}})}function ve({allowPostfix:s,allowEnclosingBrackets:y}){return ne({name:"variadicParslet",accept:S=>S==="...",precedence:U.PREFIX,parsePrefix:S=>{S.consume("...");let q=y&&S.consume("[");try{let X=S.parseType(U.PREFIX);if(q&&!S.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:h(X),meta:{position:"prefix",squareBrackets:q}}}catch(X){if(X instanceof o){if(q)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw X}},parseInfix:s?(S,q)=>(S.consume("..."),{type:"JsdocTypeVariadic",element:h(q),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let De=ne({name:"symbolParslet",accept:s=>s==="(",precedence:U.SYMBOL,parseInfix:(s,y)=>{if(y.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");s.consume("(");let S={type:"JsdocTypeSymbol",value:y.value};if(!s.consume(")")){let q=s.parseIntermediateType(U.SYMBOL);if(S.element=Z(q),!s.consume(")"))throw new Error("Symbol does not end after value")}return S}}),bt=ne({name:"arrayBracketsParslet",precedence:U.ARRAY_BRACKETS,accept:(s,y)=>s==="["&&y==="]",parseInfix:(s,y)=>(s.consume("["),s.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[h(y)],meta:{brackets:"square",dot:!1}})});function Kt({objectFieldGrammar:s,allowKeyTypes:y}){return ne({name:"objectParslet",accept:S=>S==="{",parsePrefix:S=>{S.consume("{");let q={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!S.consume("}")){let X,le=new I(s,S.lexer,S);for(;;){le.acceptLexerState(S);let Ee=le.parseIntermediateType(U.OBJECT);S.acceptLexerState(le),Ee===void 0&&y&&(Ee=S.parseIntermediateType(U.OBJECT));let Fe=!1;if(Ee.type==="JsdocTypeNullable"&&(Fe=!0,Ee=Ee.element),Ee.type==="JsdocTypeNumber"||Ee.type==="JsdocTypeName"||Ee.type==="JsdocTypeStringValue"){let He;Ee.type==="JsdocTypeStringValue"&&(He=Ee.meta.quote),q.elements.push({type:"JsdocTypeObjectField",key:Ee.value.toString(),right:void 0,optional:Fe,readonly:!1,meta:{quote:He}})}else if(Ee.type==="JsdocTypeObjectField"||Ee.type==="JsdocTypeJsdocObjectField")q.elements.push(Ee);else throw new a(Ee);if(S.lexer.current.startOfLine)X="linebreak",S.consume(",")||S.consume(";");else if(S.consume(","))X="comma";else if(S.consume(";"))X="semicolon";else break;if(S.lexer.current.type==="}")break}if(q.meta.separator=X??"comma",X==="linebreak"&&(q.meta.propertyIndent=" "),!S.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return q}})}function Ht({allowSquaredProperties:s,allowKeyTypes:y,allowReadonly:S,allowOptional:q}){return ne({name:"objectFieldParslet",precedence:U.KEY_VALUE,accept:X=>X===":",parseInfix:(X,le)=>{var Ee;let Fe=!1,He=!1;q&&le.type==="JsdocTypeNullable"&&(Fe=!0,le=le.element),S&&le.type==="JsdocTypeReadonlyProperty"&&(He=!0,le=le.element);let tt=(Ee=X.baseParser)!==null&&Ee!==void 0?Ee:X;if(tt.acceptLexerState(X),le.type==="JsdocTypeNumber"||le.type==="JsdocTypeName"||le.type==="JsdocTypeStringValue"||oe(le)){if(oe(le)&&!s)throw new a(le);tt.consume(":");let Pt;le.type==="JsdocTypeStringValue"&&(Pt=le.meta.quote);let yt=tt.parseType(U.KEY_VALUE);return X.acceptLexerState(tt),{type:"JsdocTypeObjectField",key:oe(le)?le:le.value.toString(),right:yt,optional:Fe,readonly:He,meta:{quote:Pt}}}else{if(!y)throw new a(le);tt.consume(":");let Pt=tt.parseType(U.KEY_VALUE);return X.acceptLexerState(tt),{type:"JsdocTypeJsdocObjectField",left:h(le),right:Pt}}}})}function Gt({allowOptional:s,allowVariadic:y}){return ne({name:"keyValueParslet",precedence:U.KEY_VALUE,accept:S=>S===":",parseInfix:(S,q)=>{let X=!1,le=!1;if(s&&q.type==="JsdocTypeNullable"&&(X=!0,q=q.element),y&&q.type==="JsdocTypeVariadic"&&q.element!==void 0&&(le=!0,q=q.element),q.type!=="JsdocTypeName")throw new a(q);S.consume(":");let Ee=S.parseType(U.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:q.value,right:Ee,optional:X,variadic:le}}})}let jt=[...be,je({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ot,Q({allowedTypes:["module","external","event"],pathGrammar:Ie}),ve({allowEnclosingBrackets:!0,allowPostfix:!0}),Be({allowedAdditionalTokens:["keyof"]}),De,bt,Ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ie})],Zt=[...jt,Kt({objectFieldGrammar:[Be({allowedAdditionalTokens:["typeof","module","in"]}),Ht({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...jt],allowKeyTypes:!0}),Gt({allowOptional:!0,allowVariadic:!0})],At=ne({name:"typeOfParslet",accept:s=>s==="typeof",parsePrefix:s=>(s.consume("typeof"),{type:"JsdocTypeTypeof",element:s.parseType(U.KEY_OF_TYPE_OF)})}),Wt=[Be({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),K,he,ot,xe,Ht({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Or=[...be,Kt({allowKeyTypes:!1,objectFieldGrammar:Wt}),Be({allowedAdditionalTokens:["event","external","in"]}),At,je({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ve({allowEnclosingBrackets:!1,allowPostfix:!1}),Be({allowedAdditionalTokens:["keyof"]}),Q({allowedTypes:["module"],pathGrammar:Ie}),Ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ie}),Gt({allowOptional:!1,allowVariadic:!1}),De],so=ne({name:"assertsParslet",accept:s=>s==="asserts",parsePrefix:s=>{s.consume("asserts");let y=s.parseIntermediateType(U.SYMBOL);if(y.type!=="JsdocTypeName")throw new a(y,"A typescript asserts always has to have a name on the left side.");return s.consume("is")?{type:"JsdocTypeAsserts",left:y,right:h(s.parseIntermediateType(U.INFIX))}:{type:"JsdocTypeAssertsPlain",element:y}}});function zr({allowQuestionMark:s}){return ne({name:"tupleParslet",accept:y=>y==="[",parsePrefix:y=>{y.consume("[");let S={type:"JsdocTypeTuple",elements:[]};if(y.consume("]"))return S;let q=y.parseIntermediateType(U.ALL);if(q.type==="JsdocTypeParameterList"?q.elements[0].type==="JsdocTypeKeyValue"?S.elements=q.elements.map(j):S.elements=q.elements.map(h):q.type==="JsdocTypeKeyValue"?S.elements=[j(q)]:S.elements=[h(q)],!y.consume("]"))throw new Error("Unterminated '['");if(S.elements.some(X=>X.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return S}})}let In=ne({name:"keyOfParslet",accept:s=>s==="keyof",parsePrefix:s=>(s.consume("keyof"),{type:"JsdocTypeKeyof",element:h(s.parseType(U.KEY_OF_TYPE_OF))})}),qn=ne({name:"importParslet",accept:s=>s==="import",parsePrefix:s=>{if(s.consume("import"),!s.consume("("))throw new Error("Missing parenthesis after import keyword");let y=s.parseType(U.PREFIX);if(y.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!s.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:y}}}),lo=ne({name:"readonlyPropertyParslet",accept:s=>s==="readonly",parsePrefix:s=>(s.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:s.parseIntermediateType(U.KEY_VALUE)})}),Ar=ne({name:"arrowFunctionParslet",precedence:U.ARROW,accept:s=>s==="=>",parseInfix:(s,y)=>(s.consume("=>"),{type:"JsdocTypeFunction",parameters:Oe(y).map(x),arrow:!0,constructor:!1,parenthesis:!0,returnType:s.parseType(U.OBJECT)})}),Dr=ne({name:"genericArrowFunctionParslet",accept:s=>s==="<",parsePrefix:s=>{let y=[];s.consume("<");do{let q,X=s.parseIntermediateType(U.SYMBOL);if(X.type==="JsdocTypeOptional"&&(X=X.element,q=s.parseType(U.SYMBOL)),X.type!=="JsdocTypeName")throw new a(X);let le;s.consume("extends")&&(le=s.parseType(U.SYMBOL),le.type==="JsdocTypeOptional"&&(le=le.element,q=s.parseType(U.SYMBOL)));let Ee={type:"JsdocTypeTypeParameter",name:X};if(le!==void 0&&(Ee.constraint=le),q!==void 0&&(Ee.defaultValue=q),y.push(Ee),s.consume(">"))break}while(s.consume(","));let S=s.parseIntermediateType(U.SYMBOL);return S.typeParameters=y,S}}),jn=ne({name:"intersectionParslet",accept:s=>s==="&",precedence:U.INTERSECTION,parseInfix:(s,y)=>{s.consume("&");let S=[];do S.push(s.parseType(U.INTERSECTION));while(s.consume("&"));return{type:"JsdocTypeIntersection",elements:[h(y),...S]}}}),Mn=ne({name:"predicateParslet",precedence:U.INFIX,accept:s=>s==="is",parseInfix:(s,y)=>{if(y.type!=="JsdocTypeName")throw new a(y,"A typescript predicate always has to have a name on the left side.");return s.consume("is"),{type:"JsdocTypePredicate",left:y,right:h(s.parseIntermediateType(U.INFIX))}}}),zt=ne({name:"objectSquareBracketPropertyParslet",accept:s=>s==="[",parsePrefix:s=>{if(s.baseParser===void 0)throw new Error("Only allowed inside object grammar");s.consume("[");let y=s.lexer.current.text;s.consume("Identifier");let S;if(s.consume(":")){let q=s.baseParser;q.acceptLexerState(s),S={type:"JsdocTypeIndexSignature",key:y,right:q.parseType(U.INDEX_BRACKETS)},s.acceptLexerState(q)}else if(s.consume("in")){let q=s.baseParser;q.acceptLexerState(s),S={type:"JsdocTypeMappedType",key:y,right:q.parseType(U.ARRAY_BRACKETS)},s.acceptLexerState(q)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!s.consume("]"))throw new Error("Unterminated square brackets");return S}}),Mt=ne({name:"readonlyArrayParslet",accept:s=>s==="readonly",parsePrefix:s=>(s.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:G(s.parseIntermediateType(U.ALL))})}),un=ne({name:"conditionalParslet",precedence:U.INFIX,accept:s=>s==="extends",parseInfix:(s,y)=>{s.consume("extends");let S=s.parseType(U.KEY_OF_TYPE_OF).element,q=s.parseType(U.INFIX);return s.consume(":"),{type:"JsdocTypeConditional",checksType:h(y),extendsType:S,trueType:q,falseType:s.parseType(U.INFIX)}}}),uo=[lo,Be({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),K,he,ot,xe,Ht({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),zt],Ln=[...be,Kt({allowKeyTypes:!1,objectFieldGrammar:uo}),Mt,At,In,qn,ot,je({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),zr({allowQuestionMark:!1}),ve({allowEnclosingBrackets:!1,allowPostfix:!1}),so,un,Be({allowedAdditionalTokens:["event","external","in"]}),Q({allowedTypes:["module"],pathGrammar:Ie}),bt,Ar,Dr,Ge({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Ie}),jn,Mn,Gt({allowVariadic:!0,allowOptional:!0})];function Yr(s,y){switch(y){case"closure":return new I(Or,s).parse();case"jsdoc":return new I(Zt,s).parse();case"typescript":return new I(Ln,s).parse()}}function Pr(s,y=["typescript","closure","jsdoc"]){let S;for(let q of y)try{return Yr(s,q)}catch(X){S=X}throw S}function Lt(s,y){let S=s[y.type];if(S===void 0)throw new Error(`In this set of transform rules exists no rule for type ${y.type}.`);return S(y,q=>Lt(s,q))}function ke(s){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function cn(s){let y={params:[]};for(let S of s.parameters)S.type==="JsdocTypeKeyValue"?S.key==="this"?y.this=S.right:S.key==="new"?y.new=S.right:y.params.push(S):y.params.push(S);return y}function ar(s,y,S){return s==="prefix"?S+y:y+S}function Tt(s,y){switch(y){case"double":return`"${s}"`;case"single":return`'${s}'`;case void 0:return s}}function Te(){return{JsdocTypeParenthesis:(s,y)=>`(${s.element!==void 0?y(s.element):""})`,JsdocTypeKeyof:(s,y)=>`keyof ${y(s.element)}`,JsdocTypeFunction:(s,y)=>{var S;if(s.arrow){if(s.returnType===void 0)throw new Error("Arrow function needs a return type.");let q=`${s.typeParameters!==void 0?`<${(S=s.typeParameters.map(y).join(", "))!==null&&S!==void 0?S:""}>`:""}(${s.parameters.map(y).join(", ")}) => ${y(s.returnType)}`;return s.constructor&&(q="new "+q),q}else{let q=s.constructor?"new":"function";return s.parenthesis&&(q+=`(${s.parameters.map(y).join(", ")})`,s.returnType!==void 0&&(q+=`: ${y(s.returnType)}`)),q}},JsdocTypeName:s=>s.value,JsdocTypeTuple:(s,y)=>`[${s.elements.map(y).join(", ")}]`,JsdocTypeVariadic:(s,y)=>s.meta.position===void 0?"...":ar(s.meta.position,y(s.element),"..."),JsdocTypeNamePath:(s,y)=>{let S=y(s.left),q=y(s.right);switch(s.pathType){case"inner":return`${S}~${q}`;case"instance":return`${S}#${q}`;case"property":return`${S}.${q}`;case"property-brackets":return`${S}[${q}]`}},JsdocTypeStringValue:s=>Tt(s.value,s.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(s,y)=>{if(s.meta.brackets==="square"){let S=s.elements[0],q=y(S);return S.type==="JsdocTypeUnion"||S.type==="JsdocTypeIntersection"?`(${q})[]`:`${q}[]`}else return`${y(s.left)}${s.meta.dot?".":""}<${s.infer===!0?"infer ":""}${s.elements.map(y).join(", ")}>`},JsdocTypeImport:(s,y)=>`import(${y(s.element)})`,JsdocTypeObjectField:(s,y)=>{let S="";return s.readonly&&(S+="readonly "),typeof s.key=="string"?S+=Tt(s.key,s.meta.quote):S+=y(s.key),s.optional&&(S+="?"),s.right===void 0?S:S+`: ${y(s.right)}`},JsdocTypeJsdocObjectField:(s,y)=>`${y(s.left)}: ${y(s.right)}`,JsdocTypeKeyValue:(s,y)=>{let S=s.key;return s.optional&&(S+="?"),s.variadic&&(S="..."+S),s.right===void 0?S:S+`: ${y(s.right)}`},JsdocTypeSpecialNamePath:s=>`${s.specialType}:${Tt(s.value,s.meta.quote)}`,JsdocTypeNotNullable:(s,y)=>ar(s.meta.position,y(s.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(s,y)=>ar(s.meta.position,y(s.element),"?"),JsdocTypeNumber:s=>s.value.toString(),JsdocTypeObject:(s,y)=>{var S,q;return`{${(s.meta.separator==="linebreak"&&s.elements.length>1?`
  837. `+((S=s.meta.propertyIndent)!==null&&S!==void 0?S:""):"")+s.elements.map(y).join(s.meta.separator==="comma"?", ":s.meta.separator==="linebreak"?`
  838. `+((q=s.meta.propertyIndent)!==null&&q!==void 0?q:""):"; ")+(s.meta.separator==="linebreak"&&s.elements.length>1?`
  839. `:"")}}`},JsdocTypeOptional:(s,y)=>ar(s.meta.position,y(s.element),"="),JsdocTypeSymbol:(s,y)=>`${s.value}(${s.element!==void 0?y(s.element):""})`,JsdocTypeTypeof:(s,y)=>`typeof ${y(s.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(s,y)=>s.elements.map(y).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(s,y)=>s.elements.map(y).join(" & "),JsdocTypeProperty:s=>Tt(s.value,s.meta.quote),JsdocTypePredicate:(s,y)=>`${y(s.left)} is ${y(s.right)}`,JsdocTypeIndexSignature:(s,y)=>`[${s.key}: ${y(s.right)}]`,JsdocTypeMappedType:(s,y)=>`[${s.key} in ${y(s.right)}]`,JsdocTypeAsserts:(s,y)=>`asserts ${y(s.left)} is ${y(s.right)}`,JsdocTypeReadonlyArray:(s,y)=>`readonly ${y(s.element)}`,JsdocTypeAssertsPlain:(s,y)=>`asserts ${y(s.element)}`,JsdocTypeConditional:(s,y)=>`${y(s.checksType)} extends ${y(s.extendsType)} ? ${y(s.trueType)} : ${y(s.falseType)}`,JsdocTypeTypeParameter:(s,y)=>`${y(s.name)}${s.constraint!==void 0?` extends ${y(s.constraint)}`:""}${s.defaultValue!==void 0?` = ${y(s.defaultValue)}`:""}`}}let co=Te();function Kr(s){return Lt(co,s)}let Ho=["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 $t(s){let y={type:"NameExpression",name:s};return Ho.includes(s)&&(y.reservedWord=!0),y}let Pi={JsdocTypeOptional:(s,y)=>{let S=y(s.element);return S.optional=!0,S},JsdocTypeNullable:(s,y)=>{let S=y(s.element);return S.nullable=!0,S},JsdocTypeNotNullable:(s,y)=>{let S=y(s.element);return S.nullable=!1,S},JsdocTypeVariadic:(s,y)=>{if(s.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let S=y(s.element);return S.repeatable=!0,S},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:s=>$t(Tt(s.value,s.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(s,y)=>{let S=cn(s),q={type:"FunctionType",params:S.params.map(y)};return S.this!==void 0&&(q.this=y(S.this)),S.new!==void 0&&(q.new=y(S.new)),s.returnType!==void 0&&(q.result=y(s.returnType)),q},JsdocTypeGeneric:(s,y)=>({type:"TypeApplication",applications:s.elements.map(S=>y(S)),expression:y(s.left)}),JsdocTypeSpecialNamePath:s=>$t(s.specialType+":"+Tt(s.value,s.meta.quote)),JsdocTypeName:s=>s.value!=="function"?$t(s.value):{type:"FunctionType",params:[]},JsdocTypeNumber:s=>$t(s.value.toString()),JsdocTypeObject:(s,y)=>{let S={type:"RecordType",fields:[]};for(let q of s.elements)q.type!=="JsdocTypeObjectField"&&q.type!=="JsdocTypeJsdocObjectField"?S.fields.push({type:"FieldType",key:y(q),value:void 0}):S.fields.push(y(q));return S},JsdocTypeObjectField:(s,y)=>{if(typeof s.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:$t(Tt(s.key,s.meta.quote)),value:s.right===void 0?void 0:y(s.right)}},JsdocTypeJsdocObjectField:(s,y)=>({type:"FieldType",key:y(s.left),value:y(s.right)}),JsdocTypeUnion:(s,y)=>({type:"TypeUnion",elements:s.elements.map(S=>y(S))}),JsdocTypeKeyValue:(s,y)=>({type:"FieldType",key:$t(s.key),value:s.right===void 0?void 0:y(s.right)}),JsdocTypeNamePath:(s,y)=>{let S=y(s.left),q;s.right.type==="JsdocTypeSpecialNamePath"?q=y(s.right).name:q=Tt(s.right.value,s.right.meta.quote);let X=s.pathType==="inner"?"~":s.pathType==="instance"?"#":".";return $t(`${S.name}${X}${q}`)},JsdocTypeSymbol:s=>{let y="",S=s.element,q=!1;return(S==null?void 0:S.type)==="JsdocTypeVariadic"&&(S.meta.position==="prefix"?y="...":q=!0,S=S.element),(S==null?void 0:S.type)==="JsdocTypeName"?y+=S.value:(S==null?void 0:S.type)==="JsdocTypeNumber"&&(y+=S.value.toString()),q&&(y+="..."),$t(`${s.value}(${y})`)},JsdocTypeParenthesis:(s,y)=>y(h(s.element)),JsdocTypeMappedType:ke,JsdocTypeIndexSignature:ke,JsdocTypeImport:ke,JsdocTypeKeyof:ke,JsdocTypeTuple:ke,JsdocTypeTypeof:ke,JsdocTypeIntersection:ke,JsdocTypeProperty:ke,JsdocTypePredicate:ke,JsdocTypeAsserts:ke,JsdocTypeReadonlyArray:ke,JsdocTypeAssertsPlain:ke,JsdocTypeConditional:ke,JsdocTypeTypeParameter:ke};function Go(s){return Lt(Pi,s)}function Xt(s){switch(s){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Xr(s){switch(s){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function Qr(s,y){return y.length===2?{type:s,left:y[0],right:y[1]}:{type:s,left:y[0],right:Qr(s,y.slice(1))}}let po={JsdocTypeOptional:(s,y)=>({type:"OPTIONAL",value:y(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(s,y)=>({type:"NULLABLE",value:y(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(s,y)=>({type:"NOT_NULLABLE",value:y(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(s,y)=>{let S={type:"VARIADIC",meta:{syntax:s.meta.position==="prefix"?"PREFIX_DOTS":s.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return s.element!==void 0&&(S.value=y(s.element)),S},JsdocTypeName:s=>({type:"NAME",name:s.value}),JsdocTypeTypeof:(s,y)=>({type:"TYPE_QUERY",name:y(s.element)}),JsdocTypeTuple:(s,y)=>({type:"TUPLE",entries:s.elements.map(y)}),JsdocTypeKeyof:(s,y)=>({type:"KEY_QUERY",value:y(s.element)}),JsdocTypeImport:s=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:Xt(s.element.meta.quote),string:s.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(s,y)=>{let S=cn(s),q={type:s.arrow?"ARROW":"FUNCTION",params:S.params.map(X=>{if(X.type==="JsdocTypeKeyValue"){if(X.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:X.key,typeName:y(X.right)}}else return y(X)}),new:null,returns:null};return S.this!==void 0?q.this=y(S.this):s.arrow||(q.this=null),S.new!==void 0&&(q.new=y(S.new)),s.returnType!==void 0&&(q.returns=y(s.returnType)),q},JsdocTypeGeneric:(s,y)=>{let S={type:"GENERIC",subject:y(s.left),objects:s.elements.map(y),meta:{syntax:s.meta.brackets==="square"?"SQUARE_BRACKET":s.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return s.meta.brackets==="square"&&s.elements[0].type==="JsdocTypeFunction"&&!s.elements[0].parenthesis&&(S.objects[0]={type:"NAME",name:"function"}),S},JsdocTypeObjectField:(s,y)=>{if(typeof s.key!="string")throw new Error("Index signatures and mapped types are not supported");if(s.right===void 0)return{type:"RECORD_ENTRY",key:s.key,quoteStyle:Xt(s.meta.quote),value:null,readonly:!1};let S=y(s.right);return s.optional&&(S={type:"OPTIONAL",value:S,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:s.key.toString(),quoteStyle:Xt(s.meta.quote),value:S,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(s,y)=>{if(s.right===void 0)return{type:"RECORD_ENTRY",key:s.key,quoteStyle:"none",value:null,readonly:!1};let S=y(s.right);return s.optional&&(S={type:"OPTIONAL",value:S,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:s.key,quoteStyle:"none",value:S,readonly:!1}},JsdocTypeObject:(s,y)=>{let S=[];for(let q of s.elements)(q.type==="JsdocTypeObjectField"||q.type==="JsdocTypeJsdocObjectField")&&S.push(y(q));return{type:"RECORD",entries:S}},JsdocTypeSpecialNamePath:s=>{if(s.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${s.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:Xt(s.meta.quote),path:s.value}}},JsdocTypeNamePath:(s,y)=>{let S=!1,q,X;s.right.type==="JsdocTypeSpecialNamePath"&&s.right.specialType==="event"?(S=!0,q=s.right.value,X=Xt(s.right.meta.quote)):(q=s.right.value,X=Xt(s.right.meta.quote));let le={type:Xr(s.pathType),owner:y(s.left),name:q,quoteStyle:X,hasEventPrefix:S};if(le.owner.type==="MODULE"){let Ee=le.owner;return le.owner=le.owner.value,Ee.value=le,Ee}else return le},JsdocTypeUnion:(s,y)=>Qr("UNION",s.elements.map(y)),JsdocTypeParenthesis:(s,y)=>({type:"PARENTHESIS",value:y(h(s.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:s=>({type:"STRING_VALUE",quoteStyle:Xt(s.meta.quote),string:s.value}),JsdocTypeIntersection:(s,y)=>Qr("INTERSECTION",s.elements.map(y)),JsdocTypeNumber:s=>({type:"NUMBER_VALUE",number:s.value.toString()}),JsdocTypeSymbol:ke,JsdocTypeProperty:ke,JsdocTypePredicate:ke,JsdocTypeMappedType:ke,JsdocTypeIndexSignature:ke,JsdocTypeAsserts:ke,JsdocTypeReadonlyArray:ke,JsdocTypeAssertsPlain:ke,JsdocTypeConditional:ke,JsdocTypeTypeParameter:ke};function fo(s){return Lt(po,s)}function Dn(){return{JsdocTypeIntersection:(s,y)=>({type:"JsdocTypeIntersection",elements:s.elements.map(y)}),JsdocTypeGeneric:(s,y)=>({type:"JsdocTypeGeneric",left:y(s.left),elements:s.elements.map(y),meta:{dot:s.meta.dot,brackets:s.meta.brackets}}),JsdocTypeNullable:s=>s,JsdocTypeUnion:(s,y)=>({type:"JsdocTypeUnion",elements:s.elements.map(y)}),JsdocTypeUnknown:s=>s,JsdocTypeUndefined:s=>s,JsdocTypeTypeof:(s,y)=>({type:"JsdocTypeTypeof",element:y(s.element)}),JsdocTypeSymbol:(s,y)=>{let S={type:"JsdocTypeSymbol",value:s.value};return s.element!==void 0&&(S.element=y(s.element)),S},JsdocTypeOptional:(s,y)=>({type:"JsdocTypeOptional",element:y(s.element),meta:{position:s.meta.position}}),JsdocTypeObject:(s,y)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:s.elements.map(y)}),JsdocTypeNumber:s=>s,JsdocTypeNull:s=>s,JsdocTypeNotNullable:(s,y)=>({type:"JsdocTypeNotNullable",element:y(s.element),meta:{position:s.meta.position}}),JsdocTypeSpecialNamePath:s=>s,JsdocTypeObjectField:(s,y)=>({type:"JsdocTypeObjectField",key:s.key,right:s.right===void 0?void 0:y(s.right),optional:s.optional,readonly:s.readonly,meta:s.meta}),JsdocTypeJsdocObjectField:(s,y)=>({type:"JsdocTypeJsdocObjectField",left:y(s.left),right:y(s.right)}),JsdocTypeKeyValue:(s,y)=>({type:"JsdocTypeKeyValue",key:s.key,right:s.right===void 0?void 0:y(s.right),optional:s.optional,variadic:s.variadic}),JsdocTypeImport:(s,y)=>({type:"JsdocTypeImport",element:y(s.element)}),JsdocTypeAny:s=>s,JsdocTypeStringValue:s=>s,JsdocTypeNamePath:s=>s,JsdocTypeVariadic:(s,y)=>{let S={type:"JsdocTypeVariadic",meta:{position:s.meta.position,squareBrackets:s.meta.squareBrackets}};return s.element!==void 0&&(S.element=y(s.element)),S},JsdocTypeTuple:(s,y)=>({type:"JsdocTypeTuple",elements:s.elements.map(y)}),JsdocTypeName:s=>s,JsdocTypeFunction:(s,y)=>{let S={type:"JsdocTypeFunction",arrow:s.arrow,parameters:s.parameters.map(y),constructor:s.constructor,parenthesis:s.parenthesis};return s.returnType!==void 0&&(S.returnType=y(s.returnType)),S},JsdocTypeKeyof:(s,y)=>({type:"JsdocTypeKeyof",element:y(s.element)}),JsdocTypeParenthesis:(s,y)=>({type:"JsdocTypeParenthesis",element:y(s.element)}),JsdocTypeProperty:s=>s,JsdocTypePredicate:(s,y)=>({type:"JsdocTypePredicate",left:y(s.left),right:y(s.right)}),JsdocTypeIndexSignature:(s,y)=>({type:"JsdocTypeIndexSignature",key:s.key,right:y(s.right)}),JsdocTypeMappedType:(s,y)=>({type:"JsdocTypeMappedType",key:s.key,right:y(s.right)}),JsdocTypeAsserts:(s,y)=>({type:"JsdocTypeAsserts",left:y(s.left),right:y(s.right)}),JsdocTypeReadonlyArray:(s,y)=>({type:"JsdocTypeReadonlyArray",element:y(s.element)}),JsdocTypeAssertsPlain:(s,y)=>({type:"JsdocTypeAssertsPlain",element:y(s.element)}),JsdocTypeConditional:(s,y)=>({type:"JsdocTypeConditional",checksType:y(s.checksType),extendsType:y(s.extendsType),trueType:y(s.trueType),falseType:y(s.falseType)}),JsdocTypeTypeParameter:(s,y)=>({type:"JsdocTypeTypeParameter",name:y(s.name),constraint:s.constraint!==void 0?y(s.constraint):void 0,defaultValue:s.defaultValue!==void 0?y(s.defaultValue):void 0})}}let kn={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"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function dn(s,y,S,q,X){q==null||q(s,y,S);let le=kn[s.type];for(let Ee of le){let Fe=s[Ee];if(Fe!==void 0)if(Array.isArray(Fe))for(let He of Fe)dn(He,s,Ee,q,X);else dn(Fe,s,Ee,q,X)}X==null||X(s,y,S)}function Wo(s,y,S){dn(s,void 0,void 0,y,S)}r.catharsisTransform=Go,r.identityTransformRules=Dn,r.jtpTransform=fo,r.parse=Yr,r.stringify=Kr,r.stringifyRules=Te,r.transform=Lt,r.traverse=Wo,r.tryParse=Pr,r.visitorKeys=kn})}});const{UnknownArgTypesError:zz}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{UnknownArgTypesError:Yz}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Cu;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Cu=Cu||(Cu={}));var p3=c3(d3(),1),Uo=(0,p3.stringifyRules)(),f3=Uo.JsdocTypeObject;Uo.JsdocTypeAny=()=>"any";Uo.JsdocTypeObject=(e,t)=>`(${f3(e,t)})`;Uo.JsdocTypeOptional=(e,t)=>t(e.element);Uo.JsdocTypeNullable=(e,t)=>t(e.element);Uo.JsdocTypeNotNullable=(e,t)=>t(e.element);Uo.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");var CS=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([a,l])=>{let d=o[a];Array.isArray(l)||typeof d>"u"?o[a]=l:Pu(l)&&Pu(d)?t[a]=!0:typeof l<"u"&&(o[a]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(a=>a[o]).filter(a=>typeof a<"u");i.every(a=>Pu(a))?n[o]=CS(...i):n[o]=i[i.length-1]}),n},h3=e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n;if(!o||!t)return r;let i=o(t);return i?CS(i,r):r},m3="storybook/docs",Kz=`${m3}/snippet-rendered`,Ws=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Ws||{});function xS(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,d){var c=d.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(p){var f,g;return(g=(f=p.match(/[\t ]/g))===null||f===void 0?void 0:f.length)!==null&&g!==void 0?g:0})):l},[]);if(o.length){var i=new RegExp(`
  840. [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
  841. `)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(l,d){var c=a.match(/(?:^|\n)( *)$/),p=c?c[1]:"",f=l;typeof l=="string"&&l.includes(`
  842. `)&&(f=String(l).split(`
  843. `).map(function(g,b){return b===0?g:""+p+g}).join(`
  844. `)),a+=f+n[d+1]}),a}var y3={};n3(y3,{argTypesEnhancers:()=>jS,parameters:()=>qS,render:()=>NS,renderToCanvas:()=>IS});const{global:g3}=__STORYBOOK_MODULE_GLOBAL__,{simulateDOMContentLoaded:b3,simulatePageLoad:v3}=__STORYBOOK_MODULE_PREVIEW_API__;var{Node:E3}=g3,NS=(e,t)=>{let{id:r,component:n}=t;if(typeof n=="string"){let o=n;return Object.keys(e).forEach(i=>{o=o.replace(`{{${i}}}`,e[i])}),o}if(n instanceof HTMLElement){let o=n.cloneNode(!0);return Object.keys(e).forEach(i=>{o.setAttribute(i,typeof e[i]=="string"?e[i]:JSON.stringify(e[i]))}),o}if(typeof n=="function")return n(e,t);throw console.warn(xS`
  845. Storybook's HTML renderer only supports rendering DOM elements and strings.
  846. Received: ${n}
  847. `),new Error(`Unable to render story ${r}`)};function IS({storyFn:e,kind:t,name:r,showMain:n,showError:o,forceRemount:i},a){let l=e();if(n(),typeof l=="string")a.innerHTML=l,v3(a);else if(l instanceof E3){if(a.firstChild===l&&i===!1)return;a.innerHTML="",a.appendChild(l),b3()}else o({title:`Expecting an HTML snippet or DOM node from the story: "${r}" of "${t}".`,description:xS`
  848. Did you forget to return the HTML snippet from the story?
  849. Use "() => <your snippet or node>" or when defining the story.
  850. `})}var qS={renderer:"html"},jS=[h3];const T3=Object.freeze(Object.defineProperty({__proto__:null,argTypesEnhancers:jS,parameters:qS,render:NS,renderToCanvas:IS},Symbol.toStringTag,{value:"Module"})),{emitTransformCode:$y,useEffect:w3,useRef:_3}=__STORYBOOK_MODULE_PREVIEW_API__;function S3(e){var n;let t=(n=e==null?void 0:e.parameters.docs)==null?void 0:n.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Ws.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Ws.CODE}var R3=(e,t)=>{let r=_3(void 0),n=e();return w3(()=>{var i,a;let o=(a=(i=t==null?void 0:t.parameters.docs)==null?void 0:i.source)!=null&&a.excludeDecorators?t.originalStoryFn(t.args,t):n;S3(t)||(typeof o=="string"&&r.current!==o?($y(o,t),r.current=o):o instanceof Element&&r.current!==o.outerHTML&&($y(o.outerHTML,t),r.current=o.outerHTML))}),n},O3=[R3],A3={docs:{story:{inline:!0},source:{type:Ws.DYNAMIC,language:"html",code:void 0,excludeDecorators:void 0}}};const P3=Object.freeze(Object.defineProperty({__proto__:null,decorators:O3,parameters:A3},Symbol.toStringTag,{value:"Module"}));var C3=Object.defineProperty,x3=(e,t)=>{for(var r in t)C3(e,r,{get:t[r],enumerable:!0})},N3="links",Al="storybook/highlight",I3=`${Al}/add`,By=`${Al}/remove`,Xz=`${Al}/reset`,Qz=`${Al}/scroll-into-view`,Zz=2147483647,e2=28;const{SELECT_STORY:q3,STORY_CHANGED:j3}=__STORYBOOK_MODULE_CORE_EVENTS__,{global:M3}=__STORYBOOK_MODULE_GLOBAL__,{addons:MS,makeDecorator:L3}=__STORYBOOK_MODULE_PREVIEW_API__;var{document:LS,HTMLElement:D3}=M3,k3=e=>MS.getChannel().emit(q3,e),DS=e=>{let{target:t}=e;if(!(t instanceof D3))return;let r=t,{sbKind:n,sbStory:o}=r.dataset;(n||o)&&(e.preventDefault(),k3({kind:n,story:o}))},zs=!1,$3=()=>{zs||(zs=!0,LS.addEventListener("click",DS))},B3=()=>{zs&&(zs=!1,LS.removeEventListener("click",DS))},F3=L3({name:"withLinks",parameterName:N3,wrapper:(e,t)=>($3(),MS.getChannel().once(j3,B3),e(t))}),V3={};x3(V3,{decorators:()=>kS});var kS=[F3];const U3=Object.freeze(Object.defineProperty({__proto__:null,decorators:kS},Symbol.toStringTag,{value:"Module"}));var J3=Object.create,ef=Object.defineProperty,H3=Object.getOwnPropertyDescriptor,$S=Object.getOwnPropertyNames,G3=Object.getPrototypeOf,W3=Object.prototype.hasOwnProperty,t2=(e,t)=>function(){return t||(0,e[$S(e)[0]])((t={exports:{}}).exports,t),t.exports},z3=(e,t)=>{for(var r in t)ef(e,r,{get:t[r],enumerable:!0})},Y3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of $S(t))!W3.call(e,o)&&o!==r&&ef(e,o,{get:()=>t[o],enumerable:!(n=H3(t,o))||n.enumerable});return e},r2=(e,t,r)=>(r=e!=null?J3(G3(e)):{},Y3(ef(r,"default",{value:e,enumerable:!0}),e)),K3={};z3(K3,{parameters:()=>BS});var X3=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),BS={docs:{renderer:async()=>{let{DocsRenderer:e}=await de(async()=>{const{DocsRenderer:t}=await import("./DocsRenderer-LL677BLK-D3Xe-KLW.js").then(r=>r.D);return{DocsRenderer:t}},__vite__mapDeps([294,7]),import.meta.url);return new e},stories:{filter:e=>{var t;return(e.tags||[]).filter(r=>X3[r]).length===0&&!((t=e.parameters.docs)!=null&&t.disable)}}}};const Q3=Object.freeze(Object.defineProperty({__proto__:null,parameters:BS},Symbol.toStringTag,{value:"Module"}));var Jo="storybook/a11y",Z3=`${Jo}/panel`,eW=`${Jo}/result`,tW=`${Jo}/request`,rW=`${Jo}/running`,nW=`${Jo}/error`,oW=`${Jo}/manual`,iW=`${Jo}/select`,xu={RESULT:eW,REQUEST:tW,RUNNING:rW,ERROR:nW,MANUAL:oW,SELECT:iW},FS={blurred:{label:"Blurred vision",filter:"blur(2px)",percentage:22.9},deuteranomaly:{label:"Deuteranomaly",filter:'url("#storybook-a11y-vision-deuteranomaly")',percentage:2.7},deuteranopia:{label:"Deuteranopia",filter:'url("#storybook-a11y-vision-deuteranopia")',percentage:.56},protanomaly:{label:"Protanomaly",filter:'url("#storybook-a11y-vision-protanomaly")',percentage:.66},protanopia:{label:"Protanopia",filter:'url("#storybook-a11y-vision-protanopia")',percentage:.59},tritanomaly:{label:"Tritanomaly",filter:'url("#storybook-a11y-vision-tritanomaly")',percentage:.01},tritanopia:{label:"Tritanopia",filter:'url("#storybook-a11y-vision-tritanopia")',percentage:.016},achromatopsia:{label:"Achromatopsia",filter:'url("#storybook-a11y-vision-achromatopsia")',percentage:1e-4},grayscale:{label:"Grayscale",filter:"grayscale(100%)"}},aW=`<svg id="storybook-a11y-vision-filters" style="display: none !important;">
  851. <defs>
  852. <filter id="storybook-a11y-vision-protanopia">
  853. <feColorMatrix
  854. in="SourceGraphic"
  855. type="matrix"
  856. values="0.567, 0.433, 0, 0, 0 0.558, 0.442, 0, 0, 0 0, 0.242, 0.758, 0, 0 0, 0, 0, 1, 0"
  857. />
  858. </filter>
  859. <filter id="storybook-a11y-vision-protanomaly">
  860. <feColorMatrix
  861. in="SourceGraphic"
  862. type="matrix"
  863. values="0.817, 0.183, 0, 0, 0 0.333, 0.667, 0, 0, 0 0, 0.125, 0.875, 0, 0 0, 0, 0, 1, 0"
  864. />
  865. </filter>
  866. <filter id="storybook-a11y-vision-deuteranopia">
  867. <feColorMatrix
  868. in="SourceGraphic"
  869. type="matrix"
  870. values="0.625, 0.375, 0, 0, 0 0.7, 0.3, 0, 0, 0 0, 0.3, 0.7, 0, 0 0, 0, 0, 1, 0"
  871. />
  872. </filter>
  873. <filter id="storybook-a11y-vision-deuteranomaly">
  874. <feColorMatrix
  875. in="SourceGraphic"
  876. type="matrix"
  877. values="0.8, 0.2, 0, 0, 0 0.258, 0.742, 0, 0, 0 0, 0.142, 0.858, 0, 0 0, 0, 0, 1, 0"
  878. />
  879. </filter>
  880. <filter id="storybook-a11y-vision-tritanopia">
  881. <feColorMatrix
  882. in="SourceGraphic"
  883. type="matrix"
  884. values="0.95, 0.05, 0, 0, 0 0, 0.433, 0.567, 0, 0 0, 0.475, 0.525, 0, 0 0, 0, 0, 1, 0"
  885. />
  886. </filter>
  887. <filter id="storybook-a11y-vision-tritanomaly">
  888. <feColorMatrix
  889. in="SourceGraphic"
  890. type="matrix"
  891. values="0.967, 0.033, 0, 0, 0 0, 0.733, 0.267, 0, 0 0, 0.183, 0.817, 0, 0 0, 0, 0, 1, 0"
  892. />
  893. </filter>
  894. <filter id="storybook-a11y-vision-achromatopsia">
  895. <feColorMatrix
  896. in="SourceGraphic"
  897. type="matrix"
  898. values="0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0, 0, 0, 1, 0"
  899. />
  900. </filter>
  901. </defs>
  902. </svg>`,sW=Object.defineProperty,lW=(e,t)=>{for(var r in t)sW(e,r,{get:t[r],enumerable:!0})},uW={};lW(uW,{afterEach:()=>GS,decorators:()=>HS,initialGlobals:()=>WS,parameters:()=>zS});const{expect:Fy}=__STORYBOOK_MODULE_TEST__,{ElementA11yParameterError:cW}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:dW}=__STORYBOOK_MODULE_GLOBAL__,{addons:pW,waitForAnimations:fW}=__STORYBOOK_MODULE_PREVIEW_API__,{global:hW}=__STORYBOOK_MODULE_GLOBAL__;var{document:mW}=hW,yW=(e,t)=>{let r=mW.location.pathname.replace(/iframe\.html$/,""),n={...e};return["incomplete","passes","violations"].forEach(o=>{Array.isArray(e[o])&&(n[o]=e[o].map(i=>({...i,nodes:i.nodes.map((a,l)=>{let d=`${o}.${i.id}.${l+1}`,c=`${r}?path=/story/${t}&addonPanel=${Z3}&a11ySelection=${d}`;return{id:d,...a,linkPath:c}})})))}),n},{document:Xo}=dW,Nu=pW.getChannel(),VS={config:{},options:{}},gW=["region"],Jc=[],Hc=!1,US=async()=>{if(Jc.length===0){Hc=!1;return}Hc=!0;let e=Jc.shift();e&&await e(),US()},JS=async(e=VS,t)=>{var l;let r=((l=await de(async()=>{const{default:d}=await import("./axe-VLx-7a6B.js").then(c=>c.a);return{default:d}},[],import.meta.url))==null?void 0:l.default)||globalThis.axe,{config:n={},options:o={}}=e;if(e.element)throw new cW;let i={include:Xo==null?void 0:Xo.body,exclude:[".sb-wrapper","#storybook-docs","#storybook-highlights-root"]};if(e.context){let d=typeof e.context=="object"&&"include"in e.context&&e.context.include!==void 0,c=typeof e.context=="object"&&"exclude"in e.context&&e.context.exclude!==void 0;d?i.include=e.context.include:!d&&!c&&(i.include=e.context),c&&(i.exclude=i.exclude.concat(e.context.exclude))}r.reset();let a={...n,rules:[...gW.map(d=>({id:d,enabled:!1})),...(n==null?void 0:n.rules)??[]]};return r.configure(a),new Promise((d,c)=>{let p=Xo==null?void 0:Xo.getElementById("storybook-highlights-root");p&&(p.style.display="none");let f=async()=>{try{let g=await r.run(i,o),b=yW(g,t);d(b)}catch(g){c(g)}};Jc.push(f),Hc||US(),p&&(p.style.display="")})};Nu.on(xu.MANUAL,async(e,t=VS)=>{try{await fW();let r=await JS(t,e),n=JSON.parse(JSON.stringify(r));Nu.emit(xu.RESULT,n,e)}catch(r){Nu.emit(xu.ERROR,r)}});function Vy(){try{return!1}catch{return!1}}const{useCallback:bW,useEffect:Uy}=__STORYBOOK_MODULE_PREVIEW_API__;var vW=Object.values(FS).map(e=>e.filter),EW=new RegExp(`\\b(${vW.join("|")})\\b`,"g"),TW=(e,{globals:t})=>{let{vision:r}=t,n=bW(()=>{var a;let o=document.body.style.filter.replaceAll(EW,"").trim(),i=(a=FS[r])==null?void 0:a.filter;return i&&document.body.classList.contains("sb-show-main")?!o||o==="none"?document.body.style.filter=i:document.body.style.filter=`${o} ${i}`:document.body.style.filter=o||"none",()=>document.body.style.filter=o||"none"},[r]);return Uy(()=>{let o=n(),i=new MutationObserver(()=>n());return i.observe(document.body,{attributeFilter:["class"]}),()=>{o(),i.disconnect()}},[n]),Uy(()=>(document.body.insertAdjacentHTML("beforeend",aW),()=>{var i;let o=document.getElementById("storybook-a11y-vision-filters");(i=o==null?void 0:o.parentElement)==null||i.removeChild(o)}),[]),e()},Jy=!1,HS=[TW],GS=async({id:e,reporting:t,parameters:r,globals:n,viewMode:o})=>{let i=r.a11y,a=n.a11y,l=!n.ghostStories&&(i==null?void 0:i.disable)!==!0&&(i==null?void 0:i.test)!=="off"&&(a==null?void 0:a.manual)!==!0,d=()=>{switch(i==null?void 0:i.test){case"todo":return"warning";case"error":default:return"failed"}};if(l&&o==="story")try{let c=await JS(i,e);if(c){let p=((c==null?void 0:c.violations.length)??0)>0;if(t.addReport({type:"a11y",version:1,result:c,status:p?d():"passed"}),Vy()&&p&&d()==="failed"){if(!Jy){let{toHaveNoViolations:f}=await de(async()=>{const{toHaveNoViolations:g}=await import("./matchers-5TDFFDYO-CAdg16Fl.js");return{toHaveNoViolations:g}},[],import.meta.url);Fy.extend({toHaveNoViolations:f}),Jy=!0}Fy(c).toHaveNoViolations()}}}catch(c){if(t.addReport({type:"a11y",version:1,result:{error:c},status:"failed"}),Vy())throw c}},WS={a11y:{manual:!1},vision:void 0},zS={a11y:{test:"todo"}};const wW=Object.freeze(Object.defineProperty({__proto__:null,afterEach:GS,decorators:HS,initialGlobals:WS,parameters:zS},Symbol.toStringTag,{value:"Module"})),{useChannel:_W,useEffect:SW}=__STORYBOOK_MODULE_PREVIEW_API__;var tf="chromaui/addon-visual-tests",YS="highlightIgnored",Gc=`${tf}/highlightIgnored`,Hy=`${tf}/highlightIgnored/count`,RW=`${tf}/highlightIgnored/select`,Gy=['[data-chromatic="ignore"]','[class~="chromatic-ignore"]'],OW={backgroundColor:"rgba(255, 173, 51, 0.2)",outline:"1px solid rgba(255, 173, 51, 0.7)",outlineOffset:"-1px"},AW={backgroundColor:"rgba(255, 173, 51, 0.1)",outlineWidth:"2px"},PW={backgroundColor:"transparent",outlineWidth:"2px"},CW=e=>{if(!e)return!1;if(typeof document>"u")return!0;try{return document.createDocumentFragment().querySelector(e),!0}catch{return console.warn(`Invalid ignoreSelector: ${e}`),!1}},xW=e=>{let t=(e==null?void 0:e.ignoreSelectors)??[],r=Array.from(new Set(Gy.concat(t.filter(CW))));return{id:Gc,selectors:r,styles:OW,hoverStyles:AW,focusStyles:PW,menu:r.map(n=>{let o=Gy.includes(n);return[{id:`${n}-info`,title:"Element ignored in visual tests",description:o?`${n} will be ignored by Chromatic`:`${n} matches an ignored selector`,selectors:[n]},{id:`${n}-link`,iconLeft:"info",iconRight:"shareAlt",title:"Learn how to configure ignored elements",clickEvent:RW,selectors:[n]}]})}},NW=(e,{globals:t,parameters:r,id:n})=>{let o=!!t[YS],i=_W({}),a=xW(r.chromatic),l=(a==null?void 0:a.selectors.join(`
  903. `))??"";return SW(()=>{if(i(By,Gc),!(a!=null&&a.selectors.length)){i(Hy,0);return}o&&i(I3,a);let d=document.getElementById("storybook-root"),c=a.selectors.reduce((p,f)=>(document.querySelectorAll(`:is(${f}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`).forEach(g=>p.add(g)),((d==null?void 0:d.querySelectorAll(f))??[]).forEach(g=>p.add(g)),p),new Set);return i(Hy,c.size),()=>i(By,Gc)},[i,a,n,l,o]),e()},IW=[NW],qW={[YS]:!1};const jW=Object.freeze(Object.defineProperty({__proto__:null,decorators:IW,initialGlobals:qW},Symbol.toStringTag,{value:"Module"})),KS=[{name:"Standard",value:"standard",file:"theme-standard.scss"},{name:"Digital Blue",value:"digitalblue",file:"theme-digitalblue.scss"},{name:"Farbvariante 10",value:"colorvariant-10",file:"theme-colorvariant-10.scss"},{name:"Farbvariante 11",value:"colorvariant-11",file:"theme-colorvariant-11.scss"},{name:"Farbvariante 12",value:"colorvariant-12",file:"theme-colorvariant-12.scss"},{name:"Farbvariante 13",value:"colorvariant-13",file:"theme-colorvariant-13.scss"},{name:"Farbvariante 14",value:"colorvariant-14",file:"theme-colorvariant-14.scss"},{name:"Farbvariante 02",value:"colorvariant-02",file:"theme-colorvariant-02.scss"},{name:"Farbvariante 03",value:"colorvariant-03",file:"theme-colorvariant-03.scss"},{name:"Farbvariante 04",value:"colorvariant-04",file:"theme-colorvariant-04.scss"},{name:"Farbvariante 05",value:"colorvariant-05",file:"theme-colorvariant-05.scss"},{name:"Farbvariante 06",value:"colorvariant-06",file:"theme-colorvariant-06.scss"},{name:"Farbvariante 07",value:"colorvariant-07",file:"theme-colorvariant-07.scss"},{name:"Farbvariante 08",value:"colorvariant-08",file:"theme-colorvariant-08.scss"},{name:"Farbvariante 09",value:"colorvariant-09",file:"theme-colorvariant-09.scss"},{name:"Farbvariante 15",value:"colorvariant-15",file:"theme-colorvariant-15.scss"}],XS=KS[0].value;var QS=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ZS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var e0={exports:{}};/*!
  904. * jQuery JavaScript Library v3.6.1
  905. * https://jquery.com/
  906. *
  907. * Includes Sizzle.js
  908. * https://sizzlejs.com/
  909. *
  910. * Copyright OpenJS Foundation and other contributors
  911. * Released under the MIT license
  912. * https://jquery.org/license
  913. *
  914. * Date: 2022-08-26T17:52Z
  915. */(function(e){(function(t,r){e.exports=t.document?r(t,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return r(n)}})(typeof window<"u"?window:QS,function(t,r){var n=[],o=Object.getPrototypeOf,i=n.slice,a=n.flat?function(u){return n.flat.call(u)}:function(u){return n.concat.apply([],u)},l=n.push,d=n.indexOf,c={},p=c.toString,f=c.hasOwnProperty,g=f.toString,b=g.call(Object),T={},w=function(m){return typeof m=="function"&&typeof m.nodeType!="number"&&typeof m.item!="function"},R=function(m){return m!=null&&m===m.window},_=t.document,A={type:!0,src:!0,nonce:!0,noModule:!0};function L(u,m,v){v=v||_;var E,O,P=v.createElement("script");if(P.text=u,m)for(E in A)O=m[E]||m.getAttribute&&m.getAttribute(E),O&&P.setAttribute(E,O);v.head.appendChild(P).parentNode.removeChild(P)}function D(u){return u==null?u+"":typeof u=="object"||typeof u=="function"?c[p.call(u)]||"object":typeof u}var k="3.6.1",h=function(u,m){return new h.fn.init(u,m)};h.fn=h.prototype={jquery:k,constructor:h,length:0,toArray:function(){return i.call(this)},get:function(u){return u==null?i.call(this):u<0?this[u+this.length]:this[u]},pushStack:function(u){var m=h.merge(this.constructor(),u);return m.prevObject=this,m},each:function(u){return h.each(this,u)},map:function(u){return this.pushStack(h.map(this,function(m,v){return u.call(m,v,m)}))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(h.grep(this,function(u,m){return(m+1)%2}))},odd:function(){return this.pushStack(h.grep(this,function(u,m){return m%2}))},eq:function(u){var m=this.length,v=+u+(u<0?m:0);return this.pushStack(v>=0&&v<m?[this[v]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:n.sort,splice:n.splice},h.extend=h.fn.extend=function(){var u,m,v,E,O,P,N=arguments[0]||{},W=1,J=arguments.length,re=!1;for(typeof N=="boolean"&&(re=N,N=arguments[W]||{},W++),typeof N!="object"&&!w(N)&&(N={}),W===J&&(N=this,W--);W<J;W++)if((u=arguments[W])!=null)for(m in u)E=u[m],!(m==="__proto__"||N===E)&&(re&&E&&(h.isPlainObject(E)||(O=Array.isArray(E)))?(v=N[m],O&&!Array.isArray(v)?P=[]:!O&&!h.isPlainObject(v)?P={}:P=v,O=!1,N[m]=h.extend(re,P,E)):E!==void 0&&(N[m]=E));return N},h.extend({expando:"jQuery"+(k+Math.random()).replace(/\D/g,""),isReady:!0,error:function(u){throw new Error(u)},noop:function(){},isPlainObject:function(u){var m,v;return!u||p.call(u)!=="[object Object]"?!1:(m=o(u),m?(v=f.call(m,"constructor")&&m.constructor,typeof v=="function"&&g.call(v)===b):!0)},isEmptyObject:function(u){var m;for(m in u)return!1;return!0},globalEval:function(u,m,v){L(u,{nonce:m&&m.nonce},v)},each:function(u,m){var v,E=0;if(C(u))for(v=u.length;E<v&&m.call(u[E],E,u[E])!==!1;E++);else for(E in u)if(m.call(u[E],E,u[E])===!1)break;return u},makeArray:function(u,m){var v=m||[];return u!=null&&(C(Object(u))?h.merge(v,typeof u=="string"?[u]:u):l.call(v,u)),v},inArray:function(u,m,v){return m==null?-1:d.call(m,u,v)},merge:function(u,m){for(var v=+m.length,E=0,O=u.length;E<v;E++)u[O++]=m[E];return u.length=O,u},grep:function(u,m,v){for(var E,O=[],P=0,N=u.length,W=!v;P<N;P++)E=!m(u[P],P),E!==W&&O.push(u[P]);return O},map:function(u,m,v){var E,O,P=0,N=[];if(C(u))for(E=u.length;P<E;P++)O=m(u[P],P,v),O!=null&&N.push(O);else for(P in u)O=m(u[P],P,v),O!=null&&N.push(O);return a(N)},guid:1,support:T}),typeof Symbol=="function"&&(h.fn[Symbol.iterator]=n[Symbol.iterator]),h.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(u,m){c["[object "+m+"]"]=m.toLowerCase()});function C(u){var m=!!u&&"length"in u&&u.length,v=D(u);return w(u)||R(u)?!1:v==="array"||m===0||typeof m=="number"&&m>0&&m-1 in u}var x=function(u){var m,v,E,O,P,N,W,J,re,se,ye,ae,ce,Me,ze,Le,Bt,Dt,yr,dt="sizzle"+1*new Date,We=u.document,cr=0,it=0,Rt=Ua(),Ii=Ua(),Ba=Ua(),gr=Ua(),yo=function(M,H){return M===H&&(ye=!0),0},go={}.hasOwnProperty,dr=[],Bn=dr.pop,Cr=dr.push,Fn=dr.push,gf=dr.slice,bo=function(M,H){for(var z=0,pe=M.length;z<pe;z++)if(M[z]===H)return z;return-1},Dl="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ut="[\\x20\\t\\r\\n\\f]",vo="(?:\\\\[\\da-fA-F]{1,6}"+ut+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",bf="\\["+ut+"*("+vo+")(?:"+ut+"*([*^$|!~]?=)"+ut+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+vo+"))|)"+ut+"*\\]",kl=":("+vo+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+bf+")*)|.*)\\)|)",S0=new RegExp(ut+"+","g"),Fa=new RegExp("^"+ut+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ut+"+$","g"),R0=new RegExp("^"+ut+"*,"+ut+"*"),vf=new RegExp("^"+ut+"*([>+~]|"+ut+")"+ut+"*"),O0=new RegExp(ut+"|>"),A0=new RegExp(kl),P0=new RegExp("^"+vo+"$"),Va={ID:new RegExp("^#("+vo+")"),CLASS:new RegExp("^\\.("+vo+")"),TAG:new RegExp("^("+vo+"|[*])"),ATTR:new RegExp("^"+bf),PSEUDO:new RegExp("^"+kl),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ut+"*(even|odd|(([+-]|)(\\d*)n|)"+ut+"*(?:([+-]|)"+ut+"*(\\d+)|))"+ut+"*\\)|)","i"),bool:new RegExp("^(?:"+Dl+")$","i"),needsContext:new RegExp("^"+ut+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ut+"*((?:-\\d)?\\d*)"+ut+"*\\)|)(?=[^-]|$)","i")},C0=/HTML$/i,x0=/^(?:input|select|textarea|button)$/i,N0=/^h\d$/i,qi=/^[^{]+\{\s*\[native \w/,I0=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$l=/[+~]/,pn=new RegExp("\\\\[\\da-fA-F]{1,6}"+ut+"?|\\\\([^\\r\\n\\f])","g"),fn=function(M,H){var z="0x"+M.slice(1)-65536;return H||(z<0?String.fromCharCode(z+65536):String.fromCharCode(z>>10|55296,z&1023|56320))},Ef=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Tf=function(M,H){return H?M==="\0"?"�":M.slice(0,-1)+"\\"+M.charCodeAt(M.length-1).toString(16)+" ":"\\"+M},wf=function(){ae()},q0=Ha(function(M){return M.disabled===!0&&M.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Fn.apply(dr=gf.call(We.childNodes),We.childNodes),dr[We.childNodes.length].nodeType}catch{Fn={apply:dr.length?function(H,z){Cr.apply(H,gf.call(z))}:function(H,z){for(var pe=H.length,te=0;H[pe++]=z[te++];);H.length=pe-1}}}function ht(M,H,z,pe){var te,me,ge,Se,Ae,Ve,$e,Je=H&&H.ownerDocument,Ze=H?H.nodeType:9;if(z=z||[],typeof M!="string"||!M||Ze!==1&&Ze!==9&&Ze!==11)return z;if(!pe&&(ae(H),H=H||ce,ze)){if(Ze!==11&&(Ae=I0.exec(M)))if(te=Ae[1]){if(Ze===9)if(ge=H.getElementById(te)){if(ge.id===te)return z.push(ge),z}else return z;else if(Je&&(ge=Je.getElementById(te))&&yr(H,ge)&&ge.id===te)return z.push(ge),z}else{if(Ae[2])return Fn.apply(z,H.getElementsByTagName(M)),z;if((te=Ae[3])&&v.getElementsByClassName&&H.getElementsByClassName)return Fn.apply(z,H.getElementsByClassName(te)),z}if(v.qsa&&!gr[M+" "]&&(!Le||!Le.test(M))&&(Ze!==1||H.nodeName.toLowerCase()!=="object")){if($e=M,Je=H,Ze===1&&(O0.test(M)||vf.test(M))){for(Je=$l.test(M)&&Fl(H.parentNode)||H,(Je!==H||!v.scope)&&((Se=H.getAttribute("id"))?Se=Se.replace(Ef,Tf):H.setAttribute("id",Se=dt)),Ve=N(M),me=Ve.length;me--;)Ve[me]=(Se?"#"+Se:":scope")+" "+Ja(Ve[me]);$e=Ve.join(",")}try{return Fn.apply(z,Je.querySelectorAll($e)),z}catch{gr(M,!0)}finally{Se===dt&&H.removeAttribute("id")}}}return J(M.replace(Fa,"$1"),H,z,pe)}function Ua(){var M=[];function H(z,pe){return M.push(z+" ")>E.cacheLength&&delete H[M.shift()],H[z+" "]=pe}return H}function $r(M){return M[dt]=!0,M}function Br(M){var H=ce.createElement("fieldset");try{return!!M(H)}catch{return!1}finally{H.parentNode&&H.parentNode.removeChild(H),H=null}}function Bl(M,H){for(var z=M.split("|"),pe=z.length;pe--;)E.attrHandle[z[pe]]=H}function _f(M,H){var z=H&&M,pe=z&&M.nodeType===1&&H.nodeType===1&&M.sourceIndex-H.sourceIndex;if(pe)return pe;if(z){for(;z=z.nextSibling;)if(z===H)return-1}return M?1:-1}function j0(M){return function(H){var z=H.nodeName.toLowerCase();return z==="input"&&H.type===M}}function M0(M){return function(H){var z=H.nodeName.toLowerCase();return(z==="input"||z==="button")&&H.type===M}}function Sf(M){return function(H){return"form"in H?H.parentNode&&H.disabled===!1?"label"in H?"label"in H.parentNode?H.parentNode.disabled===M:H.disabled===M:H.isDisabled===M||H.isDisabled!==!M&&q0(H)===M:H.disabled===M:"label"in H?H.disabled===M:!1}}function Eo(M){return $r(function(H){return H=+H,$r(function(z,pe){for(var te,me=M([],z.length,H),ge=me.length;ge--;)z[te=me[ge]]&&(z[te]=!(pe[te]=z[te]))})})}function Fl(M){return M&&typeof M.getElementsByTagName<"u"&&M}v=ht.support={},P=ht.isXML=function(M){var H=M&&M.namespaceURI,z=M&&(M.ownerDocument||M).documentElement;return!C0.test(H||z&&z.nodeName||"HTML")},ae=ht.setDocument=function(M){var H,z,pe=M?M.ownerDocument||M:We;return pe==ce||pe.nodeType!==9||!pe.documentElement||(ce=pe,Me=ce.documentElement,ze=!P(ce),We!=ce&&(z=ce.defaultView)&&z.top!==z&&(z.addEventListener?z.addEventListener("unload",wf,!1):z.attachEvent&&z.attachEvent("onunload",wf)),v.scope=Br(function(te){return Me.appendChild(te).appendChild(ce.createElement("div")),typeof te.querySelectorAll<"u"&&!te.querySelectorAll(":scope fieldset div").length}),v.attributes=Br(function(te){return te.className="i",!te.getAttribute("className")}),v.getElementsByTagName=Br(function(te){return te.appendChild(ce.createComment("")),!te.getElementsByTagName("*").length}),v.getElementsByClassName=qi.test(ce.getElementsByClassName),v.getById=Br(function(te){return Me.appendChild(te).id=dt,!ce.getElementsByName||!ce.getElementsByName(dt).length}),v.getById?(E.filter.ID=function(te){var me=te.replace(pn,fn);return function(ge){return ge.getAttribute("id")===me}},E.find.ID=function(te,me){if(typeof me.getElementById<"u"&&ze){var ge=me.getElementById(te);return ge?[ge]:[]}}):(E.filter.ID=function(te){var me=te.replace(pn,fn);return function(ge){var Se=typeof ge.getAttributeNode<"u"&&ge.getAttributeNode("id");return Se&&Se.value===me}},E.find.ID=function(te,me){if(typeof me.getElementById<"u"&&ze){var ge,Se,Ae,Ve=me.getElementById(te);if(Ve){if(ge=Ve.getAttributeNode("id"),ge&&ge.value===te)return[Ve];for(Ae=me.getElementsByName(te),Se=0;Ve=Ae[Se++];)if(ge=Ve.getAttributeNode("id"),ge&&ge.value===te)return[Ve]}return[]}}),E.find.TAG=v.getElementsByTagName?function(te,me){if(typeof me.getElementsByTagName<"u")return me.getElementsByTagName(te);if(v.qsa)return me.querySelectorAll(te)}:function(te,me){var ge,Se=[],Ae=0,Ve=me.getElementsByTagName(te);if(te==="*"){for(;ge=Ve[Ae++];)ge.nodeType===1&&Se.push(ge);return Se}return Ve},E.find.CLASS=v.getElementsByClassName&&function(te,me){if(typeof me.getElementsByClassName<"u"&&ze)return me.getElementsByClassName(te)},Bt=[],Le=[],(v.qsa=qi.test(ce.querySelectorAll))&&(Br(function(te){var me;Me.appendChild(te).innerHTML="<a id='"+dt+"'></a><select id='"+dt+"-\r\\' msallowcapture=''><option selected=''></option></select>",te.querySelectorAll("[msallowcapture^='']").length&&Le.push("[*^$]="+ut+`*(?:''|"")`),te.querySelectorAll("[selected]").length||Le.push("\\["+ut+"*(?:value|"+Dl+")"),te.querySelectorAll("[id~="+dt+"-]").length||Le.push("~="),me=ce.createElement("input"),me.setAttribute("name",""),te.appendChild(me),te.querySelectorAll("[name='']").length||Le.push("\\["+ut+"*name"+ut+"*="+ut+`*(?:''|"")`),te.querySelectorAll(":checked").length||Le.push(":checked"),te.querySelectorAll("a#"+dt+"+*").length||Le.push(".#.+[+~]"),te.querySelectorAll("\\\f"),Le.push("[\\r\\n\\f]")}),Br(function(te){te.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var me=ce.createElement("input");me.setAttribute("type","hidden"),te.appendChild(me).setAttribute("name","D"),te.querySelectorAll("[name=d]").length&&Le.push("name"+ut+"*[*^$|!~]?="),te.querySelectorAll(":enabled").length!==2&&Le.push(":enabled",":disabled"),Me.appendChild(te).disabled=!0,te.querySelectorAll(":disabled").length!==2&&Le.push(":enabled",":disabled"),te.querySelectorAll("*,:x"),Le.push(",.*:")})),(v.matchesSelector=qi.test(Dt=Me.matches||Me.webkitMatchesSelector||Me.mozMatchesSelector||Me.oMatchesSelector||Me.msMatchesSelector))&&Br(function(te){v.disconnectedMatch=Dt.call(te,"*"),Dt.call(te,"[s!='']:x"),Bt.push("!=",kl)}),Le=Le.length&&new RegExp(Le.join("|")),Bt=Bt.length&&new RegExp(Bt.join("|")),H=qi.test(Me.compareDocumentPosition),yr=H||qi.test(Me.contains)?function(te,me){var ge=te.nodeType===9?te.documentElement:te,Se=me&&me.parentNode;return te===Se||!!(Se&&Se.nodeType===1&&(ge.contains?ge.contains(Se):te.compareDocumentPosition&&te.compareDocumentPosition(Se)&16))}:function(te,me){if(me){for(;me=me.parentNode;)if(me===te)return!0}return!1},yo=H?function(te,me){if(te===me)return ye=!0,0;var ge=!te.compareDocumentPosition-!me.compareDocumentPosition;return ge||(ge=(te.ownerDocument||te)==(me.ownerDocument||me)?te.compareDocumentPosition(me):1,ge&1||!v.sortDetached&&me.compareDocumentPosition(te)===ge?te==ce||te.ownerDocument==We&&yr(We,te)?-1:me==ce||me.ownerDocument==We&&yr(We,me)?1:se?bo(se,te)-bo(se,me):0:ge&4?-1:1)}:function(te,me){if(te===me)return ye=!0,0;var ge,Se=0,Ae=te.parentNode,Ve=me.parentNode,$e=[te],Je=[me];if(!Ae||!Ve)return te==ce?-1:me==ce?1:Ae?-1:Ve?1:se?bo(se,te)-bo(se,me):0;if(Ae===Ve)return _f(te,me);for(ge=te;ge=ge.parentNode;)$e.unshift(ge);for(ge=me;ge=ge.parentNode;)Je.unshift(ge);for(;$e[Se]===Je[Se];)Se++;return Se?_f($e[Se],Je[Se]):$e[Se]==We?-1:Je[Se]==We?1:0}),ce},ht.matches=function(M,H){return ht(M,null,null,H)},ht.matchesSelector=function(M,H){if(ae(M),v.matchesSelector&&ze&&!gr[H+" "]&&(!Bt||!Bt.test(H))&&(!Le||!Le.test(H)))try{var z=Dt.call(M,H);if(z||v.disconnectedMatch||M.document&&M.document.nodeType!==11)return z}catch{gr(H,!0)}return ht(H,ce,null,[M]).length>0},ht.contains=function(M,H){return(M.ownerDocument||M)!=ce&&ae(M),yr(M,H)},ht.attr=function(M,H){(M.ownerDocument||M)!=ce&&ae(M);var z=E.attrHandle[H.toLowerCase()],pe=z&&go.call(E.attrHandle,H.toLowerCase())?z(M,H,!ze):void 0;return pe!==void 0?pe:v.attributes||!ze?M.getAttribute(H):(pe=M.getAttributeNode(H))&&pe.specified?pe.value:null},ht.escape=function(M){return(M+"").replace(Ef,Tf)},ht.error=function(M){throw new Error("Syntax error, unrecognized expression: "+M)},ht.uniqueSort=function(M){var H,z=[],pe=0,te=0;if(ye=!v.detectDuplicates,se=!v.sortStable&&M.slice(0),M.sort(yo),ye){for(;H=M[te++];)H===M[te]&&(pe=z.push(te));for(;pe--;)M.splice(z[pe],1)}return se=null,M},O=ht.getText=function(M){var H,z="",pe=0,te=M.nodeType;if(te){if(te===1||te===9||te===11){if(typeof M.textContent=="string")return M.textContent;for(M=M.firstChild;M;M=M.nextSibling)z+=O(M)}else if(te===3||te===4)return M.nodeValue}else for(;H=M[pe++];)z+=O(H);return z},E=ht.selectors={cacheLength:50,createPseudo:$r,match:Va,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(M){return M[1]=M[1].replace(pn,fn),M[3]=(M[3]||M[4]||M[5]||"").replace(pn,fn),M[2]==="~="&&(M[3]=" "+M[3]+" "),M.slice(0,4)},CHILD:function(M){return M[1]=M[1].toLowerCase(),M[1].slice(0,3)==="nth"?(M[3]||ht.error(M[0]),M[4]=+(M[4]?M[5]+(M[6]||1):2*(M[3]==="even"||M[3]==="odd")),M[5]=+(M[7]+M[8]||M[3]==="odd")):M[3]&&ht.error(M[0]),M},PSEUDO:function(M){var H,z=!M[6]&&M[2];return Va.CHILD.test(M[0])?null:(M[3]?M[2]=M[4]||M[5]||"":z&&A0.test(z)&&(H=N(z,!0))&&(H=z.indexOf(")",z.length-H)-z.length)&&(M[0]=M[0].slice(0,H),M[2]=z.slice(0,H)),M.slice(0,3))}},filter:{TAG:function(M){var H=M.replace(pn,fn).toLowerCase();return M==="*"?function(){return!0}:function(z){return z.nodeName&&z.nodeName.toLowerCase()===H}},CLASS:function(M){var H=Rt[M+" "];return H||(H=new RegExp("(^|"+ut+")"+M+"("+ut+"|$)"))&&Rt(M,function(z){return H.test(typeof z.className=="string"&&z.className||typeof z.getAttribute<"u"&&z.getAttribute("class")||"")})},ATTR:function(M,H,z){return function(pe){var te=ht.attr(pe,M);return te==null?H==="!=":H?(te+="",H==="="?te===z:H==="!="?te!==z:H==="^="?z&&te.indexOf(z)===0:H==="*="?z&&te.indexOf(z)>-1:H==="$="?z&&te.slice(-z.length)===z:H==="~="?(" "+te.replace(S0," ")+" ").indexOf(z)>-1:H==="|="?te===z||te.slice(0,z.length+1)===z+"-":!1):!0}},CHILD:function(M,H,z,pe,te){var me=M.slice(0,3)!=="nth",ge=M.slice(-4)!=="last",Se=H==="of-type";return pe===1&&te===0?function(Ae){return!!Ae.parentNode}:function(Ae,Ve,$e){var Je,Ze,mt,Ue,Ft,er,br=me!==ge?"nextSibling":"previousSibling",wt=Ae.parentNode,ji=Se&&Ae.nodeName.toLowerCase(),Mi=!$e&&!Se,vr=!1;if(wt){if(me){for(;br;){for(Ue=Ae;Ue=Ue[br];)if(Se?Ue.nodeName.toLowerCase()===ji:Ue.nodeType===1)return!1;er=br=M==="only"&&!er&&"nextSibling"}return!0}if(er=[ge?wt.firstChild:wt.lastChild],ge&&Mi){for(Ue=wt,mt=Ue[dt]||(Ue[dt]={}),Ze=mt[Ue.uniqueID]||(mt[Ue.uniqueID]={}),Je=Ze[M]||[],Ft=Je[0]===cr&&Je[1],vr=Ft&&Je[2],Ue=Ft&&wt.childNodes[Ft];Ue=++Ft&&Ue&&Ue[br]||(vr=Ft=0)||er.pop();)if(Ue.nodeType===1&&++vr&&Ue===Ae){Ze[M]=[cr,Ft,vr];break}}else if(Mi&&(Ue=Ae,mt=Ue[dt]||(Ue[dt]={}),Ze=mt[Ue.uniqueID]||(mt[Ue.uniqueID]={}),Je=Ze[M]||[],Ft=Je[0]===cr&&Je[1],vr=Ft),vr===!1)for(;(Ue=++Ft&&Ue&&Ue[br]||(vr=Ft=0)||er.pop())&&!((Se?Ue.nodeName.toLowerCase()===ji:Ue.nodeType===1)&&++vr&&(Mi&&(mt=Ue[dt]||(Ue[dt]={}),Ze=mt[Ue.uniqueID]||(mt[Ue.uniqueID]={}),Ze[M]=[cr,vr]),Ue===Ae)););return vr-=te,vr===pe||vr%pe===0&&vr/pe>=0}}},PSEUDO:function(M,H){var z,pe=E.pseudos[M]||E.setFilters[M.toLowerCase()]||ht.error("unsupported pseudo: "+M);return pe[dt]?pe(H):pe.length>1?(z=[M,M,"",H],E.setFilters.hasOwnProperty(M.toLowerCase())?$r(function(te,me){for(var ge,Se=pe(te,H),Ae=Se.length;Ae--;)ge=bo(te,Se[Ae]),te[ge]=!(me[ge]=Se[Ae])}):function(te){return pe(te,0,z)}):pe}},pseudos:{not:$r(function(M){var H=[],z=[],pe=W(M.replace(Fa,"$1"));return pe[dt]?$r(function(te,me,ge,Se){for(var Ae,Ve=pe(te,null,Se,[]),$e=te.length;$e--;)(Ae=Ve[$e])&&(te[$e]=!(me[$e]=Ae))}):function(te,me,ge){return H[0]=te,pe(H,null,ge,z),H[0]=null,!z.pop()}}),has:$r(function(M){return function(H){return ht(M,H).length>0}}),contains:$r(function(M){return M=M.replace(pn,fn),function(H){return(H.textContent||O(H)).indexOf(M)>-1}}),lang:$r(function(M){return P0.test(M||"")||ht.error("unsupported lang: "+M),M=M.replace(pn,fn).toLowerCase(),function(H){var z;do if(z=ze?H.lang:H.getAttribute("xml:lang")||H.getAttribute("lang"))return z=z.toLowerCase(),z===M||z.indexOf(M+"-")===0;while((H=H.parentNode)&&H.nodeType===1);return!1}}),target:function(M){var H=u.location&&u.location.hash;return H&&H.slice(1)===M.id},root:function(M){return M===Me},focus:function(M){return M===ce.activeElement&&(!ce.hasFocus||ce.hasFocus())&&!!(M.type||M.href||~M.tabIndex)},enabled:Sf(!1),disabled:Sf(!0),checked:function(M){var H=M.nodeName.toLowerCase();return H==="input"&&!!M.checked||H==="option"&&!!M.selected},selected:function(M){return M.parentNode&&M.parentNode.selectedIndex,M.selected===!0},empty:function(M){for(M=M.firstChild;M;M=M.nextSibling)if(M.nodeType<6)return!1;return!0},parent:function(M){return!E.pseudos.empty(M)},header:function(M){return N0.test(M.nodeName)},input:function(M){return x0.test(M.nodeName)},button:function(M){var H=M.nodeName.toLowerCase();return H==="input"&&M.type==="button"||H==="button"},text:function(M){var H;return M.nodeName.toLowerCase()==="input"&&M.type==="text"&&((H=M.getAttribute("type"))==null||H.toLowerCase()==="text")},first:Eo(function(){return[0]}),last:Eo(function(M,H){return[H-1]}),eq:Eo(function(M,H,z){return[z<0?z+H:z]}),even:Eo(function(M,H){for(var z=0;z<H;z+=2)M.push(z);return M}),odd:Eo(function(M,H){for(var z=1;z<H;z+=2)M.push(z);return M}),lt:Eo(function(M,H,z){for(var pe=z<0?z+H:z>H?H:z;--pe>=0;)M.push(pe);return M}),gt:Eo(function(M,H,z){for(var pe=z<0?z+H:z;++pe<H;)M.push(pe);return M})}},E.pseudos.nth=E.pseudos.eq;for(m in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})E.pseudos[m]=j0(m);for(m in{submit:!0,reset:!0})E.pseudos[m]=M0(m);function Rf(){}Rf.prototype=E.filters=E.pseudos,E.setFilters=new Rf,N=ht.tokenize=function(M,H){var z,pe,te,me,ge,Se,Ae,Ve=Ii[M+" "];if(Ve)return H?0:Ve.slice(0);for(ge=M,Se=[],Ae=E.preFilter;ge;){(!z||(pe=R0.exec(ge)))&&(pe&&(ge=ge.slice(pe[0].length)||ge),Se.push(te=[])),z=!1,(pe=vf.exec(ge))&&(z=pe.shift(),te.push({value:z,type:pe[0].replace(Fa," ")}),ge=ge.slice(z.length));for(me in E.filter)(pe=Va[me].exec(ge))&&(!Ae[me]||(pe=Ae[me](pe)))&&(z=pe.shift(),te.push({value:z,type:me,matches:pe}),ge=ge.slice(z.length));if(!z)break}return H?ge.length:ge?ht.error(M):Ii(M,Se).slice(0)};function Ja(M){for(var H=0,z=M.length,pe="";H<z;H++)pe+=M[H].value;return pe}function Ha(M,H,z){var pe=H.dir,te=H.next,me=te||pe,ge=z&&me==="parentNode",Se=it++;return H.first?function(Ae,Ve,$e){for(;Ae=Ae[pe];)if(Ae.nodeType===1||ge)return M(Ae,Ve,$e);return!1}:function(Ae,Ve,$e){var Je,Ze,mt,Ue=[cr,Se];if($e){for(;Ae=Ae[pe];)if((Ae.nodeType===1||ge)&&M(Ae,Ve,$e))return!0}else for(;Ae=Ae[pe];)if(Ae.nodeType===1||ge)if(mt=Ae[dt]||(Ae[dt]={}),Ze=mt[Ae.uniqueID]||(mt[Ae.uniqueID]={}),te&&te===Ae.nodeName.toLowerCase())Ae=Ae[pe]||Ae;else{if((Je=Ze[me])&&Je[0]===cr&&Je[1]===Se)return Ue[2]=Je[2];if(Ze[me]=Ue,Ue[2]=M(Ae,Ve,$e))return!0}return!1}}function Vl(M){return M.length>1?function(H,z,pe){for(var te=M.length;te--;)if(!M[te](H,z,pe))return!1;return!0}:M[0]}function L0(M,H,z){for(var pe=0,te=H.length;pe<te;pe++)ht(M,H[pe],z);return z}function Ga(M,H,z,pe,te){for(var me,ge=[],Se=0,Ae=M.length,Ve=H!=null;Se<Ae;Se++)(me=M[Se])&&(!z||z(me,pe,te))&&(ge.push(me),Ve&&H.push(Se));return ge}function Ul(M,H,z,pe,te,me){return pe&&!pe[dt]&&(pe=Ul(pe)),te&&!te[dt]&&(te=Ul(te,me)),$r(function(ge,Se,Ae,Ve){var $e,Je,Ze,mt=[],Ue=[],Ft=Se.length,er=ge||L0(H||"*",Ae.nodeType?[Ae]:Ae,[]),br=M&&(ge||!H)?Ga(er,mt,M,Ae,Ve):er,wt=z?te||(ge?M:Ft||pe)?[]:Se:br;if(z&&z(br,wt,Ae,Ve),pe)for($e=Ga(wt,Ue),pe($e,[],Ae,Ve),Je=$e.length;Je--;)(Ze=$e[Je])&&(wt[Ue[Je]]=!(br[Ue[Je]]=Ze));if(ge){if(te||M){if(te){for($e=[],Je=wt.length;Je--;)(Ze=wt[Je])&&$e.push(br[Je]=Ze);te(null,wt=[],$e,Ve)}for(Je=wt.length;Je--;)(Ze=wt[Je])&&($e=te?bo(ge,Ze):mt[Je])>-1&&(ge[$e]=!(Se[$e]=Ze))}}else wt=Ga(wt===Se?wt.splice(Ft,wt.length):wt),te?te(null,Se,wt,Ve):Fn.apply(Se,wt)})}function Jl(M){for(var H,z,pe,te=M.length,me=E.relative[M[0].type],ge=me||E.relative[" "],Se=me?1:0,Ae=Ha(function(Je){return Je===H},ge,!0),Ve=Ha(function(Je){return bo(H,Je)>-1},ge,!0),$e=[function(Je,Ze,mt){var Ue=!me&&(mt||Ze!==re)||((H=Ze).nodeType?Ae(Je,Ze,mt):Ve(Je,Ze,mt));return H=null,Ue}];Se<te;Se++)if(z=E.relative[M[Se].type])$e=[Ha(Vl($e),z)];else{if(z=E.filter[M[Se].type].apply(null,M[Se].matches),z[dt]){for(pe=++Se;pe<te&&!E.relative[M[pe].type];pe++);return Ul(Se>1&&Vl($e),Se>1&&Ja(M.slice(0,Se-1).concat({value:M[Se-2].type===" "?"*":""})).replace(Fa,"$1"),z,Se<pe&&Jl(M.slice(Se,pe)),pe<te&&Jl(M=M.slice(pe)),pe<te&&Ja(M))}$e.push(z)}return Vl($e)}function D0(M,H){var z=H.length>0,pe=M.length>0,te=function(me,ge,Se,Ae,Ve){var $e,Je,Ze,mt=0,Ue="0",Ft=me&&[],er=[],br=re,wt=me||pe&&E.find.TAG("*",Ve),ji=cr+=br==null?1:Math.random()||.1,Mi=wt.length;for(Ve&&(re=ge==ce||ge||Ve);Ue!==Mi&&($e=wt[Ue])!=null;Ue++){if(pe&&$e){for(Je=0,!ge&&$e.ownerDocument!=ce&&(ae($e),Se=!ze);Ze=M[Je++];)if(Ze($e,ge||ce,Se)){Ae.push($e);break}Ve&&(cr=ji)}z&&(($e=!Ze&&$e)&&mt--,me&&Ft.push($e))}if(mt+=Ue,z&&Ue!==mt){for(Je=0;Ze=H[Je++];)Ze(Ft,er,ge,Se);if(me){if(mt>0)for(;Ue--;)Ft[Ue]||er[Ue]||(er[Ue]=Bn.call(Ae));er=Ga(er)}Fn.apply(Ae,er),Ve&&!me&&er.length>0&&mt+H.length>1&&ht.uniqueSort(Ae)}return Ve&&(cr=ji,re=br),Ft};return z?$r(te):te}return W=ht.compile=function(M,H){var z,pe=[],te=[],me=Ba[M+" "];if(!me){for(H||(H=N(M)),z=H.length;z--;)me=Jl(H[z]),me[dt]?pe.push(me):te.push(me);me=Ba(M,D0(te,pe)),me.selector=M}return me},J=ht.select=function(M,H,z,pe){var te,me,ge,Se,Ae,Ve=typeof M=="function"&&M,$e=!pe&&N(M=Ve.selector||M);if(z=z||[],$e.length===1){if(me=$e[0]=$e[0].slice(0),me.length>2&&(ge=me[0]).type==="ID"&&H.nodeType===9&&ze&&E.relative[me[1].type]){if(H=(E.find.ID(ge.matches[0].replace(pn,fn),H)||[])[0],H)Ve&&(H=H.parentNode);else return z;M=M.slice(me.shift().value.length)}for(te=Va.needsContext.test(M)?0:me.length;te--&&(ge=me[te],!E.relative[Se=ge.type]);)if((Ae=E.find[Se])&&(pe=Ae(ge.matches[0].replace(pn,fn),$l.test(me[0].type)&&Fl(H.parentNode)||H))){if(me.splice(te,1),M=pe.length&&Ja(me),!M)return Fn.apply(z,pe),z;break}}return(Ve||W(M,$e))(pe,H,!ze,z,!H||$l.test(M)&&Fl(H.parentNode)||H),z},v.sortStable=dt.split("").sort(yo).join("")===dt,v.detectDuplicates=!!ye,ae(),v.sortDetached=Br(function(M){return M.compareDocumentPosition(ce.createElement("fieldset"))&1}),Br(function(M){return M.innerHTML="<a href='#'></a>",M.firstChild.getAttribute("href")==="#"})||Bl("type|href|height|width",function(M,H,z){if(!z)return M.getAttribute(H,H.toLowerCase()==="type"?1:2)}),(!v.attributes||!Br(function(M){return M.innerHTML="<input/>",M.firstChild.setAttribute("value",""),M.firstChild.getAttribute("value")===""}))&&Bl("value",function(M,H,z){if(!z&&M.nodeName.toLowerCase()==="input")return M.defaultValue}),Br(function(M){return M.getAttribute("disabled")==null})||Bl(Dl,function(M,H,z){var pe;if(!z)return M[H]===!0?H.toLowerCase():(pe=M.getAttributeNode(H))&&pe.specified?pe.value:null}),ht}(t);h.find=x,h.expr=x.selectors,h.expr[":"]=h.expr.pseudos,h.uniqueSort=h.unique=x.uniqueSort,h.text=x.getText,h.isXMLDoc=x.isXML,h.contains=x.contains,h.escapeSelector=x.escape;var j=function(u,m,v){for(var E=[],O=v!==void 0;(u=u[m])&&u.nodeType!==9;)if(u.nodeType===1){if(O&&h(u).is(v))break;E.push(u)}return E},Z=function(u,m){for(var v=[];u;u=u.nextSibling)u.nodeType===1&&u!==m&&v.push(u);return v},G=h.expr.match.needsContext;function oe(u,m){return u.nodeName&&u.nodeName.toLowerCase()===m.toLowerCase()}var U=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(u,m,v){return w(m)?h.grep(u,function(E,O){return!!m.call(E,O,E)!==v}):m.nodeType?h.grep(u,function(E){return E===m!==v}):typeof m!="string"?h.grep(u,function(E){return d.call(m,E)>-1!==v}):h.filter(m,u,v)}h.filter=function(u,m,v){var E=m[0];return v&&(u=":not("+u+")"),m.length===1&&E.nodeType===1?h.find.matchesSelector(E,u)?[E]:[]:h.find.matches(u,h.grep(m,function(O){return O.nodeType===1}))},h.fn.extend({find:function(u){var m,v,E=this.length,O=this;if(typeof u!="string")return this.pushStack(h(u).filter(function(){for(m=0;m<E;m++)if(h.contains(O[m],this))return!0}));for(v=this.pushStack([]),m=0;m<E;m++)h.find(u,O[m],v);return E>1?h.uniqueSort(v):v},filter:function(u){return this.pushStack(I(this,u||[],!1))},not:function(u){return this.pushStack(I(this,u||[],!0))},is:function(u){return!!I(this,typeof u=="string"&&G.test(u)?h(u):u||[],!1).length}});var V,K=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ne=h.fn.init=function(u,m,v){var E,O;if(!u)return this;if(v=v||V,typeof u=="string")if(u[0]==="<"&&u[u.length-1]===">"&&u.length>=3?E=[null,u,null]:E=K.exec(u),E&&(E[1]||!m))if(E[1]){if(m=m instanceof h?m[0]:m,h.merge(this,h.parseHTML(E[1],m&&m.nodeType?m.ownerDocument||m:_,!0)),U.test(E[1])&&h.isPlainObject(m))for(E in m)w(this[E])?this[E](m[E]):this.attr(E,m[E]);return this}else return O=_.getElementById(E[2]),O&&(this[0]=O,this.length=1),this;else return!m||m.jquery?(m||v).find(u):this.constructor(m).find(u);else{if(u.nodeType)return this[0]=u,this.length=1,this;if(w(u))return v.ready!==void 0?v.ready(u):u(h)}return h.makeArray(u,this)};ne.prototype=h.fn,V=h(_);var he=/^(?:parents|prev(?:Until|All))/,xe={children:!0,contents:!0,next:!0,prev:!0};h.fn.extend({has:function(u){var m=h(u,this),v=m.length;return this.filter(function(){for(var E=0;E<v;E++)if(h.contains(this,m[E]))return!0})},closest:function(u,m){var v,E=0,O=this.length,P=[],N=typeof u!="string"&&h(u);if(!G.test(u)){for(;E<O;E++)for(v=this[E];v&&v!==m;v=v.parentNode)if(v.nodeType<11&&(N?N.index(v)>-1:v.nodeType===1&&h.find.matchesSelector(v,u))){P.push(v);break}}return this.pushStack(P.length>1?h.uniqueSort(P):P)},index:function(u){return u?typeof u=="string"?d.call(h(u),this[0]):d.call(this,u.jquery?u[0]:u):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(u,m){return this.pushStack(h.uniqueSort(h.merge(this.get(),h(u,m))))},addBack:function(u){return this.add(u==null?this.prevObject:this.prevObject.filter(u))}});function Pe(u,m){for(;(u=u[m])&&u.nodeType!==1;);return u}h.each({parent:function(u){var m=u.parentNode;return m&&m.nodeType!==11?m:null},parents:function(u){return j(u,"parentNode")},parentsUntil:function(u,m,v){return j(u,"parentNode",v)},next:function(u){return Pe(u,"nextSibling")},prev:function(u){return Pe(u,"previousSibling")},nextAll:function(u){return j(u,"nextSibling")},prevAll:function(u){return j(u,"previousSibling")},nextUntil:function(u,m,v){return j(u,"nextSibling",v)},prevUntil:function(u,m,v){return j(u,"previousSibling",v)},siblings:function(u){return Z((u.parentNode||{}).firstChild,u)},children:function(u){return Z(u.firstChild)},contents:function(u){return u.contentDocument!=null&&o(u.contentDocument)?u.contentDocument:(oe(u,"template")&&(u=u.content||u),h.merge([],u.childNodes))}},function(u,m){h.fn[u]=function(v,E){var O=h.map(this,m,v);return u.slice(-5)!=="Until"&&(E=v),E&&typeof E=="string"&&(O=h.filter(E,O)),this.length>1&&(xe[u]||h.uniqueSort(O),he.test(u)&&O.reverse()),this.pushStack(O)}});var Ce=/[^\x20\t\r\n\f]+/g;function fe(u){var m={};return h.each(u.match(Ce)||[],function(v,E){m[E]=!0}),m}h.Callbacks=function(u){u=typeof u=="string"?fe(u):h.extend({},u);var m,v,E,O,P=[],N=[],W=-1,J=function(){for(O=O||u.once,E=m=!0;N.length;W=-1)for(v=N.shift();++W<P.length;)P[W].apply(v[0],v[1])===!1&&u.stopOnFalse&&(W=P.length,v=!1);u.memory||(v=!1),m=!1,O&&(v?P=[]:P="")},re={add:function(){return P&&(v&&!m&&(W=P.length-1,N.push(v)),function se(ye){h.each(ye,function(ae,ce){w(ce)?(!u.unique||!re.has(ce))&&P.push(ce):ce&&ce.length&&D(ce)!=="string"&&se(ce)})}(arguments),v&&!m&&J()),this},remove:function(){return h.each(arguments,function(se,ye){for(var ae;(ae=h.inArray(ye,P,ae))>-1;)P.splice(ae,1),ae<=W&&W--}),this},has:function(se){return se?h.inArray(se,P)>-1:P.length>0},empty:function(){return P&&(P=[]),this},disable:function(){return O=N=[],P=v="",this},disabled:function(){return!P},lock:function(){return O=N=[],!v&&!m&&(P=v=""),this},locked:function(){return!!O},fireWith:function(se,ye){return O||(ye=ye||[],ye=[se,ye.slice?ye.slice():ye],N.push(ye),m||J()),this},fire:function(){return re.fireWith(this,arguments),this},fired:function(){return!!E}};return re};function ue(u){return u}function Ne(u){throw u}function _e(u,m,v,E){var O;try{u&&w(O=u.promise)?O.call(u).done(m).fail(v):u&&w(O=u.then)?O.call(u,m,v):m.apply(void 0,[u].slice(E))}catch(P){v.apply(void 0,[P])}}h.extend({Deferred:function(u){var m=[["notify","progress",h.Callbacks("memory"),h.Callbacks("memory"),2],["resolve","done",h.Callbacks("once memory"),h.Callbacks("once memory"),0,"resolved"],["reject","fail",h.Callbacks("once memory"),h.Callbacks("once memory"),1,"rejected"]],v="pending",E={state:function(){return v},always:function(){return O.done(arguments).fail(arguments),this},catch:function(P){return E.then(null,P)},pipe:function(){var P=arguments;return h.Deferred(function(N){h.each(m,function(W,J){var re=w(P[J[4]])&&P[J[4]];O[J[1]](function(){var se=re&&re.apply(this,arguments);se&&w(se.promise)?se.promise().progress(N.notify).done(N.resolve).fail(N.reject):N[J[0]+"With"](this,re?[se]:arguments)})}),P=null}).promise()},then:function(P,N,W){var J=0;function re(se,ye,ae,ce){return function(){var Me=this,ze=arguments,Le=function(){var Dt,yr;if(!(se<J)){if(Dt=ae.apply(Me,ze),Dt===ye.promise())throw new TypeError("Thenable self-resolution");yr=Dt&&(typeof Dt=="object"||typeof Dt=="function")&&Dt.then,w(yr)?ce?yr.call(Dt,re(J,ye,ue,ce),re(J,ye,Ne,ce)):(J++,yr.call(Dt,re(J,ye,ue,ce),re(J,ye,Ne,ce),re(J,ye,ue,ye.notifyWith))):(ae!==ue&&(Me=void 0,ze=[Dt]),(ce||ye.resolveWith)(Me,ze))}},Bt=ce?Le:function(){try{Le()}catch(Dt){h.Deferred.exceptionHook&&h.Deferred.exceptionHook(Dt,Bt.stackTrace),se+1>=J&&(ae!==Ne&&(Me=void 0,ze=[Dt]),ye.rejectWith(Me,ze))}};se?Bt():(h.Deferred.getStackHook&&(Bt.stackTrace=h.Deferred.getStackHook()),t.setTimeout(Bt))}}return h.Deferred(function(se){m[0][3].add(re(0,se,w(W)?W:ue,se.notifyWith)),m[1][3].add(re(0,se,w(P)?P:ue)),m[2][3].add(re(0,se,w(N)?N:Ne))}).promise()},promise:function(P){return P!=null?h.extend(P,E):E}},O={};return h.each(m,function(P,N){var W=N[2],J=N[5];E[N[1]]=W.add,J&&W.add(function(){v=J},m[3-P][2].disable,m[3-P][3].disable,m[0][2].lock,m[0][3].lock),W.add(N[3].fire),O[N[0]]=function(){return O[N[0]+"With"](this===O?void 0:this,arguments),this},O[N[0]+"With"]=W.fireWith}),E.promise(O),u&&u.call(O,O),O},when:function(u){var m=arguments.length,v=m,E=Array(v),O=i.call(arguments),P=h.Deferred(),N=function(W){return function(J){E[W]=this,O[W]=arguments.length>1?i.call(arguments):J,--m||P.resolveWith(E,O)}};if(m<=1&&(_e(u,P.done(N(v)).resolve,P.reject,!m),P.state()==="pending"||w(O[v]&&O[v].then)))return P.then();for(;v--;)_e(O[v],N(v),P.reject);return P.promise()}});var be=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;h.Deferred.exceptionHook=function(u,m){t.console&&t.console.warn&&u&&be.test(u.name)&&t.console.warn("jQuery.Deferred exception: "+u.message,u.stack,m)},h.readyException=function(u){t.setTimeout(function(){throw u})};var Ge=h.Deferred();h.fn.ready=function(u){return Ge.then(u).catch(function(m){h.readyException(m)}),this},h.extend({isReady:!1,readyWait:1,ready:function(u){(u===!0?--h.readyWait:h.isReady)||(h.isReady=!0,!(u!==!0&&--h.readyWait>0)&&Ge.resolveWith(_,[h]))}}),h.ready.then=Ge.then;function Be(){_.removeEventListener("DOMContentLoaded",Be),t.removeEventListener("load",Be),h.ready()}_.readyState==="complete"||_.readyState!=="loading"&&!_.documentElement.doScroll?t.setTimeout(h.ready):(_.addEventListener("DOMContentLoaded",Be),t.addEventListener("load",Be));var ot=function(u,m,v,E,O,P,N){var W=0,J=u.length,re=v==null;if(D(v)==="object"){O=!0;for(W in v)ot(u,m,W,v[W],!0,P,N)}else if(E!==void 0&&(O=!0,w(E)||(N=!0),re&&(N?(m.call(u,E),m=null):(re=m,m=function(se,ye,ae){return re.call(h(se),ae)})),m))for(;W<J;W++)m(u[W],v,N?E:E.call(u[W],W,m(u[W],v)));return O?u:re?m.call(u):J?m(u[0],v):P},Q=/^-ms-/,we=/-([a-z])/g;function Ie(u,m){return m.toUpperCase()}function Oe(u){return u.replace(Q,"ms-").replace(we,Ie)}var qe=function(u){return u.nodeType===1||u.nodeType===9||!+u.nodeType};function je(){this.expando=h.expando+je.uid++}je.uid=1,je.prototype={cache:function(u){var m=u[this.expando];return m||(m={},qe(u)&&(u.nodeType?u[this.expando]=m:Object.defineProperty(u,this.expando,{value:m,configurable:!0}))),m},set:function(u,m,v){var E,O=this.cache(u);if(typeof m=="string")O[Oe(m)]=v;else for(E in m)O[Oe(E)]=m[E];return O},get:function(u,m){return m===void 0?this.cache(u):u[this.expando]&&u[this.expando][Oe(m)]},access:function(u,m,v){return m===void 0||m&&typeof m=="string"&&v===void 0?this.get(u,m):(this.set(u,m,v),v!==void 0?v:m)},remove:function(u,m){var v,E=u[this.expando];if(E!==void 0){if(m!==void 0)for(Array.isArray(m)?m=m.map(Oe):(m=Oe(m),m=m in E?[m]:m.match(Ce)||[]),v=m.length;v--;)delete E[m[v]];(m===void 0||h.isEmptyObject(E))&&(u.nodeType?u[this.expando]=void 0:delete u[this.expando])}},hasData:function(u){var m=u[this.expando];return m!==void 0&&!h.isEmptyObject(m)}};var ve=new je,De=new je,bt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Kt=/[A-Z]/g;function Ht(u){return u==="true"?!0:u==="false"?!1:u==="null"?null:u===+u+""?+u:bt.test(u)?JSON.parse(u):u}function Gt(u,m,v){var E;if(v===void 0&&u.nodeType===1)if(E="data-"+m.replace(Kt,"-$&").toLowerCase(),v=u.getAttribute(E),typeof v=="string"){try{v=Ht(v)}catch{}De.set(u,m,v)}else v=void 0;return v}h.extend({hasData:function(u){return De.hasData(u)||ve.hasData(u)},data:function(u,m,v){return De.access(u,m,v)},removeData:function(u,m){De.remove(u,m)},_data:function(u,m,v){return ve.access(u,m,v)},_removeData:function(u,m){ve.remove(u,m)}}),h.fn.extend({data:function(u,m){var v,E,O,P=this[0],N=P&&P.attributes;if(u===void 0){if(this.length&&(O=De.get(P),P.nodeType===1&&!ve.get(P,"hasDataAttrs"))){for(v=N.length;v--;)N[v]&&(E=N[v].name,E.indexOf("data-")===0&&(E=Oe(E.slice(5)),Gt(P,E,O[E])));ve.set(P,"hasDataAttrs",!0)}return O}return typeof u=="object"?this.each(function(){De.set(this,u)}):ot(this,function(W){var J;if(P&&W===void 0)return J=De.get(P,u),J!==void 0||(J=Gt(P,u),J!==void 0)?J:void 0;this.each(function(){De.set(this,u,W)})},null,m,arguments.length>1,null,!0)},removeData:function(u){return this.each(function(){De.remove(this,u)})}}),h.extend({queue:function(u,m,v){var E;if(u)return m=(m||"fx")+"queue",E=ve.get(u,m),v&&(!E||Array.isArray(v)?E=ve.access(u,m,h.makeArray(v)):E.push(v)),E||[]},dequeue:function(u,m){m=m||"fx";var v=h.queue(u,m),E=v.length,O=v.shift(),P=h._queueHooks(u,m),N=function(){h.dequeue(u,m)};O==="inprogress"&&(O=v.shift(),E--),O&&(m==="fx"&&v.unshift("inprogress"),delete P.stop,O.call(u,N,P)),!E&&P&&P.empty.fire()},_queueHooks:function(u,m){var v=m+"queueHooks";return ve.get(u,v)||ve.access(u,v,{empty:h.Callbacks("once memory").add(function(){ve.remove(u,[m+"queue",v])})})}}),h.fn.extend({queue:function(u,m){var v=2;return typeof u!="string"&&(m=u,u="fx",v--),arguments.length<v?h.queue(this[0],u):m===void 0?this:this.each(function(){var E=h.queue(this,u,m);h._queueHooks(this,u),u==="fx"&&E[0]!=="inprogress"&&h.dequeue(this,u)})},dequeue:function(u){return this.each(function(){h.dequeue(this,u)})},clearQueue:function(u){return this.queue(u||"fx",[])},promise:function(u,m){var v,E=1,O=h.Deferred(),P=this,N=this.length,W=function(){--E||O.resolveWith(P,[P])};for(typeof u!="string"&&(m=u,u=void 0),u=u||"fx";N--;)v=ve.get(P[N],u+"queueHooks"),v&&v.empty&&(E++,v.empty.add(W));return W(),O.promise(m)}});var jt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Zt=new RegExp("^(?:([+-])=|)("+jt+")([a-z%]*)$","i"),At=["Top","Right","Bottom","Left"],Wt=_.documentElement,Or=function(u){return h.contains(u.ownerDocument,u)},so={composed:!0};Wt.getRootNode&&(Or=function(u){return h.contains(u.ownerDocument,u)||u.getRootNode(so)===u.ownerDocument});var zr=function(u,m){return u=m||u,u.style.display==="none"||u.style.display===""&&Or(u)&&h.css(u,"display")==="none"};function In(u,m,v,E){var O,P,N=20,W=E?function(){return E.cur()}:function(){return h.css(u,m,"")},J=W(),re=v&&v[3]||(h.cssNumber[m]?"":"px"),se=u.nodeType&&(h.cssNumber[m]||re!=="px"&&+J)&&Zt.exec(h.css(u,m));if(se&&se[3]!==re){for(J=J/2,re=re||se[3],se=+J||1;N--;)h.style(u,m,se+re),(1-P)*(1-(P=W()/J||.5))<=0&&(N=0),se=se/P;se=se*2,h.style(u,m,se+re),v=v||[]}return v&&(se=+se||+J||0,O=v[1]?se+(v[1]+1)*v[2]:+v[2],E&&(E.unit=re,E.start=se,E.end=O)),O}var qn={};function lo(u){var m,v=u.ownerDocument,E=u.nodeName,O=qn[E];return O||(m=v.body.appendChild(v.createElement(E)),O=h.css(m,"display"),m.parentNode.removeChild(m),O==="none"&&(O="block"),qn[E]=O,O)}function Ar(u,m){for(var v,E,O=[],P=0,N=u.length;P<N;P++)E=u[P],E.style&&(v=E.style.display,m?(v==="none"&&(O[P]=ve.get(E,"display")||null,O[P]||(E.style.display="")),E.style.display===""&&zr(E)&&(O[P]=lo(E))):v!=="none"&&(O[P]="none",ve.set(E,"display",v)));for(P=0;P<N;P++)O[P]!=null&&(u[P].style.display=O[P]);return u}h.fn.extend({show:function(){return Ar(this,!0)},hide:function(){return Ar(this)},toggle:function(u){return typeof u=="boolean"?u?this.show():this.hide():this.each(function(){zr(this)?h(this).show():h(this).hide()})}});var Dr=/^(?:checkbox|radio)$/i,jn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Mn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var u=_.createDocumentFragment(),m=u.appendChild(_.createElement("div")),v=_.createElement("input");v.setAttribute("type","radio"),v.setAttribute("checked","checked"),v.setAttribute("name","t"),m.appendChild(v),T.checkClone=m.cloneNode(!0).cloneNode(!0).lastChild.checked,m.innerHTML="<textarea>x</textarea>",T.noCloneChecked=!!m.cloneNode(!0).lastChild.defaultValue,m.innerHTML="<option></option>",T.option=!!m.lastChild})();var zt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};zt.tbody=zt.tfoot=zt.colgroup=zt.caption=zt.thead,zt.th=zt.td,T.option||(zt.optgroup=zt.option=[1,"<select multiple='multiple'>","</select>"]);function Mt(u,m){var v;return typeof u.getElementsByTagName<"u"?v=u.getElementsByTagName(m||"*"):typeof u.querySelectorAll<"u"?v=u.querySelectorAll(m||"*"):v=[],m===void 0||m&&oe(u,m)?h.merge([u],v):v}function un(u,m){for(var v=0,E=u.length;v<E;v++)ve.set(u[v],"globalEval",!m||ve.get(m[v],"globalEval"))}var uo=/<|&#?\w+;/;function Ln(u,m,v,E,O){for(var P,N,W,J,re,se,ye=m.createDocumentFragment(),ae=[],ce=0,Me=u.length;ce<Me;ce++)if(P=u[ce],P||P===0)if(D(P)==="object")h.merge(ae,P.nodeType?[P]:P);else if(!uo.test(P))ae.push(m.createTextNode(P));else{for(N=N||ye.appendChild(m.createElement("div")),W=(jn.exec(P)||["",""])[1].toLowerCase(),J=zt[W]||zt._default,N.innerHTML=J[1]+h.htmlPrefilter(P)+J[2],se=J[0];se--;)N=N.lastChild;h.merge(ae,N.childNodes),N=ye.firstChild,N.textContent=""}for(ye.textContent="",ce=0;P=ae[ce++];){if(E&&h.inArray(P,E)>-1){O&&O.push(P);continue}if(re=Or(P),N=Mt(ye.appendChild(P),"script"),re&&un(N),v)for(se=0;P=N[se++];)Mn.test(P.type||"")&&v.push(P)}return ye}var Yr=/^([^.]*)(?:\.(.+)|)/;function Pr(){return!0}function Lt(){return!1}function ke(u,m){return u===cn()==(m==="focus")}function cn(){try{return _.activeElement}catch{}}function ar(u,m,v,E,O,P){var N,W;if(typeof m=="object"){typeof v!="string"&&(E=E||v,v=void 0);for(W in m)ar(u,W,v,E,m[W],P);return u}if(E==null&&O==null?(O=v,E=v=void 0):O==null&&(typeof v=="string"?(O=E,E=void 0):(O=E,E=v,v=void 0)),O===!1)O=Lt;else if(!O)return u;return P===1&&(N=O,O=function(J){return h().off(J),N.apply(this,arguments)},O.guid=N.guid||(N.guid=h.guid++)),u.each(function(){h.event.add(this,m,O,E,v)})}h.event={global:{},add:function(u,m,v,E,O){var P,N,W,J,re,se,ye,ae,ce,Me,ze,Le=ve.get(u);if(qe(u))for(v.handler&&(P=v,v=P.handler,O=P.selector),O&&h.find.matchesSelector(Wt,O),v.guid||(v.guid=h.guid++),(J=Le.events)||(J=Le.events=Object.create(null)),(N=Le.handle)||(N=Le.handle=function(Bt){return typeof h<"u"&&h.event.triggered!==Bt.type?h.event.dispatch.apply(u,arguments):void 0}),m=(m||"").match(Ce)||[""],re=m.length;re--;)W=Yr.exec(m[re])||[],ce=ze=W[1],Me=(W[2]||"").split(".").sort(),ce&&(ye=h.event.special[ce]||{},ce=(O?ye.delegateType:ye.bindType)||ce,ye=h.event.special[ce]||{},se=h.extend({type:ce,origType:ze,data:E,handler:v,guid:v.guid,selector:O,needsContext:O&&h.expr.match.needsContext.test(O),namespace:Me.join(".")},P),(ae=J[ce])||(ae=J[ce]=[],ae.delegateCount=0,(!ye.setup||ye.setup.call(u,E,Me,N)===!1)&&u.addEventListener&&u.addEventListener(ce,N)),ye.add&&(ye.add.call(u,se),se.handler.guid||(se.handler.guid=v.guid)),O?ae.splice(ae.delegateCount++,0,se):ae.push(se),h.event.global[ce]=!0)},remove:function(u,m,v,E,O){var P,N,W,J,re,se,ye,ae,ce,Me,ze,Le=ve.hasData(u)&&ve.get(u);if(!(!Le||!(J=Le.events))){for(m=(m||"").match(Ce)||[""],re=m.length;re--;){if(W=Yr.exec(m[re])||[],ce=ze=W[1],Me=(W[2]||"").split(".").sort(),!ce){for(ce in J)h.event.remove(u,ce+m[re],v,E,!0);continue}for(ye=h.event.special[ce]||{},ce=(E?ye.delegateType:ye.bindType)||ce,ae=J[ce]||[],W=W[2]&&new RegExp("(^|\\.)"+Me.join("\\.(?:.*\\.|)")+"(\\.|$)"),N=P=ae.length;P--;)se=ae[P],(O||ze===se.origType)&&(!v||v.guid===se.guid)&&(!W||W.test(se.namespace))&&(!E||E===se.selector||E==="**"&&se.selector)&&(ae.splice(P,1),se.selector&&ae.delegateCount--,ye.remove&&ye.remove.call(u,se));N&&!ae.length&&((!ye.teardown||ye.teardown.call(u,Me,Le.handle)===!1)&&h.removeEvent(u,ce,Le.handle),delete J[ce])}h.isEmptyObject(J)&&ve.remove(u,"handle events")}},dispatch:function(u){var m,v,E,O,P,N,W=new Array(arguments.length),J=h.event.fix(u),re=(ve.get(this,"events")||Object.create(null))[J.type]||[],se=h.event.special[J.type]||{};for(W[0]=J,m=1;m<arguments.length;m++)W[m]=arguments[m];if(J.delegateTarget=this,!(se.preDispatch&&se.preDispatch.call(this,J)===!1)){for(N=h.event.handlers.call(this,J,re),m=0;(O=N[m++])&&!J.isPropagationStopped();)for(J.currentTarget=O.elem,v=0;(P=O.handlers[v++])&&!J.isImmediatePropagationStopped();)(!J.rnamespace||P.namespace===!1||J.rnamespace.test(P.namespace))&&(J.handleObj=P,J.data=P.data,E=((h.event.special[P.origType]||{}).handle||P.handler).apply(O.elem,W),E!==void 0&&(J.result=E)===!1&&(J.preventDefault(),J.stopPropagation()));return se.postDispatch&&se.postDispatch.call(this,J),J.result}},handlers:function(u,m){var v,E,O,P,N,W=[],J=m.delegateCount,re=u.target;if(J&&re.nodeType&&!(u.type==="click"&&u.button>=1)){for(;re!==this;re=re.parentNode||this)if(re.nodeType===1&&!(u.type==="click"&&re.disabled===!0)){for(P=[],N={},v=0;v<J;v++)E=m[v],O=E.selector+" ",N[O]===void 0&&(N[O]=E.needsContext?h(O,this).index(re)>-1:h.find(O,this,null,[re]).length),N[O]&&P.push(E);P.length&&W.push({elem:re,handlers:P})}}return re=this,J<m.length&&W.push({elem:re,handlers:m.slice(J)}),W},addProp:function(u,m){Object.defineProperty(h.Event.prototype,u,{enumerable:!0,configurable:!0,get:w(m)?function(){if(this.originalEvent)return m(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[u]},set:function(v){Object.defineProperty(this,u,{enumerable:!0,configurable:!0,writable:!0,value:v})}})},fix:function(u){return u[h.expando]?u:new h.Event(u)},special:{load:{noBubble:!0},click:{setup:function(u){var m=this||u;return Dr.test(m.type)&&m.click&&oe(m,"input")&&Tt(m,"click",Pr),!1},trigger:function(u){var m=this||u;return Dr.test(m.type)&&m.click&&oe(m,"input")&&Tt(m,"click"),!0},_default:function(u){var m=u.target;return Dr.test(m.type)&&m.click&&oe(m,"input")&&ve.get(m,"click")||oe(m,"a")}},beforeunload:{postDispatch:function(u){u.result!==void 0&&u.originalEvent&&(u.originalEvent.returnValue=u.result)}}}};function Tt(u,m,v){if(!v){ve.get(u,m)===void 0&&h.event.add(u,m,Pr);return}ve.set(u,m,!1),h.event.add(u,m,{namespace:!1,handler:function(E){var O,P,N=ve.get(this,m);if(E.isTrigger&1&&this[m]){if(N.length)(h.event.special[m]||{}).delegateType&&E.stopPropagation();else if(N=i.call(arguments),ve.set(this,m,N),O=v(this,m),this[m](),P=ve.get(this,m),N!==P||O?ve.set(this,m,!1):P={},N!==P)return E.stopImmediatePropagation(),E.preventDefault(),P&&P.value}else N.length&&(ve.set(this,m,{value:h.event.trigger(h.extend(N[0],h.Event.prototype),N.slice(1),this)}),E.stopImmediatePropagation())}})}h.removeEvent=function(u,m,v){u.removeEventListener&&u.removeEventListener(m,v)},h.Event=function(u,m){if(!(this instanceof h.Event))return new h.Event(u,m);u&&u.type?(this.originalEvent=u,this.type=u.type,this.isDefaultPrevented=u.defaultPrevented||u.defaultPrevented===void 0&&u.returnValue===!1?Pr:Lt,this.target=u.target&&u.target.nodeType===3?u.target.parentNode:u.target,this.currentTarget=u.currentTarget,this.relatedTarget=u.relatedTarget):this.type=u,m&&h.extend(this,m),this.timeStamp=u&&u.timeStamp||Date.now(),this[h.expando]=!0},h.Event.prototype={constructor:h.Event,isDefaultPrevented:Lt,isPropagationStopped:Lt,isImmediatePropagationStopped:Lt,isSimulated:!1,preventDefault:function(){var u=this.originalEvent;this.isDefaultPrevented=Pr,u&&!this.isSimulated&&u.preventDefault()},stopPropagation:function(){var u=this.originalEvent;this.isPropagationStopped=Pr,u&&!this.isSimulated&&u.stopPropagation()},stopImmediatePropagation:function(){var u=this.originalEvent;this.isImmediatePropagationStopped=Pr,u&&!this.isSimulated&&u.stopImmediatePropagation(),this.stopPropagation()}},h.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},h.event.addProp),h.each({focus:"focusin",blur:"focusout"},function(u,m){h.event.special[u]={setup:function(){return Tt(this,u,ke),!1},trigger:function(){return Tt(this,u),!0},_default:function(v){return ve.get(v.target,u)},delegateType:m}}),h.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(u,m){h.event.special[u]={delegateType:m,bindType:m,handle:function(v){var E,O=this,P=v.relatedTarget,N=v.handleObj;return(!P||P!==O&&!h.contains(O,P))&&(v.type=N.origType,E=N.handler.apply(this,arguments),v.type=m),E}}}),h.fn.extend({on:function(u,m,v,E){return ar(this,u,m,v,E)},one:function(u,m,v,E){return ar(this,u,m,v,E,1)},off:function(u,m,v){var E,O;if(u&&u.preventDefault&&u.handleObj)return E=u.handleObj,h(u.delegateTarget).off(E.namespace?E.origType+"."+E.namespace:E.origType,E.selector,E.handler),this;if(typeof u=="object"){for(O in u)this.off(O,m,u[O]);return this}return(m===!1||typeof m=="function")&&(v=m,m=void 0),v===!1&&(v=Lt),this.each(function(){h.event.remove(this,u,v,m)})}});var Te=/<script|<style|<link/i,co=/checked\s*(?:[^=]|=\s*.checked.)/i,Kr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ho(u,m){return oe(u,"table")&&oe(m.nodeType!==11?m:m.firstChild,"tr")&&h(u).children("tbody")[0]||u}function $t(u){return u.type=(u.getAttribute("type")!==null)+"/"+u.type,u}function Pi(u){return(u.type||"").slice(0,5)==="true/"?u.type=u.type.slice(5):u.removeAttribute("type"),u}function Go(u,m){var v,E,O,P,N,W,J;if(m.nodeType===1){if(ve.hasData(u)&&(P=ve.get(u),J=P.events,J)){ve.remove(m,"handle events");for(O in J)for(v=0,E=J[O].length;v<E;v++)h.event.add(m,O,J[O][v])}De.hasData(u)&&(N=De.access(u),W=h.extend({},N),De.set(m,W))}}function Xt(u,m){var v=m.nodeName.toLowerCase();v==="input"&&Dr.test(u.type)?m.checked=u.checked:(v==="input"||v==="textarea")&&(m.defaultValue=u.defaultValue)}function Xr(u,m,v,E){m=a(m);var O,P,N,W,J,re,se=0,ye=u.length,ae=ye-1,ce=m[0],Me=w(ce);if(Me||ye>1&&typeof ce=="string"&&!T.checkClone&&co.test(ce))return u.each(function(ze){var Le=u.eq(ze);Me&&(m[0]=ce.call(this,ze,Le.html())),Xr(Le,m,v,E)});if(ye&&(O=Ln(m,u[0].ownerDocument,!1,u,E),P=O.firstChild,O.childNodes.length===1&&(O=P),P||E)){for(N=h.map(Mt(O,"script"),$t),W=N.length;se<ye;se++)J=O,se!==ae&&(J=h.clone(J,!0,!0),W&&h.merge(N,Mt(J,"script"))),v.call(u[se],J,se);if(W)for(re=N[N.length-1].ownerDocument,h.map(N,Pi),se=0;se<W;se++)J=N[se],Mn.test(J.type||"")&&!ve.access(J,"globalEval")&&h.contains(re,J)&&(J.src&&(J.type||"").toLowerCase()!=="module"?h._evalUrl&&!J.noModule&&h._evalUrl(J.src,{nonce:J.nonce||J.getAttribute("nonce")},re):L(J.textContent.replace(Kr,""),J,re))}return u}function Qr(u,m,v){for(var E,O=m?h.filter(m,u):u,P=0;(E=O[P])!=null;P++)!v&&E.nodeType===1&&h.cleanData(Mt(E)),E.parentNode&&(v&&Or(E)&&un(Mt(E,"script")),E.parentNode.removeChild(E));return u}h.extend({htmlPrefilter:function(u){return u},clone:function(u,m,v){var E,O,P,N,W=u.cloneNode(!0),J=Or(u);if(!T.noCloneChecked&&(u.nodeType===1||u.nodeType===11)&&!h.isXMLDoc(u))for(N=Mt(W),P=Mt(u),E=0,O=P.length;E<O;E++)Xt(P[E],N[E]);if(m)if(v)for(P=P||Mt(u),N=N||Mt(W),E=0,O=P.length;E<O;E++)Go(P[E],N[E]);else Go(u,W);return N=Mt(W,"script"),N.length>0&&un(N,!J&&Mt(u,"script")),W},cleanData:function(u){for(var m,v,E,O=h.event.special,P=0;(v=u[P])!==void 0;P++)if(qe(v)){if(m=v[ve.expando]){if(m.events)for(E in m.events)O[E]?h.event.remove(v,E):h.removeEvent(v,E,m.handle);v[ve.expando]=void 0}v[De.expando]&&(v[De.expando]=void 0)}}}),h.fn.extend({detach:function(u){return Qr(this,u,!0)},remove:function(u){return Qr(this,u)},text:function(u){return ot(this,function(m){return m===void 0?h.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=m)})},null,u,arguments.length)},append:function(){return Xr(this,arguments,function(u){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=Ho(this,u);m.appendChild(u)}})},prepend:function(){return Xr(this,arguments,function(u){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=Ho(this,u);m.insertBefore(u,m.firstChild)}})},before:function(){return Xr(this,arguments,function(u){this.parentNode&&this.parentNode.insertBefore(u,this)})},after:function(){return Xr(this,arguments,function(u){this.parentNode&&this.parentNode.insertBefore(u,this.nextSibling)})},empty:function(){for(var u,m=0;(u=this[m])!=null;m++)u.nodeType===1&&(h.cleanData(Mt(u,!1)),u.textContent="");return this},clone:function(u,m){return u=u??!1,m=m??u,this.map(function(){return h.clone(this,u,m)})},html:function(u){return ot(this,function(m){var v=this[0]||{},E=0,O=this.length;if(m===void 0&&v.nodeType===1)return v.innerHTML;if(typeof m=="string"&&!Te.test(m)&&!zt[(jn.exec(m)||["",""])[1].toLowerCase()]){m=h.htmlPrefilter(m);try{for(;E<O;E++)v=this[E]||{},v.nodeType===1&&(h.cleanData(Mt(v,!1)),v.innerHTML=m);v=0}catch{}}v&&this.empty().append(m)},null,u,arguments.length)},replaceWith:function(){var u=[];return Xr(this,arguments,function(m){var v=this.parentNode;h.inArray(this,u)<0&&(h.cleanData(Mt(this)),v&&v.replaceChild(m,this))},u)}}),h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(u,m){h.fn[u]=function(v){for(var E,O=[],P=h(v),N=P.length-1,W=0;W<=N;W++)E=W===N?this:this.clone(!0),h(P[W])[m](E),l.apply(O,E.get());return this.pushStack(O)}});var po=new RegExp("^("+jt+")(?!px)[a-z%]+$","i"),fo=/^--/,Dn=function(u){var m=u.ownerDocument.defaultView;return(!m||!m.opener)&&(m=t),m.getComputedStyle(u)},kn=function(u,m,v){var E,O,P={};for(O in m)P[O]=u.style[O],u.style[O]=m[O];E=v.call(u);for(O in m)u.style[O]=P[O];return E},dn=new RegExp(At.join("|"),"i"),Wo="[\\x20\\t\\r\\n\\f]",s=new RegExp("^"+Wo+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Wo+"+$","g");(function(){function u(){if(re){J.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",re.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Wt.appendChild(J).appendChild(re);var se=t.getComputedStyle(re);v=se.top!=="1%",W=m(se.marginLeft)===12,re.style.right="60%",P=m(se.right)===36,E=m(se.width)===36,re.style.position="absolute",O=m(re.offsetWidth/3)===12,Wt.removeChild(J),re=null}}function m(se){return Math.round(parseFloat(se))}var v,E,O,P,N,W,J=_.createElement("div"),re=_.createElement("div");re.style&&(re.style.backgroundClip="content-box",re.cloneNode(!0).style.backgroundClip="",T.clearCloneStyle=re.style.backgroundClip==="content-box",h.extend(T,{boxSizingReliable:function(){return u(),E},pixelBoxStyles:function(){return u(),P},pixelPosition:function(){return u(),v},reliableMarginLeft:function(){return u(),W},scrollboxSize:function(){return u(),O},reliableTrDimensions:function(){var se,ye,ae,ce;return N==null&&(se=_.createElement("table"),ye=_.createElement("tr"),ae=_.createElement("div"),se.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ye.style.cssText="border:1px solid",ye.style.height="1px",ae.style.height="9px",ae.style.display="block",Wt.appendChild(se).appendChild(ye).appendChild(ae),ce=t.getComputedStyle(ye),N=parseInt(ce.height,10)+parseInt(ce.borderTopWidth,10)+parseInt(ce.borderBottomWidth,10)===ye.offsetHeight,Wt.removeChild(se)),N}}))})();function y(u,m,v){var E,O,P,N,W=fo.test(m),J=u.style;return v=v||Dn(u),v&&(N=v.getPropertyValue(m)||v[m],W&&(N=N.replace(s,"$1")),N===""&&!Or(u)&&(N=h.style(u,m)),!T.pixelBoxStyles()&&po.test(N)&&dn.test(m)&&(E=J.width,O=J.minWidth,P=J.maxWidth,J.minWidth=J.maxWidth=J.width=N,N=v.width,J.width=E,J.minWidth=O,J.maxWidth=P)),N!==void 0?N+"":N}function S(u,m){return{get:function(){if(u()){delete this.get;return}return(this.get=m).apply(this,arguments)}}}var q=["Webkit","Moz","ms"],X=_.createElement("div").style,le={};function Ee(u){for(var m=u[0].toUpperCase()+u.slice(1),v=q.length;v--;)if(u=q[v]+m,u in X)return u}function Fe(u){var m=h.cssProps[u]||le[u];return m||(u in X?u:le[u]=Ee(u)||u)}var He=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},Pt={letterSpacing:"0",fontWeight:"400"};function yt(u,m,v){var E=Zt.exec(m);return E?Math.max(0,E[2]-(v||0))+(E[3]||"px"):m}function sr(u,m,v,E,O,P){var N=m==="width"?1:0,W=0,J=0;if(v===(E?"border":"content"))return 0;for(;N<4;N+=2)v==="margin"&&(J+=h.css(u,v+At[N],!0,O)),E?(v==="content"&&(J-=h.css(u,"padding"+At[N],!0,O)),v!=="margin"&&(J-=h.css(u,"border"+At[N]+"Width",!0,O))):(J+=h.css(u,"padding"+At[N],!0,O),v!=="padding"?J+=h.css(u,"border"+At[N]+"Width",!0,O):W+=h.css(u,"border"+At[N]+"Width",!0,O));return!E&&P>=0&&(J+=Math.max(0,Math.ceil(u["offset"+m[0].toUpperCase()+m.slice(1)]-P-J-W-.5))||0),J}function $n(u,m,v){var E=Dn(u),O=!T.boxSizingReliable()||v,P=O&&h.css(u,"boxSizing",!1,E)==="border-box",N=P,W=y(u,m,E),J="offset"+m[0].toUpperCase()+m.slice(1);if(po.test(W)){if(!v)return W;W="auto"}return(!T.boxSizingReliable()&&P||!T.reliableTrDimensions()&&oe(u,"tr")||W==="auto"||!parseFloat(W)&&h.css(u,"display",!1,E)==="inline")&&u.getClientRects().length&&(P=h.css(u,"boxSizing",!1,E)==="border-box",N=J in u,N&&(W=u[J])),W=parseFloat(W)||0,W+sr(u,m,v||(P?"border":"content"),N,E,W)+"px"}h.extend({cssHooks:{opacity:{get:function(u,m){if(m){var v=y(u,"opacity");return v===""?"1":v}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(u,m,v,E){if(!(!u||u.nodeType===3||u.nodeType===8||!u.style)){var O,P,N,W=Oe(m),J=fo.test(m),re=u.style;if(J||(m=Fe(W)),N=h.cssHooks[m]||h.cssHooks[W],v!==void 0){if(P=typeof v,P==="string"&&(O=Zt.exec(v))&&O[1]&&(v=In(u,m,O),P="number"),v==null||v!==v)return;P==="number"&&!J&&(v+=O&&O[3]||(h.cssNumber[W]?"":"px")),!T.clearCloneStyle&&v===""&&m.indexOf("background")===0&&(re[m]="inherit"),(!N||!("set"in N)||(v=N.set(u,v,E))!==void 0)&&(J?re.setProperty(m,v):re[m]=v)}else return N&&"get"in N&&(O=N.get(u,!1,E))!==void 0?O:re[m]}},css:function(u,m,v,E){var O,P,N,W=Oe(m),J=fo.test(m);return J||(m=Fe(W)),N=h.cssHooks[m]||h.cssHooks[W],N&&"get"in N&&(O=N.get(u,!0,v)),O===void 0&&(O=y(u,m,E)),O==="normal"&&m in Pt&&(O=Pt[m]),v===""||v?(P=parseFloat(O),v===!0||isFinite(P)?P||0:O):O}}),h.each(["height","width"],function(u,m){h.cssHooks[m]={get:function(v,E,O){if(E)return He.test(h.css(v,"display"))&&(!v.getClientRects().length||!v.getBoundingClientRect().width)?kn(v,tt,function(){return $n(v,m,O)}):$n(v,m,O)},set:function(v,E,O){var P,N=Dn(v),W=!T.scrollboxSize()&&N.position==="absolute",J=W||O,re=J&&h.css(v,"boxSizing",!1,N)==="border-box",se=O?sr(v,m,O,re,N):0;return re&&W&&(se-=Math.ceil(v["offset"+m[0].toUpperCase()+m.slice(1)]-parseFloat(N[m])-sr(v,m,"border",!1,N)-.5)),se&&(P=Zt.exec(E))&&(P[3]||"px")!=="px"&&(v.style[m]=E,E=h.css(v,m)),yt(v,E,se)}}}),h.cssHooks.marginLeft=S(T.reliableMarginLeft,function(u,m){if(m)return(parseFloat(y(u,"marginLeft"))||u.getBoundingClientRect().left-kn(u,{marginLeft:0},function(){return u.getBoundingClientRect().left}))+"px"}),h.each({margin:"",padding:"",border:"Width"},function(u,m){h.cssHooks[u+m]={expand:function(v){for(var E=0,O={},P=typeof v=="string"?v.split(" "):[v];E<4;E++)O[u+At[E]+m]=P[E]||P[E-2]||P[0];return O}},u!=="margin"&&(h.cssHooks[u+m].set=yt)}),h.fn.extend({css:function(u,m){return ot(this,function(v,E,O){var P,N,W={},J=0;if(Array.isArray(E)){for(P=Dn(v),N=E.length;J<N;J++)W[E[J]]=h.css(v,E[J],!1,P);return W}return O!==void 0?h.style(v,E,O):h.css(v,E)},u,m,arguments.length>1)}});function ur(u,m,v,E,O){return new ur.prototype.init(u,m,v,E,O)}h.Tween=ur,ur.prototype={constructor:ur,init:function(u,m,v,E,O,P){this.elem=u,this.prop=v,this.easing=O||h.easing._default,this.options=m,this.start=this.now=this.cur(),this.end=E,this.unit=P||(h.cssNumber[v]?"":"px")},cur:function(){var u=ur.propHooks[this.prop];return u&&u.get?u.get(this):ur.propHooks._default.get(this)},run:function(u){var m,v=ur.propHooks[this.prop];return this.options.duration?this.pos=m=h.easing[this.easing](u,this.options.duration*u,0,1,this.options.duration):this.pos=m=u,this.now=(this.end-this.start)*m+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),v&&v.set?v.set(this):ur.propHooks._default.set(this),this}},ur.prototype.init.prototype=ur.prototype,ur.propHooks={_default:{get:function(u){var m;return u.elem.nodeType!==1||u.elem[u.prop]!=null&&u.elem.style[u.prop]==null?u.elem[u.prop]:(m=h.css(u.elem,u.prop,""),!m||m==="auto"?0:m)},set:function(u){h.fx.step[u.prop]?h.fx.step[u.prop](u):u.elem.nodeType===1&&(h.cssHooks[u.prop]||u.elem.style[Fe(u.prop)]!=null)?h.style(u.elem,u.prop,u.now+u.unit):u.elem[u.prop]=u.now}}},ur.propHooks.scrollTop=ur.propHooks.scrollLeft={set:function(u){u.elem.nodeType&&u.elem.parentNode&&(u.elem[u.prop]=u.now)}},h.easing={linear:function(u){return u},swing:function(u){return .5-Math.cos(u*Math.PI)/2},_default:"swing"},h.fx=ur.prototype.init,h.fx.step={};var zo,ka,t0=/^(?:toggle|show|hide)$/,r0=/queueHooks$/;function Cl(){ka&&(_.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Cl):t.setTimeout(Cl,h.fx.interval),h.fx.tick())}function of(){return t.setTimeout(function(){zo=void 0}),zo=Date.now()}function $a(u,m){var v,E=0,O={height:u};for(m=m?1:0;E<4;E+=2-m)v=At[E],O["margin"+v]=O["padding"+v]=u;return m&&(O.opacity=O.width=u),O}function af(u,m,v){for(var E,O=(kr.tweeners[m]||[]).concat(kr.tweeners["*"]),P=0,N=O.length;P<N;P++)if(E=O[P].call(v,m,u))return E}function n0(u,m,v){var E,O,P,N,W,J,re,se,ye="width"in m||"height"in m,ae=this,ce={},Me=u.style,ze=u.nodeType&&zr(u),Le=ve.get(u,"fxshow");v.queue||(N=h._queueHooks(u,"fx"),N.unqueued==null&&(N.unqueued=0,W=N.empty.fire,N.empty.fire=function(){N.unqueued||W()}),N.unqueued++,ae.always(function(){ae.always(function(){N.unqueued--,h.queue(u,"fx").length||N.empty.fire()})}));for(E in m)if(O=m[E],t0.test(O)){if(delete m[E],P=P||O==="toggle",O===(ze?"hide":"show"))if(O==="show"&&Le&&Le[E]!==void 0)ze=!0;else continue;ce[E]=Le&&Le[E]||h.style(u,E)}if(J=!h.isEmptyObject(m),!(!J&&h.isEmptyObject(ce))){ye&&u.nodeType===1&&(v.overflow=[Me.overflow,Me.overflowX,Me.overflowY],re=Le&&Le.display,re==null&&(re=ve.get(u,"display")),se=h.css(u,"display"),se==="none"&&(re?se=re:(Ar([u],!0),re=u.style.display||re,se=h.css(u,"display"),Ar([u]))),(se==="inline"||se==="inline-block"&&re!=null)&&h.css(u,"float")==="none"&&(J||(ae.done(function(){Me.display=re}),re==null&&(se=Me.display,re=se==="none"?"":se)),Me.display="inline-block")),v.overflow&&(Me.overflow="hidden",ae.always(function(){Me.overflow=v.overflow[0],Me.overflowX=v.overflow[1],Me.overflowY=v.overflow[2]})),J=!1;for(E in ce)J||(Le?"hidden"in Le&&(ze=Le.hidden):Le=ve.access(u,"fxshow",{display:re}),P&&(Le.hidden=!ze),ze&&Ar([u],!0),ae.done(function(){ze||Ar([u]),ve.remove(u,"fxshow");for(E in ce)h.style(u,E,ce[E])})),J=af(ze?Le[E]:0,E,ae),E in Le||(Le[E]=J.start,ze&&(J.end=J.start,J.start=0))}}function o0(u,m){var v,E,O,P,N;for(v in u)if(E=Oe(v),O=m[E],P=u[v],Array.isArray(P)&&(O=P[1],P=u[v]=P[0]),v!==E&&(u[E]=P,delete u[v]),N=h.cssHooks[E],N&&"expand"in N){P=N.expand(P),delete u[E];for(v in P)v in u||(u[v]=P[v],m[v]=O)}else m[E]=O}function kr(u,m,v){var E,O,P=0,N=kr.prefilters.length,W=h.Deferred().always(function(){delete J.elem}),J=function(){if(O)return!1;for(var ye=zo||of(),ae=Math.max(0,re.startTime+re.duration-ye),ce=ae/re.duration||0,Me=1-ce,ze=0,Le=re.tweens.length;ze<Le;ze++)re.tweens[ze].run(Me);return W.notifyWith(u,[re,Me,ae]),Me<1&&Le?ae:(Le||W.notifyWith(u,[re,1,0]),W.resolveWith(u,[re]),!1)},re=W.promise({elem:u,props:h.extend({},m),opts:h.extend(!0,{specialEasing:{},easing:h.easing._default},v),originalProperties:m,originalOptions:v,startTime:zo||of(),duration:v.duration,tweens:[],createTween:function(ye,ae){var ce=h.Tween(u,re.opts,ye,ae,re.opts.specialEasing[ye]||re.opts.easing);return re.tweens.push(ce),ce},stop:function(ye){var ae=0,ce=ye?re.tweens.length:0;if(O)return this;for(O=!0;ae<ce;ae++)re.tweens[ae].run(1);return ye?(W.notifyWith(u,[re,1,0]),W.resolveWith(u,[re,ye])):W.rejectWith(u,[re,ye]),this}}),se=re.props;for(o0(se,re.opts.specialEasing);P<N;P++)if(E=kr.prefilters[P].call(re,u,se,re.opts),E)return w(E.stop)&&(h._queueHooks(re.elem,re.opts.queue).stop=E.stop.bind(E)),E;return h.map(se,af,re),w(re.opts.start)&&re.opts.start.call(u,re),re.progress(re.opts.progress).done(re.opts.done,re.opts.complete).fail(re.opts.fail).always(re.opts.always),h.fx.timer(h.extend(J,{elem:u,anim:re,queue:re.opts.queue})),re}h.Animation=h.extend(kr,{tweeners:{"*":[function(u,m){var v=this.createTween(u,m);return In(v.elem,u,Zt.exec(m),v),v}]},tweener:function(u,m){w(u)?(m=u,u=["*"]):u=u.match(Ce);for(var v,E=0,O=u.length;E<O;E++)v=u[E],kr.tweeners[v]=kr.tweeners[v]||[],kr.tweeners[v].unshift(m)},prefilters:[n0],prefilter:function(u,m){m?kr.prefilters.unshift(u):kr.prefilters.push(u)}}),h.speed=function(u,m,v){var E=u&&typeof u=="object"?h.extend({},u):{complete:v||!v&&m||w(u)&&u,duration:u,easing:v&&m||m&&!w(m)&&m};return h.fx.off?E.duration=0:typeof E.duration!="number"&&(E.duration in h.fx.speeds?E.duration=h.fx.speeds[E.duration]:E.duration=h.fx.speeds._default),(E.queue==null||E.queue===!0)&&(E.queue="fx"),E.old=E.complete,E.complete=function(){w(E.old)&&E.old.call(this),E.queue&&h.dequeue(this,E.queue)},E},h.fn.extend({fadeTo:function(u,m,v,E){return this.filter(zr).css("opacity",0).show().end().animate({opacity:m},u,v,E)},animate:function(u,m,v,E){var O=h.isEmptyObject(u),P=h.speed(m,v,E),N=function(){var W=kr(this,h.extend({},u),P);(O||ve.get(this,"finish"))&&W.stop(!0)};return N.finish=N,O||P.queue===!1?this.each(N):this.queue(P.queue,N)},stop:function(u,m,v){var E=function(O){var P=O.stop;delete O.stop,P(v)};return typeof u!="string"&&(v=m,m=u,u=void 0),m&&this.queue(u||"fx",[]),this.each(function(){var O=!0,P=u!=null&&u+"queueHooks",N=h.timers,W=ve.get(this);if(P)W[P]&&W[P].stop&&E(W[P]);else for(P in W)W[P]&&W[P].stop&&r0.test(P)&&E(W[P]);for(P=N.length;P--;)N[P].elem===this&&(u==null||N[P].queue===u)&&(N[P].anim.stop(v),O=!1,N.splice(P,1));(O||!v)&&h.dequeue(this,u)})},finish:function(u){return u!==!1&&(u=u||"fx"),this.each(function(){var m,v=ve.get(this),E=v[u+"queue"],O=v[u+"queueHooks"],P=h.timers,N=E?E.length:0;for(v.finish=!0,h.queue(this,u,[]),O&&O.stop&&O.stop.call(this,!0),m=P.length;m--;)P[m].elem===this&&P[m].queue===u&&(P[m].anim.stop(!0),P.splice(m,1));for(m=0;m<N;m++)E[m]&&E[m].finish&&E[m].finish.call(this);delete v.finish})}}),h.each(["toggle","show","hide"],function(u,m){var v=h.fn[m];h.fn[m]=function(E,O,P){return E==null||typeof E=="boolean"?v.apply(this,arguments):this.animate($a(m,!0),E,O,P)}}),h.each({slideDown:$a("show"),slideUp:$a("hide"),slideToggle:$a("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(u,m){h.fn[u]=function(v,E,O){return this.animate(m,v,E,O)}}),h.timers=[],h.fx.tick=function(){var u,m=0,v=h.timers;for(zo=Date.now();m<v.length;m++)u=v[m],!u()&&v[m]===u&&v.splice(m--,1);v.length||h.fx.stop(),zo=void 0},h.fx.timer=function(u){h.timers.push(u),h.fx.start()},h.fx.interval=13,h.fx.start=function(){ka||(ka=!0,Cl())},h.fx.stop=function(){ka=null},h.fx.speeds={slow:600,fast:200,_default:400},h.fn.delay=function(u,m){return u=h.fx&&h.fx.speeds[u]||u,m=m||"fx",this.queue(m,function(v,E){var O=t.setTimeout(v,u);E.stop=function(){t.clearTimeout(O)}})},function(){var u=_.createElement("input"),m=_.createElement("select"),v=m.appendChild(_.createElement("option"));u.type="checkbox",T.checkOn=u.value!=="",T.optSelected=v.selected,u=_.createElement("input"),u.value="t",u.type="radio",T.radioValue=u.value==="t"}();var sf,Ci=h.expr.attrHandle;h.fn.extend({attr:function(u,m){return ot(this,h.attr,u,m,arguments.length>1)},removeAttr:function(u){return this.each(function(){h.removeAttr(this,u)})}}),h.extend({attr:function(u,m,v){var E,O,P=u.nodeType;if(!(P===3||P===8||P===2)){if(typeof u.getAttribute>"u")return h.prop(u,m,v);if((P!==1||!h.isXMLDoc(u))&&(O=h.attrHooks[m.toLowerCase()]||(h.expr.match.bool.test(m)?sf:void 0)),v!==void 0){if(v===null){h.removeAttr(u,m);return}return O&&"set"in O&&(E=O.set(u,v,m))!==void 0?E:(u.setAttribute(m,v+""),v)}return O&&"get"in O&&(E=O.get(u,m))!==null?E:(E=h.find.attr(u,m),E??void 0)}},attrHooks:{type:{set:function(u,m){if(!T.radioValue&&m==="radio"&&oe(u,"input")){var v=u.value;return u.setAttribute("type",m),v&&(u.value=v),m}}}},removeAttr:function(u,m){var v,E=0,O=m&&m.match(Ce);if(O&&u.nodeType===1)for(;v=O[E++];)u.removeAttribute(v)}}),sf={set:function(u,m,v){return m===!1?h.removeAttr(u,v):u.setAttribute(v,v),v}},h.each(h.expr.match.bool.source.match(/\w+/g),function(u,m){var v=Ci[m]||h.find.attr;Ci[m]=function(E,O,P){var N,W,J=O.toLowerCase();return P||(W=Ci[J],Ci[J]=N,N=v(E,O,P)!=null?J:null,Ci[J]=W),N}});var i0=/^(?:input|select|textarea|button)$/i,a0=/^(?:a|area)$/i;h.fn.extend({prop:function(u,m){return ot(this,h.prop,u,m,arguments.length>1)},removeProp:function(u){return this.each(function(){delete this[h.propFix[u]||u]})}}),h.extend({prop:function(u,m,v){var E,O,P=u.nodeType;if(!(P===3||P===8||P===2))return(P!==1||!h.isXMLDoc(u))&&(m=h.propFix[m]||m,O=h.propHooks[m]),v!==void 0?O&&"set"in O&&(E=O.set(u,v,m))!==void 0?E:u[m]=v:O&&"get"in O&&(E=O.get(u,m))!==null?E:u[m]},propHooks:{tabIndex:{get:function(u){var m=h.find.attr(u,"tabindex");return m?parseInt(m,10):i0.test(u.nodeName)||a0.test(u.nodeName)&&u.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),T.optSelected||(h.propHooks.selected={get:function(u){var m=u.parentNode;return m&&m.parentNode&&m.parentNode.selectedIndex,null},set:function(u){var m=u.parentNode;m&&(m.selectedIndex,m.parentNode&&m.parentNode.selectedIndex)}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this});function ho(u){var m=u.match(Ce)||[];return m.join(" ")}function mo(u){return u.getAttribute&&u.getAttribute("class")||""}function xl(u){return Array.isArray(u)?u:typeof u=="string"?u.match(Ce)||[]:[]}h.fn.extend({addClass:function(u){var m,v,E,O,P,N;return w(u)?this.each(function(W){h(this).addClass(u.call(this,W,mo(this)))}):(m=xl(u),m.length?this.each(function(){if(E=mo(this),v=this.nodeType===1&&" "+ho(E)+" ",v){for(P=0;P<m.length;P++)O=m[P],v.indexOf(" "+O+" ")<0&&(v+=O+" ");N=ho(v),E!==N&&this.setAttribute("class",N)}}):this)},removeClass:function(u){var m,v,E,O,P,N;return w(u)?this.each(function(W){h(this).removeClass(u.call(this,W,mo(this)))}):arguments.length?(m=xl(u),m.length?this.each(function(){if(E=mo(this),v=this.nodeType===1&&" "+ho(E)+" ",v){for(P=0;P<m.length;P++)for(O=m[P];v.indexOf(" "+O+" ")>-1;)v=v.replace(" "+O+" "," ");N=ho(v),E!==N&&this.setAttribute("class",N)}}):this):this.attr("class","")},toggleClass:function(u,m){var v,E,O,P,N=typeof u,W=N==="string"||Array.isArray(u);return w(u)?this.each(function(J){h(this).toggleClass(u.call(this,J,mo(this),m),m)}):typeof m=="boolean"&&W?m?this.addClass(u):this.removeClass(u):(v=xl(u),this.each(function(){if(W)for(P=h(this),O=0;O<v.length;O++)E=v[O],P.hasClass(E)?P.removeClass(E):P.addClass(E);else(u===void 0||N==="boolean")&&(E=mo(this),E&&ve.set(this,"__className__",E),this.setAttribute&&this.setAttribute("class",E||u===!1?"":ve.get(this,"__className__")||""))}))},hasClass:function(u){var m,v,E=0;for(m=" "+u+" ";v=this[E++];)if(v.nodeType===1&&(" "+ho(mo(v))+" ").indexOf(m)>-1)return!0;return!1}});var s0=/\r/g;h.fn.extend({val:function(u){var m,v,E,O=this[0];return arguments.length?(E=w(u),this.each(function(P){var N;this.nodeType===1&&(E?N=u.call(this,P,h(this).val()):N=u,N==null?N="":typeof N=="number"?N+="":Array.isArray(N)&&(N=h.map(N,function(W){return W==null?"":W+""})),m=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()],(!m||!("set"in m)||m.set(this,N,"value")===void 0)&&(this.value=N))})):O?(m=h.valHooks[O.type]||h.valHooks[O.nodeName.toLowerCase()],m&&"get"in m&&(v=m.get(O,"value"))!==void 0?v:(v=O.value,typeof v=="string"?v.replace(s0,""):v??"")):void 0}}),h.extend({valHooks:{option:{get:function(u){var m=h.find.attr(u,"value");return m??ho(h.text(u))}},select:{get:function(u){var m,v,E,O=u.options,P=u.selectedIndex,N=u.type==="select-one",W=N?null:[],J=N?P+1:O.length;for(P<0?E=J:E=N?P:0;E<J;E++)if(v=O[E],(v.selected||E===P)&&!v.disabled&&(!v.parentNode.disabled||!oe(v.parentNode,"optgroup"))){if(m=h(v).val(),N)return m;W.push(m)}return W},set:function(u,m){for(var v,E,O=u.options,P=h.makeArray(m),N=O.length;N--;)E=O[N],(E.selected=h.inArray(h.valHooks.option.get(E),P)>-1)&&(v=!0);return v||(u.selectedIndex=-1),P}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(u,m){if(Array.isArray(m))return u.checked=h.inArray(h(u).val(),m)>-1}},T.checkOn||(h.valHooks[this].get=function(u){return u.getAttribute("value")===null?"on":u.value})}),T.focusin="onfocusin"in t;var lf=/^(?:focusinfocus|focusoutblur)$/,uf=function(u){u.stopPropagation()};h.extend(h.event,{trigger:function(u,m,v,E){var O,P,N,W,J,re,se,ye,ae=[v||_],ce=f.call(u,"type")?u.type:u,Me=f.call(u,"namespace")?u.namespace.split("."):[];if(P=ye=N=v=v||_,!(v.nodeType===3||v.nodeType===8)&&!lf.test(ce+h.event.triggered)&&(ce.indexOf(".")>-1&&(Me=ce.split("."),ce=Me.shift(),Me.sort()),J=ce.indexOf(":")<0&&"on"+ce,u=u[h.expando]?u:new h.Event(ce,typeof u=="object"&&u),u.isTrigger=E?2:3,u.namespace=Me.join("."),u.rnamespace=u.namespace?new RegExp("(^|\\.)"+Me.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,u.result=void 0,u.target||(u.target=v),m=m==null?[u]:h.makeArray(m,[u]),se=h.event.special[ce]||{},!(!E&&se.trigger&&se.trigger.apply(v,m)===!1))){if(!E&&!se.noBubble&&!R(v)){for(W=se.delegateType||ce,lf.test(W+ce)||(P=P.parentNode);P;P=P.parentNode)ae.push(P),N=P;N===(v.ownerDocument||_)&&ae.push(N.defaultView||N.parentWindow||t)}for(O=0;(P=ae[O++])&&!u.isPropagationStopped();)ye=P,u.type=O>1?W:se.bindType||ce,re=(ve.get(P,"events")||Object.create(null))[u.type]&&ve.get(P,"handle"),re&&re.apply(P,m),re=J&&P[J],re&&re.apply&&qe(P)&&(u.result=re.apply(P,m),u.result===!1&&u.preventDefault());return u.type=ce,!E&&!u.isDefaultPrevented()&&(!se._default||se._default.apply(ae.pop(),m)===!1)&&qe(v)&&J&&w(v[ce])&&!R(v)&&(N=v[J],N&&(v[J]=null),h.event.triggered=ce,u.isPropagationStopped()&&ye.addEventListener(ce,uf),v[ce](),u.isPropagationStopped()&&ye.removeEventListener(ce,uf),h.event.triggered=void 0,N&&(v[J]=N)),u.result}},simulate:function(u,m,v){var E=h.extend(new h.Event,v,{type:u,isSimulated:!0});h.event.trigger(E,null,m)}}),h.fn.extend({trigger:function(u,m){return this.each(function(){h.event.trigger(u,m,this)})},triggerHandler:function(u,m){var v=this[0];if(v)return h.event.trigger(u,m,v,!0)}}),T.focusin||h.each({focus:"focusin",blur:"focusout"},function(u,m){var v=function(E){h.event.simulate(m,E.target,h.event.fix(E))};h.event.special[m]={setup:function(){var E=this.ownerDocument||this.document||this,O=ve.access(E,m);O||E.addEventListener(u,v,!0),ve.access(E,m,(O||0)+1)},teardown:function(){var E=this.ownerDocument||this.document||this,O=ve.access(E,m)-1;O?ve.access(E,m,O):(E.removeEventListener(u,v,!0),ve.remove(E,m))}}});var xi=t.location,cf={guid:Date.now()},Nl=/\?/;h.parseXML=function(u){var m,v;if(!u||typeof u!="string")return null;try{m=new t.DOMParser().parseFromString(u,"text/xml")}catch{}return v=m&&m.getElementsByTagName("parsererror")[0],(!m||v)&&h.error("Invalid XML: "+(v?h.map(v.childNodes,function(E){return E.textContent}).join(`
  916. `):u)),m};var l0=/\[\]$/,df=/\r?\n/g,u0=/^(?:submit|button|image|reset|file)$/i,c0=/^(?:input|select|textarea|keygen)/i;function Il(u,m,v,E){var O;if(Array.isArray(m))h.each(m,function(P,N){v||l0.test(u)?E(u,N):Il(u+"["+(typeof N=="object"&&N!=null?P:"")+"]",N,v,E)});else if(!v&&D(m)==="object")for(O in m)Il(u+"["+O+"]",m[O],v,E);else E(u,m)}h.param=function(u,m){var v,E=[],O=function(P,N){var W=w(N)?N():N;E[E.length]=encodeURIComponent(P)+"="+encodeURIComponent(W??"")};if(u==null)return"";if(Array.isArray(u)||u.jquery&&!h.isPlainObject(u))h.each(u,function(){O(this.name,this.value)});else for(v in u)Il(v,u[v],m,O);return E.join("&")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var u=h.prop(this,"elements");return u?h.makeArray(u):this}).filter(function(){var u=this.type;return this.name&&!h(this).is(":disabled")&&c0.test(this.nodeName)&&!u0.test(u)&&(this.checked||!Dr.test(u))}).map(function(u,m){var v=h(this).val();return v==null?null:Array.isArray(v)?h.map(v,function(E){return{name:m.name,value:E.replace(df,`\r
  917. `)}}):{name:m.name,value:v.replace(df,`\r
  918. `)}}).get()}});var d0=/%20/g,p0=/#.*$/,f0=/([?&])_=[^&]*/,h0=/^(.*?):[ \t]*([^\r\n]*)$/mg,m0=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,y0=/^(?:GET|HEAD)$/,g0=/^\/\//,pf={},ql={},ff="*/".concat("*"),jl=_.createElement("a");jl.href=xi.href;function hf(u){return function(m,v){typeof m!="string"&&(v=m,m="*");var E,O=0,P=m.toLowerCase().match(Ce)||[];if(w(v))for(;E=P[O++];)E[0]==="+"?(E=E.slice(1)||"*",(u[E]=u[E]||[]).unshift(v)):(u[E]=u[E]||[]).push(v)}}function mf(u,m,v,E){var O={},P=u===ql;function N(W){var J;return O[W]=!0,h.each(u[W]||[],function(re,se){var ye=se(m,v,E);if(typeof ye=="string"&&!P&&!O[ye])return m.dataTypes.unshift(ye),N(ye),!1;if(P)return!(J=ye)}),J}return N(m.dataTypes[0])||!O["*"]&&N("*")}function Ml(u,m){var v,E,O=h.ajaxSettings.flatOptions||{};for(v in m)m[v]!==void 0&&((O[v]?u:E||(E={}))[v]=m[v]);return E&&h.extend(!0,u,E),u}function b0(u,m,v){for(var E,O,P,N,W=u.contents,J=u.dataTypes;J[0]==="*";)J.shift(),E===void 0&&(E=u.mimeType||m.getResponseHeader("Content-Type"));if(E){for(O in W)if(W[O]&&W[O].test(E)){J.unshift(O);break}}if(J[0]in v)P=J[0];else{for(O in v){if(!J[0]||u.converters[O+" "+J[0]]){P=O;break}N||(N=O)}P=P||N}if(P)return P!==J[0]&&J.unshift(P),v[P]}function v0(u,m,v,E){var O,P,N,W,J,re={},se=u.dataTypes.slice();if(se[1])for(N in u.converters)re[N.toLowerCase()]=u.converters[N];for(P=se.shift();P;)if(u.responseFields[P]&&(v[u.responseFields[P]]=m),!J&&E&&u.dataFilter&&(m=u.dataFilter(m,u.dataType)),J=P,P=se.shift(),P){if(P==="*")P=J;else if(J!=="*"&&J!==P){if(N=re[J+" "+P]||re["* "+P],!N){for(O in re)if(W=O.split(" "),W[1]===P&&(N=re[J+" "+W[0]]||re["* "+W[0]],N)){N===!0?N=re[O]:re[O]!==!0&&(P=W[0],se.unshift(W[1]));break}}if(N!==!0)if(N&&u.throws)m=N(m);else try{m=N(m)}catch(ye){return{state:"parsererror",error:N?ye:"No conversion from "+J+" to "+P}}}}return{state:"success",data:m}}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xi.href,type:"GET",isLocal:m0.test(xi.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ff,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(u,m){return m?Ml(Ml(u,h.ajaxSettings),m):Ml(h.ajaxSettings,u)},ajaxPrefilter:hf(pf),ajaxTransport:hf(ql),ajax:function(u,m){typeof u=="object"&&(m=u,u=void 0),m=m||{};var v,E,O,P,N,W,J,re,se,ye,ae=h.ajaxSetup({},m),ce=ae.context||ae,Me=ae.context&&(ce.nodeType||ce.jquery)?h(ce):h.event,ze=h.Deferred(),Le=h.Callbacks("once memory"),Bt=ae.statusCode||{},Dt={},yr={},dt="canceled",We={readyState:0,getResponseHeader:function(it){var Rt;if(J){if(!P)for(P={};Rt=h0.exec(O);)P[Rt[1].toLowerCase()+" "]=(P[Rt[1].toLowerCase()+" "]||[]).concat(Rt[2]);Rt=P[it.toLowerCase()+" "]}return Rt==null?null:Rt.join(", ")},getAllResponseHeaders:function(){return J?O:null},setRequestHeader:function(it,Rt){return J==null&&(it=yr[it.toLowerCase()]=yr[it.toLowerCase()]||it,Dt[it]=Rt),this},overrideMimeType:function(it){return J==null&&(ae.mimeType=it),this},statusCode:function(it){var Rt;if(it)if(J)We.always(it[We.status]);else for(Rt in it)Bt[Rt]=[Bt[Rt],it[Rt]];return this},abort:function(it){var Rt=it||dt;return v&&v.abort(Rt),cr(0,Rt),this}};if(ze.promise(We),ae.url=((u||ae.url||xi.href)+"").replace(g0,xi.protocol+"//"),ae.type=m.method||m.type||ae.method||ae.type,ae.dataTypes=(ae.dataType||"*").toLowerCase().match(Ce)||[""],ae.crossDomain==null){W=_.createElement("a");try{W.href=ae.url,W.href=W.href,ae.crossDomain=jl.protocol+"//"+jl.host!=W.protocol+"//"+W.host}catch{ae.crossDomain=!0}}if(ae.data&&ae.processData&&typeof ae.data!="string"&&(ae.data=h.param(ae.data,ae.traditional)),mf(pf,ae,m,We),J)return We;re=h.event&&ae.global,re&&h.active++===0&&h.event.trigger("ajaxStart"),ae.type=ae.type.toUpperCase(),ae.hasContent=!y0.test(ae.type),E=ae.url.replace(p0,""),ae.hasContent?ae.data&&ae.processData&&(ae.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ae.data=ae.data.replace(d0,"+")):(ye=ae.url.slice(E.length),ae.data&&(ae.processData||typeof ae.data=="string")&&(E+=(Nl.test(E)?"&":"?")+ae.data,delete ae.data),ae.cache===!1&&(E=E.replace(f0,"$1"),ye=(Nl.test(E)?"&":"?")+"_="+cf.guid+++ye),ae.url=E+ye),ae.ifModified&&(h.lastModified[E]&&We.setRequestHeader("If-Modified-Since",h.lastModified[E]),h.etag[E]&&We.setRequestHeader("If-None-Match",h.etag[E])),(ae.data&&ae.hasContent&&ae.contentType!==!1||m.contentType)&&We.setRequestHeader("Content-Type",ae.contentType),We.setRequestHeader("Accept",ae.dataTypes[0]&&ae.accepts[ae.dataTypes[0]]?ae.accepts[ae.dataTypes[0]]+(ae.dataTypes[0]!=="*"?", "+ff+"; q=0.01":""):ae.accepts["*"]);for(se in ae.headers)We.setRequestHeader(se,ae.headers[se]);if(ae.beforeSend&&(ae.beforeSend.call(ce,We,ae)===!1||J))return We.abort();if(dt="abort",Le.add(ae.complete),We.done(ae.success),We.fail(ae.error),v=mf(ql,ae,m,We),!v)cr(-1,"No Transport");else{if(We.readyState=1,re&&Me.trigger("ajaxSend",[We,ae]),J)return We;ae.async&&ae.timeout>0&&(N=t.setTimeout(function(){We.abort("timeout")},ae.timeout));try{J=!1,v.send(Dt,cr)}catch(it){if(J)throw it;cr(-1,it)}}function cr(it,Rt,Ii,Ba){var gr,yo,go,dr,Bn,Cr=Rt;J||(J=!0,N&&t.clearTimeout(N),v=void 0,O=Ba||"",We.readyState=it>0?4:0,gr=it>=200&&it<300||it===304,Ii&&(dr=b0(ae,We,Ii)),!gr&&h.inArray("script",ae.dataTypes)>-1&&h.inArray("json",ae.dataTypes)<0&&(ae.converters["text script"]=function(){}),dr=v0(ae,dr,We,gr),gr?(ae.ifModified&&(Bn=We.getResponseHeader("Last-Modified"),Bn&&(h.lastModified[E]=Bn),Bn=We.getResponseHeader("etag"),Bn&&(h.etag[E]=Bn)),it===204||ae.type==="HEAD"?Cr="nocontent":it===304?Cr="notmodified":(Cr=dr.state,yo=dr.data,go=dr.error,gr=!go)):(go=Cr,(it||!Cr)&&(Cr="error",it<0&&(it=0))),We.status=it,We.statusText=(Rt||Cr)+"",gr?ze.resolveWith(ce,[yo,Cr,We]):ze.rejectWith(ce,[We,Cr,go]),We.statusCode(Bt),Bt=void 0,re&&Me.trigger(gr?"ajaxSuccess":"ajaxError",[We,ae,gr?yo:go]),Le.fireWith(ce,[We,Cr]),re&&(Me.trigger("ajaxComplete",[We,ae]),--h.active||h.event.trigger("ajaxStop")))}return We},getJSON:function(u,m,v){return h.get(u,m,v,"json")},getScript:function(u,m){return h.get(u,void 0,m,"script")}}),h.each(["get","post"],function(u,m){h[m]=function(v,E,O,P){return w(E)&&(P=P||O,O=E,E=void 0),h.ajax(h.extend({url:v,type:m,dataType:P,data:E,success:O},h.isPlainObject(v)&&v))}}),h.ajaxPrefilter(function(u){var m;for(m in u.headers)m.toLowerCase()==="content-type"&&(u.contentType=u.headers[m]||"")}),h._evalUrl=function(u,m,v){return h.ajax({url:u,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(E){h.globalEval(E,m,v)}})},h.fn.extend({wrapAll:function(u){var m;return this[0]&&(w(u)&&(u=u.call(this[0])),m=h(u,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&m.insertBefore(this[0]),m.map(function(){for(var v=this;v.firstElementChild;)v=v.firstElementChild;return v}).append(this)),this},wrapInner:function(u){return w(u)?this.each(function(m){h(this).wrapInner(u.call(this,m))}):this.each(function(){var m=h(this),v=m.contents();v.length?v.wrapAll(u):m.append(u)})},wrap:function(u){var m=w(u);return this.each(function(v){h(this).wrapAll(m?u.call(this,v):u)})},unwrap:function(u){return this.parent(u).not("body").each(function(){h(this).replaceWith(this.childNodes)}),this}}),h.expr.pseudos.hidden=function(u){return!h.expr.pseudos.visible(u)},h.expr.pseudos.visible=function(u){return!!(u.offsetWidth||u.offsetHeight||u.getClientRects().length)},h.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var E0={0:200,1223:204},Ni=h.ajaxSettings.xhr();T.cors=!!Ni&&"withCredentials"in Ni,T.ajax=Ni=!!Ni,h.ajaxTransport(function(u){var m,v;if(T.cors||Ni&&!u.crossDomain)return{send:function(E,O){var P,N=u.xhr();if(N.open(u.type,u.url,u.async,u.username,u.password),u.xhrFields)for(P in u.xhrFields)N[P]=u.xhrFields[P];u.mimeType&&N.overrideMimeType&&N.overrideMimeType(u.mimeType),!u.crossDomain&&!E["X-Requested-With"]&&(E["X-Requested-With"]="XMLHttpRequest");for(P in E)N.setRequestHeader(P,E[P]);m=function(W){return function(){m&&(m=v=N.onload=N.onerror=N.onabort=N.ontimeout=N.onreadystatechange=null,W==="abort"?N.abort():W==="error"?typeof N.status!="number"?O(0,"error"):O(N.status,N.statusText):O(E0[N.status]||N.status,N.statusText,(N.responseType||"text")!=="text"||typeof N.responseText!="string"?{binary:N.response}:{text:N.responseText},N.getAllResponseHeaders()))}},N.onload=m(),v=N.onerror=N.ontimeout=m("error"),N.onabort!==void 0?N.onabort=v:N.onreadystatechange=function(){N.readyState===4&&t.setTimeout(function(){m&&v()})},m=m("abort");try{N.send(u.hasContent&&u.data||null)}catch(W){if(m)throw W}},abort:function(){m&&m()}}}),h.ajaxPrefilter(function(u){u.crossDomain&&(u.contents.script=!1)}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(u){return h.globalEval(u),u}}}),h.ajaxPrefilter("script",function(u){u.cache===void 0&&(u.cache=!1),u.crossDomain&&(u.type="GET")}),h.ajaxTransport("script",function(u){if(u.crossDomain||u.scriptAttrs){var m,v;return{send:function(E,O){m=h("<script>").attr(u.scriptAttrs||{}).prop({charset:u.scriptCharset,src:u.url}).on("load error",v=function(P){m.remove(),v=null,P&&O(P.type==="error"?404:200,P.type)}),_.head.appendChild(m[0])},abort:function(){v&&v()}}}});var yf=[],Ll=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var u=yf.pop()||h.expando+"_"+cf.guid++;return this[u]=!0,u}}),h.ajaxPrefilter("json jsonp",function(u,m,v){var E,O,P,N=u.jsonp!==!1&&(Ll.test(u.url)?"url":typeof u.data=="string"&&(u.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Ll.test(u.data)&&"data");if(N||u.dataTypes[0]==="jsonp")return E=u.jsonpCallback=w(u.jsonpCallback)?u.jsonpCallback():u.jsonpCallback,N?u[N]=u[N].replace(Ll,"$1"+E):u.jsonp!==!1&&(u.url+=(Nl.test(u.url)?"&":"?")+u.jsonp+"="+E),u.converters["script json"]=function(){return P||h.error(E+" was not called"),P[0]},u.dataTypes[0]="json",O=t[E],t[E]=function(){P=arguments},v.always(function(){O===void 0?h(t).removeProp(E):t[E]=O,u[E]&&(u.jsonpCallback=m.jsonpCallback,yf.push(E)),P&&w(O)&&O(P[0]),P=O=void 0}),"script"}),T.createHTMLDocument=function(){var u=_.implementation.createHTMLDocument("").body;return u.innerHTML="<form></form><form></form>",u.childNodes.length===2}(),h.parseHTML=function(u,m,v){if(typeof u!="string")return[];typeof m=="boolean"&&(v=m,m=!1);var E,O,P;return m||(T.createHTMLDocument?(m=_.implementation.createHTMLDocument(""),E=m.createElement("base"),E.href=_.location.href,m.head.appendChild(E)):m=_),O=U.exec(u),P=!v&&[],O?[m.createElement(O[1])]:(O=Ln([u],m,P),P&&P.length&&h(P).remove(),h.merge([],O.childNodes))},h.fn.load=function(u,m,v){var E,O,P,N=this,W=u.indexOf(" ");return W>-1&&(E=ho(u.slice(W)),u=u.slice(0,W)),w(m)?(v=m,m=void 0):m&&typeof m=="object"&&(O="POST"),N.length>0&&h.ajax({url:u,type:O||"GET",dataType:"html",data:m}).done(function(J){P=arguments,N.html(E?h("<div>").append(h.parseHTML(J)).find(E):J)}).always(v&&function(J,re){N.each(function(){v.apply(this,P||[J.responseText,re,J])})}),this},h.expr.pseudos.animated=function(u){return h.grep(h.timers,function(m){return u===m.elem}).length},h.offset={setOffset:function(u,m,v){var E,O,P,N,W,J,re,se=h.css(u,"position"),ye=h(u),ae={};se==="static"&&(u.style.position="relative"),W=ye.offset(),P=h.css(u,"top"),J=h.css(u,"left"),re=(se==="absolute"||se==="fixed")&&(P+J).indexOf("auto")>-1,re?(E=ye.position(),N=E.top,O=E.left):(N=parseFloat(P)||0,O=parseFloat(J)||0),w(m)&&(m=m.call(u,v,h.extend({},W))),m.top!=null&&(ae.top=m.top-W.top+N),m.left!=null&&(ae.left=m.left-W.left+O),"using"in m?m.using.call(u,ae):ye.css(ae)}},h.fn.extend({offset:function(u){if(arguments.length)return u===void 0?this:this.each(function(O){h.offset.setOffset(this,u,O)});var m,v,E=this[0];if(E)return E.getClientRects().length?(m=E.getBoundingClientRect(),v=E.ownerDocument.defaultView,{top:m.top+v.pageYOffset,left:m.left+v.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var u,m,v,E=this[0],O={top:0,left:0};if(h.css(E,"position")==="fixed")m=E.getBoundingClientRect();else{for(m=this.offset(),v=E.ownerDocument,u=E.offsetParent||v.documentElement;u&&(u===v.body||u===v.documentElement)&&h.css(u,"position")==="static";)u=u.parentNode;u&&u!==E&&u.nodeType===1&&(O=h(u).offset(),O.top+=h.css(u,"borderTopWidth",!0),O.left+=h.css(u,"borderLeftWidth",!0))}return{top:m.top-O.top-h.css(E,"marginTop",!0),left:m.left-O.left-h.css(E,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var u=this.offsetParent;u&&h.css(u,"position")==="static";)u=u.offsetParent;return u||Wt})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(u,m){var v=m==="pageYOffset";h.fn[u]=function(E){return ot(this,function(O,P,N){var W;if(R(O)?W=O:O.nodeType===9&&(W=O.defaultView),N===void 0)return W?W[m]:O[P];W?W.scrollTo(v?W.pageXOffset:N,v?N:W.pageYOffset):O[P]=N},u,E,arguments.length)}}),h.each(["top","left"],function(u,m){h.cssHooks[m]=S(T.pixelPosition,function(v,E){if(E)return E=y(v,m),po.test(E)?h(v).position()[m]+"px":E})}),h.each({Height:"height",Width:"width"},function(u,m){h.each({padding:"inner"+u,content:m,"":"outer"+u},function(v,E){h.fn[E]=function(O,P){var N=arguments.length&&(v||typeof O!="boolean"),W=v||(O===!0||P===!0?"margin":"border");return ot(this,function(J,re,se){var ye;return R(J)?E.indexOf("outer")===0?J["inner"+u]:J.document.documentElement["client"+u]:J.nodeType===9?(ye=J.documentElement,Math.max(J.body["scroll"+u],ye["scroll"+u],J.body["offset"+u],ye["offset"+u],ye["client"+u])):se===void 0?h.css(J,re,W):h.style(J,re,se,W)},m,N?O:void 0,N)}})}),h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(u,m){h.fn[m]=function(v){return this.on(m,v)}}),h.fn.extend({bind:function(u,m,v){return this.on(u,null,m,v)},unbind:function(u,m){return this.off(u,null,m)},delegate:function(u,m,v,E){return this.on(m,u,v,E)},undelegate:function(u,m,v){return arguments.length===1?this.off(u,"**"):this.off(m,u||"**",v)},hover:function(u,m){return this.mouseenter(u).mouseleave(m||u)}}),h.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(u,m){h.fn[m]=function(v,E){return arguments.length>0?this.on(m,null,v,E):this.trigger(m)}});var T0=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;h.proxy=function(u,m){var v,E,O;if(typeof m=="string"&&(v=u[m],m=u,u=v),!!w(u))return E=i.call(arguments,2),O=function(){return u.apply(m||this,E.concat(i.call(arguments)))},O.guid=u.guid=u.guid||h.guid++,O},h.holdReady=function(u){u?h.readyWait++:h.ready(!0)},h.isArray=Array.isArray,h.parseJSON=JSON.parse,h.nodeName=oe,h.isFunction=w,h.isWindow=R,h.camelCase=Oe,h.type=D,h.now=Date.now,h.isNumeric=function(u){var m=h.type(u);return(m==="number"||m==="string")&&!isNaN(u-parseFloat(u))},h.trim=function(u){return u==null?"":(u+"").replace(T0,"$1")};var w0=t.jQuery,_0=t.$;return h.noConflict=function(u){return t.$===h&&(t.$=_0),u&&t.jQuery===h&&(t.jQuery=w0),h},typeof r>"u"&&(t.jQuery=t.$=h),h})})(e0);var MW=e0.exports;const Ei=ZS(MW);class Iu{static fireETrackerEvent(t,r,n,o){if(typeof window.ET_Event<"u")try{window.ET_Event.eventStart(t,r,n,o)}catch{}}static initEtrackerCookies(){Cookiebot.consent.statistics?_etracker.enableCookies(window.location.host):_etracker.disableCookies(window.location.host)}}class vn{static initUI(){vn.initPrintDialog(),vn.initfileupload(),vn.initTrackEventElementAnalytics(),vn.disbaleInitialForNewsletterSubPage(),vn.initEtrackerOnCookiebotEvent(),vn.initEtrackerOnUsercentricsEvent(),vn.initEmptyAnchorLinks()}static initEtrackerOnCookiebotEvent(){typeof ihk<"u"&&ihk.settings&&ihk.settings.etrackerCookieless===!1&&window.addEventListener("CookiebotOnConsentReady",Iu.initEtrackerCookies,!1)}static initEtrackerOnUsercentricsEvent(){window.addEventListener("onConsentStatusChange",Iu.initEtrackerUsercentricsCookies,!1)}static initTrackEventElementAnalytics(){window.isPbe||$(".trackEventElement").each(function(){const t=$(this).data("analytics-category"),r=$(this).data("analytics-object"),n=$(this).data("analytics-action"),o=$(this).data("analytics-tags");window.setTimeout(Iu.fireETrackerEvent,250,t,r,n,o)})}static disbaleInitialForNewsletterSubPage(){const t=$(".inxform"),r=$(t).closest(".detail-text");r.length>0&&r.find(".text").first().addClass("no-initial")}static initfileupload(){if(typeof jQuery.fn.fileupload=="function"){var t=[],r=$("#fileupload").data("url");$("#fileupload").fileupload({url:r,previewMaxWidth:"90",previewMaxHeight:"90",previewCrop:!0,singleFileUploads:!1,filesContainer:$("#uploaded-files"),uploadTemplateId:null,downloadTemplateId:null,uploadTemplate:function(n){var o=$();return $.each(n.files,function(i,a){var l=$('<div class="mwf-upload-row thumbnail template-upload"> <div class="mwf-upload-fileinfo"> <div class="mwf-upload-preview"><div class="preview"><span></span></div></div> <div class="mwf-upload-metadata"> <ul> <li>Name: <span class="name"></span></li> <li>Größe: <span class="size"></span></li>'+(a.error?'<li>Fehler: <span class="error"></span></li>':"")+' </ul> </div> </div> <div class="mwf-upload-actions"> <div class="cancel"><button>Löschen</button></div> </div></div>');l.find(".name").text(a.name),l.find(".size").text(n.formatFileSize(a.size)),l.find("button").click(function(){for(var d in t){var c=t[d];if(c.name==a.name){t.splice(d,1),$(".mwf-upload-error").text("");break}}}),o=o.add(l)}),o},dataType:"json",progressall:function(n,o){var i=parseInt(o.loaded/o.total*100,10);$("#progress .bar").css("width",i+"%")},dropZone:$("#dropzone")}).on("fileuploadadd",function(n,o){var i=$("#fileupload").data("maxfiles"),a=$("#fileupload").data("maxfilesize");if($(".mwf-upload-error").text(""),t.length>i-1)return $(".mwf-upload-error").text("Hinweis: Es dürfen maximal "+i+" Dateien hochgeladen werden."),!1;for(var l=0;l<o.files.length;l++)t.push(o.files[l]);var d=0;for(var c in t)d+=t[c].size;if(d>a*1024*1024)return t.pop(),$(".mwf-upload-error").text("Hinweis: Die Größe der Dateien überschreitet die maximale Gesamtgröße von "+a+"MB."),!1}),$("#uploadbutton").click(function(){$("#fileupload").fileupload("send",{files:t}).done(function(n,o,i){n.success===!0?$(".mwf-upload").html("<p><strong>Ihre Daten wurden erfolgreich hochgeladen.</strong></p>"):$(".mwf-upload").html("<p><strong>Es ist ein Fehler aufgetreten: "+n.errors+"</strong></p>")}).fail(function(n,o,i){$(".mwf-upload").html("<p><strong>Es ist ein Fehler aufgetreten: "+i+"</strong></p>")}).always(function(n,o,i){t=[]})})}}static initPrintDialog(){window.location.href.indexOf("print=true")!==-1&&window.location.href.indexOf("printsrc=button")!==-1&&window.print!==void 0&&(console.log("print load"),global.$("body").trigger("lazyload-gallery-image"),setTimeout(()=>{requestAnimationFrame(()=>{window.print()})},1e3))}static initEmptyAnchorLinks(){$(".main-col .richtext .detail-text a[href='']").attr("href","/")}}var Wy=function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))},LW=function(){function e(t,r,n){this.name=t,this.version=r,this.os=n,this.type="browser"}return e}(),DW=function(){function e(t){this.version=t,this.type="node",this.name="node",this.os=process.platform}return e}(),kW=function(){function e(t,r,n,o){this.name=t,this.version=r,this.os=n,this.bot=o,this.type="bot-device"}return e}(),$W=function(){function e(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return e}(),BW=function(){function e(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return e}(),FW=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,VW=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,zy=3,UW=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",FW]],Yy=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function JW(e){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new BW:typeof navigator<"u"?GW(navigator.userAgent):zW()}function HW(e){return e!==""&&UW.reduce(function(t,r){var n=r[0],o=r[1];if(t)return t;var i=o.exec(e);return!!i&&[n,i]},!1)}function GW(e){var t=HW(e);if(!t)return null;var r=t[0],n=t[1];if(r==="searchbot")return new $W;var o=n[1]&&n[1].split(".").join("_").split("_").slice(0,3);o?o.length<zy&&(o=Wy(Wy([],o,!0),YW(zy-o.length),!0)):o=[];var i=o.join("."),a=WW(e),l=VW.exec(e);return l&&l[1]?new kW(r,i,a,l[1]):new LW(r,i,a)}function WW(e){for(var t=0,r=Yy.length;t<r;t++){var n=Yy[t],o=n[0],i=n[1],a=i.exec(e);if(a)return o}return null}function zW(){var e=typeof process<"u"&&process.version;return e?new DW(process.version.slice(1)):null}function YW(e){for(var t=[],r=0;r<e;r++)t.push("0");return t}var Pl={exports:{}};Pl.exports=rf;Pl.exports.isMobile=rf;Pl.exports.default=rf;const KW=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,XW=/CrOS/,QW=/android|ipad|playbook|silk/i;function rf(e){e||(e={});let t=e.ua;if(!t&&typeof navigator<"u"&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers["user-agent"]=="string"&&(t=t.headers["user-agent"]),typeof t!="string")return!1;let r=KW.test(t)&&!XW.test(t)||!!e.tablet&&QW.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf("Macintosh")!==-1&&t.indexOf("Safari")!==-1&&(r=!0),r}var ZW=Pl.exports;const ez=ZS(ZW);(function(e,t){(function(r,n){n()})(QS,function(){function r(o){var i=!0,a=!1,l=null,d={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(k){return!!(k&&k!==document&&k.nodeName!=="HTML"&&k.nodeName!=="BODY"&&"classList"in k&&"contains"in k.classList)}function p(k){var h=k.type,C=k.tagName;return!!(C==="INPUT"&&d[h]&&!k.readOnly||C==="TEXTAREA"&&!k.readOnly||k.isContentEditable)}function f(k){k.classList.contains("focus-visible")||(k.classList.add("focus-visible"),k.setAttribute("data-focus-visible-added",""))}function g(k){k.hasAttribute("data-focus-visible-added")&&(k.classList.remove("focus-visible"),k.removeAttribute("data-focus-visible-added"))}function b(k){k.metaKey||k.altKey||k.ctrlKey||(c(o.activeElement)&&f(o.activeElement),i=!0)}function T(k){i=!1}function w(k){c(k.target)&&(i||p(k.target))&&f(k.target)}function R(k){c(k.target)&&(k.target.classList.contains("focus-visible")||k.target.hasAttribute("data-focus-visible-added"))&&(a=!0,window.clearTimeout(l),l=window.setTimeout(function(){a=!1},100),g(k.target))}function _(k){document.visibilityState==="hidden"&&(a&&(i=!0),A())}function A(){document.addEventListener("mousemove",D),document.addEventListener("mousedown",D),document.addEventListener("mouseup",D),document.addEventListener("pointermove",D),document.addEventListener("pointerdown",D),document.addEventListener("pointerup",D),document.addEventListener("touchmove",D),document.addEventListener("touchstart",D),document.addEventListener("touchend",D)}function L(){document.removeEventListener("mousemove",D),document.removeEventListener("mousedown",D),document.removeEventListener("mouseup",D),document.removeEventListener("pointermove",D),document.removeEventListener("pointerdown",D),document.removeEventListener("pointerup",D),document.removeEventListener("touchmove",D),document.removeEventListener("touchstart",D),document.removeEventListener("touchend",D)}function D(k){k.target.nodeName&&k.target.nodeName.toLowerCase()==="html"||(i=!1,L())}document.addEventListener("keydown",b,!0),document.addEventListener("mousedown",T,!0),document.addEventListener("pointerdown",T,!0),document.addEventListener("touchstart",T,!0),document.addEventListener("visibilitychange",_,!0),A(),o.addEventListener("focus",w,!0),o.addEventListener("blur",R,!0),o.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&o.host?o.host.setAttribute("data-js-focus-visible",""):o.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window<"u"&&typeof document<"u"){window.applyFocusVisiblePolyfill=r;var n;try{n=new CustomEvent("focus-visible-polyfill-ready")}catch{n=document.createEvent("CustomEvent"),n.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(n)}typeof document<"u"&&r(document)})})();global.$=Ei;global.jQuery=Ei;let nf=class Wc{static getBrowser(){return JW()}static isMobile(){return ez()}static init(){const t=Wc.isMobile(),r=Wc.getBrowser(),n=Ei("html");n.addClass(t?"mobile":"desktop"),n.attr("data-browser",r.name),n.attr("data-os",r.os)}static getUrlVars(){let t={};return window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(r,n,o){t[n]=o}),t}static realVH(){const t=window.innerHeight*.01;document.documentElement.style.setProperty("--viewport-height",t+"px");let r=document.scrollingElement;r.style.setProperty("--scrollbar-width",window.innerWidth-r.clientWidth+"px")}};nf.realVH();Ei(window).on("resize",function(){nf.realVH()});Ei(document).ready(function(){nf.init(),Ei("body").addClass("ready"),vn.initUI()});const tz={Phone:{name:"Phone",styles:{width:"380px",height:"720px"}},Tablet:{name:"Tablet",styles:{width:"768px",height:"1024px"}}},rz={layout:"padded",actions:{},viewport:{options:tz},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}},backgrounds:{options:{white:{name:"white",value:"#FFFFFF"},primary:{name:"primary",value:"#003366"},secondary:{name:"secondary",value:"#56BD66"},lightblue:{name:"lightblue",value:"#E3EBF5"}}}},nz={theme:{name:"Theme",description:"Theme für alle Komponenten (data-theme am <html>-Element)",toolbar:{title:"Theme",icon:"paintbrush",items:KS.map(({name:e,value:t})=>({value:t,title:e})),dynamicTitle:!0}}},oz={backgrounds:{value:"white"},theme:XS},iz=["autodocs"],az=[(e,t)=>(document.documentElement.setAttribute("data-theme",t.globals.theme??XS),document.body.classList.add("variant-base"),e())],sz=Object.freeze(Object.defineProperty({__proto__:null,decorators:az,globalTypes:nz,initialGlobals:oz,parameters:rz,tags:iz},Symbol.toStringTag,{value:"Module"})),{composeConfigs:lz}=__STORYBOOK_MODULE_PREVIEW_API__;function uz(e=[]){const t=[e[0]??T3,e[1]??P3,e[2]??U3,e[3]??Q3,e[4]??wW,e[5]??jW,e[6]??sz];return lz(t)}AS();const{PreviewWeb:cz}=__STORYBOOK_MODULE_PREVIEW_API__;window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new cz(t3,uz);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{Ei as $,Fz as A,Vz as B,Bz as C,Pu as D,yz as E,gz as F,MW as G,I3 as H,Az as I,wz as J,Iz as K,Ez as L,Zz as M,Pz as N,Tz as O,Rz as P,Dz as Q,By as R,Qz as S,kz as T,Mz as U,Lz as V,t2 as _,e2 as a,Xz as b,Kz as c,Ws as d,l3 as e,Wz as f,Gz as g,r2 as h,c3 as i,Sz as j,Nz as k,Cz as l,Uz as m,$z as n,_z as o,QS as p,jz as q,Oz as r,xS as s,qz as t,Jz as u,Hz as v,xz as w,ZS as x,bz as y,vz as z};