Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

1091 wiersze
946 KiB

  1. const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Badge.stories-DV26Da8A.js","./BadgeComponent-C2LAZwoX.js","./helpers-BI4k4aXK.js","./ButtonComponent-C01NN-p4.js","./ButtonComponent-CdZrnztr.css","./helpers-DqLHmvy9.css","./BadgeComponent-Cq2ckS6a.css","./preload-helper-C1FmrZbK.js","./Blockquote.stories-DcXw9zfw.js","./BlockquoteComponent-B3w-Y18z.js","./BlockquoteComponent-Bx-H_bOY.css","./Button.stories-BAWjZSvT.js","./EventTeaser.stories-DUTEQhsk.js","./EventTeaserComponent-BjzGS7fu.js","./event-teaser-C7_vU5oM.css","./InputCheckboxRadio.stories-CuNI5k_c.js","./InputCheckboxRadioComponent-D0ubIXUG.js","./InputCheckboxRadioComponent-IUMDgp_8.css","./InputSelect.stories-CEkt-Gk2.js","./InputSelectComponent-hiFT4fJL.js","./InputSelectComponent-BZL-Ck1J.css","./InputText.stories-DbBkkuxv.js","./InterviewItem.stories-2vagjTe1.js","./InterviewItemComponent-BJRtVwP-.js","./InterviewItemComponent-Hwp8EJDy.css","./Label.stories-gMBqjDez.js","./LabelComponent-ovXJdF8Y.js","./LabelComponent-B5dbspqH.css","./LabelFormCentric.stories-DrWQAEkP.js","./LabelFormCentricComponent-vc8GDYZV.js","./LabelFormCentricComponent-CHLBNOOb.css","./Pagination.stories-Cn9iU51y.js","./PaginationComponent-BYoKhGRd.js","./PaginationComponent-bouHmxbw.css","./artwork-c-f7tMhv.css","./ProgressBar.stories-COlWHTSk.js","./ProgressBarComponent-D2Td7HlA.js","./ProgressBarComponent-CnLpKg1S.css","./ReadingTime.stories-C87JtzFC.js","./ReadingTimeComponent-B94tVWPw.js","./ReadingTimeComponent-DCWWCDQ9.css","./SearchButton.stories-BUATijs9.js","./SearchInput.stories-C1IHO_IE.js","./SecondaryMenu.stories-B0lrPje5.js","./SkipButton.stories-B-nE_dso.js","./SkipButtonComponent-Btkha3xc.js","./SkipButtonComponent-B5fyqKY3.css","./SliderTabs.stories-DGwPrT0Y.js","./SliderTabs-Qk3BWMsD.css","./SocialIcons.stories-B-U7t0p2.js","./Tabs.stories-C9Pda430.js","./TabsComponent-VMtOSGjl.js","./TabsComponent-Dz3YgPYt.css","./AZ.stories-DFep6HYm.js","./AZComponent-bGfCeDMv.js","./AZComponent-Dg5xprj8.css","./Accordion.stories-Dm3gSqFr.js","./AccordionComponent-4rBnqNXZ.js","./AccordionComponent-4QBb6qaJ.css","./AnchorLinks.stories-C6FZUm29.js","./AnchorLinksComponent-CvUdgUx3.js","./AnchorLinksComponent-Bze6Bws_.css","./Artwork.stories-Cwlpi7-0.js","./ArtworkComponent-D1UyChXE.js","./Card.stories-DMTNnObe.js","./CardComponent-CVkeM-_-.js","./CardComponent-CnrL5333.css","./CheckboxGroup.stories-goV00rMi.js","./CheckboxGroupComponent-CvBpVjdT.js","./FormElementComponent-C1uoZnCg.js","./CheckboxGroupComponent-CxGGtte6.css","./CommonContentArticle.stories-CFYMOmgz.js","./CommonContentArticleComponent-CzdQgdyx.js","./ContactComponent-BxPAngtn.js","./ContactComponent-fb8g5RNJ.css","./PrintShareComponent-Btq5ETJK.js","./PrintShareComponent-CjmQa_cF.css","./InfoboxComponent-39fUOIaw.js","./InfoboxComponent-B5PYHDiK.css","./TopicTeasersComponent-CbOQ2med.js","./topic-teasers-B0xZfOt8.js","./topic-teasers-DlP4Cua-.css","./TopicTeaserComponent-qgNwl1hY.js","./LinkListComponent-DCJQez24.js","./LinkListComponent-D65wU3H3.css","./topic-teaser-DmEr09ST.css","./CommonContentComponent-Rd3sZHAz.js","./CommonContentComponent-CYdVrjt4.css","./CommonContentArticleComponent-BjEiuvWM.css","./CommonContent.stories-DXa36QF4.js","./Contact.stories-DCLmVVWZ.js","./DocumentList.stories-nSgRQOO4.js","./DocumentListComponent-DAes0g-M.js","./DocumentListComponent-BZlUG4aZ.css","./ElectionForm.stories-BZcJ8jR3.js","./ElectionFormComponent-Vj73wgkR.js","./ElectionFormComponent-DMaOcfto.css","./ElectionResultListBadge.stories-eO98SzE5.js","./ElectionResultListBadgeComponent-9kV-6g_9.js","./ElectionResultListBadgeComponent-BhqnF31j.css","./ElectionResultListItem.stories-BihBLZ77.js","./ElectionResultListItemComponent-sUcg_qaS.js","./ElectionResultListItemComponent-Cj8V_y5g.css","./EventTeaserLarge.stories-BuvmneNT.js","./EventTeaserLargeComponent-DVewnX7R.js","./EventTeaserLargeComponent-BGupsSWG.css","./Flockler.stories-BfGoW7nf.js","./FlocklerComponent-0knFZiFx.js","./FlocklerComponent-Gng0mZZS.css","./Footer.stories-zHWvUGgn.js","./FormElementFormCentric.stories-DE2fJo5z.js","./FormElementFormCentric-Cf2KW6fy.css","./FormElement.stories-2x0xouUm.js","./Gallery.stories-DwHY_IfY.js","./GalleryComponent-BrenQe7O.js","./slider-BXTkDrww.js","./masonry-CBGan0T_.js","./GalleryComponent-BQarhsft.css","./GlobalMessage.stories-BIfoonLB.js","./GlobalMessageComponent-BWkcsULJ.js","./GlobalMessageComponent-B-7dRSy-.css","./HeaderSearch.stories-CJlTCute.js","./Header.stories-Dx4aZya5.js","./HowToList.stories-DikrJDDK.js","./HowToListComponent-BSb16r86.js","./HowToListComponent-CCPJB7Ez.css","./IHKSwitch.stories-BLV6s4ax.js","./ImageText.stories-CaRq5Pp_.js","./ImageTextComponent-D_GB_yB_.js","./ImageTextComponent-sC5HcWEI.css","./Infobox.stories-B-tE1m0Z.js","./LinkCollection.stories-DvgP8y1r.js","./LinkCollectionComponent-BnBtNLmf.js","./LinkCollectionComponent-yxG7eVmV.css","./LinkList.stories-CQIPn_71.js","./Login.stories-bi3xXGju.js","./LoginComponent-BghmuHgT.js","./LoginComponent-NyePHloE.css","./LogoWall.stories-C0SUfomV.js","./LogoWall-BjlAWWLy.css","./MagazineArticle.stories-CRY83wrW.js","./MagazineArticleComponent-B1yxJvrM.js","./lorem-D0uNeDcA.js","./EventsComponent-CLzX1-1Q.js","./events-BiQmeAPQ.js","./events-BVu475Rn.css","./CardSliderComponent-DmjIEQzB.js","./CardSliderComponent-Dw2nEZGz.css","./MagazineArticleComponent-DHWyq2V3.css","./MagazineCover.stories-DC_8Gsz3.js","./MagazineCoverComponent-Cvb2ruCL.js","./MagazineCoverComponent-BwvsghwG.css","./MagazineHeader.stories-DAmfBW-R.js","./MagazineHeaderComponent-B1h1bUtX.js","./MagazineHeaderComponent-GDD8DSVH.css","./MiniTeaser.stories-CfoLVE8Z.js","./MiniTeaserComponent-BH0Gaybk.js","./MiniTeaserComponent-BMOAxPF4.css","./Nav.stories-ClC7OzHI.js","./NewsletterTeaser.stories-DlbkMls1.js","./NewsletterTeaser-BTrisk-M.css","./PageDetails.stories-Dms3u4lj.js","./ParticipationListItem.stories-C7DBB-PL.js","./ParticipationListItemComponent-DhAlzzx2.js","./ParticipationTeaserComponent-DSoN_9S9.js","./ParticipationTeaserComponent-BdmIfiHF.css","./ParticipationListItemComponent-C4uLzX9U.css","./ParticipationTeaser.stories-BZ-mEoZN.js","./PrintShare.stories-DntTpfjX.js","./SearchForm.stories-BhBN62dj.js","./SearchFormComponent-WjeMSyGX.js","./SearchFormComponent-BFFcepvK.css","./SearchResults.stories-ChODnAPc.js","./SearchResultsComponent-B4n8wmfS.js","./SearchResultsComponent-BWjGPqbQ.css","./Steps.stories-6qNm_htw.js","./StepsComponent-ByKoCeDP.js","./StepsComponent-mAHL5hkL.css","./slider-BLn_8RdX.css","./SuperlistEntry.stories-Bml815OX.js","./SuperlistEntryComponent-47X85AFR.js","./SuperlistEntryComponent-53hzrYre.css","./TeaserSocial.stories-CS9cre7O.js","./TeaserSocialComponent-CiNutV5e.js","./TeaserSocialComponent-D-P6NOXj.css","./Teaser.stories-UR8Y2MVI.js","./TeaserComponent-CHcsppW9.js","./TeaserComponent-B20xGJh0.css","./Testimonial.stories-Zq-pcOI3.js","./TestimonialComponent-8C1ToDF4.js","./TestimonialComponent-CawTnVGn.css","./TextWithHeadline.stories-BTfp-EXI.js","./TextWithHeadlineComponent-BNN6RNa_.js","./TextWithHeadlineComponent-CYqDKa9a.css","./TopicTeaser.stories-Dmq_i9NN.js","./Video.stories-CeenQrFT.js","./VideoComponent-peCtEzv6.js","./VideoComponent-DWmBocJ8.css","./AZPage.stories-BKKWPVGr.js","./Article.stories-BBUd19bm.js","./SurveyComponent-zfTa5NCY.js","./SurveyComponent-X08qvnyJ.css","./QuickFactsComponent-OPSTHvaL.js","./QuickFactsComponent-DkCzX9m2.css","./CommonContent.stories-Dm4T-RsZ.js","./TeasersComponent-Cgubjoun.js","./TeasersComponent-DZwS8j1p.css","./Documents.stories-gFiMDxSp.js","./ElectionDetailPage.stories-9gLZntoL.js","./ElectionDetailComponent-BqzTeoXE.js","./ElectionDetailComponent-O7libgHO.css","./ElectionOverviewPage.stories-CCKP9ZwB.js","./ElectionResultListComponent-B5iXueIu.js","./ElectionResultListComponent--VsHHnE8.css","./ElectionStartPage.stories-B6OKLC7X.js","./ParticipationStageComponent-DL0agPqw.js","./ParticipationStageComponent-mrrIDiYF.css","./EventOverview.stories-DC1RIEgF.js","./EventTeaserLargeSliderComponent-DPbx0ms-.js","./EventTeaserLargeSliderComponent-CZYGK4dH.css","./EventOverviewStageComponent-YUgOn2DG.js","./search-typeahead-BEl736_F.js","./eventoverview-Cf--6c68.js","./VideoStageComponent-QpRLbTKL.js","./VideoStageComponent-C_pvLHKR.css","./EventOverviewStageComponent-DtC7AVWt.css","./EventTeasersLargeComponent-Ce9KdJjj.js","./EventTeasersLargeComponent-BFG4WuiE.css","./SliderComponent-BKas3sws.js","./EventOverview-Dc98kWDD.css","./EventPage.stories-DiJW0xc2.js","./Home.stories-DXb9munp.js","./SearchComponent-DvVV_LFQ.js","./SearchComponent-eZ7fMk8b.css","./FeatureComponent-JI1BEYSh.js","./FeatureComponent-kWBOLTLd.css","./InfoBannerComponent-DZDur8Uz.js","./InfoBannerComponent-BX_XBUsn.css","./SocialComponent-BiSoKiat.js","./SocialComponent-1judhuPh.css","./Topic.stories-BsJMyXYj.js","./IntroComponent-BciF--Ut.js","./IntroComponent-C-DW9PU9.css","./Home.stories-DxoLl3KY.js","./LoginPage.stories-CnXgH2ZH.js","./MagazineArticle.stories-CdmMtuPe.js","./MagazineInterview.stories-BxigYY4j.js","./InterviewComponent-BO4qvxfR.js","./MagazineStart.stories-DJ_3NKm1.js","./ParticipationList.stories-D1Jhm0Fr.js","./ParticipationTeasersData-D6HcWDw4.js","./ParticipationStart.stories-DDxSxnic.js","./ParticipationTeasersComponent-Bgfvxr7b.js","./ParticipationTeasersComponent-CyqfXL8Q.css","./ParticipationMapComponent-DbdkzmUA.js","./ParticipationMapComponent-CxptM8Ov.css","./SearchEventsPage.stories-yjhp2lsh.js","./SearchPage.stories-_b6bxOT4.js","./TileGridPage.stories-O9NmfgGr.js","./TileGridWoodComponent-v2PHCpkp.js","./TileGridWoodComponent-SkHxIt6R.css","./TimelinePage.stories-BCUdg5oC.js","./TimelineComponent-IkZgAyAu.js","./TimelineComponent-DiNEkIOp.css","./Topic.stories-DTXzK2gS.js","./CardSlider.stories-Cd8NXCSD.js","./ElectionDetail.stories-B275xUEp.js","./ElectionResultList.stories-KSc57ApE.js","./EventTeaserLargeSlider.stories-BLqEJiCW.js","./EventTeasersLarge.stories-S7YgRRRY.js","./EventOverviewStage.stories-_9ig6qLz.js","./Events.stories-Dd4Pw-WW.js","./Feature.stories-0DTPge2B.js","./InfoBanner.stories-Q06opoZR.js","./Interview.stories-DX4vn7Ox.js","./Intro.stories-U5L7NJUk.js","./MarketingHeader.stories-D9qzO4XZ.js","./MarketingHeader-TabgGSxn.css","./ParticipationMap.stories-qWQ7m6T2.js","./ParticipationStage.stories-DkViKw7A.js","./ParticipationTeasers.stories-D0cgAw1-.js","./QuickFacts.stories-CvDQraEI.js","./Search.stories-DJ-sj4dO.js","./Slider.stories-CV-MNM5B.js","./Social.stories-BDyY-F8M.js","./Superlist.stories-CEyDfV2Z.js","./Superlist-B8yUAiec.css","./Survey.stories-BRz9MCMo.js","./Teasers.stories-D_hfeaX_.js","./TileGridWood.stories-BKGW5b6Z.js","./TileGrid.stories-5zmQKjwB.js","./Timeline.stories-DvRjTA_n.js","./TopicTeasers.stories-EOqGi4U4.js","./VideoStage.stories-BbIOxH3u.js","./DocsRenderer-JROSPFPF-CdIgyPDv.js"])))=>i.map(i=>d[i]);
  2. var S0=Object.defineProperty;var R0=(e,t,r)=>t in e?S0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var cr=(e,t,r)=>R0(e,typeof t!="symbol"?t+"":t,r);import{_ as ce}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 Ou={},O0=Object.create,Fc=Object.defineProperty,P0=Object.getOwnPropertyDescriptor,Hy=Object.getOwnPropertyNames,A0=Object.getPrototypeOf,C0=Object.prototype.hasOwnProperty,Fa=(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(){try{return t||(0,e[Hy(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},fr=(e,t)=>{for(var r in t)Fc(e,r,{get:t[r],enumerable:!0})},x0=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Hy(t))!C0.call(e,o)&&o!==r&&Fc(e,o,{get:()=>t[o],enumerable:!(n=P0(t,o))||n.enumerable});return e},Nt=(e,t,r)=>(r=e!=null?O0(A0(e)):{},x0(t||!e||!e.__esModule?Fc(r,"default",{value:e,enumerable:!0}):r,e)),Uc=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}}),I0=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),E=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!=E||(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,[])}}()}}),N0=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}}}),j0=Y({"../../node_modules/strip-indent/index.js"(e,t){var r=N0();t.exports=n=>{let o=r(n);if(o===0)return n;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(i,"")}}}),q0=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))}}}),Gy=Y({"../../node_modules/redent/index.js"(e,t){var r=j0(),n=q0();t.exports=(o,i=0,a)=>n(r(o),i,a)}}),M0=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}}),Ta=Y({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(M0());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}}}),L0=Y({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ta());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,E=Array(g);b<g;b++)E[b]=f[b];return E}function l(f,g){var b=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(b!=null){var E,w,R,_,A=[],M=!0,L=!1;try{if(R=(b=b.call(f)).next,g===0){if(Object(b)!==b)return;M=!1}else for(;!(M=(E=R.call(b)).done)&&(A.push(E.value),A.length!==g);M=!0);}catch(D){L=!0,w=D}finally{try{if(!M&&b.return!=null&&(_=b.return(),Object(_)!==_))return}finally{if(L)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,E=c;b<E.length;b++){var w=n(E[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())}}),D0=Y({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ta());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,E=Array(g);b<g;b++)E[b]=f[b];return E}function l(f,g){var b=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(b!=null){var E,w,R,_,A=[],M=!0,L=!1;try{if(R=(b=b.call(f)).next,g===0){if(Object(b)!==b)return;M=!1}else for(;!(M=(E=R.call(b)).done)&&(A.push(E.value),A.length!==g);M=!0);}catch(D){L=!0,w=D}finally{try{if(!M&&b.return!=null&&(_=b.return(),Object(_)!==_))return}finally{if(L)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,E=c;b<E.length;b++){var w=n(E[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())}}),k0=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}}),$0=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}}),B0=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}}),F0=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}}),U0=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}}),V0=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}}),J0=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}}),H0=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}}),G0=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}}),W0=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}}),z0=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}}),Y0=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}}),K0=Y({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=b(k0()),r=b($0()),n=b(B0()),o=b(F0()),i=b(U0()),a=b(V0()),l=b(J0()),d=b(H0()),c=b(G0()),p=b(W0()),f=b(z0()),g=b(Y0());function b(w){return w&&w.__esModule?w:{default:w}}var E=[["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=E}}),X0=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}}),Q0=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}}),Z0=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}}),eR=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}}),tR=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}}),rR=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}}),nR=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}}),oR=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}}),iR=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}}),aR=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}}),sR=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}}),lR=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}}),uR=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}}),cR=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}}),dR=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}}),pR=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}}),fR=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}}),hR=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}}),mR=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}}),yR=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}}),gR=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}}),bR=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}}),vR=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}}),ER=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}}),TR=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}}),wR=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}}),_R=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}}),SR=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}}),RR=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}}),OR=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}}),PR=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}}),AR=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}}),CR=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}}),xR=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}}),IR=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}}),NR=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}}),jR=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}}),qR=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}}),MR=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}}),LR=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}}),DR=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}}),kR=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}}),$R=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}}),BR=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}}),FR=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}}),UR=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}}),VR=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}}),JR=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}}),HR=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}}),GR=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}}),WR=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}}),zR=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}}),YR=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}}),KR=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}}),XR=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}}),QR=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}}),ZR=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}}),eO=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}}),tO=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}}),rO=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}}),nO=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}}),oO=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}}),iO=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}}),aO=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}}),sO=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}}),lO=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}}),uO=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}}),cO=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}}),dO=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}}),pO=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}}),fO=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}}),hO=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}}),mO=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}}),yO=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}}),gO=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}}),bO=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}}),vO=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}}),EO=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}}),TO=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}}),wO=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}}),_O=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}}),SO=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}}),RO=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}}),OO=Y({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=be(X0()),r=be(Q0()),n=be(Z0()),o=be(eR()),i=be(tR()),a=be(rR()),l=be(nR()),d=be(oR()),c=be(iR()),p=be(aR()),f=be(sR()),g=be(lR()),b=be(uR()),E=be(cR()),w=be(dR()),R=be(pR()),_=be(fR()),A=be(hR()),M=be(mR()),L=be(yR()),D=be(gR()),I=be(bR()),h=be(vR()),C=be(ER()),j=be(TR()),Z=be(wR()),G=be(_R()),oe=be(SR()),B=be(RR()),N=be(OR()),V=be(PR()),K=be(AR()),te=be(CR()),fe=be(xR()),_e=be(IR()),Re=be(NR()),Ie=be(jR()),de=be(qR()),ue=be(MR()),Ce=be(LR()),Ee=be(DR()),me=be(kR()),He=be($R()),ke=be(BR()),mt=be(FR()),z=be(UR()),ve=be(VR()),Se=be(JR()),Ae=be(HR()),je=be(GR()),Me=be(WR()),Fe=be(zR()),Ue=be(YR()),it=be(KR()),Jt=be(XR()),Ft=be(QR()),Ht=be(ZR()),pt=be(eO()),Yt=be(tO()),Ut=be(rO()),xe=be(nO()),qt=be(oO()),oo=be(iO()),io=be(aO()),ao=be(sO()),Cn=be(lO()),xn=be(uO()),Ir=be(cO()),nr=be(dO()),hr=be(pO()),Tr=be(fO()),so=be(hO()),Vr=be(mO()),In=be(yO()),Nn=be(gO()),lo=be(bO()),sr=be(vO()),Nr=be(EO()),Kt=be(TO()),qe=be(wO()),Mt=be(_O()),yt=be(SO()),Rt=be(RO());function be(jr){return jr&&jr.__esModule?jr:{default:jr}}var jn=[["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",E.default],["contentinfo",w.default],["definition",R.default],["deletion",_.default],["dialog",A.default],["directory",M.default],["document",L.default],["emphasis",D.default],["feed",I.default],["figure",h.default],["form",C.default],["generic",j.default],["grid",Z.default],["gridcell",G.default],["group",oe.default],["heading",B.default],["img",N.default],["insertion",V.default],["link",K.default],["list",te.default],["listbox",fe.default],["listitem",_e.default],["log",Re.default],["main",Ie.default],["mark",de.default],["marquee",ue.default],["math",Ce.default],["menu",Ee.default],["menubar",me.default],["menuitem",He.default],["menuitemcheckbox",ke.default],["menuitemradio",mt.default],["meter",z.default],["navigation",ve.default],["none",Se.default],["note",Ae.default],["option",je.default],["paragraph",Me.default],["presentation",Fe.default],["progressbar",Ue.default],["radio",it.default],["radiogroup",Jt.default],["region",Ft.default],["row",Ht.default],["rowgroup",pt.default],["rowheader",Yt.default],["scrollbar",Ut.default],["search",xe.default],["searchbox",qt.default],["separator",oo.default],["slider",io.default],["spinbutton",ao.default],["status",Cn.default],["strong",xn.default],["subscript",Ir.default],["superscript",nr.default],["switch",hr.default],["tab",Tr.default],["table",so.default],["tablist",Vr.default],["tabpanel",In.default],["term",Nn.default],["textbox",lo.default],["time",sr.default],["timer",Nr.default],["toolbar",Kt.default],["tooltip",qe.default],["tree",Mt.default],["treegrid",yt.default],["treeitem",Rt.default]];e.default=jn}}),PO=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}}),AO=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}}),CO=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}}),xO=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}}),IO=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}}),NO=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}}),jO=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}}),qO=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}}),MO=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}}),LO=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}}),DO=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}}),kO=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}}),$O=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}}),BO=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}}),FO=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}}),UO=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}}),VO=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}}),JO=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}}),HO=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}}),GO=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}}),WO=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}}),zO=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}}),YO=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}}),KO=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}}),XO=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}}),QO=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}}),ZO=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}}),eP=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}}),tP=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}}),rP=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}}),nP=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}}),oP=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}}),iP=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}}),aP=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}}),sP=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}}),lP=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}}),uP=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}}),cP=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}}),dP=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}}),pP=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}}),fP=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}}),hP=Y({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=me(PO()),r=me(AO()),n=me(CO()),o=me(xO()),i=me(IO()),a=me(NO()),l=me(jO()),d=me(qO()),c=me(MO()),p=me(LO()),f=me(DO()),g=me(kO()),b=me($O()),E=me(BO()),w=me(FO()),R=me(UO()),_=me(VO()),A=me(JO()),M=me(HO()),L=me(GO()),D=me(WO()),I=me(zO()),h=me(YO()),C=me(KO()),j=me(XO()),Z=me(QO()),G=me(ZO()),oe=me(eP()),B=me(tP()),N=me(rP()),V=me(nP()),K=me(oP()),te=me(iP()),fe=me(aP()),_e=me(sP()),Re=me(lP()),Ie=me(uP()),de=me(cP()),ue=me(dP()),Ce=me(pP()),Ee=me(fP());function me(ke){return ke&&ke.__esModule?ke:{default:ke}}var He=[["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",E.default],["doc-dedication",w.default],["doc-endnote",R.default],["doc-endnotes",_.default],["doc-epigraph",A.default],["doc-epilogue",M.default],["doc-errata",L.default],["doc-example",D.default],["doc-footnote",I.default],["doc-foreword",h.default],["doc-glossary",C.default],["doc-glossref",j.default],["doc-index",Z.default],["doc-introduction",G.default],["doc-noteref",oe.default],["doc-notice",B.default],["doc-pagebreak",N.default],["doc-pagefooter",V.default],["doc-pageheader",K.default],["doc-pagelist",te.default],["doc-part",fe.default],["doc-preface",_e.default],["doc-prologue",Re.default],["doc-pullquote",Ie.default],["doc-qna",de.default],["doc-subtitle",ue.default],["doc-tip",Ce.default],["doc-toc",Ee.default]];e.default=He}}),mP=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}}),yP=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}}),gP=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}}),bP=Y({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(mP()),r=o(yP()),n=o(gP());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}}),Vc=Y({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(K0()),r=a(OO()),n=a(hP()),o=a(bP()),i=a(Ta());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 M=0,L=function(){};return{s:L,n:function(){return M>=R.length?{done:!0}:{done:!1,value:R[M++]}},e:function(C){throw C},f:L}}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 D,I=!0,h=!1;return{s:function(){A=A.call(R)},n:function(){var C=A.next();return I=C.done,C},e:function(C){h=!0,D=C},f:function(){try{I||A.return==null||A.return()}finally{if(h)throw D}}}}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,M=Array(_);A<_;A++)M[A]=R[A];return M}function g(R,_){var A=R==null?null:typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(A!=null){var M,L,D,I,h=[],C=!0,j=!1;try{if(D=(A=A.call(R)).next,_===0){if(Object(A)!==A)return;C=!1}else for(;!(C=(M=D.call(A)).done)&&(h.push(M.value),h.length!==_);C=!0);}catch(Z){j=!0,L=Z}finally{try{if(!C&&A.return!=null&&(I=A.return(),Object(I)!==I))return}finally{if(j)throw L}}return h}}function b(R){if(Array.isArray(R))return R}var E=[].concat(t.default,r.default,n.default,o.default);E.forEach(function(R){var _=d(R,2),A=_[1],M=l(A.superClass),L;try{for(M.s();!(L=M.n()).done;){var D=L.value,I=l(D),h;try{var C=function(){var j=h.value,Z=E.filter(function(V){var K=d(V,1),te=K[0];return te===j})[0];if(Z)for(var G=Z[1],oe=0,B=Object.keys(G.props);oe<B.length;oe++){var N=B[oe];Object.prototype.hasOwnProperty.call(A.props,N)||(A.props[N]=G.props[N])}};for(I.s();!(h=I.n()).done;)C()}catch(j){I.e(j)}finally{I.f()}}}catch(j){M.e(j)}finally{M.f()}});var w={entries:function(){return E},forEach:function(R){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=l(E),M;try{for(A.s();!(M=A.n()).done;){var L=d(M.value,2),D=L[0],I=L[1];R.call(_,I,D,E)}}catch(h){A.e(h)}finally{A.f()}},get:function(R){var _=E.filter(function(A){return A[0]===R})[0];return _&&_[1]},has:function(R){return!!w.get(R)},keys:function(){return E.map(function(R){var _=d(R,1),A=_[0];return A})},values:function(){return E.map(function(R){var _=d(R,2),A=_[1];return A})}};e.default=(0,i.default)(w,w.entries())}}),vP=Y({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ta()),r=n(Vc());function n(I){return I&&I.__esModule?I:{default:I}}function o(I,h){return c(I)||d(I,h)||a(I,h)||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(I,h){if(I){if(typeof I=="string")return l(I,h);var C={}.toString.call(I).slice(8,-1);return C==="Object"&&I.constructor&&(C=I.constructor.name),C==="Map"||C==="Set"?Array.from(I):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?l(I,h):void 0}}function l(I,h){(h==null||h>I.length)&&(h=I.length);for(var C=0,j=Array(h);C<h;C++)j[C]=I[C];return j}function d(I,h){var C=I==null?null:typeof Symbol<"u"&&I[Symbol.iterator]||I["@@iterator"];if(C!=null){var j,Z,G,oe,B=[],N=!0,V=!1;try{if(G=(C=C.call(I)).next,h===0){if(Object(C)!==C)return;N=!1}else for(;!(N=(j=G.call(C)).done)&&(B.push(j.value),B.length!==h);N=!0);}catch(K){V=!0,Z=K}finally{try{if(!N&&C.return!=null&&(oe=C.return(),Object(oe)!==oe))return}finally{if(V)throw Z}}return B}}function c(I){if(Array.isArray(I))return I}var p=[],f=r.default.keys();for(_=0;_<f.length;_++)if(g=f[_],b=r.default.get(g),b)for(E=[].concat(b.baseConcepts,b.relatedConcepts),w=function(){var I=E[R];if(I.module==="HTML"){var h=I.concept;if(h){var C=p.filter(function(oe){return M(oe[0],h)})[0],j;C?j=C[1]:j=[];for(var Z=!0,G=0;G<j.length;G++)if(j[G]===g){Z=!1;break}Z&&j.push(g),C||p.push([h,j])}}},R=0;R<E.length;R++)w();var g,b,E,w,R,_,A={entries:function(){return p},forEach:function(I){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=0,j=p;C<j.length;C++){var Z=o(j[C],2),G=Z[0],oe=Z[1];I.call(h,oe,G,p)}},get:function(I){var h=p.filter(function(C){return I.name===C[0].name&&D(I.attributes,C[0].attributes)})[0];return h&&h[1]},has:function(I){return!!A.get(I)},keys:function(){return p.map(function(I){var h=o(I,1),C=h[0];return C})},values:function(){return p.map(function(I){var h=o(I,2),C=h[1];return C})}};function M(I,h){return I.name===h.name&&L(I.constraints,h.constraints)&&D(I.attributes,h.attributes)}function L(I,h){if(I===void 0&&h!==void 0||I!==void 0&&h===void 0)return!1;if(I!==void 0&&h!==void 0){if(I.length!==h.length)return!1;for(var C=0;C<I.length;C++)if(I[C]!==h[C])return!1}return!0}function D(I,h){if(I===void 0&&h!==void 0||I!==void 0&&h===void 0)return!1;if(I!==void 0&&h!==void 0){if(I.length!==h.length)return!1;for(var C=0;C<I.length;C++){if(I[C].name!==h[C].name||I[C].value!==h[C].value||I[C].constraints===void 0&&h[C].constraints!==void 0||I[C].constraints!==void 0&&h[C].constraints===void 0)return!1;if(I[C].constraints!==void 0&&h[C].constraints!==void 0){if(I[C].constraints.length!==h[C].constraints.length)return!1;for(var j=0;j<I[C].constraints.length;j++)if(I[C].constraints[j]!==h[C].constraints[j])return!1}}}return!0}e.default=(0,t.default)(A,A.entries())}}),EP=Y({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ta()),r=n(Vc());function n(D){return D&&D.__esModule?D:{default:D}}function o(D,I){return c(D)||d(D,I)||a(D,I)||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(D,I){if(D){if(typeof D=="string")return l(D,I);var h={}.toString.call(D).slice(8,-1);return h==="Object"&&D.constructor&&(h=D.constructor.name),h==="Map"||h==="Set"?Array.from(D):h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?l(D,I):void 0}}function l(D,I){(I==null||I>D.length)&&(I=D.length);for(var h=0,C=Array(I);h<I;h++)C[h]=D[h];return C}function d(D,I){var h=D==null?null:typeof Symbol<"u"&&D[Symbol.iterator]||D["@@iterator"];if(h!=null){var C,j,Z,G,oe=[],B=!0,N=!1;try{if(Z=(h=h.call(D)).next,I===0){if(Object(h)!==h)return;B=!1}else for(;!(B=(C=Z.call(h)).done)&&(oe.push(C.value),oe.length!==I);B=!0);}catch(V){N=!0,j=V}finally{try{if(!B&&h.return!=null&&(G=h.return(),Object(G)!==G))return}finally{if(N)throw j}}return oe}}function c(D){if(Array.isArray(D))return D}var p=[],f=r.default.keys();for(M=0;M<f.length;M++)if(g=f[M],b=r.default.get(g),E=[],b){for(w=[].concat(b.baseConcepts,b.relatedConcepts),A=0;A<w.length;A++)R=w[A],R.module==="HTML"&&(_=R.concept,_!=null&&E.push(_));E.length>0&&p.push([g,E])}var g,b,E,w,R,_,A,M,L={entries:function(){return p},forEach:function(D){for(var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=0,C=p;h<C.length;h++){var j=o(C[h],2),Z=j[0],G=j[1];D.call(I,G,Z,p)}},get:function(D){var I=p.filter(function(h){return h[0]===D})[0];return I&&I[1]},has:function(D){return!!L.get(D)},keys:function(){return p.map(function(D){var I=o(D,1),h=I[0];return h})},values:function(){return p.map(function(D){var I=o(D,2),h=I[1];return h})}};e.default=(0,t.default)(L,L.entries())}}),Jc=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(L0()),r=a(D0()),n=a(Vc()),o=a(vP()),i=a(EP());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}}),Wy=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})}}),zy=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})}}),Us=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="",E=a.next();if(!E.done){b+=l.spacingOuter;let w=d+l.indent;for(;!E.done;){let R=f(E.value[0],l,w,c,p),_=f(E.value[1],l,w,c,p);b+=w+R+g+_,E=a.next(),E.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 E=d+l.indent;for(;!b.done;)g+=E+f(b.value,l,E,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 E=0;E<a.length;E++)g+=b,E in a&&(g+=f(a[E],l,b,c,p)),E<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 E=d+l.indent;for(let w=0;w<b.length;w++){let R=b[w],_=f(R,l,E,c,p),A=f(a[R],l,E,c,p);g+=E+_+": "+A,w<b.length-1?g+=","+l.spacingInner:l.min||(g+=",")}g+=l.spacingOuter+d}return g}}}),TP=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=Us(),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,E,w)=>{let R=p.toString();return R==="ArrayContaining"||R==="ArrayNotContaining"?++b>f.maxDepth?"["+R+"]":R+i+"["+(0,t.printListItems)(p.sample,f,g,b,E,w)+"]":R==="ObjectContaining"||R==="ObjectNotContaining"?++b>f.maxDepth?"["+R+"]":R+i+"{"+(0,t.printObjectProperties)(p.sample,f,g,b,E,w)+"}":R==="StringMatching"||R==="StringNotMatching"||R==="StringContaining"||R==="StringNotContaining"?R+i+w(p.sample,f,g,b,E):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}}),wP=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")}}}),_P=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(wP()),r=n(zy());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,E)=>E(o(c),p,f,g,b);e.serialize=a;var l={serialize:a,test:i},d=l;e.default=d}}),SP=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=Us(),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,E,w,R)=>{let _=f.constructor.name;return++E>g.maxDepth?"["+_+"]":(g.min?"":_+r)+(n.indexOf(_)!==-1?"{"+(0,t.printObjectProperties)(l(f)?Array.from(f).reduce((A,M)=>(A[M.name]=M.value,A),{}):{...f},g,b,E,w,R)+"}":"["+(0,t.printListItems)(Array.from(f),g,b,E,w,R)+"]")};e.serialize=d;var c={serialize:d,test:a},p=c;e.default=p}}),RP=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;")}}}),Hc=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(RP());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,p,f,g,b,E,w)=>{let R=g+f.indent,_=f.colors;return c.map(A=>{let M=p[A],L=w(M,f,R,b,E);return typeof M!="string"&&(L.indexOf(`
  9. `)!==-1&&(L=f.spacingOuter+R+L+f.spacingOuter+g),L="{"+L+"}"),f.spacingInner+g+_.prop.open+A+_.prop.close+"="+_.value.open+L+_.value.close}).join("")};e.printProps=n;var o=(c,p,f,g,b,E)=>c.map(w=>p.spacingOuter+f+(typeof w=="string"?i(w,p):E(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 E=g.colors.tag;return E.open+"<"+c+(p&&E.close+p+g.spacingOuter+b+E.open)+(f?">"+E.close+f+g.spacingOuter+b+E.open+"</"+c:(p&&!g.min?"":" ")+"/")+">"+E.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}}),OP=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=Hc(),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:M}=R,L=typeof M=="string"&&M.includes("-")||l(R);return A===r&&(a.test(_)||L)||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,M,L,D)=>{if(p(R))return(0,t.printText)(R.data,_);if(f(R))return(0,t.printComment)(R.data,_);let I=g(R)?"DocumentFragment":R.tagName.toLowerCase();return++M>_.maxDepth?(0,t.printElementAsLeaf)(I,_):(0,t.printElement)(I,(0,t.printProps)(g(R)?[]:Array.from(R.attributes).map(h=>h.name).sort(),g(R)?{}:Array.from(R.attributes).reduce((h,C)=>(h[C.name]=C.value,h),{}),_,A+_.indent,M,L,D),(0,t.printChildren)(Array.prototype.slice.call(R.childNodes||R.children),_,A+_.indent,M,L,D),_,A)};e.serialize=b;var E={serialize:b,test:c},w=E;e.default=w}}),PP=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=Us(),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=C=>"Immutable."+C,g=C=>"["+C+"]",b=" ",E="…",w=(C,j,Z,G,oe,B,N)=>++G>j.maxDepth?g(f(N)):f(N)+b+"{"+(0,t.printIteratorEntries)(C.entries(),j,Z,G,oe,B)+"}";function R(C){let j=0;return{next(){if(j<C._keys.length){let Z=C._keys[j++];return{done:!1,value:[Z,C.get(Z)]}}return{done:!0,value:void 0}}}}var _=(C,j,Z,G,oe,B)=>{let N=f(C._name||"Record");return++G>j.maxDepth?g(N):N+b+"{"+(0,t.printIteratorEntries)(R(C),j,Z,G,oe,B)+"}"},A=(C,j,Z,G,oe,B)=>{let N=f("Seq");return++G>j.maxDepth?g(N):C[o]?N+b+"{"+(C._iter||C._object?(0,t.printIteratorEntries)(C.entries(),j,Z,G,oe,B):E)+"}":N+b+"["+(C._iter||C._array||C._collection||C._iterable?(0,t.printIteratorValues)(C.values(),j,Z,G,oe,B):E)+"]"},M=(C,j,Z,G,oe,B,N)=>++G>j.maxDepth?g(f(N)):f(N)+b+"["+(0,t.printIteratorValues)(C.values(),j,Z,G,oe,B)+"]",L=(C,j,Z,G,oe,B)=>C[i]?w(C,j,Z,G,oe,B,C[a]?"OrderedMap":"Map"):C[n]?M(C,j,Z,G,oe,B,"List"):C[c]?M(C,j,Z,G,oe,B,C[a]?"OrderedSet":"Set"):C[p]?M(C,j,Z,G,oe,B,"Stack"):C[d]?A(C,j,Z,G,oe,B):_(C,j,Z,G,oe,B);e.serialize=L;var D=C=>C&&(C[r]===!0||C[l]===!0);e.test=D;var I={serialize:L,test:D},h=I;e.default=h}}),AP=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,E=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"),E=A("react.server.block"),w=A("react.fundamental"),R=A("react.debug_trace_mode"),_=A("react.legacy_hidden"));var A;function M(N){if(typeof N=="object"&&N!==null){var V=N.$$typeof;switch(V){case t:switch(N=N.type,N){case n:case i:case o:case c:case p:return N;default:switch(N=N&&N.$$typeof,N){case l:case d:case g:case f:case a:return N;default:return V}}case r:return V}}}var L=a,D=t,I=d,h=n,C=g,j=f,Z=r,G=i,oe=o,B=c;e.ContextConsumer=l,e.ContextProvider=L,e.Element=D,e.ForwardRef=I,e.Fragment=h,e.Lazy=C,e.Memo=j,e.Portal=Z,e.Profiler=G,e.StrictMode=oe,e.Suspense=B,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(N){return M(N)===l},e.isContextProvider=function(N){return M(N)===a},e.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===t},e.isForwardRef=function(N){return M(N)===d},e.isFragment=function(N){return M(N)===n},e.isLazy=function(N){return M(N)===g},e.isMemo=function(N){return M(N)===f},e.isPortal=function(N){return M(N)===r},e.isProfiler=function(N){return M(N)===i},e.isStrictMode=function(N){return M(N)===o},e.isSuspense=function(N){return M(N)===c},e.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===n||N===i||N===R||N===o||N===c||N===p||N===_||typeof N=="object"&&N!==null&&(N.$$typeof===g||N.$$typeof===f||N.$$typeof===a||N.$$typeof===l||N.$$typeof===d||N.$$typeof===w||N.$$typeof===b||N[0]===E)},e.typeOf=M}}),CP=Y({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=AP()}}),xP=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(CP()),r=Hc();function n(g){if(typeof WeakMap!="function")return null;var b=new WeakMap,E=new WeakMap;return(n=function(w){return w?E: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 E=n(b);if(E&&E.has(g))return E.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,E&&E.set(g,w),w}var i=(g,b=[])=>(Array.isArray(g)?g.forEach(E=>{i(E,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 E=b.render.displayName||b.render.name||"";return E!==""?"ForwardRef("+E+")":"ForwardRef"}if(t.isMemo(g)){let E=b.displayName||b.type.displayName||b.type.name||"";return E!==""?"Memo("+E+")":"Memo"}}return"UNDEFINED"},l=g=>{let{props:b}=g;return Object.keys(b).filter(E=>E!=="children"&&b[E]!==void 0).sort()},d=(g,b,E,w,R,_)=>++w>b.maxDepth?(0,r.printElementAsLeaf)(a(g),b):(0,r.printElement)(a(g),(0,r.printProps)(l(g),g.props,b,E+b.indent,w,R,_),(0,r.printChildren)(i(g.props.children),b,E+b.indent,w,R,_),b,E);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}}),IP=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=Hc(),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,E,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,E,w):"",p.children?(0,t.printChildren)(p.children,f,g+f.indent,b,E,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}}),NP=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=He,e.plugins=void 0;var t=p(zy()),r=Us(),n=p(TP()),o=p(_P()),i=p(SP()),a=p(OP()),l=p(PP()),d=p(xP()),c=p(IP());function p(z){return z&&z.__esModule?z:{default:z}}var f=Object.prototype.toString,g=Date.prototype.toISOString,b=Error.prototype.toString,E=RegExp.prototype.toString,w=z=>typeof z.constructor=="function"&&z.constructor.name||"Object",R=z=>typeof window<"u"&&z===window,_=/^Symbol\((.*)\)(.*)$/,A=/\n/gi,M=class extends Error{constructor(z,ve){super(z),this.stack=ve,this.name=this.constructor.name}};function L(z){return z==="[object Array]"||z==="[object ArrayBuffer]"||z==="[object DataView]"||z==="[object Float32Array]"||z==="[object Float64Array]"||z==="[object Int8Array]"||z==="[object Int16Array]"||z==="[object Int32Array]"||z==="[object Uint8Array]"||z==="[object Uint8ClampedArray]"||z==="[object Uint16Array]"||z==="[object Uint32Array]"}function D(z){return Object.is(z,-0)?"-0":String(z)}function I(z){return`${z}n`}function h(z,ve){return ve?"[Function "+(z.name||"anonymous")+"]":"[Function]"}function C(z){return String(z).replace(_,"Symbol($1)")}function j(z){return"["+b.call(z)+"]"}function Z(z,ve,Se,Ae){if(z===!0||z===!1)return""+z;if(z===void 0)return"undefined";if(z===null)return"null";let je=typeof z;if(je==="number")return D(z);if(je==="bigint")return I(z);if(je==="string")return Ae?'"'+z.replace(/"|\\/g,"\\$&")+'"':'"'+z+'"';if(je==="function")return h(z,ve);if(je==="symbol")return C(z);let Me=f.call(z);return Me==="[object WeakMap]"?"WeakMap {}":Me==="[object WeakSet]"?"WeakSet {}":Me==="[object Function]"||Me==="[object GeneratorFunction]"?h(z,ve):Me==="[object Symbol]"?C(z):Me==="[object Date]"?isNaN(+z)?"Date { NaN }":g.call(z):Me==="[object Error]"?j(z):Me==="[object RegExp]"?Se?E.call(z).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):E.call(z):z instanceof Error?j(z):null}function G(z,ve,Se,Ae,je,Me){if(je.indexOf(z)!==-1)return"[Circular]";je=je.slice(),je.push(z);let Fe=++Ae>ve.maxDepth,Ue=ve.min;if(ve.callToJSON&&!Fe&&z.toJSON&&typeof z.toJSON=="function"&&!Me)return V(z.toJSON(),ve,Se,Ae,je,!0);let it=f.call(z);return it==="[object Arguments]"?Fe?"[Arguments]":(Ue?"":"Arguments ")+"["+(0,r.printListItems)(z,ve,Se,Ae,je,V)+"]":L(it)?Fe?"["+z.constructor.name+"]":(Ue||!ve.printBasicPrototype&&z.constructor.name==="Array"?"":z.constructor.name+" ")+"["+(0,r.printListItems)(z,ve,Se,Ae,je,V)+"]":it==="[object Map]"?Fe?"[Map]":"Map {"+(0,r.printIteratorEntries)(z.entries(),ve,Se,Ae,je,V," => ")+"}":it==="[object Set]"?Fe?"[Set]":"Set {"+(0,r.printIteratorValues)(z.values(),ve,Se,Ae,je,V)+"}":Fe||R(z)?"["+w(z)+"]":(Ue||!ve.printBasicPrototype&&w(z)==="Object"?"":w(z)+" ")+"{"+(0,r.printObjectProperties)(z,ve,Se,Ae,je,V)+"}"}function oe(z){return z.serialize!=null}function B(z,ve,Se,Ae,je,Me){let Fe;try{Fe=oe(z)?z.serialize(ve,Se,Ae,je,Me,V):z.print(ve,Ue=>V(Ue,Se,Ae,je,Me),Ue=>{let it=Ae+Se.indent;return it+Ue.replace(A,`
  10. `+it)},{edgeSpacing:Se.spacingOuter,min:Se.min,spacing:Se.spacingInner},Se.colors)}catch(Ue){throw new M(Ue.message,Ue.stack)}if(typeof Fe!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof Fe}".`);return Fe}function N(z,ve){for(let Se=0;Se<z.length;Se++)try{if(z[Se].test(ve))return z[Se]}catch(Ae){throw new M(Ae.message,Ae.stack)}return null}function V(z,ve,Se,Ae,je,Me){let Fe=N(ve.plugins,z);if(Fe!==null)return B(Fe,z,ve,Se,Ae,je);let Ue=Z(z,ve.printFunctionName,ve.escapeRegex,ve.escapeString);return Ue!==null?Ue:G(z,ve,Se,Ae,je,Me)}var K={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},te=Object.keys(K),fe={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=fe;function _e(z){if(Object.keys(z).forEach(ve=>{if(!fe.hasOwnProperty(ve))throw new Error(`pretty-format: Unknown option "${ve}".`)}),z.min&&z.indent!==void 0&&z.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(z.theme!==void 0){if(z.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof z.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof z.theme}".`)}}var Re=z=>te.reduce((ve,Se)=>{let Ae=z.theme&&z.theme[Se]!==void 0?z.theme[Se]:K[Se],je=Ae&&t.default[Ae];if(je&&typeof je.close=="string"&&typeof je.open=="string")ve[Se]=je;else throw new Error(`pretty-format: Option "theme" has a key "${Se}" whose value "${Ae}" is undefined in ansi-styles.`);return ve},Object.create(null)),Ie=()=>te.reduce((z,ve)=>(z[ve]={close:"",open:""},z),Object.create(null)),de=z=>z&&z.printFunctionName!==void 0?z.printFunctionName:fe.printFunctionName,ue=z=>z&&z.escapeRegex!==void 0?z.escapeRegex:fe.escapeRegex,Ce=z=>z&&z.escapeString!==void 0?z.escapeString:fe.escapeString,Ee=z=>{var ve;return{callToJSON:z&&z.callToJSON!==void 0?z.callToJSON:fe.callToJSON,colors:z&&z.highlight?Re(z):Ie(),compareKeys:z&&typeof z.compareKeys=="function"?z.compareKeys:fe.compareKeys,escapeRegex:ue(z),escapeString:Ce(z),indent:z&&z.min?"":me(z&&z.indent!==void 0?z.indent:fe.indent),maxDepth:z&&z.maxDepth!==void 0?z.maxDepth:fe.maxDepth,min:z&&z.min!==void 0?z.min:fe.min,plugins:z&&z.plugins!==void 0?z.plugins:fe.plugins,printBasicPrototype:(ve=z==null?void 0:z.printBasicPrototype)!==null&&ve!==void 0?ve:!0,printFunctionName:de(z),spacingInner:z&&z.min?" ":`
  11. `,spacingOuter:z&&z.min?"":`
  12. `}};function me(z){return new Array(z+1).join(" ")}function He(z,ve){if(ve&&(_e(ve),ve.plugins)){let Ae=N(ve.plugins,z);if(Ae!==null)return B(Ae,z,Ee(ve),"",0,[])}let Se=Z(z,de(ve),ue(ve),Ce(ve));return Se!==null?Se:G(z,Ee(ve),"",0,[])}var ke={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:i.default,DOMElement:a.default,Immutable:l.default,ReactElement:d.default,ReactTestComponent:c.default};e.plugins=ke;var mt=He;e.default=mt}}),jP=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 E=p.charCodeAt(g);f[g*2]=E>>>8,f[g*2+1]=E%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(E){b.push(n(E))}),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,E={},w={},R="",_="",A="",M=2,L=3,D=2,I=[],h=0,C=0,j;for(j=0;j<c.length;j+=1)if(R=c.charAt(j),Object.prototype.hasOwnProperty.call(E,R)||(E[R]=L++,w[R]=!0),_=A+R,Object.prototype.hasOwnProperty.call(E,_))A=_;else{if(Object.prototype.hasOwnProperty.call(w,A)){if(A.charCodeAt(0)<256){for(g=0;g<D;g++)h=h<<1,C==p-1?(C=0,I.push(f(h)),h=0):C++;for(b=A.charCodeAt(0),g=0;g<8;g++)h=h<<1|b&1,C==p-1?(C=0,I.push(f(h)),h=0):C++,b=b>>1}else{for(b=1,g=0;g<D;g++)h=h<<1|b,C==p-1?(C=0,I.push(f(h)),h=0):C++,b=0;for(b=A.charCodeAt(0),g=0;g<16;g++)h=h<<1|b&1,C==p-1?(C=0,I.push(f(h)),h=0):C++,b=b>>1}M--,M==0&&(M=Math.pow(2,D),D++),delete w[A]}else for(b=E[A],g=0;g<D;g++)h=h<<1|b&1,C==p-1?(C=0,I.push(f(h)),h=0):C++,b=b>>1;M--,M==0&&(M=Math.pow(2,D),D++),E[_]=L++,A=String(R)}if(A!==""){if(Object.prototype.hasOwnProperty.call(w,A)){if(A.charCodeAt(0)<256){for(g=0;g<D;g++)h=h<<1,C==p-1?(C=0,I.push(f(h)),h=0):C++;for(b=A.charCodeAt(0),g=0;g<8;g++)h=h<<1|b&1,C==p-1?(C=0,I.push(f(h)),h=0):C++,b=b>>1}else{for(b=1,g=0;g<D;g++)h=h<<1|b,C==p-1?(C=0,I.push(f(h)),h=0):C++,b=0;for(b=A.charCodeAt(0),g=0;g<16;g++)h=h<<1|b&1,C==p-1?(C=0,I.push(f(h)),h=0):C++,b=b>>1}M--,M==0&&(M=Math.pow(2,D),D++),delete w[A]}else for(b=E[A],g=0;g<D;g++)h=h<<1|b&1,C==p-1?(C=0,I.push(f(h)),h=0):C++,b=b>>1;M--,M==0&&(M=Math.pow(2,D),D++)}for(b=2,g=0;g<D;g++)h=h<<1|b&1,C==p-1?(C=0,I.push(f(h)),h=0):C++,b=b>>1;for(;;)if(h=h<<1,C==p-1){I.push(f(h));break}else C++;return I.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,E=4,w=3,R="",_=[],A,M,L,D,I,h,C,j={val:f(0),position:p,index:1};for(A=0;A<3;A+=1)g[A]=A;for(L=0,I=Math.pow(2,2),h=1;h!=I;)D=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),L|=(D>0?1:0)*h,h<<=1;switch(L){case 0:for(L=0,I=Math.pow(2,8),h=1;h!=I;)D=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),L|=(D>0?1:0)*h,h<<=1;C=n(L);break;case 1:for(L=0,I=Math.pow(2,16),h=1;h!=I;)D=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),L|=(D>0?1:0)*h,h<<=1;C=n(L);break;case 2:return""}for(g[3]=C,M=C,_.push(C);;){if(j.index>c)return"";for(L=0,I=Math.pow(2,w),h=1;h!=I;)D=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),L|=(D>0?1:0)*h,h<<=1;switch(C=L){case 0:for(L=0,I=Math.pow(2,8),h=1;h!=I;)D=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),L|=(D>0?1:0)*h,h<<=1;g[E++]=n(L),C=E-1,b--;break;case 1:for(L=0,I=Math.pow(2,16),h=1;h!=I;)D=j.val&j.position,j.position>>=1,j.position==0&&(j.position=p,j.val=f(j.index++)),L|=(D>0?1:0)*h,h<<=1;g[E++]=n(L),C=E-1,b--;break;case 2:return _.join("")}if(b==0&&(b=Math.pow(2,w),w++),g[C])R=g[C];else if(C===E)R=M+M.charAt(0);else return null;_.push(R),g[E++]=M+R.charAt(0),b--,M=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})}}),Yy=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 Fa=="function"&&Fa;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(E){var w=n[c][1][E];return a(w||E)},b,b.exports,r,n,o,i)}return o[c].exports}for(var l=typeof Fa=="function"&&Fa,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 E=p,w,R,_=arguments.length-1,A=Array(_+1),M=!0,L;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(L=0;L<_;L++){if(A[L]={cacheItem:E,arg:arguments[L]},E.has(arguments[L])){E=E.get(arguments[L]);continue}M=!1,w=new i(!1),E.set(arguments[L],w),E=w}return M&&(E.has(arguments[_])?R=E.get(arguments[_]):M=!1),M||(R=g.apply(null,arguments),E.set(arguments[_],R)),c>0&&(A[_]={cacheItem:E,arg:arguments[_]},M?a(f,A):f.push(A),f.length>c&&l(f.shift())),b.wasMemoized=M,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,E,w;for(E=0;E<f;E++){for(b=!0,w=0;w<g;w++)if(!d(c[E][w].arg,p[w].arg)){b=!1;break}if(b)break}c.push(c.splice(E,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)})}}),Ky=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}}}),Gc=Y({"../../node_modules/picoquery/lib/shared.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Ky(),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}}}),Xy=Y({"../../node_modules/picoquery/lib/object-util.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=p;var t=Gc(),r=Ky();function n(f){return f==="__proto__"||f==="constructor"||f==="prototype"}function o(f,g,b,E,w){if(n(g))return f;let R=f[g];return typeof R=="object"&&R!==null?R:!E&&(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,E,w){let{nestingSyntax:R=t.defaultOptions.nestingSyntax,arrayRepeat:_=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:A=t.defaultOptions.arrayRepeatSyntax,nesting:M=t.defaultOptions.nesting,delimiter:L=t.defaultOptions.delimiter,valueSerializer:D=t.defaultOptions.valueSerializer,shouldSerializeObject:I=t.defaultOptions.shouldSerializeObject}=g,h=typeof L=="number"?String.fromCharCode(L):L,C=w===!0&&_,j=R==="dot"||R==="js"&&!w;if(b>i)return"";let Z="",G=!0,oe=!1;for(let B in f){let N=f[B];if(N===void 0)continue;let V;E?(V=E,C?A==="bracket"&&(V+=a):j?(V+=c,V+=B):(V+=l,V+=B,V+=d)):V=B,G||(Z+=h),typeof N=="object"&&N!==null&&!I(N)?(oe=N.pop!==void 0,(M||_&&oe)&&(Z+=p(N,g,b+1,V,oe))):(Z+=(0,r.encodeString)(V),Z+="=",Z+=D(N,B)),G&&(G=!1)}return Z}}}),qP=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,E=t;for(;d>-1&&d<c;){let w=a(l[d+1],4),R=a(l[d+2],0),_=w|R,A=n[_];if(E=n[256+E+A],g=g<<6|_&n[364+A],E===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(E===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}}}),MP=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=Xy(),r=Gc(),n=qP(),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,E){let w=p.substring(f,g);return b&&(w=w.replace(a," ")),E&&(w=(0,n.decodeURIComponent)(w)||w),w}function c(p,f){let{valueDeserializer:g=r.defaultOptions.valueDeserializer,keyDeserializer:b=r.defaultOptions.keyDeserializer,arrayRepeatSyntax:E=r.defaultOptions.arrayRepeatSyntax,nesting:w=r.defaultOptions.nesting,arrayRepeat:R=r.defaultOptions.arrayRepeat,nestingSyntax:_=r.defaultOptions.nestingSyntax,delimiter:A=r.defaultOptions.delimiter}=f??{},M=typeof A=="string"?A.charCodeAt(0):A,L=_==="js",D=new l;if(typeof p!="string")return D;let I=p.length,h="",C=-1,j=-1,Z=-1,G=D,oe,B="",N="",V=!1,K=!1,te=!1,fe=!1,_e=!1,Re=!1,Ie=0,de=-1,ue=-1,Ce=-1;for(let Ee=0;Ee<I+1;Ee++){if(Ie=Ee!==I?p.charCodeAt(Ee):M,Ie===M){if(Re=j>C,Re||(j=Ee),Z!==j-1&&(N=d(p,Z+1,de>-1?de:j,te,V),B=b(N),oe!==void 0&&(G=(0,t.getDeepObject)(G,oe,B,L&&_e,void 0))),Re||B!==""){Re&&(h=p.slice(j+1,Ee),fe&&(h=h.replace(a," ")),K&&(h=(0,n.decodeURIComponent)(h)||h));let me=g(h,B);if(R){let He=G[B];He===void 0?de>-1?G[B]=[me]:G[B]=me:He.pop?He.push(me):G[B]=[He,me]}else G[B]=me}h="",C=Ee,j=Ee,V=!1,K=!1,te=!1,fe=!1,_e=!1,de=-1,Z=Ee,G=D,oe=void 0,B=""}else Ie===93?(R&&E==="bracket"&&Ce===91&&(de=ue),w&&(_==="index"||L)&&j<=C&&(Z!==ue&&(N=d(p,Z+1,Ee,te,V),B=b(N),oe!==void 0&&(G=(0,t.getDeepObject)(G,oe,B,void 0,void 0)),oe=B,te=!1,V=!1),Z=Ee,_e=!1)):Ie===46?w&&(_==="dot"||L)&&j<=C&&(Z!==ue&&(N=d(p,Z+1,Ee,te,V),B=b(N),oe!==void 0&&(G=(0,t.getDeepObject)(G,oe,B,L)),oe=B,te=!1,V=!1),_e=!0,Z=Ee):Ie===91?w&&(_==="index"||L)&&j<=C&&(Z!==ue&&(N=d(p,Z+1,Ee,te,V),B=b(N),L&&oe!==void 0&&(G=(0,t.getDeepObject)(G,oe,B,L)),oe=B,te=!1,V=!1,_e=!1),Z=Ee):Ie===61?j<=C?j=Ee:K=!0:Ie===43?j>C?fe=!0:te=!0:Ie===37&&(j>C?K=!0:V=!0);ue=Ee,Ce=Ie}return D}}}),LP=Y({"../../node_modules/picoquery/lib/stringify.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Xy();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}}}),Wc=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=MP();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return n.parse}});var o=LP();Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return o.stringify}}),r(Gc(),e)}}),Qy=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:"‌"}}}),DP=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:"ÿ"}}}),Zy=Y({"../../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),kP=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}}}),$P=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(kP()),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}}),gf=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(Qy()),n=t(DP()),o=t(Zy()),i=t($P()),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 E=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(E,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}}}}),bf=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(Zy()),n=d(r.default),o=c(n);e.encodeXML=_(n);var i=t(Qy()),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(M,L){return M[A[L]]="&"+L+";",M},{})}function c(A){for(var M=[],L=[],D=0,I=Object.keys(A);D<I.length;D++){var h=I[D];h.length===1?M.push("\\"+h):L.push(h)}M.sort();for(var C=0;C<M.length-1;C++){for(var j=C;j<M.length-1&&M[j].charCodeAt(1)+1===M[j+1].charCodeAt(1);)j+=1;var Z=1+j-C;Z<3||M.splice(C,Z,M[C]+"-"+M[j])}return L.unshift("["+M.join("")+"]"),new RegExp(L.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,M){return function(L){return L.replace(M,function(D){return A[D]}).replace(p,g)}}var E=new RegExp(o.source+"|"+p.source,"g");function w(A){return A.replace(E,g)}e.escape=w;function R(A){return A.replace(o,g)}e.escapeUTF8=R;function _(A){return function(M){return M.replace(E,function(L){return A[L]||g(L)})}}}}),BP=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=gf(),r=bf();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=bf();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=gf();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}})}}),FP=Y({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(N,V){if(!(N instanceof V))throw new TypeError("Cannot call a class as a function")}function n(N,V){for(var K=0;K<V.length;K++){var te=V[K];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(N,te.key,te)}}function o(N,V,K){return V&&n(N.prototype,V),N}function i(N,V){var K=typeof Symbol<"u"&&N[Symbol.iterator]||N["@@iterator"];if(!K){if(Array.isArray(N)||(K=a(N))||V){K&&(N=K);var te=0,fe=function(){};return{s:fe,n:function(){return te>=N.length?{done:!0}:{done:!1,value:N[te++]}},e:function(de){throw de},f:fe}}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 _e=!0,Re=!1,Ie;return{s:function(){K=K.call(N)},n:function(){var de=K.next();return _e=de.done,de},e:function(de){Re=!0,Ie=de},f:function(){try{!_e&&K.return!=null&&K.return()}finally{if(Re)throw Ie}}}}function a(N,V){if(N){if(typeof N=="string")return l(N,V);var K=Object.prototype.toString.call(N).slice(8,-1);if(K==="Object"&&N.constructor&&(K=N.constructor.name),K==="Map"||K==="Set")return Array.from(N);if(K==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(K))return l(N,V)}}function l(N,V){(V==null||V>N.length)&&(V=N.length);for(var K=0,te=new Array(V);K<V;K++)te[K]=N[K];return te}var d=BP(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:p()};function p(){var N={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(te){return f(V,K,te,N)})})}),A(0,23).forEach(function(V){var K=V+232,te=g(V*10+8);N[K]="#"+te+te+te}),N}function f(N,V,K,te){var fe=16+N*36+V*6+K,_e=N>0?N*40+55:0,Re=V>0?V*40+55:0,Ie=K>0?K*40+55:0;te[fe]=b([_e,Re,Ie])}function g(N){for(var V=N.toString(16);V.length<2;)V="0"+V;return V}function b(N){var V=[],K=i(N),te;try{for(K.s();!(te=K.n()).done;){var fe=te.value;V.push(g(fe))}}catch(_e){K.e(_e)}finally{K.f()}return"#"+V.join("")}function E(N,V,K,te){var fe;return V==="text"?fe=D(K,te):V==="display"?fe=R(N,K,te):V==="xterm256Foreground"?fe=C(N,te.colors[K]):V==="xterm256Background"?fe=j(N,te.colors[K]):V==="rgb"&&(fe=w(N,K)),fe}function w(N,V){V=V.substring(2).slice(0,-1);var K=+V.substr(0,2),te=V.substring(5).split(";"),fe=te.map(function(_e){return("0"+Number(_e).toString(16)).substr(-2)}).join("");return h(N,(K===38?"color:#":"background-color:#")+fe)}function R(N,V,K){V=parseInt(V,10);var te={"-1":function(){return"<br/>"},0:function(){return N.length&&_(N)},1:function(){return I(N,"b")},3:function(){return I(N,"i")},4:function(){return I(N,"u")},8:function(){return h(N,"display:none")},9:function(){return I(N,"strike")},22:function(){return h(N,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return Z(N,"i")},24:function(){return Z(N,"u")},39:function(){return C(N,K.fg)},49:function(){return j(N,K.bg)},53:function(){return h(N,"text-decoration:overline")}},fe;return te[V]?fe=te[V]():4<V&&V<7?fe=I(N,"blink"):29<V&&V<38?fe=C(N,K.colors[V-30]):39<V&&V<48?fe=j(N,K.colors[V-40]):89<V&&V<98?fe=C(N,K.colors[8+(V-90)]):99<V&&V<108&&(fe=j(N,K.colors[8+(V-100)])),fe}function _(N){var V=N.slice(0);return N.length=0,V.reverse().map(function(K){return"</"+K+">"}).join("")}function A(N,V){for(var K=[],te=N;te<=V;te++)K.push(te);return K}function M(N){return function(V){return(N===null||V.category!==N)&&N!=="all"}}function L(N){N=parseInt(N,10);var V=null;return N===0?V="all":N===1?V="bold":2<N&&N<5?V="underline":4<N&&N<7?V="blink":N===8?V="hide":N===9?V="strike":29<N&&N<38||N===39||89<N&&N<98?V="foreground-color":(39<N&&N<48||N===49||99<N&&N<108)&&(V="background-color"),V}function D(N,V){return V.escapeXML?d.encodeXML(N):N}function I(N,V,K){return K||(K=""),N.push(V),"<".concat(V).concat(K?' style="'.concat(K,'"'):"",">")}function h(N,V){return I(N,"span",V)}function C(N,V){return I(N,"span","color:"+V)}function j(N,V){return I(N,"span","background-color:"+V)}function Z(N,V){var K;if(N.slice(-1)[0]===V&&(K=N.pop()),K)return"</"+V+">"}function G(N,V,K){var te=!1,fe=3;function _e(){return""}function Re(Me,Fe){return K("xterm256Foreground",Fe),""}function Ie(Me,Fe){return K("xterm256Background",Fe),""}function de(Me){return V.newline?K("display",-1):K("text",Me),""}function ue(Me,Fe){te=!0,Fe.trim().length===0&&(Fe="0"),Fe=Fe.trimRight(";").split(";");var Ue=i(Fe),it;try{for(Ue.s();!(it=Ue.n()).done;){var Jt=it.value;K("display",Jt)}}catch(Ft){Ue.e(Ft)}finally{Ue.f()}return""}function Ce(Me){return K("text",Me),""}function Ee(Me){return K("rgb",Me),""}var me=[{pattern:/^\x08+/,sub:_e},{pattern:/^\x1b\[[012]?K/,sub:_e},{pattern:/^\x1b\[\(B/,sub:_e},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:Ee},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Re},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Ie},{pattern:/^\n/,sub:de},{pattern:/^\r+\n/,sub:de},{pattern:/^\r/,sub:de},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ue},{pattern:/^\x1b\[\d?J/,sub:_e},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:_e},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:_e},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Ce}];function He(Me,Fe){Fe>fe&&te||(te=!1,N=N.replace(Me.pattern,Me.sub))}var ke=[],mt=N,z=mt.length;e:for(;z>0;){for(var ve=0,Se=0,Ae=me.length;Se<Ae;ve=++Se){var je=me[ve];if(He(je,ve),N.length!==z){z=N.length;continue e}}if(N.length===z)break;ke.push(0),z=N.length}return ke}function oe(N,V,K){return V!=="text"&&(N=N.filter(M(L(K))),N.push({token:V,data:K,category:L(K)})),N}var B=function(){function N(V){r(this,N),V=V||{},V.colors&&(V.colors=Object.assign({},c.colors,V.colors)),this.options=Object.assign({},c,V),this.stack=[],this.stickyStack=[]}return o(N,[{key:"toHtml",value:function(V){var K=this;V=typeof V=="string"?[V]:V;var te=this.stack,fe=this.options,_e=[];return this.stickyStack.forEach(function(Re){var Ie=E(te,Re.token,Re.data,fe);Ie&&_e.push(Ie)}),G(V.join(""),fe,function(Re,Ie){var de=E(te,Re,Ie,fe);de&&_e.push(de),fe.stream&&(K.stickyStack=oe(K.stickyStack,Re,Ie))}),te.length&&_e.push(_(te)),_e.join("")}}]),N}();t.exports=B}}),UP=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 E=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}},M=[_,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,E,R],L=/^\s*\n\s*/;class D{static create(y){let S=this.read(y);y=S.text;let q=this.read(y);return y=q.text,new D(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||L.test(y),y=y.trim();for(let q of M){let X=q(y);if(X!==null){let se=Object.assign(Object.assign({},X),{startOfLine:S});return y=y.slice(se.text.length),{text:y,token:se}}}throw new Error("Unexpected Token "+y)}advance(){let y=D.read(this.text);return new D(y.text,this.current,this.next,y.token)}}function I(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 h(s){return s.type==="JsdocTypeKeyValue"?j(s):I(s)}function C(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 B;(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"})(B||(B={}));class N{constructor(y,S,q){this.grammar=y,typeof S=="string"?this._lexer=D.create(S):this._lexer=S,this.baseParser=q}get lexer(){return this._lexer}parse(){let y=this.parseType(B.ALL);if(this.lexer.current.type!=="EOF")throw new i(this.lexer.current);return y}parseType(y){return I(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(B.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:I(S),meta:{position:"suffix"}}):null};function te(s){let y=(S,q,X)=>{let se=S.lexer.current.type,ye=S.lexer.next.type;if(X===null){if("parsePrefix"in s&&s.accept(se,ye))return s.parsePrefix(S)}else if("parseInfix"in s&&s.precedence>q&&s.accept(se,ye))return s.parseInfix(S,X);return null};return Object.defineProperty(y,"name",{value:s.name}),y}let fe=te({name:"optionalParslet",accept:s=>s==="=",precedence:B.OPTIONAL,parsePrefix:s=>(s.consume("="),{type:"JsdocTypeOptional",element:s.parseType(B.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(s,y)=>(s.consume("="),{type:"JsdocTypeOptional",element:I(y),meta:{position:"suffix"}})}),_e=te({name:"numberParslet",accept:s=>s==="Number",parsePrefix:s=>{let y=parseFloat(s.lexer.current.text);return s.consume("Number"),{type:"JsdocTypeNumber",value:y}}}),Re=te({name:"parenthesisParslet",accept:s=>s==="(",parsePrefix:s=>{if(s.consume("("),s.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let y=s.parseIntermediateType(B.ALL);if(!s.consume(")"))throw new Error("Unterminated parenthesis");return y.type==="JsdocTypeParameterList"?y:y.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[y]}:{type:"JsdocTypeParenthesis",element:I(y)}}}),Ie=te({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)}}),de=te({name:"notNullableParslet",accept:s=>s==="!",precedence:B.NULLABLE,parsePrefix:s=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:s.parseType(B.NULLABLE),meta:{position:"prefix"}}),parseInfix:(s,y)=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:I(y),meta:{position:"suffix"}})});function ue({allowTrailingComma:s}){return te({name:"parameterListParslet",accept:y=>y===",",precedence:B.PARAMETER_LIST,parseInfix:(y,S)=>{let q=[h(S)];y.consume(",");do try{let X=y.parseIntermediateType(B.PARAMETER_LIST);q.push(h(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 Ce=te({name:"genericParslet",accept:(s,y)=>s==="<"||s==="."&&y==="<",precedence:B.GENERIC,parseInfix:(s,y)=>{let S=s.consume(".");s.consume("<");let q=[],X=!1;if(s.consume("infer")){X=!0;let se=s.parseIntermediateType(B.SYMBOL);if(se.type!=="JsdocTypeName")throw new a(se,"A typescript asserts always has to have a name on the left side.");q.push(se)}else do q.push(s.parseType(B.PARAMETER_LIST));while(s.consume(","));if(!s.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:I(y),elements:q},X?{infer:!0}:{}),{meta:{brackets:"angle",dot:S}})}}),Ee=te({name:"unionParslet",accept:s=>s==="|",precedence:B.UNION,parseInfix:(s,y)=>{s.consume("|");let S=[];do S.push(s.parseType(B.UNION));while(s.consume("|"));return{type:"JsdocTypeUnion",elements:[I(y),...S]}}}),me=[K,fe,_e,Re,Ie,de,ue({allowTrailingComma:!0}),Ce,Ee,fe];function He({allowSquareBracketsOnAnyType:s,allowJsdocNamePaths:y,pathGrammar:S}){return function(q,X,se){if(se==null||X>=B.NAME_PATH)return null;let ye=q.lexer.current.type,De=q.lexer.next.type;if(!(ye==="."&&De!=="<"||ye==="["&&(s||se.type==="JsdocTypeName")||y&&(ye==="~"||ye==="#")))return null;let $e,Ze=!1;q.consume(".")?$e="property":q.consume("[")?($e="property-brackets",Ze=!0):q.consume("~")?$e="inner":(q.consume("#"),$e="instance");let Pt=S!==null?new N(S,q.lexer,q):q,vt=Pt.parseIntermediateType(B.NAME_PATH);q.acceptLexerState(Pt);let or;switch(vt.type){case"JsdocTypeName":or={type:"JsdocTypeProperty",value:vt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":or={type:"JsdocTypeProperty",value:vt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":or={type:"JsdocTypeProperty",value:vt.value,meta:{quote:vt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(vt.specialType==="event")or=vt;else throw new a(vt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new a(vt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Ze&&!q.consume("]")){let co=q.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${co.type}' with text '${co.text}'`)}return{type:"JsdocTypeNamePath",left:I(se),right:or,pathType:$e}}}function ke({allowedAdditionalTokens:s}){return te({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 mt=te({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 z({pathGrammar:s,allowedTypes:y}){return te({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,se=S.lexer.current;if(S.consume("StringValue"))X={type:"JsdocTypeSpecialNamePath",value:se.text.slice(1,-1),specialType:q,meta:{quote:se.text[0]==="'"?"single":"double"}};else{let $e="",Ze=["Identifier","@","/"];for(;Ze.some(Pt=>S.consume(Pt));)$e+=se.text,se=S.lexer.current;X={type:"JsdocTypeSpecialNamePath",value:$e,specialType:q,meta:{quote:void 0}}}let ye=new N(s,S.lexer,S),De=ye.parseInfixIntermediateType(X,B.ALL);return S.acceptLexerState(ye),I(De)}})}let ve=[ke({allowedAdditionalTokens:["external","module"]}),mt,_e,He({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Se=[...ve,z({allowedTypes:["event"],pathGrammar:ve})];function Ae(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=>h(S))}function je(s){let y=Ae(s);if(y.some(S=>S.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return y}function Me({allowNamedParameters:s,allowNoReturnType:y,allowWithoutParenthesis:S,allowNewAsFunctionKeyword:q}){return te({name:"functionParslet",accept:(X,se)=>X==="function"||q&&X==="new"&&se==="(",parsePrefix:X=>{let se=X.consume("new");X.consume("function");let ye=X.lexer.current.type==="(";if(!ye){if(!S)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let De={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:se,parenthesis:ye},$e=X.parseIntermediateType(B.FUNCTION);if(s===void 0)De.parameters=je($e);else{if(se&&$e.type==="JsdocTypeFunction"&&$e.arrow)return De=$e,De.constructor=!0,De;De.parameters=Ae($e);for(let Ze of De.parameters)if(Ze.type==="JsdocTypeKeyValue"&&!s.includes(Ze.key))throw new Error(`only allowed named parameters are ${s.join(", ")} but got ${Ze.type}`)}if(X.consume(":"))De.returnType=X.parseType(B.PREFIX);else if(!y)throw new Error("function is missing return type");return De}})}function Fe({allowPostfix:s,allowEnclosingBrackets:y}){return te({name:"variadicParslet",accept:S=>S==="...",precedence:B.PREFIX,parsePrefix:S=>{S.consume("...");let q=y&&S.consume("[");try{let X=S.parseType(B.PREFIX);if(q&&!S.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:I(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:I(q),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Ue=te({name:"symbolParslet",accept:s=>s==="(",precedence:B.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(B.SYMBOL);if(S.element=Z(q),!s.consume(")"))throw new Error("Symbol does not end after value")}return S}}),it=te({name:"arrayBracketsParslet",precedence:B.ARRAY_BRACKETS,accept:(s,y)=>s==="["&&y==="]",parseInfix:(s,y)=>(s.consume("["),s.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[I(y)],meta:{brackets:"square",dot:!1}})});function Jt({objectFieldGrammar:s,allowKeyTypes:y}){return te({name:"objectParslet",accept:S=>S==="{",parsePrefix:S=>{S.consume("{");let q={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!S.consume("}")){let X,se=new N(s,S.lexer,S);for(;;){se.acceptLexerState(S);let ye=se.parseIntermediateType(B.OBJECT);S.acceptLexerState(se),ye===void 0&&y&&(ye=S.parseIntermediateType(B.OBJECT));let De=!1;if(ye.type==="JsdocTypeNullable"&&(De=!0,ye=ye.element),ye.type==="JsdocTypeNumber"||ye.type==="JsdocTypeName"||ye.type==="JsdocTypeStringValue"){let $e;ye.type==="JsdocTypeStringValue"&&($e=ye.meta.quote),q.elements.push({type:"JsdocTypeObjectField",key:ye.value.toString(),right:void 0,optional:De,readonly:!1,meta:{quote:$e}})}else if(ye.type==="JsdocTypeObjectField"||ye.type==="JsdocTypeJsdocObjectField")q.elements.push(ye);else throw new a(ye);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 Ft({allowSquaredProperties:s,allowKeyTypes:y,allowReadonly:S,allowOptional:q}){return te({name:"objectFieldParslet",precedence:B.KEY_VALUE,accept:X=>X===":",parseInfix:(X,se)=>{var ye;let De=!1,$e=!1;q&&se.type==="JsdocTypeNullable"&&(De=!0,se=se.element),S&&se.type==="JsdocTypeReadonlyProperty"&&($e=!0,se=se.element);let Ze=(ye=X.baseParser)!==null&&ye!==void 0?ye:X;if(Ze.acceptLexerState(X),se.type==="JsdocTypeNumber"||se.type==="JsdocTypeName"||se.type==="JsdocTypeStringValue"||oe(se)){if(oe(se)&&!s)throw new a(se);Ze.consume(":");let Pt;se.type==="JsdocTypeStringValue"&&(Pt=se.meta.quote);let vt=Ze.parseType(B.KEY_VALUE);return X.acceptLexerState(Ze),{type:"JsdocTypeObjectField",key:oe(se)?se:se.value.toString(),right:vt,optional:De,readonly:$e,meta:{quote:Pt}}}else{if(!y)throw new a(se);Ze.consume(":");let Pt=Ze.parseType(B.KEY_VALUE);return X.acceptLexerState(Ze),{type:"JsdocTypeJsdocObjectField",left:I(se),right:Pt}}}})}function Ht({allowOptional:s,allowVariadic:y}){return te({name:"keyValueParslet",precedence:B.KEY_VALUE,accept:S=>S===":",parseInfix:(S,q)=>{let X=!1,se=!1;if(s&&q.type==="JsdocTypeNullable"&&(X=!0,q=q.element),y&&q.type==="JsdocTypeVariadic"&&q.element!==void 0&&(se=!0,q=q.element),q.type!=="JsdocTypeName")throw new a(q);S.consume(":");let ye=S.parseType(B.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:q.value,right:ye,optional:X,variadic:se}}})}let pt=[...me,Me({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),mt,z({allowedTypes:["module","external","event"],pathGrammar:Se}),Fe({allowEnclosingBrackets:!0,allowPostfix:!0}),ke({allowedAdditionalTokens:["keyof"]}),Ue,it,He({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Se})],Yt=[...pt,Jt({objectFieldGrammar:[ke({allowedAdditionalTokens:["typeof","module","in"]}),Ft({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...pt],allowKeyTypes:!0}),Ht({allowOptional:!0,allowVariadic:!0})],Ut=te({name:"typeOfParslet",accept:s=>s==="typeof",parsePrefix:s=>(s.consume("typeof"),{type:"JsdocTypeTypeof",element:s.parseType(B.KEY_OF_TYPE_OF)})}),xe=[ke({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),K,fe,mt,_e,Ft({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],qt=[...me,Jt({allowKeyTypes:!1,objectFieldGrammar:xe}),ke({allowedAdditionalTokens:["event","external","in"]}),Ut,Me({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Fe({allowEnclosingBrackets:!1,allowPostfix:!1}),ke({allowedAdditionalTokens:["keyof"]}),z({allowedTypes:["module"],pathGrammar:Se}),He({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Se}),Ht({allowOptional:!1,allowVariadic:!1}),Ue],oo=te({name:"assertsParslet",accept:s=>s==="asserts",parsePrefix:s=>{s.consume("asserts");let y=s.parseIntermediateType(B.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:I(s.parseIntermediateType(B.INFIX))}:{type:"JsdocTypeAssertsPlain",element:y}}});function io({allowQuestionMark:s}){return te({name:"tupleParslet",accept:y=>y==="[",parsePrefix:y=>{y.consume("[");let S={type:"JsdocTypeTuple",elements:[]};if(y.consume("]"))return S;let q=y.parseIntermediateType(B.ALL);if(q.type==="JsdocTypeParameterList"?q.elements[0].type==="JsdocTypeKeyValue"?S.elements=q.elements.map(j):S.elements=q.elements.map(I):q.type==="JsdocTypeKeyValue"?S.elements=[j(q)]:S.elements=[I(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 ao=te({name:"keyOfParslet",accept:s=>s==="keyof",parsePrefix:s=>(s.consume("keyof"),{type:"JsdocTypeKeyof",element:I(s.parseType(B.KEY_OF_TYPE_OF))})}),Cn=te({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(B.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}}}),xn=te({name:"readonlyPropertyParslet",accept:s=>s==="readonly",parsePrefix:s=>(s.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:s.parseIntermediateType(B.KEY_VALUE)})}),Ir=te({name:"arrowFunctionParslet",precedence:B.ARROW,accept:s=>s==="=>",parseInfix:(s,y)=>(s.consume("=>"),{type:"JsdocTypeFunction",parameters:Ae(y).map(C),arrow:!0,constructor:!1,parenthesis:!0,returnType:s.parseType(B.OBJECT)})}),nr=te({name:"genericArrowFunctionParslet",accept:s=>s==="<",parsePrefix:s=>{let y=[];s.consume("<");do{let q,X=s.parseIntermediateType(B.SYMBOL);if(X.type==="JsdocTypeOptional"&&(X=X.element,q=s.parseType(B.SYMBOL)),X.type!=="JsdocTypeName")throw new a(X);let se;s.consume("extends")&&(se=s.parseType(B.SYMBOL),se.type==="JsdocTypeOptional"&&(se=se.element,q=s.parseType(B.SYMBOL)));let ye={type:"JsdocTypeTypeParameter",name:X};if(se!==void 0&&(ye.constraint=se),q!==void 0&&(ye.defaultValue=q),y.push(ye),s.consume(">"))break}while(s.consume(","));let S=s.parseIntermediateType(B.SYMBOL);return S.typeParameters=y,S}}),hr=te({name:"intersectionParslet",accept:s=>s==="&",precedence:B.INTERSECTION,parseInfix:(s,y)=>{s.consume("&");let S=[];do S.push(s.parseType(B.INTERSECTION));while(s.consume("&"));return{type:"JsdocTypeIntersection",elements:[I(y),...S]}}}),Tr=te({name:"predicateParslet",precedence:B.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:I(s.parseIntermediateType(B.INFIX))}}}),so=te({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(B.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(B.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}}),Vr=te({name:"readonlyArrayParslet",accept:s=>s==="readonly",parsePrefix:s=>(s.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:G(s.parseIntermediateType(B.ALL))})}),In=te({name:"conditionalParslet",precedence:B.INFIX,accept:s=>s==="extends",parseInfix:(s,y)=>{s.consume("extends");let S=s.parseType(B.KEY_OF_TYPE_OF).element,q=s.parseType(B.INFIX);return s.consume(":"),{type:"JsdocTypeConditional",checksType:I(y),extendsType:S,trueType:q,falseType:s.parseType(B.INFIX)}}}),Nn=[xn,ke({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),K,fe,mt,_e,Ft({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),so],lo=[...me,Jt({allowKeyTypes:!1,objectFieldGrammar:Nn}),Vr,Ut,ao,Cn,mt,Me({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),io({allowQuestionMark:!1}),Fe({allowEnclosingBrackets:!1,allowPostfix:!1}),oo,In,ke({allowedAdditionalTokens:["event","external","in"]}),z({allowedTypes:["module"],pathGrammar:Se}),it,Ir,nr,He({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Se}),hr,Tr,Ht({allowVariadic:!0,allowOptional:!0})];function sr(s,y){switch(y){case"closure":return new N(qt,s).parse();case"jsdoc":return new N(Yt,s).parse();case"typescript":return new N(lo,s).parse()}}function Nr(s,y=["typescript","closure","jsdoc"]){let S;for(let q of y)try{return sr(s,q)}catch(X){S=X}throw S}function Kt(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=>Kt(s,q))}function qe(s){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function Mt(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 yt(s,y,S){return s==="prefix"?S+y:y+S}function Rt(s,y){switch(y){case"double":return`"${s}"`;case"single":return`'${s}'`;case void 0:return s}}function be(){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?"...":yt(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=>Rt(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+=Rt(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}:${Rt(s.value,s.meta.quote)}`,JsdocTypeNotNullable:(s,y)=>yt(s.meta.position,y(s.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(s,y)=>yt(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)=>yt(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=>Rt(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 jn=be();function jr(s){return Kt(jn,s)}let Jr=["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 wt(s){let y={type:"NameExpression",name:s};return Jr.includes(s)&&(y.reservedWord=!0),y}let uo={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=>wt(Rt(s.value,s.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(s,y)=>{let S=Mt(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=>wt(s.specialType+":"+Rt(s.value,s.meta.quote)),JsdocTypeName:s=>s.value!=="function"?wt(s.value):{type:"FunctionType",params:[]},JsdocTypeNumber:s=>wt(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:wt(Rt(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:wt(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=Rt(s.right.value,s.right.meta.quote);let X=s.pathType==="inner"?"~":s.pathType==="instance"?"#":".";return wt(`${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+="..."),wt(`${s.value}(${y})`)},JsdocTypeParenthesis:(s,y)=>y(I(s.element)),JsdocTypeMappedType:qe,JsdocTypeIndexSignature:qe,JsdocTypeImport:qe,JsdocTypeKeyof:qe,JsdocTypeTuple:qe,JsdocTypeTypeof:qe,JsdocTypeIntersection:qe,JsdocTypeProperty:qe,JsdocTypePredicate:qe,JsdocTypeAsserts:qe,JsdocTypeReadonlyArray:qe,JsdocTypeAssertsPlain:qe,JsdocTypeConditional:qe,JsdocTypeTypeParameter:qe};function qn(s){return Kt(uo,s)}function Gt(s){switch(s){case void 0:return"none";case"single":return"single";case"double":return"double"}}function _i(s){switch(s){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function sn(s,y){return y.length===2?{type:s,left:y[0],right:y[1]}:{type:s,left:y[0],right:sn(s,y.slice(1))}}let Bo={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:Gt(s.element.meta.quote),string:s.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(s,y)=>{let S=Mt(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:Gt(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:Gt(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:Gt(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=Gt(s.right.meta.quote)):(q=s.right.value,X=Gt(s.right.meta.quote));let se={type:_i(s.pathType),owner:y(s.left),name:q,quoteStyle:X,hasEventPrefix:S};if(se.owner.type==="MODULE"){let ye=se.owner;return se.owner=se.owner.value,ye.value=se,ye}else return se},JsdocTypeUnion:(s,y)=>sn("UNION",s.elements.map(y)),JsdocTypeParenthesis:(s,y)=>({type:"PARENTHESIS",value:y(I(s.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:s=>({type:"STRING_VALUE",quoteStyle:Gt(s.meta.quote),string:s.value}),JsdocTypeIntersection:(s,y)=>sn("INTERSECTION",s.elements.map(y)),JsdocTypeNumber:s=>({type:"NUMBER_VALUE",number:s.value.toString()}),JsdocTypeSymbol:qe,JsdocTypeProperty:qe,JsdocTypePredicate:qe,JsdocTypeMappedType:qe,JsdocTypeIndexSignature:qe,JsdocTypeAsserts:qe,JsdocTypeReadonlyArray:qe,JsdocTypeAssertsPlain:qe,JsdocTypeConditional:qe,JsdocTypeTypeParameter:qe};function Si(s){return Kt(Bo,s)}function Ri(){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 Mn={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 ln(s,y,S,q,X){q==null||q(s,y,S);let se=Mn[s.type];for(let ye of se){let De=s[ye];if(De!==void 0)if(Array.isArray(De))for(let $e of De)ln($e,s,ye,q,X);else ln(De,s,ye,q,X)}X==null||X(s,y,S)}function Hr(s,y,S){ln(s,void 0,void 0,y,S)}r.catharsisTransform=qn,r.identityTransformRules=Ri,r.jtpTransform=Si,r.parse=sr,r.stringify=jr,r.stringifyRules=be,r.transform=Kt,r.traverse=Hr,r.tryParse=Nr,r.visitorKeys=Mn})}}),VP=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(E,w){if(typeof E!="object"||E===null)return E;var R=E[Symbol.toPrimitive];if(R!==void 0){var _=R.call(E,w);if(typeof _!="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(w==="string"?String:Number)(E)}(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(E,w){if(!(E 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,E,w,R={},_=g||this.userAgent||"",A=_.toLowerCase().replace(/\s\s+/g," "),M=/(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)||[],L=/(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)||[],D=M[5]||M[3]||M[1]||null,I=L[0]||null,h=M[4]||M[2]||null,C=a();D==="chrome"&&typeof(C==null||(b=C.brave)===null||b===void 0?void 0:b.isBrave)=="function"&&(D="brave"),D&&(R[D]=!0),I&&(R[I]=!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),B=!!(R.brave||R.chrome||R.crios||R.opr||R.safari||R.edg||R.electron),N=!!(R.msie||R.rv);return{name:(E=n[D])!==null&&E!==void 0?E:null,platform:(w=o[I])!==null&&w!==void 0?w:null,userAgent:_,version:h,shortVersion:h?i(parseFloat(h),2):null,isAndroid:j,isTablet:Z,isMobile:G,isDesktop:oe,isWebkit:B,isIE:N}}},{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})}}),zc={};fr(zc,{AI_PROMPT_NUDGE:()=>TA,AI_SETUP_ANALYTICS_REQUEST:()=>gA,AI_SETUP_ANALYTICS_RESPONSE:()=>yA,ARGTYPES_INFO_REQUEST:()=>Eg,ARGTYPES_INFO_RESPONSE:()=>xu,CHANNEL_CREATED:()=>HP,CHANNEL_WS_DISCONNECT:()=>eg,CONFIG_ERROR:()=>tg,CREATE_NEW_STORYFILE_REQUEST:()=>GP,CREATE_NEW_STORYFILE_RESPONSE:()=>WP,CURRENT_STORY_WAS_SET:()=>Pu,DOCS_PREPARED:()=>rg,DOCS_RENDERED:()=>Kc,FILE_COMPONENT_SEARCH_REQUEST:()=>zP,FILE_COMPONENT_SEARCH_RESPONSE:()=>YP,FORCE_REMOUNT:()=>ms,FORCE_RE_RENDER:()=>Xc,GHOST_STORIES_REQUEST:()=>hA,GHOST_STORIES_RESPONSE:()=>mA,GLOBALS_UPDATED:()=>Zi,MANAGER_INERT_ATTRIBUTE_CHANGED:()=>Tg,NAVIGATE_URL:()=>KP,OPEN_IN_EDITOR_REQUEST:()=>bA,OPEN_IN_EDITOR_RESPONSE:()=>vA,PLAY_FUNCTION_THREW_EXCEPTION:()=>ng,PRELOAD_ENTRIES:()=>ig,PREVIEW_BUILDER_PROGRESS:()=>XP,PREVIEW_INITIALIZED:()=>ag,PREVIEW_KEYDOWN:()=>sg,REGISTER_SUBSCRIPTION:()=>QP,REQUEST_WHATS_NEW_DATA:()=>lA,RESET_STORY_ARGS:()=>Qc,RESULT_WHATS_NEW_DATA:()=>uA,SAVE_STORY_REQUEST:()=>pA,SAVE_STORY_RESPONSE:()=>fA,SELECT_STORY:()=>ZP,SET_CONFIG:()=>eA,SET_CURRENT_STORY:()=>Zc,SET_FILTER:()=>tA,SET_GLOBALS:()=>lg,SET_INDEX:()=>rA,SET_STORIES:()=>nA,SET_WHATS_NEW_CACHE:()=>cA,SHARED_STATE_CHANGED:()=>oA,SHARED_STATE_SET:()=>iA,SHARE_ISOLATE_MODE:()=>EA,SIDEBAR_FILTER_CHANGED:()=>wA,STORIES_COLLAPSE_ALL:()=>aA,STORIES_EXPAND_ALL:()=>sA,STORY_ARGS_UPDATED:()=>ug,STORY_CHANGED:()=>cg,STORY_ERRORED:()=>dg,STORY_FINISHED:()=>Cu,STORY_HOT_UPDATED:()=>gg,STORY_INDEX_INVALIDATED:()=>pg,STORY_MISSING:()=>Au,STORY_PREPARED:()=>fg,STORY_RENDERED:()=>ys,STORY_RENDER_PHASE_CHANGED:()=>Po,STORY_SPECIFIED:()=>hg,STORY_THREW_EXCEPTION:()=>mg,STORY_UNCHANGED:()=>yg,TELEMETRY_ERROR:()=>vg,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>dA,UNHANDLED_ERRORS_WHILE_PLAYING:()=>og,UPDATE_GLOBALS:()=>ed,UPDATE_QUERY_PARAMS:()=>bg,UPDATE_STORY_ARGS:()=>td,default:()=>JP});var Yc=(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))(Yc||{}),JP=Yc,{CHANNEL_WS_DISCONNECT:eg,CHANNEL_CREATED:HP,CONFIG_ERROR:tg,CREATE_NEW_STORYFILE_REQUEST:GP,CREATE_NEW_STORYFILE_RESPONSE:WP,CURRENT_STORY_WAS_SET:Pu,DOCS_PREPARED:rg,DOCS_RENDERED:Kc,FILE_COMPONENT_SEARCH_REQUEST:zP,FILE_COMPONENT_SEARCH_RESPONSE:YP,FORCE_RE_RENDER:Xc,FORCE_REMOUNT:ms,GLOBALS_UPDATED:Zi,NAVIGATE_URL:KP,PLAY_FUNCTION_THREW_EXCEPTION:ng,UNHANDLED_ERRORS_WHILE_PLAYING:og,PRELOAD_ENTRIES:ig,PREVIEW_INITIALIZED:ag,PREVIEW_BUILDER_PROGRESS:XP,PREVIEW_KEYDOWN:sg,REGISTER_SUBSCRIPTION:QP,RESET_STORY_ARGS:Qc,SELECT_STORY:ZP,SET_CONFIG:eA,SET_CURRENT_STORY:Zc,SET_FILTER:tA,SET_GLOBALS:lg,SET_INDEX:rA,SET_STORIES:nA,SHARED_STATE_CHANGED:oA,SHARED_STATE_SET:iA,STORIES_COLLAPSE_ALL:aA,STORIES_EXPAND_ALL:sA,STORY_ARGS_UPDATED:ug,STORY_CHANGED:cg,STORY_ERRORED:dg,STORY_INDEX_INVALIDATED:pg,STORY_MISSING:Au,STORY_PREPARED:fg,STORY_RENDER_PHASE_CHANGED:Po,STORY_RENDERED:ys,STORY_FINISHED:Cu,STORY_SPECIFIED:hg,STORY_THREW_EXCEPTION:mg,STORY_UNCHANGED:yg,STORY_HOT_UPDATED:gg,UPDATE_GLOBALS:ed,UPDATE_QUERY_PARAMS:bg,UPDATE_STORY_ARGS:td,REQUEST_WHATS_NEW_DATA:lA,RESULT_WHATS_NEW_DATA:uA,SET_WHATS_NEW_CACHE:cA,TOGGLE_WHATS_NEW_NOTIFICATIONS:dA,TELEMETRY_ERROR:vg,SAVE_STORY_REQUEST:pA,SAVE_STORY_RESPONSE:fA,ARGTYPES_INFO_REQUEST:Eg,ARGTYPES_INFO_RESPONSE:xu,GHOST_STORIES_REQUEST:hA,GHOST_STORIES_RESPONSE:mA,AI_SETUP_ANALYTICS_RESPONSE:yA,AI_SETUP_ANALYTICS_REQUEST:gA,OPEN_IN_EDITOR_REQUEST:bA,OPEN_IN_EDITOR_RESPONSE:vA,MANAGER_INERT_ATTRIBUTE_CHANGED:Tg,SHARE_ISOLATE_MODE:EA,AI_PROMPT_NUDGE:TA,SIDEBAR_FILTER_CHANGED:wA}=Yc,wg={};fr(wg,{global:()=>we});var we=(()=>{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})(),_g={"@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__"},_A=Object.keys(_g),Sg={};fr(Sg,{Channel:()=>Vs,HEARTBEAT_INTERVAL:()=>zg,HEARTBEAT_MAX_LATENCY:()=>Yg,PostMessageTransport:()=>Wg,WebsocketTransport:()=>Kg,createBrowserChannel:()=>kI,default:()=>DI});function tt(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 vf=new Map,SA="UNIVERSAL_STORE:",Sr={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},vo=class Ge{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!==Ge.Status.READY)throw new TypeError(tt`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,!Ge.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(Ge.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?Ge.ActorType.LEADER:Ge.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${SA}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===Ge.ActorType.LEADER)this.syncing={state:Sr.RESOLVED,promise:Promise.resolve()};else{let n,o,i=new Promise((a,l)=>{n=()=>{this.syncing.state===Sr.PENDING&&(this.syncing.state=Sr.RESOLVED,a())},o=d=>{this.syncing.state===Sr.PENDING&&(this.syncing.state=Sr.REJECTED,l(d))}});this.syncing={state:Sr.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)??Ge.preparation.channel,this.environment=(r==null?void 0:r.environment)??Ge.preparation.environment,this.channel&&this.environment?(Ge.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):Ge.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,i)=>{t=a=>{o(a)},r=(...a)=>{i(a)}});Ge.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??Ge.Environment.UNKNOWN})}get status(){var t;if(!this.channel||!this.environment)return Ge.Status.UNPREPARED;switch((t=this.syncing)==null?void 0:t.state){case Sr.PENDING:case void 0:return Ge.Status.SYNCING;case Sr.REJECTED:return Ge.Status.ERROR;case Sr.RESOLVED:default:return Ge.Status.READY}}untilReady(){var t;return Promise.all([Ge.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(tt`[UniversalStore]
  25. create`,{options:t});let r=vf.get(t.id);if(r)return console.warn(tt`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;Ge.isInternalConstructing=!0;let n=new Ge(t);return vf.set(t.id,n),n}static __prepare(t,r){Ge.preparation.channel=t,Ge.preparation.environment=r,Ge.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!==Ge.Status.READY)throw new TypeError(tt`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:Ge.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(Ge.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===Ge.ActorType.LEADER?this.emitToChannel({type:Ge.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:Ge.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:Ge.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(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)===Sr.PENDING&&r.type!==Ge.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===Ge.ActorType.LEADER){let c=!0;switch(r.type){case Ge.InternalEventType.EXISTING_STATE_REQUEST:c=!1;let p={type:Ge.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 Ge.InternalEventType.LEADER_CREATED:c=!1,this.syncing.state=Sr.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(tt`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===Ge.ActorType.FOLLOWER)switch(r.type){case Ge.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),((a=this.syncing)==null?void 0:a.state)!==Sr.PENDING)break;(d=(l=this.syncing).resolve)==null||d.call(l);let c={type:Ge.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(c,n);break}r.type===Ge.InternalEventType.SET_STATE&&(this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state),this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(tt`[UniversalStore::${this.id}::${this.environment??Ge.Environment.UNKNOWN}]
  33. ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){Ge.preparation.reject(new Error("reset")),Ge.setupPreparationPromise(),Ge.isInternalConstructing=!1}};vo.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},vo.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},vo.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"},vo.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},vo.isInternalConstructing=!1,vo.setupPreparationPromise();var kl=vo,RA=e=>e.transports!==void 0,OA=()=>Math.random().toString(16).slice(2),Vs=class{constructor(e={}){this.sender=OA(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,RA(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}},Rg={};fr(Rg,{deprecate:()=>rd,logger:()=>Tt,once:()=>It,pretty:()=>vr});var{LOGLEVEL:PA}=we,Jn={trace:1,debug:2,info:3,warn:4,error:5,silent:10},AA=PA,Jo=Jn[AA]||Jn.info,Tt={trace:(e,...t)=>{Jo<=Jn.trace&&console.trace(e,...t)},debug:(e,...t)=>{Jo<=Jn.debug&&console.debug(e,...t)},info:(e,...t)=>{Jo<=Jn.info&&console.info(e,...t)},warn:(e,...t)=>{Jo<=Jn.warn&&console.warn(e,...t)},error:(e,...t)=>{Jo<=Jn.error&&console.error(e,...t)},log:(e,...t)=>{Jo<Jn.silent&&console.log(e,...t)}},Iu=new Set,It=e=>(t,...r)=>{if(!Iu.has(t))return Iu.add(t),Tt[e](t,...r)};It.clear=()=>Iu.clear();It.trace=It("trace");It.debug=It("debug");It.info=It("info");It.warn=It("warn");It.error=It("error");It.log=It("log");var rd=It("warn"),vr=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])}Tt[e].apply(Tt,r)};vr.trace=vr("trace");vr.debug=vr("debug");vr.info=vr("info");vr.warn=vr("warn");vr.error=vr("error");var CA=Object.create,Og=Object.defineProperty,xA=Object.getOwnPropertyDescriptor,Pg=Object.getOwnPropertyNames,IA=Object.getPrototypeOf,NA=Object.prototype.hasOwnProperty,Ye=(e,t)=>function(){return t||(0,e[Pg(e)[0]])((t={exports:{}}).exports,t),t.exports},jA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Pg(t))!NA.call(e,o)&&o!==r&&Og(e,o,{get:()=>t[o],enumerable:!(n=xA(t,o))||n.enumerable});return e},nd=(e,t,r)=>(r=e!=null?CA(IA(e)):{},jA(!e||!e.__esModule?Og(r,"default",{value:e,enumerable:!0}):r,e)),qA=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],MA=["detail"];function LA(e){let t=qA.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of MA.filter(n=>e[n]!==void 0))t[r]=e[r];return t}var Ag=Ye({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),DA=Ye({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),kA=Ye({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),$A=Ye({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),BA=Ye({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),FA=Ye({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),od=Ye({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),UA=Ye({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),VA=Ye({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),JA=Ye({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),HA=Ye({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),GA=Ye({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),WA=Ye({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),zA=Ye({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),YA=Ye({"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}}}),KA=Ye({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=YA();t.exports=function(n){return r(n)||n===0?n:n<0?-1:1}}}),XA=Ye({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),id=Ye({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=XA();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),QA=Ye({"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}}),Cg=Ye({"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}}}),xg=Ye({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Cg();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),Ig=Ye({"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}}),Ng=Ye({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=Ag();t.exports=r.getPrototypeOf||null}}),ZA=Ye({"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))},E=o(0,p.length-f.length),w=[],R=0;R<E;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}}}),Js=Ye({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=ZA();t.exports=Function.prototype.bind||r}}),ad=Ye({"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}}),jg=Ye({"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}}),eC=Ye({"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}}),tC=Ye({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=Js(),n=jg(),o=ad(),i=eC();t.exports=i||r.call(o,n)}}),qg=Ye({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=Js(),n=od(),o=ad(),i=tC();t.exports=function(a){if(a.length<1||typeof a[0]!="function")throw new n("a function is required");return i(r,o,a)}}}),rC=Ye({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=qg(),n=id(),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}}),nC=Ye({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=Ig(),n=Ng(),o=rC();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}}),Mg=Ye({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=Js();t.exports=o.call(r,n)}}),oC=Ye({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=Ag(),o=DA(),i=kA(),a=$A(),l=BA(),d=FA(),c=od(),p=UA(),f=VA(),g=JA(),b=HA(),E=GA(),w=WA(),R=zA(),_=KA(),A=Function,M=function(ve){try{return A('"use strict"; return ('+ve+").constructor;")()}catch{}},L=id(),D=QA(),I=function(){throw new c},h=L?function(){try{return arguments.callee,I}catch{try{return L(arguments,"callee").get}catch{return I}}}():I,C=xg()(),j=nC(),Z=Ng(),G=Ig(),oe=jg(),B=ad(),N={},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%":C&&j?j([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":N,"%AsyncGenerator%":N,"%AsyncGeneratorFunction%":N,"%AsyncIteratorPrototype%":N,"%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%":N,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&j?j(j([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C||!j?r:j(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":L,"%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"||!C||!j?r:j(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&j?j(""[Symbol.iterator]()):r,"%Symbol%":C?Symbol:r,"%SyntaxError%":d,"%ThrowTypeError%":h,"%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%":B,"%Function.prototype.apply%":oe,"%Object.defineProperty%":D,"%Object.getPrototypeOf%":Z,"%Math.abs%":f,"%Math.floor%":g,"%Math.max%":b,"%Math.min%":E,"%Math.pow%":w,"%Math.round%":R,"%Math.sign%":_,"%Reflect.getPrototypeOf%":G};if(j)try{null.error}catch(ve){te=j(j(ve)),K["%Error.prototype%"]=te}var te,fe=function ve(Se){var Ae;if(Se==="%AsyncFunction%")Ae=M("async function () {}");else if(Se==="%GeneratorFunction%")Ae=M("function* () {}");else if(Se==="%AsyncGeneratorFunction%")Ae=M("async function* () {}");else if(Se==="%AsyncGenerator%"){var je=ve("%AsyncGeneratorFunction%");je&&(Ae=je.prototype)}else if(Se==="%AsyncIteratorPrototype%"){var Me=ve("%AsyncGenerator%");Me&&j&&(Ae=j(Me.prototype))}return K[Se]=Ae,Ae},_e={__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"]},Re=Js(),Ie=Mg(),de=Re.call(B,Array.prototype.concat),ue=Re.call(oe,Array.prototype.splice),Ce=Re.call(B,String.prototype.replace),Ee=Re.call(B,String.prototype.slice),me=Re.call(B,RegExp.prototype.exec),He=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ke=/\\(\\)?/g,mt=function(ve){var Se=Ee(ve,0,1),Ae=Ee(ve,-1);if(Se==="%"&&Ae!=="%")throw new d("invalid intrinsic syntax, expected closing `%`");if(Ae==="%"&&Se!=="%")throw new d("invalid intrinsic syntax, expected opening `%`");var je=[];return Ce(ve,He,function(Me,Fe,Ue,it){je[je.length]=Ue?Ce(it,ke,"$1"):Fe||Me}),je},z=function(ve,Se){var Ae=ve,je;if(Ie(_e,Ae)&&(je=_e[Ae],Ae="%"+je[0]+"%"),Ie(K,Ae)){var Me=K[Ae];if(Me===N&&(Me=fe(Ae)),typeof Me>"u"&&!Se)throw new c("intrinsic "+ve+" exists, but is not available. Please file an issue!");return{alias:je,name:Ae,value:Me}}throw new d("intrinsic "+ve+" does not exist!")};t.exports=function(ve,Se){if(typeof ve!="string"||ve.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Se!="boolean")throw new c('"allowMissing" argument must be a boolean');if(me(/^%?[^%]*%?$/,ve)===null)throw new d("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ae=mt(ve),je=Ae.length>0?Ae[0]:"",Me=z("%"+je+"%",Se),Fe=Me.name,Ue=Me.value,it=!1,Jt=Me.alias;Jt&&(je=Jt[0],ue(Ae,de([0,1],Jt)));for(var Ft=1,Ht=!0;Ft<Ae.length;Ft+=1){var pt=Ae[Ft],Yt=Ee(pt,0,1),Ut=Ee(pt,-1);if((Yt==='"'||Yt==="'"||Yt==="`"||Ut==='"'||Ut==="'"||Ut==="`")&&Yt!==Ut)throw new d("property names with quotes must have matching quotes");if((pt==="constructor"||!Ht)&&(it=!0),je+="."+pt,Fe="%"+je+"%",Ie(K,Fe))Ue=K[Fe];else if(Ue!=null){if(!(pt in Ue)){if(!Se)throw new c("base intrinsic for "+ve+" exists, but the property is not available.");return}if(L&&Ft+1>=Ae.length){var xe=L(Ue,pt);Ht=!!xe,Ht&&"get"in xe&&!("originalValue"in xe.get)?Ue=xe.get:Ue=Ue[pt]}else Ht=Ie(Ue,pt),Ue=Ue[pt];Ht&&!it&&(K[Fe]=Ue)}}return Ue}}}),sd=Ye({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=oC(),n=qg(),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}}}),iC=Ye({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=Cg();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),Lg=Ye({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=sd(),n=iC()(),o=Mg(),i=id(),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 E=i(b,"lastIndex"),w=E&&o(E,"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}}),aC=Ye({"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)}}}),sC=Ye({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=sd(),n=Lg(),o=r("RegExp.prototype.exec"),i=od();t.exports=function(a){if(!n(a))throw new i("`regex` must be a RegExp");return function(l){return o(a,l)!==null}}}}),lC=Ye({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=sd(),n=r("Object.prototype.toString"),o=xg()(),i=sC();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}}),uC=nd(Lg()),cC=nd(aC()),dC=nd(lC());function pC(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var fC=typeof global=="object"&&global&&global.Object===Object&&global,hC=fC,mC=typeof self=="object"&&self&&self.Object===Object&&self,yC=hC||mC||Function("return this")(),ld=yC,gC=ld.Symbol,ti=gC,Dg=Object.prototype,bC=Dg.hasOwnProperty,vC=Dg.toString,Ni=ti?ti.toStringTag:void 0;function EC(e){var t=bC.call(e,Ni),r=e[Ni];try{e[Ni]=void 0;var n=!0}catch{}var o=vC.call(e);return n&&(t?e[Ni]=r:delete e[Ni]),o}var TC=EC,wC=Object.prototype,_C=wC.toString;function SC(e){return _C.call(e)}var RC=SC,OC="[object Null]",PC="[object Undefined]",Ef=ti?ti.toStringTag:void 0;function AC(e){return e==null?e===void 0?PC:OC:Ef&&Ef in Object(e)?TC(e):RC(e)}var kg=AC;function CC(e){return e!=null&&typeof e=="object"}var xC=CC,IC="[object Symbol]";function NC(e){return typeof e=="symbol"||xC(e)&&kg(e)==IC}var ud=NC;function jC(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 qC=jC,MC=Array.isArray,cd=MC,Tf=ti?ti.prototype:void 0,wf=Tf?Tf.toString:void 0;function $g(e){if(typeof e=="string")return e;if(cd(e))return qC(e,$g)+"";if(ud(e))return wf?wf.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var LC=$g;function DC(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Bg=DC,kC="[object AsyncFunction]",$C="[object Function]",BC="[object GeneratorFunction]",FC="[object Proxy]";function UC(e){if(!Bg(e))return!1;var t=kg(e);return t==$C||t==BC||t==kC||t==FC}var VC=UC,JC=ld["__core-js_shared__"],$l=JC,_f=function(){var e=/[^.]+$/.exec($l&&$l.keys&&$l.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function HC(e){return!!_f&&_f in e}var GC=HC,WC=Function.prototype,zC=WC.toString;function YC(e){if(e!=null){try{return zC.call(e)}catch{}try{return e+""}catch{}}return""}var KC=YC,XC=/[\\^$.*+?()[\]{}|]/g,QC=/^\[object .+?Constructor\]$/,ZC=Function.prototype,ex=Object.prototype,tx=ZC.toString,rx=ex.hasOwnProperty,nx=RegExp("^"+tx.call(rx).replace(XC,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ox(e){if(!Bg(e)||GC(e))return!1;var t=VC(e)?nx:QC;return t.test(KC(e))}var ix=ox;function ax(e,t){return e==null?void 0:e[t]}var sx=ax;function lx(e,t){var r=sx(e,t);return ix(r)?r:void 0}var Fg=lx;function ux(e,t){return e===t||e!==e&&t!==t}var cx=ux,dx=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,px=/^\w*$/;function fx(e,t){if(cd(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||ud(e)?!0:px.test(e)||!dx.test(e)||t!=null&&e in Object(t)}var hx=fx,mx=Fg(Object,"create"),ea=mx;function yx(){this.__data__=ea?ea(null):{},this.size=0}var gx=yx;function bx(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var vx=bx,Ex="__lodash_hash_undefined__",Tx=Object.prototype,wx=Tx.hasOwnProperty;function _x(e){var t=this.__data__;if(ea){var r=t[e];return r===Ex?void 0:r}return wx.call(t,e)?t[e]:void 0}var Sx=_x,Rx=Object.prototype,Ox=Rx.hasOwnProperty;function Px(e){var t=this.__data__;return ea?t[e]!==void 0:Ox.call(t,e)}var Ax=Px,Cx="__lodash_hash_undefined__";function xx(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ea&&t===void 0?Cx:t,this}var Ix=xx;function yi(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])}}yi.prototype.clear=gx;yi.prototype.delete=vx;yi.prototype.get=Sx;yi.prototype.has=Ax;yi.prototype.set=Ix;var Sf=yi;function Nx(){this.__data__=[],this.size=0}var jx=Nx;function qx(e,t){for(var r=e.length;r--;)if(cx(e[r][0],t))return r;return-1}var Hs=qx,Mx=Array.prototype,Lx=Mx.splice;function Dx(e){var t=this.__data__,r=Hs(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Lx.call(t,r,1),--this.size,!0}var kx=Dx;function $x(e){var t=this.__data__,r=Hs(t,e);return r<0?void 0:t[r][1]}var Bx=$x;function Fx(e){return Hs(this.__data__,e)>-1}var Ux=Fx;function Vx(e,t){var r=this.__data__,n=Hs(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Jx=Vx;function gi(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])}}gi.prototype.clear=jx;gi.prototype.delete=kx;gi.prototype.get=Bx;gi.prototype.has=Ux;gi.prototype.set=Jx;var Hx=gi,Gx=Fg(ld,"Map"),Wx=Gx;function zx(){this.size=0,this.__data__={hash:new Sf,map:new(Wx||Hx),string:new Sf}}var Yx=zx;function Kx(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Xx=Kx;function Qx(e,t){var r=e.__data__;return Xx(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Gs=Qx;function Zx(e){var t=Gs(this,e).delete(e);return this.size-=t?1:0,t}var eI=Zx;function tI(e){return Gs(this,e).get(e)}var rI=tI;function nI(e){return Gs(this,e).has(e)}var oI=nI;function iI(e,t){var r=Gs(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var aI=iI;function bi(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])}}bi.prototype.clear=Yx;bi.prototype.delete=eI;bi.prototype.get=rI;bi.prototype.has=oI;bi.prototype.set=aI;var Ug=bi,sI="Expected a function";function dd(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(sI);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(dd.Cache||Ug),r}dd.Cache=Ug;var lI=dd,uI=500;function cI(e){var t=lI(e,function(n){return r.size===uI&&r.clear(),n}),r=t.cache;return t}var dI=cI,pI=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fI=/\\(\\)?/g,hI=dI(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(pI,function(r,n,o,i){t.push(o?i.replace(fI,"$1"):n||r)}),t}),mI=hI;function yI(e){return e==null?"":LC(e)}var gI=yI;function bI(e,t){return cd(e)?e:hx(e,t)?[e]:mI(gI(e))}var vI=bI;function EI(e){if(typeof e=="string"||ud(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var TI=EI;function wI(e,t){t=vI(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[TI(t[r++])];return r&&r==n?e:void 0}var _I=wI;function SI(e,t,r){var n=e==null?void 0:_I(e,t);return n===void 0?r:n}var RI=SI,pd=pC,OI=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,fd=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function Vg(e){if(!pd(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=LA(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 PI=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 OI.test(a)?e.allowDate?`_date_${a}`:void 0:a;if((0,uC.default)(a))return e.allowRegExp?`_regexp_${a.flags}|${a.source}`:void 0;if((0,cC.default)(a))return;if((0,dC.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:Vg(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}}},AI=function(e){let t=[],r;return function(n,o){if(n===""&&(r=o,t.forEach(({target:i,container:a,replacement:l})=>{let d=fd(l)?JSON.parse(l):l.split(".");d.length===0?a[i]=r:a[i]=RI(r,d)})),n==="_constructor-name_")return o;if(pd(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}},Jg={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},Hg=(e,t={})=>{let r={...Jg,...t};return JSON.stringify(Vg(e),PI(r),t.space)},CI=()=>{let e=new Map;return function t(r){pd(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))})}},Gg=(e,t={})=>{let r={...Jg,...t},n=JSON.parse(e,AI(r));return CI()(n),n},xI="Invariant failed";function wn(e,t){if(!e)throw new Error(xI)}var II=(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)}`))},NI=(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=II(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&&Tt.error("found multiple candidates for event source"),null},{document:Bl,location:ji}=we,Rf="storybook-channel",jI={maxDepth:25},Wg=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof(we==null?void 0:we.addEventListener)=="function"&&we.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={...jI,...we.CHANNEL_OPTIONS||{},...p},g=this.getFrames(r),b=new URLSearchParams((ji==null?void 0:ji.search)||""),E=Hg({key:Rf,event:e,refId:b.get("refId")},f);return g.length?(this.buffer.length&&this.flush(),g.forEach(w=>{try{w.postMessage(E,"*")}catch{Tt.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(Bl.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 we&&we.parent&&we.parent!==we.self?[we.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Bl.querySelectorAll('[data-is-storybook="true"]')).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):we&&we.parent?[we.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Bl.querySelectorAll("#storybook-preview-iframe")).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):we&&we.parent?[we.parent]:[]}handleEvent(e){try{let{data:t}=e,{key:r,event:n,refId:o}=typeof t=="string"&&fd(t)?Gg(t,we.CHANNEL_OPTIONS||{}):t;if(r===Rf){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(zc).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:NI(e,o),!n.source){vr.error(`${i} received ${a} but was unable to determine the source of the event`);return}let l=`${i} received ${a} (${t.length})`;vr.debug(ji.origin!==n.source?l:`${l} <span style="color: gray">(on ${ji.origin} from ${n.source})</span>`,...n.args),wn(this.handler,"ChannelHandler should be set"),this.handler(n)}}catch(t){Tt.error(t)}}},{WebSocket:qI}=we,zg=15e3,Yg=5e3,Kg=class{constructor({url:e,onError:t,page:r}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new qI(e),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:n})=>{let o=typeof n=="string"&&fd(n)?Gg(n):n;wn(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=>{wn(this.handler),this.handler({type:eg,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")},zg+Yg)}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=Hg(e,{maxDepth:15,...we.CHANNEL_OPTIONS});this.socket.send(t)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>this.send(t))}},{CHANNEL_OPTIONS:MI,CONFIG_TYPE:LI}=we,DI=Vs;function kI({page:e,extraTransports:t=[]}){let r=[new Wg({page:e}),...t];if(LI==="DEVELOPMENT"){let o=window.location.protocol==="http:"?"ws":"wss",{hostname:i,port:a}=window.location,{wsToken:l}=MI||{},d=`${o}://${i}:${a}/storybook-server-channel?token=${l}`;r.push(new Kg({url:d,onError:()=>{},page:e}))}let n=new Vs({transports:r});return kl.__prepare(n,e==="manager"?kl.Environment.MANAGER:kl.Environment.PREVIEW),n}var Xg={};fr(Xg,{CalledExtractOnStoreError:()=>rb,CalledPreviewMethodBeforeInitializationError:()=>yr,Category:()=>Zg,ElementA11yParameterError:()=>HI,EmptyIndexError:()=>ab,ImplicitActionsDuringRendering:()=>tb,InvalidBlockOfPropError:()=>VI,MdxFileWithNoCsfReferencesError:()=>ib,MissingRenderToCanvasError:()=>nb,MissingStoryAfterHmrError:()=>eb,MissingStoryFromCsfFileError:()=>lb,MountMustBeDestructuredError:()=>hd,NextJsSharpError:()=>BI,NextjsRouterMocksNotAvailable:()=>FI,NoRenderFunctionError:()=>cb,NoStoryMatchError:()=>sb,NoStoryMountedError:()=>db,StatusTypeIdMismatchError:()=>$I,StoryIndexFetchError:()=>ob,StoryStoreAccessedBeforeInitializationError:()=>ub,UnknownArgTypesError:()=>UI,UnsupportedViewportDimensionError:()=>JI});function Of({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}function Pf(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 jt=class Qg extends Error{constructor(t){super(Qg.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 Of({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/${Of({code:r,category:n})}?ref=error`:typeof t=="string"?i=Pf(t):Array.isArray(t)&&(i=`
  34. ${t.map(a=>` - ${Pf(a)}`).join(`
  35. `)}`),`${o}${i!=null?`
  36. More info: ${i}
  37. `:""}`}},Zg=(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))(Zg||{}),eb=class extends jt{constructor(e){super({name:"MissingStoryAfterHmrError",category:"PREVIEW_API",code:1,message:tt`
  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}},tb=class extends jt{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:tt`
  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}},rb=class extends jt{constructor(){super({name:"CalledExtractOnStoreError",category:"PREVIEW_API",code:3,message:tt`
  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.`})}},nb=class extends jt{constructor(){super({name:"MissingRenderToCanvasError",category:"PREVIEW_API",code:4,message:tt`
  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"})}},yr=class extends jt{constructor(e){super({name:"CalledPreviewMethodBeforeInitializationError",category:"PREVIEW_API",code:5,message:tt`
  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}},ob=class extends jt{constructor(e){super({name:"StoryIndexFetchError",category:"PREVIEW_API",code:6,message:tt`
  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}},ib=class extends jt{constructor(e){super({name:"MdxFileWithNoCsfReferencesError",category:"PREVIEW_API",code:7,message:tt`
  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}},ab=class extends jt{constructor(){super({name:"EmptyIndexError",category:"PREVIEW_API",code:8,message:tt`
  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.`})}},sb=class extends jt{constructor(e){super({name:"NoStoryMatchError",category:"PREVIEW_API",code:9,message:tt`
  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}},lb=class extends jt{constructor(e){super({name:"MissingStoryFromCsfFileError",category:"PREVIEW_API",code:10,message:tt`
  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}},ub=class extends jt{constructor(){super({name:"StoryStoreAccessedBeforeInitializationError",category:"PREVIEW_API",code:11,message:tt`
  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`})}},hd=class extends jt{constructor(e){super({name:"MountMustBeDestructuredError",category:"PREVIEW_API",code:12,message:tt`
  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}},cb=class extends jt{constructor(e){super({name:"NoRenderFunctionError",category:"PREVIEW_API",code:14,message:tt`
  100. No render function available for storyId '${e.id}'
  101. `}),this.data=e}},db=class extends jt{constructor(){super({name:"NoStoryMountedError",category:"PREVIEW_API",code:15,message:tt`
  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. `})}},$I=class extends jt{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}},BI=class extends jt{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:tt`
  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. `})}},FI=class extends jt{constructor(e){super({name:"NextjsRouterMocksNotAvailable",category:"FRAMEWORK_NEXTJS",code:2,message:tt`
  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}},UI=class extends jt{constructor(t){super({name:"UnknownArgTypesError",category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:tt`
  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}},VI=class extends jt{constructor(){super({name:"InvalidBlockOfPropError",category:"BLOCKS",code:1,message:"Unexpected `of={undefined}`, did you mistype a CSF file reference?"})}},JI=class extends jt{constructor(e){super({name:"UnsupportedViewportDimensionError",category:"ADDON_VITEST",code:1,message:tt`
  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}},HI=class extends jt{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.'})}},pb={};fr(pb,{Addon_TypesEnum:()=>fb,CHANGE_DETECTION_STATUS_TYPE_ID:()=>GI,CoreWebpackCompiler:()=>yb,Feature:()=>bb,SupportedBuilder:()=>gb,SupportedFramework:()=>hb,SupportedLanguage:()=>vb,SupportedRenderer:()=>mb});var fb=(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))(fb||{}),hb=(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))(hb||{}),mb=(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))(mb||{});Nt(Uc(),1);var GI="storybook/change-detection",yb=(e=>(e.Babel="babel",e.SWC="swc",e))(yb||{}),gb=(e=>(e.WEBPACK5="webpack5",e.VITE="vite",e.RSBUILD="rsbuild",e))(gb||{}),bb=(e=>(e.DOCS="docs",e.TEST="test",e.ONBOARDING="onboarding",e.A11Y="a11y",e.AI="ai",e))(bb||{}),vb=(e=>(e.JAVASCRIPT="javascript",e.TYPESCRIPT="typescript",e))(vb||{}),Eb={};fr(Eb,{ADDON_ID:()=>Ws,CLEAR_ID:()=>YI,CYCLIC_KEY:()=>KI,EVENT_ID:()=>Tb,PANEL_ID:()=>zI,PARAM_KEY:()=>WI,action:()=>qa,actions:()=>xG,config:()=>Ea,configureActions:()=>PG});var WI="actions",Ws="storybook/actions",zI=`${Ws}/panel`,Tb=`${Ws}/action-event`,YI=`${Ws}/action-clear`,KI="$___storybook.isCyclic",Nu={};fr(Nu,{DocsContext:()=>Hp,HooksContext:()=>md,Preview:()=>lS,PreviewWeb:()=>gG,PreviewWithSelection:()=>uS,ReporterAPI:()=>Vp,StoryStore:()=>aS,Tag:()=>Zr,UrlStore:()=>hS,WebView:()=>yS,addons:()=>dr,applyHooks:()=>_b,combineArgs:()=>ks,combineParameters:()=>jo,composeConfigs:()=>hi,composeStepRunners:()=>tS,composeStories:()=>HH,composeStory:()=>iS,createPlaywrightTest:()=>GH,decorateStory:()=>W_,defaultDecorateStory:()=>Y_,emitTransformCode:()=>OG,filterArgTypes:()=>eS,getCsfFactoryAnnotations:()=>oS,inferControls:()=>Bp,makeDecorator:()=>cN,mockChannel:()=>wb,normalizeArrays:()=>bt,normalizeProjectAnnotations:()=>ba,normalizeStory:()=>Xi,pauseAnimations:()=>Fp,prepareMeta:()=>K_,prepareStory:()=>$p,sanitizeStoryContextUpdate:()=>z_,setDefaultProjectAnnotations:()=>$H,setProjectAnnotations:()=>VH,simulateDOMContentLoaded:()=>Lc,simulatePageLoad:()=>TG,sortStoriesV7:()=>tG,useArgs:()=>lN,useCallback:()=>ta,useChannel:()=>aN,useEffect:()=>Ao,useGlobals:()=>uN,useMemo:()=>Rb,useParameter:()=>sN,useReducer:()=>iN,useRef:()=>rN,useState:()=>oN,useStoryContext:()=>Ys,userOrAutoTitle:()=>QH,userOrAutoTitleFromSpecifier:()=>sS,waitForAnimations:()=>Up});function wb(){let e={setHandler:()=>{},send:()=>{}};return new Vs({transport:e})}var XI=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=wb();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())})}},Fl="__STORYBOOK_ADDONS_PREVIEW";function QI(){return we[Fl]||(we[Fl]=new XI),we[Fl]}var dr=QI(),md=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(),dr.getChannel().on(ys,this.renderListener)}removeRenderListeners(){dr.getChannel().removeListener(ys,this.renderListener)}};function Af(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=we.STORYBOOK_HOOKS_CONTEXT;we.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(we.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 Ul=0,ZI=25,_b=e=>(t,r)=>{let n=e(Af(t),r.map(o=>Af(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(Ul=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],a=n(o),Ul+=1,Ul>ZI)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),a}},eN=(e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),yd=()=>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 Sb(){return we.STORYBOOK_HOOKS_CONTEXT||null}function gd(){let e=Sb();if(e==null)throw yd();return e}function tN(e,t,r){let n=gd();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&Tt.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&&Tt.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&&Tt.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&&Tt.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||!eN(r,o.deps))&&(t(o),o.deps=r),o}throw yd()}function zs(e,t,r){let{memoizedState:n}=tN(e,o=>{o.memoizedState=t()},r);return n}function Rb(e,t){return zs("useMemo",e,t)}function ta(e,t){return zs("useCallback",()=>e,t)}function Ob(e,t){return zs(e,()=>({current:t}),[])}function rN(e){return Ob("useRef",e)}function nN(){let e=Sb();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{dr.getChannel().emit(Xc)}catch{Tt.warn("State updates of Storybook preview hooks work only in browser")}}function Pb(e,t){let r=Ob(e,typeof t=="function"?t():t),n=o=>{r.current=typeof o=="function"?o(r.current):o,nN()};return[r.current,n]}function oN(e){return Pb("useState",e)}function iN(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=Pb("useReducer",n);return[o,a=>i(l=>e(l,a))]}function Ao(e,t){let r=gd(),n=zs("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}function aN(e,t=[]){let r=dr.getChannel();return Ao(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),ta(r.emit.bind(r),[r])}function Ys(){let{currentContext:e}=gd();if(e==null)throw yd();return e}function sN(e,t){let{parameters:r}=Ys();if(e)return r[e]??t}function lN(){let e=dr.getChannel(),{id:t,args:r}=Ys(),n=ta(i=>e.emit(td,{storyId:t,updatedArgs:i}),[e,t]),o=ta(i=>e.emit(Qc,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}function uN(){let e=dr.getChannel(),{globals:t}=Ys(),r=ta(n=>e.emit(ed,{globals:n}),[e]);return[t,r]}var cN=({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 dN(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 Cf=Nt(I0(),1),Ab=e=>e.map(t=>typeof t<"u").filter(Boolean).length,pN=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if(Ab([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,Cf.isEqual)(t,n);if(typeof o<"u")return!(0,Cf.isEqual)(t,o);if(typeof r<"u"){let a=typeof t<"u";return r?a:!a}return typeof i>"u"||i?!!t:!t},fN=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(Ab([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return pN(e.if,i)};function hN(e){return e!=null&&mN(e).includes("mount")}function mN(e){var l;let[,t,r]=e.toString().match(/[^(]*\(([^)]+)\)(?:.*{([^]+)})?/)||[];if(!t)return[];let[n]=Vl(t);if(!n)return[];let[,o]=n.match(/^{([^]+)}$/)||[];if(o)return Vl(xf(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?Vl(xf(a)).map(d=>d.replace(/:.*|=.*/g,"").trim()):[]}function xf(e){return e=e.replace(/\/\/.*$/gm,""),e=e.replace(/\/\*[\s\S]*?\*\//g,""),e}function Vl(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 Zr={AUTODOCS:"autodocs",ATTACHED_MDX:"attached-mdx",UNATTACHED_MDX:"unattached-mdx",PLAY_FN:"play-fn",TEST_FN:"test-fn",DEV:"dev",TEST:"test",MANIFEST:"manifest"},Cb={};fr(Cb,{argsEnhancers:()=>bN});var xb=(e,t)=>typeof t[e]>"u"&&!(e in t),yN=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])=>(xb(l,t)&&(a[l]=qa(l,{implicit:!0,id:n})),a),{})},gN=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])=>(xb(i,t)&&(o[i]=qa(typeof a.action=="string"?a.action:i)),o),{})},bN=[gN,yN],Ib={};fr(Ib,{loaders:()=>PV});var Nb={};fr(Nb,{buildQueries:()=>aU,clearAllMocks:()=>wT,configure:()=>sU,createEvent:()=>lU,expect:()=>SV,findAllByAltText:()=>cU,findAllByDisplayValue:()=>dU,findAllByLabelText:()=>pU,findAllByPlaceholderText:()=>fU,findAllByRole:()=>hU,findAllByTestId:()=>mU,findAllByText:()=>yU,findAllByTitle:()=>gU,findByAltText:()=>bU,findByDisplayValue:()=>vU,findByLabelText:()=>EU,findByPlaceholderText:()=>TU,findByRole:()=>wU,findByTestId:()=>_U,findByText:()=>SU,findByTitle:()=>RU,fireEvent:()=>uU,fn:()=>ET,getAllByAltText:()=>OU,getAllByDisplayValue:()=>PU,getAllByLabelText:()=>AU,getAllByPlaceholderText:()=>CU,getAllByRole:()=>xU,getAllByTestId:()=>IU,getAllByText:()=>NU,getAllByTitle:()=>jU,getByAltText:()=>qU,getByDisplayValue:()=>MU,getByLabelText:()=>LU,getByPlaceholderText:()=>DU,getByRole:()=>kU,getByTestId:()=>$U,getByText:()=>BU,getByTitle:()=>FU,getConfig:()=>UU,getDefaultNormalizer:()=>VU,getElementError:()=>JU,getNodeText:()=>HU,getQueriesForElement:()=>GU,getRoles:()=>WU,getSuggestedQuery:()=>zU,isInaccessible:()=>YU,isMockFunction:()=>Zo,logDOM:()=>KU,logRoles:()=>XU,mocked:()=>jD,mocks:()=>Ca,onMockCall:()=>vT,prettyDOM:()=>QU,prettyFormat:()=>wV,queries:()=>ZU,queryAllByAltText:()=>eV,queryAllByAttribute:()=>tV,queryAllByDisplayValue:()=>rV,queryAllByLabelText:()=>nV,queryAllByPlaceholderText:()=>oV,queryAllByRole:()=>iV,queryAllByTestId:()=>aV,queryAllByText:()=>sV,queryAllByTitle:()=>lV,queryByAltText:()=>uV,queryByAttribute:()=>cV,queryByDisplayValue:()=>dV,queryByLabelText:()=>pV,queryByPlaceholderText:()=>fV,queryByRole:()=>hV,queryByTestId:()=>mV,queryByText:()=>yV,queryByTitle:()=>gV,queryHelpers:()=>bV,resetAllMocks:()=>_T,restoreAllMocks:()=>ST,sb:()=>RV,screen:()=>vV,spyOn:()=>ND,uninstrumentedUserEvent:()=>L_,userEvent:()=>_V,waitFor:()=>EV,waitForElementToBeRemoved:()=>TV,within:()=>M_});var vN={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]},jb=Object.entries(vN);function Ks(e){return String(e)}Ks.open="";Ks.close="";jb.reduce((e,[t])=>(e[t]=Ks,e),{isColorSupported:!1});function EN(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 TN(e=!1){let t=EN(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 jb)o[a]=t?n(i(l[0]),i(l[1]),l[2]):Ks;return o}var gn=TN();function qb(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 wN(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 wa(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 bd(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 gs(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 vd(e,t,r,n,o,i){let a="",l=wN(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 _N=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Jl=" ",SN=(e,t,r,n,o,i)=>{let a=e.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Jl}[${gs(e.sample,t,r,n,o,i)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Jl}{${vd(e.sample,t,r,n,o,i)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+Jl+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()},RN=e=>e&&e.$$typeof===_N,ON={serialize:SN,test:RN},PN=" ",Mb=new Set(["DOMStringMap","NamedNodeMap"]),AN=/^(?:HTML\w*Collection|NodeList)$/;function CN(e){return Mb.has(e)||AN.test(e)}var xN=e=>e&&e.constructor&&!!e.constructor.name&&CN(e.constructor.name);function IN(e){return e.constructor.name==="NamedNodeMap"}var NN=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?`[${a}]`:(t.min?"":a+PN)+(Mb.has(a)?`{${vd(IN(e)?[...e].reduce((l,d)=>(l[d.name]=d.value,l),{}):{...e},t,r,n,o,i)}}`:`[${gs([...e],t,r,n,o,i)}]`)},jN={serialize:NN,test:xN};function Lb(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function Ed(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 Td(e,t,r,n,o,i){return e.map(a=>t.spacingOuter+r+(typeof a=="string"?Db(a,t):i(a,t,r,n,o))).join("")}function Db(e,t){let r=t.colors.content;return r.open+Lb(e)+r.close}function qN(e,t){let r=t.colors.comment;return`${r.open}<!--${Lb(e)}-->${r.close}`}function wd(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 _d(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var MN=1,kb=3,$b=8,Bb=11,LN=/^(?:(?:HTML|SVG)\w*)?Element$/;function DN(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function kN(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||DN(e);return r===MN&&(LN.test(t)||o)||r===kb&&t==="Text"||r===$b&&t==="Comment"||r===Bb&&t==="DocumentFragment"}var $N=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&kN(e)};function BN(e){return e.nodeType===kb}function FN(e){return e.nodeType===$b}function Hl(e){return e.nodeType===Bb}var UN=(e,t,r,n,o,i)=>{if(BN(e))return Db(e.data,t);if(FN(e))return qN(e.data,t);let a=Hl(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?_d(a,t):wd(a,Ed(Hl(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Hl(e)?{}:[...e.attributes].reduce((l,d)=>(l[d.name]=d.value,l),{}),t,r+t.indent,n,o,i),Td(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},VN={serialize:UN,test:$N},JN="@@__IMMUTABLE_ITERABLE__@@",HN="@@__IMMUTABLE_LIST__@@",GN="@@__IMMUTABLE_KEYED__@@",WN="@@__IMMUTABLE_MAP__@@",If="@@__IMMUTABLE_ORDERED__@@",zN="@@__IMMUTABLE_RECORD__@@",YN="@@__IMMUTABLE_SEQ__@@",KN="@@__IMMUTABLE_SET__@@",XN="@@__IMMUTABLE_STACK__@@",ri=e=>`Immutable.${e}`,Xs=e=>`[${e}]`,ra=" ",Nf="…";function QN(e,t,r,n,o,i,a){return++n>t.maxDepth?Xs(ri(a)):`${ri(a)+ra}{${wa(e.entries(),t,r,n,o,i)}}`}function ZN(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 e1(e,t,r,n,o,i){let a=ri(e._name||"Record");return++n>t.maxDepth?Xs(a):`${a+ra}{${wa(ZN(e),t,r,n,o,i)}}`}function t1(e,t,r,n,o,i){let a=ri("Seq");return++n>t.maxDepth?Xs(a):e[GN]?`${a+ra}{${e._iter||e._object?wa(e.entries(),t,r,n,o,i):Nf}}`:`${a+ra}[${e._iter||e._array||e._collection||e._iterable?bd(e.values(),t,r,n,o,i):Nf}]`}function Gl(e,t,r,n,o,i,a){return++n>t.maxDepth?Xs(ri(a)):`${ri(a)+ra}[${bd(e.values(),t,r,n,o,i)}]`}var r1=(e,t,r,n,o,i)=>e[WN]?QN(e,t,r,n,o,i,e[If]?"OrderedMap":"Map"):e[HN]?Gl(e,t,r,n,o,i,"List"):e[KN]?Gl(e,t,r,n,o,i,e[If]?"OrderedSet":"Set"):e[XN]?Gl(e,t,r,n,o,i,"Stack"):e[YN]?t1(e,t,r,n,o,i):e1(e,t,r,n,o,i),n1=e=>e&&(e[JN]===!0||e[zN]===!0),o1={serialize:r1,test:n1};function Fb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jf={exports:{}},ft={},qf;function i1(){if(qf)return ft;qf=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 E(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 ft.ContextConsumer=i,ft.ContextProvider=a,ft.Element=e,ft.ForwardRef=l,ft.Fragment=r,ft.Lazy=f,ft.Memo=p,ft.Portal=t,ft.Profiler=o,ft.StrictMode=n,ft.Suspense=d,ft.SuspenseList=c,ft.isContextConsumer=function(w){return E(w)===i},ft.isContextProvider=function(w){return E(w)===a},ft.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},ft.isForwardRef=function(w){return E(w)===l},ft.isFragment=function(w){return E(w)===r},ft.isLazy=function(w){return E(w)===f},ft.isMemo=function(w){return E(w)===p},ft.isPortal=function(w){return E(w)===t},ft.isProfiler=function(w){return E(w)===o},ft.isStrictMode=function(w){return E(w)===n},ft.isSuspense=function(w){return E(w)===d},ft.isSuspenseList=function(w){return E(w)===c},ft.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)},ft.typeOf=E,ft}var Mf;function a1(){return Mf||(Mf=1,jf.exports=i1()),jf.exports}var Ub=a1(),s1=Fb(Ub),l1=qb({__proto__:null,default:s1},[Ub]),Lf={exports:{}},ct={},Df;function u1(){if(Df)return ct;Df=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"),E;E=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===E||R.getModuleId!==void 0)},ct.typeOf=w,ct}var kf;function c1(){return kf||(kf=1,Lf.exports=u1()),Lf.exports}var Vb=c1(),d1=Fb(Vb),p1=qb({__proto__:null,default:d1},[Vb]),f1=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],Eo=Object.fromEntries(f1.map(e=>[e,t=>p1[e](t)||l1[e](t)]));function Jb(e,t=[]){if(Array.isArray(e))for(let r of e)Jb(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function $f(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Eo.isFragment(e))return"React.Fragment";if(Eo.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Eo.isContextProvider(e))return"Context.Provider";if(Eo.isContextConsumer(e))return"Context.Consumer";if(Eo.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Eo.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function h1(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var m1=(e,t,r,n,o,i)=>++n>t.maxDepth?_d($f(e),t):wd($f(e),Ed(h1(e),e.props,t,r+t.indent,n,o,i),Td(Jb(e.props.children),t,r+t.indent,n,o,i),t,r),y1=e=>e!=null&&Eo.isElement(e),g1={serialize:m1,test:y1},b1=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function v1(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var E1=(e,t,r,n,o,i)=>++n>t.maxDepth?_d(e.type,t):wd(e.type,e.props?Ed(v1(e),e.props,t,r+t.indent,n,o,i):"",e.children?Td(e.children,t,r+t.indent,n,o,i):"",t,r),T1=e=>e&&e.$$typeof===b1,w1={serialize:E1,test:T1},Hb=Object.prototype.toString,_1=Date.prototype.toISOString,S1=Error.prototype.toString,Bf=RegExp.prototype.toString;function os(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function R1(e){return typeof window<"u"&&e===window}var O1=/^Symbol\((.*)\)(.*)$/,P1=/\n/g,Gb=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function A1(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 C1(e){return Object.is(e,-0)?"-0":String(e)}function x1(e){return`${e}n`}function Ff(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Uf(e){return String(e).replace(O1,"Symbol($1)")}function Vf(e){return`[${S1.call(e)}]`}function Wb(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 C1(e);if(o==="bigint")return x1(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Ff(e,t);if(o==="symbol")return Uf(e);let i=Hb.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Ff(e,t):i==="[object Symbol]"?Uf(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":_1.call(e):i==="[object Error]"?Vf(e):i==="[object RegExp]"?r?Bf.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Bf.call(e):e instanceof Error?Vf(e):null}function zb(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 Hn(e.toJSON(),t,r,n,o,!0);let d=Hb.call(e);return d==="[object Arguments]"?a?"[Arguments]":`${l?"":"Arguments "}[${gs(e,t,r,n,o,Hn)}]`:A1(d)?a?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${gs(e,t,r,n,o,Hn)}]`:d==="[object Map]"?a?"[Map]":`Map {${wa(e.entries(),t,r,n,o,Hn," => ")}}`:d==="[object Set]"?a?"[Set]":`Set {${bd(e.values(),t,r,n,o,Hn)}}`:a||R1(e)?`[${os(e)}]`:`${l||!t.printBasicPrototype&&os(e)==="Object"?"":`${os(e)} `}{${vd(e,t,r,n,o,Hn)}}`}var I1={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:os(e);return a?`[${f}]`:`${f} {${wa(Object.entries(p).values(),t,r,n,o,i)}}`}};function N1(e){return e.serialize!=null}function Yb(e,t,r,n,o,i){let a;try{a=N1(e)?e.serialize(t,r,n,o,i,Hn):e.print(t,l=>Hn(l,r,n,o,i),l=>{let d=n+r.indent;return d+l.replaceAll(P1,`
  134. ${d}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new Gb(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 Kb(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new Gb(n.message,n.stack)}return null}function Hn(e,t,r,n,o,i){let a=Kb(t.plugins,e);if(a!==null)return Yb(a,e,t,r,n,o);let l=Wb(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:zb(e,t,r,n,o,i)}var Sd={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Xb=Object.keys(Sd),Lr={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:Sd};function j1(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Lr,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 q1(){return Xb.reduce((e,t)=>{let r=Sd[t],n=r&&gn[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 M1(){return Xb.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Qb(e){return(e==null?void 0:e.printFunctionName)??Lr.printFunctionName}function Zb(e){return(e==null?void 0:e.escapeRegex)??Lr.escapeRegex}function ev(e){return(e==null?void 0:e.escapeString)??Lr.escapeString}function Jf(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Lr.callToJSON,colors:e!=null&&e.highlight?q1():M1(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Lr.compareKeys,escapeRegex:Zb(e),escapeString:ev(e),indent:e!=null&&e.min?"":L1((e==null?void 0:e.indent)??Lr.indent),maxDepth:(e==null?void 0:e.maxDepth)??Lr.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Lr.maxWidth,min:(e==null?void 0:e.min)??Lr.min,plugins:(e==null?void 0:e.plugins)??Lr.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Qb(e),spacingInner:e!=null&&e.min?" ":`
  135. `,spacingOuter:e!=null&&e.min?"":`
  136. `}}function L1(e){return Array.from({length:e+1}).join(" ")}function en(e,t){if(t&&(j1(t),t.plugins)){let n=Kb(t.plugins,e);if(n!==null)return Yb(n,e,Jf(t),"",0,[])}let r=Wb(e,Qb(t),Zb(t),ev(t));return r!==null?r:zb(e,Jf(t),"",0,[])}var Rd={AsymmetricMatcher:ON,DOMCollection:jN,DOMElement:VN,Immutable:o1,ReactElement:g1,ReactTestComponent:w1,Error:I1},Hf={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"]},D1={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},ni="…";function k1(e,t){let r=Hf[D1[t]]||Hf[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function $1({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=k1),f}function B1(e){return e>="\uD800"&&e<="\uDBFF"}function ro(e,t,r=ni){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&&B1(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Fr(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=`${ni}(${e.length-c})`;let g=e[c];t.truncate=i-a.length-(p?0:n.length);let b=l||r(g,t)+(p?"":n),E=a.length+b.length,w=E+d.length;if(p&&E>i&&a.length+d.length<=i||!p&&!f&&w>i||(l=p?"":r(e[c+1],t)+(f?"":n),!p&&f&&w>i&&E+l.length>i))break;if(a+=b,!p&&!f&&E+l.length>=i){d=`${ni}(${e.length-c-1})`;break}d=""}return`${a}${d}`}function F1(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function na([e,t],r){return r.truncate-=2,typeof e=="string"?e=F1(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function U1(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Fr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Fr(r.map(i=>[i,e[i]]),t,na)),`[ ${n}${o?`, ${o}`:""} ]`}var V1=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function dn(e,t){let r=V1(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(ro(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){o+=`${ni}(${e.length-e[a]+1})`;break}o+=l}let i="";return n.length&&(i=Fr(n.map(a=>[a,e[a]]),t,na)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function J1(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${ro(n[1],t.truncate-o.length-1)}`,"date")}function Gf(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${ro(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function H1([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function G1(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function W1(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Fr(G1(e),t,H1)} }`)}var z1=Number.isNaN||(e=>e!==e);function Wf(e,t){return z1(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(ro(String(e),t.truncate),"number")}function zf(e,t){let r=ro(e.toString(),t.truncate-1);return r!==ni&&(r+="n"),t.stylize(r,"bigint")}function Y1(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${ro(o,n)}/${r}`,"regexp")}function K1(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function X1(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Fr(K1(e),t)} }`)}var Yf=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Q1={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Z1=16;function ej(e){return Q1[e]||`\\u${`0000${e.charCodeAt(0).toString(Z1)}`.slice(-4)}`}function Kf(e,t){return Yf.test(e)&&(e=e.replace(Yf,ej)),t.stylize(`'${ro(e,t.truncate-2)}'`,"string")}function Xf(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var tv=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(tv=(n,o)=>{let[i,a]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(a,o)}}`})}catch{}var tj=tv;function is(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=Fr(r.map(l=>[l,e[l]]),t,na),i=Fr(n.map(l=>[l,e[l]]),t,na);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}var Wl=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function rj(e,t){let r="";return Wl&&Wl in e&&(r=e[Wl]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${is(e,t)}`}function nj(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Fr(e,t)} ]`)}var oj=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function ij(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>oj.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=ro(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=Fr(r.map(a=>[a,e[a]]),t,na);return`${n}${o}${i?` { ${i} }`:""}`}function aj([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function ju(e,t){return Fr(e,t,sj,`
  137. `)}function sj(e,t){switch(e.nodeType){case 1:return rv(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function rv(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+=Fr(r.map(p=>[p,e.getAttribute(p)]),t,aj," ")),t.truncate-=l.length;let d=t.truncate,c=ju(e.children,t);return c&&c.length>d&&(c=`${ni}(${e.children.length})`),`${o}${l}${i}${c}${a}`}var lj=typeof Symbol=="function"&&typeof Symbol.for=="function",zl=lj?Symbol.for("chai/inspect"):"@@chai/inspect",Yl=Symbol.for("nodejs.util.inspect.custom"),Qf=new WeakMap,Zf={},eh={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:Wf,Number:Wf,bigint:zf,BigInt:zf,string:Kf,String:Kf,function:Gf,Function:Gf,symbol:Xf,Symbol:Xf,Array:U1,Date:J1,Map:W1,Set:X1,RegExp:Y1,Promise:tj,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:nj,Int8Array:dn,Uint8Array:dn,Uint8ClampedArray:dn,Int16Array:dn,Uint16Array:dn,Int32Array:dn,Uint32Array:dn,Float32Array:dn,Float64Array:dn,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:ij,HTMLCollection:ju,NodeList:ju},uj=(e,t,r)=>zl in e&&typeof e[zl]=="function"?e[zl](t):Yl in e&&typeof e[Yl]=="function"?e[Yl](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Qf.has(e.constructor)?Qf.get(e.constructor)(e,t):Zf[r]?Zf[r](e,t):"",cj=Object.prototype.toString;function qu(e,t={}){let r=$1(t,qu),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=cj.call(e).slice(8,-1)),o in eh)return eh[o](e,r);if(n&&e){let a=uj(e,r,o);if(a)return typeof a=="string"?a:qu(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?is(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?rv(e,r):"constructor"in e?e.constructor!==Object?rj(e,r):is(e,r):e===Object(e)?is(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:dj,DOMCollection:pj,DOMElement:fj,Immutable:hj,ReactElement:mj,ReactTestComponent:yj}=Rd,th=[yj,mj,fj,pj,hj,dj];function Er(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=en(e,{maxDepth:t,escapeString:!1,plugins:th,...n})}catch{i=en(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:th,...n})}return i.length>=o&&t>1?Er(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):i}var gj=/%[sdjifoOc%]/g;function bj(...e){if(typeof e[0]!="string"){let i=[];for(let a=0;a<e.length;a++)i.push(qi(e[a],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(gj,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():qi(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 qi(e[r++],{showHidden:!0,showProxy:!0});case"%O":return qi(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+=` ${qi(i)}`;return o}function qi(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),qu(e,t)}function nv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function pn(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function as(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function vj(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function bs(e){return Object.prototype.toString.apply(e).slice(8,-1)}function Ej(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function ov(e){let t=new Set;return vj(e)?[]:(Ej(e,t),Array.from(t))}var iv={forceWritable:!1};function rh(e,t=iv){return Mu(e,new WeakMap,t)}function Mu(e,t,r=iv){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]=Mu(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=ov(e);for(let a of i){let l=Object.getOwnPropertyDescriptor(e,a);if(!l)continue;let d=Mu(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 Tj(){}var Zt=-1,zt=1,xt=0,Ot=class{constructor(e,t){cr(this,0);cr(this,1);this[0]=e,this[1]=t}};function wj(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 av(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 nh(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 _j(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]===zt?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(Zt,o)),e[r[n-1]+1][0]=zt,n--,n--,i=n>0?r[n-1]:-1,a=0,l=0,d=0,c=0,o=null,t=!0)),i++;for(t&&sv(e),Oj(e),i=1;i<e.length;){if(e[i-1][0]===Zt&&e[i][0]===zt){let p=e[i-1][1],f=e[i][1],g=nh(p,f),b=nh(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]=zt,e[i-1][1]=f.substring(0,f.length-b),e[i+1][0]=Zt,e[i+1][1]=p.substring(b),i++),i++}i++}}var oh=/[^a-z0-9]/i,ih=/\s/,ah=/[\r\n]/,Sj=/\n\r?\n$/,Rj=/^\r?\n\r?\n/;function Oj(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=av(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=Ua(r,n)+Ua(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=Ua(r,n)+Ua(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 sv(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 zt:n++,i+=e[t][1],t++;break;case Zt:r++,o+=e[t][1],t++;break;case xt:r+n>1?(r!==0&&n!==0&&(a=wj(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=av(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(Zt,o)),t++),i.length&&(e.splice(t,0,new Ot(zt,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&&sv(e)}function Ua(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(oh),i=n.match(oh),a=o&&r.match(ih),l=i&&n.match(ih),d=a&&r.match(ah),c=l&&n.match(ah),p=d&&e.match(Sj),f=c&&t.match(Rj);return p||f?5:d||c?4:o&&!a&&l?3:a||l?2:o||i?1:0}var lv="Compared values have no visual difference.",Pj="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Va={},sh;function Aj(){if(sh)return Va;sh=1,Object.defineProperty(Va,"__esModule",{value:!0}),Va.default=g;let e="diff-sequences",t=0,r=(b,E,w,R,_)=>{let A=0;for(;b<E&&w<R&&_(b,w);)b+=1,w+=1,A+=1;return A},n=(b,E,w,R,_)=>{let A=0;for(;b<=E&&w<=R&&_(E,R);)E-=1,R-=1,A+=1;return A},o=(b,E,w,R,_,A,M)=>{let L=0,D=-b,I=A[L],h=I;A[L]+=r(I+1,E,R+I-D+1,w,_);let C=b<M?b:M;for(L+=1,D+=2;L<=C;L+=1,D+=2){if(L!==b&&h<A[L])I=A[L];else if(I=h+1,E<=I)return L-1;h=A[L],A[L]=I+r(I+1,E,R+I-D+1,w,_)}return M},i=(b,E,w,R,_,A,M)=>{let L=0,D=b,I=A[L],h=I;A[L]-=n(E,I-1,w,R+I-D-1,_);let C=b<M?b:M;for(L+=1,D-=2;L<=C;L+=1,D-=2){if(L!==b&&A[L]<h)I=A[L];else if(I=h-1,I<E)return L-1;h=A[L],A[L]=I-n(E,I-1,w,R+I-D-1,_)}return M},a=(b,E,w,R,_,A,M,L,D,I,h)=>{let C=R-E,j=w-E,Z=_-R-j,G=-Z-(b-1),oe=-Z+(b-1),B=t,N=b<L?b:L;for(let V=0,K=-b;V<=N;V+=1,K+=2){let te=V===0||V!==b&&B<M[V],fe=te?M[V]:B,_e=te?fe:fe+1,Re=C+_e-K,Ie=r(_e+1,w,Re+1,_,A),de=_e+Ie;if(B=M[V],M[V]=de,G<=K&&K<=oe){let ue=(b-1-(K+Z))/2;if(ue<=I&&D[ue]-1<=de){let Ce=C+fe-(te?K+1:K-1),Ee=n(E,fe,R,Ce,A),me=fe-Ee,He=Ce-Ee,ke=me+1,mt=He+1;h.nChangePreceding=b-1,b-1===ke+mt-E-R?(h.aEndPreceding=E,h.bEndPreceding=R):(h.aEndPreceding=ke,h.bEndPreceding=mt),h.nCommonPreceding=Ee,Ee!==0&&(h.aCommonPreceding=ke,h.bCommonPreceding=mt),h.nCommonFollowing=Ie,Ie!==0&&(h.aCommonFollowing=_e+1,h.bCommonFollowing=Re+1);let z=de+1,ve=Re+Ie+1;return h.nChangeFollowing=b-1,b-1===w+_-z-ve?(h.aStartFollowing=w,h.bStartFollowing=_):(h.aStartFollowing=z,h.bStartFollowing=ve),!0}}}return!1},l=(b,E,w,R,_,A,M,L,D,I,h)=>{let C=_-w,j=w-E,Z=_-R-j,G=Z-b,oe=Z+b,B=t,N=b<I?b:I;for(let V=0,K=b;V<=N;V+=1,K-=2){let te=V===0||V!==b&&D[V]<B,fe=te?D[V]:B,_e=te?fe:fe-1,Re=C+_e-K,Ie=n(E,_e-1,R,Re-1,A),de=_e-Ie;if(B=D[V],D[V]=de,G<=K&&K<=oe){let ue=(b+(K-Z))/2;if(ue<=L&&de-1<=M[ue]){let Ce=Re-Ie;if(h.nChangePreceding=b,b===de+Ce-E-R?(h.aEndPreceding=E,h.bEndPreceding=R):(h.aEndPreceding=de,h.bEndPreceding=Ce),h.nCommonPreceding=Ie,Ie!==0&&(h.aCommonPreceding=de,h.bCommonPreceding=Ce),h.nChangeFollowing=b-1,b===1)h.nCommonFollowing=0,h.aStartFollowing=w,h.bStartFollowing=_;else{let Ee=C+fe-(te?K-1:K+1),me=r(fe,w,Ee,_,A);h.nCommonFollowing=me,me!==0&&(h.aCommonFollowing=fe,h.bCommonFollowing=Ee);let He=fe+me,ke=Ee+me;b-1===w+_-He-ke?(h.aStartFollowing=w,h.bStartFollowing=_):(h.aStartFollowing=He,h.bStartFollowing=ke)}return!0}}}return!1},d=(b,E,w,R,_,A,M,L,D)=>{let I=R-E,h=_-w,C=w-E,j=_-R,Z=j-C,G=C,oe=C;if(M[0]=E-1,L[0]=w,Z%2===0){let B=(b||Z)/2,N=(C+j)/2;for(let V=1;V<=N;V+=1)if(G=o(V,w,_,I,A,M,G),V<B)oe=i(V,E,R,h,A,L,oe);else if(l(V,E,w,R,_,A,M,G,L,oe,D))return}else{let B=((b||Z)+1)/2,N=(C+j+1)/2,V=1;for(G=o(V,w,_,I,A,M,G),V+=1;V<=N;V+=1)if(oe=i(V-1,E,R,h,A,L,oe),V<B)G=o(V,w,_,I,A,M,G);else if(a(V,E,w,R,_,A,M,G,L,oe,D))return}throw new Error(`${e}: no overlap aStart=${E} aEnd=${w} bStart=${R} bEnd=${_}`)},c=(b,E,w,R,_,A,M,L,D,I)=>{if(_-R<w-E){if(A=!A,A&&M.length===1){let{foundSubsequence:ue,isCommon:Ce}=M[0];M[1]={foundSubsequence:(Ee,me,He)=>{ue(Ee,He,me)},isCommon:(Ee,me)=>Ce(me,Ee)}}let Ie=E,de=w;E=R,w=_,R=Ie,_=de}let{foundSubsequence:h,isCommon:C}=M[A?1:0];d(b,E,w,R,_,C,L,D,I);let{nChangePreceding:j,aEndPreceding:Z,bEndPreceding:G,nCommonPreceding:oe,aCommonPreceding:B,bCommonPreceding:N,nCommonFollowing:V,aCommonFollowing:K,bCommonFollowing:te,nChangeFollowing:fe,aStartFollowing:_e,bStartFollowing:Re}=I;E<Z&&R<G&&c(j,E,Z,R,G,A,M,L,D,I),oe!==0&&h(oe,B,N),V!==0&&h(V,K,te),_e<w&&Re<_&&c(fe,_e,w,Re,_,A,M,L,D,I)},p=(b,E)=>{if(typeof E!="number")throw new TypeError(`${e}: ${b} typeof ${typeof E} is not a number`);if(!Number.isSafeInteger(E))throw new RangeError(`${e}: ${b} value ${E} is not a safe integer`);if(E<0)throw new RangeError(`${e}: ${b} value ${E} is a negative integer`)},f=(b,E)=>{let w=typeof E;if(w!=="function")throw new TypeError(`${e}: ${b} typeof ${w} is not a function`)};function g(b,E,w,R){p("aLength",b),p("bLength",E),f("isCommon",w),f("foundSubsequence",R);let _=r(0,b,0,E,w);if(_!==0&&R(_,0,0),b!==_||E!==_){let A=_,M=_,L=n(A,b-1,M,E-1,w),D=b-L,I=E-L,h=_+L;b!==h&&E!==h&&c(0,A,D,M,I,!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}),L!==0&&R(L,D,I)}}return Va}var Cj=Aj(),uv=nv(Cj);function xj(e,t){return e.replace(/\s+$/,r=>t(r))}function Od(e,t,r,n,o,i){return e.length!==0?r(`${n} ${xj(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function cv(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Od(e,t,r,n,o,i)}function dv(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Od(e,t,r,n,o,i)}function pv(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Od(e,t,r,n,o,i)}function lh(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function Ij(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,a=!1,l=0,d=0;for(;d!==r;){let L=d;for(;d!==r&&e[d][0]===xt;)d+=1;if(L!==d)if(L===0)d>n&&(i-=d-n,a=!0);else if(d===r){let D=d-L;D>n&&(i-=D-n,a=!0)}else{let D=d-L;D>o&&(i-=D-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,E=0,w=0,R=0,_=L=>{let D=f.length;f.push(pv(L,D===0||D===p,t)),w+=1,R+=1},A=L=>{let D=f.length;f.push(cv(L,D===0||D===p,t)),w+=1},M=L=>{let D=f.length;f.push(dv(L,D===0||D===p,t)),R+=1};for(d=0;d!==r;){let L=d;for(;d!==r&&e[d][0]===xt;)d+=1;if(L!==d)if(L===0){d>n&&(L=d-n,b=L,E=L,w=b,R=E);for(let D=L;D!==d;D+=1)_(e[D][1])}else if(d===r){let D=d-L>n?L+n:d;for(let I=L;I!==D;I+=1)_(e[I][1])}else{let D=d-L;if(D>o){let I=L+n;for(let C=L;C!==I;C+=1)_(e[C][1]);f[g]=lh(b,w,E,R,t),g=f.length,f.push("");let h=D-o;b=w+h,E=R+h,w=b,R=E;for(let C=d-n;C!==d;C+=1)_(e[C][1])}else for(let I=L;I!==d;I+=1)_(e[I][1])}for(;d!==r&&e[d][0]===Zt;)A(e[d][1]),d+=1;for(;d!==r&&e[d][0]===zt;)M(e[d][1]),d+=1}return c&&(f[g]=lh(b,w,E,R,t)),f.join(`
  138. `)}function Nj(e,t){return e.map((r,n,o)=>{let i=r[1],a=n===0||n===o.length-1;switch(r[0]){case Zt:return cv(i,a,t);case zt:return dv(i,a,t);default:return pv(i,a,t)}}).join(`
  139. `)}var Kl=e=>e,fv=5,jj=0;function qj(){return{aAnnotation:"Expected",aColor:gn.green,aIndicator:"-",bAnnotation:"Received",bColor:gn.red,bIndicator:"+",changeColor:gn.inverse,changeLineTrailingSpaceColor:Kl,commonColor:gn.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Kl,compareKeys:void 0,contextLines:fv,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:gn.yellow,printBasicPrototype:!1,truncateThreshold:jj,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Kl}}function Mj(e){return e&&typeof e=="function"?e:void 0}function Lj(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:fv}function qo(e={}){return{...qj(),...e,compareKeys:Mj(e.compareKeys),contextLines:Lj(e.contextLines)}}function Wo(e){return e.length===1&&e[0].length===0}function Dj(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Zt:t+=1;break;case zt:r+=1;break}}),{a:t,b:r}}function kj({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),E=String(d.b),w=n.length-e.length,R=" ".repeat(Math.max(0,w)),_=" ".repeat(Math.max(0,-w)),A=E.length-b.length,M=" ".repeat(Math.max(0,A)),L=" ".repeat(Math.max(0,-A));c=`${R} ${r} ${M}${b}`,p=`${_} ${i} ${L}${E}`}let f=`${r} ${e}${c}`,g=`${i} ${n}${p}`;return`${t(f)}
  140. ${o(g)}
  141. `}function Pd(e,t,r){return kj(r,Dj(e))+(r.expand?Nj(e,r):Ij(e,r))+(t?r.truncateAnnotationColor(`
  142. ${r.truncateAnnotation}`):"")}function Qs(e,t,r){let n=qo(r),[o,i]=hv(Wo(e)?[]:e,Wo(t)?[]:t,n);return Pd(o,i,n)}function $j(e,t,r,n,o){if(Wo(e)&&Wo(r)&&(e=[],r=[]),Wo(t)&&Wo(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Qs(e,t,o);let[i,a]=hv(r,n,o),l=0,d=0;return i.forEach(c=>{switch(c[0]){case Zt:c[1]=e[l],l+=1;break;case zt:c[1]=t[d],d+=1;break;default:c[1]=t[d],l+=1,d+=1}}),Pd(i,a,qo(o))}function hv(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(uv(i,a,d,(g,b,E)=>{for(;p!==b;p+=1)c.push(new Ot(Zt,e[p]));for(;f!==E;f+=1)c.push(new Ot(zt,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(Zt,e[p]));for(;f!==a;f+=1)c.push(new Ot(zt,t[f]));return[c,l]}function uh(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 ch(e){return e.includes(`\r
  143. `)?`\r
  144. `:`
  145. `}function Bj(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. `),E=ch(e),w=ch(t),R=g?`${e.split(E,o).join(E)}
  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 uv(i,a,d,(g,b,E)=>{c!==b&&f.push(new Ot(Zt,e.slice(c,b))),p!==E&&f.push(new Ot(zt,t.slice(p,E))),c=b+g,p=E+g,f.push(new Ot(xt,t.slice(E,p)))}),c!==i&&f.push(new Ot(Zt,e.slice(c))),p!==a&&f.push(new Ot(zt,t.slice(p))),[f,l]}function Fj(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 dh=class{constructor(e,t){cr(this,"op");cr(this,"line");cr(this,"lines");cr(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,Fj(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}},Uj=class{constructor(e,t){cr(this,"deleteBuffer");cr(this,"insertBuffer");cr(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 Vj(e,t){let r=new dh(Zt,t),n=new dh(zt,t),o=new Uj(r,n);return e.forEach(i=>{switch(i[0]){case Zt:r.align(i);break;case zt:n.align(i);break;default:o.align(i)}}),o.getLines()}function Jj(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 Hj(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
  155. `)||t.includes(`
  156. `),[o,i]=mv(n?`${e}
  157. `:e,n?`${t}
  158. `:t,!0,r);if(Jj(o,n)){let a=qo(r),l=Vj(o,a.changeColor);return Pd(l,i,a)}}return Qs(e.split(`
  159. `),t.split(`
  160. `),r)}function mv(e,t,r,n){let[o,i]=Bj(e,t,n);return _j(o),[o,i]}function Lu(e,t){let{commonColor:r}=qo(t);return r(e)}var{AsymmetricMatcher:Gj,DOMCollection:Wj,DOMElement:zj,Immutable:Yj,ReactElement:Kj,ReactTestComponent:Xj}=Rd,yv=[Xj,Kj,zj,Wj,Yj,Gj,Rd.Error],Du={maxDepth:20,plugins:yv},gv={callToJSON:!1,maxDepth:8,plugins:yv};function vi(e,t,r){if(Object.is(e,t))return"";let n=uh(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!==uh(t)){let a=function(M){return M.length<=R?M:`${M.slice(0,R)}...`},{aAnnotation:l,aColor:d,aIndicator:c,bAnnotation:p,bColor:f,bIndicator:g}=qo(r),b=ku(gv,r),E=en(e,b),w=en(t,b),R=1e5;E=a(E),w=a(w);let _=`${d(`${c} ${l}:`)}
  161. ${E}`,A=`${f(`${g} ${p}:`)}
  162. ${w}`;return`${_}
  163. ${A}`}if(!i)switch(n){case"string":return Qs(e.split(`
  164. `),t.split(`
  165. `),r);case"boolean":case"number":return Qj(e,t,r);case"map":return Xl(ph(e),ph(t),r);case"set":return Xl(fh(e),fh(t),r);default:return Xl(e,t,r)}}function Qj(e,t,r){let n=en(e,Du),o=en(t,Du);return n===o?"":Qs(n.split(`
  166. `),o.split(`
  167. `),r)}function ph(e){return new Map(Array.from(e.entries()).sort())}function fh(e){return new Set(Array.from(e.values()).sort())}function Xl(e,t,r){let n,o=!1;try{let a=ku(Du,r);n=hh(e,t,a,r)}catch{o=!0}let i=Lu(lv,r);if(n===void 0||n===i){let a=ku(gv,r);n=hh(e,t,a,r),n!==i&&!o&&(n=`${Lu(Pj,r)}
  168. ${n}`)}return n}function ku(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:o}=qo(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o??e.maxDepth}}function hh(e,t,r,n){let o={...r,indent:0},i=en(e,o),a=en(t,o);if(i===a)return Lu(lv,n);{let l=en(e,r),d=en(t,r);return $j(l.split(`
  169. `),d.split(`
  170. `),i.split(`
  171. `),a.split(`
  172. `),n)}}var mh=2e4;function yh(e){return bs(e)==="Object"&&typeof e.asymmetricMatch=="function"}function gh(e,t){let r=bs(e),n=bs(t);return r===n&&(r==="Object"||r==="Array")}function bv(e,t,r){let{aAnnotation:n,bAnnotation:o}=qo(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=mh&&e.length<=mh&&t!==e){if(t.includes(`
  173. `)||e.includes(`
  174. `))return Hj(t,e,r);let[c]=mv(t,e),p=c.some(E=>E[0]===xt),f=Zj(n,o),g=f(n)+rq(bh(c,Zt,p)),b=f(o)+tq(bh(c,zt,p));return`${g}
  175. ${b}`}let i=rh(t,{forceWritable:!0}),a=rh(e,{forceWritable:!0}),{replacedExpected:l,replacedActual:d}=vv(a,i);return vi(l,d,r)}function vv(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}):gh(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),ov(t).forEach(o=>{let i=t[o],a=e[o];if(yh(i))i.asymmetricMatch(a)&&(e[o]=i);else if(yh(a))a.asymmetricMatch(i)&&(t[o]=a);else if(gh(a,i)){let l=vv(a,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function Zj(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var eq="·";function Ev(e){return e.replace(/\s+$/gm,t=>eq.repeat(t.length))}function tq(e){return gn.red(Ev(Er(e)))}function rq(e){return gn.green(Ev(Er(e)))}function bh(e,t,r){return e.reduce((n,o)=>n+(o[0]===xt?o[1]:o[0]===t?r?gn.inverse(o[1]):o[1]:""),"")}var nq="@@__IMMUTABLE_RECORD__@@",oq="@@__IMMUTABLE_ITERABLE__@@";function iq(e){return e&&(e[oq]||e[nq])}var aq=Object.getPrototypeOf({});function vh(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function Gn(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"&&Ja(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&Ja(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&Ja(()=>r.name??(r.name=e.name)),e.cause!=null&&Ja(()=>r.cause??(r.cause=Gn(e.cause,t)))),Gn(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(iq(e))return Gn(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()} ${bj(e.sample)}`;if(typeof e.toJSON=="function")return Gn(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]=Gn(n,t)}catch(i){r[o]=vh(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==aq;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=Gn(e[o],t)}catch(i){delete r[o],r[o]=vh(i)}}),n=Object.getPrototypeOf(n);return r}}function Ja(e){try{return e()}catch{}}function sq(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Ad(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=bv(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Er(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Er(n.actual,10));try{typeof n.message=="string"&&(n.message=sq(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Ad(n.cause,t,r))}catch{}try{return Gn(n)}catch(o){return Gn(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
  176. Inner error message: ${n==null?void 0:n.message}`))}}var fn={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"},Ql=globalThis.__STORYBOOK_ADDONS_PREVIEW,lq=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Eh=e=>Object.prototype.toString.call(e)==="[object Object]",uq=e=>Object.prototype.toString.call(e)==="[object Module]",cq=e=>{if(!Eh(e)&&!uq(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Eh(t)},dq=e=>{try{return new e.constructor}catch{return{}}},Zl=()=>({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}),Th=(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}},pq=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=()=>{var l,d;try{this.state=((d=(l=we.window)==null?void 0:l.parent)==null?void 0:d.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{}}catch{this.detached=!0}},this.updateParentWindowState=()=>{try{we.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,{...Zl(),...Th(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(E=>E.id===p[0].callId);return{playUntil:(b=f.slice(0,g).filter(E=>{var w;return E.interceptable&&!((w=E.ancestors)!=null&&w.length)}).slice(-1)[0])==null?void 0:b.id}}),l.emit(ms,{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,E)=>g>=0||b.status==="waiting"?g:E,-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),E=f.find(({id:R})=>R===c);if(!b&&E&&Object.values(g).length>0){let R=(w=this.getLog(d).find(_=>_.status==="waiting"))==null?void 0:w.callId;E.id!==R&&this.setState(d,{playUntil:E.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)};Ql&&Ql.ready().then(()=>{this.channel=Ql.getChannel(),this.channel.on(ms,e),this.channel.on(Po,a),this.channel.on(Zc,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(fn.START,t(this.channel)),this.channel.on(fn.BACK,r(this.channel)),this.channel.on(fn.GOTO,n(this.channel)),this.channel.on(fn.NEXT,o(this.channel)),this.channel.on(fn.END,i)})}getState(e){return this.state[e]||Zl()}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=Th(o);return i&&(r[n]=Object.assign(Zl(),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(fn.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(!cq(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=fq(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:dq(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=we.__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},E=(g&&!l.length?this.intercept:this.invoke).call(this,t,r,b,o);return this.instrument(E,{...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,E,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=we.window)==null?void 0:b.HTMLElement)){let{prefix:R,localName:_,id:A,classList:M,innerText:L}=p,D=Array.from(M);return{__element__:{prefix:R,localName:_,id:A,classNames:D,innerText:L}}}return typeof p=="function"?{__function__:{name:"getMockName"in p?p.getMockName():p.name}}:typeof p=="symbol"?{__symbol__:{description:p.description}}:typeof p=="object"&&((E=p==null?void 0:p.constructor)!=null&&E.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:E,callId:w=r.id}=p,{showDiff:R=void 0,diff:_=void 0,actual:A=void 0,expected:M=void 0}=p.name==="AssertionError"?Ad(p):p,L={name:g,message:b,stack:E,callId:w,showDiff:R,diff:_,actual:A,expected:M};if(this.update({...d,status:"error",exception:L}),this.setState(r.storyId,D=>({callRefsByResult:new Map([...Array.from(D.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 lq;let p=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(g=>typeof g!="function"||hq(g)||Object.keys(g).length?g:(...b)=>{let{cursor:E,ancestors:w}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...w,r.id]});let R=()=>this.setState(r.storyId,{cursor:E,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(fn.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(fn.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(fn.SYNC,d)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function _a(e,t={}){var r,n,o,i,a,l,d,c;try{let p=!1,f=!1;return(o=(n=(r=we.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&o.includes("instrument=true")?p=!0:(l=(a=(i=we.window)==null?void 0:i.location)==null?void 0:a.search)!=null&&l.includes("instrument=false")&&(f=!0),((d=we.window)==null?void 0:d.parent)===we.window&&!p||f?e:(we.window&&!we.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(we.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new pq),((c=we.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(p){return It.warn(p),e}}function fq(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function hq(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}var Tv=Object.defineProperty,re=(e,t)=>Tv(e,"name",{value:t,configurable:!0}),Cd=(e,t)=>{for(var r in t)Tv(e,r,{get:t[r],enumerable:!0})},tn={};Cd(tn,{addChainableMethod:()=>Fd,addLengthGuard:()=>Oa,addMethod:()=>kd,addProperty:()=>Dd,checkError:()=>mr,compareByInspect:()=>ws,eql:()=>zv,expectTypes:()=>Av,flag:()=>We,getActual:()=>el,getMessage:()=>Nd,getName:()=>rl,getOperator:()=>Hd,getOwnEnumerableProperties:()=>Jd,getOwnEnumerablePropertySymbols:()=>Vd,getPathInfo:()=>Ld,hasProperty:()=>tl,inspect:()=>st,isNaN:()=>_s,isNumeric:()=>Vt,isProxyEnabled:()=>Ra,isRegExp:()=>Ss,objDisplay:()=>_o,overwriteChainableMethod:()=>Ud,overwriteMethod:()=>Bd,overwriteProperty:()=>$d,proxify:()=>Ei,test:()=>xd,transferFlags:()=>Ur,type:()=>ht});var mr={};Cd(mr,{compatibleConstructor:()=>Sv,compatibleInstance:()=>_v,compatibleMessage:()=>Rv,getConstructorName:()=>Ov,getMessage:()=>Pv});function Zs(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}re(Zs,"isErrorInstance");function wv(e){return Object.prototype.toString.call(e)==="[object RegExp]"}re(wv,"isRegExp");function _v(e,t){return Zs(t)&&e===t}re(_v,"compatibleInstance");function Sv(e,t){return Zs(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}re(Sv,"compatibleConstructor");function Rv(e,t){let r=typeof e=="string"?e:e.message;return wv(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}re(Rv,"compatibleMessage");function Ov(e){let t=e;return Zs(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}re(Ov,"getConstructorName");function Pv(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}re(Pv,"getMessage");function We(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}re(We,"flag");function xd(e,t){let r=We(e,"negate"),n=t[0];return r?!n:n}re(xd,"test");function ht(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)}re(ht,"type");var mq="captureStackTrace"in Error,Ha,lt=(Ha=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);cr(this,"message");this.message=t,mq&&Error.captureStackTrace(this,n||Ha);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}}},re(Ha,"AssertionError"),Ha);function Av(e,t){let r=We(e,"message"),n=We(e,"ssfi");r=r?r+": ":"",e=We(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=ht(e).toLowerCase();if(!t.some(function(a){return i===a}))throw new lt(r+"object tested must be "+o+", but "+i+" given",void 0,n)}re(Av,"expectTypes");function el(e,t){return t.length>4?t[4]:e._obj}re(el,"getActual");var wh={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"]},yq={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},oi="…";function Cv(e,t){let r=wh[yq[t]]||wh[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}re(Cv,"colorise");function xv({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=Cv),f}re(xv,"normaliseOptions");function Iv(e){return e>="\uD800"&&e<="\uDBFF"}re(Iv,"isHighSurrogate");function Rn(e,t,r=oi){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&&Iv(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}re(Rn,"truncate");function Cr(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=`${oi}(${e.length-c})`;let g=e[c];t.truncate=i-a.length-(p?0:n.length);let b=l||r(g,t)+(p?"":n),E=a.length+b.length,w=E+d.length;if(p&&E>i&&a.length+d.length<=i||!p&&!f&&w>i||(l=p?"":r(e[c+1],t)+(f?"":n),!p&&f&&w>i&&E+l.length>i))break;if(a+=b,!p&&!f&&E+l.length>=i){d=`${oi}(${e.length-c-1})`;break}d=""}return`${a}${d}`}re(Cr,"inspectList");function Nv(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}re(Nv,"quoteComplexKey");function ii([e,t],r){return r.truncate-=2,typeof e=="string"?e=Nv(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}re(ii,"inspectProperty");function jv(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Cr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Cr(r.map(i=>[i,e[i]]),t,ii)),`[ ${n}${o?`, ${o}`:""} ]`}re(jv,"inspectArray");var gq=re(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Qr(e,t){let r=gq(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(Rn(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){o+=`${oi}(${e.length-e[a]+1})`;break}o+=l}let i="";return n.length&&(i=Cr(n.map(a=>[a,e[a]]),t,ii)),`${r}[ ${o}${i?`, ${i}`:""} ]`}re(Qr,"inspectTypedArray");function qv(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${Rn(n[1],t.truncate-o.length-1)}`,"date")}re(qv,"inspectDate");function $u(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Rn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}re($u,"inspectFunction");function Mv([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}re(Mv,"inspectMapEntry");function Lv(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}re(Lv,"mapToEntries");function Dv(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Cr(Lv(e),t,Mv)} }`)}re(Dv,"inspectMap");var bq=Number.isNaN||(e=>e!==e);function Bu(e,t){return bq(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(Rn(String(e),t.truncate),"number")}re(Bu,"inspectNumber");function Fu(e,t){let r=Rn(e.toString(),t.truncate-1);return r!==oi&&(r+="n"),t.stylize(r,"bigint")}re(Fu,"inspectBigInt");function kv(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Rn(o,n)}/${r}`,"regexp")}re(kv,"inspectRegExp");function $v(e){let t=[];return e.forEach(r=>{t.push(r)}),t}re($v,"arrayFromSet");function Bv(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Cr($v(e),t)} }`)}re(Bv,"inspectSet");var _h=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),vq={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Eq=16;function Fv(e){return vq[e]||`\\u${`0000${e.charCodeAt(0).toString(Eq)}`.slice(-4)}`}re(Fv,"escape");function Uu(e,t){return _h.test(e)&&(e=e.replace(_h,Fv)),t.stylize(`'${Rn(e,t.truncate-2)}'`,"string")}re(Uu,"inspectString");function Vu(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}re(Vu,"inspectSymbol");var Tq=re(()=>"Promise{…}","getPromiseValue"),wq=Tq;function Hi(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=Cr(r.map(l=>[l,e[l]]),t,ii),i=Cr(n.map(l=>[l,e[l]]),t,ii);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}re(Hi,"inspectObject");var eu=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Uv(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}${Hi(e,t)}`}re(Uv,"inspectClass");function Vv(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Cr(e,t)} ]`)}re(Vv,"inspectArguments");var _q=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Jv(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>_q.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Rn(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=Cr(r.map(a=>[a,e[a]]),t,ii);return`${n}${o}${i?` { ${i} }`:""}`}re(Jv,"inspectObject");function Hv([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}re(Hv,"inspectAttribute");function vs(e,t){return Cr(e,t,Gv,`
  177. `)}re(vs,"inspectNodeCollection");function Gv(e,t){switch(e.nodeType){case 1:return Id(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}re(Gv,"inspectNode");function Id(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+=Cr(r.map(p=>[p,e.getAttribute(p)]),t,Hv," ")),t.truncate-=l.length;let d=t.truncate,c=vs(e.children,t);return c&&c.length>d&&(c=`${oi}(${e.children.length})`),`${o}${l}${i}${c}${a}`}re(Id,"inspectHTML");var Sq=typeof Symbol=="function"&&typeof Symbol.for=="function",tu=Sq?Symbol.for("chai/inspect"):"@@chai/inspect",ru=Symbol.for("nodejs.util.inspect.custom"),Sh=new WeakMap,Rh={},Oh={undefined:re((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:re((e,t)=>t.stylize("null","null"),"null"),boolean:re((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:re((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Bu,Number:Bu,bigint:Fu,BigInt:Fu,string:Uu,String:Uu,function:$u,Function:$u,symbol:Vu,Symbol:Vu,Array:jv,Date:qv,Map:Dv,Set:Bv,RegExp:kv,Promise:wq,WeakSet:re((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:re((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Vv,Int8Array:Qr,Uint8Array:Qr,Uint8ClampedArray:Qr,Int16Array:Qr,Uint16Array:Qr,Int32Array:Qr,Uint32Array:Qr,Float32Array:Qr,Float64Array:Qr,Generator:re(()=>"","Generator"),DataView:re(()=>"","DataView"),ArrayBuffer:re(()=>"","ArrayBuffer"),Error:Jv,HTMLCollection:vs,NodeList:vs},Rq=re((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):Rh[r]?Rh[r](e,t):"","inspectCustom"),Oq=Object.prototype.toString;function Es(e,t={}){let r=xv(t,Es),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=Oq.call(e).slice(8,-1)),o in Oh)return Oh[o](e,r);if(n&&e){let a=Rq(e,r,o);if(a)return typeof a=="string"?a:Es(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Hi(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Id(e,r):"constructor"in e?e.constructor!==Object?Uv(e,r):Hi(e,r):e===Object(e)?Hi(e,r):r.stylize(String(e),o)}re(Es,"inspect");var ar={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function st(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:ar.truncateThreshold?ar.truncateThreshold:1/0};return Es(e,o)}re(st,"inspect");function _o(e){let t=st(e),r=Object.prototype.toString.call(e);if(ar.truncateThreshold&&t.length>=ar.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}re(_o,"objDisplay");function Nd(e,t){let r=We(e,"negate"),n=We(e,"object"),o=t[3],i=el(e,t),a=r?t[2]:t[1],l=We(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return _o(n)}).replace(/#\{act\}/g,function(){return _o(i)}).replace(/#\{exp\}/g,function(){return _o(o)}),l?l+": "+a:a}re(Nd,"getMessage");function Ur(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])}re(Ur,"transferFlags");function Ju(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)}re(Ju,"type");function jd(){this._key="chai/deep-eql__"+Math.random()+Date.now()}re(jd,"FakeMap");jd.prototype={get:re(function(e){return e[this._key]},"get"),set:re(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var Wv=typeof WeakMap=="function"?WeakMap:jd;function Hu(e,t,r){if(!r||Co(e)||Co(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}re(Hu,"memoizeCompare");function Bi(e,t,r,n){if(!(!r||Co(e)||Co(t))){var o=r.get(e);o?o.set(t,n):(o=new Wv,o.set(t,n),r.set(e,o))}}re(Bi,"memoizeSet");var zv=Sa;function Sa(e,t,r){if(r&&r.comparator)return Gu(e,t,r);var n=qd(e,t);return n!==null?n:Gu(e,t,r)}re(Sa,"deepEqual");function qd(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Co(e)||Co(t)?!1:null}re(qd,"simpleEqual");function Gu(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Wv;var n=r&&r.comparator,o=Hu(e,t,r.memoize);if(o!==null)return o;var i=Hu(t,e,r.memoize);if(i!==null)return i;if(n){var a=n(e,t);if(a===!1||a===!0)return Bi(e,t,r.memoize,a),a;var l=qd(e,t);if(l!==null)return l}var d=Ju(e);if(d!==Ju(t))return Bi(e,t,r.memoize,!1),!1;Bi(e,t,r.memoize,!0);var c=Yv(e,t,d,r);return Bi(e,t,r.memoize,c),c}re(Gu,"extensiveDeepEqual");function Yv(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Sa(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Md(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 Kn(e,t,n);case"RegExp":return Kv(e,t);case"Generator":return Xv(e,t,n);case"DataView":return Kn(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Kn(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Wu(e,t,n);case"Map":return Wu(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 Zv(e,t,n)}}re(Yv,"extensiveDeepEqualByType");function Kv(e,t){return e.toString()===t.toString()}re(Kv,"regexpEqual");function Wu(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(re(function(i,a){n.push([i,a])},"gatherEntries")),t.forEach(re(function(i,a){o.push([i,a])},"gatherEntries")),Kn(n.sort(),o.sort(),r)}re(Wu,"entriesEqual");function Kn(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(Sa(e[o],t[o],r)===!1)return!1;return!0}re(Kn,"iterableEqual");function Xv(e,t,r){return Kn(Ts(e),Ts(t),r)}re(Xv,"generatorEqual");function Qv(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}re(Qv,"hasIteratorFunction");function zu(e){if(Qv(e))try{return Ts(e[Symbol.iterator]())}catch{return[]}return[]}re(zu,"getIteratorEntries");function Ts(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}re(Ts,"getGeneratorEntries");function Yu(e){var t=[];for(var r in e)t.push(r);return t}re(Yu,"getEnumerableKeys");function Ku(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}re(Ku,"getEnumerableSymbols");function Md(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(Sa(e[r[i]],t[r[i]],n)===!1)return!1;return!0}re(Md,"keysEqual");function Zv(e,t,r){var n=Yu(e),o=Yu(t),i=Ku(e),a=Ku(t);if(n=n.concat(i),o=o.concat(a),n.length&&n.length===o.length)return Kn(Xu(n).sort(),Xu(o).sort())===!1?!1:Md(e,t,n,r);var l=zu(e),d=zu(t);return l.length&&l.length===d.length?(l.sort(),d.sort(),Kn(l,d,r)):n.length===0&&l.length===0&&o.length===0&&d.length===0}re(Zv,"objectEqual");function Co(e){return e===null||typeof e!="object"}re(Co,"isPrimitive");function Xu(e){return e.map(re(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}re(Xu,"mapSymbols");function tl(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}re(tl,"hasProperty");function eE(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})}re(eE,"parsePath");function Qu(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}re(Qu,"internalGetPathValue");function Ld(e,t){let r=eE(t),n=r[r.length-1],o={parent:r.length>1?Qu(e,r,r.length-1):e,name:n.p||n.i,value:Qu(e,r)};return o.exists=tl(o.parent,o.name),o}re(Ld,"getPathInfo");var Ga,U=(Ga=class{constructor(e,t,r,n){cr(this,"__flags",{});return We(this,"ssfi",r||Ga),We(this,"lockSsfi",n),We(this,"object",e),We(this,"message",t),We(this,"eql",ar.deepEqual||zv),Ei(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ar.includeStack}static set includeStack(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ar.includeStack=e}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ar.showDiff}static set showDiff(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ar.showDiff=e}static addProperty(e,t){Dd(this.prototype,e,t)}static addMethod(e,t){kd(this.prototype,e,t)}static addChainableMethod(e,t,r){Fd(this.prototype,e,t,r)}static overwriteProperty(e,t){$d(this.prototype,e,t)}static overwriteMethod(e,t){Bd(this.prototype,e,t)}static overwriteChainableMethod(e,t,r){Ud(this.prototype,e,t,r)}assert(e,t,r,n,o,i){let a=xd(this,arguments);if(i!==!1&&(i=!0),n===void 0&&o===void 0&&(i=!1),ar.showDiff!==!0&&(i=!1),!a){t=Nd(this,arguments);let l={actual:el(this,arguments),expected:n,showDiff:i},d=Hd(this,arguments);throw d&&(l.operator=d),new lt(t,l,ar.includeStack?this.assert:We(this,"ssfi"))}}get _obj(){return We(this,"object")}set _obj(e){We(this,"object",e)}},re(Ga,"Assertion"),Ga);function Ra(){return ar.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}re(Ra,"isProxyEnabled");function Dd(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:re(function n(){!Ra()&&!We(this,"lockSsfi")&&We(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let i=new U;return Ur(this,i),i},"propertyGetter"),configurable:!0})}re(Dd,"addProperty");var Pq=Object.getOwnPropertyDescriptor(function(){},"length");function Oa(e,t,r){return Pq.configurable&&Object.defineProperty(e,"length",{get:re(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}re(Oa,"addLengthGuard");function tE(e){let t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}re(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}re(tE,"getProperties");var Ph=["__flags","__methods","_obj","assert"];function Ei(e,t){return Ra()?new Proxy(e,{get:re(function r(n,o){if(typeof o=="string"&&ar.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 tE(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&Ph.indexOf(l)===-1){let d=rE(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 Ph.indexOf(o)===-1&&!We(n,"lockSsfi")&&We(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}re(Ei,"proxify");function rE(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]}re(rE,"stringDistanceCapped");function kd(e,t,r){let n=re(function(){We(this,"lockSsfi")||We(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let i=new U;return Ur(this,i),i},"methodWrapper");Oa(n,t,!1),e[t]=Ei(n,t)}re(kd,"addMethod");function $d(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),o=re(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:re(function i(){!Ra()&&!We(this,"lockSsfi")&&We(this,"ssfi",i);let a=We(this,"lockSsfi");We(this,"lockSsfi",!0);let l=r(o).call(this);if(We(this,"lockSsfi",a),l!==void 0)return l;let d=new U;return Ur(this,d),d},"overwritingPropertyGetter"),configurable:!0})}re($d,"overwriteProperty");function Bd(e,t,r){let n=e[t],o=re(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);let i=re(function(){We(this,"lockSsfi")||We(this,"ssfi",i);let a=We(this,"lockSsfi");We(this,"lockSsfi",!0);let l=r(o).apply(this,arguments);if(We(this,"lockSsfi",a),l!==void 0)return l;let d=new U;return Ur(this,d),d},"overwritingMethodWrapper");Oa(i,t,!1),e[t]=Ei(i,t)}re(Bd,"overwriteMethod");var Aq=typeof Object.setPrototypeOf=="function",Ah=re(function(){},"testFn"),Cq=Object.getOwnPropertyNames(Ah).filter(function(e){let t=Object.getOwnPropertyDescriptor(Ah,e);return typeof t!="object"?!0:!t.configurable}),xq=Function.prototype.call,Iq=Function.prototype.apply;function Fd(e,t,r,n){typeof n!="function"&&(n=re(function(){},"chainingBehavior"));let o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:re(function(){o.chainingBehavior.call(this);let i=re(function(){We(this,"lockSsfi")||We(this,"ssfi",i);let a=o.method.apply(this,arguments);if(a!==void 0)return a;let l=new U;return Ur(this,l),l},"chainableMethodWrapper");if(Oa(i,t,!0),Aq){let a=Object.create(this);a.call=xq,a.apply=Iq,Object.setPrototypeOf(i,a)}else Object.getOwnPropertyNames(e).forEach(function(a){if(Cq.indexOf(a)!==-1)return;let l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(i,a,l)});return Ur(this,i),Ei(i)},"chainableMethodGetter"),configurable:!0})}re(Fd,"addChainableMethod");function Ud(e,t,r,n){let o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=re(function(){let l=n(i).call(this);if(l!==void 0)return l;let d=new U;return Ur(this,d),d},"overwritingChainableMethodGetter");let a=o.method;o.method=re(function(){let l=r(a).apply(this,arguments);if(l!==void 0)return l;let d=new U;return Ur(this,d),d},"overwritingChainableMethodWrapper")}re(Ud,"overwriteChainableMethod");function ws(e,t){return st(e)<st(t)?-1:1}re(ws,"compareByInspect");function Vd(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}re(Vd,"getOwnEnumerablePropertySymbols");function Jd(e){return Object.keys(e).concat(Vd(e))}re(Jd,"getOwnEnumerableProperties");var _s=Number.isNaN;function nE(e){let t=ht(e);return["Array","Object","Function"].indexOf(t)!==-1}re(nE,"isObjectType");function Hd(e,t){let r=We(e,"operator"),n=We(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=nE(o);return/\snot\s/.test(i)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}re(Hd,"getOperator");function rl(e){return e.name}re(rl,"getName");function Ss(e){return Object.prototype.toString.call(e)==="[object RegExp]"}re(Ss,"isRegExp");function Vt(e){return["Number","BigInt"].includes(ht(e))}re(Vt,"isNumeric");var{flag:ee}=tn;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){U.addProperty(e)});U.addProperty("not",function(){ee(this,"negate",!0)});U.addProperty("deep",function(){ee(this,"deep",!0)});U.addProperty("nested",function(){ee(this,"nested",!0)});U.addProperty("own",function(){ee(this,"own",!0)});U.addProperty("ordered",function(){ee(this,"ordered",!0)});U.addProperty("any",function(){ee(this,"any",!0),ee(this,"all",!1)});U.addProperty("all",function(){ee(this,"all",!0),ee(this,"any",!1)});var Ch={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Gd(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=ht(r).toLowerCase();Ch.function.includes(e)?this.assert(Ch[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)}re(Gd,"an");U.addChainableMethod("an",Gd);U.addChainableMethod("a",Gd);function oE(e,t){return _s(e)&&_s(t)||e===t}re(oE,"SameValueZero");function Pa(){ee(this,"contains",!0)}re(Pa,"includeChainingBehavior");function Aa(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ht(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"):oE;o=o?o+": ":"";let p=!1;switch(n){case"string":p=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new lt(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 lt(o+"the given combination of arguments ("+n+" and "+ht(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 "+ht(e).toLowerCase(),void 0,a);let f=Object.keys(e),g=null,b=0;if(f.forEach(function(E){let w=new U(r);if(Ur(this,w,!0),ee(w,"lockSsfi",!0),!i||f.length===1){w.property(E,e[E]);return}try{w.property(E,e[E])}catch(R){if(!mr.compatibleConstructor(R,lt))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 "+st(e),"expected #{this} to not "+d+"include "+st(e))}re(Aa,"include");U.addChainableMethod("include",Aa,Pa);U.addChainableMethod("contain",Aa,Pa);U.addChainableMethod("contains",Aa,Pa);U.addChainableMethod("includes",Aa,Pa);U.addProperty("ok",function(){this.assert(ee(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});U.addProperty("true",function(){this.assert(ee(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!ee(this,"negate"))});U.addProperty("numeric",function(){let e=ee(this,"object");this.assert(["Number","BigInt"].includes(ht(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!ee(this,"negate"))});U.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 ${st(e)} not to be a callable function`:`${n}expected ${st(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(ht(e));if(a&&o||!a&&!o)throw new lt(i,void 0,t)});U.addProperty("false",function(){this.assert(ee(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!ee(this,"negate"))});U.addProperty("null",function(){this.assert(ee(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});U.addProperty("undefined",function(){this.assert(ee(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});U.addProperty("NaN",function(){this.assert(_s(ee(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Wd(){let e=ee(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}re(Wd,"assertExist");U.addProperty("exist",Wd);U.addProperty("exists",Wd);U.addProperty("empty",function(){let e=ee(this,"object"),t=ee(this,"ssfi"),r=ee(this,"message"),n;switch(r=r?r+": ":"",ht(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new lt(r+".empty was passed a weak collection",void 0,t);case"function":{let o=r+".empty was passed a function "+rl(e);throw new lt(o.trim(),void 0,t)}default:if(e!==Object(e))throw new lt(r+".empty was passed non-string primitive "+st(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 zd(){let e=ee(this,"object"),t=ht(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}re(zd,"checkArguments");U.addProperty("arguments",zd);U.addProperty("Arguments",zd);function nl(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)}re(nl,"assertEqual");U.addMethod("equal",nl);U.addMethod("equals",nl);U.addMethod("eq",nl);function Yd(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)}re(Yd,"assertEql");U.addMethod("eql",Yd);U.addMethod("eqls",Yd);function ol(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=ht(r).toLowerCase(),d=ht(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new U(r,o,a,!0).to.have.property("length"),!n&&l==="date"&&d!=="date")throw new lt(i+"the argument to above must be a date",void 0,a);if(!Vt(e)&&(n||Vt(r)))throw new lt(i+"the argument to above must be a number",void 0,a);if(!n&&l!=="date"&&!Vt(r)){let c=l==="string"?"'"+r+"'":r;throw new lt(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)}re(ol,"assertAbove");U.addMethod("above",ol);U.addMethod("gt",ol);U.addMethod("greaterThan",ol);function il(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=ht(r).toLowerCase(),d=ht(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new U(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(!Vt(e)&&(n||Vt(r)))c=i+"the argument to least must be a number";else if(!n&&l!=="date"&&!Vt(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 lt(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)}re(il,"assertLeast");U.addMethod("least",il);U.addMethod("gte",il);U.addMethod("greaterThanOrEqual",il);function al(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=ht(r).toLowerCase(),d=ht(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new U(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(!Vt(e)&&(n||Vt(r)))c=i+"the argument to below must be a number";else if(!n&&l!=="date"&&!Vt(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 lt(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)}re(al,"assertBelow");U.addMethod("below",al);U.addMethod("lt",al);U.addMethod("lessThan",al);function sl(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=ht(r).toLowerCase(),d=ht(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new U(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(!Vt(e)&&(n||Vt(r)))c=i+"the argument to most must be a number";else if(!n&&l!=="date"&&!Vt(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 lt(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)}re(sl,"assertMost");U.addMethod("most",sl);U.addMethod("lte",sl);U.addMethod("lessThanOrEqual",sl);U.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=ht(n).toLowerCase(),c=ht(e).toLowerCase(),p=ht(t).toLowerCase(),f,g=!0,b=c==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&d!=="map"&&d!=="set"&&new U(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((!Vt(e)||!Vt(t))&&(o||Vt(n)))f=a+"the arguments to within must be numbers";else if(!o&&d!=="date"&&!Vt(n)){let E=d==="string"?"'"+n+"'":n;f=a+"expected "+E+" to be a number or a date"}else g=!1;if(g)throw new lt(f,void 0,l);if(o){let E="length",w;d==="map"||d==="set"?(E="size",w=n.size):w=n.length,this.assert(w>=e&&w<=t,"expected #{this} to have a "+E+" within "+b,"expected #{this} to not have a "+E+" within "+b)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+b,"expected #{this} to not be within "+b)});function Kd(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 lt(o+"The instanceof assertion needs a constructor but "+ht(e)+" was given.",void 0,n)):l}let a=rl(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)}re(Kd,"assertInstanceOf");U.addMethod("instanceof",Kd);U.addMethod("instanceOf",Kd);function Xd(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 lt(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 lt(i+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&o)throw new lt(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(a==null)throw new lt(i+"Target cannot be null or undefined.",void 0,l);let c=ee(this,"deep"),p=ee(this,"negate"),f=n?Ld(a,e):null,g=n?f.value:a[e],b=c?ee(this,"eql"):(R,_)=>R===_,E="";c&&(E+="deep "),o&&(E+="own "),n&&(E+="nested "),E+="property ";let w;o?w=Object.prototype.hasOwnProperty.call(a,e):n?w=f.exists:w=tl(a,e),(!p||arguments.length===1)&&this.assert(w,"expected #{this} to have "+E+st(e),"expected #{this} to not have "+E+st(e)),arguments.length>1&&this.assert(w&&b(t,g),"expected #{this} to have "+E+st(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+E+st(e)+" of #{act}",t,g),ee(this,"object",g)}re(Xd,"assertProperty");U.addMethod("property",Xd);function Qd(e,t,r){ee(this,"own",!0),Xd.apply(this,arguments)}re(Qd,"assertOwnProperty");U.addMethod("ownProperty",Qd);U.addMethod("haveOwnProperty",Qd);function Zd(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 "+st(e)+" on #{this} to match "+st(t)+", got "+st(o),"expected the own property descriptor for "+st(e)+" on #{this} to not match "+st(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+st(e),"expected #{this} to not have an own property descriptor for "+st(e)),ee(this,"object",o)}re(Zd,"assertOwnPropertyDescriptor");U.addMethod("ownPropertyDescriptor",Zd);U.addMethod("haveOwnPropertyDescriptor",Zd);function ep(){ee(this,"doLength",!0)}re(ep,"assertLengthChain");function tp(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ht(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 U(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)}re(tp,"assertLength");U.addChainableMethod("length",tp,ep);U.addChainableMethod("lengthOf",tp,ep);function rp(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)}re(rp,"assertMatch");U.addMethod("match",rp);U.addMethod("matches",rp);U.addMethod("string",function(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ee(this,"message"),o=ee(this,"ssfi");new U(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+st(e),"expected #{this} to not contain "+st(e))});function np(e){let t=ee(this,"object"),r=ht(t),n=ht(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=Jd(t),n){case"Array":if(arguments.length>1)throw new lt(f,void 0,o);break;case"Object":if(arguments.length>1)throw new lt(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 lt(p+"keys required",void 0,o);let g=e.length,b=ee(this,"any"),E=ee(this,"all"),w=e,R=i?ee(this,"eql"):(_,A)=>_===A;if(!b&&!E&&(E=!0),b&&(c=w.some(function(_){return d.some(function(A){return R(_,A)})})),E&&(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 st(A)});let _=e.pop();E&&(a=e.join(", ")+", and "+_),b&&(a=e.join(", ")+", or "+_)}else a=st(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(ws),d.sort(ws),!0)}re(np,"assertKeys");U.addMethod("keys",np);U.addMethod("key",np);function ll(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 U(n,i,o,!0).is.a("function"),(Ss(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=mr.getConstructorName(e));let E=l;if(l instanceof Error)E=l.toString();else if(typeof l=="string")E=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{E=mr.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(),E)}if(e&&l&&(e instanceof Error&&mr.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())),mr.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&&mr.getConstructorName(e),l instanceof Error?l.toString():l&&mr.getConstructorName(l)))),l&&t!==void 0&&t!==null){let b="including";Ss(t)&&(b="matching"),mr.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,mr.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&&mr.getConstructorName(e),l instanceof Error?l.toString():l&&mr.getConstructorName(l)),ee(this,"object",l)}re(ll,"assertThrows");U.addMethod("throw",ll);U.addMethod("throws",ll);U.addMethod("Throw",ll);function op(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 "+st(e),"expected #{this} to not respond to "+st(e))}re(op,"respondTo");U.addMethod("respondTo",op);U.addMethod("respondsTo",op);U.addProperty("itself",function(){ee(this,"itself",!0)});function ip(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+_o(e),"expected #{this} to not satisfy"+_o(e),!ee(this,"negate"),n)}re(ip,"satisfy");U.addMethod("satisfy",ip);U.addMethod("satisfies",ip);function ap(e,t,r){r&&ee(this,"message",r);let n=ee(this,"object"),o=ee(this,"message"),i=ee(this,"ssfi");new U(n,o,i,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new lt(o?`${o}: ${a}`:a,void 0,i);if(new U(t,o,i,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new lt(o?`${o}: ${a}`:a,void 0,i);new U(e,o,i,!0).is.numeric;let l=re(c=>c<0n?-c:c,"abs"),d=re(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)}re(ap,"closeTo");U.addMethod("closeTo",ap);U.addMethod("approximately",ap);function iE(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})})}re(iE,"isSubsetOf");U.addMethod("members",function(e,t){t&&ee(this,"message",t);let r=ee(this,"object"),n=ee(this,"message"),o=ee(this,"ssfi");new U(r,n,o,!0).to.be.iterable,new U(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(iE(e,r,p,i,a),d,c,e,r,!0)});U.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 aE(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 U(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)}re(aE,"oneOf");U.addMethod("oneOf",aE);function sp(e,t,r){r&&ee(this,"message",r);let n=ee(this,"object"),o=ee(this,"message"),i=ee(this,"ssfi");new U(n,o,i,!0).is.a("function");let a;t?(new U(e,o,i,!0).to.have.property(t),a=e[t]):(new U(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")}re(sp,"assertChanges");U.addMethod("change",sp);U.addMethod("changes",sp);function lp(e,t,r){r&&ee(this,"message",r);let n=ee(this,"object"),o=ee(this,"message"),i=ee(this,"ssfi");new U(n,o,i,!0).is.a("function");let a;t?(new U(e,o,i,!0).to.have.property(t),a=e[t]):(new U(e,o,i,!0).is.a("function"),a=e()),new U(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")}re(lp,"assertIncreases");U.addMethod("increase",lp);U.addMethod("increases",lp);function up(e,t,r){r&&ee(this,"message",r);let n=ee(this,"object"),o=ee(this,"message"),i=ee(this,"ssfi");new U(n,o,i,!0).is.a("function");let a;t?(new U(e,o,i,!0).to.have.property(t),a=e[t]):(new U(e,o,i,!0).is.a("function"),a=e()),new U(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")}re(up,"assertDecreases");U.addMethod("decrease",up);U.addMethod("decreases",up);function sE(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)}re(sE,"assertDelta");U.addMethod("by",sE);U.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")});U.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")});U.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")});U.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 Rs(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 Rs(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?Rs(n,o):typeof n=="function"?n(o):o===n}):!1}re(Rs,"compareSubset");U.addMethod("containSubset",function(e){let t=We(this,"object"),r=ar.showDiff;this.assert(Rs(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function So(e,t){return new U(e,t)}re(So,"expect");So.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new lt(r,{actual:e,expected:t,operator:n},So.fail)};var lE={};Cd(lE,{Should:()=>jq,should:()=>Nq});function cp(){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 U(this.valueOf(),null,e):new U(this,null,e)}re(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}re(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 lt(i,{actual:n,expected:o,operator:a},r.fail)},r.equal=function(n,o,i){new U(n,i).to.equal(o)},r.Throw=function(n,o,i,a){new U(n,a).to.Throw(o,i)},r.exist=function(n,o){new U(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new U(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,a){new U(n,a).to.not.Throw(o,i)},r.not.exist=function(n,o){new U(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}re(cp,"loadShould");var Nq=cp,jq=cp;function F(e,t){new U(null,null,F,!0).assert(e,t,"[ negation message unavailable ]")}re(F,"assert");F.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new lt(r,{actual:e,expected:t,operator:n},F.fail)};F.isOk=function(e,t){new U(e,t,F.isOk,!0).is.ok};F.isNotOk=function(e,t){new U(e,t,F.isNotOk,!0).is.not.ok};F.equal=function(e,t,r){let n=new U(e,r,F.equal,!0);n.assert(t==We(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};F.notEqual=function(e,t,r){let n=new U(e,r,F.notEqual,!0);n.assert(t!=We(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};F.strictEqual=function(e,t,r){new U(e,r,F.strictEqual,!0).to.equal(t)};F.notStrictEqual=function(e,t,r){new U(e,r,F.notStrictEqual,!0).to.not.equal(t)};F.deepEqual=F.deepStrictEqual=function(e,t,r){new U(e,r,F.deepEqual,!0).to.eql(t)};F.notDeepEqual=function(e,t,r){new U(e,r,F.notDeepEqual,!0).to.not.eql(t)};F.isAbove=function(e,t,r){new U(e,r,F.isAbove,!0).to.be.above(t)};F.isAtLeast=function(e,t,r){new U(e,r,F.isAtLeast,!0).to.be.least(t)};F.isBelow=function(e,t,r){new U(e,r,F.isBelow,!0).to.be.below(t)};F.isAtMost=function(e,t,r){new U(e,r,F.isAtMost,!0).to.be.most(t)};F.isTrue=function(e,t){new U(e,t,F.isTrue,!0).is.true};F.isNotTrue=function(e,t){new U(e,t,F.isNotTrue,!0).to.not.equal(!0)};F.isFalse=function(e,t){new U(e,t,F.isFalse,!0).is.false};F.isNotFalse=function(e,t){new U(e,t,F.isNotFalse,!0).to.not.equal(!1)};F.isNull=function(e,t){new U(e,t,F.isNull,!0).to.equal(null)};F.isNotNull=function(e,t){new U(e,t,F.isNotNull,!0).to.not.equal(null)};F.isNaN=function(e,t){new U(e,t,F.isNaN,!0).to.be.NaN};F.isNotNaN=function(e,t){new U(e,t,F.isNotNaN,!0).not.to.be.NaN};F.exists=function(e,t){new U(e,t,F.exists,!0).to.exist};F.notExists=function(e,t){new U(e,t,F.notExists,!0).to.not.exist};F.isUndefined=function(e,t){new U(e,t,F.isUndefined,!0).to.equal(void 0)};F.isDefined=function(e,t){new U(e,t,F.isDefined,!0).to.not.equal(void 0)};F.isCallable=function(e,t){new U(e,t,F.isCallable,!0).is.callable};F.isNotCallable=function(e,t){new U(e,t,F.isNotCallable,!0).is.not.callable};F.isObject=function(e,t){new U(e,t,F.isObject,!0).to.be.a("object")};F.isNotObject=function(e,t){new U(e,t,F.isNotObject,!0).to.not.be.a("object")};F.isArray=function(e,t){new U(e,t,F.isArray,!0).to.be.an("array")};F.isNotArray=function(e,t){new U(e,t,F.isNotArray,!0).to.not.be.an("array")};F.isString=function(e,t){new U(e,t,F.isString,!0).to.be.a("string")};F.isNotString=function(e,t){new U(e,t,F.isNotString,!0).to.not.be.a("string")};F.isNumber=function(e,t){new U(e,t,F.isNumber,!0).to.be.a("number")};F.isNotNumber=function(e,t){new U(e,t,F.isNotNumber,!0).to.not.be.a("number")};F.isNumeric=function(e,t){new U(e,t,F.isNumeric,!0).is.numeric};F.isNotNumeric=function(e,t){new U(e,t,F.isNotNumeric,!0).is.not.numeric};F.isFinite=function(e,t){new U(e,t,F.isFinite,!0).to.be.finite};F.isBoolean=function(e,t){new U(e,t,F.isBoolean,!0).to.be.a("boolean")};F.isNotBoolean=function(e,t){new U(e,t,F.isNotBoolean,!0).to.not.be.a("boolean")};F.typeOf=function(e,t,r){new U(e,r,F.typeOf,!0).to.be.a(t)};F.notTypeOf=function(e,t,r){new U(e,r,F.notTypeOf,!0).to.not.be.a(t)};F.instanceOf=function(e,t,r){new U(e,r,F.instanceOf,!0).to.be.instanceOf(t)};F.notInstanceOf=function(e,t,r){new U(e,r,F.notInstanceOf,!0).to.not.be.instanceOf(t)};F.include=function(e,t,r){new U(e,r,F.include,!0).include(t)};F.notInclude=function(e,t,r){new U(e,r,F.notInclude,!0).not.include(t)};F.deepInclude=function(e,t,r){new U(e,r,F.deepInclude,!0).deep.include(t)};F.notDeepInclude=function(e,t,r){new U(e,r,F.notDeepInclude,!0).not.deep.include(t)};F.nestedInclude=function(e,t,r){new U(e,r,F.nestedInclude,!0).nested.include(t)};F.notNestedInclude=function(e,t,r){new U(e,r,F.notNestedInclude,!0).not.nested.include(t)};F.deepNestedInclude=function(e,t,r){new U(e,r,F.deepNestedInclude,!0).deep.nested.include(t)};F.notDeepNestedInclude=function(e,t,r){new U(e,r,F.notDeepNestedInclude,!0).not.deep.nested.include(t)};F.ownInclude=function(e,t,r){new U(e,r,F.ownInclude,!0).own.include(t)};F.notOwnInclude=function(e,t,r){new U(e,r,F.notOwnInclude,!0).not.own.include(t)};F.deepOwnInclude=function(e,t,r){new U(e,r,F.deepOwnInclude,!0).deep.own.include(t)};F.notDeepOwnInclude=function(e,t,r){new U(e,r,F.notDeepOwnInclude,!0).not.deep.own.include(t)};F.match=function(e,t,r){new U(e,r,F.match,!0).to.match(t)};F.notMatch=function(e,t,r){new U(e,r,F.notMatch,!0).to.not.match(t)};F.property=function(e,t,r){new U(e,r,F.property,!0).to.have.property(t)};F.notProperty=function(e,t,r){new U(e,r,F.notProperty,!0).to.not.have.property(t)};F.propertyVal=function(e,t,r,n){new U(e,n,F.propertyVal,!0).to.have.property(t,r)};F.notPropertyVal=function(e,t,r,n){new U(e,n,F.notPropertyVal,!0).to.not.have.property(t,r)};F.deepPropertyVal=function(e,t,r,n){new U(e,n,F.deepPropertyVal,!0).to.have.deep.property(t,r)};F.notDeepPropertyVal=function(e,t,r,n){new U(e,n,F.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};F.ownProperty=function(e,t,r){new U(e,r,F.ownProperty,!0).to.have.own.property(t)};F.notOwnProperty=function(e,t,r){new U(e,r,F.notOwnProperty,!0).to.not.have.own.property(t)};F.ownPropertyVal=function(e,t,r,n){new U(e,n,F.ownPropertyVal,!0).to.have.own.property(t,r)};F.notOwnPropertyVal=function(e,t,r,n){new U(e,n,F.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};F.deepOwnPropertyVal=function(e,t,r,n){new U(e,n,F.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};F.notDeepOwnPropertyVal=function(e,t,r,n){new U(e,n,F.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};F.nestedProperty=function(e,t,r){new U(e,r,F.nestedProperty,!0).to.have.nested.property(t)};F.notNestedProperty=function(e,t,r){new U(e,r,F.notNestedProperty,!0).to.not.have.nested.property(t)};F.nestedPropertyVal=function(e,t,r,n){new U(e,n,F.nestedPropertyVal,!0).to.have.nested.property(t,r)};F.notNestedPropertyVal=function(e,t,r,n){new U(e,n,F.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};F.deepNestedPropertyVal=function(e,t,r,n){new U(e,n,F.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};F.notDeepNestedPropertyVal=function(e,t,r,n){new U(e,n,F.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};F.lengthOf=function(e,t,r){new U(e,r,F.lengthOf,!0).to.have.lengthOf(t)};F.hasAnyKeys=function(e,t,r){new U(e,r,F.hasAnyKeys,!0).to.have.any.keys(t)};F.hasAllKeys=function(e,t,r){new U(e,r,F.hasAllKeys,!0).to.have.all.keys(t)};F.containsAllKeys=function(e,t,r){new U(e,r,F.containsAllKeys,!0).to.contain.all.keys(t)};F.doesNotHaveAnyKeys=function(e,t,r){new U(e,r,F.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};F.doesNotHaveAllKeys=function(e,t,r){new U(e,r,F.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};F.hasAnyDeepKeys=function(e,t,r){new U(e,r,F.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};F.hasAllDeepKeys=function(e,t,r){new U(e,r,F.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};F.containsAllDeepKeys=function(e,t,r){new U(e,r,F.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};F.doesNotHaveAnyDeepKeys=function(e,t,r){new U(e,r,F.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};F.doesNotHaveAllDeepKeys=function(e,t,r){new U(e,r,F.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};F.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let o=new U(e,n,F.throws,!0).to.throw(t,r);return We(o,"object")};F.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new U(e,n,F.doesNotThrow,!0).to.not.throw(t,r)};F.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 lt(n+'Invalid operator "'+t+'"',void 0,F.operator)}let i=new U(o,n,F.operator,!0);i.assert(We(i,"object")===!0,"expected "+st(e)+" to be "+t+" "+st(r),"expected "+st(e)+" to not be "+t+" "+st(r))};F.closeTo=function(e,t,r,n){new U(e,n,F.closeTo,!0).to.be.closeTo(t,r)};F.approximately=function(e,t,r,n){new U(e,n,F.approximately,!0).to.be.approximately(t,r)};F.sameMembers=function(e,t,r){new U(e,r,F.sameMembers,!0).to.have.same.members(t)};F.notSameMembers=function(e,t,r){new U(e,r,F.notSameMembers,!0).to.not.have.same.members(t)};F.sameDeepMembers=function(e,t,r){new U(e,r,F.sameDeepMembers,!0).to.have.same.deep.members(t)};F.notSameDeepMembers=function(e,t,r){new U(e,r,F.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};F.sameOrderedMembers=function(e,t,r){new U(e,r,F.sameOrderedMembers,!0).to.have.same.ordered.members(t)};F.notSameOrderedMembers=function(e,t,r){new U(e,r,F.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};F.sameDeepOrderedMembers=function(e,t,r){new U(e,r,F.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};F.notSameDeepOrderedMembers=function(e,t,r){new U(e,r,F.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};F.includeMembers=function(e,t,r){new U(e,r,F.includeMembers,!0).to.include.members(t)};F.notIncludeMembers=function(e,t,r){new U(e,r,F.notIncludeMembers,!0).to.not.include.members(t)};F.includeDeepMembers=function(e,t,r){new U(e,r,F.includeDeepMembers,!0).to.include.deep.members(t)};F.notIncludeDeepMembers=function(e,t,r){new U(e,r,F.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};F.includeOrderedMembers=function(e,t,r){new U(e,r,F.includeOrderedMembers,!0).to.include.ordered.members(t)};F.notIncludeOrderedMembers=function(e,t,r){new U(e,r,F.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};F.includeDeepOrderedMembers=function(e,t,r){new U(e,r,F.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};F.notIncludeDeepOrderedMembers=function(e,t,r){new U(e,r,F.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};F.oneOf=function(e,t,r){new U(e,r,F.oneOf,!0).to.be.oneOf(t)};F.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${st(e)} to be an iterable`:`expected ${st(e)} to be an iterable`,new lt(t,void 0,F.isIterable)};F.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new U(e,n,F.changes,!0).to.change(t,r)};F.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 U(e,o,F.changesBy,!0).to.change(t,r).by(n)};F.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new U(e,n,F.doesNotChange,!0).to.not.change(t,r)};F.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 U(e,o,F.changesButNotBy,!0).to.change(t,r).but.not.by(n)};F.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new U(e,n,F.increases,!0).to.increase(t,r)};F.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 U(e,o,F.increasesBy,!0).to.increase(t,r).by(n)};F.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new U(e,n,F.doesNotIncrease,!0).to.not.increase(t,r)};F.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 U(e,o,F.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};F.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new U(e,n,F.decreases,!0).to.decrease(t,r)};F.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 U(e,o,F.decreasesBy,!0).to.decrease(t,r).by(n)};F.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new U(e,n,F.doesNotDecrease,!0).to.not.decrease(t,r)};F.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 U(e,o,F.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};F.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 U(e,o,F.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};F.ifError=function(e){if(e)throw e};F.isExtensible=function(e,t){new U(e,t,F.isExtensible,!0).to.be.extensible};F.isNotExtensible=function(e,t){new U(e,t,F.isNotExtensible,!0).to.not.be.extensible};F.isSealed=function(e,t){new U(e,t,F.isSealed,!0).to.be.sealed};F.isNotSealed=function(e,t){new U(e,t,F.isNotSealed,!0).to.not.be.sealed};F.isFrozen=function(e,t){new U(e,t,F.isFrozen,!0).to.be.frozen};F.isNotFrozen=function(e,t){new U(e,t,F.isNotFrozen,!0).to.not.be.frozen};F.isEmpty=function(e,t){new U(e,t,F.isEmpty,!0).to.be.empty};F.isNotEmpty=function(e,t){new U(e,t,F.isNotEmpty,!0).to.not.be.empty};F.containsSubset=function(e,t,r){new U(e,r).to.containSubset(t)};F.doesNotContainSubset=function(e,t,r){new U(e,r).to.not.containSubset(t)};var qq=[["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 qq)F[t]=F[e];var xh=[];function Xo(e){let t={use:Xo,AssertionError:lt,util:tn,config:ar,expect:So,assert:F,Assertion:U,...lE};return~xh.indexOf(e)||(e(t,tn),xh.push(e)),t}re(Xo,"use");var uE={};fr(uE,{toAppearAfter:()=>IL,toAppearBefore:()=>sc,toBeChecked:()=>YE,toBeDisabled:()=>FE,toBeEmpty:()=>OE,toBeEmptyDOMElement:()=>PE,toBeEnabled:()=>UE,toBeInTheDOM:()=>tc,toBeInTheDocument:()=>RE,toBeInvalid:()=>HE,toBePartiallyChecked:()=>XE,toBePartiallyPressed:()=>rT,toBePressed:()=>tT,toBeRequired:()=>VE,toBeValid:()=>GE,toBeVisible:()=>LE,toContainElement:()=>rc,toContainHTML:()=>AE,toHaveAccessibleDescription:()=>nc,toHaveAccessibleErrorMessage:()=>xE,toHaveAccessibleName:()=>ic,toHaveAttribute:()=>IE,toHaveClass:()=>NE,toHaveDescription:()=>QE,toHaveDisplayValue:()=>zE,toHaveErrorMessage:()=>ZE,toHaveFocus:()=>jE,toHaveFormValues:()=>qE,toHaveRole:()=>oc,toHaveSelection:()=>eT,toHaveStyle:()=>ac,toHaveTextContent:()=>CE,toHaveValue:()=>WE});var Ih=Nt(Gy(),1);function cE(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function dp(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var dE={};cE(dE);dp(dE,"default",()=>pE);var pE=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}},fE={};cE(fE);dp(fE,"default",()=>hE);var hE=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},Mq={};dp(Mq,"CssTypes",()=>Lt);var Lt;(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"})(Lt||(Lt={}));var nu=/\/\*[^]*?(?:\*\/|$)/g,Lq=(e,t)=>{t=t||{};let r=1,n=1;function o(de){let ue=de.match(/\n/g);ue&&(r+=ue.length);let Ce=de.lastIndexOf(`
  178. `);n=~Ce?de.length-Ce:n+de.length}function i(){let de={line:r,column:n};return function(ue){return ue.position=new hE(de,{line:r,column:n},(t==null?void 0:t.source)||""),b(),ue}}let a=[];function l(de){let ue=new pE((t==null?void 0:t.source)||"",de,r,n,e);if(t!=null&&t.silent)a.push(ue);else throw ue}function d(){let de=f();return{type:Lt.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:de,parsingErrors:a}}}function c(){return g(/^{\s*/)}function p(){return g(/^}/)}function f(){let de,ue=[];for(b(),E(ue);e.length&&e.charAt(0)!=="}"&&(de=Re()||Ie());)de&&(ue.push(de),E(ue));return ue}function g(de){let ue=de.exec(e);if(!ue)return;let Ce=ue[0];return o(Ce),e=e.slice(Ce.length),ue}function b(){g(/^\s*/)}function E(de){let ue;for(de=de||[];ue=w();)ue&&de.push(ue);return de}function w(){let de=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let ue=g(/^\/\*[^]*?\*\//);return ue?de({type:Lt.comment,comment:ue[0].slice(2,-2)}):l("End of comment missing")}function R(de,ue,Ce){let Ee=ue+1,me=!1,He=de.indexOf(")",Ee);for(;!me&&He!==-1;){let ke=de.indexOf("(",Ee);ke!==-1&&ke<He?(Ee=R(de,ke+1)+1,He=de.indexOf(")",Ee)):me=!0}return me&&He!==-1?He:-1}function _(){let de=g(/^([^{]+)/);if(!de)return;let ue=Rr(de[0]).replace(nu,"");if(ue.indexOf(",")===-1)return[ue];let Ce=0,Ee=ue.indexOf("(",Ce);for(;Ee!==-1;){let me=R(ue,Ee);if(me===-1)break;Ce=me+1,ue=ue.substring(0,Ee)+ue.substring(Ee,me).replace(/,/g,"‌")+ue.substring(me),Ee=ue.indexOf("(",Ce)}return ue=ue.replace(/("|')(?:\\\1|.)*?\1/g,me=>me.replace(/,/g,"‌")),ue.split(",").map(me=>Rr(me.replace(/\u200C/g,",")))}function A(){let de=i(),ue=g(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!ue)return;let Ce=Rr(ue[0]);if(!g(/^:\s*/))return l("property missing ':'");let Ee=g(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),me=de({type:Lt.declaration,property:Ce.replace(nu,""),value:Ee?Rr(Ee[0]).replace(nu,""):""});return g(/^[;\s]*/),me}function M(){let de=[];if(!c())return l("missing '{'");E(de);let ue;for(;ue=A();)ue&&(de.push(ue),E(de));return p()?de:l("missing '}'")}function L(){let de,ue=[],Ce=i();for(;de=g(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)ue.push(de[1]),g(/^,\s*/);if(ue.length)return Ce({type:Lt.keyframe,values:ue,declarations:M()||[]})}function D(){let de=i(),ue=g(/^@([-\w]+)?keyframes\s*/);if(!ue)return;let Ce=ue[1],Ee=g(/^([-\w]+)\s*/);if(!Ee)return l("@keyframes missing name");let me=Ee[1];if(!c())return l("@keyframes missing '{'");let He,ke=E();for(;He=L();)ke.push(He),ke=ke.concat(E());return p()?de({type:Lt.keyframes,name:me,vendor:Ce,keyframes:ke}):l("@keyframes missing '}'")}function I(){let de=i(),ue=g(/^@supports *([^{]+)/);if(!ue)return;let Ce=Rr(ue[1]);if(!c())return l("@supports missing '{'");let Ee=E().concat(f());return p()?de({type:Lt.supports,supports:Ce,rules:Ee}):l("@supports missing '}'")}function h(){let de=i();if(!g(/^@host\s*/))return;if(!c())return l("@host missing '{'");let ue=E().concat(f());return p()?de({type:Lt.host,rules:ue}):l("@host missing '}'")}function C(){let de=i(),ue=g(/^@container *([^{]+)/);if(!ue)return;let Ce=Rr(ue[1]);if(!c())return l("@container missing '{'");let Ee=E().concat(f());return p()?de({type:Lt.container,container:Ce,rules:Ee}):l("@container missing '}'")}function j(){let de=i(),ue=g(/^@layer *([^{;@]+)/);if(!ue)return;let Ce=Rr(ue[1]);if(!c())return g(/^[;\s]*/),de({type:Lt.layer,layer:Ce});let Ee=E().concat(f());return p()?de({type:Lt.layer,layer:Ce,rules:Ee}):l("@layer missing '}'")}function Z(){let de=i(),ue=g(/^@media *([^{]+)/);if(!ue)return;let Ce=Rr(ue[1]);if(!c())return l("@media missing '{'");let Ee=E().concat(f());return p()?de({type:Lt.media,media:Ce,rules:Ee}):l("@media missing '}'")}function G(){let de=i(),ue=g(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(ue)return de({type:Lt.customMedia,name:Rr(ue[1]),media:Rr(ue[2])})}function oe(){let de=i();if(!g(/^@page */))return;let ue=_()||[];if(!c())return l("@page missing '{'");let Ce=E(),Ee;for(;Ee=A();)Ce.push(Ee),Ce=Ce.concat(E());return p()?de({type:Lt.page,selectors:ue,declarations:Ce}):l("@page missing '}'")}function B(){let de=i(),ue=g(/^@([-\w]+)?document *([^{]+)/);if(!ue)return;let Ce=Rr(ue[1]),Ee=Rr(ue[2]);if(!c())return l("@document missing '{'");let me=E().concat(f());return p()?de({type:Lt.document,document:Ee,vendor:Ce,rules:me}):l("@document missing '}'")}function N(){let de=i();if(!g(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let ue=E(),Ce;for(;Ce=A();)ue.push(Ce),ue=ue.concat(E());return p()?de({type:Lt.fontFace,declarations:ue}):l("@font-face missing '}'")}function V(){let de=i();if(!g(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let ue=E().concat(f());return p()?de({type:Lt.startingStyle,rules:ue}):l("@starting-style missing '}'")}let K=_e("import"),te=_e("charset"),fe=_e("namespace");function _e(de){let ue=new RegExp("^@"+de+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let Ce=i(),Ee=g(ue);if(!Ee)return;let me={type:de};return me[de]=Ee[1].trim(),Ce(me)}}function Re(){if(e[0]==="@")return D()||Z()||G()||I()||K()||te()||fe()||B()||oe()||h()||N()||C()||V()||j()}function Ie(){let de=i(),ue=_();return ue?(E(),de({type:Lt.rule,selectors:ue,declarations:M()||[]})):l("selector missing")}return Zu(d())};function Rr(e){return e?e.trim():""}function Zu(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=>{Zu(a,n)}):i&&typeof i=="object"&&Zu(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var Dq=Lq,kq=Dq,$q=Object.prototype.toString;function Bq(e){return typeof e=="function"||$q.call(e)==="[object Function]"}function Fq(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Uq=Math.pow(2,53)-1;function Vq(e){var t=Fq(e);return Math.min(Math.max(t,0),Uq)}function Dr(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=Vq(n.length),i=Bq(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 oa(e){"@babel/helpers - typeof";return oa=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},oa(e)}function Jq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hq(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,mE(n.key),n)}}function Gq(e,t,r){return t&&Hq(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Wq(e,t,r){return t=mE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mE(e){var t=zq(e,"string");return oa(t)==="symbol"?t:String(t)}function zq(e,t){if(oa(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(oa(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Yq=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Jq(this,e),Wq(this,"items",void 0),this.items=t}return Gq(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}(),Kq=typeof Set>"u"?Set:Yq;function er(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Xq={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"},Qq={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 Zq(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=Qq[t])!==null&&n!==void 0&&n.has(r))})}function yE(e,t){return Zq(e,t)}function eM(e){var t=rM(e);if(t===null||ec.indexOf(t)!==-1){var r=tM(e);if(ec.indexOf(t||"")===-1||yE(e,r||""))return r}return t}function tM(e){var t=Xq[er(e)];if(t!==void 0)return t;switch(er(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!yE(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 rM(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var ec=["presentation","none"];function _t(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function gE(e){return _t(e)&&er(e)==="caption"}function ss(e){return _t(e)&&er(e)==="input"}function nM(e){return _t(e)&&er(e)==="optgroup"}function oM(e){return _t(e)&&er(e)==="select"}function iM(e){return _t(e)&&er(e)==="table"}function aM(e){return _t(e)&&er(e)==="textarea"}function sM(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function lM(e){return _t(e)&&er(e)==="fieldset"}function uM(e){return _t(e)&&er(e)==="legend"}function cM(e){return _t(e)&&er(e)==="slot"}function dM(e){return _t(e)&&e.ownerSVGElement!==void 0}function pM(e){return _t(e)&&er(e)==="svg"}function fM(e){return dM(e)&&er(e)==="title"}function Os(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 bn(e,t){return _t(e)?t.indexOf(eM(e))!==-1:!1}function hM(e){return e.trim().replace(/\s\s+/g," ")}function mM(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 yM(e){return bn(e,["button","combobox","listbox","textbox"])||bE(e)}function bE(e,t){return _t(e)?bn(e,["meter","progressbar","scrollbar","slider","spinbutton"]):!1}function Nh(e,t){var r=Dr(e.querySelectorAll(t));return Os(e,"aria-owns").forEach(function(n){r.push.apply(r,Dr(n.querySelectorAll(t)))}),r}function gM(e){return oM(e)?e.selectedOptions||Nh(e,"[selected]"):Nh(e,'[aria-selected="true"]')}function bM(e){return bn(e,ec)}function vM(e){return gE(e)}function EM(e){return bn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function TM(e){return!1}function wM(e){return ss(e)||aM(e)?e.value:e.textContent||""}function jh(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function vE(e){var t=er(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function EE(e){if(vE(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&_t(r)){var n=EE(r);n!==null&&(t=n)}}),t}function _M(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):EE(e)}function SM(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Dr(t);if(!vE(e))return null;var r=e.ownerDocument;return Dr(r.querySelectorAll("label")).filter(function(n){return _M(n)===e})}function RM(e){var t=e.assignedNodes();return t.length===0?Dr(e.childNodes):t}function TE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Kq,n=sM(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 M="";if(_t(_)&&l){var L=c(_,"::before"),D=jh(L);M="".concat(D," ").concat(M)}var I=cM(_)?RM(_):Dr(_.childNodes).concat(Os(_,"aria-owns"));if(I.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"?" ":"";M+="".concat(oe).concat(Z).concat(oe)}),_t(_)&&l){var h=c(_,"::after"),C=jh(h);M="".concat(M," ").concat(C)}return M.trim()}function b(_,A){var M=_.getAttributeNode(A);return M!==null&&!r.has(M)&&M.value.trim()!==""?(r.add(M),M.value):null}function E(_){return _t(_)?b(_,"title"):null}function w(_){if(!_t(_))return null;if(lM(_)){r.add(_);for(var A=Dr(_.childNodes),M=0;M<A.length;M+=1){var L=A[M];if(uM(L))return R(L,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(iM(_)){r.add(_);for(var D=Dr(_.childNodes),I=0;I<D.length;I+=1){var h=D[I];if(gE(h))return R(h,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(pM(_)){r.add(_);for(var C=Dr(_.childNodes),j=0;j<C.length;j+=1){var Z=C[j];if(fM(Z))return Z.textContent}return null}else if(er(_)==="img"||er(_)==="area"){var G=b(_,"alt");if(G!==null)return G}else if(nM(_)){var oe=b(_,"label");if(oe!==null)return oe}if(ss(_)&&(_.type==="button"||_.type==="submit"||_.type==="reset")){var B=b(_,"value");if(B!==null)return B;if(_.type==="submit")return"Submit";if(_.type==="reset")return"Reset"}var N=SM(_);if(N!==null&&N.length!==0)return r.add(_),Dr(N).map(function(fe){return R(fe,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(fe){return fe.length>0}).join(" ");if(ss(_)&&_.type==="image"){var V=b(_,"alt");if(V!==null)return V;var K=b(_,"title");return K!==null?K:"Submit Query"}if(bn(_,["button"])){var te=g(_,{isEmbeddedInLabel:!1});if(te!=="")return te}return null}function R(_,A){if(r.has(_))return"";if(!f&&mM(_,c)&&!A.isReferenced)return r.add(_),"";var M=_t(_)?_.getAttributeNode("aria-labelledby"):null,L=M!==null&&!r.has(M)?Os(_,"aria-labelledby"):[];if(i==="name"&&!A.isReferenced&&L.length>0)return r.add(M),L.map(function(G){return R(G,{isEmbeddedInLabel:A.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var D=A.recursion&&yM(_)&&i==="name";if(!D){var I=(_t(_)&&_.getAttribute("aria-label")||"").trim();if(I!==""&&i==="name")return r.add(_),I;if(!bM(_)){var h=w(_);if(h!==null)return r.add(_),h}}if(bn(_,["menu"]))return r.add(_),"";if(D||A.isEmbeddedInLabel||A.isReferenced){if(bn(_,["combobox","listbox"])){r.add(_);var C=gM(_);return C.length===0?ss(_)?_.value:"":Dr(C).map(function(G){return R(G,{isEmbeddedInLabel:A.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(bE(_))return r.add(_),_.hasAttribute("aria-valuetext")?_.getAttribute("aria-valuetext"):_.hasAttribute("aria-valuenow")?_.getAttribute("aria-valuenow"):_.getAttribute("value")||"";if(bn(_,["textbox"]))return r.add(_),wM(_)}if(EM(_)||_t(_)&&A.isReferenced||vM(_)||TM()){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=E(_);return Z!==null?(r.add(_),Z):(r.add(_),"")}return hM(R(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function ia(e){"@babel/helpers - typeof";return ia=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},ia(e)}function qh(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 Mh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qh(Object(r),!0).forEach(function(n){OM(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function OM(e,t,r){return t=PM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PM(e){var t=AM(e,"string");return ia(t)==="symbol"?t:String(t)}function AM(e,t){if(ia(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ia(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function CM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Os(e,"aria-describedby").map(function(i){return TE(i,Mh(Mh({},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 xM(e){return bn(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function IM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return xM(e)?"":TE(e,t)}var pp=Nt(Jc(),1),NM=Nt(Uc(),1),jM=Nt(Wy(),1),wE=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. `)}},Lh=class extends wE{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},Dh=class extends wE{constructor(...e){super("be a Node",...e)}};function _E(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function qM(e,...t){_E(e,Dh,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Dh(e,...t)}function ot(e,...t){_E(e,Lh,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Lh(e,...t)}var MM=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 LM(e,...t){let r=kq(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new MM({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 kh(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Bt(e,t,r,n,o,i){return[`${t}
  181. `,`${r}:
  182. ${e.utils.EXPECTED_COLOR((0,Ih.default)(kh(e,n),2))}`,`${o}:
  183. ${e.utils.RECEIVED_COLOR((0,Ih.default)(kh(e,i),2))}`].join(`
  184. `)}function DM(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function ul(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function cl(e){return e.replace(/\s+/g," ").trim()}function Xn(e){return e.tagName&&e.tagName.toLowerCase()}function kM({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 $M(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var BM=["meter","progressbar","slider","spinbutton"];function FM(e){if(BM.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function SE(e){if(e)switch(e.tagName.toLowerCase()){case"input":return $M(e);case"select":return kM(e);default:return e.value??FM(e)}}function UM(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function fp(e,t){return Array.isArray(e)&&Array.isArray(t)?[...new Set(e)].every(r=>new Set(t).has(r)):e===t}function tc(e,t){return ul("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&ot(e,tc,this),t&&ot(t,tc,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 RE(e){(e!==null||!this.isNot)&&ot(e,RE,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 OE(e){return ul("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),ot(e,OE,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
  187. `)}}function PE(e){return ot(e,PE,this),{pass:VM(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
  188. `)}}function VM(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function rc(e,t){return ot(e,rc,this),t!==null&&ot(t,rc,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 JM(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function AE(e,t){if(ot(e,AE,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(JM(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 CE(e,t,r={normalizeWhitespace:!0}){qM(e,CE,this);let n=r.normalizeWhitespace?cl(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&DM(n,t),message:()=>{let i=this.isNot?"not to":"to";return Bt(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 nc(e,t){ot(e,nc,this);let r=CM(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 Bt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${nc.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)}}}var Mi="aria-invalid",HM=["false"];function xE(e,t){var l;ot(e,xE,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:()=>Bt(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(Mi);if(!e.hasAttribute(Mi)||HM.includes(i))return{pass:!1,message:()=>Bt(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Mi}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Mi}="${e.getAttribute(Mi)}`:null)};let a=cl(((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:()=>Bt(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",a)}}var GM=YM(pp.elementRoles);function oc(e,t){ot(e,oc,this);let r=WM(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Bt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${oc.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function WM(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):zM(e)}function zM(e){for(let{match:t,roles:r}of GM)if(t(e))return[...r];return[]}function YM(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 ic(e,t){ot(e,ic,this);let r=IM(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 Bt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${ic.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)}}}function $h(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function KM(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function IE(e,t,r){ot(e,IE,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?$h(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:KM(this.utils.stringify,t,r)});return Bt(this,d,`Expected the element ${a} have attribute`,$h(this.utils.stringify,t,r),"Received",l)}}}function XM(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 Bh(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function Fh(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function NE(e,...t){ot(e,NE,this);let{expectedClassNames:r,options:n}=XM(t),o=Bh(e.getAttribute("class")),i=r.reduce((l,d)=>l.concat(typeof d=="string"||!d?Bh(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:Fh(i,o)&&i.length===o.length,message:()=>{let l=this.isNot?"not to":"to";return Bt(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:Fh(i,o),message:()=>{let l=this.isNot?"not to":"to";return Bt(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?Bt(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 QM(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 ZM(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 Uh(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
  193. `)}function eL(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(Uh(t),Uh(n)).replace(`${NM.default.red("+ Received")}
  194. `,"")}function ac(e,t){ot(e,ac,this);let r=typeof t=="object"?t:LM(t,ac,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=QM(e.ownerDocument,r),i=n(e);return{pass:ZM(o,i),message:()=>{let a=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(a,"element",""),eL(this.utils.diff,o,i)].join(`
  195. `)}}}function jE(e){return ot(e,jE,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 tL(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 rL(e,t){let r=[...e.querySelectorAll(`[name="${(0,jM.default)(t)}"]`)];if(r.length!==0)return r.length===1?SE(r[0]):tL(r)}function nL(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function oL(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[nL(r)]:rL(e,r)}),{})}function qE(e,t){if(ot(e,qE,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=oL(e);return{pass:Object.entries(t).every(([n,o])=>fp(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 iL(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 aL(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 ME(e,t){return iL(e)&&aL(e,t)&&(!e.parentElement||ME(e.parentElement,e))}function LE(e){ot(e,LE,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&ME(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 sL=["fieldset","input","select","optgroup","option","button","textarea"];function lL(e,t){return Xn(e)==="legend"&&Xn(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Xn(r)==="legend"))}function uL(e,t){return kE(t)&&!lL(e,t)}function cL(e){return e.includes("-")}function DE(e){let t=Xn(e);return sL.includes(t)||cL(t)}function kE(e){return DE(e)&&e.hasAttribute("disabled")}function $E(e){let t=e.parentElement;return!!t&&(uL(e,t)||$E(t))}function BE(e){return DE(e)&&(kE(e)||$E(e))}function FE(e){ot(e,FE,this);let t=BE(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 UE(e){ot(e,UE,this);let t=!BE(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 dL=["select","textarea"],pL=["input","select","textarea"],fL=["color","hidden","range","submit","image","reset"],hL=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function mL(e){return dL.includes(Xn(e))&&e.hasAttribute("required")}function yL(e){return Xn(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!fL.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function gL(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(pL.includes(Xn(e))||e.hasAttribute("role")&&hL.includes(e.getAttribute("role")))}function VE(e){ot(e,VE,this);let t=mL(e)||yL(e)||gL(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 bL=["form","input","select","textarea"];function vL(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function EL(e){return bL.includes(Xn(e))}function JE(e){let t=vL(e);return EL(e)?t||!e.checkValidity():t}function HE(e){ot(e,HE,this);let t=JE(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 GE(e){ot(e,GE,this);let t=!JE(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 WE(e,t){if(ot(e,WE,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=SE(e),n=t!==void 0,o=t,i=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:n?fp(r,t):!!r,message:()=>{let a=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Bt(this,l,`Expected the element ${a} have value`,n?o:"(any)","Received",i)}}}function zE(e,t){ot(e,zE,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=TL(r,e),o=wL(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:()=>Bt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function TL(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function wL(e){return e instanceof Array?e:[e]}function YE(e){ot(e,YE,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>KE(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 ${_L()} 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 _L(){return UM(SL().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function SL(){return pp.roles.keys().filter(KE)}function KE(e){var t;return((t=pp.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function XE(e){ot(e,XE,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 QE(e,t){ul("toHaveDescription","Please use toHaveAccessibleDescription."),ot(e,QE,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=cl(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 Bt(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 ZE(e,t){if(ul("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),ot(e,ZE,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:()=>Bt(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=cl(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 Bt(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 RL(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 eT(e,t){ot(e,eT,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=RL(e);return{pass:r?fp(n,t):!!n,message:()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Bt(this,i,`Expected the element ${o} have selection`,r?t:"(any)","Received",n)}}}function tT(e){ot(e,tT,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 Bt(this,o,"Expected element to have",`aria-pressed="${this.isNot?"false":"true"}"`,"Received",`aria-pressed="${n}"`)}}}function rT(e){ot(e,rT,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 Bt(this,i,`Expected element ${o} have`,'aria-pressed="mixed"',"Received",`aria-pressed="${n}"`)}}}var OL=1,nT=2,oT=4,PL=8,AL=16,CL=32,Vh={[OL]:"Node.DOCUMENT_POSITION_DISCONNECTED",[nT]:"Node.DOCUMENT_POSITION_PRECEDING",[oT]:"Node.DOCUMENT_POSITION_FOLLOWING",[PL]:"Node.DOCUMENT_POSITION_CONTAINS",[AL]:"Node.DOCUMENT_POSITION_CONTAINED_BY",[CL]:"Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC"};function xL(e){return e in Vh?`${Vh[e]} (${e})`:`Unknown document position (${e})`}function iT(e,t){return function(r,n){ot(r,sc,this),ot(n,sc,this);let o=r.compareDocumentPosition(n);return{pass:o===t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.${e}`,"element","secondElement"),"",`Received: ${xL(o)}`].join(`
  206. `)}}}function sc(e,t){return iT("toAppearBefore",oT).apply(this,[e,t])}function IL(e,t){return iT("toAppearAfter",nT).apply(this,[e,t])}Nt(Gy(),1);Nt(Jc(),1);Nt(Uc(),1);Nt(Wy(),1);var ou,Jh;function NL(){if(Jh)return ou;Jh=1;var e,t,r,n,o,i,a,l,d,c,p,f,g,b,E,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,E=/(['"])(?:(?!\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),ou=function*(M,{jsx:L=!1}={}){var D,I,h,C,j,Z,G,oe,B,N,V,K,te,fe;for({length:Z}=M,C=0,j="",fe=[{tag:"JS"}],D=[],V=0,K=!1;C<Z;){switch(oe=fe[fe.length-1],oe.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(M[C]==="/"&&(_.test(j)||i.test(j))&&(g.lastIndex=C,G=g.exec(M))){C=g.lastIndex,j=G[0],K=!0,yield{type:"RegularExpressionLiteral",value:G[0],closed:G[1]!==void 0&&G[1]!=="\\"};continue}if(f.lastIndex=C,G=f.exec(M)){switch(te=G[0],B=f.lastIndex,N=te,te){case"(":j==="?NonExpressionParenKeyword"&&fe.push({tag:"JSNonExpressionParen",nesting:V}),V++,K=!1;break;case")":V--,K=!0,oe.tag==="JSNonExpressionParen"&&V===oe.nesting&&(fe.pop(),N="?NonExpressionParenEnd",K=!1);break;case"{":f.lastIndex=0,h=!R.test(j)&&(_.test(j)||i.test(j)),D.push(h),K=!1;break;case"}":switch(oe.tag){case"InterpolationInTemplate":if(D.length===oe.nesting){w.lastIndex=C,G=w.exec(M),C=w.lastIndex,j=G[0],G[1]==="${"?(j="?InterpolationInTemplate",K=!1,yield{type:"TemplateMiddle",value:G[0]}):(fe.pop(),K=!0,yield{type:"TemplateTail",value:G[0],closed:G[1]==="`"});continue}break;case"InterpolationInJSX":if(D.length===oe.nesting){fe.pop(),C+=1,j="}",yield{type:"JSXPunctuator",value:"}"};continue}}K=D.pop(),N=K?"?ExpressionBraceEnd":"}";break;case"]":K=!0;break;case"++":case"--":N=K?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(L&&(_.test(j)||i.test(j))){fe.push({tag:"JSXTag"}),C+=1,j="<",yield{type:"JSXPunctuator",value:te};continue}K=!1;break;default:K=!1}C=B,j=N,yield{type:"Punctuator",value:te};continue}if(e.lastIndex=C,G=e.exec(M)){switch(C=e.lastIndex,N=G[0],G[0]){case"for":case"if":case"while":case"with":j!=="."&&j!=="?."&&(N="?NonExpressionParenKeyword")}j=N,K=!i.test(G[0]),yield{type:G[1]==="#"?"PrivateIdentifier":"IdentifierName",value:G[0]};continue}if(E.lastIndex=C,G=E.exec(M)){C=E.lastIndex,j=G[0],K=!0,yield{type:"StringLiteral",value:G[0],closed:G[2]!==void 0};continue}if(p.lastIndex=C,G=p.exec(M)){C=p.lastIndex,j=G[0],K=!0,yield{type:"NumericLiteral",value:G[0]};continue}if(w.lastIndex=C,G=w.exec(M)){C=w.lastIndex,j=G[0],G[1]==="${"?(j="?InterpolationInTemplate",fe.push({tag:"InterpolationInTemplate",nesting:D.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=C,G=r.exec(M)){switch(C=r.lastIndex,N=G[0],G[0]){case"<":fe.push({tag:"JSXTag"});break;case">":fe.pop(),j==="/"||oe.tag==="JSXTagEnd"?(N="?JSX",K=!0):fe.push({tag:"JSXChildren"});break;case"{":fe.push({tag:"InterpolationInJSX",nesting:D.length}),N="?InterpolationInJSX",K=!1;break;case"/":j==="<"&&(fe.pop(),fe[fe.length-1].tag==="JSXChildren"&&fe.pop(),fe.push({tag:"JSXTagEnd"}))}j=N,yield{type:"JSXPunctuator",value:G[0]};continue}if(t.lastIndex=C,G=t.exec(M)){C=t.lastIndex,j=G[0],yield{type:"JSXIdentifier",value:G[0]};continue}if(n.lastIndex=C,G=n.exec(M)){C=n.lastIndex,j=G[0],yield{type:"JSXString",value:G[0],closed:G[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=C,G=o.exec(M)){C=o.lastIndex,j=G[0],yield{type:"JSXText",value:G[0]};continue}switch(M[C]){case"<":fe.push({tag:"JSXTag"}),C++,j="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":fe.push({tag:"InterpolationInJSX",nesting:D.length}),C++,j="?InterpolationInJSX",K=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(A.lastIndex=C,G=A.exec(M)){C=A.lastIndex,yield{type:"WhiteSpace",value:G[0]};continue}if(l.lastIndex=C,G=l.exec(M)){C=l.lastIndex,K=!1,a.test(j)&&(j="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:G[0]};continue}if(d.lastIndex=C,G=d.exec(M)){C=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=C,G=b.exec(M)){C=b.lastIndex,K=!1,yield{type:"SingleLineComment",value:G[0]};continue}I=String.fromCodePoint(M.codePointAt(C)),C+=I.length,j=I,K=!1,yield{type:oe.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:I}}},ou}var jL=NL();nv(jL);var aT={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(aT.keyword);new Set(aT.strict);var qL={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]},sT=Object.entries(qL);function dl(e){return String(e)}dl.open="";dl.close="";sT.reduce((e,[t])=>(e[t]=dl,e),{isColorSupported:!1});function ML(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 LL(e=!1){let t=ML(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 sT)o[a]=t?n(i(l[0]),i(l[1]),l[2]):dl;return o}var br=LL();function ls(e,t){if(!e)throw new Error(t)}function zo(e,t){return typeof t===e}function DL(e){return e instanceof Promise}function aa(e,t,r){Object.defineProperty(e,t,r)}function Qo(e,t,r){aa(e,t,{value:r,configurable:!0,writable:!0})}var Qn=Symbol.for("tinyspy:spy"),kL=new Set,$L=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},BL=e=>(aa(e,Qn,{value:{reset:()=>$L(e[Qn])}}),e[Qn]),lc=e=>e[Qn]||BL(e);function FL(e){ls(zo("function",e)||zo("undefined",e),"cannot spy on a non-function value");let t=function(...n){let o=lc(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 DL(a)&&a.then(p=>o.resolves[d]=["ok",p],p=>o.resolves[d]=["error",p]),o.results.push(c),a};Qo(t,"_isMockFunction",!0),Qo(t,"length",e?e.length:0),Qo(t,"name",e&&e.name||"spy");let r=lc(t);return r.reset(),r.impl=e,t}function UL(e){return!!e&&e._isMockFunction===!0}var lT=(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)}},Hh=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function uT(e,t,r){ls(!zo("undefined",e),"spyOn could not find an object to spy upon"),ls(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]=lT(e,n)||[];ls(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&&GL(d)&&(d=d[Qn].getOriginal());let c=b=>{let{value:E,...w}=a||{configurable:!0,writable:!0};o!=="value"&&delete w.writable,w[o]=b,aa(e,n,w)},p=()=>{i!==e?Reflect.deleteProperty(e,n):a&&!d?aa(e,n,a):c(d)};r||(r=d);let f=HL(FL(r),r);o==="value"&&Hh(f,d);let g=f[Qn];return Qo(g,"restore",p),Qo(g,"getOriginal",()=>l?d():d),Qo(g,"willCall",b=>(g.impl=b,f)),c(l?()=>(Hh(f,r),f):f),kL.add(f),f}var VL=new Set(["length","name","prototype"]);function JL(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]||VL.has(o)||(t.add(o),r[o]=Object.getOwnPropertyDescriptor(e,o));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}function HL(e,t){if(!t||Qn in t)return e;let{properties:r,descriptors:n}=JL(t);for(let o of r){let i=n[o];lT(e,o)||aa(e,o,i)}return e}function GL(e){return UL(e)&&"getOriginal"in e[Qn]}var Ca=new Set;function Zo(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function WL(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o,i=YL(e,t),a=i&&i[r||"value"];Zo(a)&&(o=a.mock._state());try{let l=uT(e,n),d=cT(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 zL=0;function cT(e){let t=e,r,n=[],o=!1,i=[],a=[],l=[],d=lc(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,E])=>({type:b==="error"?"throw":"return",value:E}))},get settledResults(){return d.resolves.map(([b,E])=>({type:b==="error"?"rejected":"fulfilled",value:E}))},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(++zL),(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,E){let w=r;r=b,d.willCall(p),o=!0;let R=()=>{r=w,o=!1},_=E();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),Ca.add(t),t}function Gh(e){let t=cT(uT({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}function YL(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 sa=Symbol.for("matchers-object"),la=Symbol.for("$$jest-matchers-object-storybook"),hp=Symbol.for("expect-global"),uc=Symbol.for("asymmetric-matchers-object"),KL={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)}`}}},Ps=br.green,mp=br.red,XL=br.inverse,QL=br.bold,Vn=br.dim;function ZL(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:a=!1,promise:l="",secondArgument:d="",expectedColor:c=Ps,receivedColor:p=mp,secondArgumentColor:f=Ps}=n,g="",b="expect";return!i&&t!==""&&(g+=Vn(`${b}(`)+p(t),b=")"),l!==""&&(g+=Vn(`${b}.`)+l,b=""),a&&(g+=`${Vn(`${b}.`)}not`,b=""),e.includes(".")?b+=e:(g+=Vn(`${b}.`)+e,b=""),r===""?b+="()":(g+=Vn(`${b}(`)+c(r),d&&(g+=Vn(", ")+f(d)),b=")"),o!==""&&(b+=` // ${o}`),b!==""&&(g+=Vn(b)),g}var eD="·";function dT(e){return e.replace(/\s+$/gm,t=>eD.repeat(t.length))}function tD(e){return mp(dT(Er(e)))}function rD(e){return Ps(dT(Er(e)))}function pT(){return{EXPECTED_COLOR:Ps,RECEIVED_COLOR:mp,INVERTED_COLOR:XL,BOLD_WEIGHT:QL,DIM_COLOR:Vn,diff:vi,matcherHint:ZL,printReceived:tD,printExpected:rD,printDiffOrStringify:bv,printWithType:nD}}function nD(e,t,r){let n=bs(t),o=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
  223. `:"",i=`${e} has value: ${r(t)}`;return o+i}function yp(){return globalThis[la].customEqualityTesters}function ut(e,t,r,n){return r=r||[],Gi(e,t,[],[],r,n?fT:aD)}function Wh(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Br("Function",e.asymmetricMatch)}function oD(e,t){let r=Wh(e),n=Wh(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function Gi(e,t,r,n,o,i){let a=!0,l=oD(e,t);if(l!==void 0)return l;let d={equals:ut};for(let E=0;E<o.length;E++){let w=o[E].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 E=+e,w=+t;return E===w||Number.isNaN(E)&&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(Yh(e)&&Yh(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 iD(e,t,r,n,o,i)}finally{r.pop(),n.pop()}let f=zh(e,i),g,b=f.length;if(zh(t,i).length!==b)return!1;for(;b--;)if(g=f[b],a=i(t,g)&&Gi(e[g],t[g],r,n,o,i),!a)return!1;return r.pop(),n.pop(),a}function iD(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=Gi(e.cause,t.cause,r,n,o,i)),e instanceof AggregateError&&t instanceof AggregateError&&a&&(a=Gi(e.errors,t.errors,r,n,o,i)),a&&(a=Gi({...e},{...t},r,n,o,i)),a}function zh(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 aD(e,t){return fT(e,t)&&e[t]!==void 0}function fT(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Br(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function Yh(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 hT="@@__IMMUTABLE_KEYED__@@",mT="@@__IMMUTABLE_SET__@@",sD="@@__IMMUTABLE_LIST__@@",pl="@@__IMMUTABLE_ORDERED__@@",lD="@@__IMMUTABLE_RECORD__@@";function uD(e){return!!(e&&e[hT]&&!e[pl])}function cD(e){return!!(e&&e[mT]&&!e[pl])}function fl(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function dD(e){return!!(e&&fl(e)&&e[sD])}function pD(e){return!!(e&&fl(e)&&e[hT]&&e[pl])}function fD(e){return!!(e&&fl(e)&&e[mT]&&e[pl])}function hD(e){return!!(e&&fl(e)&&e[lD])}var yT=Symbol.iterator;function Kh(e){return!!(e!=null&&e[yT])}function Ar(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Kh(e)||!Kh(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!==Ar),l];function l(c,p){return Ar(c,p,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Br("Set",e)||cD(e)){let c=!0;for(let p of e)if(!t.has(p)){let f=!1;for(let g of t)ut(p,g,a)===!0&&(f=!0);if(f===!1){c=!1;break}}return n.pop(),o.pop(),c}else if(Br("Map",e)||uD(e)){let c=!0;for(let p of e)if(!t.has(p[0])||!ut(p[1],t.get(p[0]),a)){let f=!1;for(let g of t){let b=ut(p[0],g[0],a),E=!1;b===!0&&(E=ut(p[1],g[1],a)),E===!0&&(f=!0)}if(f===!1){c=!1;break}}return n.pop(),o.pop(),c}}let d=t[yT]();for(let c of e){let p=d.next();if(p.done||!ut(c,p.value,a))return!1}if(!d.next().done)return!1;if(!dD(e)&&!pD(e)&&!fD(e)&&!hD(e)){let c=Object.entries(e),p=Object.entries(t);if(!ut(c,p,a))return!1}return n.pop(),o.pop(),!0}function gp(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||gp(Object.getPrototypeOf(e),t)}function mD(e){return as(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function xa(e,t,r=[]){let n=r.filter(i=>i!==xa),o=(i=new WeakMap)=>(a,l)=>{if(mD(l))return Object.keys(l).every(d=>{if(l[d]!=null&&typeof l[d]=="object"){if(i.has(l[d]))return ut(a[d],l[d],n);i.set(l[d],!0)}let c=a!=null&&gp(a,d)&&ut(a[d],l[d],[...n,o(i)]);return i.delete(l[d]),c})};return o()(e,t)}function Xh(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function Qh(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 cc(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!==cc);return ut(e,t,i,!0)&&ut(n,o)}function yD(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 gD(e,t){return`${t} ${e}${t===1?"":"s"}`}function iu(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 bD(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(as(a)&&as(l)){if(ut(a,l,[...r,Ar,xa]))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 iu(a))gp(l,c)?d[c]=i.has(a[c])?i.get(a[c]):o(i)(a[c],l[c]):i.has(a[c])||(n+=1,as(a[c])&&(n+=iu(a[c]).length),o(i)(a[c],l[c]));if(iu(d).length>0)return d}}return a};return{subset:o()(e,t),stripped:n}}if(!Object.prototype.hasOwnProperty.call(globalThis,sa)){let e=new WeakMap;Object.defineProperty(globalThis,sa,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,la)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,la,{configurable:!0,get:()=>({state:globalThis[sa].get(globalThis[hp]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,uc)){let e=Object.create(null);Object.defineProperty(globalThis,uc,{get:()=>e})}function As(e){return globalThis[sa].get(e)}function au(e,t){let r=globalThis[sa],n=r.get(t)||{},o=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,o)}var On=class{constructor(e,t=!1){cr(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...As(e||globalThis[hp]),equals:ut,isNot:this.inverse,customTesters:yp(),utils:{...pT(),diff:vi,stringify:Er,iterableEquality:Ar,subsetEquality:xa}}}};On.prototype[Symbol.for("chai/inspect")]=function(e){let t=Er(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var Zh=class extends On{constructor(e,t=!1){if(!Br("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Br("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},vD=class extends On{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},em=class extends On{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)||!ut(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"}},tm=class extends On{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=>ut(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},ED=class extends On{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)}>`}},rm=class extends On{constructor(e,t=!1){if(!Br("String",e)&&!Br("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Br("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},nm=class extends On{constructor(t,r=2,n=!1){if(!Br("Number",t))throw new Error("Expected is not a Number");if(!Br("Number",r))throw new Error("Precision is not a Number");super(t);cr(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!Br("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,`(${gD("digit",this.precision)})`].join(" ")}},TD=(e,t)=>{t.addMethod(e.expect,"anything",()=>new vD),t.addMethod(e.expect,"any",r=>new ED(r)),t.addMethod(e.expect,"stringContaining",r=>new Zh(r)),t.addMethod(e.expect,"objectContaining",r=>new em(r)),t.addMethod(e.expect,"arrayContaining",r=>new tm(r)),t.addMethod(e.expect,"stringMatching",r=>new rm(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new nm(r,n)),e.expect.not={stringContaining:r=>new Zh(r,!0),objectContaining:r=>new em(r,!0),arrayContaining:r=>new tm(r,!0),stringMatching:r=>new rm(r,!0),closeTo:(r,n)=>new nm(r,n,!0)}};function om(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 im(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 am(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(Ad(t))}function gT(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(Tj,a=>{am(o,a)}):i}catch(i){am(o,i)}}}var wD=(e,t)=>{let{AssertionError:r}=e,n=yp();function o(c,p){let f=g=>{let b=gT(t,g,p);t.addMethod(e.Assertion.prototype,g,b),t.addMethod(globalThis[la].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"),E=t.flag(this,"negate");if(g==="rejects")t.flag(this,"object",()=>{throw b});else if(g==="resolves"&&typeof b!="function"){if(E)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=ut(p,c,[...n,Ar]);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=ut(p,c,[...n,Ar,Xh,cc,Qh],!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||(ut(p,c,[...n,Ar,Xh,cc,Qh],!0)?g="toStrictEqual":ut(p,c,[...n,Ar])&&(g="toEqual")),this.assert(f,yD(g),"expected #{this} not to be #{exp} // Object.is equality",c,p)}),o("toMatchObject",function(c){let p=this._obj,f=ut(p,c,[...n,Ar,xa]),g=t.flag(this,"negate"),{subset:b,stripped:E}=bD(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=E===0?w:`${w}
  229. (${E} matching ${E===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){pn(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=>ut(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 pn(p,"actual",["number","bigint"]),pn(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 pn(p,"actual",["number","bigint"]),pn(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 pn(p,"actual",["number","bigint"]),pn(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 pn(p,"actual",["number","bigint"]),pn(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:E,exists:w}=b(),R=w&&(c.length===1||ut(g,E,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?E:void 0)}),o("toBeCloseTo",function(c,p=2){let f=this._obj,g=!1,b=0,E=0;return c===Number.POSITIVE_INFINITY&&f===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&f===Number.NEGATIVE_INFINITY?g=!0:(b=10**-p/2,E=Math.abs(f-c),g=E<b),this.assert(g,`expected #{this} to be close to #{exp}, received difference is ${E}, but expected ${b}`,`expected #{this} to not be close to #{exp}, received difference is ${E}, but expected ${b}`,c,f,!1)});function i(c){if(!Zo(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"),E=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&&(E=su(c,E)),g&&b||!g&&!b)throw new r(E)});function l(c,p){return c.length===p.length&&c.every((f,g)=>ut(f,p[g],[...n,Ar]))}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"),E=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(su(p,E,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,E=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&&E||!b&&!E)throw new r(su(p,w,c))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...p){let f=a(this),g=f.getMockName(),b=f.mock.calls[c-1],E=f.mock.calls.length,w=c<=E;this.assert(b&&l(b,p),`expected ${Wi(c)} "${g}" call to have been called with #{exp}${w?"":`, but called only ${E} times`}`,`expected ${Wi(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(!Zo(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(!Zo(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 E=t.flag(this,"message")||"expected promise to throw an error, but it didn't",w={showDiff:!1};throw new r(E,w,t.flag(this,"ssfi"))}}else{let E=!1;try{p()}catch(w){E=!0,b=w}if(!E&&!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 E=c.name||c.prototype.constructor.name;return this.assert(b&&b instanceof c,`expected error to be instance of ${E}`,`expected error not to be instance of ${E}`,c,b)}if(c instanceof Error){let E=ut(b,c,[...n,Ar]);return this.assert(E,"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 E=c;return this.assert(b&&E.asymmetricMatch(b),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",E,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(),E=p(g);this.assert(E,`expected "${b}" to be successfully ${f} at least once`,`expected "${b}" to not be successfully ${f}`,E,!E,!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),E=b.getMockName(),w=p(b,g);this.assert(w,`expected "${E}" to be successfully ${f} ${g} times`,`expected "${E}" 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"&&ut(p,g)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(c,p)=>c.mock.results.some(({type:f,value:g})=>f==="return"&&ut(p,g)),action:"return"}].forEach(({name:c,condition:p,action:f})=>{o(c,function(g){let b=a(this),E=p(b,g),w=t.flag(this,"negate");if(E&&w||!E&&!w){let R=b.getMockName(),_=t.getMessage(this,[E,`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(_D(b,A,_,g))}})}),[{name:"toHaveLastResolvedWith",condition:(c,p)=>{let f=c.mock.settledResults[c.mock.settledResults.length-1];return f&&f.type==="fulfilled"&&ut(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"&&ut(f.value,p)},action:"return"}].forEach(({name:c,condition:p,action:f})=>{o(c,function(g){let b=a(this),E=f==="return"?b.mock.results:b.mock.settledResults,w=E[E.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"&&ut(g.value,f)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(c,p,f)=>{let g=c.mock.results[p-1];return g&&g.type==="return"&&ut(g.value,f)},action:"return"}].forEach(({name:c,condition:p,action:f})=>{o(c,function(g,b){let E=a(this),w=E.getMockName(),R=(f==="return"?E.mock.results:E.mock.settledResults)[g-1],_=`${Wi(g)} call`;this.assert(p(E,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,E,w)=>{let R=Reflect.get(b,E,w);return typeof R!="function"?R instanceof e.Assertion?g:R:(..._)=>{t.flag(this,"_name",E);let A=f.then(M=>(t.flag(this,"object",M),R.call(this,..._)),M=>{let L=new r(`promise rejected "${t.inspect(M)}" instead of resolving`,{showDiff:!1});throw L.cause=M,L.stack=c.stack.replace(c.message,L.message),L});return im(p,A,om(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:(E,w,R)=>{let _=Reflect.get(E,w,R);return typeof _!="function"?_ instanceof e.Assertion?b:_:(...A)=>{t.flag(this,"_name",w);let M=g.then(L=>{let D=new r(`promise resolved "${t.inspect(L)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:L});throw D.stack=c.stack.replace(c.message,D.message),D},L=>(t.flag(this,"object",L),_.call(this,...A)));return im(p,M,om(t,this,!!A.length),c)}}});return b})};function Wi(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 su(e,t,r){return e.mock.calls.length&&(t+=br.gray(`
  230. Received:
  231. ${e.mock.calls.map((n,o)=>{let i=br.bold(` ${Wi(o+1)} ${e.getMockName()} call:
  232. `);return r?i+=vi(r,n,{omitAnnotationLines:!0}):i+=Er(n).split(`
  233. `).map(a=>` ${a}`).join(`
  234. `),i+=`
  235. `,i}).join(`
  236. `)}`)),t+=br.gray(`
  237. Number of calls: ${br.bold(e.mock.calls.length)}
  238. `),t}function _D(e,t,r,n){return t.length&&(r+=br.gray(`
  239. Received:
  240. ${t.map((o,i)=>{let a=br.bold(` ${Wi(i+1)} ${e.getMockName()} call return:
  241. `);return n?a+=vi(n,o.value,{omitAnnotationLines:!0}):a+=Er(o).split(`
  242. `).map(l=>` ${l}`).join(`
  243. `),a+=`
  244. `,a}).join(`
  245. `)}`)),r+=br.gray(`
  246. Number of calls: ${br.bold(e.mock.calls.length)}
  247. `),r}function SD(e,t){let r=e._obj,n=tn.flag(e,"negate"),o=tn.flag(e,"promise")||"",i={...pT(),diff:vi,stringify:Er,iterableEquality:Ar,subsetEquality:xa};return{state:{...As(t),customTesters:yp(),isNot:n,utils:i,promise:o,equals:ut,suppressedErrors:[],soft:tn.flag(e,"soft"),poll:tn.flag(e,"poll")},isNot:n,obj:r}}var sm=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function RD(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,a])=>{function l(...f){let{state:g,isNot:b,obj:E}=SD(this,t),w=a.call(g,E,...f);if(w&&typeof w=="object"&&typeof w.then=="function")return w.then(({pass:L,message:D,actual:I,expected:h})=>{if(L&&b||!L&&!b)throw new sm(D(),I,h)});let{pass:R,message:_,actual:A,expected:M}=w;if(R&&b||!R&&!b)throw new sm(_(),A,M)}let d=gT(o,i,l);o.addMethod(globalThis[la].matchers,i,d),o.addMethod(e.Assertion.prototype,i,d);class c extends On{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=>Er(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[uc],i,{configurable:!0,enumerable:!0,value:p,writable:!0})})}}var OD=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Xo(RD(e,r,n))})};function PD(){Xo(OD),Xo(wD),Xo(TD);let e=(n,o)=>{let{assertionCalls:i}=As(e);return au({assertionCalls:i+1,soft:!1},e),So(n,o)};Object.assign(e,So),e.getState=()=>As(e),e.setState=n=>au(n,e),e.extend=n=>So.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.extend(KL),e.unreachable=n=>{F.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 au({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),tn.addMethod(e,"assertions",t),tn.addMethod(e,"hasAssertions",r),e.extend(uE),e}var bT=PD();Object.defineProperty(globalThis,hp,{value:bT,writable:!0,configurable:!0});function AD(e,t,r){Object.defineProperty(e,t,r)}var us=Symbol.for("tinyspy:spy"),CD=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},xD=e=>(AD(e,us,{value:{reset:()=>CD(e[us])}}),e[us]),ID=e=>e[us]||xD(e),bp=globalThis.__STORYBOOK_MODULE_MOCK_SPIES__??(globalThis.__STORYBOOK_MODULE_MOCK_SPIES__=new Set),dc=new Set;function vT(e){return dc.add(e),()=>{dc.delete(e)}}var ND=(...e)=>{let t=WL(...e);return TT(t)};function ET(e){let t=e?Gh(e):Gh();return TT(t)}function TT(e){let t=lm(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>lm(r(n)),t}function lm(e){let t=ID(e),r=t.impl;return t.willCall(function(...n){return dc.forEach(o=>o(e,n)),r==null?void 0:r.apply(this,n)}),e}function wT(){Ca.forEach(e=>e.mockClear()),bp.forEach(e=>e.mockClear())}function _T(){Ca.forEach(e=>e.mockReset()),bp.forEach(e=>e.mockReset())}function ST(){Ca.forEach(e=>e.mockRestore()),bp.forEach(e=>e.mockClear())}function jD(e,t={}){return e}var RT={};fr(RT,{buildQueries:()=>An,configure:()=>Gk,createEvent:()=>ds,findAllByAltText:()=>Cw,findAllByDisplayValue:()=>_w,findAllByLabelText:()=>rw,findAllByPlaceholderText:()=>dw,findAllByRole:()=>Uw,findAllByTestId:()=>zw,findAllByText:()=>gw,findAllByTitle:()=>Mw,findByAltText:()=>xw,findByDisplayValue:()=>Sw,findByLabelText:()=>nw,findByPlaceholderText:()=>pw,findByRole:()=>Vw,findByTestId:()=>Yw,findByText:()=>bw,findByTitle:()=>Lw,fireEvent:()=>fa,getAllByAltText:()=>Pw,getAllByDisplayValue:()=>Tw,getAllByLabelText:()=>ow,getAllByPlaceholderText:()=>uw,getAllByRole:()=>Bw,getAllByTestId:()=>Gw,getAllByText:()=>mw,getAllByTitle:()=>jw,getByAltText:()=>Aw,getByDisplayValue:()=>ww,getByLabelText:()=>iw,getByPlaceholderText:()=>cw,getByRole:()=>Fw,getByTestId:()=>Ww,getByText:()=>yw,getByTitle:()=>qw,getConfig:()=>nt,getDefaultNormalizer:()=>Sp,getElementError:()=>ml,getMultipleElementsFoundError:()=>yl,getNodeText:()=>Ia,getQueriesForElement:()=>Tc,getRoles:()=>YT,getSuggestedQuery:()=>xs,isInaccessible:()=>hl,logDOM:()=>pc,logRoles:()=>Xk,makeFindQuery:()=>si,makeGetAllQuery:()=>Pp,makeSingleQuery:()=>ai,prettyDOM:()=>da,prettyFormat:()=>vp,queries:()=>Is,queryAllByAltText:()=>Rw,queryAllByAttribute:()=>Lo,queryAllByDisplayValue:()=>vw,queryAllByLabelText:()=>aw,queryAllByPlaceholderText:()=>sw,queryAllByRole:()=>kw,queryAllByTestId:()=>Jw,queryAllByText:()=>fw,queryAllByTitle:()=>Iw,queryByAltText:()=>Ow,queryByAttribute:()=>XT,queryByDisplayValue:()=>Ew,queryByLabelText:()=>ew,queryByPlaceholderText:()=>lw,queryByRole:()=>$w,queryByTestId:()=>Hw,queryByText:()=>hw,queryByTitle:()=>Nw,queryHelpers:()=>d$,screen:()=>$$,waitFor:()=>Op,waitForElementToBeRemoved:()=>N$,within:()=>Tc,wrapAllByQueryWithSuggestion:()=>pr,wrapSingleQueryWithSuggestion:()=>Zn});var vp=Nt(NP()),qD=Object.prototype.toString;function MD(e){return typeof e=="function"||qD.call(e)==="[object Function]"}function LD(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var DD=Math.pow(2,53)-1;function kD(e){var t=LD(e);return Math.min(Math.max(t,0),DD)}function kr(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=kD(n.length),i=MD(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 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 $D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BD(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,OT(n.key),n)}}function FD(e,t,r){return t&&BD(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function UD(e,t,r){return t=OT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OT(e){var t=VD(e,"string");return ua(t)==="symbol"?t:String(t)}function VD(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)}var JD=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];$D(this,e),UD(this,"items",void 0),this.items=t}return FD(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}(),HD=typeof Set>"u"?Set:JD;function tr(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var GD={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"},WD={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 zD(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=WD[t])!==null&&n!==void 0&&n.has(r))})}function PT(e,t){return zD(e,t)}function YD(e){var t=XD(e);if(t===null||t==="presentation"){var r=KD(e);if(t!=="presentation"||PT(e,r||""))return r}return t}function KD(e){var t=GD[tr(e)];if(t!==void 0)return t;switch(tr(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!PT(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 XD(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 AT(e){return St(e)&&tr(e)==="caption"}function cs(e){return St(e)&&tr(e)==="input"}function QD(e){return St(e)&&tr(e)==="optgroup"}function ZD(e){return St(e)&&tr(e)==="select"}function ek(e){return St(e)&&tr(e)==="table"}function tk(e){return St(e)&&tr(e)==="textarea"}function rk(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function nk(e){return St(e)&&tr(e)==="fieldset"}function ok(e){return St(e)&&tr(e)==="legend"}function ik(e){return St(e)&&tr(e)==="slot"}function ak(e){return St(e)&&e.ownerSVGElement!==void 0}function sk(e){return St(e)&&tr(e)==="svg"}function lk(e){return ak(e)&&tr(e)==="title"}function Cs(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 vn(e,t){return St(e)?t.indexOf(YD(e))!==-1:!1}function uk(e){return e.trim().replace(/\s\s+/g," ")}function ck(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 dk(e){return vn(e,["button","combobox","listbox","textbox"])||CT(e)}function CT(e,t){return St(e)?vn(e,["meter","progressbar","scrollbar","slider","spinbutton"]):!1}function um(e,t){var r=kr(e.querySelectorAll(t));return Cs(e,"aria-owns").forEach(function(n){r.push.apply(r,kr(n.querySelectorAll(t)))}),r}function pk(e){return ZD(e)?e.selectedOptions||um(e,"[selected]"):um(e,'[aria-selected="true"]')}function fk(e){return vn(e,["none","presentation"])}function hk(e){return AT(e)}function mk(e){return vn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function yk(e){return!1}function gk(e){return cs(e)||tk(e)?e.value:e.textContent||""}function cm(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function xT(e){var t=tr(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function IT(e){if(xT(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&St(r)){var n=IT(r);n!==null&&(t=n)}}),t}function bk(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):IT(e)}function vk(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return kr(t);if(!xT(e))return null;var r=e.ownerDocument;return kr(r.querySelectorAll("label")).filter(function(n){return bk(n)===e})}function Ek(e){var t=e.assignedNodes();return t.length===0?kr(e.childNodes):t}function NT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new HD,n=rk(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 M="";if(St(_)&&l){var L=c(_,"::before"),D=cm(L);M="".concat(D," ").concat(M)}var I=ik(_)?Ek(_):kr(_.childNodes).concat(Cs(_,"aria-owns"));if(I.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"?" ":"";M+="".concat(oe).concat(Z).concat(oe)}),St(_)&&l){var h=c(_,"::after"),C=cm(h);M="".concat(M," ").concat(C)}return M.trim()}function b(_,A){var M=_.getAttributeNode(A);return M!==null&&!r.has(M)&&M.value.trim()!==""?(r.add(M),M.value):null}function E(_){return St(_)?b(_,"title"):null}function w(_){if(!St(_))return null;if(nk(_)){r.add(_);for(var A=kr(_.childNodes),M=0;M<A.length;M+=1){var L=A[M];if(ok(L))return R(L,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(ek(_)){r.add(_);for(var D=kr(_.childNodes),I=0;I<D.length;I+=1){var h=D[I];if(AT(h))return R(h,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(sk(_)){r.add(_);for(var C=kr(_.childNodes),j=0;j<C.length;j+=1){var Z=C[j];if(lk(Z))return Z.textContent}return null}else if(tr(_)==="img"||tr(_)==="area"){var G=b(_,"alt");if(G!==null)return G}else if(QD(_)){var oe=b(_,"label");if(oe!==null)return oe}if(cs(_)&&(_.type==="button"||_.type==="submit"||_.type==="reset")){var B=b(_,"value");if(B!==null)return B;if(_.type==="submit")return"Submit";if(_.type==="reset")return"Reset"}var N=vk(_);if(N!==null&&N.length!==0)return r.add(_),kr(N).map(function(fe){return R(fe,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(fe){return fe.length>0}).join(" ");if(cs(_)&&_.type==="image"){var V=b(_,"alt");if(V!==null)return V;var K=b(_,"title");return K!==null?K:"Submit Query"}if(vn(_,["button"])){var te=g(_,{isEmbeddedInLabel:!1});if(te!=="")return te}return null}function R(_,A){if(r.has(_))return"";if(!f&&ck(_,c)&&!A.isReferenced)return r.add(_),"";var M=St(_)?_.getAttributeNode("aria-labelledby"):null,L=M!==null&&!r.has(M)?Cs(_,"aria-labelledby"):[];if(i==="name"&&!A.isReferenced&&L.length>0)return r.add(M),L.map(function(G){return R(G,{isEmbeddedInLabel:A.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var D=A.recursion&&dk(_)&&i==="name";if(!D){var I=(St(_)&&_.getAttribute("aria-label")||"").trim();if(I!==""&&i==="name")return r.add(_),I;if(!fk(_)){var h=w(_);if(h!==null)return r.add(_),h}}if(vn(_,["menu"]))return r.add(_),"";if(D||A.isEmbeddedInLabel||A.isReferenced){if(vn(_,["combobox","listbox"])){r.add(_);var C=pk(_);return C.length===0?cs(_)?_.value:"":kr(C).map(function(G){return R(G,{isEmbeddedInLabel:A.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(CT(_))return r.add(_),_.hasAttribute("aria-valuetext")?_.getAttribute("aria-valuetext"):_.hasAttribute("aria-valuenow")?_.getAttribute("aria-valuenow"):_.getAttribute("value")||"";if(vn(_,["textbox"]))return r.add(_),gk(_)}if(mk(_)||St(_)&&A.isReferenced||hk(_)||yk()){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=E(_);return Z!==null?(r.add(_),Z):(r.add(_),"")}return uk(R(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function ca(e){"@babel/helpers - typeof";return ca=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},ca(e)}function dm(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 pm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dm(Object(r),!0).forEach(function(n){Tk(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Tk(e,t,r){return t=wk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wk(e){var t=_k(e,"string");return ca(t)==="symbol"?t:String(t)}function _k(e,t){if(ca(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ca(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Cs(e,"aria-describedby").map(function(o){return NT(o,pm(pm({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Sk(e){return vn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Ep(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Sk(e)?"":NT(e,t)}var Pr=Nt(Jc()),Rk=Nt(jP());function qT(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Ok=(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("")},Pk=3,Ak=(e,t,r,n,o,i)=>e.map(a=>{let l=typeof a=="string"?MT(a,t):i(a,t,r,n,o);return l===""&&typeof a=="object"&&a!==null&&a.nodeType!==Pk?"":t.spacingOuter+r+l}).join(""),MT=(e,t)=>{let r=t.colors.content;return r.open+qT(e)+r.close},Ck=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+qT(e)+"-->"+r.close},xk=(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},Ik=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},Nk=1,LT=3,DT=8,kT=11,jk=/^((HTML|SVG)\w*)?Element$/,$T=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},qk=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===Nk&&(jk.test(t)||$T(e))||r===LT&&t==="Text"||r===DT&&t==="Comment"||r===kT&&t==="DocumentFragment"};function Mk(e){return e.nodeType===LT}function Lk(e){return e.nodeType===DT}function lu(e){return e.nodeType===kT}function Dk(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||$T(t))&&qk(t)},serialize:(t,r,n,o,i,a)=>{if(Mk(t))return MT(t.data,r);if(Lk(t))return Ck(t.data,r);let l=lu(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?Ik(l,r):xk(l,Ok(lu(t)?[]:Array.from(t.attributes).map(d=>d.name).sort(),lu(t)?{}:Array.from(t.attributes).reduce((d,c)=>(d[c.name]=c.value,d),{}),r,n+r.indent,o,i,a),Ak(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var BT=null,Tp=null,wp=null;try{let e=module&&module.require;Tp=e.call(module,"fs").readFileSync,wp=e.call(module,"@babel/code-frame").codeFrameColumns,BT=e.call(module,"picocolors")}catch{}function kk(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=Tp(i,"utf-8")}catch{return""}let c=wp(d,{start:{line:a,column:l}},{highlightCode:!0,linesBelow:0});return BT.dim(n)+`
  249. `+c+`
  250. `}function $k(){if(!Tp||!wp)return"";let e=new Error().stack.split(`
  251. `).slice(1).find(t=>!t.includes("node_modules/"));return kk(e)}var FT=3;function uu(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function _p(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function UT(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 Pn(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 Bk=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=Ou)==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:Fk}=vp.plugins,Uk=1,Vk=8;function Jk(e){return e.nodeType!==Vk&&(e.nodeType!==Uk||!e.matches(nt().defaultIgnore))}function da(e,t,r){if(r===void 0&&(r={}),e||(e=_p().body),typeof t!="number"&&(t=typeof process<"u"&&typeof Ou<"u"&&Ou.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=Jk,...i}=r,a=vp.format(e,{plugins:[Dk(o),Fk],printFunctionName:!1,highlight:Bk(),...i});return t!==void 0&&e.outerHTML.length>t?a.slice(0,t)+"...":a}var pc=function(){let e=$k();console.log(e?da(...arguments)+`
  252. `+e:da(...arguments))},Ro={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=da(t),n=new Error([e,"Ignored nodes: comments, "+Ro.defaultIgnore+`
  253. `+r].filter(Boolean).join(`
  254. `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Hk(e){try{return Ro._disableExpensiveErrorDiagnostics=!0,e()}finally{Ro._disableExpensiveErrorDiagnostics=!1}}function Gk(e){typeof e=="function"&&(e=e(Ro)),Ro={...Ro,...e}}function nt(){return Ro}var Wk=["button","meter","output","progress","select","textarea","input"];function VT(e){return Wk.includes(e.nodeName.toLowerCase())?"":e.nodeType===FT?e.textContent:Array.from(e.childNodes).map(t=>VT(t)).join("")}function fc(e){let t;return e.tagName.toLowerCase()==="label"?t=VT(e):t=e.value||e.textContent,t}function JT(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!zk(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function zk(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function HT(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:fc(l),formControl:null}:{content:"",formControl:null}}):Array.from(JT(t)).map(a=>{let l=fc(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 GT(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 Ti(e,t,r,n){if(typeof e!="string")return!1;GT(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):WT(r,o)}function _n(e,t,r,n){if(typeof e!="string")return!1;GT(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?WT(r,o):o===String(r)}function Sp(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 Mo(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Sp({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 WT(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 Ia(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===FT&&!!t.textContent).map(t=>t.textContent).join("")}var Yk=Kk(Pr.elementRoles);function zT(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function hl(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=zT}=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 Rp(e){for(let{match:t,roles:r}of Yk)if(t(e))return[...r];return[]}function Kk(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,E=g.indexOf("set")!==-1;return typeof f<"u"?"["+p+'="'+f+'"]':b?":not(["+p+"])":E?"["+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 YT(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?hl(o)===!1:!0).reduce((o,i)=>{let a=[];return i.hasAttribute("role")?a=i.getAttribute("role").split(" ").slice(0,1):a=Rp(i),a.reduce((l,d)=>Array.isArray(l[d])?{...l,[d]:[...l[d],i]}:{...l,[d]:[i]},o)},{})}function KT(e,t){let{hidden:r,includeDescription:n}=t,o=YT(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 "'+Ep(p,{computedStyleSupportsPseudoElements:nt().computedStyleSupportsPseudoElements})+`":
  255. `,g=da(p.cloneNode(!1));if(n){let b='Description "'+jT(p,{computedStyleSupportsPseudoElements:nt().computedStyleSupportsPseudoElements})+`":
  256. `;return""+f+b+g}return""+f+g}).join(`
  257. `);return a+`:
  258. `+c+`
  259. `+d}).join(`
  260. `)}var Xk=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(KT(e,{hidden:r}))};function Qk(e){return e.tagName==="OPTION"?e.selected:Na(e,"aria-selected")}function Zk(e){return e.getAttribute("aria-busy")==="true"}function e$(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Na(e,"aria-checked")}function t$(e){return Na(e,"aria-pressed")}function r$(e){var t,r;return(t=(r=Na(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function n$(e){return Na(e,"aria-expanded")}function Na(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function o$(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 i$(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function a$(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function s$(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function l$(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var fm=Sp();function u$(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function hm(e){return new RegExp(u$(e.toLowerCase()),"i")}function $n(e,t,r,n){let{variant:o,name:i}=n,a="",l={},d=[["Role","TestId"].includes(e)?r:hm(r)];i&&(l.name=hm(i)),e==="Role"&&hl(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,E]=g;return b+": "+E}).join(", ")+" }":"",c+"("+p+f+")"}}}function Bn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function xs(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(nt().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=Rp(e))==null?void 0:o[0];if(i!=="generic"&&Bn("Role",r,i))return $n("Role",e,i,{variant:t,name:Ep(e,{computedStyleSupportsPseudoElements:nt().computedStyleSupportsPseudoElements})});let a=HT(document,e).map(g=>g.content).join(" ");if(Bn("LabelText",r,a))return $n("LabelText",e,a,{variant:t});let l=e.getAttribute("placeholder");if(Bn("PlaceholderText",r,l))return $n("PlaceholderText",e,l,{variant:t});let d=fm(Ia(e));if(Bn("Text",r,d))return $n("Text",e,d,{variant:t});if(Bn("DisplayValue",r,e.value))return $n("DisplayValue",e,fm(e.value),{variant:t});let c=e.getAttribute("alt");if(Bn("AltText",r,c))return $n("AltText",e,c,{variant:t});let p=e.getAttribute("title");if(Bn("Title",r,p))return $n("Title",e,p,{variant:t});let f=e.getAttribute(nt().testIdAttribute);if(Bn("TestId",r,f))return $n("TestId",e,f,{variant:t})}function Wa(e,t){e.stack=t.stack.replace(t.message,e.message)}function c$(e,t){let{container:r=_p(),timeout:n=nt().asyncUtilTimeout,showOriginalStackTrace:o=nt().showOriginalStackTrace,stackTraceError:i,interval:a=50,onTimeout:l=c=>(Object.defineProperty(c,"message",{value:nt().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,E=!1,w="idle",R=setTimeout(D,n),_=uu();if(_){let{unstable_advanceTimersWrapper:I}=nt();for(L();!E;){if(!uu()){let h=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||Wa(h,i),p(h);return}if(await I(async()=>{jest.advanceTimersByTime(a)}),E)break;L()}}else{try{Pn(r)}catch(h){p(h);return}g=setInterval(M,a);let{MutationObserver:I}=UT(r);b=new I(M),b.observe(r,d),L()}function A(I,h){E=!0,clearTimeout(R),_||(clearInterval(g),b.disconnect()),I?p(I):c(h)}function M(){if(uu()){let I=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||Wa(I,i),p(I)}else return L()}function L(){if(w!=="pending")try{let I=Hk(e);typeof(I==null?void 0:I.then)=="function"?(w="pending",I.then(h=>{w="resolved",A(null,h)},h=>{w="rejected",f=h})):A(null,I)}catch(I){f=I}}function D(){let I;f?(I=f,!o&&I.name==="TestingLibraryElementError"&&Wa(I,i)):(I=new Error("Timed out in waitFor."),o||Wa(I,i)),A(l(I),null)}})}function Op(e,t){let r=new Error("STACK_TRACE_MESSAGE");return nt().asyncWrapper(()=>c$(e,{stackTraceError:r,...t}))}function ml(e,t){return nt().getElementError(e,t)}function yl(e,t){return ml(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Lo(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:a,normalizer:l}=n===void 0?{}:n,d=o?_n:Ti,c=Mo({collapseWhitespace:i,trim:a,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(p=>d(p.getAttribute(e),p,r,c))}function XT(e,t,r,n){let o=Lo(e,t,r,n);if(o.length>1)throw yl("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function ai(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=>ml(null,d).message).join(`
  263. `);throw yl(t(r,...o)+`
  264. Here are the matching elements:
  265. `+l,r)}return a[0]||null}}function QT(e,t){return nt().getElementError(`A better query is available, try this:
  266. `+e.toString()+`
  267. `,t)}function Pp(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 nt().getElementError(t(r,...o),r);return a}}function si(e){return(t,r,n,o)=>Op(()=>e(t,r,n),{container:t,...o})}var Zn=(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=nt().throwSuggestions}={}]=i.slice(-1);if(l&&d){let c=xs(l,r);if(c&&!t.endsWith(c.queryName))throw QT(c.toString(),n)}return l},pr=(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=nt().throwSuggestions}={}]=i.slice(-1);if(l.length&&d){let c=[...new Set(l.map(p=>{var f;return(f=xs(p,r))==null?void 0:f.toString()}))];if(c.length===1&&!t.endsWith(xs(l[0],r).queryName))throw QT(c[0],n)}return l};function An(e,t,r){let n=Zn(ai(e,t),e.name,"query"),o=Pp(e,r),i=ai(o,t),a=Zn(i,e.name,"get"),l=pr(o,e.name.replace("query","get"),"getAll"),d=si(pr(o,e.name,"findAll")),c=si(Zn(i,e.name,"find"));return[n,l,a,d,c]}var d$=Object.freeze({__proto__:null,getElementError:ml,wrapAllByQueryWithSuggestion:pr,wrapSingleQueryWithSuggestion:Zn,getMultipleElementsFoundError:yl,queryAllByAttribute:Lo,queryByAttribute:XT,makeSingleQuery:ai,makeGetAllQuery:Pp,makeFindQuery:si,buildQueries:An});function p$(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:fc(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var f$=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:a}=r===void 0?{}:r,l=n?_n:Ti,d=Mo({collapseWhitespace:i,trim:o,normalizer:a});return p$(e).filter(c=>{let{node:p,textToMatch:f}=c;return l(f,p,t,d)}).map(c=>{let{node:p}=c;return p})},pa=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,normalizer:l}=r===void 0?{}:r;Pn(e);let d=o?_n:Ti,c=Mo({collapseWhitespace:i,trim:a,normalizer:l}),p=Array.from(e.querySelectorAll("*")).filter(f=>JT(f).length||f.hasAttribute("aria-labelledby")).reduce((f,g)=>{let b=HT(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 E=b.filter(w=>!!w.content).map(w=>w.content);return d(E.join(" "),g,t,c)&&f.push(g),E.length>1&&E.forEach((w,R)=>{d(w,g,t,c)&&f.push(g);let _=[...E];_.splice(R,1),_.length>1&&d(_.join(" "),g,t,c)&&f.push(g)}),f},[]).concat(Lo("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(p)).filter(f=>f.matches(n))},xo=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=pa(e,t,...n);if(!i.length){let a=f$(e,t,...n);if(a.length){let l=a.map(d=>h$(e,d)).filter(d=>!!d);throw l.length?nt().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):nt().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 nt().getElementError("Unable to find a label with the text of: "+t,e)}return i};function h$(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var ZT=(e,t)=>"Found multiple elements with the text of: "+t,ew=Zn(ai(pa,ZT),pa.name,"query"),tw=ai(xo,ZT),rw=si(pr(xo,xo.name,"findAll")),nw=si(Zn(tw,xo.name,"find")),ow=pr(xo,xo.name,"getAll"),iw=Zn(tw,xo.name,"get"),aw=pr(pa,pa.name,"queryAll"),hc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Pn(t[0]),Lo("placeholder",...t)},m$=(e,t)=>"Found multiple elements with the placeholder text of: "+t,y$=(e,t)=>"Unable to find an element with the placeholder text of: "+t,sw=pr(hc,hc.name,"queryAll"),[lw,uw,cw,dw,pw]=An(hc,m$,y$),mc=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,ignore:l=nt().defaultIgnore,normalizer:d}=r===void 0?{}:r;Pn(e);let c=o?_n:Ti,p=Mo({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(Ia(g),g,t,p))},g$=(e,t)=>"Found multiple elements with the text: "+t,b$=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:i,selector:a}=r,l=Mo({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."},fw=pr(mc,mc.name,"queryAll"),[hw,mw,yw,gw,bw]=An(mc,g$,b$),yc=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;Pn(e);let l=n?_n:Ti,d=Mo({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(Ia(p),p,t,d)):l(c.value,c,t,d))},v$=(e,t)=>"Found multiple elements with the display value: "+t+".",E$=(e,t)=>"Unable to find an element with the display value: "+t+".",vw=pr(yc,yc.name,"queryAll"),[Ew,Tw,ww,_w,Sw]=An(yc,v$,E$),T$=/^(img|input|area|.+-.+)$/i,gc=function(e,t,r){return r===void 0&&(r={}),Pn(e),Lo("alt",e,t,r).filter(n=>T$.test(n.tagName))},w$=(e,t)=>"Found multiple elements with the alt text: "+t,_$=(e,t)=>"Unable to find an element with the alt text: "+t,Rw=pr(gc,gc.name,"queryAll"),[Ow,Pw,Aw,Cw,xw]=An(gc,w$,_$),S$=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},bc=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;Pn(e);let l=n?_n:Ti,d=Mo({collapseWhitespace:o,trim:i,normalizer:a});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,d)||S$(c)&&l(Ia(c),c,t,d))},R$=(e,t)=>"Found multiple elements with the title: "+t+".",O$=(e,t)=>"Unable to find an element with the title: "+t+".",Iw=pr(bc,bc.name,"queryAll"),[Nw,jw,qw,Mw,Lw]=An(bc,R$,O$),vc=function(e,t,r){let{hidden:n=nt().defaultHidden,name:o,description:i,queryFallbacks:a=!1,selected:l,busy:d,checked:c,pressed:p,current:f,level:g,expanded:b,value:{now:E,min:w,max:R,text:_}={}}=r===void 0?{}:r;if(Pn(e),l!==void 0){var A;if(((A=Pr.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 M;if(((M=Pr.roles.get(t))==null?void 0:M.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var L;if(((L=Pr.roles.get(t))==null?void 0:L.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(p!==void 0){var D;if(((D=Pr.roles.get(t))==null?void 0:D.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(f!==void 0){var I;if(((I=Pr.roles.get(t))==null?void 0:I.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(E!==void 0){var h;if(((h=Pr.roles.get(t))==null?void 0:h.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(R!==void 0){var C;if(((C=Pr.roles.get(t))==null?void 0:C.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(w!==void 0){var j;if(((j=Pr.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=Pr.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=Pr.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 B(N){return oe.has(N)||oe.set(N,zT(N)),oe.get(N)}return Array.from(e.querySelectorAll(P$(t))).filter(N=>{if(N.hasAttribute("role")){let V=N.getAttribute("role");if(a)return V.split(" ").filter(Boolean).some(te=>te===t);let[K]=V.split(" ");return K===t}return Rp(N).some(V=>V===t)}).filter(N=>{if(l!==void 0)return l===Qk(N);if(d!==void 0)return d===Zk(N);if(c!==void 0)return c===e$(N);if(p!==void 0)return p===t$(N);if(f!==void 0)return f===r$(N);if(b!==void 0)return b===n$(N);if(g!==void 0)return g===o$(N);if(E!==void 0||R!==void 0||w!==void 0||_!==void 0){let K=!0;if(E!==void 0&&K&&(K=E===i$(N)),R!==void 0&&K&&(K=R===a$(N)),w!==void 0&&K&&(K=w===s$(N)),_!==void 0){var V;K&&(K=_n((V=l$(N))!=null?V:null,N,_,te=>te))}return K}return!0}).filter(N=>o===void 0?!0:_n(Ep(N,{computedStyleSupportsPseudoElements:nt().computedStyleSupportsPseudoElements}),N,o,V=>V)).filter(N=>i===void 0?!0:_n(jT(N,{computedStyleSupportsPseudoElements:nt().computedStyleSupportsPseudoElements}),N,i,V=>V)).filter(N=>n===!1?hl(N,{isSubtreeInaccessible:B})===!1:!0)};function P$(e){var t;let r='*[role~="'+e+'"]',n=(t=Pr.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 Dw=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},A$=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+Dw(n)},C$=function(e,t,r){let{hidden:n=nt().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(nt()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Dw(o);let a="";Array.from(e.children).forEach(p=>{a+=KT(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()},kw=pr(vc,vc.name,"queryAll"),[$w,Bw,Fw,Uw,Vw]=An(vc,A$,C$),Ap=()=>nt().testIdAttribute,Ec=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Pn(t[0]),Lo(Ap(),...t)},x$=(e,t)=>"Found multiple elements by: ["+Ap()+'="'+t+'"]',I$=(e,t)=>"Unable to find an element by: ["+Ap()+'="'+t+'"]',Jw=pr(Ec,Ec.name,"queryAll"),[Hw,Gw,Ww,zw,Yw]=An(Ec,x$,I$),Is=Object.freeze({__proto__:null,queryAllByLabelText:aw,queryByLabelText:ew,getAllByLabelText:ow,getByLabelText:iw,findAllByLabelText:rw,findByLabelText:nw,queryByPlaceholderText:lw,queryAllByPlaceholderText:sw,getByPlaceholderText:cw,getAllByPlaceholderText:uw,findAllByPlaceholderText:dw,findByPlaceholderText:pw,queryByText:hw,queryAllByText:fw,getByText:yw,getAllByText:mw,findAllByText:gw,findByText:bw,queryByDisplayValue:Ew,queryAllByDisplayValue:vw,getByDisplayValue:ww,getAllByDisplayValue:Tw,findAllByDisplayValue:_w,findByDisplayValue:Sw,queryByAltText:Ow,queryAllByAltText:Rw,getByAltText:Aw,getAllByAltText:Pw,findAllByAltText:Cw,findByAltText:xw,queryByTitle:Nw,queryAllByTitle:Iw,getByTitle:qw,getAllByTitle:jw,findAllByTitle:Mw,findByTitle:Lw,queryByRole:$w,queryAllByRole:kw,getAllByRole:Bw,getByRole:Fw,findAllByRole:Uw,findByRole:Vw,queryByTestId:Hw,queryAllByTestId:Jw,getByTestId:Ww,getAllByTestId:Gw,findAllByTestId:zw,findByTestId:Yw});function Tc(e,t,r){return t===void 0&&(t=Is),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var Kw=e=>!e||Array.isArray(e)&&!e.length;function mm(e){if(Kw(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 N$(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){mm(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 mm(e()),Op(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!Kw(n))throw r},t)}var ym={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}}},gm={doubleClick:"dblClick"};function fa(e,t){return nt().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 ds(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&&j$(t,l),d!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:d}),Object.assign(t,c);let p=UT(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:E,detail:w,...R}=a;g.initEvent(e,b,E,w),Object.keys(R).forEach(_=>{g[_]=R[_]})}return["dataTransfer","clipboardData"].forEach(b=>{let E=a[b];typeof E=="object"&&(typeof p.DataTransfer=="function"?Object.defineProperty(g,b,{value:Object.getOwnPropertyNames(E).reduce((w,R)=>(Object.defineProperty(w,R,{value:E[R]}),w),new p.DataTransfer)}):Object.defineProperty(g,b,{value:E}))}),g}Object.keys(ym).forEach(e=>{let{EventType:t,defaultInit:r}=ym[e],n=e.toLowerCase();ds[e]=(o,i)=>ds(n,o,i,{EventType:t,defaultInit:r}),fa[e]=(o,i)=>fa(o,ds[e](o,i))});function j$(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(gm).forEach(e=>{let t=gm[e];fa[e]=function(){return fa[t](...arguments)}});function q$(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
  276. `)}function M$(e){return Rk.default.compressToEncodedURIComponent(q$(e))}function L$(e){return"https://testing-playground.com/#markup="+M$(e)}var D$=(e,t,r)=>Array.isArray(e)?e.forEach(n=>pc(n,t,r)):pc(e,t,r),k$=function(e){if(e===void 0&&(e=_p().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=L$(e.innerHTML);return console.log(`Open this URL in your browser
  277. `+t),t},bm={debug:D$,logTestingPlaygroundURL:k$},$$=typeof document<"u"&&document.body?Tc(document.body,Is,bm):Object.keys(Is).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),bm);function Ke(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 xr(e){var t;if(B$(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 ${F$(e)}`)}function B$(e){return e.nodeType===9}function F$(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Xw(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 Cp(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 zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Qw=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){zn(this,"kind",void 0),zn(this,"type",void 0),zn(this,"file",null),zn(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)}},U$=class extends Array{add(...e){let t=new Qw(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function za(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 V$(e){return new class{getData(t){var r;let n=(r=this.items.find(za(t,!0)))!==null&&r!==void 0?r:this.items.find(za(t,!1)),o="";return n==null||n.getAsString(i=>{o=i}),o}setData(t,r){let n=this.items.findIndex(za(t,!0)),o=new Qw(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(za(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(){zn(this,"dropEffect","none"),zn(this,"effectAllowed","uninitialized"),zn(this,"items",new U$),zn(this,"files",Cp(e,[]))}}}function xp(e,t=[]){let r=typeof e.DataTransfer>"u"?V$(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Cp(e,t)}),r}async function J$(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Zw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e_(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){Zw(this,"data",void 0),this.data=n}}(r)}var li=Symbol("Manage ClipboardSub");function vm(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=>Xw(i,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[e_(e,r)]}constructor(...r){super(...r),Zw(this,"items",[])}},{[li]:t})}function Ip(e){return!!(e!=null&&e[li])}function H$(e){if(Ip(e.navigator.clipboard))return e.navigator.clipboard[li];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=vm(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=vm(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[li]}function G$(e){Ip(e.navigator.clipboard)&&e.navigator.clipboard[li].resetClipboardStub()}function W$(e){Ip(e.navigator.clipboard)&&e.navigator.clipboard[li].detachClipboardStub()}async function z$(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=xp(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(l=>Xw(l,t.FileReader)));return o}async function t_(e,t){let r=xr(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let a=t.items[i],l=await J$(r,a);o.push(e_(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Ns=globalThis;typeof Ns.afterEach=="function"&&Ns.afterEach(()=>{typeof globalThis.window<"u"&&G$(globalThis.window)});typeof Ns.afterAll=="function"&&Ns.afterAll(()=>{typeof globalThis.window<"u"&&W$(globalThis.window)});var r_=["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 Np(e){return e.matches(r_)}function Y$(e){return new e.constructor(e.type,e)}function Sn(e){for(let r=e;r;r=r.parentElement)if(Ke(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Ke(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 ja(e){let t=e.activeElement;return t!=null&&t.shadowRoot?ja(t.shadowRoot):Sn(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function cu(e){var t;return(t=ja(e))!==null&&t!==void 0?t:e.body}function K$(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function Io(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function ha(e){let t=X$(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function X$(e){return e.nodeType===1?e:e.parentElement}var n_=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}(n_||{});function o_(e){return Ke(e,"button")||Ke(e,"input")&&e.type in n_}function ui(e){return a_(e)&&!e.readOnly||Io(e)}var i_=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}(i_||{});function a_(e){return Ke(e,"textarea")||Ke(e,"input")&&e.type in i_}function on(e){return s_(e)&&a_(e)}function Q$(e){return s_(e)&&o_(e)}function s_(e){return e.nodeType===1}function Z$(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&on(e)){let n=ha(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 ci(e,t){return nt().eventWrapper(e)}function eo(e){let t=K$(e,Np),r=ja(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(ci(t?()=>t.focus():()=>r==null?void 0:r.blur()),Z$(t??e.ownerDocument.body))}function eB(e){!Np(e)||ja(e.ownerDocument)!==e||ci(()=>e.blur())}var to={};to.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&Ke(n,"label")&&n.control;if(o&&o!==t)return()=>{Np(o)&&(eo(o),r.dispatchEvent(o,Y$(e)))};if(Ke(t,"input",{type:"file"}))return()=>{eB(t),t.dispatchEvent(new(xr(t)).Event("fileDialog")),eo(t)}};var di=Symbol("Displayed value in UI"),En=Symbol("Displayed selection in UI"),js=Symbol("Initial value to compare on blur");function tB(e){return typeof e=="object"&&di in e}function rB(e){return!!e&&typeof e=="object"&&En in e}function nB(e,t){e[js]===void 0&&(e[js]=e.value),e[di]=t,e.value=Object.assign(new String(t),{[di]:!0})}function an(e){return e[di]===void 0?e.value:String(e[di])}function jp(e){e[di]=void 0}function l_(e){e[js]=void 0}function oB(e){return e[js]}function iB(e,t){e[En]=t}function wi(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=an(e).length,i=f=>Math.max(0,Math.min(o,f)),a=n==="replace"||e[En]===void 0?i(r):e[En].anchorOffset,l=i(t),d=Math.min(a,l),c=Math.max(a,l);if(e[En]={anchorOffset:a,focusOffset:l},e.selectionStart===d&&e.selectionEnd===c)return;let p=Object.assign(new Number(d),{[En]:!0});try{e.setSelectionRange(p,c)}catch{}}function ma(e){var t,r,n;let o=(n=e[En])!==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 aB(e){return!!e[En]}function ps(e){e[En]=void 0}var qs=globalThis.parseInt;function sB(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=qs(t[0],10),n=qs(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Em(t,o)}return e.length===2?e:Em(t,2)}function Em(e,t){let r=e.slice(0,t),n=Math.min(qs(r,10),23),o=e.slice(t),i=qs(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function u_(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var c_=function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e}(c_||{});function lB(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 uB(e){return Ke(e,"textarea")||Ke(e,"input")&&e.type in c_}function d_(e,t,r,n){if(fs(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=Tm(e,t,r);if(o){if(fs(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(Ke(o,"br")){let i=Tm(o,void 0,r);return i?fs(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&Ke(i,"br")?{node:o.parentNode,offset:Ya(o)}:{node:i.parentNode,offset:Ya(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:Ya(o)}:void 0}else return{node:o.parentNode,offset:Ya(o)+(r>0?1:0)}}}function Tm(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&qp(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),dB(e,r===1?"next":"previous",cB)}function cB(e){if(fs(e))return!0;if(qp(e)){if(Ke(e,["input","textarea"]))return e.type!=="hidden";if(Ke(e,"br"))return!0}return!1}function Ya(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function qp(e){return e.nodeType===1}function fs(e){return e.nodeType===3}function dB(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=pB(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!qp(e.parentNode)||!Io(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function pB(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var ya=Symbol("Track programmatic changes for React workaround");function fB(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&xr(e).REACT_VERSION===17}function hB(e){fB(e)&&(e[ya]={previousValue:String(e.value),tracked:[]})}function mB(e,t){var r,n;(n=e[ya])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[ya]||(jp(e),wi(e,{focusOffset:t.length}))}function yB(e,t){var r;let n=e[ya];if(e[ya]=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||jp(e),aB(e)&&wi(e,{focusOffset:o?t:e.value.length})}function p_(e){let t=gB(e);if(t&&on(t))return{type:"input",selection:ma(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:ha(e)&&(r!=null&&r.anchorNode)&&ha(r.anchorNode)?"contenteditable":"default",selection:r}}function gB(e){return e.nodeType===1?e:e.parentElement}function bB(e){let t=p_(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 No({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(p_(e).type==="input")return wi(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 f_(e){return Ke(e,"input")&&["date","time"].includes(e.type)}function pi(e,t,r,n="insertText"){let o=bB(t);o&&(!f_(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?vB(e,t,o,r,n):EB(e,t,o,r,n)))}function vB(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=d_(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 EB(e,t,r,n,o){let i=n;if(uB(t)){let c=lB(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}=TB(i,t,r,o);a===d&&l===r.startOffset&&l===r.endOffset||Ke(t,"input",{type:"number"})&&!wB(a)||(nB(t,a),No({focusNode:t,anchorOffset:l,focusOffset:l}),f_(t)?u_(t,a)&&(wm(e,t,l,{}),e.dispatchUIEvent(t,"change"),l_(t)):wm(e,t,l,{data:n,inputType:o}))}function TB(e,t,{startOffset:r,endOffset:n},o){let i=an(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(Ke(t,"input",{type:"time"})){let g=sB(p);g!==""&&u_(t,g)&&(p=g,f=g.length)}return{oldValue:i,newValue:p,newOffset:f}}function wm(e,t,r,n){e.dispatchUIEvent(t,"input",n),yB(t,r)}function wB(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]))}to.cut=(e,t,r)=>()=>{ui(t)&&pi(r,t,"","deleteByCut")};function _B(e){return e?Io(e)?e.textContent:an(e):null}function SB(e){let t=xr(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 RB(e,t){let r=e.ownerDocument,n=r.querySelectorAll(r_),o=Array.from(n).filter(d=>d===e||!(Number(d.getAttribute("tabindex"))<0||Sn(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=Ke(e,"input",{type:"radio"})?e.name:void 0;o.forEach(d=>{let c=d;if(Ke(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=>!Ke(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||SB(a[d]))return a[d]}function _m(e,t){if(on(e)){let r=ma(e);No({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=d_(r.focusNode,r.focusOffset,t);n&&No({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function h_(e){if(on(e))return No({focusNode:e,anchorOffset:0,focusOffset:an(e).length});var t;let r=(t=ha(e))!==null&&t!==void 0?t:e.ownerDocument.body;No({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function OB(e){if(on(e))return ma(e).startOffset===0&&ma(e).endOffset===an(e).length;var t;let r=(t=ha(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 Fi(e,t,r){var n;if(on(e))return No({focusNode:e,anchorOffset:t,focusOffset:r});if(Io(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return No({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Ka(e,t,r){let n=xr(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(!Sn(o[i])){eo(o[i]),e.dispatchUIEvent(o[i],"click");return}}}to.keydown=(e,t,r)=>{var n,o;return(o=(n=Sm[e.key])===null||n===void 0?void 0:n.call(Sm,e,t,r))!==null&&o!==void 0?o:PB(e,t,r)};var Sm={ArrowDown:(e,t,r)=>{if(Ke(t,"input",{type:"radio"}))return()=>Ka(r,t,1)},ArrowLeft:(e,t,r)=>Ke(t,"input",{type:"radio"})?()=>Ka(r,t,-1):()=>_m(t,-1),ArrowRight:(e,t,r)=>Ke(t,"input",{type:"radio"})?()=>Ka(r,t,1):()=>_m(t,1),ArrowUp:(e,t,r)=>{if(Ke(t,"input",{type:"radio"}))return()=>Ka(r,t,-1)},Backspace:(e,t,r)=>{if(ui(t))return()=>{pi(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ui(t))return()=>{pi(r,t,"","deleteContentForward")}},End:(e,t)=>{if(Ke(t,["input","textarea"])||Io(t))return()=>{var r,n;let o=(n=(r=_B(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Fi(t,o,o)}},Home:(e,t)=>{if(Ke(t,["input","textarea"])||Io(t))return()=>{Fi(t,0,0)}},PageDown:(e,t)=>{if(Ke(t,["input"]))return()=>{let r=an(t).length;Fi(t,r,r)}},PageUp:(e,t)=>{if(Ke(t,["input"]))return()=>{Fi(t,0,0)}},Tab:(e,t,r)=>()=>{let n=RB(t,r.system.keyboard.modifiers.Shift);eo(n),on(n)&&wi(n,{anchorOffset:0,focusOffset:n.value.length})}},PB=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>h_(t)};to.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Ke(t,"button")||Ke(t,"input")&&AB.includes(t.type)||Ke(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Ke(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&&CB.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ui(t)){let n=e.key==="Enter"?Io(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
  278. `:e.key;return()=>pi(r,t,o,n)}};var AB=["button","color","file","image","reset","submit"],CB=["email","month","password","search","tel","text","url","week"];to.keyup=(e,t,r)=>{var n;return(n=Rm[e.key])===null||n===void 0?void 0:n.call(Rm,e,t,r)};var Rm={" ":(e,t,r)=>{if(o_(t))return()=>r.dispatchUIEvent(t,"click")}};to.paste=(e,t,r)=>{if(ui(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&pi(r,t,o,"insertFromPaste")}};var m_={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 y_(e){return m_[e].EventType}var xB=["MouseEvent","PointerEvent"];function IB(e){return xB.includes(y_(e))}function NB(e){return y_(e)==="KeyboardEvent"}var jB={ClipboardEvent:[MB],Event:[],FocusEvent:[Li,LB],InputEvent:[Li,DB],MouseEvent:[Li,du,Om],PointerEvent:[Li,du,Om,$B],KeyboardEvent:[Li,du,kB]};function g_(e,t,r){let n=xr(t),{EventType:o,defaultInit:i}=m_[e],a=new(qB(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,jB[o].forEach(function(c){c(a,l)}),a}function qB(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 E=(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 E{};var _;let A=(_=e.FocusEvent)!==null&&_!==void 0?_:class extends E{};var M;let L=(M=e.InputEvent)!==null&&M!==void 0?M:class extends E{};var D;let I=(D=e.KeyboardEvent)!==null&&D!==void 0?D:class extends E{};var h;let C=(h=e.MouseEvent)!==null&&h!==void 0?h:class extends E{};var j;let Z=(j=e.DragEvent)!==null&&j!==void 0?j:class extends C{};var G;let oe=(G=e.PointerEvent)!==null&&G!==void 0?G:class extends C{};var B;let N=(B=e.TouchEvent)!==null&&B!==void 0?B:class extends E{};return{Event:r,AnimationEvent:o,ClipboardEvent:a,PopStateEvent:d,ProgressEvent:p,TransitionEvent:g,UIEvent:E,CompositionEvent:R,FocusEvent:A,InputEvent:L,KeyboardEvent:I,MouseEvent:C,DragEvent:Z,PointerEvent:oe,TouchEvent:N}}function no(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 MB(e,{clipboardData:t}){no(e,{clipboardData:t})}function LB(e,{relatedTarget:t}){no(e,{relatedTarget:t})}function DB(e,{data:t,inputType:r,isComposing:n}){no(e,{data:t,isComposing:!!n,inputType:String(r)})}function Li(e,{view:t,detail:r}){no(e,{view:t,detail:Ct(r??0)})}function du(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}){no(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 kB(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){no(e,{key:String(t),code:String(r),location:Ct(n),repeat:!!o,isComposing:!!i,charCode:a})}function Om(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}){no(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 $B(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:l,twist:d,pointerType:c,isPrimary:p}){no(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 BB(e,t,r,n=!1){(IB(t)||NB(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=g_(t,e,r);return b_.call(this,e,o,n)}function b_(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=to[o])===null||n===void 0?void 0:n.call(to,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}}),ci(()=>e.dispatchEvent(t)),a||i(),!a}return ci(()=>e.dispatchEvent(t))}function To(e,t,r){let n=g_(t,e,r);ci(()=>e.dispatchEvent(n))}var Pm=Symbol("patched focus/blur methods");function v_(e){if(e.prototype[Pm])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>o},blur:{configurable:!0,get:()=>i},[Pm]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let l=Am(this.ownerDocument);if(l===this)return;let d=Symbol("focus call");n=d,l&&(r.call(l),To(l,"blur",{relatedTarget:this}),To(l,"focusout",{relatedTarget:n===d?this:null})),n===d&&(t.call(this,a),To(this,"focus",{relatedTarget:l})),n===d&&To(this,"focusin",{relatedTarget:l})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=Am(this.ownerDocument);a===this&&(n=Symbol("blur call"),r.call(this),To(a,"blur",{relatedTarget:null}),To(a,"focusout",{relatedTarget:null}))}}function Am(e){let t=ja(e);return(t==null?void 0:t.tagName)==="BODY"?null:t}var pu=Symbol("Interceptor for programmatical calls");function Yo(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][pu])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[pu]=pu,Object.defineProperty(e,t,{...o??n,[i]:a})}function FB(e){Yo(e,"value",function(t){let r=tB(t);return r&&hB(this),{applyNative:!!r,realArgs:UB(this,t),then:r?void 0:()=>mB(this,String(t))}})}function UB(e,t){return Ke(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function VB(e){Yo(e,"setSelectionRange",function(t,...r){let n=rB(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:ps(e)}}),Yo(e,"selectionStart",function(t){return{realArgs:t,then:()=>ps(e)}}),Yo(e,"selectionEnd",function(t){return{realArgs:t,then:()=>ps(e)}}),Yo(e,"select",function(){return{realArgs:[],then:()=>iB(e,{anchorOffset:0,focusOffset:an(e).length})}})}function JB(e){Yo(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{jp(e),ps(e)}}})}var ei=Symbol("Node prepared with document state workarounds");function E_(e){e[ei]||(e.addEventListener("focus",t=>{let r=t.target;Cm(r)},{capture:!0,passive:!0}),e.activeElement&&Cm(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=oB(r);n!==void 0&&(r.value!==n&&To(r,"change"),l_(r))},{capture:!0,passive:!0}),e[ei]=ei)}function Cm(e){e[ei]||(Ke(e,["input","textarea"])&&(FB(e),VB(e),JB(e)),e[ei]=ei)}function HB(e){return GB(e)?e:e.ownerDocument}function GB(e){return e.nodeType===9}var gr=function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e}({});function Ui(e,t){e.levelRefs[t]={}}function Xa(e,t){return e.levelRefs[t]}function fi(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var hs=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 yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xr=function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e}({}),WB=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function xm(e){return WB.includes(e)}var zB=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Im(e){return zB.includes(e)}var YB=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=cu(e.config.document);this.setKeydownTarget(o),this.pressed.add(n,t),xm(r)&&(this.modifiers[r]=!0);let i=e.dispatchUIEvent(o,"keydown",{key:r,code:n});Im(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),i&&this.pressed.setUnprevented(n),i&&this.hasKeyPress(r)&&e.dispatchUIEvent(cu(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),xm(r)&&!this.pressed.values().find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(cu(e.config.document),"keyup",{key:r,code:n},!o),Im(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){yo(this,"system",void 0),yo(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}),yo(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(){yo(this,"registry",{})}}),yo(this,"carryChar",""),yo(this,"lastKeydownTarget",void 0),yo(this,"modifierLockStart",{}),this.system=e}},KB=[..."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:Xr.LEFT},{code:"AltRight",key:"Alt",location:Xr.RIGHT},{code:"ShiftLeft",key:"Shift",location:Xr.LEFT},{code:"ShiftRight",key:"Shift",location:Xr.RIGHT},{code:"ControlLeft",key:"Control",location:Xr.LEFT},{code:"ControlRight",key:"Control",location:Xr.RIGHT},{code:"MetaLeft",key:"Meta",location:Xr.LEFT},{code:"MetaRight",key:"Meta",location:Xr.RIGHT},{code:"OSLeft",key:"OS",location:Xr.LEFT},{code:"OSRight",key:"OS",location:Xr.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"}],XB=[{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 QB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var T_=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=wc(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=wc(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(){QB(this,"pressed",{})}},Nm={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function wc(e=0){return e in Nm?Nm[e]:Number(e)}var jm={1:2,2:1};function _c(e){return e=wc(e),e in jm?jm[e]:e}function ZB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var eF=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(){ZB(this,"pressedKeys",new Set)}};function zi(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 Sc({target:e,node:t,offset:r}){return on(e)?{node:e,offset:r??an(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:w_(e,r)}function w_(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 w_(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 tF({document:e,target:t,clickCount:r,node:n,offset:o}){if(Q$(t))return;let i=on(t),a=String(i?an(t):t.textContent),[l,d]=n?[o,o]:rF(a,o,r);if(i)return wi(t,{anchorOffset:l??a.length,focusOffset:d??a.length}),{node:t,start:l??0,end:d??a.length};{let{node:c,offset:p}=Sc({target:t,node:n,offset:l}),{node:f,offset:g}=Sc({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 E=e.getSelection();return E==null||E.removeAllRanges(),E==null||E.addRange(b.cloneRange()),b}}function rF(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 nF(e,{document:t,target:r,node:n,offset:o}){let i=Sc({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;wi(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 __(e,t){var r,n,o,i,a,l,d,c,p,f,g,b,E,w,R,_,A,M,L,D,I,h,C,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)||((E=e.coords)===null||E===void 0?void 0:E.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)!==((M=t.coords)===null||M===void 0?void 0:M.screenX)||((L=e.coords)===null||L===void 0?void 0:L.screenY)!==((D=t.coords)===null||D===void 0?void 0:D.screenY)||((I=e.caret)===null||I===void 0?void 0:I.node)!==((h=t.caret)===null||h===void 0?void 0:h.node)||((C=e.caret)===null||C===void 0?void 0:C.offset)!==((j=t.caret)===null||j===void 0?void 0:j.offset)}function go(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oF=class{move(e,t,r){let n=this.position,o=this.getTarget(e);if(this.position=t,!__(n,t))return;let i=this.getTarget(e),a=this.getEventInit("mousemove"),[l,d]=zi(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=Sn(o);!r&&(a||e.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(e,i.detail),eo(o)),!a&&_c(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(!Sn(o)){if(!r){let a=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(o,"mouseup",a),this.endSelecting()}let i=zi(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=_c(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=tF({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&&nF(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(){go(this,"position",{}),go(this,"buttons",new T_),go(this,"selecting",void 0),go(this,"buttonDownTarget",{}),go(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(){go(this,"down",{}),go(this,"count",{})}})}};function Ms(e,t){var r;return((r=S_(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function iF(e){let t=xr(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 qm=Symbol("Last check for pointer-events");function S_(e,t){let r=t[qm];if(!(e.config.pointerEventsCheck!==hs.Never&&(!r||Mm(e.config.pointerEventsCheck,hs.EachApiCall)&&r[gr.Call]!==Xa(e,gr.Call)||Mm(e.config.pointerEventsCheck,hs.EachTrigger)&&r[gr.Trigger]!==Xa(e,gr.Trigger))))return r==null?void 0:r.result;let n=iF(t);return t[qm]={[gr.Call]:Xa(e,gr.Call),[gr.Trigger]:Xa(e,gr.Trigger),result:n},n}function Vi(e,t){let r=S_(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\`:`,"",aF(r.tree)].join(`
  279. `))}function aF(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,sF(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 sF(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(Ke(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(Ke(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 Mm(e,t){return(e&t)>0}function hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var lF=class{init(e){let t=this.getTarget(e),[,r]=zi(null,t),n=this.getEventInit();return Vi(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,!__(r,t))return;let o=this.getTarget(e),i=this.getEventInit(-1),[a,l]=zi(n,o);return{leave:()=>{Ms(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",i),a.forEach(d=>e.dispatchUIEvent(d,"pointerleave",i)))},enter:()=>{Vi(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);Vi(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);Vi(e,r),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit(t))}release(e){let t=this.getTarget(e),[r]=zi(t,null),n=this.getEventInit();Ms(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:_c(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:r},n){hn(this,"pointerId",void 0),hn(this,"pointerType",void 0),hn(this,"isPrimary",void 0),hn(this,"buttons",void 0),hn(this,"isMultitouch",!1),hn(this,"isCancelled",!1),hn(this,"isDown",!1),hn(this,"isPrevented",!1),hn(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r,this.buttons=n}};function Fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var uF=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){Fn(this,"system",void 0),Fn(this,"mouse",void 0),Fn(this,"buttons",void 0),Fn(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 eF}constructor(){Fn(this,"registry",{})}}),Fn(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 lF({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(){Fn(this,"registry",{}),Fn(this,"nextId",1)}}),this.system=e,this.buttons=new T_,this.mouse=new oF,this.pointers.new("mouse","mouse",this.buttons)}};function Lm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var R_=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(){Lm(this,"keyboard",new YB(this)),Lm(this,"pointer",new uF(this))}};async function cF(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function dF(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function pF(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function fF(e){return this.pointer({target:e})}async function hF(e){return Vi(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function mF({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Mp=function(e){return e["{"]="}",e["["]="]",e}(Mp||{});function O_(e,t){let r=0,n=e[r]in Mp?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?yF(e,r,t):gF(e,r,o,t)}}function yF(e,t,r){let n=e[t];return P_(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function gF(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];P_(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=Mp[r],b=e[t]===g?g:"";if(!b)throw new Error(A_([!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:bF(f,p)}}function P_(e,t,r,n){if(!e)throw new Error(A_("key descriptor",t[r],t,n))}function bF(e,t){if(e)return e==="/";if(t)return!1}function A_(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 vF(e,t){let r=[];do{let{type:o,descriptor:i,consumedLength:a,releasePrevious:l,releaseSelf:d=!0,repeat:c}=O_(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 EF(e){let t=vF(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await fi(this.config),await TF(this,t[r])}async function TF(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 fi(e.config);n&&await i.keyboard.keyup(e,t)}}async function wF(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function C_(e){let t=on(e)?{"text/plain":_F(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=xp(xr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function _F(e){let t=ma(e);return an(e).substring(t.startOffset,t.endOffset)}async function SF(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=C_(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await t_(e,n),n}async function RF(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=C_(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await t_(r.ownerDocument,n),n}async function OF(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"?PF(t,e):e)!==null&&o!==void 0?o:await z$(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}function PF(e,t){let r=xp(xr(e));return r.setData("text",t),r}function Dm(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=O_(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 AF(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Dm(t,n)):"keys"in n?r.push(...Dm(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await fi(this.config),await CF(this,r[n]);this.system.pointer.resetClickCount()}async function CF(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:xF(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:km(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:km(t)||i==null||(n=i.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Ui(e,gr.Trigger),await e.system.pointer.release(e,t.keyDef,p)),t.releasePrevious||(Ui(e,gr.Trigger),await e.system.pointer.press(e,t.keyDef,p),t.releaseSelf&&(Ui(e,gr.Trigger),await e.system.pointer.release(e,t.keyDef,p)))):(Ui(e,gr.Trigger),await e.system.pointer.move(e,o,p))}function km(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 xF(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 IF(e){if(!ui(e)||Sn(e))throw new Error("clear()` is only supported on editable elements.");if(eo(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(h_(e),!OB(e))throw new Error("The element content to be cleared could not be selected.");pi(this,e,"","deleteContentBackward")}async function NF(e,t){return x_.call(this,!0,e,t)}async function jF(e,t){return x_.call(this,!1,e,t)}async function x_(e,t,r){if(!e&&!t.multiple)throw nt().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 nt().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!Sn(l));if(Sn(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(Ke(t,"select"))if(t.multiple)for(let l of i){let d=this.config.pointerEventsCheck===0?!0:Ms(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")),eo(t),d&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),a(l),d&&this.dispatchUIEvent(l,"click"),await fi(this.config)}else if(i.length===1){let l=this.config.pointerEventsCheck===0?!0:Ms(this,t);l?await this.click(t):eo(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 fi(this.config)}else throw nt().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 nt().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function qF(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&&Fi(e,o,i??o),await this.keyboard(t),n||await wF(this))}var $m=Symbol("files and value properties are mocked");function fu(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function MF(e,t){var r;(r=e[$m])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){fu(e,"type",n),fu(e,"value",o),fu(e,"files",i)}e[$m]={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 LF(e,t){let r=Ke(e,"label")?e.control:e;if(!r||!Ke(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(Sn(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||DF(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))})||(MF(r,Cp(xr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function Qa(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function DF(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return Qa(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Qa(e.name).endsWith(n):r.includes(n)?Qa(e.type).startsWith(n.replace("*","")):Qa(e.type)===n)}var Bm={click:cF,dblClick:dF,tripleClick:pF,hover:fF,unhover:hF,tab:mF,keyboard:EF,copy:SF,cut:RF,paste:OF,pointer:AF,clear:IF,deselectOptions:jF,selectOptions:NF,type:qF,upload:LF};function kF(e){return nt().asyncWrapper(e)}var I_={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:KB,pointerMap:XB,pointerEventsCheck:hs.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},$F={...I_,writeToClipboard:!0};function N_(e={},t=$F,r){let n=VF(e,r,t);return{...t,...e,document:n}}function BF(e={}){let t=N_(e);E_(t.document),v_(xr(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return H$(n),Lp(t).api}function rr({keyboardState:e,pointerState:t,...r}={},n){let o=N_(r,I_,n);E_(o.document),v_(xr(o.document).HTMLElement);var i;let a=(i=t??e)!==null&&i!==void 0?i:new R_;return{api:Lp(o,a).api,system:a}}function FF(e){return Lp({...this.config,...e},this.system).api}function UF(e,t){function r(...n){return Ui(e,gr.Call),kF(()=>t.apply(e,n).then(async o=>(await fi(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Lp(e,t=new R_){let r={};return Object.assign(r,{config:e,dispatchEvent:b_.bind(r),dispatchUIEvent:BB.bind(r),system:t,levelRefs:{},...Bm}),{instance:r,api:{...Object.fromEntries(Object.entries(Bm).map(([n,o])=>[n,UF(r,o)])),setup:FF.bind(r)}}}function VF(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&HB(t))!==null&&o!==void 0?o:r.document}var j_={};fr(j_,{clear:()=>JF,click:()=>HF,copy:()=>GF,cut:()=>WF,dblClick:()=>zF,deselectOptions:()=>YF,hover:()=>KF,keyboard:()=>XF,paste:()=>ZF,pointer:()=>QF,selectOptions:()=>eU,tab:()=>iU,tripleClick:()=>tU,type:()=>rU,unhover:()=>nU,upload:()=>oU});function JF(e){return rr().api.clear(e)}function HF(e,t={}){return rr(t,e).api.click(e)}function GF(e={}){return rr(e).api.copy()}function WF(e={}){return rr(e).api.cut()}function zF(e,t={}){return rr(t).api.dblClick(e)}function YF(e,t,r={}){return rr(r).api.deselectOptions(e,t)}function KF(e,t={}){return rr(t).api.hover(e)}async function XF(e,t={}){let{api:r,system:n}=rr(t);return r.keyboard(e).then(()=>n)}async function QF(e,t={}){let{api:r,system:n}=rr(t);return r.pointer(e).then(()=>n)}function ZF(e,t){return rr(t).api.paste(e)}function eU(e,t,r={}){return rr(r).api.selectOptions(e,t)}function tU(e,t={}){return rr(t).api.tripleClick(e)}function rU(e,t,r={}){return rr(r,e).api.type(e,t,r)}function nU(e,t={}){let{api:r,system:n}=rr(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function oU(e,t,r={}){return rr(r).api.upload(e,t)}function iU(e={}){return rr().api.tab(e)}var q_={...j_,setup:BF},Rc=_a({...RT},{getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper"),intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Rc.screen=new Proxy(Rc.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"))&&It.warn(tt`
  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:aU,configure:sU,createEvent:lU,fireEvent:uU,findAllByAltText:cU,findAllByDisplayValue:dU,findAllByLabelText:pU,findAllByPlaceholderText:fU,findAllByRole:hU,findAllByTestId:mU,findAllByText:yU,findAllByTitle:gU,findByAltText:bU,findByDisplayValue:vU,findByLabelText:EU,findByPlaceholderText:TU,findByRole:wU,findByTestId:_U,findByText:SU,findByTitle:RU,getAllByAltText:OU,getAllByDisplayValue:PU,getAllByLabelText:AU,getAllByPlaceholderText:CU,getAllByRole:xU,getAllByTestId:IU,getAllByText:NU,getAllByTitle:jU,getByAltText:qU,getByDisplayValue:MU,getByLabelText:LU,getByPlaceholderText:DU,getByRole:kU,getByTestId:$U,getByText:BU,getByTitle:FU,getConfig:UU,getDefaultNormalizer:VU,getElementError:JU,getNodeText:HU,getQueriesForElement:GU,getRoles:WU,getSuggestedQuery:zU,isInaccessible:YU,logDOM:KU,logRoles:XU,prettyDOM:QU,queries:ZU,queryAllByAltText:eV,queryAllByAttribute:tV,queryAllByDisplayValue:rV,queryAllByLabelText:nV,queryAllByPlaceholderText:oV,queryAllByRole:iV,queryAllByTestId:aV,queryAllByText:sV,queryAllByTitle:lV,queryByAltText:uV,queryByAttribute:cV,queryByDisplayValue:dV,queryByLabelText:pV,queryByPlaceholderText:fV,queryByRole:hV,queryByTestId:mV,queryByText:yV,queryByTitle:gV,queryHelpers:bV,screen:vV,waitFor:EV,waitForElementToBeRemoved:TV,within:M_,prettyFormat:wV}=Rc,L_=q_,{userEvent:_V}=_a({userEvent:q_},{intercept:!0,getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper")}),{expect:SV}=_a({expect:bT},{getKeys:(e,t)=>{if("constructor"in e&&e.constructor===U){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"}),RV={mock:()=>{}},Fm=!1,OV=e=>{var r;let{parameters:t}=e;(r=t==null?void 0:t.actions)!=null&&r.disable||Fm||(vT((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)))&&qa(i)(o)}),Fm=!0)},PV=[OV],Um=()=>({...Cb,...Ib}),Ls="backgrounds",AV={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:$r}=globalThis,CV=()=>{var e;return globalThis!=null&&globalThis.matchMedia?!!((e=globalThis.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&e.matches):!1},Vm=e=>{(Array.isArray(e)?e:[e]).forEach(xV)},xV=e=>{if(!$r)return;let t=$r.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},IV=(e,t)=>{if(!$r)return;let r=$r.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=$r.createElement("style");n.setAttribute("id",e),n.innerHTML=t,$r.head.appendChild(n)}},NV=(e,t,r)=>{var o;if(!$r)return;let n=$r.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let i=$r.createElement("style");i.setAttribute("id",e),i.innerHTML=t;let a=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,l=$r.getElementById(a);l?(o=l.parentElement)==null||o.insertBefore(i,l):$r.head.appendChild(i)}},jV={cellSize:100,cellAmount:10,opacity:.8},Jm="addon-backgrounds",Hm="addon-backgrounds-grid",qV=CV()?"":"transition: background-color 0.3s;",MV=(e,t)=>{let{globals:r={},parameters:n={},viewMode:o,id:i}=t,{options:a=AV,disable:l,grid:d=jV}=n[Ls]||{},c=r[Ls]||{},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,E=!!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:M,cellSize:L,opacity:D,offsetX:I=A,offsetY:h=A}=d,C=o==="docs"?`${Jm}-docs-${i}`:`${Jm}-color`,j=o==="docs"?i:null;Ao(()=>{let G=`
  286. ${w} {
  287. background: ${g} !important;
  288. ${qV}
  289. }`;if(!E){Vm(C);return}NV(C,G,j)},[w,C,j,E,g]);let Z=o==="docs"?`${Hm}-docs-${i}`:`${Hm}`;return Ao(()=>{if(!b){Vm(Z);return}let G=[`${L*M}px ${L*M}px`,`${L*M}px ${L*M}px`,`${L}px ${L}px`,`${L}px ${L}px`].join(", "),oe=`
  290. ${R} {
  291. background-size: ${G} !important;
  292. background-position: ${I}px ${h}px, ${I}px ${h}px, ${I}px ${h}px, ${I}px ${h}px !important;
  293. background-blend-mode: difference !important;
  294. background-image: linear-gradient(rgba(130, 130, 130, ${D}) 1px, transparent 1px),
  295. linear-gradient(90deg, rgba(130, 130, 130, ${D}) 1px, transparent 1px),
  296. linear-gradient(rgba(130, 130, 130, ${D/2}) 1px, transparent 1px),
  297. linear-gradient(90deg, rgba(130, 130, 130, ${D/2}) 1px, transparent 1px) !important;
  298. }
  299. `;IV(Z,oe)},[M,L,R,Z,b,I,h,D]),e()},Fy,LV=(Fy=globalThis.FEATURES)!=null&&Fy.backgrounds?[MV]:[],DV={[Ls]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},kV={[Ls]:{value:void 0,grid:!1}},Gm=()=>({decorators:LV,parameters:DV,initialGlobals:kV}),{step:$V}=_a({step:async(e,t,r)=>t(r)},{intercept:!0}),Wm=()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:$V}),BV=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")},FV=async({reporting:e,canvasElement:t,globals:r})=>{var n;try{if(!((n=r.renderAnalysis)!=null&&n.enabled))return;let o=BV(t.firstElementChild??t);o&&e.addReport({type:"render-analysis",version:1,result:{emptyRender:o},status:"warning"})}catch{}},zm=()=>({afterEach:FV}),gl="storybook/highlight",UV=`${gl}/add`,VV=`${gl}/remove`,JV=`${gl}/reset`,HV=`${gl}/scroll-into-view`,Ym=2147483647,Wn=28,Km={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"]},GV="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),kt=(e,t={},r)=>{let n=GV.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},Za=e=>Km[e]&&kt("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},Km[e].map(t=>kt("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),WV=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}},zV=e=>e instanceof Function,Di=new Map,bo=new Map,es=new Map,mn=e=>{let t=Symbol();return bo.set(t,[]),Di.set(t,e),{get:()=>Di.get(t),set:r=>{var i;let n=Di.get(t),o=zV(r)?r(n):r;o!==n&&(Di.set(t,o),(i=bo.get(t))==null||i.forEach(a=>{var l;(l=es.get(a))==null||l(),es.set(a,a(o))}))},subscribe:r=>{var n;return(n=bo.get(t))==null||n.push(r),()=>{let o=bo.get(t);o&&bo.set(t,o.filter(i=>i!==r))}},teardown:()=>{var r;(r=bo.get(t))==null||r.forEach(n=>{var o;(o=es.get(n))==null||o(),es.delete(n)}),bo.delete(t),Di.delete(t)}}},Xm=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},YV=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),Qm=(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},Zm=(e,t,r)=>{if(!t||!r)return!1;let{left:n,top:o,width:i,height:a}=e;a<Wn&&(o=o-Math.round((Wn-a)/2),a=Wn),i<Wn&&(n=n-Math.round((Wn-i)/2),i=Wn),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},KV=(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,E=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,{...E!==n&&{left:`${E}px`},...g!==o&&{top:`${g}px`}})},ey=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},XV=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},QV=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}}),Et="storybook-highlights-menu",ty="storybook-highlights-root",ZV="storybook-root",eJ=e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=mn([]),n=mn(new Map),o=mn([]),i=mn(),a=mn(),l=mn([]),d=mn([]),c=mn(),p=mn(),f=t.getElementById(ty);r.subscribe(()=>{f||(f=kt("div",{id:ty}),t.body.appendChild(f))}),r.subscribe(h=>{let C=t.getElementById(ZV);if(!C)return;n.set(Xm(h));let j=new MutationObserver(()=>n.set(Xm(h)));return j.observe(C,{subtree:!0,childList:!0}),()=>{j.disconnect()}}),n.subscribe(h=>{let C=()=>requestAnimationFrame(()=>o.set(YV(h))),j=new ResizeObserver(C);j.observe(t.body),Array.from(h.keys()).forEach(G=>j.observe(G));let Z=Array.from(t.body.querySelectorAll("*")).filter(G=>{let{overflow:oe,overflowX:B,overflowY:N}=window.getComputedStyle(G);return["auto","scroll"].some(V=>[oe,B,N].includes(V))});return Z.forEach(G=>G.addEventListener("scroll",C)),()=>{j.disconnect(),Z.forEach(G=>G.removeEventListener("scroll",C))}}),n.subscribe(h=>{let C=Array.from(h.keys()).filter(({style:Z})=>Z.position==="sticky"),j=()=>requestAnimationFrame(()=>{o.set(Z=>Z.map(G=>{if(C.includes(G.element)){let{top:oe,left:B}=G.element.getBoundingClientRect();return{...G,top:oe+window.scrollY,left:B+window.scrollX}}return G}))});return t.addEventListener("scroll",j),()=>t.removeEventListener("scroll",j)}),n.subscribe(h=>{l.set(C=>C.filter(({element:j})=>h.has(j)))}),l.subscribe(h=>{h.length?(p.set(C=>h.some(j=>j.element===(C==null?void 0:C.element))?C:void 0),c.set(C=>h.some(j=>j.element===(C==null?void 0:C.element))?C:void 0)):(p.set(void 0),c.set(void 0),i.set(void 0))});let g=new Map(new Map);r.subscribe(h=>{h.forEach(({keyframes:C})=>{if(C){let j=g.get(C);j||(j=t.createElement("style"),j.setAttribute("data-highlight","keyframes"),g.set(C,j),t.head.appendChild(j)),j.innerHTML=C}}),g.forEach((C,j)=>{h.some(Z=>Z.keyframes===j)||(C.remove(),g.delete(j))})});let b=new Map(new Map);o.subscribe(h=>{h.forEach(C=>{let j=b.get(C.element);if(f&&!j){let Z={popover:"manual","data-highlight-dimensions":`w${C.width.toFixed(0)}h${C.height.toFixed(0)}`,"data-highlight-coordinates":`x${C.left.toFixed(0)}y${C.top.toFixed(0)}`};j=f.appendChild(kt("div",Z,[kt("div")])),b.set(C.element,j)}}),b.forEach((C,j)=>{h.some(({element:Z})=>Z===j)||(C.remove(),b.delete(j))})}),o.subscribe(h=>{let C=h.filter(Z=>Z.menu);if(!C.length)return;let j=Z=>{requestAnimationFrame(()=>{let G=t.getElementById(Et),oe={x:Z.pageX,y:Z.pageY};if(G&&!Qm(G,oe)){let B=C.filter(N=>{let V=b.get(N.element);return Zm(N,V,oe)});i.set(B.length?oe:void 0),l.set(B)}})};return t.addEventListener("click",j),()=>t.removeEventListener("click",j)});let E=()=>{let h=t.getElementById(Et),C=a.get();!C||h&&Qm(h,C)||d.set(j=>{let Z=o.get().filter(N=>{let V=b.get(N.element);return Zm(N,V,C)}),G=j.filter(N=>Z.includes(N)),oe=Z.filter(N=>!j.includes(N)),B=j.length-G.length;return oe.length||B?[...G,...oe]:j})};a.subscribe(E),o.subscribe(E);let w=()=>{let h=p.get(),C=h?[h]:l.get(),j=C.length===1?C[0]:c.get(),Z=i.get()!==void 0;o.get().forEach(G=>{var B;let oe=b.get(G.element);if(oe){let N=j===G,V=Z?j?N:C.includes(G):(B=d.get())==null?void 0:B.includes(G);Object.assign(oe.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...G.styles,...V?G.hoverStyles:{},...N?G.focusStyles:{},position:getComputedStyle(G.element).position==="fixed"?"fixed":"absolute",zIndex:Ym-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:`${Wn}px`,minWidth:`${Wn}px`,boxSizing:"content-box",padding:oe.style.outlineWidth||"0px"}),ey(oe)}})};o.subscribe(w),l.subscribe(w),d.subscribe(w),c.subscribe(w),p.subscribe(w);let R=()=>{var G;if(!f)return;let h=t.getElementById(Et);if(h)h.innerHTML="";else{let oe={id:Et,popover:"manual"};h=f.appendChild(kt("div",oe)),f.appendChild(kt("style",{},[`
  300. #${Et} {
  301. position: absolute;
  302. z-index: ${Ym};
  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. #${Et} ul {
  316. list-style: none;
  317. margin: 0;
  318. padding: 0;
  319. }
  320. #${Et} > ul {
  321. max-height: 300px;
  322. overflow-y: auto;
  323. padding: 4px 0;
  324. }
  325. #${Et} li {
  326. padding: 0 4px;
  327. margin: 0;
  328. }
  329. #${Et} 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. #${Et} 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. #${Et} button:focus-visible {
  347. outline-color: #029CFD;
  348. }
  349. #${Et} button:hover {
  350. background: rgba(2, 156, 253, 0.07);
  351. color: #029CFD;
  352. cursor: pointer;
  353. }
  354. #${Et} li code {
  355. white-space: nowrap;
  356. overflow: hidden;
  357. text-overflow: ellipsis;
  358. line-height: 16px;
  359. font-size: 11px;
  360. }
  361. #${Et} li svg {
  362. flex-shrink: 0;
  363. margin: 1px;
  364. color: #73828C;
  365. }
  366. #${Et} li > button:hover svg, #${Et} li > button:focus-visible svg {
  367. color: #029CFD;
  368. }
  369. #${Et} .element-list li svg {
  370. display: none;
  371. }
  372. #${Et} li.selectable svg, #${Et} li.selected svg {
  373. display: block;
  374. }
  375. #${Et} .menu-list {
  376. border-top: 1px solid rgba(38, 85, 115, 0.15);
  377. }
  378. #${Et} .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. #${Et} .menu-items, #${Et} .menu-items li {
  384. padding: 0;
  385. }
  386. #${Et} .menu-item {
  387. display: flex;
  388. }
  389. #${Et} .menu-item-content {
  390. display: flex;
  391. flex-direction: column;
  392. flex-grow: 1;
  393. }
  394. `]))}let C=p.get(),j=C?[C]:l.get();if(j.length&&(h.style.position=getComputedStyle(j[0].element).position==="fixed"?"fixed":"absolute",h.appendChild(kt("ul",{class:"element-list"},j.map(oe=>{var K;let B=j.length>1&&!!((K=oe.menu)!=null&&K.some(te=>te.some(fe=>!fe.selectors||fe.selectors.some(_e=>oe.selectors.includes(_e))))),N=B?{class:"selectable",onClick:()=>p.set(oe),onMouseEnter:()=>c.set(oe),onMouseLeave:()=>c.set(void 0)}:C?{class:"selected",onClick:()=>p.set(void 0)}:{},V=B||C;return kt("li",N,[kt(V?"button":"div",V?{type:"button"}:{},[C?Za("chevronLeft"):null,kt("code",{},[oe.element.outerHTML]),B?Za("chevronRight"):null])])})))),p.get()||l.get().length===1){let oe=p.get()||l.get()[0],B=(G=oe.menu)==null?void 0:G.filter(N=>N.some(V=>!V.selectors||V.selectors.some(K=>oe.selectors.includes(K))));B!=null&&B.length&&h.appendChild(kt("ul",{class:"menu-list"},B.map(N=>kt("li",{},[kt("ul",{class:"menu-items"},N.map(({id:V,title:K,description:te,iconLeft:fe,iconRight:_e,clickEvent:Re})=>{let Ie=Re&&(()=>e.emit(Re,V,QV(oe)));return kt("li",{},[kt(Ie?"button":"div",Ie?{class:"menu-item",type:"button",onClick:Ie}:{class:"menu-item"},[fe?Za(fe):null,kt("div",{class:"menu-item-content"},[kt(te?"strong":"span",{},[K]),te&&kt("span",{},[te])]),_e?Za(_e):null])])}))]))))}let Z=i.get();Z?(Object.assign(h.style,{display:"block",left:`${h.style.position==="fixed"?Z.x-window.scrollX:Z.x}px`,top:`${h.style.position==="fixed"?Z.y-window.scrollY:Z.y}px`}),ey(h),requestAnimationFrame(()=>KV(h,Z,{topOffset:15,centered:!0}))):(XV(h),Object.assign(h.style,{display:"none"}))};l.subscribe(R),p.subscribe(R);let _=h=>{let C=WV(h);r.set(j=>{var G;let Z=C.id?j.filter(oe=>oe.id!==C.id):j;return(G=C.selectors)!=null&&G.length?[...Z,C]:Z})},A=h=>{h&&r.set(C=>C.filter(j=>j.id!==h))},M=()=>{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)},L,D=(h,C)=>{let j="scrollIntoView-highlight";clearTimeout(L),A(j);let Z=t.querySelector(h);if(!Z){console.warn(`Cannot scroll into view: ${h} not found`);return}Z.scrollIntoView({behavior:"smooth",block:"center",...C});let G=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(oe=>[...oe,{id:j,priority:1e3,selectors:[h],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. }`}]),L=setTimeout(()=>A(j),3500)},I=h=>{requestAnimationFrame(()=>a.set({x:h.pageX,y:h.pageY}))};t.body.addEventListener("mousemove",I),e.on(UV,_),e.on(VV,A),e.on(JV,M),e.on(HV,D),e.on(Po,({newPhase:h})=>{h==="loading"&&M()})},Uy;(Uy=globalThis==null?void 0:globalThis.FEATURES)!=null&&Uy.highlight&&(dr!=null&&dr.ready)&&dr.ready().then(eJ);var ry=()=>({}),tJ="measureEnabled";function D_(){let e=we.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function rJ(){let e=we.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");wn(t!=null);let{width:r,height:n}=D_();return Oc(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",we.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}function Oc(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let o=we.window.devicePixelRatio;e.width=Math.floor(r*o),e.height=Math.floor(n*o),t.scale(o,o)}var $t={};function nJ(){$t.canvas||($t=rJ())}function k_(){$t.context&&$t.context.clearRect(0,0,$t.width??0,$t.height??0)}function oJ(e){k_(),e($t.context)}function iJ(){wn($t.canvas),wn($t.context),Oc($t.canvas,$t.context,{width:0,height:0});let{width:e,height:t}=D_();Oc($t.canvas,$t.context,{width:e,height:t}),$t.width=e,$t.height=t}function aJ(){var e;$t.canvas&&(k_(),(e=$t.canvas.parentNode)==null||e.removeChild($t.canvas),$t={})}var Ho={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},Tn=6;function ny(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 sJ(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 lJ(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 uJ(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 cJ(e,t,r){return e==="top"?t.y=r.y-r.h-Tn:e==="right"?t.x=r.x+r.w/2+Tn+t.w/2:e==="bottom"?t.y=r.y+r.h+Tn:e==="left"&&(t.x=r.x-r.w/2-Tn-t.w/2),{x:t.x,y:t.y}}function $_(e,t,{x:r,y:n,w:o,h:i},a){return ny(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Ho[t]}dd`,e.fill(),e.strokeStyle=Ho[t],e.stroke(),e.fillStyle=Ho.text,e.fillText(a,r,n),ny(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Ho[t]}dd`,e.fill(),e.strokeStyle=Ho[t],e.stroke(),e.fillStyle=Ho.text,e.fillText(a,r,n),{x:r,y:n,w:o,h:i}}function B_(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+Tn*2,i=n+Tn*2;return{w:o,h:i}}function dJ(e,t,{type:r,position:n="center",text:o},i,a=!1){let{x:l,y:d}=sJ(n,t),{offsetX:c,offsetY:p}=lJ(r,n,t,Tn+1,a);l+=c,d+=p;let{w:f,h:g}=B_(e,o);if(i&&uJ({x:l,y:d,w:f,h:g},i)){let b=cJ(n,{x:l,y:d,w:f},i);l=b.x,d=b.y}return $_(e,r,{x:l,y:d,w:f,h:g},o)}function pJ(e,{w:t,h:r}){let n=t*.5+Tn,o=r*.5+Tn;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*o}}function fJ(e,t,{type:r,text:n}){let{floatingAlignment:o,extremities:i}=t,a=i[o.x],l=i[o.y],{w:d,h:c}=B_(e,n),{offsetX:p,offsetY:f}=pJ(o,{w:d,h:c});return a+=p,l+=f,$_(e,r,{x:a,y:l,w:d,h:c},n)}function ki(e,t,r,n){let o=[];r.forEach((i,a)=>{let l=n&&i.position==="center"?fJ(e,t,i):dJ(e,t,i,o[a-1],n);o[a]=l})}function hJ(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&&ki(e,t,o.top,n),o.right&&ki(e,t,o.right,n),o.bottom&&ki(e,t,o.bottom,n),o.left&&ki(e,t,o.left,n),o.center&&ki(e,t,o.center,n)}var bl={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},oy=30;function Or(e){return parseInt(e.replace("px",""),10)}function Ko(e){return Number.isInteger(e)?e:e.toFixed(2)}function Dp(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function mJ(e){let t={top:we.window.scrollY,bottom:we.window.scrollY+we.window.innerHeight,left:we.window.scrollX,right:we.window.scrollX+we.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 yJ(e){let t=we.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:E,paddingRight:w,borderBottomWidth:R,borderTopWidth:_,borderLeftWidth:A,borderRightWidth:M}=t;r=r+we.window.scrollY,n=n+we.window.scrollX,i=i+we.window.scrollY,o=o+we.window.scrollX;let L={top:Or(d),bottom:Or(c),left:Or(p),right:Or(f)},D={top:Or(g),bottom:Or(b),left:Or(E),right:Or(w)},I={top:Or(_),bottom:Or(R),left:Or(A),right:Or(M)},h={top:r-L.top,bottom:i+L.bottom,left:n-L.left,right:o+L.right};return{margin:L,padding:D,border:I,top:r,left:n,bottom:i,right:o,width:a,height:l,extremities:h,floatingAlignment:mJ(h)}}function gJ(e,{margin:t,width:r,height:n,top:o,left:i,bottom:a,right:l}){let d=n+t.bottom+t.top;e.fillStyle=bl.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:Ko(t.top),position:"top"},{type:"margin",text:Ko(t.right),position:"right"},{type:"margin",text:Ko(t.bottom),position:"bottom"},{type:"margin",text:Ko(t.left),position:"left"}];return Dp(c)}function bJ(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=bl.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 Dp(f)}function vJ(e,{border:t,width:r,height:n,top:o,left:i,bottom:a,right:l}){let d=n-t.top-t.bottom;e.fillStyle=bl.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 Dp(c)}function EJ(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=bl.content,e.fillRect(a+r.left+t.left,i+r.top+t.top,l,d),[{type:"content",position:"center",text:`${Ko(l)} x ${Ko(d)}`}]}function TJ(e){return t=>{if(e&&t){let r=yJ(e),n=gJ(t,r),o=bJ(t,r),i=vJ(t,r),a=EJ(t,r),l=r.width<=oy*3||r.height<=oy;hJ(t,r,[...a,...o,...i,...n],l)}}}function wJ(e){oJ(TJ(e))}var _J=(e,t)=>{let r=we.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},iy,ts={x:0,y:0};function ay(e,t){iy=_J(e,t),wJ(iy)}var SJ=(e,t)=>{let{measureEnabled:r}=t.globals||{};return Ao(()=>{if(typeof globalThis.document>"u")return;let n=o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),ts.x=o.clientX,ts.y=o.clientY})};return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Ao(()=>{let n=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),ay(i.clientX,i.clientY)})},o=()=>{window.requestAnimationFrame(()=>{iJ()})};return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),nJ(),globalThis.window.addEventListener("resize",o),ay(ts.x,ts.y)),()=>{globalThis.window.removeEventListener("resize",o),aJ()}},[r,t.viewMode]),e()},Vy,RJ=(Vy=globalThis.FEATURES)!=null&&Vy.measure?[SJ]:[],OJ={[tJ]:!1},sy=()=>({decorators:RJ,initialGlobals:OJ}),F_="outline",ly=e=>{(Array.isArray(e)?e:[e]).forEach(PJ)},PJ=e=>{let t=typeof e=="string"?e:e.join(""),r=we.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},AJ=(e,t)=>{let r=we.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=we.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,we.document.head.appendChild(n)}};function CJ(e){return tt`
  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 xJ=(e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[F_]),o=t.viewMode==="docs",i=Rb(()=>CJ(o?'[data-story-block="true"]':".sb-show-main"),[t]);return Ao(()=>{let a=o?`addon-outline-docs-${t.id}`:"addon-outline";return n?AJ(a,i):ly(a),()=>{ly(a)}},[n,i,t]),e()},Jy,IJ=(Jy=globalThis.FEATURES)!=null&&Jy.outline?[xJ]:[],NJ={[F_]:!1},uy=()=>({decorators:IJ,initialGlobals:NJ}),jJ=({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?_T():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?wT():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&ST()},Pc=(e,t=0,r)=>{var n,o;if(t>5||e==null)return e;if(Zo(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let i=ET(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]=Pc(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]=Pc(a,t,i));return e}return e},qJ=({initialArgs:e})=>{Pc(e)},cy=!1,MJ=async e=>{var t,r;globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=M_(e.canvasElement));try{let n=(r=(t=globalThis.window)==null?void 0:t.navigator)==null?void 0:r.clipboard;if(n&&(e.userEvent=_a({userEvent:L_.setup()},{intercept:!0,getKeys:o=>Object.keys(o).filter(i=>i!=="eventWrapper")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:()=>n,configurable:!0}),!cy)){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)}}}),cy=!0}}catch{}},dy=()=>({loaders:[jJ,qJ,MJ]}),LJ="viewport",DJ={[LJ]:{value:void 0,isRotated:!1}},py=()=>({initialGlobals:DJ}),kJ=Symbol.for("storybook.internal.composedWithCoreAnnotations");function U_(e){return e!=null&&typeof e=="object"&&e[kJ]===!0}function V_(){return[(sy.default??sy)(),(Gm.default??Gm)(),(ry.default??ry)(),(uy.default??uy)(),(py.default??py)(),(Um.default??Um)(),(Wm.default??Wm)(),(dy.default??dy)(),(zm.default??zm)()]}function $J(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Meta"}function Ds(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Story"}function BJ(e){return"__children"in e?e.__children:[]}var J_=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),Ac=(e,t)=>{let r=J_(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},FJ=(e,t)=>`${Ac(e,"kind")}${t?`--${Ac(t,"name")}`:""}`,UJ=(e,t)=>`${e}:${Ac(t,"test")}`,VJ=e=>dN(e);function fy(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Cc(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||fy(e,t))&&(!r||!fy(e,r))}var JJ=(...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 hy(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function my(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var HJ="[object RegExp]",GJ="[object String]",WJ="[object Number]",zJ="[object Boolean]",yy="[object Arguments]",YJ="[object Symbol]",KJ="[object Date]",XJ="[object Map]",QJ="[object Set]",ZJ="[object Array]",eH="[object Function]",tH="[object ArrayBuffer]",hu="[object Object]",rH="[object Error]",nH="[object DataView]",oH="[object Uint8Array]",iH="[object Uint8ClampedArray]",aH="[object Uint16Array]",sH="[object Uint32Array]",lH="[object BigUint64Array]",uH="[object Int8Array]",cH="[object Int16Array]",dH="[object Int32Array]",pH="[object BigInt64Array]",fH="[object Float32Array]",hH="[object Float64Array]";function rn(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 ga(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 mH(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 mu=Nt(Yy(),1);function yH(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function gH(e,t,r){return Ji(e,t,void 0,void 0,void 0,void 0,r)}function Ji(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 Yi(e,t,i,a)}return Yi(e,t,i,a)}function Yi(e,t,r,n){if(Object.is(e,t))return!0;let o=my(e),i=my(t);if(o===yy&&(o=hu),i===yy&&(i=hu),o!==i)return!1;switch(o){case GJ:return e.toString()===t.toString();case WJ:{let d=e.valueOf(),c=t.valueOf();return yH(d,c)}case zJ:case KJ:case YJ:return Object.is(e.valueOf(),t.valueOf());case HJ:return e.source===t.source&&e.flags===t.flags;case eH: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 XJ:{if(e.size!==t.size)return!1;for(let[d,c]of e.entries())if(!t.has(d)||!Ji(c,t.get(d),d,e,t,r,n))return!1;return!0}case QJ:{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=>Ji(f,b,void 0,e,t,r,n));if(g===-1)return!1;c.splice(g,1)}return!0}case ZJ:case oH:case iH:case aH:case sH:case lH:case uH:case cH:case dH:case pH:case fH:case hH:{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(!Ji(e[d],t[d],d,e,t,r,n))return!1;return!0}case tH:return e.byteLength!==t.byteLength?!1:Yi(new Uint8Array(e),new Uint8Array(t),r,n);case nH:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Yi(new Uint8Array(e),new Uint8Array(t),r,n);case rH:return e.name===t.name&&e.message===t.message;case hu:{if(!(Yi(e.constructor,t.constructor,r,n)||rn(e)&&rn(t)))return!1;let d=[...Object.keys(e),...hy(e)],c=[...Object.keys(t),...hy(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(!Ji(g,b,f,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}function bH(){}function vH(e,t){return gH(e,t,bH)}var wo=Symbol("incompatible"),xc=(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)?wo:e.reduce((n,o,i)=>{let a=xc(o,{type:r.value});return a!==wo&&(n[i]=a),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?wo:Object.entries(e).reduce((n,[o,i])=>{let a=xc(i,{type:r.value[o]});return a===wo?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:wo}default:return wo}},EH=(e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=xc(o,t[n]);return i===wo?r:Object.assign(r,{[n]:i})},{}),ks=(e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=ks(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!rn(e)||!rn(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=ks(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),TH=(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 It.error(tt`
  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 It.error(tt`
  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 It.warn(`Received illegal value for '${c}'. Supported options: ${p}`),r},{}),Ki=Symbol("Deeply equal"),$s=(e,t)=>{if(typeof e!=typeof t)return t;if(vH(e,t))return Ki;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let a=$s(e[i],o);return a!==Ki&&(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 rn(e)&&rn(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=$s(e==null?void 0:e[n],t==null?void 0:t[n]);return o===Ki?r:Object.assign(r,{[n]:o})},{}):t},H_="UNTARGETED";function wH({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=H_}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}function _H(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}var SH=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=$s(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,t!==Ki&&this.updateFromDelta(e,t)}}updateFromDelta(e,t){let r=TH(t,e.argTypes);this.argsByStoryId[e.id]=ks(this.argsByStoryId[e.id],r)}updateFromPersisted(e,t){let r=EH(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]=_H({...this.argsByStoryId[e],...t})}},G_=(e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),RH=class{constructor({globals:e={},globalTypes:t={}}){this.set({globals:e,globalTypes:t})}set({globals:e={},globalTypes:t={}}){let r=this.initialGlobals&&$s(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(t)]);let n=G_(t);this.initialGlobals={...n,...e},this.globals=this.initialGlobals,r&&r!==Ki&&this.updateFromPersisted(r)}filterAllowedGlobals(e){return Object.entries(e).reduce((t,[r,n])=>(this.allowedGlobalNames.has(r)?t[r]=n:Tt.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])}},OH=Nt(Yy(),1),PH=(0,OH.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),AH=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 eb({storyId:e});return t}importPathToEntry(e){return PH(this.entries)[e]}},CH=e=>typeof e=="string"?{name:e}:e,xH=e=>typeof e=="string"?{type:e,disable:!1}:e&&typeof e=="object"&&"type"in e&&!("disable"in e)?{...e,disable:!1}:e,IH=(e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=CH(r)),n?i.control=xH(n):n===!1&&(i.control={disable:!0}),i},kp=e=>ga(e,IH),bt=e=>Array.isArray(e)?e:e?[e]:[],NH=tt`
  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 Xi(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(Tt.debug("deprecated story",i),rd(NH));let a=VJ(e),l=typeof n!="function"&&n.name||n.storyName||(i==null?void 0:i.name)||a,d=[...bt(n.decorators),...bt(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=[...bt(n.loaders),...bt(i==null?void 0:i.loaders)],b=[...bt(n.beforeEach),...bt(i==null?void 0:i.beforeEach)],E=[...bt(n.afterEach),...bt(i==null?void 0:i.afterEach)],{render:w,play:R,tags:_=[],globals:A={}}=n,M=c.__id||FJ(r.id,a);return{moduleExport:t,id:M,name:l,tags:_,decorators:d,parameters:c,args:p,argTypes:kp(f),loaders:g,beforeEach:b,afterEach:E,globals:A,...w&&{render:w},...o&&{userStoryFn:o},...R&&{play:R}}}function Ic(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:J_(n||t),...e,title:t,...o&&{argTypes:kp(o)},parameters:{fileName:r,...e.parameters}}}var jH=e=>{let{globals:t,globalTypes:r}=e;(t||r)&&Tt.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},qH=e=>{let{options:t}=e;t!=null&&t.storySort&&Tt.error("The storySort option parameter can only be set globally")},rs=e=>{e&&(jH(e),qH(e))};function MH(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,a=Object.values(i).find(c=>Ds(c));if(a){let c=Ic(a.meta.input,r,t);rs(c.parameters);let p={meta:c,stories:{},moduleExports:e};return Object.keys(i).forEach(f=>{if(Cc(f,c)&&Ds(i[f])){let g=i[f],b=Xi(f,g.input,c);rs(b.parameters),p.stories[b.id]=b,BJ(g).forEach(E=>{var _;let w=E.input.name,R=UJ(b.id,w);(_=E.input).parameters??(_.parameters={}),E.input.parameters.__id=R,p.stories[R]=Xi(w,E.input,c)})}}),p.projectAnnotations=a.meta.preview.composed,p}let l=Ic(n,r,t);rs(l.parameters);let d={meta:l,stories:{},moduleExports:e};return Object.keys(i).forEach(c=>{if(Cc(c,l)){let p=Xi(c,i[c],l);rs(p.parameters),d.stories[p.id]=p}}),d}function W_(e,t,r){let n=r(e);return o=>t(n,o)}function z_({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:a,initialArgs:l,argTypes:d,...c}={}){return c}function Y_(e,t){let r={},n=i=>a=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...z_(a)},i(r.value)},o=t.reduce((i,a)=>W_(i,a,n),e);return i=>(r.value=i,o(i))}var jo=(...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:rn(l)&&rn(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=>rn(a))?n[o]=jo(...i):n[o]=i[i.length-1]}),n};function $p(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},a=X_(e,t,r),l=async I=>{let h={};for(let C of[bt(r.loaders),bt(t.loaders),bt(e.loaders)]){if(I.abortSignal.aborted)return h;let j=await Promise.all(C.map(Z=>Z(I)));Object.assign(h,...j)}return h},d=async I=>{let h=new Array;for(let C of[...bt(r.beforeEach),...bt(t.beforeEach),...bt(e.beforeEach)]){if(I.abortSignal.aborted)return h;let j=await C(I);j&&h.push(j)}return h},c=async I=>{let h=[...bt(r.afterEach),...bt(t.afterEach),...bt(e.afterEach)].reverse();for(let C of h){if(I.abortSignal.aborted)return;await C(I)}},p=I=>I.originalStoryFn(I.args,I),{applyDecorators:f=Y_,runStep:g}=r,b=[...bt(e==null?void 0:e.decorators),...bt(t==null?void 0:t.decorators),...bt(r==null?void 0:r.decorators)],E=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,w=_b(f)(p,b),R=I=>w(I),_=(e==null?void 0:e.play)??(t==null?void 0:t.play),A=hN(_);if(!E&&!A)throw new cb({id:o});let M=I=>async()=>(await I.renderToCanvas(),I.canvas),L=e.mount??t.mount??r.mount??M,D=r.testingLibraryRender;return{storyGlobals:{},...a,moduleExport:n,id:o,name:i,story:i,originalStoryFn:E,undecoratedStoryFn:p,unboundStoryFn:R,applyLoaders:l,applyBeforeEach:d,applyAfterEach:c,playFunction:_,runStep:g,mount:L,testingLibraryRender:D,renderToCanvas:r.renderToCanvas,usesMount:A}}function K_(e,t,r){return{...X_(void 0,e,t),moduleExport:r}}function X_(e,t,r){var A,M;let n=[Zr.DEV,Zr.TEST],o=((A=we.DOCS_OPTIONS)==null?void 0:A.autodocs)===!0?[Zr.AUTODOCS]:[],i=(M=e==null?void 0:e.tags)!=null&&M.includes(Zr.TEST_FN)?[`!${Zr.AUTODOCS}`]:[],a=JJ(...n,...o,...r.tags??[],...t.tags??[],...i,...(e==null?void 0:e.tags)??[]),l=jo(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:d=[],argsEnhancers:c=[]}=r,p=jo(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let L=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;l.__isArgsStory=L&&L.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((L,D)=>D({...b,argTypes:L}),b.argTypes);let E={...f};b.initialArgs=[...c].reduce((L,D)=>({...L,...D({...b,initialArgs:L})}),E);let{name:w,story:R,..._}=b;return _}function Q_(e){var i;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((i=we.FEATURES)!=null&&i.argTypeTargetsV7){let a=wH(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[H_]||{}}}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 fN(c,n,r.globals)&&(a[l]=d),a},{});return{...r,unmappedArgs:t,args:o}}var Nc=(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 Tt.warn(tt`
  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?Nc(e[0],t,r,n):{name:"other",value:"unknown"}}:i={name:"object",value:ga(e,a=>Nc(a,t,r,n))},r.delete(e),n.set(e,i),i}return{name:"object",value:{}}},Z_=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=new Map,i=ga(n,(l,d)=>({name:d,type:Nc(l,`${t}.${d}`,new Set,o)})),a=ga(r,(l,d)=>({name:d}));return jo(i,a,r)};Z_.secondPass=!0;var gy=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),eS=(e,t,r)=>!t&&!r?e:e&&mH(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||gy(i,t))&&(!r||!gy(i,r))}),LH=(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"&&Tt.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"}}}}},Bp=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let a=eS(t,n,o),l=ga(a,(d,c)=>(d==null?void 0:d.type)&&LH(d,c.toString(),i));return jo(l,a)};Bp.secondPass=!0;function ba({argTypes:e,argTypesEnhancers:t,decorators:r,loaders:n,beforeEach:o,afterEach:i,initialGlobals:a,...l}){return{...e&&{argTypes:kp(e)},decorators:bt(r),loaders:bt(n),beforeEach:bt(o),afterEach:bt(i),argTypesEnhancers:[...t||[],Z_,Bp],initialGlobals:a,...l}}var DH=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 tS(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}function va(e,t){return e.map(r=>{var n;return((n=r.default)==null?void 0:n[t])??r[t]}).filter(Boolean)}function Un(e,t,r={}){return va(e,t).reduce((n,o)=>{let i=bt(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}function ns(e,t){return Object.assign({},...va(e,t))}function $i(e,t){return va(e,t).pop()}function hi(e){var o;let t=Un(e,"argTypesEnhancers"),r=va(e,"runStep"),n=Un(e,"beforeAll");return{parameters:jo(...va(e,"parameters")),decorators:Un(e,"decorators",{reverseFileOrder:!(((o=we.FEATURES)==null?void 0:o.legacyDecoratorFileOrder)??!1)}),args:ns(e,"args"),argsEnhancers:Un(e,"argsEnhancers"),argTypes:ns(e,"argTypes"),argTypesEnhancers:[...t.filter(i=>!i.secondPass),...t.filter(i=>i.secondPass)],initialGlobals:ns(e,"initialGlobals"),globalTypes:ns(e,"globalTypes"),loaders:Un(e,"loaders"),beforeAll:DH(n),beforeEach:Un(e,"beforeEach"),afterEach:Un(e,"afterEach"),render:$i(e,"render"),renderToCanvas:$i(e,"renderToCanvas"),applyDecorators:$i(e,"applyDecorators"),runStep:tS(r),tags:Un(e,"tags"),mount:$i(e,"mount"),testingLibraryRender:$i(e,"testingLibraryRender")}}function rS(){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 Fp(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 Up(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,...nS(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"&&!kH(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 nS(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...nS(r.shadowRoot)),t),[])}function kH(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 Vp=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};function oS(e,t,r){return Ds(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:$J(t)?t.input:t,preview:r}}function $H(e){globalThis.defaultProjectAnnotations=e}var BH="ComposedStory",FH="Unnamed Story";function UH(e){return e?hi([e]):{}}function VH(e){let t=Array.isArray(e)?e:[e],r=t.some(n=>U_(n));return globalThis.globalProjectAnnotations=hi([...r?[]:V_(),globalThis.defaultProjectAnnotations??{},hi(t.map(UH))]),globalThis.globalProjectAnnotations??{}}var Yn=[];function iS(e,t,r,n,o){var _;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??BH;let i=Ic(t),a=o||e.storyName||((_=e.story)==null?void 0:_.name)||e.name||FH,l=Xi(a,e,i),d=ba(hi([n??globalThis.globalProjectAnnotations??{},r??{}])),c=$p(l,i,d),p={...G_(d.globalTypes),...d.initialGlobals,...c.storyGlobals},f=new Vp,g=()=>{let A=Q_({hooks:new md,globals:p,args:{...c.initialArgs},viewMode:"story",reporting:f,loaded:{},abortSignal:new AbortController().signal,step:(M,L)=>c.runStep(M,L,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 L;let M=await((L=c.renderToCanvas)==null?void 0:L.call(c,{componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:()=>{},showError:D=>{throw new Error(`${D.title}
  722. ${D.description}`)},showException:D=>{throw D},forceRemount:!0,storyContext:A,storyFn:()=>c.unboundStoryFn(A),unboundStoryFn:c.unboundStoryFn},A.canvasElement));M&&Yn.push(M)}),A.mount=c.mount(A),A},b,E=async A=>{var L;let M=g();return M.canvasElement??(M.canvasElement=(L=globalThis==null?void 0:globalThis.document)==null?void 0:L.body),b&&(M.loaded=b.loaded),Object.assign(M,A),c.playFunction(M)},w=A=>{let M=g();return Object.assign(M,A),WH(c,M)},R=c.playFunction?E:void 0;return Object.assign(function(A){let M=g();return b&&(M.loaded=b.loaded),M.args={...M.initialArgs,...A},c.unboundStoryFn(M)},{id:c.id,storyName:a,load:async()=>{for(let M of[...Yn].reverse())await M();Yn.length=0;let A=g();A.loaded=await c.applyLoaders(A),Yn.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 JH=(e,t,r,n)=>iS(e,t,r,{},n);function HH(e,t,r=JH){let{default:n,__esModule:o,__namedExportsOrder:i,...a}=e,l=n;return Object.entries(a).reduce((d,[c,p])=>{let{story:f,meta:g}=oS(p);return!l&&g&&(l=g),Cc(c,l)?Object.assign(d,{[c]:r(f,l,t,c)}):d},{})}function GH(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(tt`
  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,E;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(E=f==null?void 0:f.play)==null?void 0:E.call(f,{canvasElement:g})},l),d})}})}async function WH(e,t){var i,a;for(let l of[...Yn].reverse())await l();if(Yn.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,Yn.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;Yn.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 hd({playFunction:r.toString()})}),await r(t));let o;rS()?o=Fp():await Up(t.abortSignal),await e.applyAfterEach(t),await(o==null?void 0:o())}function zH(e){return U_(e)?ba(e):ba(hi([...V_(),e]))}var by=1e3,YH=1e4,aS=class{constructor(e,t,r){this.importFn=t,this.storyIndex=new AH(e),this.projectAnnotations=zH(r);let{initialGlobals:n,globalTypes:o}=this.projectAnnotations;this.args=new SH,this.userGlobals=new RH({globals:n,globalTypes:o}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,mu.default)(by)(MH),this.prepareMetaWithCache=(0,mu.default)(by)(K_),this.prepareStoryWithCache=(0,mu.default)(YH)($p)}setProjectAnnotations(e){this.projectAnnotations=ba(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 lb({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 md,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 Vp;return Q_({...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 rb;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 KH(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}var XH=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 vy(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}var sS=(e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&It.warn(tt`
  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=KH(String(e));if(o.exec(a)){if(!r){let l=a.replace(n,""),d=vy([i,l]).split("/");return d=XH(d),d.join("/")}return i?vy([i,r]):r}},QH=(e,t,r)=>{for(let n=0;n<t.length;n+=1){let o=sS(e,t[n],r);if(o)return o}return r||void 0},Ey=/\s*\/\s*/,ZH=(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(Ey),a=r.title.trim().split(Ey);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},eG=(e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=ZH(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},tG=(e,t,r)=>{try{return eG(e,t,r)}catch(n){throw new Error(tt`
  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. `)}},vl=new Error("prepareAborted"),{AbortController:Ty}=globalThis;function wy(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 jc=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 Ty,this.renderId=Date.now(),l&&(this.story=l,this.phase="preparing")}async runPhase(e,t,r){this.phase=t,this.channel.emit(Po,{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(Po,{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),vl}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,M,L,D,I,h,C,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:E}=n;t&&!e&&(this.cancelRender(),this.abortController=new Ty);let w=this.abortController.signal,R=!1,_=n.usesMount;try{let Z={...this.storyContext(),viewMode:this.viewMode,abortSignal:w,canvasElement:r,loaded:{},step:(Re,Ie)=>E(Re,Ie,Z),context:null,canvas:{},userEvent:{},renderToCanvas:async()=>{let Re=await this.renderToScreen(G,r);this.teardownRender=Re||(()=>{}),R=!0},mount:async(...Re)=>{var de,ue;(ue=(de=this.callbacks).showStoryDuringRender)==null||ue.call(de);let Ie=null;return await this.runPhase(w,"rendering",async()=>{Ie=await n.mount(Z)(...Re)}),_&&await this.runPhase(w,"playing"),Ie}};Z.context=Z;let G={componentId:i,title:a,kind:a,id:o,name:l,story:l,tags:d,...this.callbacks,showError:Re=>(this.phase="errored",this.callbacks.showError(Re)),showException:Re=>(this.phase="errored",this.callbacks.showException(Re)),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 B=((M=(A=this.story.parameters)==null?void 0:A.test)==null?void 0:M.dangerouslyIgnoreUnhandledErrors)===!0,N=new Set,V=Re=>{Re.error&&N.add(Re.error)},K=Re=>{Re.reason&&N.add(Re.reason)};if(this.renderOptions.autoplay&&t&&b&&this.phase!=="errored"){(L=window==null?void 0:window.addEventListener)==null||L.call(window,"error",V),(D=window==null?void 0:window.addEventListener)==null||D.call(window,"unhandledrejection",K),this.disableKeyListeners=!0;try{if(_?await b(Z):(Z.mount=async()=>{throw new hd({playFunction:b.toString()})},await this.runPhase(w,"playing",async()=>b(Z))),!R)throw new db;this.checkIfAborted(w),!B&&N.size>0?await this.runPhase(w,"errored"):await this.runPhase(w,"played")}catch(Re){if((h=(I=this.callbacks).showStoryDuringRender)==null||h.call(I),await this.runPhase(w,"errored",async()=>{this.channel.emit(ng,wy(Re))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw Re;console.error(Re)}if(!B&&N.size>0&&this.channel.emit(og,Array.from(N).map(wy)),this.disableKeyListeners=!1,(C=window==null?void 0:window.removeEventListener)==null||C.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()=>{rS()?this.store.addCleanupCallbacks(n,Fp()):await Up(w)}),await this.runPhase(w,"completed",async()=>{this.channel.emit(ys,o)}),this.phase!=="errored"&&await this.runPhase(w,"afterEach",async()=>{await f(Z)});let te=!B&&N.size>0,fe=Z.reporting.reports.some(Re=>Re.status==="failed"),_e=te||fe;await this.runPhase(w,"finished",async()=>this.channel.emit(Cu,{storyId:o,status:_e?"error":"success",reporters:Z.reporting.reports}))}catch(Z){this.phase="errored",this.callbacks.showException(Z),await this.runPhase(w,"finished",async()=>this.channel.emit(Cu,{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:rG}=we,nG="./index.json",lS=class{constructor(e,t,r=dr.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 rd("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[t];throw new ub}})}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(ag,{userAgent:r})}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(pg,this.onStoryIndexChanged.bind(this)),this.channel.on(ed,this.onUpdateGlobals.bind(this)),this.channel.on(td,this.onUpdateArgs.bind(this)),this.channel.on(Eg,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Qc,this.onResetArgs.bind(this)),this.channel.on(Xc,this.onForceReRender.bind(this)),this.channel.on(ms,this.onForceRemount.bind(this)),this.channel.on(gg,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new nb;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 rG(nG);if(e.status===200)return e.json();throw new ob({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new aS(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new yr({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(lg,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 yr({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 yr({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(Zi,{initialGlobals:r,userGlobals:o,storyGlobals:n,globals:i})}else{let{initialGlobals:r,globals:n}=this.storyStoreValue.userGlobals;this.channel.emit(Zi,{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 yr({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(ug,{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(xu,{id:e,success:!0,payload:{argTypes:(n==null?void 0:n.argTypes)||{}},error:null})}catch(n){this.channel.emit(xu,{id:e,success:!1,error:n==null?void 0:n.message})}}async onResetArgs({storyId:e,argNames:t}){var o;if(!this.storyStoreValue)throw new yr({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 yr({methodName:"renderStoryToElement"});let o=new jc(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 yr({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:t=!1}={}){if(!this.storyStoreValue)throw new yr({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:t})}async extract(e){if(!this.storyStoreValue)throw new yr({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,t){this.previewEntryError=t,Tt.error(e),Tt.error(t),this.channel.emit(tg,t)}};function Jp({tags:e}){return(e==null?void 0:e.includes(Zr.UNATTACHED_MDX))||(e==null?void 0:e.includes(Zr.ATTACHED_MDX))}var Hp=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(Ds(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(tt`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})};default:return r}}},_y=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 vl;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 Hp(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(r=>t.attachCSFFile(r)),t.filterByAutodocs=!Jp(this.entry),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(Kc,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}},Sy=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 vl;if(this.csfFiles=t,this.exports=e,this.attachedCsfFile=void 0,this.attachedStory=void 0,(r=this.entry.tags)==null?void 0:r.includes(Zr.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 Hp(this.channel,this.store,e,this.csfFiles);return this.attachedCsfFile&&t.attachCSFFile(this.attachedCsfFile),t.filterByAutodocs=!Jp(this.entry),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(Kc,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}},oG=globalThis;function iG(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}function yu(e){return e.type==="story"}function aG(e){return e.type==="docs"}function sG(e){return aG(e)&&e.subtype==="csf"}var uS=class extends lS{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(),oG.onkeydown=this.onKeydown.bind(this),this.channel.on(Zc,this.onSetCurrentStory.bind(this)),this.channel.on(bg,this.onUpdateQueryParams.bind(this)),this.channel.on(ig,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new yr({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 yr({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 ab):this.renderStoryLoadingException(e,new sb({storySpecifier:e.toString()}));return}let{id:n,type:o}=r;this.selectionStore.setSelection({storyId:n,viewMode:o}),this.channel.emit(hg,this.selectionStore.selection),this.channel.emit(Pu,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)&&!iG(e)){let{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,key:i,code:a,keyCode:l}=e;this.channel.emit(sg,{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(Pu,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){var r,n;let t=this.currentRender instanceof jc&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:t}),(this.currentRender instanceof Sy||this.currentRender instanceof _y)&&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,E;let{renderToCanvas:t}=this;if(!this.storyStoreValue||!t)throw new yr({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 jc(this.channel,this.storyStoreValue,t,this.mainStoryCallbacks(n),n,"story"):Jp(o)?l=new Sy(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(n)):l=new _y(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!==vl&&this.renderStoryLoadingException(n,w);return}let p=!i&&c&&!l.isEqual(c);if(e&&yu(l)&&(wn(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,e)),c&&!c.torndown&&!i&&!p&&!a){this.currentRender=c,this.channel.emit(yg,n),this.view.showMain();return}if(c&&await this.teardownRender(c,{viewModeChanged:a}),d&&(i||a)&&this.channel.emit(cg,n),yu(l)){wn(!!l.story);let{parameters:w,initialArgs:R,argTypes:_,unmappedArgs:A,initialGlobals:M,userGlobals:L,storyGlobals:D,globals:I}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(fg,{id:n,parameters:w,initialArgs:R,argTypes:_,args:A}),this.channel.emit(Zi,{userGlobals:L,storyGlobals:D,globals:I,initialGlobals:M})}else{let{parameters:w}=this.storyStoreValue.projectAnnotations,{initialGlobals:R,globals:_}=this.storyStoreValue.userGlobals;if(this.channel.emit(Zi,{globals:_,initialGlobals:R,storyGlobals:{},userGlobals:_}),sG(l)||((E=l.entry.tags)==null?void 0:E.includes(Zr.ATTACHED_MDX))){if(!l.csfFiles)throw new ib({storyId:n});({parameters:w}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(rg,{id:n,parameters:w})}yu(l)?(wn(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs({scrollReset:i||a}),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(Au)}renderStoryLoadingException(e,t){Tt.error(t),this.view.showErrorDisplay(t),this.channel.emit(Au,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(mg,{name:r,message:n,stack:o}),this.channel.emit(Po,{newPhase:"errored",renderId:i,storyId:e}),this.view.showErrorDisplay(t),Tt.error(`Error rendering story '${e}':`),Tt.error(t)}renderError(e,{title:t,description:r}){var o;let n=(o=this.currentRender)==null?void 0:o.renderId;this.channel.emit(dg,{title:t,description:r}),this.channel.emit(Po,{newPhase:"errored",renderId:n,storyId:e}),this.view.showErrorDisplay({message:t,stack:r}),Tt.error(`Error rendering story ${t}: ${r}`)}},qc=Nt(Wc(),1),lG=Nt(Wc(),1),Ry=/^[a-zA-Z0-9 _-]*$/,cS=/^-?[0-9]+(\.[0-9]+)?$/,uG=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,dS=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Mc=(e="",t)=>e===null||e===""||!Ry.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Ry.test(t)||cS.test(t)||uG.test(t)||dS.test(t):Array.isArray(t)?t.every(r=>Mc(e,r)):rn(t)?Object.entries(t).every(([r,n])=>Mc(r,n)):!1,cG={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(dS);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 cS.test(e)?Number(e):e}},Oy=e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,lG.parse)(t.join(";"),cG)).reduce((r,[n,o])=>Mc(n,o)?Object.assign(r,{[n]:o}):(It.warn(tt`
  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:pS,document:nn}=we;function dG(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}var fS=({selection:e,extraParams:t})=>{let r=nn==null?void 0:nn.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...a}=(0,qc.parse)(r);return`?${(0,qc.stringify)({...a,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},pG=e=>{if(!e)return;let t=fS({selection:e}),{hash:r=""}=nn.location;nn.title=e.storyId,pS.replaceState({},"",`${nn.location.pathname}${t}${r}`)},fG=e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,Qi=e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Qi(e[0]);if(fG(e))return Qi(Object.values(e).filter(Boolean))}},hG=()=>{if(typeof nn<"u"){let e=nn.location.search.slice(1),t=(0,qc.parse)(e),r=typeof t.args=="string"?Oy(t.args):void 0,n=typeof t.globals=="string"?Oy(t.globals):void 0,o=Qi(t.viewMode);if(typeof o!="string"||!o)o="story";else if(!o.match(/docs|story/))return null;let i=Qi(t.path),a=i?dG(i):Qi(t.id);if(a)return{storySpecifier:a,args:r,globals:n,viewMode:o}}return null},hS=class{constructor(){this.selectionSpecifier=hG()}setSelection(e){this.selection=e,pG(this.selection)}setQueryParams(e){let t=fS({extraParams:e}),{hash:r=""}=nn.location;pS.replaceState({},"",`${nn.location.pathname}${t}${r}`)}},mG=Nt(FP(),1),yG=Nt(Wc(),1),{document:Qt}=we,Py=100,mS=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(mS||{}),gu={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},bu={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Ay=new mG.default({escapeXML:!0}),yS=class{constructor(){if(this.testing=!1,typeof Qt<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,yG.parse)(Qt.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),Qt.documentElement.scrollTop=0,Qt.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Qt.getElementById("storybook-root")}prepareForDocs({scrollReset:e=!0}={}){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),e&&(Qt.documentElement.scrollTop=0,Qt.documentElement.scrollLeft=0),this.docsRoot()}docsRoot(){return Qt.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){Qt.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let t=bu[e];Qt.body.classList.remove(this.currentLayoutClass),Qt.body.classList.add(t),this.currentLayoutClass=t}checkIfLayoutExists(e){bu[e]||Tt.warn(tt`
  746. The desired layout: ${e} is not a valid option.
  747. The possible options are: ${Object.keys(bu).join(", ")}, none.
  748. `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(mS).forEach(t=>{t===e?Qt.body.classList.add(gu[t]):Qt.body.classList.remove(gu[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/,"")),Qt.getElementById("error-message").innerHTML=Ay.toHtml(r),Qt.getElementById("error-stack").innerHTML=Ay.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"),Py)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Py)}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(){Qt.body.classList.add(gu.MAIN)}},gG=class extends uS{constructor(t,r){super(t,r,new hS,new yS),this.importFn=t,this.getProjectAnnotations=r,we.__STORYBOOK_PREVIEW__=this}},{document:Oo}=we,bG=["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"],vG="script",Cy="scripts-root";function Lc(){let e=Oo.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Oo.dispatchEvent(e)}function EG(e,t,r){let n=Oo.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):Oo.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}function gS(e,t,r=0){e[r](()=>{r++,r===e.length?t():gS(e,t,r)})}function TG(e){let t=Oo.getElementById(Cy);t?t.innerHTML="":(t=Oo.createElement("div"),t.id=Cy,Oo.body.appendChild(t));let r=Array.from(e.querySelectorAll(vG));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||bG.includes(i))&&n.push(a=>EG(o,a,t))}),n.length&&gS(n,Lc,void 0)}else Lc()}var vu;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(vu=vu||(vu={}));var wG=Nt(UP(),1),Do=(0,wG.stringifyRules)(),_G=Do.JsdocTypeObject;Do.JsdocTypeAny=()=>"any";Do.JsdocTypeObject=(e,t)=>`(${_G(e,t)})`;Do.JsdocTypeOptional=(e,t)=>t(e.element);Do.JsdocTypeNullable=(e,t)=>t(e.element);Do.JsdocTypeNotNullable=(e,t)=>t(e.element);Do.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");var SG="storybook/docs",RG=`${SG}/snippet-rendered`;async function OG(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;dr.getChannel().emit(RG,{id:n,source:a,args:o})}var Ea={depth:10,clearOnStoryChange:!0,limit:50},PG=(e={})=>{Object.assign(Ea,e)},bS=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:bS(r,t)},AG=e=>!!(typeof e=="object"&&e&&bS(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),CG=e=>{if(AG(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 qa(e,t={}){let r={...Ea,...t},n=function(...o){var f,g;if(t.implicit){let b=(f="__STORYBOOK_PREVIEW__"in we?we.__STORYBOOK_PREVIEW__:void 0)==null?void 0:f.storyRenders.find(E=>E.phase==="playing"||E.phase==="rendering");if(b){let E=!((g=globalThis==null?void 0:globalThis.FEATURES)!=null&&g.disallowImplicitActionsInRenderV8),w=new tb({phase:b.phase,name:e,deprecated:E});if(E)console.warn(w);else throw w}}let i=dr.getChannel(),a=Date.now().toString(36)+Math.random().toString(36).substring(2),l=5,d=o.map(CG),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(Tb,p)};return n.isAction=!0,n.implicit=t.implicit,n}var xG=(...e)=>{let t=Ea,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...Ea,...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]=qa(n[i],t)}),o},IG={"@storybook/global":wg,"storybook/test":Nb,"storybook/actions":Eb,"storybook/preview-api":Nu,"storybook/internal/channels":Sg,"storybook/internal/client-logger":Rg,"storybook/internal/core-events":zc,"storybook/internal/types":pb,"storybook/internal/preview-errors":Xg,"storybook/internal/preview-api":Nu};async function NG(){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}jG(t,r)}var jG=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"})},qG=Nt(VP(),1),Eu;function MG(){var e;return Eu||(Eu=new qG.default((e=we.navigator)==null?void 0:e.userAgent).getBrowserInfo()),Eu}function LG(e){return e.browserInfo=MG(),e}function DG(e){let t=e.error||e;t.fromStorybook&&we.sendTelemetryError(t)}function kG({reason:e}){e.fromStorybook&&we.sendTelemetryError(e)}function vS(){_A.forEach(e=>{we[_g[e]]=IG[e]}),we.sendTelemetryError=e=>{we.__STORYBOOK_ADDONS_CHANNEL__.emit(vg,LG(e))},document.addEventListener("DOMContentLoaded",()=>{we.__STORYBOOK_ADDONS_CHANNEL__.on(Tg,e=>{e?document.body.setAttribute("inert","true"):document.body.removeAttribute("inert")})}),we.addEventListener("error",DG),we.addEventListener("unhandledrejection",kG),NG()}vS();const{createBrowserChannel:$G}=__STORYBOOK_MODULE_CHANNELS__,{addons:BG}=__STORYBOOK_MODULE_PREVIEW_API__,Gp=$G({page:"preview"});BG.setChannel(Gp);window.__STORYBOOK_ADDONS_CHANNEL__=Gp;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=Gp);const FG={"./stories/atoms/badge/Badge.stories.js":()=>ce(()=>import("./Badge.stories-DV26Da8A.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./stories/atoms/blockquote/Blockquote.stories.js":()=>ce(()=>import("./Blockquote.stories-DcXw9zfw.js"),__vite__mapDeps([8,9,2,3,4,5,10,7]),import.meta.url),"./stories/atoms/button/Button.stories.js":()=>ce(()=>import("./Button.stories-BAWjZSvT.js"),__vite__mapDeps([11,3,4]),import.meta.url),"./stories/atoms/event-teaser/EventTeaser.stories.js":()=>ce(()=>import("./EventTeaser.stories-DUTEQhsk.js"),__vite__mapDeps([12,13,2,3,4,5,14,7]),import.meta.url),"./stories/atoms/input-checkbox-radio/InputCheckboxRadio.stories.js":()=>ce(()=>import("./InputCheckboxRadio.stories-CuNI5k_c.js"),__vite__mapDeps([15,16,2,3,4,5,17,7]),import.meta.url),"./stories/atoms/input-select/InputSelect.stories.js":()=>ce(()=>import("./InputSelect.stories-CEkt-Gk2.js"),__vite__mapDeps([18,19,2,3,4,5,20,7]),import.meta.url),"./stories/atoms/input-text/InputText.stories.js":()=>ce(()=>import("./InputText.stories-DbBkkuxv.js"),__vite__mapDeps([21,2,3,4,5,7]),import.meta.url),"./stories/atoms/interview-item/InterviewItem.stories.js":()=>ce(()=>import("./InterviewItem.stories-2vagjTe1.js"),__vite__mapDeps([22,23,2,3,4,5,24,7]),import.meta.url),"./stories/atoms/label/Label.stories.js":()=>ce(()=>import("./Label.stories-gMBqjDez.js"),__vite__mapDeps([25,26,2,3,4,5,27,7]),import.meta.url),"./stories/atoms/labelFormCentric/LabelFormCentric.stories.js":()=>ce(()=>import("./LabelFormCentric.stories-DrWQAEkP.js"),__vite__mapDeps([28,29,2,3,4,5,30,7]),import.meta.url),"./stories/atoms/pagination/Pagination.stories.js":()=>ce(()=>import("./Pagination.stories-Cn9iU51y.js"),__vite__mapDeps([31,2,3,4,5,32,33,7,34]),import.meta.url),"./stories/atoms/progress-bar/ProgressBar.stories.js":()=>ce(()=>import("./ProgressBar.stories-COlWHTSk.js"),__vite__mapDeps([35,36,2,3,4,5,37,7]),import.meta.url),"./stories/atoms/reading-time/ReadingTime.stories.js":()=>ce(()=>import("./ReadingTime.stories-C87JtzFC.js"),__vite__mapDeps([38,39,2,3,4,5,40,7]),import.meta.url),"./stories/atoms/search-button/SearchButton.stories.js":()=>ce(()=>import("./SearchButton.stories-BUATijs9.js"),__vite__mapDeps([41,2,3,4,5,7]),import.meta.url),"./stories/atoms/search-input/SearchInput.stories.js":()=>ce(()=>import("./SearchInput.stories-C1IHO_IE.js"),__vite__mapDeps([42,2,3,4,5,7]),import.meta.url),"./stories/atoms/secondary-menu/SecondaryMenu.stories.js":()=>ce(()=>import("./SecondaryMenu.stories-B0lrPje5.js"),__vite__mapDeps([43,2,3,4,5,7]),import.meta.url),"./stories/atoms/skip-button/SkipButton.stories.js":()=>ce(()=>import("./SkipButton.stories-B-nE_dso.js"),__vite__mapDeps([44,45,3,4,46]),import.meta.url),"./stories/atoms/slider-tabs/SliderTabs.stories.js":()=>ce(()=>import("./SliderTabs.stories-DGwPrT0Y.js"),__vite__mapDeps([47,2,3,4,5,7,48]),import.meta.url),"./stories/atoms/social-icons/SocialIcons.stories.js":()=>ce(()=>import("./SocialIcons.stories-B-U7t0p2.js"),__vite__mapDeps([49,2,3,4,5,7]),import.meta.url),"./stories/atoms/tabs/Tabs.stories.js":()=>ce(()=>import("./Tabs.stories-C9Pda430.js"),__vite__mapDeps([50,51,2,3,4,5,52,7]),import.meta.url),"./stories/components/a-z/AZ.stories.js":()=>ce(()=>import("./AZ.stories-DFep6HYm.js"),__vite__mapDeps([53,54,2,3,4,5,55,7]),import.meta.url),"./stories/components/accordion/Accordion.stories.js":()=>ce(()=>import("./Accordion.stories-Dm3gSqFr.js"),__vite__mapDeps([56,57,2,3,4,5,58,7]),import.meta.url),"./stories/components/anchor-links/AnchorLinks.stories.js":()=>ce(()=>import("./AnchorLinks.stories-C6FZUm29.js"),__vite__mapDeps([59,60,2,3,4,5,61,7]),import.meta.url),"./stories/components/artwork/Artwork.stories.js":()=>ce(()=>import("./Artwork.stories-Cwlpi7-0.js"),__vite__mapDeps([62,63,2,3,4,5,34,7]),import.meta.url),"./stories/components/card/Card.stories.js":()=>ce(()=>import("./Card.stories-DMTNnObe.js"),__vite__mapDeps([64,65,2,3,4,5,66,7]),import.meta.url),"./stories/components/checkbox-group/CheckboxGroup.stories.js":()=>ce(()=>import("./CheckboxGroup.stories-goV00rMi.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":()=>ce(()=>import("./CommonContentArticle.stories-CFYMOmgz.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":()=>ce(()=>import("./CommonContent.stories-DXa36QF4.js"),__vite__mapDeps([89,86,2,3,4,5,87,7]),import.meta.url),"./stories/components/contact/Contact.stories.js":()=>ce(()=>import("./Contact.stories-DCLmVVWZ.js"),__vite__mapDeps([90,73,2,3,4,5,74,7]),import.meta.url),"./stories/components/document-list/DocumentList.stories.js":()=>ce(()=>import("./DocumentList.stories-nSgRQOO4.js"),__vite__mapDeps([91,92,2,3,4,5,93,7]),import.meta.url),"./stories/components/election-form/ElectionForm.stories.js":()=>ce(()=>import("./ElectionForm.stories-BZcJ8jR3.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":()=>ce(()=>import("./ElectionResultListBadge.stories-eO98SzE5.js"),__vite__mapDeps([97,98,2,3,4,5,99,7]),import.meta.url),"./stories/components/election-result-list-item/ElectionResultListItem.stories.js":()=>ce(()=>import("./ElectionResultListItem.stories-BihBLZ77.js"),__vite__mapDeps([100,101,2,3,4,5,102,7]),import.meta.url),"./stories/components/event-teaser-large/EventTeaserLarge.stories.js":()=>ce(()=>import("./EventTeaserLarge.stories-BuvmneNT.js"),__vite__mapDeps([103,104,2,3,4,5,105,7]),import.meta.url),"./stories/components/flockler/Flockler.stories.js":()=>ce(()=>import("./Flockler.stories-BfGoW7nf.js"),__vite__mapDeps([106,107,2,3,4,5,108,7]),import.meta.url),"./stories/components/footer/Footer.stories.js":()=>ce(()=>import("./Footer.stories-zHWvUGgn.js"),__vite__mapDeps([109,2,3,4,5,7]),import.meta.url),"./stories/components/form-element-form-centric/FormElementFormCentric.stories.js":()=>ce(()=>import("./FormElementFormCentric.stories-DE2fJo5z.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":()=>ce(()=>import("./FormElement.stories-2x0xouUm.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":()=>ce(()=>import("./Gallery.stories-DwHY_IfY.js"),__vite__mapDeps([113,114,2,3,4,5,115,116,117,7]),import.meta.url),"./stories/components/global-message/GlobalMessage.stories.js":()=>ce(()=>import("./GlobalMessage.stories-BIfoonLB.js"),__vite__mapDeps([118,119,2,3,4,5,120,7]),import.meta.url),"./stories/components/header-search/HeaderSearch.stories.js":()=>ce(()=>import("./HeaderSearch.stories-CJlTCute.js"),__vite__mapDeps([121,2,3,4,5,7]),import.meta.url),"./stories/components/header/Header.stories.js":()=>ce(()=>import("./Header.stories-Dx4aZya5.js"),__vite__mapDeps([122,2,3,4,5,7]),import.meta.url),"./stories/components/howto-list/HowToList.stories.js":()=>ce(()=>import("./HowToList.stories-DikrJDDK.js"),__vite__mapDeps([123,124,2,3,4,5,125,7]),import.meta.url),"./stories/components/ihk-switch/IHKSwitch.stories.js":()=>ce(()=>import("./IHKSwitch.stories-BLV6s4ax.js"),__vite__mapDeps([126,2,3,4,5,7]),import.meta.url),"./stories/components/image-text/ImageText.stories.js":()=>ce(()=>import("./ImageText.stories-CaRq5Pp_.js"),__vite__mapDeps([127,128,2,3,4,5,129,7]),import.meta.url),"./stories/components/infobox/Infobox.stories.js":()=>ce(()=>import("./Infobox.stories-B-tE1m0Z.js"),__vite__mapDeps([130,77,2,3,4,5,9,10,78,7]),import.meta.url),"./stories/components/link-collection/LinkCollection.stories.js":()=>ce(()=>import("./LinkCollection.stories-DvgP8y1r.js"),__vite__mapDeps([131,83,2,3,4,5,84,132,133,7]),import.meta.url),"./stories/components/linklist/LinkList.stories.js":()=>ce(()=>import("./LinkList.stories-CQIPn_71.js"),__vite__mapDeps([134,83,2,3,4,5,84,7]),import.meta.url),"./stories/components/login/Login.stories.js":()=>ce(()=>import("./Login.stories-bi3xXGju.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":()=>ce(()=>import("./LogoWall.stories-C0SUfomV.js"),__vite__mapDeps([138,2,3,4,5,7,139]),import.meta.url),"./stories/components/magazine-article/MagazineArticle.stories.js":()=>ce(()=>import("./MagazineArticle.stories-CRY83wrW.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":()=>ce(()=>import("./MagazineCover.stories-DC_8Gsz3.js"),__vite__mapDeps([149,150,2,3,4,5,39,40,151,7]),import.meta.url),"./stories/components/magazine-header/MagazineHeader.stories.js":()=>ce(()=>import("./MagazineHeader.stories-DAmfBW-R.js"),__vite__mapDeps([152,153,2,3,4,5,154,7]),import.meta.url),"./stories/components/mini-teaser/MiniTeaser.stories.js":()=>ce(()=>import("./MiniTeaser.stories-CfoLVE8Z.js"),__vite__mapDeps([155,156,2,3,4,5,157,7]),import.meta.url),"./stories/components/nav/Nav.stories.js":()=>ce(()=>import("./Nav.stories-ClC7OzHI.js"),__vite__mapDeps([158,2,3,4,5,7]),import.meta.url),"./stories/components/newsletter-teaser/NewsletterTeaser.stories.js":()=>ce(()=>import("./NewsletterTeaser.stories-DlbkMls1.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":()=>ce(()=>import("./PageDetails.stories-Dms3u4lj.js"),__vite__mapDeps([161,2,3,4,5,7]),import.meta.url),"./stories/components/participation-list-item/ParticipationListItem.stories.js":()=>ce(()=>import("./ParticipationListItem.stories-C7DBB-PL.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":()=>ce(()=>import("./ParticipationTeaser.stories-BZ-mEoZN.js"),__vite__mapDeps([167,164,2,3,4,5,36,37,165,7]),import.meta.url),"./stories/components/print-share/PrintShare.stories.js":()=>ce(()=>import("./PrintShare.stories-DntTpfjX.js"),__vite__mapDeps([168,75,2,3,4,5,76,7]),import.meta.url),"./stories/components/search-form/SearchForm.stories.js":()=>ce(()=>import("./SearchForm.stories-BhBN62dj.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":()=>ce(()=>import("./SearchResults.stories-ChODnAPc.js"),__vite__mapDeps([172,173,2,3,4,5,13,14,174,7]),import.meta.url),"./stories/components/steps/Steps.stories.js":()=>ce(()=>import("./Steps.stories-6qNm_htw.js"),__vite__mapDeps([175,176,2,3,4,5,115,177,178,7]),import.meta.url),"./stories/components/superlist-entry/SuperlistEntry.stories.js":()=>ce(()=>import("./SuperlistEntry.stories-Bml815OX.js"),__vite__mapDeps([179,180,2,3,4,5,181,7]),import.meta.url),"./stories/components/teaser-social/TeaserSocial.stories.js":()=>ce(()=>import("./TeaserSocial.stories-CS9cre7O.js"),__vite__mapDeps([182,183,2,3,4,5,184,7]),import.meta.url),"./stories/components/teaser/Teaser.stories.js":()=>ce(()=>import("./Teaser.stories-UR8Y2MVI.js"),__vite__mapDeps([185,186,2,3,4,5,39,40,83,84,187,7]),import.meta.url),"./stories/components/testimonial/Testimonial.stories.js":()=>ce(()=>import("./Testimonial.stories-Zq-pcOI3.js"),__vite__mapDeps([188,189,2,3,4,5,190,7]),import.meta.url),"./stories/components/text-with-headline/TextWithHeadline.stories.js":()=>ce(()=>import("./TextWithHeadline.stories-BTfp-EXI.js"),__vite__mapDeps([191,192,2,3,4,5,142,193,7]),import.meta.url),"./stories/components/topic-teaser/TopicTeaser.stories.js":()=>ce(()=>import("./TopicTeaser.stories-Dmq_i9NN.js"),__vite__mapDeps([194,82,2,3,4,5,83,84,85,7]),import.meta.url),"./stories/components/video/Video.stories.js":()=>ce(()=>import("./Video.stories-CeenQrFT.js"),__vite__mapDeps([195,196,2,3,4,5,197,7]),import.meta.url),"./stories/pages/a-z-page/AZPage.stories.js":()=>ce(()=>import("./AZPage.stories-BKKWPVGr.js"),__vite__mapDeps([198,2,3,4,5,73,74,54,55,75,76,7]),import.meta.url),"./stories/pages/article/Article.stories.js":()=>ce(()=>import("./Article.stories-BBUd19bm.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":()=>ce(()=>import("./CommonContent.stories-Dm4T-RsZ.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":()=>ce(()=>import("./Documents.stories-gFiMDxSp.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":()=>ce(()=>import("./ElectionDetailPage.stories-9gLZntoL.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":()=>ce(()=>import("./ElectionOverviewPage.stories-CCKP9ZwB.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":()=>ce(()=>import("./ElectionStartPage.stories-B6OKLC7X.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":()=>ce(()=>import("./EventOverview.stories-DC1RIEgF.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":()=>ce(()=>import("./EventPage.stories-DiJW0xc2.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":()=>ce(()=>import("./Home.stories-DXb9munp.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":()=>ce(()=>import("./Topic.stories-BsJMyXYj.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":()=>ce(()=>import("./Home.stories-DxoLl3KY.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":()=>ce(()=>import("./LoginPage.stories-CnXgH2ZH.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":()=>ce(()=>import("./MagazineArticle.stories-CdmMtuPe.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":()=>ce(()=>import("./MagazineInterview.stories-BxigYY4j.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":()=>ce(()=>import("./MagazineStart.stories-DJ_3NKm1.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":()=>ce(()=>import("./ParticipationList.stories-D1Jhm0Fr.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":()=>ce(()=>import("./ParticipationStart.stories-DDxSxnic.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":()=>ce(()=>import("./SearchEventsPage.stories-yjhp2lsh.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":()=>ce(()=>import("./SearchPage.stories-_b6bxOT4.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":()=>ce(()=>import("./TileGridPage.stories-O9NmfgGr.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":()=>ce(()=>import("./TimelinePage.stories-BCUdg5oC.js"),__vite__mapDeps([261,262,2,3,4,5,51,52,115,263,178,7]),import.meta.url),"./stories/pages/topic/Topic.stories.js":()=>ce(()=>import("./Topic.stories-DTXzK2gS.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":()=>ce(()=>import("./CardSlider.stories-Cd8NXCSD.js"),__vite__mapDeps([265,146,2,3,4,5,65,66,115,147,7]),import.meta.url),"./stories/sections/election-detail/ElectionDetail.stories.js":()=>ce(()=>import("./ElectionDetail.stories-B275xUEp.js"),__vite__mapDeps([266,209,2,3,4,5,196,197,210,7]),import.meta.url),"./stories/sections/election-result-list/ElectionResultList.stories.js":()=>ce(()=>import("./ElectionResultList.stories-KSc57ApE.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":()=>ce(()=>import("./EventTeaserLargeSlider.stories-BLqEJiCW.js"),__vite__mapDeps([268,218,2,3,4,5,115,219,7]),import.meta.url),"./stories/sections/event-teasers-large/EventTeasersLarge.stories.js":()=>ce(()=>import("./EventTeasersLarge.stories-S7YgRRRY.js"),__vite__mapDeps([269,226,2,3,4,5,104,105,227,7]),import.meta.url),"./stories/sections/eventoverview-stage/EventOverviewStage.stories.js":()=>ce(()=>import("./EventOverviewStage.stories-_9ig6qLz.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":()=>ce(()=>import("./Events.stories-Dd4Pw-WW.js"),__vite__mapDeps([271,143,144,145,2,3,4,5,13,14,7]),import.meta.url),"./stories/sections/feature/Feature.stories.js":()=>ce(()=>import("./Feature.stories-0DTPge2B.js"),__vite__mapDeps([272,234,2,3,4,5,83,84,235,7]),import.meta.url),"./stories/sections/infobanner/InfoBanner.stories.js":()=>ce(()=>import("./InfoBanner.stories-Q06opoZR.js"),__vite__mapDeps([273,236,2,3,4,5,237,7]),import.meta.url),"./stories/sections/interview/Interview.stories.js":()=>ce(()=>import("./Interview.stories-DX4vn7Ox.js"),__vite__mapDeps([274,247,2,3,4,5,23,24,7]),import.meta.url),"./stories/sections/intro/Intro.stories.js":()=>ce(()=>import("./Intro.stories-U5L7NJUk.js"),__vite__mapDeps([275,241,2,3,4,5,242,7]),import.meta.url),"./stories/sections/marketingheader/MarketingHeader.stories.js":()=>ce(()=>import("./MarketingHeader.stories-D9qzO4XZ.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":()=>ce(()=>import("./ParticipationMap.stories-qWQ7m6T2.js"),__vite__mapDeps([278,254,2,3,4,5,1,6,255,7]),import.meta.url),"./stories/sections/participation-stage/ParticipationStage.stories.js":()=>ce(()=>import("./ParticipationStage.stories-DkViKw7A.js"),__vite__mapDeps([279,215,2,3,4,5,36,37,216,7]),import.meta.url),"./stories/sections/participation-teasers/ParticipationTeasers.stories.js":()=>ce(()=>import("./ParticipationTeasers.stories-D0cgAw1-.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":()=>ce(()=>import("./QuickFacts.stories-CvDQraEI.js"),__vite__mapDeps([281,202,2,3,4,5,115,203,178,7]),import.meta.url),"./stories/sections/search/Search.stories.js":()=>ce(()=>import("./Search.stories-DJ-sj4dO.js"),__vite__mapDeps([282,232,2,3,4,5,63,34,221,233,7]),import.meta.url),"./stories/sections/slider/Slider.stories.js":()=>ce(()=>import("./Slider.stories-CV-MNM5B.js"),__vite__mapDeps([283,228,2,3,4,5,115,178,7]),import.meta.url),"./stories/sections/social/Social.stories.js":()=>ce(()=>import("./Social.stories-BDyY-F8M.js"),__vite__mapDeps([284,238,2,3,4,5,239,7]),import.meta.url),"./stories/sections/superlist/Superlist.stories.js":()=>ce(()=>import("./Superlist.stories-CEyDfV2Z.js"),__vite__mapDeps([285,2,3,4,5,180,181,7,286]),import.meta.url),"./stories/sections/survey/Survey.stories.js":()=>ce(()=>import("./Survey.stories-BRz9MCMo.js"),__vite__mapDeps([287,200,2,3,4,5,201,7]),import.meta.url),"./stories/sections/teasers/Teasers.stories.js":()=>ce(()=>import("./Teasers.stories-D_hfeaX_.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":()=>ce(()=>import("./TileGridWood.stories-BKGW5b6Z.js"),__vite__mapDeps([289,259,2,3,4,5,222,260,7]),import.meta.url),"./stories/sections/tile-grid/TileGrid.stories.js":()=>ce(()=>import("./TileGrid.stories-5zmQKjwB.js"),__vite__mapDeps([290,2,3,4,5,222,7,260]),import.meta.url),"./stories/sections/timeline/Timeline.stories.js":()=>ce(()=>import("./Timeline.stories-DvRjTA_n.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":()=>ce(()=>import("./TopicTeasers.stories-EOqGi4U4.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":()=>ce(()=>import("./VideoStage.stories-BbIOxH3u.js"),__vite__mapDeps([293,223,2,3,4,5,224,7]),import.meta.url)};async function UG(e){return await FG[e]()}var VG=Object.defineProperty,JG=(e,t)=>{for(var r in t)VG(e,r,{get:t[r],enumerable:!0})};function Tu(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 nz(e){return e==null||typeof e!="object"&&typeof e!="function"}function oz(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function iz(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function az(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var sz="[object RegExp]",lz="[object String]",uz="[object Number]",cz="[object Boolean]",dz="[object Arguments]",pz="[object Symbol]",fz="[object Date]",hz="[object Map]",mz="[object Set]",yz="[object Array]",gz="[object Function]",bz="[object ArrayBuffer]",vz="[object Object]",Ez="[object Error]",Tz="[object DataView]",wz="[object Uint8Array]",_z="[object Uint8ClampedArray]",Sz="[object Uint16Array]",Rz="[object Uint32Array]",Oz="[object BigUint64Array]",Pz="[object Int8Array]",Az="[object Int16Array]",Cz="[object Int32Array]",xz="[object BigInt64Array]",Iz="[object Float32Array]",Nz="[object Float64Array]",HG=Object.create,Wp=Object.defineProperty,GG=Object.getOwnPropertyDescriptor,ES=Object.getOwnPropertyNames,WG=Object.getPrototypeOf,zG=Object.prototype.hasOwnProperty,jz=(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')}),YG=(e,t)=>function(){try{return t||(0,e[ES(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},qz=(e,t)=>{for(var r in t)Wp(e,r,{get:t[r],enumerable:!0})},KG=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ES(t))!zG.call(e,o)&&o!==r&&Wp(e,o,{get:()=>t[o],enumerable:!(n=GG(t,o))||n.enumerable});return e},XG=(e,t,r)=>(r=e!=null?HG(WG(e)):{},KG(t||!e||!e.__esModule?Wp(r,"default",{value:e,enumerable:!0}):r,e)),QG=YG({"../../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 E=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}},M=[_,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,E,R],L=/^\s*\n\s*/;class D{static create(y){let S=this.read(y);y=S.text;let q=this.read(y);return y=q.text,new D(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||L.test(y),y=y.trim();for(let q of M){let X=q(y);if(X!==null){let se=Object.assign(Object.assign({},X),{startOfLine:S});return y=y.slice(se.text.length),{text:y,token:se}}}throw new Error("Unexpected Token "+y)}advance(){let y=D.read(this.text);return new D(y.text,this.current,this.next,y.token)}}function I(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 h(s){return s.type==="JsdocTypeKeyValue"?j(s):I(s)}function C(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 B;(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"})(B||(B={}));class N{constructor(y,S,q){this.grammar=y,typeof S=="string"?this._lexer=D.create(S):this._lexer=S,this.baseParser=q}get lexer(){return this._lexer}parse(){let y=this.parseType(B.ALL);if(this.lexer.current.type!=="EOF")throw new i(this.lexer.current);return y}parseType(y){return I(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(B.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:I(S),meta:{position:"suffix"}}):null};function te(s){let y=(S,q,X)=>{let se=S.lexer.current.type,ye=S.lexer.next.type;if(X===null){if("parsePrefix"in s&&s.accept(se,ye))return s.parsePrefix(S)}else if("parseInfix"in s&&s.precedence>q&&s.accept(se,ye))return s.parseInfix(S,X);return null};return Object.defineProperty(y,"name",{value:s.name}),y}let fe=te({name:"optionalParslet",accept:s=>s==="=",precedence:B.OPTIONAL,parsePrefix:s=>(s.consume("="),{type:"JsdocTypeOptional",element:s.parseType(B.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(s,y)=>(s.consume("="),{type:"JsdocTypeOptional",element:I(y),meta:{position:"suffix"}})}),_e=te({name:"numberParslet",accept:s=>s==="Number",parsePrefix:s=>{let y=parseFloat(s.lexer.current.text);return s.consume("Number"),{type:"JsdocTypeNumber",value:y}}}),Re=te({name:"parenthesisParslet",accept:s=>s==="(",parsePrefix:s=>{if(s.consume("("),s.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let y=s.parseIntermediateType(B.ALL);if(!s.consume(")"))throw new Error("Unterminated parenthesis");return y.type==="JsdocTypeParameterList"?y:y.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[y]}:{type:"JsdocTypeParenthesis",element:I(y)}}}),Ie=te({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)}}),de=te({name:"notNullableParslet",accept:s=>s==="!",precedence:B.NULLABLE,parsePrefix:s=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:s.parseType(B.NULLABLE),meta:{position:"prefix"}}),parseInfix:(s,y)=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:I(y),meta:{position:"suffix"}})});function ue({allowTrailingComma:s}){return te({name:"parameterListParslet",accept:y=>y===",",precedence:B.PARAMETER_LIST,parseInfix:(y,S)=>{let q=[h(S)];y.consume(",");do try{let X=y.parseIntermediateType(B.PARAMETER_LIST);q.push(h(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 Ce=te({name:"genericParslet",accept:(s,y)=>s==="<"||s==="."&&y==="<",precedence:B.GENERIC,parseInfix:(s,y)=>{let S=s.consume(".");s.consume("<");let q=[],X=!1;if(s.consume("infer")){X=!0;let se=s.parseIntermediateType(B.SYMBOL);if(se.type!=="JsdocTypeName")throw new a(se,"A typescript asserts always has to have a name on the left side.");q.push(se)}else do q.push(s.parseType(B.PARAMETER_LIST));while(s.consume(","));if(!s.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:I(y),elements:q},X?{infer:!0}:{}),{meta:{brackets:"angle",dot:S}})}}),Ee=te({name:"unionParslet",accept:s=>s==="|",precedence:B.UNION,parseInfix:(s,y)=>{s.consume("|");let S=[];do S.push(s.parseType(B.UNION));while(s.consume("|"));return{type:"JsdocTypeUnion",elements:[I(y),...S]}}}),me=[K,fe,_e,Re,Ie,de,ue({allowTrailingComma:!0}),Ce,Ee,fe];function He({allowSquareBracketsOnAnyType:s,allowJsdocNamePaths:y,pathGrammar:S}){return function(q,X,se){if(se==null||X>=B.NAME_PATH)return null;let ye=q.lexer.current.type,De=q.lexer.next.type;if(!(ye==="."&&De!=="<"||ye==="["&&(s||se.type==="JsdocTypeName")||y&&(ye==="~"||ye==="#")))return null;let $e,Ze=!1;q.consume(".")?$e="property":q.consume("[")?($e="property-brackets",Ze=!0):q.consume("~")?$e="inner":(q.consume("#"),$e="instance");let Pt=S!==null?new N(S,q.lexer,q):q,vt=Pt.parseIntermediateType(B.NAME_PATH);q.acceptLexerState(Pt);let or;switch(vt.type){case"JsdocTypeName":or={type:"JsdocTypeProperty",value:vt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":or={type:"JsdocTypeProperty",value:vt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":or={type:"JsdocTypeProperty",value:vt.value,meta:{quote:vt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(vt.specialType==="event")or=vt;else throw new a(vt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new a(vt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Ze&&!q.consume("]")){let co=q.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${co.type}' with text '${co.text}'`)}return{type:"JsdocTypeNamePath",left:I(se),right:or,pathType:$e}}}function ke({allowedAdditionalTokens:s}){return te({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 mt=te({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 z({pathGrammar:s,allowedTypes:y}){return te({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,se=S.lexer.current;if(S.consume("StringValue"))X={type:"JsdocTypeSpecialNamePath",value:se.text.slice(1,-1),specialType:q,meta:{quote:se.text[0]==="'"?"single":"double"}};else{let $e="",Ze=["Identifier","@","/"];for(;Ze.some(Pt=>S.consume(Pt));)$e+=se.text,se=S.lexer.current;X={type:"JsdocTypeSpecialNamePath",value:$e,specialType:q,meta:{quote:void 0}}}let ye=new N(s,S.lexer,S),De=ye.parseInfixIntermediateType(X,B.ALL);return S.acceptLexerState(ye),I(De)}})}let ve=[ke({allowedAdditionalTokens:["external","module"]}),mt,_e,He({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Se=[...ve,z({allowedTypes:["event"],pathGrammar:ve})];function Ae(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=>h(S))}function je(s){let y=Ae(s);if(y.some(S=>S.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return y}function Me({allowNamedParameters:s,allowNoReturnType:y,allowWithoutParenthesis:S,allowNewAsFunctionKeyword:q}){return te({name:"functionParslet",accept:(X,se)=>X==="function"||q&&X==="new"&&se==="(",parsePrefix:X=>{let se=X.consume("new");X.consume("function");let ye=X.lexer.current.type==="(";if(!ye){if(!S)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let De={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:se,parenthesis:ye},$e=X.parseIntermediateType(B.FUNCTION);if(s===void 0)De.parameters=je($e);else{if(se&&$e.type==="JsdocTypeFunction"&&$e.arrow)return De=$e,De.constructor=!0,De;De.parameters=Ae($e);for(let Ze of De.parameters)if(Ze.type==="JsdocTypeKeyValue"&&!s.includes(Ze.key))throw new Error(`only allowed named parameters are ${s.join(", ")} but got ${Ze.type}`)}if(X.consume(":"))De.returnType=X.parseType(B.PREFIX);else if(!y)throw new Error("function is missing return type");return De}})}function Fe({allowPostfix:s,allowEnclosingBrackets:y}){return te({name:"variadicParslet",accept:S=>S==="...",precedence:B.PREFIX,parsePrefix:S=>{S.consume("...");let q=y&&S.consume("[");try{let X=S.parseType(B.PREFIX);if(q&&!S.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:I(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:I(q),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Ue=te({name:"symbolParslet",accept:s=>s==="(",precedence:B.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(B.SYMBOL);if(S.element=Z(q),!s.consume(")"))throw new Error("Symbol does not end after value")}return S}}),it=te({name:"arrayBracketsParslet",precedence:B.ARRAY_BRACKETS,accept:(s,y)=>s==="["&&y==="]",parseInfix:(s,y)=>(s.consume("["),s.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[I(y)],meta:{brackets:"square",dot:!1}})});function Jt({objectFieldGrammar:s,allowKeyTypes:y}){return te({name:"objectParslet",accept:S=>S==="{",parsePrefix:S=>{S.consume("{");let q={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!S.consume("}")){let X,se=new N(s,S.lexer,S);for(;;){se.acceptLexerState(S);let ye=se.parseIntermediateType(B.OBJECT);S.acceptLexerState(se),ye===void 0&&y&&(ye=S.parseIntermediateType(B.OBJECT));let De=!1;if(ye.type==="JsdocTypeNullable"&&(De=!0,ye=ye.element),ye.type==="JsdocTypeNumber"||ye.type==="JsdocTypeName"||ye.type==="JsdocTypeStringValue"){let $e;ye.type==="JsdocTypeStringValue"&&($e=ye.meta.quote),q.elements.push({type:"JsdocTypeObjectField",key:ye.value.toString(),right:void 0,optional:De,readonly:!1,meta:{quote:$e}})}else if(ye.type==="JsdocTypeObjectField"||ye.type==="JsdocTypeJsdocObjectField")q.elements.push(ye);else throw new a(ye);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 Ft({allowSquaredProperties:s,allowKeyTypes:y,allowReadonly:S,allowOptional:q}){return te({name:"objectFieldParslet",precedence:B.KEY_VALUE,accept:X=>X===":",parseInfix:(X,se)=>{var ye;let De=!1,$e=!1;q&&se.type==="JsdocTypeNullable"&&(De=!0,se=se.element),S&&se.type==="JsdocTypeReadonlyProperty"&&($e=!0,se=se.element);let Ze=(ye=X.baseParser)!==null&&ye!==void 0?ye:X;if(Ze.acceptLexerState(X),se.type==="JsdocTypeNumber"||se.type==="JsdocTypeName"||se.type==="JsdocTypeStringValue"||oe(se)){if(oe(se)&&!s)throw new a(se);Ze.consume(":");let Pt;se.type==="JsdocTypeStringValue"&&(Pt=se.meta.quote);let vt=Ze.parseType(B.KEY_VALUE);return X.acceptLexerState(Ze),{type:"JsdocTypeObjectField",key:oe(se)?se:se.value.toString(),right:vt,optional:De,readonly:$e,meta:{quote:Pt}}}else{if(!y)throw new a(se);Ze.consume(":");let Pt=Ze.parseType(B.KEY_VALUE);return X.acceptLexerState(Ze),{type:"JsdocTypeJsdocObjectField",left:I(se),right:Pt}}}})}function Ht({allowOptional:s,allowVariadic:y}){return te({name:"keyValueParslet",precedence:B.KEY_VALUE,accept:S=>S===":",parseInfix:(S,q)=>{let X=!1,se=!1;if(s&&q.type==="JsdocTypeNullable"&&(X=!0,q=q.element),y&&q.type==="JsdocTypeVariadic"&&q.element!==void 0&&(se=!0,q=q.element),q.type!=="JsdocTypeName")throw new a(q);S.consume(":");let ye=S.parseType(B.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:q.value,right:ye,optional:X,variadic:se}}})}let pt=[...me,Me({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),mt,z({allowedTypes:["module","external","event"],pathGrammar:Se}),Fe({allowEnclosingBrackets:!0,allowPostfix:!0}),ke({allowedAdditionalTokens:["keyof"]}),Ue,it,He({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Se})],Yt=[...pt,Jt({objectFieldGrammar:[ke({allowedAdditionalTokens:["typeof","module","in"]}),Ft({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...pt],allowKeyTypes:!0}),Ht({allowOptional:!0,allowVariadic:!0})],Ut=te({name:"typeOfParslet",accept:s=>s==="typeof",parsePrefix:s=>(s.consume("typeof"),{type:"JsdocTypeTypeof",element:s.parseType(B.KEY_OF_TYPE_OF)})}),xe=[ke({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),K,fe,mt,_e,Ft({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],qt=[...me,Jt({allowKeyTypes:!1,objectFieldGrammar:xe}),ke({allowedAdditionalTokens:["event","external","in"]}),Ut,Me({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Fe({allowEnclosingBrackets:!1,allowPostfix:!1}),ke({allowedAdditionalTokens:["keyof"]}),z({allowedTypes:["module"],pathGrammar:Se}),He({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Se}),Ht({allowOptional:!1,allowVariadic:!1}),Ue],oo=te({name:"assertsParslet",accept:s=>s==="asserts",parsePrefix:s=>{s.consume("asserts");let y=s.parseIntermediateType(B.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:I(s.parseIntermediateType(B.INFIX))}:{type:"JsdocTypeAssertsPlain",element:y}}});function io({allowQuestionMark:s}){return te({name:"tupleParslet",accept:y=>y==="[",parsePrefix:y=>{y.consume("[");let S={type:"JsdocTypeTuple",elements:[]};if(y.consume("]"))return S;let q=y.parseIntermediateType(B.ALL);if(q.type==="JsdocTypeParameterList"?q.elements[0].type==="JsdocTypeKeyValue"?S.elements=q.elements.map(j):S.elements=q.elements.map(I):q.type==="JsdocTypeKeyValue"?S.elements=[j(q)]:S.elements=[I(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 ao=te({name:"keyOfParslet",accept:s=>s==="keyof",parsePrefix:s=>(s.consume("keyof"),{type:"JsdocTypeKeyof",element:I(s.parseType(B.KEY_OF_TYPE_OF))})}),Cn=te({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(B.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}}}),xn=te({name:"readonlyPropertyParslet",accept:s=>s==="readonly",parsePrefix:s=>(s.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:s.parseIntermediateType(B.KEY_VALUE)})}),Ir=te({name:"arrowFunctionParslet",precedence:B.ARROW,accept:s=>s==="=>",parseInfix:(s,y)=>(s.consume("=>"),{type:"JsdocTypeFunction",parameters:Ae(y).map(C),arrow:!0,constructor:!1,parenthesis:!0,returnType:s.parseType(B.OBJECT)})}),nr=te({name:"genericArrowFunctionParslet",accept:s=>s==="<",parsePrefix:s=>{let y=[];s.consume("<");do{let q,X=s.parseIntermediateType(B.SYMBOL);if(X.type==="JsdocTypeOptional"&&(X=X.element,q=s.parseType(B.SYMBOL)),X.type!=="JsdocTypeName")throw new a(X);let se;s.consume("extends")&&(se=s.parseType(B.SYMBOL),se.type==="JsdocTypeOptional"&&(se=se.element,q=s.parseType(B.SYMBOL)));let ye={type:"JsdocTypeTypeParameter",name:X};if(se!==void 0&&(ye.constraint=se),q!==void 0&&(ye.defaultValue=q),y.push(ye),s.consume(">"))break}while(s.consume(","));let S=s.parseIntermediateType(B.SYMBOL);return S.typeParameters=y,S}}),hr=te({name:"intersectionParslet",accept:s=>s==="&",precedence:B.INTERSECTION,parseInfix:(s,y)=>{s.consume("&");let S=[];do S.push(s.parseType(B.INTERSECTION));while(s.consume("&"));return{type:"JsdocTypeIntersection",elements:[I(y),...S]}}}),Tr=te({name:"predicateParslet",precedence:B.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:I(s.parseIntermediateType(B.INFIX))}}}),so=te({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(B.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(B.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}}),Vr=te({name:"readonlyArrayParslet",accept:s=>s==="readonly",parsePrefix:s=>(s.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:G(s.parseIntermediateType(B.ALL))})}),In=te({name:"conditionalParslet",precedence:B.INFIX,accept:s=>s==="extends",parseInfix:(s,y)=>{s.consume("extends");let S=s.parseType(B.KEY_OF_TYPE_OF).element,q=s.parseType(B.INFIX);return s.consume(":"),{type:"JsdocTypeConditional",checksType:I(y),extendsType:S,trueType:q,falseType:s.parseType(B.INFIX)}}}),Nn=[xn,ke({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),K,fe,mt,_e,Ft({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),so],lo=[...me,Jt({allowKeyTypes:!1,objectFieldGrammar:Nn}),Vr,Ut,ao,Cn,mt,Me({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),io({allowQuestionMark:!1}),Fe({allowEnclosingBrackets:!1,allowPostfix:!1}),oo,In,ke({allowedAdditionalTokens:["event","external","in"]}),z({allowedTypes:["module"],pathGrammar:Se}),it,Ir,nr,He({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Se}),hr,Tr,Ht({allowVariadic:!0,allowOptional:!0})];function sr(s,y){switch(y){case"closure":return new N(qt,s).parse();case"jsdoc":return new N(Yt,s).parse();case"typescript":return new N(lo,s).parse()}}function Nr(s,y=["typescript","closure","jsdoc"]){let S;for(let q of y)try{return sr(s,q)}catch(X){S=X}throw S}function Kt(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=>Kt(s,q))}function qe(s){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function Mt(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 yt(s,y,S){return s==="prefix"?S+y:y+S}function Rt(s,y){switch(y){case"double":return`"${s}"`;case"single":return`'${s}'`;case void 0:return s}}function be(){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?"...":yt(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=>Rt(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+=Rt(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}:${Rt(s.value,s.meta.quote)}`,JsdocTypeNotNullable:(s,y)=>yt(s.meta.position,y(s.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(s,y)=>yt(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)=>yt(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=>Rt(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 jn=be();function jr(s){return Kt(jn,s)}let Jr=["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 wt(s){let y={type:"NameExpression",name:s};return Jr.includes(s)&&(y.reservedWord=!0),y}let uo={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=>wt(Rt(s.value,s.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(s,y)=>{let S=Mt(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=>wt(s.specialType+":"+Rt(s.value,s.meta.quote)),JsdocTypeName:s=>s.value!=="function"?wt(s.value):{type:"FunctionType",params:[]},JsdocTypeNumber:s=>wt(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:wt(Rt(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:wt(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=Rt(s.right.value,s.right.meta.quote);let X=s.pathType==="inner"?"~":s.pathType==="instance"?"#":".";return wt(`${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+="..."),wt(`${s.value}(${y})`)},JsdocTypeParenthesis:(s,y)=>y(I(s.element)),JsdocTypeMappedType:qe,JsdocTypeIndexSignature:qe,JsdocTypeImport:qe,JsdocTypeKeyof:qe,JsdocTypeTuple:qe,JsdocTypeTypeof:qe,JsdocTypeIntersection:qe,JsdocTypeProperty:qe,JsdocTypePredicate:qe,JsdocTypeAsserts:qe,JsdocTypeReadonlyArray:qe,JsdocTypeAssertsPlain:qe,JsdocTypeConditional:qe,JsdocTypeTypeParameter:qe};function qn(s){return Kt(uo,s)}function Gt(s){switch(s){case void 0:return"none";case"single":return"single";case"double":return"double"}}function _i(s){switch(s){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function sn(s,y){return y.length===2?{type:s,left:y[0],right:y[1]}:{type:s,left:y[0],right:sn(s,y.slice(1))}}let Bo={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:Gt(s.element.meta.quote),string:s.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(s,y)=>{let S=Mt(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:Gt(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:Gt(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:Gt(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=Gt(s.right.meta.quote)):(q=s.right.value,X=Gt(s.right.meta.quote));let se={type:_i(s.pathType),owner:y(s.left),name:q,quoteStyle:X,hasEventPrefix:S};if(se.owner.type==="MODULE"){let ye=se.owner;return se.owner=se.owner.value,ye.value=se,ye}else return se},JsdocTypeUnion:(s,y)=>sn("UNION",s.elements.map(y)),JsdocTypeParenthesis:(s,y)=>({type:"PARENTHESIS",value:y(I(s.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:s=>({type:"STRING_VALUE",quoteStyle:Gt(s.meta.quote),string:s.value}),JsdocTypeIntersection:(s,y)=>sn("INTERSECTION",s.elements.map(y)),JsdocTypeNumber:s=>({type:"NUMBER_VALUE",number:s.value.toString()}),JsdocTypeSymbol:qe,JsdocTypeProperty:qe,JsdocTypePredicate:qe,JsdocTypeMappedType:qe,JsdocTypeIndexSignature:qe,JsdocTypeAsserts:qe,JsdocTypeReadonlyArray:qe,JsdocTypeAssertsPlain:qe,JsdocTypeConditional:qe,JsdocTypeTypeParameter:qe};function Si(s){return Kt(Bo,s)}function Ri(){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 Mn={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 ln(s,y,S,q,X){q==null||q(s,y,S);let se=Mn[s.type];for(let ye of se){let De=s[ye];if(De!==void 0)if(Array.isArray(De))for(let $e of De)ln($e,s,ye,q,X);else ln(De,s,ye,q,X)}X==null||X(s,y,S)}function Hr(s,y,S){ln(s,void 0,void 0,y,S)}r.catharsisTransform=qn,r.identityTransformRules=Ri,r.jtpTransform=Si,r.parse=sr,r.stringify=jr,r.stringifyRules=be,r.transform=Kt,r.traverse=Hr,r.tryParse=Nr,r.visitorKeys=Mn})}});const{UnknownArgTypesError:Mz}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{UnknownArgTypesError:Lz}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var wu;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(wu=wu||(wu={}));var ZG=XG(QG(),1),ko=(0,ZG.stringifyRules)(),e3=ko.JsdocTypeObject;ko.JsdocTypeAny=()=>"any";ko.JsdocTypeObject=(e,t)=>`(${e3(e,t)})`;ko.JsdocTypeOptional=(e,t)=>t(e.element);ko.JsdocTypeNullable=(e,t)=>t(e.element);ko.JsdocTypeNotNullable=(e,t)=>t(e.element);ko.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");var TS=(...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:Tu(l)&&Tu(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=>Tu(a))?n[o]=TS(...i):n[o]=i[i.length-1]}),n},t3=e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n;if(!o||!t)return r;let i=o(t);return i?TS(i,r):r},r3="storybook/docs",Dz=`${r3}/snippet-rendered`,Bs=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Bs||{});function wS(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. [ ]{`.concat(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:"".concat(p).concat(g)}).join(`
  844. `)),a+=f+n[d+1]}),a}var n3={};JG(n3,{argTypesEnhancers:()=>OS,parameters:()=>RS,render:()=>_S,renderToCanvas:()=>SS});const{global:o3}=__STORYBOOK_MODULE_GLOBAL__,{simulateDOMContentLoaded:i3,simulatePageLoad:a3}=__STORYBOOK_MODULE_PREVIEW_API__;var{Node:s3}=o3,_S=(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(wS`
  845. Storybook's HTML renderer only supports rendering DOM elements and strings.
  846. Received: ${n}
  847. `),new Error(`Unable to render story ${r}`)};function SS({storyFn:e,kind:t,name:r,showMain:n,showError:o,forceRemount:i},a){let l=e();if(n(),typeof l=="string")a.innerHTML=l,a3(a);else if(l instanceof s3){if(a.firstChild===l&&i===!1)return;a.innerHTML="",a.appendChild(l),i3()}else o({title:`Expecting an HTML snippet or DOM node from the story: "${r}" of "${t}".`,description:wS`
  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 RS={renderer:"html"},OS=[t3];const l3=Object.freeze(Object.defineProperty({__proto__:null,argTypesEnhancers:OS,parameters:RS,render:_S,renderToCanvas:SS},Symbol.toStringTag,{value:"Module"})),{emitTransformCode:xy,useEffect:u3,useRef:c3}=__STORYBOOK_MODULE_PREVIEW_API__;function d3(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)===Bs.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Bs.CODE}var p3=(e,t)=>{let r=c3(void 0),n=e();return u3(()=>{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;d3(t)||(typeof o=="string"&&r.current!==o?(xy(o,t),r.current=o):o instanceof Element&&r.current!==o.outerHTML&&(xy(o.outerHTML,t),r.current=o.outerHTML))}),n},f3=[p3],h3={docs:{story:{inline:!0},source:{type:Bs.DYNAMIC,language:"html",code:void 0,excludeDecorators:void 0}}};const m3=Object.freeze(Object.defineProperty({__proto__:null,decorators:f3,parameters:h3},Symbol.toStringTag,{value:"Module"}));var y3=Object.defineProperty,g3=(e,t)=>{for(var r in t)y3(e,r,{get:t[r],enumerable:!0})},b3="links",El="storybook/highlight",v3=`${El}/add`,Iy=`${El}/remove`,kz=`${El}/reset`,$z=`${El}/scroll-into-view`,Bz=2147483647,Fz=28;const{SELECT_STORY:E3,STORY_CHANGED:T3}=__STORYBOOK_MODULE_CORE_EVENTS__,{global:w3}=__STORYBOOK_MODULE_GLOBAL__,{addons:PS,makeDecorator:_3}=__STORYBOOK_MODULE_PREVIEW_API__;var{document:AS,HTMLElement:S3}=w3,R3=e=>PS.getChannel().emit(E3,e),CS=e=>{let{target:t}=e;if(!(t instanceof S3))return;let r=t,{sbKind:n,sbStory:o}=r.dataset;(n||o)&&(e.preventDefault(),R3({kind:n,story:o}))},Fs=!1,O3=()=>{Fs||(Fs=!0,AS.addEventListener("click",CS))},P3=()=>{Fs&&(Fs=!1,AS.removeEventListener("click",CS))},A3=_3({name:"withLinks",parameterName:b3,wrapper:(e,t)=>(O3(),PS.getChannel().once(T3,P3),e(t))}),C3={};g3(C3,{decorators:()=>xS});var xS=[A3];const x3=Object.freeze(Object.defineProperty({__proto__:null,decorators:xS},Symbol.toStringTag,{value:"Module"}));var I3=Object.create,zp=Object.defineProperty,N3=Object.getOwnPropertyDescriptor,IS=Object.getOwnPropertyNames,j3=Object.getPrototypeOf,q3=Object.prototype.hasOwnProperty,Uz=(e,t)=>function(){try{return t||(0,e[IS(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},M3=(e,t)=>{for(var r in t)zp(e,r,{get:t[r],enumerable:!0})},L3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of IS(t))!q3.call(e,o)&&o!==r&&zp(e,o,{get:()=>t[o],enumerable:!(n=N3(t,o))||n.enumerable});return e},Vz=(e,t,r)=>(r=e!=null?I3(j3(e)):{},L3(zp(r,"default",{value:e,enumerable:!0}),e)),D3={};M3(D3,{parameters:()=>NS});var k3=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),NS={docs:{renderer:async()=>{let{DocsRenderer:e}=await ce(async()=>{const{DocsRenderer:t}=await import("./DocsRenderer-JROSPFPF-CdIgyPDv.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=>k3[r]).length===0&&!((t=e.parameters.docs)!=null&&t.disable)}}}};const $3=Object.freeze(Object.defineProperty({__proto__:null,parameters:NS},Symbol.toStringTag,{value:"Module"}));var $o="storybook/a11y",B3=`${$o}/panel`,F3=`${$o}/result`,U3=`${$o}/request`,V3=`${$o}/running`,J3=`${$o}/error`,H3=`${$o}/manual`,G3=`${$o}/select`,_u={RESULT:F3,REQUEST:U3,RUNNING:V3,ERROR:J3,MANUAL:H3,SELECT:G3},jS={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%)"}},W3=`<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>`,z3=Object.defineProperty,Y3=(e,t)=>{for(var r in t)z3(e,r,{get:t[r],enumerable:!0})},K3={};Y3(K3,{afterEach:()=>kS,decorators:()=>DS,initialGlobals:()=>$S,parameters:()=>BS});const{expect:Ny}=__STORYBOOK_MODULE_TEST__,{ElementA11yParameterError:X3}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:Q3}=__STORYBOOK_MODULE_GLOBAL__,{addons:Z3,waitForAnimations:eW}=__STORYBOOK_MODULE_PREVIEW_API__,{global:tW}=__STORYBOOK_MODULE_GLOBAL__;var{document:rW}=tW,nW=(e,t)=>{let r=rW.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=${B3}&a11ySelection=${d}`;return{id:d,...a,linkPath:c}})})))}),n},{document:Go}=Q3,Su=Z3.getChannel(),qS={config:{},options:{}},oW=["region"],Dc=[],kc=!1,MS=async()=>{if(Dc.length===0){kc=!1;return}kc=!0;let e=Dc.shift();e&&await e(),MS()},LS=async(e=qS,t)=>{var l;let r=((l=await ce(async()=>{const{default:d}=await import("./axe-DD-0TXZ5.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 X3;let i={include:Go==null?void 0:Go.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:[...oW.map(d=>({id:d,enabled:!1})),...(n==null?void 0:n.rules)??[]]};return r.configure(a),new Promise((d,c)=>{let p=Go==null?void 0:Go.getElementById("storybook-highlights-root");p&&(p.style.display="none");let f=async()=>{try{let g=await r.run(i,o),b=nW(g,t);d(b)}catch(g){c(g)}};Dc.push(f),kc||MS(),p&&(p.style.display="")})};Su.on(_u.MANUAL,async(e,t=qS)=>{try{await eW();let r=await LS(t,e),n=JSON.parse(JSON.stringify(r));Su.emit(_u.RESULT,n,e)}catch(r){Su.emit(_u.ERROR,r)}});function jy(){try{return!1}catch{return!1}}const{useCallback:iW,useEffect:qy}=__STORYBOOK_MODULE_PREVIEW_API__;var aW=Object.values(jS).map(e=>e.filter),sW=new RegExp(`\\b(${aW.join("|")})\\b`,"g"),lW=(e,{globals:t})=>{let{vision:r}=t,n=iW(()=>{var a;let o=document.body.style.filter.replaceAll(sW,"").trim(),i=(a=jS[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 qy(()=>{let o=n(),i=new MutationObserver(()=>n());return i.observe(document.body,{attributeFilter:["class"]}),()=>{o(),i.disconnect()}},[n]),qy(()=>(document.body.insertAdjacentHTML("beforeend",W3),()=>{var i;let o=document.getElementById("storybook-a11y-vision-filters");(i=o==null?void 0:o.parentElement)==null||i.removeChild(o)}),[]),e()},My=!1,DS=[lW],kS=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=()=>(i==null?void 0:i.test)==="todo"?"warning":"failed";if(l&&o==="story")try{let c=await LS(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"}),jy()&&p&&d()==="failed"){if(!My){let{toHaveNoViolations:f}=await ce(async()=>{const{toHaveNoViolations:g}=await import("./matchers-JIUQ3HVY-CAdg16Fl.js");return{toHaveNoViolations:g}},[],import.meta.url);Ny.extend({toHaveNoViolations:f}),My=!0}Ny(c).toHaveNoViolations()}}}catch(c){if(t.addReport({type:"a11y",version:1,result:{error:c},status:"failed"}),jy())throw c}},$S={a11y:{manual:!1},vision:void 0},BS={a11y:{test:"todo"}};const uW=Object.freeze(Object.defineProperty({__proto__:null,afterEach:kS,decorators:DS,initialGlobals:$S,parameters:BS},Symbol.toStringTag,{value:"Module"})),{useChannel:cW,useEffect:dW}=__STORYBOOK_MODULE_PREVIEW_API__;var Yp="chromaui/addon-visual-tests",FS="highlightIgnored",$c=`${Yp}/highlightIgnored`,Ly=`${Yp}/highlightIgnored/count`,pW=`${Yp}/highlightIgnored/select`,Dy=['[data-chromatic="ignore"]','[class~="chromatic-ignore"]'],fW={backgroundColor:"rgba(255, 173, 51, 0.2)",outline:"1px solid rgba(255, 173, 51, 0.7)",outlineOffset:"-1px"},hW={backgroundColor:"rgba(255, 173, 51, 0.1)",outlineWidth:"2px"},mW={backgroundColor:"transparent",outlineWidth:"2px"},yW=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}},gW=e=>{let t=(e==null?void 0:e.ignoreSelectors)??[],r=Array.from(new Set(Dy.concat(t.filter(yW))));return{id:$c,selectors:r,styles:fW,hoverStyles:hW,focusStyles:mW,menu:r.map(n=>{let o=Dy.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:pW,selectors:[n]}]})}},bW=(e,{globals:t,parameters:r,id:n})=>{let o=!!t[FS],i=cW({}),a=gW(r.chromatic),l=(a==null?void 0:a.selectors.join(`
  903. `))??"";return dW(()=>{if(i(Iy,$c),!(a!=null&&a.selectors.length)){i(Ly,0);return}o&&i(v3,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(Ly,c.size),()=>i(Iy,$c)},[i,a,n,l,o]),e()},vW=[bW],EW={[FS]:!1};const TW=Object.freeze(Object.defineProperty({__proto__:null,decorators:vW,initialGlobals:EW},Symbol.toStringTag,{value:"Module"})),US=[{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"}],VS=US[0].value;var JS=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function HS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var GS={exports:{}};/*!
  904. * jQuery JavaScript Library v3.7.1
  905. * https://jquery.com/
  906. *
  907. * Copyright OpenJS Foundation and other contributors
  908. * Released under the MIT license
  909. * https://jquery.org/license
  910. *
  911. * Date: 2023-08-28T13:37Z
  912. */(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:JS,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),E={},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 M(u,m,v){v=v||_;var T,O,P=v.createElement("script");if(P.text=u,m)for(T in A)O=m[T]||m.getAttribute&&m.getAttribute(T),O&&P.setAttribute(T,O);v.head.appendChild(P).parentNode.removeChild(P)}function L(u){return u==null?u+"":typeof u=="object"||typeof u=="function"?c[p.call(u)]||"object":typeof u}var D="3.7.1",I=/HTML$/i,h=function(u,m){return new h.fn.init(u,m)};h.fn=h.prototype={jquery:D,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,T,O,P,x=arguments[0]||{},H=1,J=arguments.length,Q=!1;for(typeof x=="boolean"&&(Q=x,x=arguments[H]||{},H++),typeof x!="object"&&!w(x)&&(x={}),H===J&&(x=this,H--);H<J;H++)if((u=arguments[H])!=null)for(m in u)T=u[m],!(m==="__proto__"||x===T)&&(Q&&T&&(h.isPlainObject(T)||(O=Array.isArray(T)))?(v=x[m],O&&!Array.isArray(v)?P=[]:!O&&!h.isPlainObject(v)?P={}:P=v,O=!1,x[m]=h.extend(Q,P,T)):T!==void 0&&(x[m]=T));return x},h.extend({expando:"jQuery"+(D+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){M(u,{nonce:m&&m.nonce},v)},each:function(u,m){var v,T=0;if(C(u))for(v=u.length;T<v&&m.call(u[T],T,u[T])!==!1;T++);else for(T in u)if(m.call(u[T],T,u[T])===!1)break;return u},text:function(u){var m,v="",T=0,O=u.nodeType;if(!O)for(;m=u[T++];)v+=h.text(m);return O===1||O===11?u.textContent:O===9?u.documentElement.textContent:O===3||O===4?u.nodeValue:v},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)},isXMLDoc:function(u){var m=u&&u.namespaceURI,v=u&&(u.ownerDocument||u).documentElement;return!I.test(m||v&&v.nodeName||"HTML")},merge:function(u,m){for(var v=+m.length,T=0,O=u.length;T<v;T++)u[O++]=m[T];return u.length=O,u},grep:function(u,m,v){for(var T,O=[],P=0,x=u.length,H=!v;P<x;P++)T=!m(u[P],P),T!==H&&O.push(u[P]);return O},map:function(u,m,v){var T,O,P=0,x=[];if(C(u))for(T=u.length;P<T;P++)O=m(u[P],P,v),O!=null&&x.push(O);else for(P in u)O=m(u[P],P,v),O!=null&&x.push(O);return a(x)},guid:1,support:E}),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=L(u);return w(u)||R(u)?!1:v==="array"||m===0||typeof m=="number"&&m>0&&m-1 in u}function j(u,m){return u.nodeName&&u.nodeName.toLowerCase()===m.toLowerCase()}var Z=n.pop,G=n.sort,oe=n.splice,B="[\\x20\\t\\r\\n\\f]",N=new RegExp("^"+B+"+|((?:^|[^\\\\])(?:\\\\.)*)"+B+"+$","g");h.contains=function(u,m){var v=m&&m.parentNode;return u===v||!!(v&&v.nodeType===1&&(u.contains?u.contains(v):u.compareDocumentPosition&&u.compareDocumentPosition(v)&16))};var V=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function K(u,m){return m?u==="\0"?"�":u.slice(0,-1)+"\\"+u.charCodeAt(u.length-1).toString(16)+" ":"\\"+u}h.escapeSelector=function(u){return(u+"").replace(V,K)};var te=_,fe=l;(function(){var u,m,v,T,O,P=fe,x,H,J,Q,le,he=h.expando,ie=0,ge=0,Ve=Da(),rt=Da(),ze=Da(),Wt=Da(),Dt=function(k,W){return k===W&&(O=!0),0},Gr="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Wr="(?:\\\\[\\da-fA-F]{1,6}"+B+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",et="\\["+B+"*("+Wr+")(?:"+B+"*([*^$|!~]?=)"+B+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Wr+"))|)"+B+"*\\]",ho=":("+Wr+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+et+")*)|.*)\\)|)",at=new RegExp(B+"+","g"),At=new RegExp("^"+B+"*,"+B+"*"),Ci=new RegExp("^"+B+"*([>+~]|"+B+")"+B+"*"),Il=new RegExp(B+"|>"),zr=new RegExp(ho),xi=new RegExp("^"+Wr+"$"),Yr={ID:new RegExp("^#("+Wr+")"),CLASS:new RegExp("^\\.("+Wr+")"),TAG:new RegExp("^("+Wr+"|[*])"),ATTR:new RegExp("^"+et),PSEUDO:new RegExp("^"+ho),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+Gr+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},Ln=/^(?:input|select|textarea|button)$/i,Dn=/^h\d$/i,wr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Nl=/[+~]/,un=new RegExp("\\\\[\\da-fA-F]{1,6}"+B+"?|\\\\([^\\r\\n\\f])","g"),cn=function(k,W){var ne="0x"+k.slice(1)-65536;return W||(ne<0?String.fromCharCode(ne+65536):String.fromCharCode(ne>>10|55296,ne&1023|56320))},g0=function(){kn()},b0=$a(function(k){return k.disabled===!0&&j(k,"fieldset")},{dir:"parentNode",next:"legend"});function v0(){try{return x.activeElement}catch{}}try{P.apply(n=i.call(te.childNodes),te.childNodes),n[te.childNodes.length].nodeType}catch{P={apply:function(W,ne){fe.apply(W,i.call(ne))},call:function(W){fe.apply(W,i.call(arguments,1))}}}function dt(k,W,ne,ae){var pe,Te,Oe,Ne,Pe,Xe,Be,Je=W&&W.ownerDocument,Qe=W?W.nodeType:9;if(ne=ne||[],typeof k!="string"||!k||Qe!==1&&Qe!==9&&Qe!==11)return ne;if(!ae&&(kn(W),W=W||x,J)){if(Qe!==11&&(Pe=wr.exec(k)))if(pe=Pe[1]){if(Qe===9)if(Oe=W.getElementById(pe)){if(Oe.id===pe)return P.call(ne,Oe),ne}else return ne;else if(Je&&(Oe=Je.getElementById(pe))&&dt.contains(W,Oe)&&Oe.id===pe)return P.call(ne,Oe),ne}else{if(Pe[2])return P.apply(ne,W.getElementsByTagName(k)),ne;if((pe=Pe[3])&&W.getElementsByClassName)return P.apply(ne,W.getElementsByClassName(pe)),ne}if(!Wt[k+" "]&&(!Q||!Q.test(k))){if(Be=k,Je=W,Qe===1&&(Il.test(k)||Ci.test(k))){for(Je=Nl.test(k)&&jl(W.parentNode)||W,(Je!=W||!E.scope)&&((Ne=W.getAttribute("id"))?Ne=h.escapeSelector(Ne):W.setAttribute("id",Ne=he)),Xe=Ii(k),Te=Xe.length;Te--;)Xe[Te]=(Ne?"#"+Ne:":scope")+" "+ka(Xe[Te]);Be=Xe.join(",")}try{return P.apply(ne,Je.querySelectorAll(Be)),ne}catch{Wt(k,!0)}finally{Ne===he&&W.removeAttribute("id")}}}return yf(k.replace(N,"$1"),W,ne,ae)}function Da(){var k=[];function W(ne,ae){return k.push(ne+" ")>m.cacheLength&&delete W[k.shift()],W[ne+" "]=ae}return W}function Mr(k){return k[he]=!0,k}function Uo(k){var W=x.createElement("fieldset");try{return!!k(W)}catch{return!1}finally{W.parentNode&&W.parentNode.removeChild(W),W=null}}function E0(k){return function(W){return j(W,"input")&&W.type===k}}function T0(k){return function(W){return(j(W,"input")||j(W,"button"))&&W.type===k}}function hf(k){return function(W){return"form"in W?W.parentNode&&W.disabled===!1?"label"in W?"label"in W.parentNode?W.parentNode.disabled===k:W.disabled===k:W.isDisabled===k||W.isDisabled!==!k&&b0(W)===k:W.disabled===k:"label"in W?W.disabled===k:!1}}function mo(k){return Mr(function(W){return W=+W,Mr(function(ne,ae){for(var pe,Te=k([],ne.length,W),Oe=Te.length;Oe--;)ne[pe=Te[Oe]]&&(ne[pe]=!(ae[pe]=ne[pe]))})})}function jl(k){return k&&typeof k.getElementsByTagName<"u"&&k}function kn(k){var W,ne=k?k.ownerDocument||k:te;return ne==x||ne.nodeType!==9||!ne.documentElement||(x=ne,H=x.documentElement,J=!h.isXMLDoc(x),le=H.matches||H.webkitMatchesSelector||H.msMatchesSelector,H.msMatchesSelector&&te!=x&&(W=x.defaultView)&&W.top!==W&&W.addEventListener("unload",g0),E.getById=Uo(function(ae){return H.appendChild(ae).id=h.expando,!x.getElementsByName||!x.getElementsByName(h.expando).length}),E.disconnectedMatch=Uo(function(ae){return le.call(ae,"*")}),E.scope=Uo(function(){return x.querySelectorAll(":scope")}),E.cssHas=Uo(function(){try{return x.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),E.getById?(m.filter.ID=function(ae){var pe=ae.replace(un,cn);return function(Te){return Te.getAttribute("id")===pe}},m.find.ID=function(ae,pe){if(typeof pe.getElementById<"u"&&J){var Te=pe.getElementById(ae);return Te?[Te]:[]}}):(m.filter.ID=function(ae){var pe=ae.replace(un,cn);return function(Te){var Oe=typeof Te.getAttributeNode<"u"&&Te.getAttributeNode("id");return Oe&&Oe.value===pe}},m.find.ID=function(ae,pe){if(typeof pe.getElementById<"u"&&J){var Te,Oe,Ne,Pe=pe.getElementById(ae);if(Pe){if(Te=Pe.getAttributeNode("id"),Te&&Te.value===ae)return[Pe];for(Ne=pe.getElementsByName(ae),Oe=0;Pe=Ne[Oe++];)if(Te=Pe.getAttributeNode("id"),Te&&Te.value===ae)return[Pe]}return[]}}),m.find.TAG=function(ae,pe){return typeof pe.getElementsByTagName<"u"?pe.getElementsByTagName(ae):pe.querySelectorAll(ae)},m.find.CLASS=function(ae,pe){if(typeof pe.getElementsByClassName<"u"&&J)return pe.getElementsByClassName(ae)},Q=[],Uo(function(ae){var pe;H.appendChild(ae).innerHTML="<a id='"+he+"' href='' disabled='disabled'></a><select id='"+he+"-\r\\' disabled='disabled'><option selected=''></option></select>",ae.querySelectorAll("[selected]").length||Q.push("\\["+B+"*(?:value|"+Gr+")"),ae.querySelectorAll("[id~="+he+"-]").length||Q.push("~="),ae.querySelectorAll("a#"+he+"+*").length||Q.push(".#.+[+~]"),ae.querySelectorAll(":checked").length||Q.push(":checked"),pe=x.createElement("input"),pe.setAttribute("type","hidden"),ae.appendChild(pe).setAttribute("name","D"),H.appendChild(ae).disabled=!0,ae.querySelectorAll(":disabled").length!==2&&Q.push(":enabled",":disabled"),pe=x.createElement("input"),pe.setAttribute("name",""),ae.appendChild(pe),ae.querySelectorAll("[name='']").length||Q.push("\\["+B+"*name"+B+"*="+B+`*(?:''|"")`)}),E.cssHas||Q.push(":has"),Q=Q.length&&new RegExp(Q.join("|")),Dt=function(ae,pe){if(ae===pe)return O=!0,0;var Te=!ae.compareDocumentPosition-!pe.compareDocumentPosition;return Te||(Te=(ae.ownerDocument||ae)==(pe.ownerDocument||pe)?ae.compareDocumentPosition(pe):1,Te&1||!E.sortDetached&&pe.compareDocumentPosition(ae)===Te?ae===x||ae.ownerDocument==te&&dt.contains(te,ae)?-1:pe===x||pe.ownerDocument==te&&dt.contains(te,pe)?1:T?d.call(T,ae)-d.call(T,pe):0:Te&4?-1:1)}),x}dt.matches=function(k,W){return dt(k,null,null,W)},dt.matchesSelector=function(k,W){if(kn(k),J&&!Wt[W+" "]&&(!Q||!Q.test(W)))try{var ne=le.call(k,W);if(ne||E.disconnectedMatch||k.document&&k.document.nodeType!==11)return ne}catch{Wt(W,!0)}return dt(W,x,null,[k]).length>0},dt.contains=function(k,W){return(k.ownerDocument||k)!=x&&kn(k),h.contains(k,W)},dt.attr=function(k,W){(k.ownerDocument||k)!=x&&kn(k);var ne=m.attrHandle[W.toLowerCase()],ae=ne&&f.call(m.attrHandle,W.toLowerCase())?ne(k,W,!J):void 0;return ae!==void 0?ae:k.getAttribute(W)},dt.error=function(k){throw new Error("Syntax error, unrecognized expression: "+k)},h.uniqueSort=function(k){var W,ne=[],ae=0,pe=0;if(O=!E.sortStable,T=!E.sortStable&&i.call(k,0),G.call(k,Dt),O){for(;W=k[pe++];)W===k[pe]&&(ae=ne.push(pe));for(;ae--;)oe.call(k,ne[ae],1)}return T=null,k},h.fn.uniqueSort=function(){return this.pushStack(h.uniqueSort(i.apply(this)))},m=h.expr={cacheLength:50,createPseudo:Mr,match:Yr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(k){return k[1]=k[1].replace(un,cn),k[3]=(k[3]||k[4]||k[5]||"").replace(un,cn),k[2]==="~="&&(k[3]=" "+k[3]+" "),k.slice(0,4)},CHILD:function(k){return k[1]=k[1].toLowerCase(),k[1].slice(0,3)==="nth"?(k[3]||dt.error(k[0]),k[4]=+(k[4]?k[5]+(k[6]||1):2*(k[3]==="even"||k[3]==="odd")),k[5]=+(k[7]+k[8]||k[3]==="odd")):k[3]&&dt.error(k[0]),k},PSEUDO:function(k){var W,ne=!k[6]&&k[2];return Yr.CHILD.test(k[0])?null:(k[3]?k[2]=k[4]||k[5]||"":ne&&zr.test(ne)&&(W=Ii(ne,!0))&&(W=ne.indexOf(")",ne.length-W)-ne.length)&&(k[0]=k[0].slice(0,W),k[2]=ne.slice(0,W)),k.slice(0,3))}},filter:{TAG:function(k){var W=k.replace(un,cn).toLowerCase();return k==="*"?function(){return!0}:function(ne){return j(ne,W)}},CLASS:function(k){var W=Ve[k+" "];return W||(W=new RegExp("(^|"+B+")"+k+"("+B+"|$)"))&&Ve(k,function(ne){return W.test(typeof ne.className=="string"&&ne.className||typeof ne.getAttribute<"u"&&ne.getAttribute("class")||"")})},ATTR:function(k,W,ne){return function(ae){var pe=dt.attr(ae,k);return pe==null?W==="!=":W?(pe+="",W==="="?pe===ne:W==="!="?pe!==ne:W==="^="?ne&&pe.indexOf(ne)===0:W==="*="?ne&&pe.indexOf(ne)>-1:W==="$="?ne&&pe.slice(-ne.length)===ne:W==="~="?(" "+pe.replace(at," ")+" ").indexOf(ne)>-1:W==="|="?pe===ne||pe.slice(0,ne.length+1)===ne+"-":!1):!0}},CHILD:function(k,W,ne,ae,pe){var Te=k.slice(0,3)!=="nth",Oe=k.slice(-4)!=="last",Ne=W==="of-type";return ae===1&&pe===0?function(Pe){return!!Pe.parentNode}:function(Pe,Xe,Be){var Je,Qe,Le,gt,ur,Xt=Te!==Oe?"nextSibling":"previousSibling",_r=Pe.parentNode,Kr=Ne&&Pe.nodeName.toLowerCase(),Vo=!Be&&!Ne,ir=!1;if(_r){if(Te){for(;Xt;){for(Le=Pe;Le=Le[Xt];)if(Ne?j(Le,Kr):Le.nodeType===1)return!1;ur=Xt=k==="only"&&!ur&&"nextSibling"}return!0}if(ur=[Oe?_r.firstChild:_r.lastChild],Oe&&Vo){for(Qe=_r[he]||(_r[he]={}),Je=Qe[k]||[],gt=Je[0]===ie&&Je[1],ir=gt&&Je[2],Le=gt&&_r.childNodes[gt];Le=++gt&&Le&&Le[Xt]||(ir=gt=0)||ur.pop();)if(Le.nodeType===1&&++ir&&Le===Pe){Qe[k]=[ie,gt,ir];break}}else if(Vo&&(Qe=Pe[he]||(Pe[he]={}),Je=Qe[k]||[],gt=Je[0]===ie&&Je[1],ir=gt),ir===!1)for(;(Le=++gt&&Le&&Le[Xt]||(ir=gt=0)||ur.pop())&&!((Ne?j(Le,Kr):Le.nodeType===1)&&++ir&&(Vo&&(Qe=Le[he]||(Le[he]={}),Qe[k]=[ie,ir]),Le===Pe)););return ir-=pe,ir===ae||ir%ae===0&&ir/ae>=0}}},PSEUDO:function(k,W){var ne,ae=m.pseudos[k]||m.setFilters[k.toLowerCase()]||dt.error("unsupported pseudo: "+k);return ae[he]?ae(W):ae.length>1?(ne=[k,k,"",W],m.setFilters.hasOwnProperty(k.toLowerCase())?Mr(function(pe,Te){for(var Oe,Ne=ae(pe,W),Pe=Ne.length;Pe--;)Oe=d.call(pe,Ne[Pe]),pe[Oe]=!(Te[Oe]=Ne[Pe])}):function(pe){return ae(pe,0,ne)}):ae}},pseudos:{not:Mr(function(k){var W=[],ne=[],ae=Dl(k.replace(N,"$1"));return ae[he]?Mr(function(pe,Te,Oe,Ne){for(var Pe,Xe=ae(pe,null,Ne,[]),Be=pe.length;Be--;)(Pe=Xe[Be])&&(pe[Be]=!(Te[Be]=Pe))}):function(pe,Te,Oe){return W[0]=pe,ae(W,null,Oe,ne),W[0]=null,!ne.pop()}}),has:Mr(function(k){return function(W){return dt(k,W).length>0}}),contains:Mr(function(k){return k=k.replace(un,cn),function(W){return(W.textContent||h.text(W)).indexOf(k)>-1}}),lang:Mr(function(k){return xi.test(k||"")||dt.error("unsupported lang: "+k),k=k.replace(un,cn).toLowerCase(),function(W){var ne;do if(ne=J?W.lang:W.getAttribute("xml:lang")||W.getAttribute("lang"))return ne=ne.toLowerCase(),ne===k||ne.indexOf(k+"-")===0;while((W=W.parentNode)&&W.nodeType===1);return!1}}),target:function(k){var W=t.location&&t.location.hash;return W&&W.slice(1)===k.id},root:function(k){return k===H},focus:function(k){return k===v0()&&x.hasFocus()&&!!(k.type||k.href||~k.tabIndex)},enabled:hf(!1),disabled:hf(!0),checked:function(k){return j(k,"input")&&!!k.checked||j(k,"option")&&!!k.selected},selected:function(k){return k.parentNode&&k.parentNode.selectedIndex,k.selected===!0},empty:function(k){for(k=k.firstChild;k;k=k.nextSibling)if(k.nodeType<6)return!1;return!0},parent:function(k){return!m.pseudos.empty(k)},header:function(k){return Dn.test(k.nodeName)},input:function(k){return Ln.test(k.nodeName)},button:function(k){return j(k,"input")&&k.type==="button"||j(k,"button")},text:function(k){var W;return j(k,"input")&&k.type==="text"&&((W=k.getAttribute("type"))==null||W.toLowerCase()==="text")},first:mo(function(){return[0]}),last:mo(function(k,W){return[W-1]}),eq:mo(function(k,W,ne){return[ne<0?ne+W:ne]}),even:mo(function(k,W){for(var ne=0;ne<W;ne+=2)k.push(ne);return k}),odd:mo(function(k,W){for(var ne=1;ne<W;ne+=2)k.push(ne);return k}),lt:mo(function(k,W,ne){var ae;for(ne<0?ae=ne+W:ne>W?ae=W:ae=ne;--ae>=0;)k.push(ae);return k}),gt:mo(function(k,W,ne){for(var ae=ne<0?ne+W:ne;++ae<W;)k.push(ae);return k})}},m.pseudos.nth=m.pseudos.eq;for(u in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})m.pseudos[u]=E0(u);for(u in{submit:!0,reset:!0})m.pseudos[u]=T0(u);function mf(){}mf.prototype=m.filters=m.pseudos,m.setFilters=new mf;function Ii(k,W){var ne,ae,pe,Te,Oe,Ne,Pe,Xe=rt[k+" "];if(Xe)return W?0:Xe.slice(0);for(Oe=k,Ne=[],Pe=m.preFilter;Oe;){(!ne||(ae=At.exec(Oe)))&&(ae&&(Oe=Oe.slice(ae[0].length)||Oe),Ne.push(pe=[])),ne=!1,(ae=Ci.exec(Oe))&&(ne=ae.shift(),pe.push({value:ne,type:ae[0].replace(N," ")}),Oe=Oe.slice(ne.length));for(Te in m.filter)(ae=Yr[Te].exec(Oe))&&(!Pe[Te]||(ae=Pe[Te](ae)))&&(ne=ae.shift(),pe.push({value:ne,type:Te,matches:ae}),Oe=Oe.slice(ne.length));if(!ne)break}return W?Oe.length:Oe?dt.error(k):rt(k,Ne).slice(0)}function ka(k){for(var W=0,ne=k.length,ae="";W<ne;W++)ae+=k[W].value;return ae}function $a(k,W,ne){var ae=W.dir,pe=W.next,Te=pe||ae,Oe=ne&&Te==="parentNode",Ne=ge++;return W.first?function(Pe,Xe,Be){for(;Pe=Pe[ae];)if(Pe.nodeType===1||Oe)return k(Pe,Xe,Be);return!1}:function(Pe,Xe,Be){var Je,Qe,Le=[ie,Ne];if(Be){for(;Pe=Pe[ae];)if((Pe.nodeType===1||Oe)&&k(Pe,Xe,Be))return!0}else for(;Pe=Pe[ae];)if(Pe.nodeType===1||Oe)if(Qe=Pe[he]||(Pe[he]={}),pe&&j(Pe,pe))Pe=Pe[ae]||Pe;else{if((Je=Qe[Te])&&Je[0]===ie&&Je[1]===Ne)return Le[2]=Je[2];if(Qe[Te]=Le,Le[2]=k(Pe,Xe,Be))return!0}return!1}}function ql(k){return k.length>1?function(W,ne,ae){for(var pe=k.length;pe--;)if(!k[pe](W,ne,ae))return!1;return!0}:k[0]}function w0(k,W,ne){for(var ae=0,pe=W.length;ae<pe;ae++)dt(k,W[ae],ne);return ne}function Ba(k,W,ne,ae,pe){for(var Te,Oe=[],Ne=0,Pe=k.length,Xe=W!=null;Ne<Pe;Ne++)(Te=k[Ne])&&(!ne||ne(Te,ae,pe))&&(Oe.push(Te),Xe&&W.push(Ne));return Oe}function Ml(k,W,ne,ae,pe,Te){return ae&&!ae[he]&&(ae=Ml(ae)),pe&&!pe[he]&&(pe=Ml(pe,Te)),Mr(function(Oe,Ne,Pe,Xe){var Be,Je,Qe,Le,gt=[],ur=[],Xt=Ne.length,_r=Oe||w0(W||"*",Pe.nodeType?[Pe]:Pe,[]),Kr=k&&(Oe||!W)?Ba(_r,gt,k,Pe,Xe):_r;if(ne?(Le=pe||(Oe?k:Xt||ae)?[]:Ne,ne(Kr,Le,Pe,Xe)):Le=Kr,ae)for(Be=Ba(Le,ur),ae(Be,[],Pe,Xe),Je=Be.length;Je--;)(Qe=Be[Je])&&(Le[ur[Je]]=!(Kr[ur[Je]]=Qe));if(Oe){if(pe||k){if(pe){for(Be=[],Je=Le.length;Je--;)(Qe=Le[Je])&&Be.push(Kr[Je]=Qe);pe(null,Le=[],Be,Xe)}for(Je=Le.length;Je--;)(Qe=Le[Je])&&(Be=pe?d.call(Oe,Qe):gt[Je])>-1&&(Oe[Be]=!(Ne[Be]=Qe))}}else Le=Ba(Le===Ne?Le.splice(Xt,Le.length):Le),pe?pe(null,Ne,Le,Xe):P.apply(Ne,Le)})}function Ll(k){for(var W,ne,ae,pe=k.length,Te=m.relative[k[0].type],Oe=Te||m.relative[" "],Ne=Te?1:0,Pe=$a(function(Je){return Je===W},Oe,!0),Xe=$a(function(Je){return d.call(W,Je)>-1},Oe,!0),Be=[function(Je,Qe,Le){var gt=!Te&&(Le||Qe!=v)||((W=Qe).nodeType?Pe(Je,Qe,Le):Xe(Je,Qe,Le));return W=null,gt}];Ne<pe;Ne++)if(ne=m.relative[k[Ne].type])Be=[$a(ql(Be),ne)];else{if(ne=m.filter[k[Ne].type].apply(null,k[Ne].matches),ne[he]){for(ae=++Ne;ae<pe&&!m.relative[k[ae].type];ae++);return Ml(Ne>1&&ql(Be),Ne>1&&ka(k.slice(0,Ne-1).concat({value:k[Ne-2].type===" "?"*":""})).replace(N,"$1"),ne,Ne<ae&&Ll(k.slice(Ne,ae)),ae<pe&&Ll(k=k.slice(ae)),ae<pe&&ka(k))}Be.push(ne)}return ql(Be)}function _0(k,W){var ne=W.length>0,ae=k.length>0,pe=function(Te,Oe,Ne,Pe,Xe){var Be,Je,Qe,Le=0,gt="0",ur=Te&&[],Xt=[],_r=v,Kr=Te||ae&&m.find.TAG("*",Xe),Vo=ie+=_r==null?1:Math.random()||.1,ir=Kr.length;for(Xe&&(v=Oe==x||Oe||Xe);gt!==ir&&(Be=Kr[gt])!=null;gt++){if(ae&&Be){for(Je=0,!Oe&&Be.ownerDocument!=x&&(kn(Be),Ne=!J);Qe=k[Je++];)if(Qe(Be,Oe||x,Ne)){P.call(Pe,Be);break}Xe&&(ie=Vo)}ne&&((Be=!Qe&&Be)&&Le--,Te&&ur.push(Be))}if(Le+=gt,ne&&gt!==Le){for(Je=0;Qe=W[Je++];)Qe(ur,Xt,Oe,Ne);if(Te){if(Le>0)for(;gt--;)ur[gt]||Xt[gt]||(Xt[gt]=Z.call(Pe));Xt=Ba(Xt)}P.apply(Pe,Xt),Xe&&!Te&&Xt.length>0&&Le+W.length>1&&h.uniqueSort(Pe)}return Xe&&(ie=Vo,v=_r),ur};return ne?Mr(pe):pe}function Dl(k,W){var ne,ae=[],pe=[],Te=ze[k+" "];if(!Te){for(W||(W=Ii(k)),ne=W.length;ne--;)Te=Ll(W[ne]),Te[he]?ae.push(Te):pe.push(Te);Te=ze(k,_0(pe,ae)),Te.selector=k}return Te}function yf(k,W,ne,ae){var pe,Te,Oe,Ne,Pe,Xe=typeof k=="function"&&k,Be=!ae&&Ii(k=Xe.selector||k);if(ne=ne||[],Be.length===1){if(Te=Be[0]=Be[0].slice(0),Te.length>2&&(Oe=Te[0]).type==="ID"&&W.nodeType===9&&J&&m.relative[Te[1].type]){if(W=(m.find.ID(Oe.matches[0].replace(un,cn),W)||[])[0],W)Xe&&(W=W.parentNode);else return ne;k=k.slice(Te.shift().value.length)}for(pe=Yr.needsContext.test(k)?0:Te.length;pe--&&(Oe=Te[pe],!m.relative[Ne=Oe.type]);)if((Pe=m.find[Ne])&&(ae=Pe(Oe.matches[0].replace(un,cn),Nl.test(Te[0].type)&&jl(W.parentNode)||W))){if(Te.splice(pe,1),k=ae.length&&ka(Te),!k)return P.apply(ne,ae),ne;break}}return(Xe||Dl(k,Be))(ae,W,!J,ne,!W||Nl.test(k)&&jl(W.parentNode)||W),ne}E.sortStable=he.split("").sort(Dt).join("")===he,kn(),E.sortDetached=Uo(function(k){return k.compareDocumentPosition(x.createElement("fieldset"))&1}),h.find=dt,h.expr[":"]=h.expr.pseudos,h.unique=h.uniqueSort,dt.compile=Dl,dt.select=yf,dt.setDocument=kn,dt.tokenize=Ii,dt.escape=h.escapeSelector,dt.getText=h.text,dt.isXML=h.isXMLDoc,dt.selectors=h.expr,dt.support=h.support,dt.uniqueSort=h.uniqueSort})();var _e=function(u,m,v){for(var T=[],O=v!==void 0;(u=u[m])&&u.nodeType!==9;)if(u.nodeType===1){if(O&&h(u).is(v))break;T.push(u)}return T},Re=function(u,m){for(var v=[];u;u=u.nextSibling)u.nodeType===1&&u!==m&&v.push(u);return v},Ie=h.expr.match.needsContext,de=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ue(u,m,v){return w(m)?h.grep(u,function(T,O){return!!m.call(T,O,T)!==v}):m.nodeType?h.grep(u,function(T){return T===m!==v}):typeof m!="string"?h.grep(u,function(T){return d.call(m,T)>-1!==v}):h.filter(m,u,v)}h.filter=function(u,m,v){var T=m[0];return v&&(u=":not("+u+")"),m.length===1&&T.nodeType===1?h.find.matchesSelector(T,u)?[T]:[]:h.find.matches(u,h.grep(m,function(O){return O.nodeType===1}))},h.fn.extend({find:function(u){var m,v,T=this.length,O=this;if(typeof u!="string")return this.pushStack(h(u).filter(function(){for(m=0;m<T;m++)if(h.contains(O[m],this))return!0}));for(v=this.pushStack([]),m=0;m<T;m++)h.find(u,O[m],v);return T>1?h.uniqueSort(v):v},filter:function(u){return this.pushStack(ue(this,u||[],!1))},not:function(u){return this.pushStack(ue(this,u||[],!0))},is:function(u){return!!ue(this,typeof u=="string"&&Ie.test(u)?h(u):u||[],!1).length}});var Ce,Ee=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,me=h.fn.init=function(u,m,v){var T,O;if(!u)return this;if(v=v||Ce,typeof u=="string")if(u[0]==="<"&&u[u.length-1]===">"&&u.length>=3?T=[null,u,null]:T=Ee.exec(u),T&&(T[1]||!m))if(T[1]){if(m=m instanceof h?m[0]:m,h.merge(this,h.parseHTML(T[1],m&&m.nodeType?m.ownerDocument||m:_,!0)),de.test(T[1])&&h.isPlainObject(m))for(T in m)w(this[T])?this[T](m[T]):this.attr(T,m[T]);return this}else return O=_.getElementById(T[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)};me.prototype=h.fn,Ce=h(_);var He=/^(?:parents|prev(?:Until|All))/,ke={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 T=0;T<v;T++)if(h.contains(this,m[T]))return!0})},closest:function(u,m){var v,T=0,O=this.length,P=[],x=typeof u!="string"&&h(u);if(!Ie.test(u)){for(;T<O;T++)for(v=this[T];v&&v!==m;v=v.parentNode)if(v.nodeType<11&&(x?x.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 mt(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 _e(u,"parentNode")},parentsUntil:function(u,m,v){return _e(u,"parentNode",v)},next:function(u){return mt(u,"nextSibling")},prev:function(u){return mt(u,"previousSibling")},nextAll:function(u){return _e(u,"nextSibling")},prevAll:function(u){return _e(u,"previousSibling")},nextUntil:function(u,m,v){return _e(u,"nextSibling",v)},prevUntil:function(u,m,v){return _e(u,"previousSibling",v)},siblings:function(u){return Re((u.parentNode||{}).firstChild,u)},children:function(u){return Re(u.firstChild)},contents:function(u){return u.contentDocument!=null&&o(u.contentDocument)?u.contentDocument:(j(u,"template")&&(u=u.content||u),h.merge([],u.childNodes))}},function(u,m){h.fn[u]=function(v,T){var O=h.map(this,m,v);return u.slice(-5)!=="Until"&&(T=v),T&&typeof T=="string"&&(O=h.filter(T,O)),this.length>1&&(ke[u]||h.uniqueSort(O),He.test(u)&&O.reverse()),this.pushStack(O)}});var z=/[^\x20\t\r\n\f]+/g;function ve(u){var m={};return h.each(u.match(z)||[],function(v,T){m[T]=!0}),m}h.Callbacks=function(u){u=typeof u=="string"?ve(u):h.extend({},u);var m,v,T,O,P=[],x=[],H=-1,J=function(){for(O=O||u.once,T=m=!0;x.length;H=-1)for(v=x.shift();++H<P.length;)P[H].apply(v[0],v[1])===!1&&u.stopOnFalse&&(H=P.length,v=!1);u.memory||(v=!1),m=!1,O&&(v?P=[]:P="")},Q={add:function(){return P&&(v&&!m&&(H=P.length-1,x.push(v)),function le(he){h.each(he,function(ie,ge){w(ge)?(!u.unique||!Q.has(ge))&&P.push(ge):ge&&ge.length&&L(ge)!=="string"&&le(ge)})}(arguments),v&&!m&&J()),this},remove:function(){return h.each(arguments,function(le,he){for(var ie;(ie=h.inArray(he,P,ie))>-1;)P.splice(ie,1),ie<=H&&H--}),this},has:function(le){return le?h.inArray(le,P)>-1:P.length>0},empty:function(){return P&&(P=[]),this},disable:function(){return O=x=[],P=v="",this},disabled:function(){return!P},lock:function(){return O=x=[],!v&&!m&&(P=v=""),this},locked:function(){return!!O},fireWith:function(le,he){return O||(he=he||[],he=[le,he.slice?he.slice():he],x.push(he),m||J()),this},fire:function(){return Q.fireWith(this,arguments),this},fired:function(){return!!T}};return Q};function Se(u){return u}function Ae(u){throw u}function je(u,m,v,T){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(T))}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",T={state:function(){return v},always:function(){return O.done(arguments).fail(arguments),this},catch:function(P){return T.then(null,P)},pipe:function(){var P=arguments;return h.Deferred(function(x){h.each(m,function(H,J){var Q=w(P[J[4]])&&P[J[4]];O[J[1]](function(){var le=Q&&Q.apply(this,arguments);le&&w(le.promise)?le.promise().progress(x.notify).done(x.resolve).fail(x.reject):x[J[0]+"With"](this,Q?[le]:arguments)})}),P=null}).promise()},then:function(P,x,H){var J=0;function Q(le,he,ie,ge){return function(){var Ve=this,rt=arguments,ze=function(){var Dt,Gr;if(!(le<J)){if(Dt=ie.apply(Ve,rt),Dt===he.promise())throw new TypeError("Thenable self-resolution");Gr=Dt&&(typeof Dt=="object"||typeof Dt=="function")&&Dt.then,w(Gr)?ge?Gr.call(Dt,Q(J,he,Se,ge),Q(J,he,Ae,ge)):(J++,Gr.call(Dt,Q(J,he,Se,ge),Q(J,he,Ae,ge),Q(J,he,Se,he.notifyWith))):(ie!==Se&&(Ve=void 0,rt=[Dt]),(ge||he.resolveWith)(Ve,rt))}},Wt=ge?ze:function(){try{ze()}catch(Dt){h.Deferred.exceptionHook&&h.Deferred.exceptionHook(Dt,Wt.error),le+1>=J&&(ie!==Ae&&(Ve=void 0,rt=[Dt]),he.rejectWith(Ve,rt))}};le?Wt():(h.Deferred.getErrorHook?Wt.error=h.Deferred.getErrorHook():h.Deferred.getStackHook&&(Wt.error=h.Deferred.getStackHook()),t.setTimeout(Wt))}}return h.Deferred(function(le){m[0][3].add(Q(0,le,w(H)?H:Se,le.notifyWith)),m[1][3].add(Q(0,le,w(P)?P:Se)),m[2][3].add(Q(0,le,w(x)?x:Ae))}).promise()},promise:function(P){return P!=null?h.extend(P,T):T}},O={};return h.each(m,function(P,x){var H=x[2],J=x[5];T[x[1]]=H.add,J&&H.add(function(){v=J},m[3-P][2].disable,m[3-P][3].disable,m[0][2].lock,m[0][3].lock),H.add(x[3].fire),O[x[0]]=function(){return O[x[0]+"With"](this===O?void 0:this,arguments),this},O[x[0]+"With"]=H.fireWith}),T.promise(O),u&&u.call(O,O),O},when:function(u){var m=arguments.length,v=m,T=Array(v),O=i.call(arguments),P=h.Deferred(),x=function(H){return function(J){T[H]=this,O[H]=arguments.length>1?i.call(arguments):J,--m||P.resolveWith(T,O)}};if(m<=1&&(je(u,P.done(x(v)).resolve,P.reject,!m),P.state()==="pending"||w(O[v]&&O[v].then)))return P.then();for(;v--;)je(O[v],x(v),P.reject);return P.promise()}});var Me=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;h.Deferred.exceptionHook=function(u,m){t.console&&t.console.warn&&u&&Me.test(u.name)&&t.console.warn("jQuery.Deferred exception: "+u.message,u.stack,m)},h.readyException=function(u){t.setTimeout(function(){throw u})};var Fe=h.Deferred();h.fn.ready=function(u){return Fe.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)&&Fe.resolveWith(_,[h]))}}),h.ready.then=Fe.then;function Ue(){_.removeEventListener("DOMContentLoaded",Ue),t.removeEventListener("load",Ue),h.ready()}_.readyState==="complete"||_.readyState!=="loading"&&!_.documentElement.doScroll?t.setTimeout(h.ready):(_.addEventListener("DOMContentLoaded",Ue),t.addEventListener("load",Ue));var it=function(u,m,v,T,O,P,x){var H=0,J=u.length,Q=v==null;if(L(v)==="object"){O=!0;for(H in v)it(u,m,H,v[H],!0,P,x)}else if(T!==void 0&&(O=!0,w(T)||(x=!0),Q&&(x?(m.call(u,T),m=null):(Q=m,m=function(le,he,ie){return Q.call(h(le),ie)})),m))for(;H<J;H++)m(u[H],v,x?T:T.call(u[H],H,m(u[H],v)));return O?u:Q?m.call(u):J?m(u[0],v):P},Jt=/^-ms-/,Ft=/-([a-z])/g;function Ht(u,m){return m.toUpperCase()}function pt(u){return u.replace(Jt,"ms-").replace(Ft,Ht)}var Yt=function(u){return u.nodeType===1||u.nodeType===9||!+u.nodeType};function Ut(){this.expando=h.expando+Ut.uid++}Ut.uid=1,Ut.prototype={cache:function(u){var m=u[this.expando];return m||(m={},Yt(u)&&(u.nodeType?u[this.expando]=m:Object.defineProperty(u,this.expando,{value:m,configurable:!0}))),m},set:function(u,m,v){var T,O=this.cache(u);if(typeof m=="string")O[pt(m)]=v;else for(T in m)O[pt(T)]=m[T];return O},get:function(u,m){return m===void 0?this.cache(u):u[this.expando]&&u[this.expando][pt(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,T=u[this.expando];if(T!==void 0){if(m!==void 0)for(Array.isArray(m)?m=m.map(pt):(m=pt(m),m=m in T?[m]:m.match(z)||[]),v=m.length;v--;)delete T[m[v]];(m===void 0||h.isEmptyObject(T))&&(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 xe=new Ut,qt=new Ut,oo=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,io=/[A-Z]/g;function ao(u){return u==="true"?!0:u==="false"?!1:u==="null"?null:u===+u+""?+u:oo.test(u)?JSON.parse(u):u}function Cn(u,m,v){var T;if(v===void 0&&u.nodeType===1)if(T="data-"+m.replace(io,"-$&").toLowerCase(),v=u.getAttribute(T),typeof v=="string"){try{v=ao(v)}catch{}qt.set(u,m,v)}else v=void 0;return v}h.extend({hasData:function(u){return qt.hasData(u)||xe.hasData(u)},data:function(u,m,v){return qt.access(u,m,v)},removeData:function(u,m){qt.remove(u,m)},_data:function(u,m,v){return xe.access(u,m,v)},_removeData:function(u,m){xe.remove(u,m)}}),h.fn.extend({data:function(u,m){var v,T,O,P=this[0],x=P&&P.attributes;if(u===void 0){if(this.length&&(O=qt.get(P),P.nodeType===1&&!xe.get(P,"hasDataAttrs"))){for(v=x.length;v--;)x[v]&&(T=x[v].name,T.indexOf("data-")===0&&(T=pt(T.slice(5)),Cn(P,T,O[T])));xe.set(P,"hasDataAttrs",!0)}return O}return typeof u=="object"?this.each(function(){qt.set(this,u)}):it(this,function(H){var J;if(P&&H===void 0)return J=qt.get(P,u),J!==void 0||(J=Cn(P,u),J!==void 0)?J:void 0;this.each(function(){qt.set(this,u,H)})},null,m,arguments.length>1,null,!0)},removeData:function(u){return this.each(function(){qt.remove(this,u)})}}),h.extend({queue:function(u,m,v){var T;if(u)return m=(m||"fx")+"queue",T=xe.get(u,m),v&&(!T||Array.isArray(v)?T=xe.access(u,m,h.makeArray(v)):T.push(v)),T||[]},dequeue:function(u,m){m=m||"fx";var v=h.queue(u,m),T=v.length,O=v.shift(),P=h._queueHooks(u,m),x=function(){h.dequeue(u,m)};O==="inprogress"&&(O=v.shift(),T--),O&&(m==="fx"&&v.unshift("inprogress"),delete P.stop,O.call(u,x,P)),!T&&P&&P.empty.fire()},_queueHooks:function(u,m){var v=m+"queueHooks";return xe.get(u,v)||xe.access(u,v,{empty:h.Callbacks("once memory").add(function(){xe.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 T=h.queue(this,u,m);h._queueHooks(this,u),u==="fx"&&T[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,T=1,O=h.Deferred(),P=this,x=this.length,H=function(){--T||O.resolveWith(P,[P])};for(typeof u!="string"&&(m=u,u=void 0),u=u||"fx";x--;)v=xe.get(P[x],u+"queueHooks"),v&&v.empty&&(T++,v.empty.add(H));return H(),O.promise(m)}});var xn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ir=new RegExp("^(?:([+-])=|)("+xn+")([a-z%]*)$","i"),nr=["Top","Right","Bottom","Left"],hr=_.documentElement,Tr=function(u){return h.contains(u.ownerDocument,u)},so={composed:!0};hr.getRootNode&&(Tr=function(u){return h.contains(u.ownerDocument,u)||u.getRootNode(so)===u.ownerDocument});var Vr=function(u,m){return u=m||u,u.style.display==="none"||u.style.display===""&&Tr(u)&&h.css(u,"display")==="none"};function In(u,m,v,T){var O,P,x=20,H=T?function(){return T.cur()}:function(){return h.css(u,m,"")},J=H(),Q=v&&v[3]||(h.cssNumber[m]?"":"px"),le=u.nodeType&&(h.cssNumber[m]||Q!=="px"&&+J)&&Ir.exec(h.css(u,m));if(le&&le[3]!==Q){for(J=J/2,Q=Q||le[3],le=+J||1;x--;)h.style(u,m,le+Q),(1-P)*(1-(P=H()/J||.5))<=0&&(x=0),le=le/P;le=le*2,h.style(u,m,le+Q),v=v||[]}return v&&(le=+le||+J||0,O=v[1]?le+(v[1]+1)*v[2]:+v[2],T&&(T.unit=Q,T.start=le,T.end=O)),O}var Nn={};function lo(u){var m,v=u.ownerDocument,T=u.nodeName,O=Nn[T];return O||(m=v.body.appendChild(v.createElement(T)),O=h.css(m,"display"),m.parentNode.removeChild(m),O==="none"&&(O="block"),Nn[T]=O,O)}function sr(u,m){for(var v,T,O=[],P=0,x=u.length;P<x;P++)T=u[P],T.style&&(v=T.style.display,m?(v==="none"&&(O[P]=xe.get(T,"display")||null,O[P]||(T.style.display="")),T.style.display===""&&Vr(T)&&(O[P]=lo(T))):v!=="none"&&(O[P]="none",xe.set(T,"display",v)));for(P=0;P<x;P++)O[P]!=null&&(u[P].style.display=O[P]);return u}h.fn.extend({show:function(){return sr(this,!0)},hide:function(){return sr(this)},toggle:function(u){return typeof u=="boolean"?u?this.show():this.hide():this.each(function(){Vr(this)?h(this).show():h(this).hide()})}});var Nr=/^(?:checkbox|radio)$/i,Kt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,qe=/^$|^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),E.checkClone=m.cloneNode(!0).cloneNode(!0).lastChild.checked,m.innerHTML="<textarea>x</textarea>",E.noCloneChecked=!!m.cloneNode(!0).lastChild.defaultValue,m.innerHTML="<option></option>",E.option=!!m.lastChild})();var Mt={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,"",""]};Mt.tbody=Mt.tfoot=Mt.colgroup=Mt.caption=Mt.thead,Mt.th=Mt.td,E.option||(Mt.optgroup=Mt.option=[1,"<select multiple='multiple'>","</select>"]);function yt(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&&j(u,m)?h.merge([u],v):v}function Rt(u,m){for(var v=0,T=u.length;v<T;v++)xe.set(u[v],"globalEval",!m||xe.get(m[v],"globalEval"))}var be=/<|&#?\w+;/;function jn(u,m,v,T,O){for(var P,x,H,J,Q,le,he=m.createDocumentFragment(),ie=[],ge=0,Ve=u.length;ge<Ve;ge++)if(P=u[ge],P||P===0)if(L(P)==="object")h.merge(ie,P.nodeType?[P]:P);else if(!be.test(P))ie.push(m.createTextNode(P));else{for(x=x||he.appendChild(m.createElement("div")),H=(Kt.exec(P)||["",""])[1].toLowerCase(),J=Mt[H]||Mt._default,x.innerHTML=J[1]+h.htmlPrefilter(P)+J[2],le=J[0];le--;)x=x.lastChild;h.merge(ie,x.childNodes),x=he.firstChild,x.textContent=""}for(he.textContent="",ge=0;P=ie[ge++];){if(T&&h.inArray(P,T)>-1){O&&O.push(P);continue}if(Q=Tr(P),x=yt(he.appendChild(P),"script"),Q&&Rt(x),v)for(le=0;P=x[le++];)qe.test(P.type||"")&&v.push(P)}return he}var jr=/^([^.]*)(?:\.(.+)|)/;function Jr(){return!0}function wt(){return!1}function uo(u,m,v,T,O,P){var x,H;if(typeof m=="object"){typeof v!="string"&&(T=T||v,v=void 0);for(H in m)uo(u,H,v,T,m[H],P);return u}if(T==null&&O==null?(O=v,T=v=void 0):O==null&&(typeof v=="string"?(O=T,T=void 0):(O=T,T=v,v=void 0)),O===!1)O=wt;else if(!O)return u;return P===1&&(x=O,O=function(J){return h().off(J),x.apply(this,arguments)},O.guid=x.guid||(x.guid=h.guid++)),u.each(function(){h.event.add(this,m,O,T,v)})}h.event={global:{},add:function(u,m,v,T,O){var P,x,H,J,Q,le,he,ie,ge,Ve,rt,ze=xe.get(u);if(Yt(u))for(v.handler&&(P=v,v=P.handler,O=P.selector),O&&h.find.matchesSelector(hr,O),v.guid||(v.guid=h.guid++),(J=ze.events)||(J=ze.events=Object.create(null)),(x=ze.handle)||(x=ze.handle=function(Wt){return typeof h<"u"&&h.event.triggered!==Wt.type?h.event.dispatch.apply(u,arguments):void 0}),m=(m||"").match(z)||[""],Q=m.length;Q--;)H=jr.exec(m[Q])||[],ge=rt=H[1],Ve=(H[2]||"").split(".").sort(),ge&&(he=h.event.special[ge]||{},ge=(O?he.delegateType:he.bindType)||ge,he=h.event.special[ge]||{},le=h.extend({type:ge,origType:rt,data:T,handler:v,guid:v.guid,selector:O,needsContext:O&&h.expr.match.needsContext.test(O),namespace:Ve.join(".")},P),(ie=J[ge])||(ie=J[ge]=[],ie.delegateCount=0,(!he.setup||he.setup.call(u,T,Ve,x)===!1)&&u.addEventListener&&u.addEventListener(ge,x)),he.add&&(he.add.call(u,le),le.handler.guid||(le.handler.guid=v.guid)),O?ie.splice(ie.delegateCount++,0,le):ie.push(le),h.event.global[ge]=!0)},remove:function(u,m,v,T,O){var P,x,H,J,Q,le,he,ie,ge,Ve,rt,ze=xe.hasData(u)&&xe.get(u);if(!(!ze||!(J=ze.events))){for(m=(m||"").match(z)||[""],Q=m.length;Q--;){if(H=jr.exec(m[Q])||[],ge=rt=H[1],Ve=(H[2]||"").split(".").sort(),!ge){for(ge in J)h.event.remove(u,ge+m[Q],v,T,!0);continue}for(he=h.event.special[ge]||{},ge=(T?he.delegateType:he.bindType)||ge,ie=J[ge]||[],H=H[2]&&new RegExp("(^|\\.)"+Ve.join("\\.(?:.*\\.|)")+"(\\.|$)"),x=P=ie.length;P--;)le=ie[P],(O||rt===le.origType)&&(!v||v.guid===le.guid)&&(!H||H.test(le.namespace))&&(!T||T===le.selector||T==="**"&&le.selector)&&(ie.splice(P,1),le.selector&&ie.delegateCount--,he.remove&&he.remove.call(u,le));x&&!ie.length&&((!he.teardown||he.teardown.call(u,Ve,ze.handle)===!1)&&h.removeEvent(u,ge,ze.handle),delete J[ge])}h.isEmptyObject(J)&&xe.remove(u,"handle events")}},dispatch:function(u){var m,v,T,O,P,x,H=new Array(arguments.length),J=h.event.fix(u),Q=(xe.get(this,"events")||Object.create(null))[J.type]||[],le=h.event.special[J.type]||{};for(H[0]=J,m=1;m<arguments.length;m++)H[m]=arguments[m];if(J.delegateTarget=this,!(le.preDispatch&&le.preDispatch.call(this,J)===!1)){for(x=h.event.handlers.call(this,J,Q),m=0;(O=x[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,T=((h.event.special[P.origType]||{}).handle||P.handler).apply(O.elem,H),T!==void 0&&(J.result=T)===!1&&(J.preventDefault(),J.stopPropagation()));return le.postDispatch&&le.postDispatch.call(this,J),J.result}},handlers:function(u,m){var v,T,O,P,x,H=[],J=m.delegateCount,Q=u.target;if(J&&Q.nodeType&&!(u.type==="click"&&u.button>=1)){for(;Q!==this;Q=Q.parentNode||this)if(Q.nodeType===1&&!(u.type==="click"&&Q.disabled===!0)){for(P=[],x={},v=0;v<J;v++)T=m[v],O=T.selector+" ",x[O]===void 0&&(x[O]=T.needsContext?h(O,this).index(Q)>-1:h.find(O,this,null,[Q]).length),x[O]&&P.push(T);P.length&&H.push({elem:Q,handlers:P})}}return Q=this,J<m.length&&H.push({elem:Q,handlers:m.slice(J)}),H},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 Nr.test(m.type)&&m.click&&j(m,"input")&&qn(m,"click",!0),!1},trigger:function(u){var m=this||u;return Nr.test(m.type)&&m.click&&j(m,"input")&&qn(m,"click"),!0},_default:function(u){var m=u.target;return Nr.test(m.type)&&m.click&&j(m,"input")&&xe.get(m,"click")||j(m,"a")}},beforeunload:{postDispatch:function(u){u.result!==void 0&&u.originalEvent&&(u.originalEvent.returnValue=u.result)}}}};function qn(u,m,v){if(!v){xe.get(u,m)===void 0&&h.event.add(u,m,Jr);return}xe.set(u,m,!1),h.event.add(u,m,{namespace:!1,handler:function(T){var O,P=xe.get(this,m);if(T.isTrigger&1&&this[m]){if(P)(h.event.special[m]||{}).delegateType&&T.stopPropagation();else if(P=i.call(arguments),xe.set(this,m,P),this[m](),O=xe.get(this,m),xe.set(this,m,!1),P!==O)return T.stopImmediatePropagation(),T.preventDefault(),O}else P&&(xe.set(this,m,h.event.trigger(P[0],P.slice(1),this)),T.stopPropagation(),T.isImmediatePropagationStopped=Jr)}})}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?Jr:wt,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:wt,isPropagationStopped:wt,isImmediatePropagationStopped:wt,isSimulated:!1,preventDefault:function(){var u=this.originalEvent;this.isDefaultPrevented=Jr,u&&!this.isSimulated&&u.preventDefault()},stopPropagation:function(){var u=this.originalEvent;this.isPropagationStopped=Jr,u&&!this.isSimulated&&u.stopPropagation()},stopImmediatePropagation:function(){var u=this.originalEvent;this.isImmediatePropagationStopped=Jr,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){function v(T){if(_.documentMode){var O=xe.get(this,"handle"),P=h.event.fix(T);P.type=T.type==="focusin"?"focus":"blur",P.isSimulated=!0,O(T),P.target===P.currentTarget&&O(P)}else h.event.simulate(m,T.target,h.event.fix(T))}h.event.special[u]={setup:function(){var T;if(qn(this,u,!0),_.documentMode)T=xe.get(this,m),T||this.addEventListener(m,v),xe.set(this,m,(T||0)+1);else return!1},trigger:function(){return qn(this,u),!0},teardown:function(){var T;if(_.documentMode)T=xe.get(this,m)-1,T?xe.set(this,m,T):(this.removeEventListener(m,v),xe.remove(this,m));else return!1},_default:function(T){return xe.get(T.target,u)},delegateType:m},h.event.special[m]={setup:function(){var T=this.ownerDocument||this.document||this,O=_.documentMode?this:T,P=xe.get(O,m);P||(_.documentMode?this.addEventListener(m,v):T.addEventListener(u,v,!0)),xe.set(O,m,(P||0)+1)},teardown:function(){var T=this.ownerDocument||this.document||this,O=_.documentMode?this:T,P=xe.get(O,m)-1;P?xe.set(O,m,P):(_.documentMode?this.removeEventListener(m,v):T.removeEventListener(u,v,!0),xe.remove(O,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 T,O=this,P=v.relatedTarget,x=v.handleObj;return(!P||P!==O&&!h.contains(O,P))&&(v.type=x.origType,T=x.handler.apply(this,arguments),v.type=m),T}}}),h.fn.extend({on:function(u,m,v,T){return uo(this,u,m,v,T)},one:function(u,m,v,T){return uo(this,u,m,v,T,1)},off:function(u,m,v){var T,O;if(u&&u.preventDefault&&u.handleObj)return T=u.handleObj,h(u.delegateTarget).off(T.namespace?T.origType+"."+T.namespace:T.origType,T.selector,T.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=wt),this.each(function(){h.event.remove(this,u,v,m)})}});var Gt=/<script|<style|<link/i,_i=/checked\s*(?:[^=]|=\s*.checked.)/i,sn=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Bo(u,m){return j(u,"table")&&j(m.nodeType!==11?m:m.firstChild,"tr")&&h(u).children("tbody")[0]||u}function Si(u){return u.type=(u.getAttribute("type")!==null)+"/"+u.type,u}function Ri(u){return(u.type||"").slice(0,5)==="true/"?u.type=u.type.slice(5):u.removeAttribute("type"),u}function Mn(u,m){var v,T,O,P,x,H,J;if(m.nodeType===1){if(xe.hasData(u)&&(P=xe.get(u),J=P.events,J)){xe.remove(m,"handle events");for(O in J)for(v=0,T=J[O].length;v<T;v++)h.event.add(m,O,J[O][v])}qt.hasData(u)&&(x=qt.access(u),H=h.extend({},x),qt.set(m,H))}}function ln(u,m){var v=m.nodeName.toLowerCase();v==="input"&&Nr.test(u.type)?m.checked=u.checked:(v==="input"||v==="textarea")&&(m.defaultValue=u.defaultValue)}function Hr(u,m,v,T){m=a(m);var O,P,x,H,J,Q,le=0,he=u.length,ie=he-1,ge=m[0],Ve=w(ge);if(Ve||he>1&&typeof ge=="string"&&!E.checkClone&&_i.test(ge))return u.each(function(rt){var ze=u.eq(rt);Ve&&(m[0]=ge.call(this,rt,ze.html())),Hr(ze,m,v,T)});if(he&&(O=jn(m,u[0].ownerDocument,!1,u,T),P=O.firstChild,O.childNodes.length===1&&(O=P),P||T)){for(x=h.map(yt(O,"script"),Si),H=x.length;le<he;le++)J=O,le!==ie&&(J=h.clone(J,!0,!0),H&&h.merge(x,yt(J,"script"))),v.call(u[le],J,le);if(H)for(Q=x[x.length-1].ownerDocument,h.map(x,Ri),le=0;le<H;le++)J=x[le],qe.test(J.type||"")&&!xe.access(J,"globalEval")&&h.contains(Q,J)&&(J.src&&(J.type||"").toLowerCase()!=="module"?h._evalUrl&&!J.noModule&&h._evalUrl(J.src,{nonce:J.nonce||J.getAttribute("nonce")},Q):M(J.textContent.replace(sn,""),J,Q))}return u}function s(u,m,v){for(var T,O=m?h.filter(m,u):u,P=0;(T=O[P])!=null;P++)!v&&T.nodeType===1&&h.cleanData(yt(T)),T.parentNode&&(v&&Tr(T)&&Rt(yt(T,"script")),T.parentNode.removeChild(T));return u}h.extend({htmlPrefilter:function(u){return u},clone:function(u,m,v){var T,O,P,x,H=u.cloneNode(!0),J=Tr(u);if(!E.noCloneChecked&&(u.nodeType===1||u.nodeType===11)&&!h.isXMLDoc(u))for(x=yt(H),P=yt(u),T=0,O=P.length;T<O;T++)ln(P[T],x[T]);if(m)if(v)for(P=P||yt(u),x=x||yt(H),T=0,O=P.length;T<O;T++)Mn(P[T],x[T]);else Mn(u,H);return x=yt(H,"script"),x.length>0&&Rt(x,!J&&yt(u,"script")),H},cleanData:function(u){for(var m,v,T,O=h.event.special,P=0;(v=u[P])!==void 0;P++)if(Yt(v)){if(m=v[xe.expando]){if(m.events)for(T in m.events)O[T]?h.event.remove(v,T):h.removeEvent(v,T,m.handle);v[xe.expando]=void 0}v[qt.expando]&&(v[qt.expando]=void 0)}}}),h.fn.extend({detach:function(u){return s(this,u,!0)},remove:function(u){return s(this,u)},text:function(u){return it(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 Hr(this,arguments,function(u){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=Bo(this,u);m.appendChild(u)}})},prepend:function(){return Hr(this,arguments,function(u){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=Bo(this,u);m.insertBefore(u,m.firstChild)}})},before:function(){return Hr(this,arguments,function(u){this.parentNode&&this.parentNode.insertBefore(u,this)})},after:function(){return Hr(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(yt(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 it(this,function(m){var v=this[0]||{},T=0,O=this.length;if(m===void 0&&v.nodeType===1)return v.innerHTML;if(typeof m=="string"&&!Gt.test(m)&&!Mt[(Kt.exec(m)||["",""])[1].toLowerCase()]){m=h.htmlPrefilter(m);try{for(;T<O;T++)v=this[T]||{},v.nodeType===1&&(h.cleanData(yt(v,!1)),v.innerHTML=m);v=0}catch{}}v&&this.empty().append(m)},null,u,arguments.length)},replaceWith:function(){var u=[];return Hr(this,arguments,function(m){var v=this.parentNode;h.inArray(this,u)<0&&(h.cleanData(yt(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 T,O=[],P=h(v),x=P.length-1,H=0;H<=x;H++)T=H===x?this:this.clone(!0),h(P[H])[m](T),l.apply(O,T.get());return this.pushStack(O)}});var y=new RegExp("^("+xn+")(?!px)[a-z%]+$","i"),S=/^--/,q=function(u){var m=u.ownerDocument.defaultView;return(!m||!m.opener)&&(m=t),m.getComputedStyle(u)},X=function(u,m,v){var T,O,P={};for(O in m)P[O]=u.style[O],u.style[O]=m[O];T=v.call(u);for(O in m)u.style[O]=P[O];return T},se=new RegExp(nr.join("|"),"i");(function(){function u(){if(Q){J.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Q.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",hr.appendChild(J).appendChild(Q);var le=t.getComputedStyle(Q);v=le.top!=="1%",H=m(le.marginLeft)===12,Q.style.right="60%",P=m(le.right)===36,T=m(le.width)===36,Q.style.position="absolute",O=m(Q.offsetWidth/3)===12,hr.removeChild(J),Q=null}}function m(le){return Math.round(parseFloat(le))}var v,T,O,P,x,H,J=_.createElement("div"),Q=_.createElement("div");Q.style&&(Q.style.backgroundClip="content-box",Q.cloneNode(!0).style.backgroundClip="",E.clearCloneStyle=Q.style.backgroundClip==="content-box",h.extend(E,{boxSizingReliable:function(){return u(),T},pixelBoxStyles:function(){return u(),P},pixelPosition:function(){return u(),v},reliableMarginLeft:function(){return u(),H},scrollboxSize:function(){return u(),O},reliableTrDimensions:function(){var le,he,ie,ge;return x==null&&(le=_.createElement("table"),he=_.createElement("tr"),ie=_.createElement("div"),le.style.cssText="position:absolute;left:-11111px;border-collapse:separate",he.style.cssText="box-sizing:content-box;border:1px solid",he.style.height="1px",ie.style.height="9px",ie.style.display="block",hr.appendChild(le).appendChild(he).appendChild(ie),ge=t.getComputedStyle(he),x=parseInt(ge.height,10)+parseInt(ge.borderTopWidth,10)+parseInt(ge.borderBottomWidth,10)===he.offsetHeight,hr.removeChild(le)),x}}))})();function ye(u,m,v){var T,O,P,x,H=S.test(m),J=u.style;return v=v||q(u),v&&(x=v.getPropertyValue(m)||v[m],H&&x&&(x=x.replace(N,"$1")||void 0),x===""&&!Tr(u)&&(x=h.style(u,m)),!E.pixelBoxStyles()&&y.test(x)&&se.test(m)&&(T=J.width,O=J.minWidth,P=J.maxWidth,J.minWidth=J.maxWidth=J.width=x,x=v.width,J.width=T,J.minWidth=O,J.maxWidth=P)),x!==void 0?x+"":x}function De(u,m){return{get:function(){if(u()){delete this.get;return}return(this.get=m).apply(this,arguments)}}}var $e=["Webkit","Moz","ms"],Ze=_.createElement("div").style,Pt={};function vt(u){for(var m=u[0].toUpperCase()+u.slice(1),v=$e.length;v--;)if(u=$e[v]+m,u in Ze)return u}function or(u){var m=h.cssProps[u]||Pt[u];return m||(u in Ze?u:Pt[u]=vt(u)||u)}var co=/^(none|table(?!-c[ea]).+)/,WS={position:"absolute",visibility:"hidden",display:"block"},Qp={letterSpacing:"0",fontWeight:"400"};function Zp(u,m,v){var T=Ir.exec(m);return T?Math.max(0,T[2]-(v||0))+(T[3]||"px"):m}function wl(u,m,v,T,O,P){var x=m==="width"?1:0,H=0,J=0,Q=0;if(v===(T?"border":"content"))return 0;for(;x<4;x+=2)v==="margin"&&(Q+=h.css(u,v+nr[x],!0,O)),T?(v==="content"&&(J-=h.css(u,"padding"+nr[x],!0,O)),v!=="margin"&&(J-=h.css(u,"border"+nr[x]+"Width",!0,O))):(J+=h.css(u,"padding"+nr[x],!0,O),v!=="padding"?J+=h.css(u,"border"+nr[x]+"Width",!0,O):H+=h.css(u,"border"+nr[x]+"Width",!0,O));return!T&&P>=0&&(J+=Math.max(0,Math.ceil(u["offset"+m[0].toUpperCase()+m.slice(1)]-P-J-H-.5))||0),J+Q}function ef(u,m,v){var T=q(u),O=!E.boxSizingReliable()||v,P=O&&h.css(u,"boxSizing",!1,T)==="border-box",x=P,H=ye(u,m,T),J="offset"+m[0].toUpperCase()+m.slice(1);if(y.test(H)){if(!v)return H;H="auto"}return(!E.boxSizingReliable()&&P||!E.reliableTrDimensions()&&j(u,"tr")||H==="auto"||!parseFloat(H)&&h.css(u,"display",!1,T)==="inline")&&u.getClientRects().length&&(P=h.css(u,"boxSizing",!1,T)==="border-box",x=J in u,x&&(H=u[J])),H=parseFloat(H)||0,H+wl(u,m,v||(P?"border":"content"),x,T,H)+"px"}h.extend({cssHooks:{opacity:{get:function(u,m){if(m){var v=ye(u,"opacity");return v===""?"1":v}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(u,m,v,T){if(!(!u||u.nodeType===3||u.nodeType===8||!u.style)){var O,P,x,H=pt(m),J=S.test(m),Q=u.style;if(J||(m=or(H)),x=h.cssHooks[m]||h.cssHooks[H],v!==void 0){if(P=typeof v,P==="string"&&(O=Ir.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[H]?"":"px")),!E.clearCloneStyle&&v===""&&m.indexOf("background")===0&&(Q[m]="inherit"),(!x||!("set"in x)||(v=x.set(u,v,T))!==void 0)&&(J?Q.setProperty(m,v):Q[m]=v)}else return x&&"get"in x&&(O=x.get(u,!1,T))!==void 0?O:Q[m]}},css:function(u,m,v,T){var O,P,x,H=pt(m),J=S.test(m);return J||(m=or(H)),x=h.cssHooks[m]||h.cssHooks[H],x&&"get"in x&&(O=x.get(u,!0,v)),O===void 0&&(O=ye(u,m,T)),O==="normal"&&m in Qp&&(O=Qp[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,T,O){if(T)return co.test(h.css(v,"display"))&&(!v.getClientRects().length||!v.getBoundingClientRect().width)?X(v,WS,function(){return ef(v,m,O)}):ef(v,m,O)},set:function(v,T,O){var P,x=q(v),H=!E.scrollboxSize()&&x.position==="absolute",J=H||O,Q=J&&h.css(v,"boxSizing",!1,x)==="border-box",le=O?wl(v,m,O,Q,x):0;return Q&&H&&(le-=Math.ceil(v["offset"+m[0].toUpperCase()+m.slice(1)]-parseFloat(x[m])-wl(v,m,"border",!1,x)-.5)),le&&(P=Ir.exec(T))&&(P[3]||"px")!=="px"&&(v.style[m]=T,T=h.css(v,m)),Zp(v,T,le)}}}),h.cssHooks.marginLeft=De(E.reliableMarginLeft,function(u,m){if(m)return(parseFloat(ye(u,"marginLeft"))||u.getBoundingClientRect().left-X(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 T=0,O={},P=typeof v=="string"?v.split(" "):[v];T<4;T++)O[u+nr[T]+m]=P[T]||P[T-2]||P[0];return O}},u!=="margin"&&(h.cssHooks[u+m].set=Zp)}),h.fn.extend({css:function(u,m){return it(this,function(v,T,O){var P,x,H={},J=0;if(Array.isArray(T)){for(P=q(v),x=T.length;J<x;J++)H[T[J]]=h.css(v,T[J],!1,P);return H}return O!==void 0?h.style(v,T,O):h.css(v,T)},u,m,arguments.length>1)}});function lr(u,m,v,T,O){return new lr.prototype.init(u,m,v,T,O)}h.Tween=lr,lr.prototype={constructor:lr,init:function(u,m,v,T,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=T,this.unit=P||(h.cssNumber[v]?"":"px")},cur:function(){var u=lr.propHooks[this.prop];return u&&u.get?u.get(this):lr.propHooks._default.get(this)},run:function(u){var m,v=lr.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):lr.propHooks._default.set(this),this}},lr.prototype.init.prototype=lr.prototype,lr.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[or(u.prop)]!=null)?h.style(u.elem,u.prop,u.now+u.unit):u.elem[u.prop]=u.now}}},lr.propHooks.scrollTop=lr.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=lr.prototype.init,h.fx.step={};var Fo,Ma,zS=/^(?:toggle|show|hide)$/,YS=/queueHooks$/;function _l(){Ma&&(_.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(_l):t.setTimeout(_l,h.fx.interval),h.fx.tick())}function tf(){return t.setTimeout(function(){Fo=void 0}),Fo=Date.now()}function La(u,m){var v,T=0,O={height:u};for(m=m?1:0;T<4;T+=2-m)v=nr[T],O["margin"+v]=O["padding"+v]=u;return m&&(O.opacity=O.width=u),O}function rf(u,m,v){for(var T,O=(qr.tweeners[m]||[]).concat(qr.tweeners["*"]),P=0,x=O.length;P<x;P++)if(T=O[P].call(v,m,u))return T}function KS(u,m,v){var T,O,P,x,H,J,Q,le,he="width"in m||"height"in m,ie=this,ge={},Ve=u.style,rt=u.nodeType&&Vr(u),ze=xe.get(u,"fxshow");v.queue||(x=h._queueHooks(u,"fx"),x.unqueued==null&&(x.unqueued=0,H=x.empty.fire,x.empty.fire=function(){x.unqueued||H()}),x.unqueued++,ie.always(function(){ie.always(function(){x.unqueued--,h.queue(u,"fx").length||x.empty.fire()})}));for(T in m)if(O=m[T],zS.test(O)){if(delete m[T],P=P||O==="toggle",O===(rt?"hide":"show"))if(O==="show"&&ze&&ze[T]!==void 0)rt=!0;else continue;ge[T]=ze&&ze[T]||h.style(u,T)}if(J=!h.isEmptyObject(m),!(!J&&h.isEmptyObject(ge))){he&&u.nodeType===1&&(v.overflow=[Ve.overflow,Ve.overflowX,Ve.overflowY],Q=ze&&ze.display,Q==null&&(Q=xe.get(u,"display")),le=h.css(u,"display"),le==="none"&&(Q?le=Q:(sr([u],!0),Q=u.style.display||Q,le=h.css(u,"display"),sr([u]))),(le==="inline"||le==="inline-block"&&Q!=null)&&h.css(u,"float")==="none"&&(J||(ie.done(function(){Ve.display=Q}),Q==null&&(le=Ve.display,Q=le==="none"?"":le)),Ve.display="inline-block")),v.overflow&&(Ve.overflow="hidden",ie.always(function(){Ve.overflow=v.overflow[0],Ve.overflowX=v.overflow[1],Ve.overflowY=v.overflow[2]})),J=!1;for(T in ge)J||(ze?"hidden"in ze&&(rt=ze.hidden):ze=xe.access(u,"fxshow",{display:Q}),P&&(ze.hidden=!rt),rt&&sr([u],!0),ie.done(function(){rt||sr([u]),xe.remove(u,"fxshow");for(T in ge)h.style(u,T,ge[T])})),J=rf(rt?ze[T]:0,T,ie),T in ze||(ze[T]=J.start,rt&&(J.end=J.start,J.start=0))}}function XS(u,m){var v,T,O,P,x;for(v in u)if(T=pt(v),O=m[T],P=u[v],Array.isArray(P)&&(O=P[1],P=u[v]=P[0]),v!==T&&(u[T]=P,delete u[v]),x=h.cssHooks[T],x&&"expand"in x){P=x.expand(P),delete u[T];for(v in P)v in u||(u[v]=P[v],m[v]=O)}else m[T]=O}function qr(u,m,v){var T,O,P=0,x=qr.prefilters.length,H=h.Deferred().always(function(){delete J.elem}),J=function(){if(O)return!1;for(var he=Fo||tf(),ie=Math.max(0,Q.startTime+Q.duration-he),ge=ie/Q.duration||0,Ve=1-ge,rt=0,ze=Q.tweens.length;rt<ze;rt++)Q.tweens[rt].run(Ve);return H.notifyWith(u,[Q,Ve,ie]),Ve<1&&ze?ie:(ze||H.notifyWith(u,[Q,1,0]),H.resolveWith(u,[Q]),!1)},Q=H.promise({elem:u,props:h.extend({},m),opts:h.extend(!0,{specialEasing:{},easing:h.easing._default},v),originalProperties:m,originalOptions:v,startTime:Fo||tf(),duration:v.duration,tweens:[],createTween:function(he,ie){var ge=h.Tween(u,Q.opts,he,ie,Q.opts.specialEasing[he]||Q.opts.easing);return Q.tweens.push(ge),ge},stop:function(he){var ie=0,ge=he?Q.tweens.length:0;if(O)return this;for(O=!0;ie<ge;ie++)Q.tweens[ie].run(1);return he?(H.notifyWith(u,[Q,1,0]),H.resolveWith(u,[Q,he])):H.rejectWith(u,[Q,he]),this}}),le=Q.props;for(XS(le,Q.opts.specialEasing);P<x;P++)if(T=qr.prefilters[P].call(Q,u,le,Q.opts),T)return w(T.stop)&&(h._queueHooks(Q.elem,Q.opts.queue).stop=T.stop.bind(T)),T;return h.map(le,rf,Q),w(Q.opts.start)&&Q.opts.start.call(u,Q),Q.progress(Q.opts.progress).done(Q.opts.done,Q.opts.complete).fail(Q.opts.fail).always(Q.opts.always),h.fx.timer(h.extend(J,{elem:u,anim:Q,queue:Q.opts.queue})),Q}h.Animation=h.extend(qr,{tweeners:{"*":[function(u,m){var v=this.createTween(u,m);return In(v.elem,u,Ir.exec(m),v),v}]},tweener:function(u,m){w(u)?(m=u,u=["*"]):u=u.match(z);for(var v,T=0,O=u.length;T<O;T++)v=u[T],qr.tweeners[v]=qr.tweeners[v]||[],qr.tweeners[v].unshift(m)},prefilters:[KS],prefilter:function(u,m){m?qr.prefilters.unshift(u):qr.prefilters.push(u)}}),h.speed=function(u,m,v){var T=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?T.duration=0:typeof T.duration!="number"&&(T.duration in h.fx.speeds?T.duration=h.fx.speeds[T.duration]:T.duration=h.fx.speeds._default),(T.queue==null||T.queue===!0)&&(T.queue="fx"),T.old=T.complete,T.complete=function(){w(T.old)&&T.old.call(this),T.queue&&h.dequeue(this,T.queue)},T},h.fn.extend({fadeTo:function(u,m,v,T){return this.filter(Vr).css("opacity",0).show().end().animate({opacity:m},u,v,T)},animate:function(u,m,v,T){var O=h.isEmptyObject(u),P=h.speed(m,v,T),x=function(){var H=qr(this,h.extend({},u),P);(O||xe.get(this,"finish"))&&H.stop(!0)};return x.finish=x,O||P.queue===!1?this.each(x):this.queue(P.queue,x)},stop:function(u,m,v){var T=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",x=h.timers,H=xe.get(this);if(P)H[P]&&H[P].stop&&T(H[P]);else for(P in H)H[P]&&H[P].stop&&YS.test(P)&&T(H[P]);for(P=x.length;P--;)x[P].elem===this&&(u==null||x[P].queue===u)&&(x[P].anim.stop(v),O=!1,x.splice(P,1));(O||!v)&&h.dequeue(this,u)})},finish:function(u){return u!==!1&&(u=u||"fx"),this.each(function(){var m,v=xe.get(this),T=v[u+"queue"],O=v[u+"queueHooks"],P=h.timers,x=T?T.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<x;m++)T[m]&&T[m].finish&&T[m].finish.call(this);delete v.finish})}}),h.each(["toggle","show","hide"],function(u,m){var v=h.fn[m];h.fn[m]=function(T,O,P){return T==null||typeof T=="boolean"?v.apply(this,arguments):this.animate(La(m,!0),T,O,P)}}),h.each({slideDown:La("show"),slideUp:La("hide"),slideToggle:La("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(u,m){h.fn[u]=function(v,T,O){return this.animate(m,v,T,O)}}),h.timers=[],h.fx.tick=function(){var u,m=0,v=h.timers;for(Fo=Date.now();m<v.length;m++)u=v[m],!u()&&v[m]===u&&v.splice(m--,1);v.length||h.fx.stop(),Fo=void 0},h.fx.timer=function(u){h.timers.push(u),h.fx.start()},h.fx.interval=13,h.fx.start=function(){Ma||(Ma=!0,_l())},h.fx.stop=function(){Ma=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,T){var O=t.setTimeout(v,u);T.stop=function(){t.clearTimeout(O)}})},function(){var u=_.createElement("input"),m=_.createElement("select"),v=m.appendChild(_.createElement("option"));u.type="checkbox",E.checkOn=u.value!=="",E.optSelected=v.selected,u=_.createElement("input"),u.value="t",u.type="radio",E.radioValue=u.value==="t"}();var nf,Oi=h.expr.attrHandle;h.fn.extend({attr:function(u,m){return it(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 T,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)?nf:void 0)),v!==void 0){if(v===null){h.removeAttr(u,m);return}return O&&"set"in O&&(T=O.set(u,v,m))!==void 0?T:(u.setAttribute(m,v+""),v)}return O&&"get"in O&&(T=O.get(u,m))!==null?T:(T=h.find.attr(u,m),T??void 0)}},attrHooks:{type:{set:function(u,m){if(!E.radioValue&&m==="radio"&&j(u,"input")){var v=u.value;return u.setAttribute("type",m),v&&(u.value=v),m}}}},removeAttr:function(u,m){var v,T=0,O=m&&m.match(z);if(O&&u.nodeType===1)for(;v=O[T++];)u.removeAttribute(v)}}),nf={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=Oi[m]||h.find.attr;Oi[m]=function(T,O,P){var x,H,J=O.toLowerCase();return P||(H=Oi[J],Oi[J]=x,x=v(T,O,P)!=null?J:null,Oi[J]=H),x}});var QS=/^(?:input|select|textarea|button)$/i,ZS=/^(?:a|area)$/i;h.fn.extend({prop:function(u,m){return it(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 T,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&&(T=O.set(u,v,m))!==void 0?T:u[m]=v:O&&"get"in O&&(T=O.get(u,m))!==null?T:u[m]},propHooks:{tabIndex:{get:function(u){var m=h.find.attr(u,"tabindex");return m?parseInt(m,10):QS.test(u.nodeName)||ZS.test(u.nodeName)&&u.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),E.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 po(u){var m=u.match(z)||[];return m.join(" ")}function fo(u){return u.getAttribute&&u.getAttribute("class")||""}function Sl(u){return Array.isArray(u)?u:typeof u=="string"?u.match(z)||[]:[]}h.fn.extend({addClass:function(u){var m,v,T,O,P,x;return w(u)?this.each(function(H){h(this).addClass(u.call(this,H,fo(this)))}):(m=Sl(u),m.length?this.each(function(){if(T=fo(this),v=this.nodeType===1&&" "+po(T)+" ",v){for(P=0;P<m.length;P++)O=m[P],v.indexOf(" "+O+" ")<0&&(v+=O+" ");x=po(v),T!==x&&this.setAttribute("class",x)}}):this)},removeClass:function(u){var m,v,T,O,P,x;return w(u)?this.each(function(H){h(this).removeClass(u.call(this,H,fo(this)))}):arguments.length?(m=Sl(u),m.length?this.each(function(){if(T=fo(this),v=this.nodeType===1&&" "+po(T)+" ",v){for(P=0;P<m.length;P++)for(O=m[P];v.indexOf(" "+O+" ")>-1;)v=v.replace(" "+O+" "," ");x=po(v),T!==x&&this.setAttribute("class",x)}}):this):this.attr("class","")},toggleClass:function(u,m){var v,T,O,P,x=typeof u,H=x==="string"||Array.isArray(u);return w(u)?this.each(function(J){h(this).toggleClass(u.call(this,J,fo(this),m),m)}):typeof m=="boolean"&&H?m?this.addClass(u):this.removeClass(u):(v=Sl(u),this.each(function(){if(H)for(P=h(this),O=0;O<v.length;O++)T=v[O],P.hasClass(T)?P.removeClass(T):P.addClass(T);else(u===void 0||x==="boolean")&&(T=fo(this),T&&xe.set(this,"__className__",T),this.setAttribute&&this.setAttribute("class",T||u===!1?"":xe.get(this,"__className__")||""))}))},hasClass:function(u){var m,v,T=0;for(m=" "+u+" ";v=this[T++];)if(v.nodeType===1&&(" "+po(fo(v))+" ").indexOf(m)>-1)return!0;return!1}});var e0=/\r/g;h.fn.extend({val:function(u){var m,v,T,O=this[0];return arguments.length?(T=w(u),this.each(function(P){var x;this.nodeType===1&&(T?x=u.call(this,P,h(this).val()):x=u,x==null?x="":typeof x=="number"?x+="":Array.isArray(x)&&(x=h.map(x,function(H){return H==null?"":H+""})),m=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()],(!m||!("set"in m)||m.set(this,x,"value")===void 0)&&(this.value=x))})):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(e0,""):v??"")):void 0}}),h.extend({valHooks:{option:{get:function(u){var m=h.find.attr(u,"value");return m??po(h.text(u))}},select:{get:function(u){var m,v,T,O=u.options,P=u.selectedIndex,x=u.type==="select-one",H=x?null:[],J=x?P+1:O.length;for(P<0?T=J:T=x?P:0;T<J;T++)if(v=O[T],(v.selected||T===P)&&!v.disabled&&(!v.parentNode.disabled||!j(v.parentNode,"optgroup"))){if(m=h(v).val(),x)return m;H.push(m)}return H},set:function(u,m){for(var v,T,O=u.options,P=h.makeArray(m),x=O.length;x--;)T=O[x],(T.selected=h.inArray(h.valHooks.option.get(T),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}},E.checkOn||(h.valHooks[this].get=function(u){return u.getAttribute("value")===null?"on":u.value})});var Pi=t.location,of={guid:Date.now()},Rl=/\?/;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(T){return T.textContent}).join(`
  913. `):u)),m};var af=/^(?:focusinfocus|focusoutblur)$/,sf=function(u){u.stopPropagation()};h.extend(h.event,{trigger:function(u,m,v,T){var O,P,x,H,J,Q,le,he,ie=[v||_],ge=f.call(u,"type")?u.type:u,Ve=f.call(u,"namespace")?u.namespace.split("."):[];if(P=he=x=v=v||_,!(v.nodeType===3||v.nodeType===8)&&!af.test(ge+h.event.triggered)&&(ge.indexOf(".")>-1&&(Ve=ge.split("."),ge=Ve.shift(),Ve.sort()),J=ge.indexOf(":")<0&&"on"+ge,u=u[h.expando]?u:new h.Event(ge,typeof u=="object"&&u),u.isTrigger=T?2:3,u.namespace=Ve.join("."),u.rnamespace=u.namespace?new RegExp("(^|\\.)"+Ve.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,u.result=void 0,u.target||(u.target=v),m=m==null?[u]:h.makeArray(m,[u]),le=h.event.special[ge]||{},!(!T&&le.trigger&&le.trigger.apply(v,m)===!1))){if(!T&&!le.noBubble&&!R(v)){for(H=le.delegateType||ge,af.test(H+ge)||(P=P.parentNode);P;P=P.parentNode)ie.push(P),x=P;x===(v.ownerDocument||_)&&ie.push(x.defaultView||x.parentWindow||t)}for(O=0;(P=ie[O++])&&!u.isPropagationStopped();)he=P,u.type=O>1?H:le.bindType||ge,Q=(xe.get(P,"events")||Object.create(null))[u.type]&&xe.get(P,"handle"),Q&&Q.apply(P,m),Q=J&&P[J],Q&&Q.apply&&Yt(P)&&(u.result=Q.apply(P,m),u.result===!1&&u.preventDefault());return u.type=ge,!T&&!u.isDefaultPrevented()&&(!le._default||le._default.apply(ie.pop(),m)===!1)&&Yt(v)&&J&&w(v[ge])&&!R(v)&&(x=v[J],x&&(v[J]=null),h.event.triggered=ge,u.isPropagationStopped()&&he.addEventListener(ge,sf),v[ge](),u.isPropagationStopped()&&he.removeEventListener(ge,sf),h.event.triggered=void 0,x&&(v[J]=x)),u.result}},simulate:function(u,m,v){var T=h.extend(new h.Event,v,{type:u,isSimulated:!0});h.event.trigger(T,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)}});var t0=/\[\]$/,lf=/\r?\n/g,r0=/^(?:submit|button|image|reset|file)$/i,n0=/^(?:input|select|textarea|keygen)/i;function Ol(u,m,v,T){var O;if(Array.isArray(m))h.each(m,function(P,x){v||t0.test(u)?T(u,x):Ol(u+"["+(typeof x=="object"&&x!=null?P:"")+"]",x,v,T)});else if(!v&&L(m)==="object")for(O in m)Ol(u+"["+O+"]",m[O],v,T);else T(u,m)}h.param=function(u,m){var v,T=[],O=function(P,x){var H=w(x)?x():x;T[T.length]=encodeURIComponent(P)+"="+encodeURIComponent(H??"")};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)Ol(v,u[v],m,O);return T.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")&&n0.test(this.nodeName)&&!r0.test(u)&&(this.checked||!Nr.test(u))}).map(function(u,m){var v=h(this).val();return v==null?null:Array.isArray(v)?h.map(v,function(T){return{name:m.name,value:T.replace(lf,`\r
  914. `)}}):{name:m.name,value:v.replace(lf,`\r
  915. `)}}).get()}});var o0=/%20/g,i0=/#.*$/,a0=/([?&])_=[^&]*/,s0=/^(.*?):[ \t]*([^\r\n]*)$/mg,l0=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,u0=/^(?:GET|HEAD)$/,c0=/^\/\//,uf={},Pl={},cf="*/".concat("*"),Al=_.createElement("a");Al.href=Pi.href;function df(u){return function(m,v){typeof m!="string"&&(v=m,m="*");var T,O=0,P=m.toLowerCase().match(z)||[];if(w(v))for(;T=P[O++];)T[0]==="+"?(T=T.slice(1)||"*",(u[T]=u[T]||[]).unshift(v)):(u[T]=u[T]||[]).push(v)}}function pf(u,m,v,T){var O={},P=u===Pl;function x(H){var J;return O[H]=!0,h.each(u[H]||[],function(Q,le){var he=le(m,v,T);if(typeof he=="string"&&!P&&!O[he])return m.dataTypes.unshift(he),x(he),!1;if(P)return!(J=he)}),J}return x(m.dataTypes[0])||!O["*"]&&x("*")}function Cl(u,m){var v,T,O=h.ajaxSettings.flatOptions||{};for(v in m)m[v]!==void 0&&((O[v]?u:T||(T={}))[v]=m[v]);return T&&h.extend(!0,u,T),u}function d0(u,m,v){for(var T,O,P,x,H=u.contents,J=u.dataTypes;J[0]==="*";)J.shift(),T===void 0&&(T=u.mimeType||m.getResponseHeader("Content-Type"));if(T){for(O in H)if(H[O]&&H[O].test(T)){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}x||(x=O)}P=P||x}if(P)return P!==J[0]&&J.unshift(P),v[P]}function p0(u,m,v,T){var O,P,x,H,J,Q={},le=u.dataTypes.slice();if(le[1])for(x in u.converters)Q[x.toLowerCase()]=u.converters[x];for(P=le.shift();P;)if(u.responseFields[P]&&(v[u.responseFields[P]]=m),!J&&T&&u.dataFilter&&(m=u.dataFilter(m,u.dataType)),J=P,P=le.shift(),P){if(P==="*")P=J;else if(J!=="*"&&J!==P){if(x=Q[J+" "+P]||Q["* "+P],!x){for(O in Q)if(H=O.split(" "),H[1]===P&&(x=Q[J+" "+H[0]]||Q["* "+H[0]],x)){x===!0?x=Q[O]:Q[O]!==!0&&(P=H[0],le.unshift(H[1]));break}}if(x!==!0)if(x&&u.throws)m=x(m);else try{m=x(m)}catch(he){return{state:"parsererror",error:x?he:"No conversion from "+J+" to "+P}}}}return{state:"success",data:m}}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pi.href,type:"GET",isLocal:l0.test(Pi.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":cf,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?Cl(Cl(u,h.ajaxSettings),m):Cl(h.ajaxSettings,u)},ajaxPrefilter:df(uf),ajaxTransport:df(Pl),ajax:function(u,m){typeof u=="object"&&(m=u,u=void 0),m=m||{};var v,T,O,P,x,H,J,Q,le,he,ie=h.ajaxSetup({},m),ge=ie.context||ie,Ve=ie.context&&(ge.nodeType||ge.jquery)?h(ge):h.event,rt=h.Deferred(),ze=h.Callbacks("once memory"),Wt=ie.statusCode||{},Dt={},Gr={},Wr="canceled",et={readyState:0,getResponseHeader:function(at){var At;if(J){if(!P)for(P={};At=s0.exec(O);)P[At[1].toLowerCase()+" "]=(P[At[1].toLowerCase()+" "]||[]).concat(At[2]);At=P[at.toLowerCase()+" "]}return At==null?null:At.join(", ")},getAllResponseHeaders:function(){return J?O:null},setRequestHeader:function(at,At){return J==null&&(at=Gr[at.toLowerCase()]=Gr[at.toLowerCase()]||at,Dt[at]=At),this},overrideMimeType:function(at){return J==null&&(ie.mimeType=at),this},statusCode:function(at){var At;if(at)if(J)et.always(at[et.status]);else for(At in at)Wt[At]=[Wt[At],at[At]];return this},abort:function(at){var At=at||Wr;return v&&v.abort(At),ho(0,At),this}};if(rt.promise(et),ie.url=((u||ie.url||Pi.href)+"").replace(c0,Pi.protocol+"//"),ie.type=m.method||m.type||ie.method||ie.type,ie.dataTypes=(ie.dataType||"*").toLowerCase().match(z)||[""],ie.crossDomain==null){H=_.createElement("a");try{H.href=ie.url,H.href=H.href,ie.crossDomain=Al.protocol+"//"+Al.host!=H.protocol+"//"+H.host}catch{ie.crossDomain=!0}}if(ie.data&&ie.processData&&typeof ie.data!="string"&&(ie.data=h.param(ie.data,ie.traditional)),pf(uf,ie,m,et),J)return et;Q=h.event&&ie.global,Q&&h.active++===0&&h.event.trigger("ajaxStart"),ie.type=ie.type.toUpperCase(),ie.hasContent=!u0.test(ie.type),T=ie.url.replace(i0,""),ie.hasContent?ie.data&&ie.processData&&(ie.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ie.data=ie.data.replace(o0,"+")):(he=ie.url.slice(T.length),ie.data&&(ie.processData||typeof ie.data=="string")&&(T+=(Rl.test(T)?"&":"?")+ie.data,delete ie.data),ie.cache===!1&&(T=T.replace(a0,"$1"),he=(Rl.test(T)?"&":"?")+"_="+of.guid+++he),ie.url=T+he),ie.ifModified&&(h.lastModified[T]&&et.setRequestHeader("If-Modified-Since",h.lastModified[T]),h.etag[T]&&et.setRequestHeader("If-None-Match",h.etag[T])),(ie.data&&ie.hasContent&&ie.contentType!==!1||m.contentType)&&et.setRequestHeader("Content-Type",ie.contentType),et.setRequestHeader("Accept",ie.dataTypes[0]&&ie.accepts[ie.dataTypes[0]]?ie.accepts[ie.dataTypes[0]]+(ie.dataTypes[0]!=="*"?", "+cf+"; q=0.01":""):ie.accepts["*"]);for(le in ie.headers)et.setRequestHeader(le,ie.headers[le]);if(ie.beforeSend&&(ie.beforeSend.call(ge,et,ie)===!1||J))return et.abort();if(Wr="abort",ze.add(ie.complete),et.done(ie.success),et.fail(ie.error),v=pf(Pl,ie,m,et),!v)ho(-1,"No Transport");else{if(et.readyState=1,Q&&Ve.trigger("ajaxSend",[et,ie]),J)return et;ie.async&&ie.timeout>0&&(x=t.setTimeout(function(){et.abort("timeout")},ie.timeout));try{J=!1,v.send(Dt,ho)}catch(at){if(J)throw at;ho(-1,at)}}function ho(at,At,Ci,Il){var zr,xi,Yr,Ln,Dn,wr=At;J||(J=!0,x&&t.clearTimeout(x),v=void 0,O=Il||"",et.readyState=at>0?4:0,zr=at>=200&&at<300||at===304,Ci&&(Ln=d0(ie,et,Ci)),!zr&&h.inArray("script",ie.dataTypes)>-1&&h.inArray("json",ie.dataTypes)<0&&(ie.converters["text script"]=function(){}),Ln=p0(ie,Ln,et,zr),zr?(ie.ifModified&&(Dn=et.getResponseHeader("Last-Modified"),Dn&&(h.lastModified[T]=Dn),Dn=et.getResponseHeader("etag"),Dn&&(h.etag[T]=Dn)),at===204||ie.type==="HEAD"?wr="nocontent":at===304?wr="notmodified":(wr=Ln.state,xi=Ln.data,Yr=Ln.error,zr=!Yr)):(Yr=wr,(at||!wr)&&(wr="error",at<0&&(at=0))),et.status=at,et.statusText=(At||wr)+"",zr?rt.resolveWith(ge,[xi,wr,et]):rt.rejectWith(ge,[et,wr,Yr]),et.statusCode(Wt),Wt=void 0,Q&&Ve.trigger(zr?"ajaxSuccess":"ajaxError",[et,ie,zr?xi:Yr]),ze.fireWith(ge,[et,wr]),Q&&(Ve.trigger("ajaxComplete",[et,ie]),--h.active||h.event.trigger("ajaxStop")))}return et},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,T,O,P){return w(T)&&(P=P||O,O=T,T=void 0),h.ajax(h.extend({url:v,type:m,dataType:P,data:T,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(T){h.globalEval(T,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 f0={0:200,1223:204},Ai=h.ajaxSettings.xhr();E.cors=!!Ai&&"withCredentials"in Ai,E.ajax=Ai=!!Ai,h.ajaxTransport(function(u){var m,v;if(E.cors||Ai&&!u.crossDomain)return{send:function(T,O){var P,x=u.xhr();if(x.open(u.type,u.url,u.async,u.username,u.password),u.xhrFields)for(P in u.xhrFields)x[P]=u.xhrFields[P];u.mimeType&&x.overrideMimeType&&x.overrideMimeType(u.mimeType),!u.crossDomain&&!T["X-Requested-With"]&&(T["X-Requested-With"]="XMLHttpRequest");for(P in T)x.setRequestHeader(P,T[P]);m=function(H){return function(){m&&(m=v=x.onload=x.onerror=x.onabort=x.ontimeout=x.onreadystatechange=null,H==="abort"?x.abort():H==="error"?typeof x.status!="number"?O(0,"error"):O(x.status,x.statusText):O(f0[x.status]||x.status,x.statusText,(x.responseType||"text")!=="text"||typeof x.responseText!="string"?{binary:x.response}:{text:x.responseText},x.getAllResponseHeaders()))}},x.onload=m(),v=x.onerror=x.ontimeout=m("error"),x.onabort!==void 0?x.onabort=v:x.onreadystatechange=function(){x.readyState===4&&t.setTimeout(function(){m&&v()})},m=m("abort");try{x.send(u.hasContent&&u.data||null)}catch(H){if(m)throw H}},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(T,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 ff=[],xl=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var u=ff.pop()||h.expando+"_"+of.guid++;return this[u]=!0,u}}),h.ajaxPrefilter("json jsonp",function(u,m,v){var T,O,P,x=u.jsonp!==!1&&(xl.test(u.url)?"url":typeof u.data=="string"&&(u.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&xl.test(u.data)&&"data");if(x||u.dataTypes[0]==="jsonp")return T=u.jsonpCallback=w(u.jsonpCallback)?u.jsonpCallback():u.jsonpCallback,x?u[x]=u[x].replace(xl,"$1"+T):u.jsonp!==!1&&(u.url+=(Rl.test(u.url)?"&":"?")+u.jsonp+"="+T),u.converters["script json"]=function(){return P||h.error(T+" was not called"),P[0]},u.dataTypes[0]="json",O=t[T],t[T]=function(){P=arguments},v.always(function(){O===void 0?h(t).removeProp(T):t[T]=O,u[T]&&(u.jsonpCallback=m.jsonpCallback,ff.push(T)),P&&w(O)&&O(P[0]),P=O=void 0}),"script"}),E.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 T,O,P;return m||(E.createHTMLDocument?(m=_.implementation.createHTMLDocument(""),T=m.createElement("base"),T.href=_.location.href,m.head.appendChild(T)):m=_),O=de.exec(u),P=!v&&[],O?[m.createElement(O[1])]:(O=jn([u],m,P),P&&P.length&&h(P).remove(),h.merge([],O.childNodes))},h.fn.load=function(u,m,v){var T,O,P,x=this,H=u.indexOf(" ");return H>-1&&(T=po(u.slice(H)),u=u.slice(0,H)),w(m)?(v=m,m=void 0):m&&typeof m=="object"&&(O="POST"),x.length>0&&h.ajax({url:u,type:O||"GET",dataType:"html",data:m}).done(function(J){P=arguments,x.html(T?h("<div>").append(h.parseHTML(J)).find(T):J)}).always(v&&function(J,Q){x.each(function(){v.apply(this,P||[J.responseText,Q,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 T,O,P,x,H,J,Q,le=h.css(u,"position"),he=h(u),ie={};le==="static"&&(u.style.position="relative"),H=he.offset(),P=h.css(u,"top"),J=h.css(u,"left"),Q=(le==="absolute"||le==="fixed")&&(P+J).indexOf("auto")>-1,Q?(T=he.position(),x=T.top,O=T.left):(x=parseFloat(P)||0,O=parseFloat(J)||0),w(m)&&(m=m.call(u,v,h.extend({},H))),m.top!=null&&(ie.top=m.top-H.top+x),m.left!=null&&(ie.left=m.left-H.left+O),"using"in m?m.using.call(u,ie):he.css(ie)}},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,T=this[0];if(T)return T.getClientRects().length?(m=T.getBoundingClientRect(),v=T.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,T=this[0],O={top:0,left:0};if(h.css(T,"position")==="fixed")m=T.getBoundingClientRect();else{for(m=this.offset(),v=T.ownerDocument,u=T.offsetParent||v.documentElement;u&&(u===v.body||u===v.documentElement)&&h.css(u,"position")==="static";)u=u.parentNode;u&&u!==T&&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(T,"marginTop",!0),left:m.left-O.left-h.css(T,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var u=this.offsetParent;u&&h.css(u,"position")==="static";)u=u.offsetParent;return u||hr})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(u,m){var v=m==="pageYOffset";h.fn[u]=function(T){return it(this,function(O,P,x){var H;if(R(O)?H=O:O.nodeType===9&&(H=O.defaultView),x===void 0)return H?H[m]:O[P];H?H.scrollTo(v?H.pageXOffset:x,v?x:H.pageYOffset):O[P]=x},u,T,arguments.length)}}),h.each(["top","left"],function(u,m){h.cssHooks[m]=De(E.pixelPosition,function(v,T){if(T)return T=ye(v,m),y.test(T)?h(v).position()[m]+"px":T})}),h.each({Height:"height",Width:"width"},function(u,m){h.each({padding:"inner"+u,content:m,"":"outer"+u},function(v,T){h.fn[T]=function(O,P){var x=arguments.length&&(v||typeof O!="boolean"),H=v||(O===!0||P===!0?"margin":"border");return it(this,function(J,Q,le){var he;return R(J)?T.indexOf("outer")===0?J["inner"+u]:J.document.documentElement["client"+u]:J.nodeType===9?(he=J.documentElement,Math.max(J.body["scroll"+u],he["scroll"+u],J.body["offset"+u],he["offset"+u],he["client"+u])):le===void 0?h.css(J,Q,H):h.style(J,Q,le,H)},m,x?O:void 0,x)}})}),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,T){return this.on(m,u,v,T)},undelegate:function(u,m,v){return arguments.length===1?this.off(u,"**"):this.off(m,u||"**",v)},hover:function(u,m){return this.on("mouseenter",u).on("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,T){return arguments.length>0?this.on(m,null,v,T):this.trigger(m)}});var h0=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;h.proxy=function(u,m){var v,T,O;if(typeof m=="string"&&(v=u[m],m=u,u=v),!!w(u))return T=i.call(arguments,2),O=function(){return u.apply(m||this,T.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=j,h.isFunction=w,h.isWindow=R,h.camelCase=pt,h.type=L,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(h0,"$1")};var m0=t.jQuery,y0=t.$;return h.noConflict=function(u){return t.$===h&&(t.$=y0),u&&t.jQuery===h&&(t.jQuery=m0),h},typeof r>"u"&&(t.jQuery=t.$=h),h})})(GS);var wW=GS.exports;const mi=HS(wW);class Ru{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 yn{static initUI(){yn.initPrintDialog(),yn.initfileupload(),yn.initTrackEventElementAnalytics(),yn.disbaleInitialForNewsletterSubPage(),yn.initEtrackerOnCookiebotEvent(),yn.initEtrackerOnUsercentricsEvent(),yn.initEmptyAnchorLinks()}static initEtrackerOnCookiebotEvent(){typeof ihk<"u"&&ihk.settings&&ihk.settings.etrackerCookieless===!1&&window.addEventListener("CookiebotOnConsentReady",Ru.initEtrackerCookies,!1)}static initEtrackerOnUsercentricsEvent(){window.addEventListener("onConsentStatusChange",Ru.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(Ru.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 ky=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))},_W=function(){function e(t,r,n){this.name=t,this.version=r,this.os=n,this.type="browser"}return e}(),SW=function(){function e(t){this.version=t,this.type="node",this.name="node",this.os=process.platform}return e}(),RW=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}(),OW=function(){function e(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return e}(),PW=function(){function e(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return e}(),AW=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,CW=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,$y=3,xW=[["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",AW]],By=[["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 IW(e){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new PW:typeof navigator<"u"?jW(navigator.userAgent):MW()}function NW(e){return e!==""&&xW.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 jW(e){var t=NW(e);if(!t)return null;var r=t[0],n=t[1];if(r==="searchbot")return new OW;var o=n[1]&&n[1].split(".").join("_").split("_").slice(0,3);o?o.length<$y&&(o=ky(ky([],o,!0),LW($y-o.length),!0)):o=[];var i=o.join("."),a=qW(e),l=CW.exec(e);return l&&l[1]?new RW(r,i,a,l[1]):new _W(r,i,a)}function qW(e){for(var t=0,r=By.length;t<r;t++){var n=By[t],o=n[0],i=n[1],a=i.exec(e);if(a)return o}return null}function MW(){var e=typeof process<"u"&&process.version;return e?new SW(process.version.slice(1)):null}function LW(e){for(var t=[],r=0;r<e;r++)t.push("0");return t}var Tl={exports:{}};Tl.exports=Kp;Tl.exports.isMobile=Kp;Tl.exports.default=Kp;const DW=/(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,kW=/CrOS/,$W=/android|ipad|playbook|silk/i;function Kp(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=DW.test(t)&&!kW.test(t)||!!e.tablet&&$W.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf("Macintosh")!==-1&&t.indexOf("Safari")!==-1&&(r=!0),r}var BW=Tl.exports;const FW=HS(BW);(function(e,t){(function(r,n){n()})(JS,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(D){return!!(D&&D!==document&&D.nodeName!=="HTML"&&D.nodeName!=="BODY"&&"classList"in D&&"contains"in D.classList)}function p(D){var I=D.type,h=D.tagName;return!!(h==="INPUT"&&d[I]&&!D.readOnly||h==="TEXTAREA"&&!D.readOnly||D.isContentEditable)}function f(D){D.classList.contains("focus-visible")||(D.classList.add("focus-visible"),D.setAttribute("data-focus-visible-added",""))}function g(D){D.hasAttribute("data-focus-visible-added")&&(D.classList.remove("focus-visible"),D.removeAttribute("data-focus-visible-added"))}function b(D){D.metaKey||D.altKey||D.ctrlKey||(c(o.activeElement)&&f(o.activeElement),i=!0)}function E(D){i=!1}function w(D){c(D.target)&&(i||p(D.target))&&f(D.target)}function R(D){c(D.target)&&(D.target.classList.contains("focus-visible")||D.target.hasAttribute("data-focus-visible-added"))&&(a=!0,window.clearTimeout(l),l=window.setTimeout(function(){a=!1},100),g(D.target))}function _(D){document.visibilityState==="hidden"&&(a&&(i=!0),A())}function A(){document.addEventListener("mousemove",L),document.addEventListener("mousedown",L),document.addEventListener("mouseup",L),document.addEventListener("pointermove",L),document.addEventListener("pointerdown",L),document.addEventListener("pointerup",L),document.addEventListener("touchmove",L),document.addEventListener("touchstart",L),document.addEventListener("touchend",L)}function M(){document.removeEventListener("mousemove",L),document.removeEventListener("mousedown",L),document.removeEventListener("mouseup",L),document.removeEventListener("pointermove",L),document.removeEventListener("pointerdown",L),document.removeEventListener("pointerup",L),document.removeEventListener("touchmove",L),document.removeEventListener("touchstart",L),document.removeEventListener("touchend",L)}function L(D){D.target.nodeName&&D.target.nodeName.toLowerCase()==="html"||(i=!1,M())}document.addEventListener("keydown",b,!0),document.addEventListener("mousedown",E,!0),document.addEventListener("pointerdown",E,!0),document.addEventListener("touchstart",E,!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.$=mi;global.jQuery=mi;let Xp=class Bc{static getBrowser(){return IW()}static isMobile(){return FW()}static init(){const t=Bc.isMobile(),r=Bc.getBrowser(),n=mi("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")}};Xp.realVH();mi(window).on("resize",function(){Xp.realVH()});mi(document).ready(function(){Xp.init(),mi("body").addClass("ready"),yn.initUI()});const UW={Phone:{name:"Phone",styles:{width:"380px",height:"720px"}},Tablet:{name:"Tablet",styles:{width:"768px",height:"1024px"}}},VW={layout:"padded",actions:{},viewport:{options:UW},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"}}},a11y:{test:"todo"}},JW={theme:{name:"Theme",description:"Theme für alle Komponenten (data-theme am <html>-Element)",toolbar:{title:"Theme",icon:"paintbrush",items:US.map(({name:e,value:t})=>({value:t,title:e})),dynamicTitle:!0}}},HW={backgrounds:{value:"white"},theme:VS},GW=["autodocs"],WW=[(e,t)=>(document.documentElement.setAttribute("data-theme",t.globals.theme??VS),document.body.classList.add("variant-base"),e())],zW=Object.freeze(Object.defineProperty({__proto__:null,decorators:WW,globalTypes:JW,initialGlobals:HW,parameters:VW,tags:GW},Symbol.toStringTag,{value:"Module"})),{composeConfigs:YW}=__STORYBOOK_MODULE_PREVIEW_API__;function KW(e=[]){const t=[e[0]??l3,e[1]??m3,e[2]??x3,e[3]??$3,e[4]??uW,e[5]??TW,e[6]??zW];return YW(t)}vS();const{PreviewWeb:XW}=__STORYBOOK_MODULE_PREVIEW_API__;window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new XW(UG,KW);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{mi as $,Az as A,Pz as B,Oz as C,Rz as D,Sz as E,_z as F,wz as G,yz as H,mz as I,hz as J,dz as K,jz as L,qz as M,v3 as N,kz as O,Bz as P,Fz as Q,Iy as R,$z as S,Dz as T,wS as U,Bs as V,Vz as _,Uz as a,XG as b,YG as c,JS as d,nz as e,oz as f,HS as g,az as h,Tu as i,wW as j,gz as k,fz as l,cz as m,uz as n,lz as o,vz as p,iz as q,sz as r,pz as s,Ez as t,Tz as u,bz as v,Nz as w,Iz as x,xz as y,Cz as z};