@designcrowd/fe-shared-lib 1.5.26 → 1.5.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook-static/assets/Auth-BEjq1pFf.css +1 -0
- package/.storybook-static/assets/Auth.stories-6JyBk-uq.js +490 -0
- package/.storybook-static/assets/AuthCrazyDomains.stories-DM4RpsMO.js +73 -0
- package/.storybook-static/assets/Button-BkoQdoaq.css +1 -0
- package/.storybook-static/assets/Button-DUOSTNbh.js +1 -0
- package/.storybook-static/assets/ButtonGroup-DDPXuhxR.css +1 -0
- package/.storybook-static/assets/ButtonGroup.stories-DYoET5Zw.js +504 -0
- package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +1 -0
- package/.storybook-static/assets/ButtonPrimary-C1HLT2L3.js +1 -0
- package/.storybook-static/assets/Buttons.stories-aTFEest4.js +761 -0
- package/.storybook-static/assets/ButtonsCrazyDomains.stories-BDEdg2Ki.js +199 -0
- package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +1 -0
- package/.storybook-static/assets/Checkbox.stories-CA6Ke9oy.js +246 -0
- package/.storybook-static/assets/Checktile.stories-DAvOuYro.js +88 -0
- package/.storybook-static/assets/CollapsiblePanel.stories-Dn1XwwpU.js +56 -0
- package/.storybook-static/assets/ColorPicker.stories-DTkwaAKN.js +73 -0
- package/.storybook-static/assets/CopyToClipboardText.stories-CYAv-s36.js +32 -0
- package/.storybook-static/assets/Dropdown.stories-hHlWTMpq.js +159 -0
- package/.storybook-static/assets/DropdownItem-BIPkoata.js +1 -0
- package/.storybook-static/assets/DropdownItem-BV-BdThU.css +1 -0
- package/.storybook-static/assets/FormControl.mixin-Z8ORnl4_.js +1 -0
- package/.storybook-static/assets/HashRouteModal.stories-t0ZML3rG.js +64 -0
- package/.storybook-static/assets/HelloBar-YB27gvZE.js +1 -0
- package/.storybook-static/assets/HelloBar.stories-D4kmUZop.js +342 -0
- package/.storybook-static/assets/Icon-BKxOWZPO.js +145 -0
- package/.storybook-static/assets/Icon.stories-BqE4TmG1.js +151 -0
- package/.storybook-static/assets/Icon.stories-Fv8jSyX3.js +791 -0
- package/.storybook-static/assets/Loader-DLZpiqG9.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-CeAaMKke.css +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-CnS5MYDX.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours.stories-QdrZqhMQ.js +36 -0
- package/.storybook-static/assets/Masonry-C2MNiGg0.css +1 -0
- package/.storybook-static/assets/Masonry.stories-CYO67z8l.js +71 -0
- package/.storybook-static/assets/Modal-CGwEIF5R.css +1 -0
- package/.storybook-static/assets/Modal-DWDuRSAE.js +1 -0
- package/.storybook-static/assets/Modal.stories-uhl_4yGf.js +345 -0
- package/.storybook-static/assets/Notice.stories-BP3l1NFU.js +222 -0
- package/.storybook-static/assets/NumberStepper-Blffv09R.css +1 -0
- package/.storybook-static/assets/NumberStepper.stories-BeUZfA-C.js +64 -0
- package/.storybook-static/assets/PaymentConfigList-BpUMV6cp.css +1 -0
- package/.storybook-static/assets/PaymentConfigList.stories-CVHxg1ka.js +130 -0
- package/.storybook-static/assets/Picture-CPyaAiI1.js +1 -0
- package/.storybook-static/assets/Picture.stories-BdQ6Koo2.js +119 -0
- package/.storybook-static/assets/Pill-CpGZCb39.js +1 -0
- package/.storybook-static/assets/Pill.stories-BVDivYOY.js +18 -0
- package/.storybook-static/assets/PillBar-os4mJV3M.css +1 -0
- package/.storybook-static/assets/PillBar.stories-Dgp2DDmF.js +41 -0
- package/.storybook-static/assets/Price-BBo_v_DU.js +1 -0
- package/.storybook-static/assets/Price.stories-JstP9L09.js +358 -0
- package/.storybook-static/assets/PromoCard.stories-CWKGBEKG.js +299 -0
- package/.storybook-static/assets/PublishBrandPageModal-Q9-mNG1q.css +1 -0
- package/.storybook-static/assets/PublishBrandPageModal.stories-CYEZ4ls2.js +324 -0
- package/.storybook-static/assets/SearchBar.stories-CfVmuWji.js +12 -0
- package/.storybook-static/assets/Select-Dw-zvSUg.css +1 -0
- package/.storybook-static/assets/Select.stories-EdNZQHYu.js +108 -0
- package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-C7mOVElo.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-DH6khE10.css +1 -0
- package/.storybook-static/assets/SellDomainNameListModal.stories-DFwSK3G7.js +71 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-Cpxq0jDA.css +1 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-Cx22LEIX.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults-DFzBhj00.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-DKGuPPpj.js +37 -0
- package/.storybook-static/assets/SellDomainNameWidget.stories-DNnX4xt_.js +36 -0
- package/.storybook-static/assets/SignIn-CE_SoJx-.css +1 -0
- package/.storybook-static/assets/SignIn-IL0CRcdp.js +1 -0
- package/.storybook-static/assets/Slider-Cog2FFdj.css +1 -0
- package/.storybook-static/assets/Slider.stories-CMJ5ugMO.js +141 -0
- package/.storybook-static/assets/SparkleIcon.stories-BZksmQE5.js +547 -0
- package/.storybook-static/assets/StarRating-BtKh7pzm.css +1 -0
- package/.storybook-static/assets/StarRating.stories-ChJp556v.js +45 -0
- package/.storybook-static/assets/TabMenu.stories-wiuV4LXX.js +47 -0
- package/.storybook-static/assets/TextCopyField-Dzv5HIy6.js +1 -0
- package/.storybook-static/assets/TextCopyField.stories-CijK8qce.js +47 -0
- package/.storybook-static/assets/TextInput-BHzkiJOm.js +1 -0
- package/.storybook-static/assets/TextInput.stories-58ZMik7R.js +233 -0
- package/.storybook-static/assets/Textarea.stories-JRiJv3-v.js +207 -0
- package/.storybook-static/assets/Toggle.stories-CTp5mIN9.js +161 -0
- package/.storybook-static/assets/Tooltip-BhRZYr7B.js +1 -0
- package/.storybook-static/assets/Tooltip-DyXIgFQH.css +1 -0
- package/.storybook-static/assets/Tooltip.stories-DEHShenH.js +953 -0
- package/.storybook-static/assets/UploadYourLogoApplication-nGy7BMKH.css +9 -0
- package/.storybook-static/assets/UploadYourLogoApplication.stories-Cdk8mmFd.js +194 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-BoFs5oM3.js +24 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +1 -0
- package/.storybook-static/assets/UploadYourLogoDropzone.stories-BVr13-q9.js +55 -0
- package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-BUMq40yJ.js +79 -0
- package/.storybook-static/assets/WebsiteContextualUpgradeModal-BaDRNoWw.css +1 -0
- package/.storybook-static/assets/WebsiteContextualUpgradeModal.stories-DsIAXVdb.js +211 -0
- package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +1 -0
- package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
- package/.storybook-static/assets/axe-CVuRbXyi.js +30 -0
- package/.storybook-static/assets/brand-crowd-api.client-BI9zXww7.js +1 -0
- package/.storybook-static/assets/bundled-translations-BoWhEDU_.js +1 -0
- package/.storybook-static/assets/bundled-translations.de-DE-C4lqla4O.js +1 -0
- package/.storybook-static/assets/bundled-translations.es-ES-BxMIllUH.js +1 -0
- package/.storybook-static/assets/bundled-translations.fr-CA-MxZpyz0w.js +1 -0
- package/.storybook-static/assets/bundled-translations.fr-FR-N7UPCZVr.js +1 -0
- package/.storybook-static/assets/bundled-translations.pt-BR-C8tscYuG.js +1 -0
- package/.storybook-static/assets/bundled-translations.pt-PT-Dszj5Xfa.js +1 -0
- package/.storybook-static/assets/carousel-BelyIYOK.css +1 -0
- package/.storybook-static/assets/carousel.stories-IeFZNB6E.js +668 -0
- package/.storybook-static/assets/event-constants-CMO9VQVu.js +1 -0
- package/.storybook-static/assets/iframe-Dd7cBPzL.js +1126 -0
- package/.storybook-static/assets/index-Bz4la0P9.js +6 -0
- package/.storybook-static/assets/index-_aBqSnL8.js +29 -0
- package/.storybook-static/assets/matchers-7Z3WT2CE-OIiPHzXs.js +14 -0
- package/.storybook-static/assets/mediaQueryMixin-CISNqd93.js +1 -0
- package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
- package/.storybook-static/css/tailwind-brandCrowd.css +2508 -0
- package/.storybook-static/css/tailwind-brandPage.css +2188 -0
- package/.storybook-static/css/tailwind-crazyDomains.css +2508 -0
- package/.storybook-static/css/tailwind-designCom.css +2508 -0
- package/.storybook-static/css/tailwind-designCrowd.css +2508 -0
- package/.storybook-static/favicon.svg +1 -0
- package/.storybook-static/iframe.html +694 -0
- package/.storybook-static/index.html +156 -0
- package/.storybook-static/index.json +1 -0
- package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/project.json +1 -0
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +5 -0
- package/.storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +188 -0
- package/.storybook-static/sb-addons/themes-3/manager-bundle.js +3 -0
- package/.storybook-static/sb-common-assets/favicon.svg +1 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/sb-manager/globals-module-info.js +797 -0
- package/.storybook-static/sb-manager/globals-runtime.js +72062 -0
- package/.storybook-static/sb-manager/globals.js +34 -0
- package/.storybook-static/sb-manager/runtime.js +13002 -0
- package/dist/css/tailwind-brandCrowd.css +113 -7
- package/dist/css/tailwind-brandPage.css +109 -7
- package/dist/css/tailwind-crazyDomains.css +113 -7
- package/dist/css/tailwind-designCom.css +113 -7
- package/dist/css/tailwind-designCrowd.css +113 -7
- package/package.json +1 -1
- package/src/atoms/components/Price/Price.stories.js +42 -21
- package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue +4 -5
- package/tailwind.config.js +1 -1
|
@@ -0,0 +1,1126 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Buttons.stories-aTFEest4.js","./Button-DUOSTNbh.js","./ButtonPrimary-C1HLT2L3.js","./_plugin-vue_export-helper-DlAUqK2U.js","./ButtonPrimary-Bu6bXb_c.css","./Icon-BKxOWZPO.js","./Button-BkoQdoaq.css","./ButtonsCrazyDomains.stories-BDEdg2Ki.js","./ButtonGroup.stories-DYoET5Zw.js","./ButtonGroup-DDPXuhxR.css","./carousel.stories-IeFZNB6E.js","./carousel-BelyIYOK.css","./Checkbox.stories-CA6Ke9oy.js","./Checkbox.mixin-DkHpdvGa.js","./Checktile.stories-DAvOuYro.js","./CollapsiblePanel.stories-Dn1XwwpU.js","./ColorPicker.stories-DTkwaAKN.js","./FormControl.mixin-Z8ORnl4_.js","./CopyToClipboardText.stories-CYAv-s36.js","./Tooltip-BhRZYr7B.js","./Tooltip-DyXIgFQH.css","./Dropdown.stories-hHlWTMpq.js","./DropdownItem-BIPkoata.js","./DropdownItem-BV-BdThU.css","./Pill-CpGZCb39.js","./HelloBar.stories-D4kmUZop.js","./HelloBar-YB27gvZE.js","./Icon.stories-Fv8jSyX3.js","./Masonry.stories-CYO67z8l.js","./Masonry-C2MNiGg0.css","./HashRouteModal.stories-t0ZML3rG.js","./Modal-DWDuRSAE.js","./Modal-CGwEIF5R.css","./Modal.stories-uhl_4yGf.js","./Notice.stories-BP3l1NFU.js","./NumberStepper.stories-BeUZfA-C.js","./NumberStepper-Blffv09R.css","./Picture.stories-BdQ6Koo2.js","./Picture-CPyaAiI1.js","./Pill.stories-BVDivYOY.js","./PillBar.stories-Dgp2DDmF.js","./PillBar-os4mJV3M.css","./Price.stories-JstP9L09.js","./Price-BBo_v_DU.js","./PromoCard.stories-CWKGBEKG.js","./mediaQueryMixin-CISNqd93.js","./SearchBar.stories-CfVmuWji.js","./Select.stories-EdNZQHYu.js","./Select-Dw-zvSUg.css","./Slider.stories-CMJ5ugMO.js","./Slider-Cog2FFdj.css","./StarRating.stories-ChJp556v.js","./StarRating-BtKh7pzm.css","./TabMenu.stories-wiuV4LXX.js","./TextCopyField.stories-CijK8qce.js","./TextCopyField-Dzv5HIy6.js","./TextInput-BHzkiJOm.js","./TextInput.stories-58ZMik7R.js","./Textarea.stories-JRiJv3-v.js","./Toggle.stories-CTp5mIN9.js","./Tooltip.stories-DEHShenH.js","./Icon.stories-BqE4TmG1.js","./Auth.stories-6JyBk-uq.js","./SignIn-IL0CRcdp.js","./SignIn-CE_SoJx-.css","./Auth-BEjq1pFf.css","./AuthCrazyDomains.stories-DM4RpsMO.js","./PaymentConfigList.stories-CVHxg1ka.js","./index-Bz4la0P9.js","./index-_aBqSnL8.js","./_commonjsHelpers-D6-XlEtG.js","./Loader-DLZpiqG9.js","./PaymentConfigList-BpUMV6cp.css","./PublishBrandPageModal.stories-CYEZ4ls2.js","./SellDomainNameListModal-C7mOVElo.js","./SellDomainNameListSearchResult-Cx22LEIX.js","./event-constants-CMO9VQVu.js","./SellDomainNameListSearchResult-Cpxq0jDA.css","./SellDomainNameListModal-DH6khE10.css","./brand-crowd-api.client-BI9zXww7.js","./api-lSJGRrF2.js","./SellDomainNameSearchWithResults-DFzBhj00.js","./PublishBrandPageModal-Q9-mNG1q.css","./SellDomainNameListModal.stories-DFwSK3G7.js","./SellDomainNameList.fixtures-LC6fjr_b.js","./SellDomainNameSearchWithResults.stories-DKGuPPpj.js","./SellDomainNameWidget.stories-DNnX4xt_.js","./UploadYourLogoApplication.stories-Cdk8mmFd.js","./tracking-ATsLLehC.js","./UploadYourLogoDropzone-BoFs5oM3.js","./UploadYourLogoDropzone-DQqACf-e.css","./LogoBusinessBrandColours-CnS5MYDX.js","./LogoBusinessBrandColours-CeAaMKke.css","./UploadYourLogoApplication-nGy7BMKH.css","./UploadYourLogoDropzone.stories-BVr13-q9.js","./LogoBusinessBrandColours.stories-QdrZqhMQ.js","./UploadedLogoSearchResultCard.stories-BUMq40yJ.js","./WebsiteContextualUpgradeModal.stories-DsIAXVdb.js","./WebsiteContextualUpgradeModal-BaDRNoWw.css","./axe-CVuRbXyi.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var Y5=Object.defineProperty;var X5=(e,t,r)=>t in e?Y5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var yt=(e,t,r)=>X5(e,typeof t!="symbol"?t+"":t,r);(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 s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).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 Vo={client:!0},cy={},Q5=Object.create,qu=Object.defineProperty,Z5=Object.getOwnPropertyDescriptor,eJ=Object.getOwnPropertyNames,tJ=Object.getPrototypeOf,rJ=Object.prototype.hasOwnProperty,l=(e,t)=>qu(e,"name",{value:t,configurable:!0}),_c=(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')}),nJ=(e,t)=>()=>(e&&(t=e(e=0)),t),A=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mr=(e,t)=>{for(var r in t)qu(e,r,{get:t[r],enumerable:!0})},vP=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of eJ(t))!rJ.call(e,o)&&o!==r&&qu(e,o,{get:()=>t[o],enumerable:!(n=Z5(t,o))||n.enumerable});return e},_t=(e,t,r)=>(r=e!=null?Q5(tJ(e)):{},vP(t||!e||!e.__esModule?qu(r,"default",{value:e,enumerable:!0}):r,e)),oJ=e=>vP(qu({},"__esModule",{value:!0}),e),EP=A((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 l(function r(n,o,i){function s(c,d){if(!o[c]){if(!n[c]){var p=typeof _c=="function"&&_c;if(!d&&p)return p(c,!0);if(a)return a(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[c]={exports:{}};n[c][0].call(f.exports,function(m){var y=n[c][1][m];return s(y||m)},f,f.exports,r,n,o,i)}return o[c].exports}l(s,"s");for(var a=typeof _c=="function"&&_c,u=0;u<i.length;u++)s(i[u]);return s},"e")({1:[function(r,n,o){n.exports=function(i){if(typeof Map!="function"||i){var s=r("./similar");return new s}else return new Map}},{"./similar":2}],2:[function(r,n,o){function i(){return this.list=[],this.lastItem=void 0,this.size=0,this}l(i,"Similar"),i.prototype.get=function(s){var a;if(this.lastItem&&this.isEqual(this.lastItem.key,s))return this.lastItem.val;if(a=this.indexOf(s),a>=0)return this.lastItem=this.list[a],this.list[a].val},i.prototype.set=function(s,a){var u;return this.lastItem&&this.isEqual(this.lastItem.key,s)?(this.lastItem.val=a,this):(u=this.indexOf(s),u>=0?(this.lastItem=this.list[u],this.list[u].val=a,this):(this.lastItem={key:s,val:a},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(s){var a;if(this.lastItem&&this.isEqual(this.lastItem.key,s)&&(this.lastItem=void 0),a=this.indexOf(s),a>=0)return this.size--,this.list.splice(a,1)[0]},i.prototype.has=function(s){var a;return this.lastItem&&this.isEqual(this.lastItem.key,s)?!0:(a=this.indexOf(s),a>=0?(this.lastItem=this.list[a],!0):!1)},i.prototype.forEach=function(s,a){var u;for(u=0;u<this.size;u++)s.call(a||this,this.list[u].val,this.list[u].key,this)},i.prototype.indexOf=function(s){var a;for(a=0;a<this.size;a++)if(this.isEqual(this.list[a].key,s))return a;return-1},i.prototype.isEqual=function(s,a){return s===a||s!==s&&a!==a},n.exports=i},{}],3:[function(r,n,o){var i=r("map-or-similar");n.exports=function(c){var d=new i(!1),p=[];return function(h){var f=l(function(){var m=d,y,g,b=arguments.length-1,v=Array(b+1),S=!0,T;if((f.numArgs||f.numArgs===0)&&f.numArgs!==b+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(T=0;T<b;T++){if(v[T]={cacheItem:m,arg:arguments[T]},m.has(arguments[T])){m=m.get(arguments[T]);continue}S=!1,y=new i(!1),m.set(arguments[T],y),m=y}return S&&(m.has(arguments[b])?g=m.get(arguments[b]):S=!1),S||(g=h.apply(null,arguments),m.set(arguments[b],g)),c>0&&(v[b]={cacheItem:m,arg:arguments[b]},S?s(p,v):p.push(v),p.length>c&&a(p.shift())),f.wasMemoized=S,f.numArgs=b+1,g},"memoizerific");return f.limit=c,f.wasMemoized=!1,f.cache=d,f.lru=p,f}};function s(c,d){var p=c.length,h=d.length,f,m,y;for(m=0;m<p;m++){for(f=!0,y=0;y<h;y++)if(!u(c[m][y].arg,d[y].arg)){f=!1;break}if(f)break}c.push(c.splice(m,1)[0])}l(s,"moveToMostRecentLru");function a(c){var d=c.length,p=c[d-1],h,f;for(p.cacheItem.delete(p.arg),f=d-2;f>=0&&(p=c[f],h=p.cacheItem.get(p.arg),!h||!h.size);f--)p.cacheItem.delete(p.arg)}l(a,"removeCachedResult");function u(c,d){return c===d||c!==c&&d!==d}l(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),iJ=A(()=>{}),sJ=A((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}}),aJ=A((e,t)=>{var r=sJ();t.exports=n=>{let o=r(n);if(o===0)return n;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(i,"")}}),lJ=A((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))}}),wP=A((e,t)=>{var r=aJ(),n=lJ();t.exports=(o,i=0,s)=>n(r(o),i,s)}),uJ=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":l(function(){return o},"iterator"),next:l(function(){if(n<r.length){var i=r[n];return n=n+1,{done:!1,value:i}}else return{done:!0}},"next")};return o}l(t,"iteratorProxy"),e.default=t}),Lu=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(uJ());function r(i){return i&&i.__esModule?i:{default:i}}l(r,"_interopRequireDefault");function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}l(n,"_typeof");function o(i,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(s)}),i}l(o,"iterationDecorator")}),cJ=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Lu());function r(p){return p&&p.__esModule?p:{default:p}}l(r,"_interopRequireDefault");function n(p,h){return u(p)||a(p,h)||i(p,h)||o()}l(n,"_slicedToArray");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.`)}l(o,"_nonIterableRest");function i(p,h){if(p){if(typeof p=="string")return s(p,h);var f={}.toString.call(p).slice(8,-1);return f==="Object"&&p.constructor&&(f=p.constructor.name),f==="Map"||f==="Set"?Array.from(p):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?s(p,h):void 0}}l(i,"_unsupportedIterableToArray");function s(p,h){(h==null||h>p.length)&&(h=p.length);for(var f=0,m=Array(h);f<h;f++)m[f]=p[f];return m}l(s,"_arrayLikeToArray");function a(p,h){var f=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(f!=null){var m,y,g,b,v=[],S=!0,T=!1;try{if(g=(f=f.call(p)).next,h===0){if(Object(f)!==f)return;S=!1}else for(;!(S=(m=g.call(f)).done)&&(v.push(m.value),v.length!==h);S=!0);}catch(O){T=!0,y=O}finally{try{if(!S&&f.return!=null&&(b=f.return(),Object(b)!==b))return}finally{if(T)throw y}}return v}}l(a,"_iterableToArrayLimit");function u(p){if(Array.isArray(p))return p}l(u,"_arrayWithHoles");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"}]],d={entries:l(function(){return c},"entries"),forEach:l(function(p){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=c;f<m.length;f++){var y=n(m[f],2),g=y[0],b=y[1];p.call(h,b,g,c)}},"forEach"),get:l(function(p){var h=c.filter(function(f){return f[0]===p})[0];return h&&h[1]},"get"),has:l(function(p){return!!d.get(p)},"has"),keys:l(function(){return c.map(function(p){var h=n(p,1),f=h[0];return f})},"keys"),values:l(function(){return c.map(function(p){var h=n(p,2),f=h[1];return f})},"values")};e.default=(0,t.default)(d,d.entries())}),dJ=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Lu());function r(p){return p&&p.__esModule?p:{default:p}}l(r,"_interopRequireDefault");function n(p,h){return u(p)||a(p,h)||i(p,h)||o()}l(n,"_slicedToArray");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.`)}l(o,"_nonIterableRest");function i(p,h){if(p){if(typeof p=="string")return s(p,h);var f={}.toString.call(p).slice(8,-1);return f==="Object"&&p.constructor&&(f=p.constructor.name),f==="Map"||f==="Set"?Array.from(p):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?s(p,h):void 0}}l(i,"_unsupportedIterableToArray");function s(p,h){(h==null||h>p.length)&&(h=p.length);for(var f=0,m=Array(h);f<h;f++)m[f]=p[f];return m}l(s,"_arrayLikeToArray");function a(p,h){var f=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(f!=null){var m,y,g,b,v=[],S=!0,T=!1;try{if(g=(f=f.call(p)).next,h===0){if(Object(f)!==f)return;S=!1}else for(;!(S=(m=g.call(f)).done)&&(v.push(m.value),v.length!==h);S=!0);}catch(O){T=!0,y=O}finally{try{if(!S&&f.return!=null&&(b=f.return(),Object(b)!==b))return}finally{if(T)throw y}}return v}}l(a,"_iterableToArrayLimit");function u(p){if(Array.isArray(p))return p}l(u,"_arrayWithHoles");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}]],d={entries:l(function(){return c},"entries"),forEach:l(function(p){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=c;f<m.length;f++){var y=n(m[f],2),g=y[0],b=y[1];p.call(h,b,g,c)}},"forEach"),get:l(function(p){var h=c.filter(function(f){return f[0]===p})[0];return h&&h[1]},"get"),has:l(function(p){return!!d.get(p)},"has"),keys:l(function(){return c.map(function(p){var h=n(p,1),f=h[0];return f})},"keys"),values:l(function(){return c.map(function(p){var h=n(p,2),f=h[1];return f})},"values")};e.default=(0,t.default)(d,d.entries())}),pJ=A(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}),fJ=A(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}),hJ=A(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}),mJ=A(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}),yJ=A(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}),gJ=A(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}),bJ=A(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}),vJ=A(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}),EJ=A(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}),wJ=A(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}),SJ=A(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}),xJ=A(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}),TJ=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(pJ()),r=f(fJ()),n=f(hJ()),o=f(mJ()),i=f(yJ()),s=f(gJ()),a=f(bJ()),u=f(vJ()),c=f(EJ()),d=f(wJ()),p=f(SJ()),h=f(xJ());function f(y){return y&&y.__esModule?y:{default:y}}l(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",i.default],["roletype",s.default],["section",a.default],["sectionhead",u.default],["select",c.default],["structure",d.default],["widget",p.default],["window",h.default]];e.default=m}),CJ=A(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}),_J=A(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}),OJ=A(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}),PJ=A(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}),AJ=A(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}),RJ=A(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}),NJ=A(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}),IJ=A(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}),MJ=A(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}),kJ=A(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}),jJ=A(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}),qJ=A(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}),LJ=A(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}),$J=A(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}),DJ=A(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}),FJ=A(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}),BJ=A(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}),UJ=A(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}),VJ=A(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}),HJ=A(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}),JJ=A(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}),zJ=A(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}),KJ=A(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}),GJ=A(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}),WJ=A(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}),YJ=A(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}),XJ=A(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}),QJ=A(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}),ZJ=A(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}),e4=A(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}),t4=A(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}),r4=A(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}),n4=A(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}),o4=A(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}),i4=A(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}),s4=A(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}),a4=A(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}),l4=A(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}),u4=A(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}),c4=A(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}),d4=A(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}),p4=A(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}),f4=A(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}),h4=A(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}),m4=A(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}),y4=A(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}),g4=A(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}),b4=A(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}),v4=A(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}),E4=A(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}),w4=A(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}),S4=A(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}),x4=A(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}),T4=A(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}),C4=A(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}),_4=A(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}),O4=A(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}),P4=A(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}),A4=A(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}),R4=A(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}),N4=A(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}),I4=A(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}),M4=A(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}),k4=A(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}),j4=A(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}),q4=A(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}),L4=A(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}),$4=A(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}),D4=A(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}),F4=A(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}),B4=A(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}),U4=A(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}),V4=A(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}),H4=A(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}),J4=A(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}),z4=A(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}),K4=A(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}),G4=A(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}),W4=A(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}),Y4=A(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}),X4=A(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}),Q4=A(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}),Z4=A(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}),e6=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Y(CJ()),r=Y(_J()),n=Y(OJ()),o=Y(PJ()),i=Y(AJ()),s=Y(RJ()),a=Y(NJ()),u=Y(IJ()),c=Y(MJ()),d=Y(kJ()),p=Y(jJ()),h=Y(qJ()),f=Y(LJ()),m=Y($J()),y=Y(DJ()),g=Y(FJ()),b=Y(BJ()),v=Y(UJ()),S=Y(VJ()),T=Y(HJ()),O=Y(JJ()),C=Y(zJ()),E=Y(KJ()),w=Y(GJ()),_=Y(WJ()),R=Y(YJ()),N=Y(XJ()),j=Y(QJ()),D=Y(ZJ()),P=Y(e4()),M=Y(t4()),k=Y(r4()),z=Y(n4()),J=Y(o4()),ie=Y(i4()),pe=Y(s4()),oe=Y(a4()),q=Y(l4()),H=Y(u4()),X=Y(c4()),ne=Y(d4()),ee=Y(p4()),le=Y(f4()),ye=Y(h4()),Ie=Y(m4()),Te=Y(y4()),K=Y(g4()),fe=Y(b4()),$=Y(v4()),V=Y(E4()),G=Y(w4()),re=Y(S4()),te=Y(x4()),se=Y(T4()),ue=Y(C4()),ce=Y(_4()),de=Y(O4()),ae=Y(P4()),ve=Y(A4()),he=Y(R4()),be=Y(N4()),Se=Y(I4()),Me=Y(M4()),Ue=Y(k4()),Le=Y(j4()),Rt=Y(q4()),ht=Y(L4()),Vt=Y($4()),Nt=Y(D4()),Qr=Y(F4()),So=Y(B4()),It=Y(U4()),tr=Y(V4()),xo=Y(H4()),Ga=Y(J4()),Wa=Y(z4()),Ya=Y(K4()),hi=Y(G4()),ms=Y(W4()),mn=Y(Y4()),Tt=Y(X4()),mi=Y(Q4()),Dn=Y(Z4());function Y(To){return To&&To.__esModule?To:{default:To}}l(Y,"_interopRequireDefault");var yi=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",i.default],["blockquote",s.default],["button",a.default],["caption",u.default],["cell",c.default],["checkbox",d.default],["code",p.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",y.default],["definition",g.default],["deletion",b.default],["dialog",v.default],["directory",S.default],["document",T.default],["emphasis",O.default],["feed",C.default],["figure",E.default],["form",w.default],["generic",_.default],["grid",R.default],["gridcell",N.default],["group",j.default],["heading",D.default],["img",P.default],["insertion",M.default],["link",k.default],["list",z.default],["listbox",J.default],["listitem",ie.default],["log",pe.default],["main",oe.default],["mark",q.default],["marquee",H.default],["math",X.default],["menu",ne.default],["menubar",ee.default],["menuitem",le.default],["menuitemcheckbox",ye.default],["menuitemradio",Ie.default],["meter",Te.default],["navigation",K.default],["none",fe.default],["note",$.default],["option",V.default],["paragraph",G.default],["presentation",re.default],["progressbar",te.default],["radio",se.default],["radiogroup",ue.default],["region",ce.default],["row",de.default],["rowgroup",ae.default],["rowheader",ve.default],["scrollbar",he.default],["search",be.default],["searchbox",Se.default],["separator",Me.default],["slider",Ue.default],["spinbutton",Le.default],["status",Rt.default],["strong",ht.default],["subscript",Vt.default],["superscript",Nt.default],["switch",Qr.default],["tab",So.default],["table",It.default],["tablist",tr.default],["tabpanel",xo.default],["term",Ga.default],["textbox",Wa.default],["time",Ya.default],["timer",hi.default],["toolbar",ms.default],["tooltip",mn.default],["tree",Tt.default],["treegrid",mi.default],["treeitem",Dn.default]];e.default=yi}),t6=A(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}),r6=A(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}),n6=A(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}),o6=A(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}),i6=A(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}),s6=A(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}),a6=A(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}),l6=A(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}),u6=A(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}),c6=A(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}),d6=A(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}),p6=A(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}),f6=A(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}),h6=A(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}),m6=A(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}),y6=A(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}),g6=A(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}),b6=A(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}),v6=A(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}),E6=A(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}),w6=A(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}),S6=A(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}),x6=A(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}),T6=A(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}),C6=A(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}),_6=A(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}),O6=A(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}),P6=A(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}),A6=A(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}),R6=A(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}),N6=A(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}),I6=A(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}),M6=A(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}),k6=A(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}),j6=A(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}),q6=A(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}),L6=A(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}),$6=A(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}),D6=A(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}),F6=A(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}),B6=A(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}),U6=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ee(t6()),r=ee(r6()),n=ee(n6()),o=ee(o6()),i=ee(i6()),s=ee(s6()),a=ee(a6()),u=ee(l6()),c=ee(u6()),d=ee(c6()),p=ee(d6()),h=ee(p6()),f=ee(f6()),m=ee(h6()),y=ee(m6()),g=ee(y6()),b=ee(g6()),v=ee(b6()),S=ee(v6()),T=ee(E6()),O=ee(w6()),C=ee(S6()),E=ee(x6()),w=ee(T6()),_=ee(C6()),R=ee(_6()),N=ee(O6()),j=ee(P6()),D=ee(A6()),P=ee(R6()),M=ee(N6()),k=ee(I6()),z=ee(M6()),J=ee(k6()),ie=ee(j6()),pe=ee(q6()),oe=ee(L6()),q=ee($6()),H=ee(D6()),X=ee(F6()),ne=ee(B6());function ee(ye){return ye&&ye.__esModule?ye:{default:ye}}l(ee,"_interopRequireDefault");var le=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",s.default],["doc-bibliography",a.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",d.default],["doc-conclusion",p.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",y.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",T.default],["doc-example",O.default],["doc-footnote",C.default],["doc-foreword",E.default],["doc-glossary",w.default],["doc-glossref",_.default],["doc-index",R.default],["doc-introduction",N.default],["doc-noteref",j.default],["doc-notice",D.default],["doc-pagebreak",P.default],["doc-pagefooter",M.default],["doc-pageheader",k.default],["doc-pagelist",z.default],["doc-part",J.default],["doc-preface",ie.default],["doc-prologue",pe.default],["doc-pullquote",oe.default],["doc-qna",q.default],["doc-subtitle",H.default],["doc-tip",X.default],["doc-toc",ne.default]];e.default=le}),V6=A(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}),H6=A(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}),J6=A(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}),z6=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(V6()),r=o(H6()),n=o(J6());function o(s){return s&&s.__esModule?s:{default:s}}l(o,"_interopRequireDefault");var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=i}),rv=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(TJ()),r=s(e6()),n=s(U6()),o=s(z6()),i=s(Lu());function s(g){return g&&g.__esModule?g:{default:g}}l(s,"_interopRequireDefault");function a(g,b){var v=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!v){if(Array.isArray(g)||(v=d(g))||b&&g&&typeof g.length=="number"){v&&(g=v);var S=0,T=l(function(){},"F");return{s:T,n:l(function(){return S>=g.length?{done:!0}:{done:!1,value:g[S++]}},"n"),e:l(function(w){throw w},"e"),f:T}}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 O,C=!0,E=!1;return{s:l(function(){v=v.call(g)},"s"),n:l(function(){var w=v.next();return C=w.done,w},"n"),e:l(function(w){E=!0,O=w},"e"),f:l(function(){try{C||v.return==null||v.return()}finally{if(E)throw O}},"f")}}l(a,"_createForOfIteratorHelper");function u(g,b){return f(g)||h(g,b)||d(g,b)||c()}l(u,"_slicedToArray");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.`)}l(c,"_nonIterableRest");function d(g,b){if(g){if(typeof g=="string")return p(g,b);var v={}.toString.call(g).slice(8,-1);return v==="Object"&&g.constructor&&(v=g.constructor.name),v==="Map"||v==="Set"?Array.from(g):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?p(g,b):void 0}}l(d,"_unsupportedIterableToArray");function p(g,b){(b==null||b>g.length)&&(b=g.length);for(var v=0,S=Array(b);v<b;v++)S[v]=g[v];return S}l(p,"_arrayLikeToArray");function h(g,b){var v=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(v!=null){var S,T,O,C,E=[],w=!0,_=!1;try{if(O=(v=v.call(g)).next,b===0){if(Object(v)!==v)return;w=!1}else for(;!(w=(S=O.call(v)).done)&&(E.push(S.value),E.length!==b);w=!0);}catch(R){_=!0,T=R}finally{try{if(!w&&v.return!=null&&(C=v.return(),Object(C)!==C))return}finally{if(_)throw T}}return E}}l(h,"_iterableToArrayLimit");function f(g){if(Array.isArray(g))return g}l(f,"_arrayWithHoles");var m=[].concat(t.default,r.default,n.default,o.default);m.forEach(function(g){var b=u(g,2),v=b[1],S=a(v.superClass),T;try{for(S.s();!(T=S.n()).done;){var O=T.value,C=a(O),E;try{var w=l(function(){var _=E.value,R=m.filter(function(M){var k=u(M,1),z=k[0];return z===_})[0];if(R)for(var N=R[1],j=0,D=Object.keys(N.props);j<D.length;j++){var P=D[j];Object.prototype.hasOwnProperty.call(v.props,P)||(v.props[P]=N.props[P])}},"_loop");for(C.s();!(E=C.n()).done;)w()}catch(_){C.e(_)}finally{C.f()}}}catch(_){S.e(_)}finally{S.f()}});var y={entries:l(function(){return m},"entries"),forEach:l(function(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=a(m),S;try{for(v.s();!(S=v.n()).done;){var T=u(S.value,2),O=T[0],C=T[1];g.call(b,C,O,m)}}catch(E){v.e(E)}finally{v.f()}},"forEach"),get:l(function(g){var b=m.filter(function(v){return v[0]===g})[0];return b&&b[1]},"get"),has:l(function(g){return!!y.get(g)},"has"),keys:l(function(){return m.map(function(g){var b=u(g,1),v=b[0];return v})},"keys"),values:l(function(){return m.map(function(g){var b=u(g,2),v=b[1];return v})},"values")};e.default=(0,i.default)(y,y.entries())}),K6=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Lu()),r=n(rv());function n(C){return C&&C.__esModule?C:{default:C}}l(n,"_interopRequireDefault");function o(C,E){return c(C)||u(C,E)||s(C,E)||i()}l(o,"_slicedToArray");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.`)}l(i,"_nonIterableRest");function s(C,E){if(C){if(typeof C=="string")return a(C,E);var w={}.toString.call(C).slice(8,-1);return w==="Object"&&C.constructor&&(w=C.constructor.name),w==="Map"||w==="Set"?Array.from(C):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?a(C,E):void 0}}l(s,"_unsupportedIterableToArray");function a(C,E){(E==null||E>C.length)&&(E=C.length);for(var w=0,_=Array(E);w<E;w++)_[w]=C[w];return _}l(a,"_arrayLikeToArray");function u(C,E){var w=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(w!=null){var _,R,N,j,D=[],P=!0,M=!1;try{if(N=(w=w.call(C)).next,E===0){if(Object(w)!==w)return;P=!1}else for(;!(P=(_=N.call(w)).done)&&(D.push(_.value),D.length!==E);P=!0);}catch(k){M=!0,R=k}finally{try{if(!P&&w.return!=null&&(j=w.return(),Object(j)!==j))return}finally{if(M)throw R}}return D}}l(u,"_iterableToArrayLimit");function c(C){if(Array.isArray(C))return C}l(c,"_arrayWithHoles");var d=[],p=r.default.keys();for(b=0;b<p.length;b++)if(h=p[b],f=r.default.get(h),f)for(m=[].concat(f.baseConcepts,f.relatedConcepts),y=l(function(){var C=m[g];if(C.module==="HTML"){var E=C.concept;if(E){var w=d.filter(function(j){return S(j[0],E)})[0],_;w?_=w[1]:_=[];for(var R=!0,N=0;N<_.length;N++)if(_[N]===h){R=!1;break}R&&_.push(h),w||d.push([E,_])}}},"_loop"),g=0;g<m.length;g++)y();var h,f,m,y,g,b,v={entries:l(function(){return d},"entries"),forEach:l(function(C){for(var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=0,_=d;w<_.length;w++){var R=o(_[w],2),N=R[0],j=R[1];C.call(E,j,N,d)}},"forEach"),get:l(function(C){var E=d.filter(function(w){return C.name===w[0].name&&O(C.attributes,w[0].attributes)})[0];return E&&E[1]},"get"),has:l(function(C){return!!v.get(C)},"has"),keys:l(function(){return d.map(function(C){var E=o(C,1),w=E[0];return w})},"keys"),values:l(function(){return d.map(function(C){var E=o(C,2),w=E[1];return w})},"values")};function S(C,E){return C.name===E.name&&T(C.constraints,E.constraints)&&O(C.attributes,E.attributes)}l(S,"ariaRoleRelationConceptEquals");function T(C,E){if(C===void 0&&E!==void 0||C!==void 0&&E===void 0)return!1;if(C!==void 0&&E!==void 0){if(C.length!==E.length)return!1;for(var w=0;w<C.length;w++)if(C[w]!==E[w])return!1}return!0}l(T,"ariaRoleRelationConstraintsEquals");function O(C,E){if(C===void 0&&E!==void 0||C!==void 0&&E===void 0)return!1;if(C!==void 0&&E!==void 0){if(C.length!==E.length)return!1;for(var w=0;w<C.length;w++){if(C[w].name!==E[w].name||C[w].value!==E[w].value||C[w].constraints===void 0&&E[w].constraints!==void 0||C[w].constraints!==void 0&&E[w].constraints===void 0)return!1;if(C[w].constraints!==void 0&&E[w].constraints!==void 0){if(C[w].constraints.length!==E[w].constraints.length)return!1;for(var _=0;_<C[w].constraints.length;_++)if(C[w].constraints[_]!==E[w].constraints[_])return!1}}}return!0}l(O,"ariaRoleRelationConceptAttributeEquals"),e.default=(0,t.default)(v,v.entries())}),G6=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Lu()),r=n(rv());function n(O){return O&&O.__esModule?O:{default:O}}l(n,"_interopRequireDefault");function o(O,C){return c(O)||u(O,C)||s(O,C)||i()}l(o,"_slicedToArray");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.`)}l(i,"_nonIterableRest");function s(O,C){if(O){if(typeof O=="string")return a(O,C);var E={}.toString.call(O).slice(8,-1);return E==="Object"&&O.constructor&&(E=O.constructor.name),E==="Map"||E==="Set"?Array.from(O):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?a(O,C):void 0}}l(s,"_unsupportedIterableToArray");function a(O,C){(C==null||C>O.length)&&(C=O.length);for(var E=0,w=Array(C);E<C;E++)w[E]=O[E];return w}l(a,"_arrayLikeToArray");function u(O,C){var E=O==null?null:typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(E!=null){var w,_,R,N,j=[],D=!0,P=!1;try{if(R=(E=E.call(O)).next,C===0){if(Object(E)!==E)return;D=!1}else for(;!(D=(w=R.call(E)).done)&&(j.push(w.value),j.length!==C);D=!0);}catch(M){P=!0,_=M}finally{try{if(!D&&E.return!=null&&(N=E.return(),Object(N)!==N))return}finally{if(P)throw _}}return j}}l(u,"_iterableToArrayLimit");function c(O){if(Array.isArray(O))return O}l(c,"_arrayWithHoles");var d=[],p=r.default.keys();for(S=0;S<p.length;S++)if(h=p[S],f=r.default.get(h),m=[],f){for(y=[].concat(f.baseConcepts,f.relatedConcepts),v=0;v<y.length;v++)g=y[v],g.module==="HTML"&&(b=g.concept,b!=null&&m.push(b));m.length>0&&d.push([h,m])}var h,f,m,y,g,b,v,S,T={entries:l(function(){return d},"entries"),forEach:l(function(O){for(var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=0,w=d;E<w.length;E++){var _=o(w[E],2),R=_[0],N=_[1];O.call(C,N,R,d)}},"forEach"),get:l(function(O){var C=d.filter(function(E){return E[0]===O})[0];return C&&C[1]},"get"),has:l(function(O){return!!T.get(O)},"has"),keys:l(function(){return d.map(function(O){var C=o(O,1),E=C[0];return E})},"keys"),values:l(function(){return d.map(function(O){var C=o(O,2),E=C[1];return E})},"values")};e.default=(0,t.default)(T,T.entries())}),SP=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(cJ()),r=s(dJ()),n=s(rv()),o=s(K6()),i=s(G6());function s(a){return a&&a.__esModule?a:{default:a}}l(s,"_interopRequireDefault"),e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=o.default,e.roleElements=i.default}),W6=A((e,t)=>{t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),xP=A((e,t)=>{var r=W6(),n={};for(let s of Object.keys(r))n[r[s]]=s;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let s of Object.keys(o)){if(!("channels"in o[s]))throw new Error("missing channels property: "+s);if(!("labels"in o[s]))throw new Error("missing channel labels property: "+s);if(o[s].labels.length!==o[s].channels)throw new Error("channel and label counts mismatch: "+s);let{channels:a,labels:u}=o[s];delete o[s].channels,delete o[s].labels,Object.defineProperty(o[s],"channels",{value:a}),Object.defineProperty(o[s],"labels",{value:u})}o.rgb.hsl=function(s){let a=s[0]/255,u=s[1]/255,c=s[2]/255,d=Math.min(a,u,c),p=Math.max(a,u,c),h=p-d,f,m;p===d?f=0:a===p?f=(u-c)/h:u===p?f=2+(c-a)/h:c===p&&(f=4+(a-u)/h),f=Math.min(f*60,360),f<0&&(f+=360);let y=(d+p)/2;return p===d?m=0:y<=.5?m=h/(p+d):m=h/(2-p-d),[f,m*100,y*100]},o.rgb.hsv=function(s){let a,u,c,d,p,h=s[0]/255,f=s[1]/255,m=s[2]/255,y=Math.max(h,f,m),g=y-Math.min(h,f,m),b=l(function(v){return(y-v)/6/g+1/2},"diffc");return g===0?(d=0,p=0):(p=g/y,a=b(h),u=b(f),c=b(m),h===y?d=c-u:f===y?d=1/3+a-c:m===y&&(d=2/3+u-a),d<0?d+=1:d>1&&(d-=1)),[d*360,p*100,y*100]},o.rgb.hwb=function(s){let a=s[0],u=s[1],c=s[2],d=o.rgb.hsl(s)[0],p=1/255*Math.min(a,Math.min(u,c));return c=1-1/255*Math.max(a,Math.max(u,c)),[d,p*100,c*100]},o.rgb.cmyk=function(s){let a=s[0]/255,u=s[1]/255,c=s[2]/255,d=Math.min(1-a,1-u,1-c),p=(1-a-d)/(1-d)||0,h=(1-u-d)/(1-d)||0,f=(1-c-d)/(1-d)||0;return[p*100,h*100,f*100,d*100]};function i(s,a){return(s[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2}l(i,"comparativeDistance"),o.rgb.keyword=function(s){let a=n[s];if(a)return a;let u=1/0,c;for(let d of Object.keys(r)){let p=r[d],h=i(s,p);h<u&&(u=h,c=d)}return c},o.keyword.rgb=function(s){return r[s]},o.rgb.xyz=function(s){let a=s[0]/255,u=s[1]/255,c=s[2]/255;a=a>.04045?((a+.055)/1.055)**2.4:a/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let d=a*.4124+u*.3576+c*.1805,p=a*.2126+u*.7152+c*.0722,h=a*.0193+u*.1192+c*.9505;return[d*100,p*100,h*100]},o.rgb.lab=function(s){let a=o.rgb.xyz(s),u=a[0],c=a[1],d=a[2];u/=95.047,c/=100,d/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let p=116*c-16,h=500*(u-c),f=200*(c-d);return[p,h,f]},o.hsl.rgb=function(s){let a=s[0]/360,u=s[1]/100,c=s[2]/100,d,p,h;if(u===0)return h=c*255,[h,h,h];c<.5?d=c*(1+u):d=c+u-c*u;let f=2*c-d,m=[0,0,0];for(let y=0;y<3;y++)p=a+1/3*-(y-1),p<0&&p++,p>1&&p--,6*p<1?h=f+(d-f)*6*p:2*p<1?h=d:3*p<2?h=f+(d-f)*(2/3-p)*6:h=f,m[y]=h*255;return m},o.hsl.hsv=function(s){let a=s[0],u=s[1]/100,c=s[2]/100,d=u,p=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,d*=p<=1?p:2-p;let h=(c+u)/2,f=c===0?2*d/(p+d):2*u/(c+u);return[a,f*100,h*100]},o.hsv.rgb=function(s){let a=s[0]/60,u=s[1]/100,c=s[2]/100,d=Math.floor(a)%6,p=a-Math.floor(a),h=255*c*(1-u),f=255*c*(1-u*p),m=255*c*(1-u*(1-p));switch(c*=255,d){case 0:return[c,m,h];case 1:return[f,c,h];case 2:return[h,c,m];case 3:return[h,f,c];case 4:return[m,h,c];case 5:return[c,h,f]}},o.hsv.hsl=function(s){let a=s[0],u=s[1]/100,c=s[2]/100,d=Math.max(c,.01),p,h;h=(2-u)*c;let f=(2-u)*d;return p=u*d,p/=f<=1?f:2-f,p=p||0,h/=2,[a,p*100,h*100]},o.hwb.rgb=function(s){let a=s[0]/360,u=s[1]/100,c=s[2]/100,d=u+c,p;d>1&&(u/=d,c/=d);let h=Math.floor(6*a),f=1-c;p=6*a-h,(h&1)!==0&&(p=1-p);let m=u+p*(f-u),y,g,b;switch(h){default:case 6:case 0:y=f,g=m,b=u;break;case 1:y=m,g=f,b=u;break;case 2:y=u,g=f,b=m;break;case 3:y=u,g=m,b=f;break;case 4:y=m,g=u,b=f;break;case 5:y=f,g=u,b=m;break}return[y*255,g*255,b*255]},o.cmyk.rgb=function(s){let a=s[0]/100,u=s[1]/100,c=s[2]/100,d=s[3]/100,p=1-Math.min(1,a*(1-d)+d),h=1-Math.min(1,u*(1-d)+d),f=1-Math.min(1,c*(1-d)+d);return[p*255,h*255,f*255]},o.xyz.rgb=function(s){let a=s[0]/100,u=s[1]/100,c=s[2]/100,d,p,h;return d=a*3.2406+u*-1.5372+c*-.4986,p=a*-.9689+u*1.8758+c*.0415,h=a*.0557+u*-.204+c*1.057,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),[d*255,p*255,h*255]},o.xyz.lab=function(s){let a=s[0],u=s[1],c=s[2];a/=95.047,u/=100,c/=108.883,a=a>.008856?a**(1/3):7.787*a+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let d=116*u-16,p=500*(a-u),h=200*(u-c);return[d,p,h]},o.lab.xyz=function(s){let a=s[0],u=s[1],c=s[2],d,p,h;p=(a+16)/116,d=u/500+p,h=p-c/200;let f=p**3,m=d**3,y=h**3;return p=f>.008856?f:(p-16/116)/7.787,d=m>.008856?m:(d-16/116)/7.787,h=y>.008856?y:(h-16/116)/7.787,d*=95.047,p*=100,h*=108.883,[d,p,h]},o.lab.lch=function(s){let a=s[0],u=s[1],c=s[2],d;d=Math.atan2(c,u)*360/2/Math.PI,d<0&&(d+=360);let p=Math.sqrt(u*u+c*c);return[a,p,d]},o.lch.lab=function(s){let a=s[0],u=s[1],c=s[2]/360*2*Math.PI,d=u*Math.cos(c),p=u*Math.sin(c);return[a,d,p]},o.rgb.ansi16=function(s,a=null){let[u,c,d]=s,p=a===null?o.rgb.hsv(s)[2]:a;if(p=Math.round(p/50),p===0)return 30;let h=30+(Math.round(d/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return p===2&&(h+=60),h},o.hsv.ansi16=function(s){return o.rgb.ansi16(o.hsv.rgb(s),s[2])},o.rgb.ansi256=function(s){let a=s[0],u=s[1],c=s[2];return a===u&&u===c?a<8?16:a>248?231:Math.round((a-8)/247*24)+232:16+36*Math.round(a/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(s){let a=s%10;if(a===0||a===7)return s>50&&(a+=3.5),a=a/10.5*255,[a,a,a];let u=(~~(s>50)+1)*.5,c=(a&1)*u*255,d=(a>>1&1)*u*255,p=(a>>2&1)*u*255;return[c,d,p]},o.ansi256.rgb=function(s){if(s>=232){let p=(s-232)*10+8;return[p,p,p]}s-=16;let a,u=Math.floor(s/36)/5*255,c=Math.floor((a=s%36)/6)/5*255,d=a%6/5*255;return[u,c,d]},o.rgb.hex=function(s){let a=(((Math.round(s[0])&255)<<16)+((Math.round(s[1])&255)<<8)+(Math.round(s[2])&255)).toString(16).toUpperCase();return"000000".substring(a.length)+a},o.hex.rgb=function(s){let a=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!a)return[0,0,0];let u=a[0];a[0].length===3&&(u=u.split("").map(f=>f+f).join(""));let c=parseInt(u,16),d=c>>16&255,p=c>>8&255,h=c&255;return[d,p,h]},o.rgb.hcg=function(s){let a=s[0]/255,u=s[1]/255,c=s[2]/255,d=Math.max(Math.max(a,u),c),p=Math.min(Math.min(a,u),c),h=d-p,f,m;return h<1?f=p/(1-h):f=0,h<=0?m=0:d===a?m=(u-c)/h%6:d===u?m=2+(c-a)/h:m=4+(a-u)/h,m/=6,m%=1,[m*360,h*100,f*100]},o.hsl.hcg=function(s){let a=s[1]/100,u=s[2]/100,c=u<.5?2*a*u:2*a*(1-u),d=0;return c<1&&(d=(u-.5*c)/(1-c)),[s[0],c*100,d*100]},o.hsv.hcg=function(s){let a=s[1]/100,u=s[2]/100,c=a*u,d=0;return c<1&&(d=(u-c)/(1-c)),[s[0],c*100,d*100]},o.hcg.rgb=function(s){let a=s[0]/360,u=s[1]/100,c=s[2]/100;if(u===0)return[c*255,c*255,c*255];let d=[0,0,0],p=a%1*6,h=p%1,f=1-h,m=0;switch(Math.floor(p)){case 0:d[0]=1,d[1]=h,d[2]=0;break;case 1:d[0]=f,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=h;break;case 3:d[0]=0,d[1]=f,d[2]=1;break;case 4:d[0]=h,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=f}return m=(1-u)*c,[(u*d[0]+m)*255,(u*d[1]+m)*255,(u*d[2]+m)*255]},o.hcg.hsv=function(s){let a=s[1]/100,u=s[2]/100,c=a+u*(1-a),d=0;return c>0&&(d=a/c),[s[0],d*100,c*100]},o.hcg.hsl=function(s){let a=s[1]/100,u=s[2]/100*(1-a)+.5*a,c=0;return u>0&&u<.5?c=a/(2*u):u>=.5&&u<1&&(c=a/(2*(1-u))),[s[0],c*100,u*100]},o.hcg.hwb=function(s){let a=s[1]/100,u=s[2]/100,c=a+u*(1-a);return[s[0],(c-a)*100,(1-c)*100]},o.hwb.hcg=function(s){let a=s[1]/100,u=1-s[2]/100,c=u-a,d=0;return c<1&&(d=(u-c)/(1-c)),[s[0],c*100,d*100]},o.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},o.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},o.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},o.gray.hsl=function(s){return[0,0,s[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(s){return[0,100,s[0]]},o.gray.cmyk=function(s){return[0,0,0,s[0]]},o.gray.lab=function(s){return[s[0],0,0]},o.gray.hex=function(s){let a=Math.round(s[0]/100*255)&255,u=((a<<16)+(a<<8)+a).toString(16).toUpperCase();return"000000".substring(u.length)+u},o.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}}),Y6=A((e,t)=>{var r=xP();function n(){let a={},u=Object.keys(r);for(let c=u.length,d=0;d<c;d++)a[u[d]]={distance:-1,parent:null};return a}l(n,"buildGraph");function o(a){let u=n(),c=[a];for(u[a].distance=0;c.length;){let d=c.pop(),p=Object.keys(r[d]);for(let h=p.length,f=0;f<h;f++){let m=p[f],y=u[m];y.distance===-1&&(y.distance=u[d].distance+1,y.parent=d,c.unshift(m))}}return u}l(o,"deriveBFS");function i(a,u){return function(c){return u(a(c))}}l(i,"link");function s(a,u){let c=[u[a].parent,a],d=r[u[a].parent][a],p=u[a].parent;for(;u[p].parent;)c.unshift(u[p].parent),d=i(r[u[p].parent][p],d),p=u[p].parent;return d.conversion=c,d}l(s,"wrapConversion"),t.exports=function(a){let u=o(a),c={},d=Object.keys(u);for(let p=d.length,h=0;h<p;h++){let f=d[h];u[f].parent!==null&&(c[f]=s(f,u))}return c}}),X6=A((e,t)=>{var r=xP(),n=Y6(),o={},i=Object.keys(r);function s(u){let c=l(function(...d){let p=d[0];return p==null?p:(p.length>1&&(d=p),u(d))},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}l(s,"wrapRaw");function a(u){let c=l(function(...d){let p=d[0];if(p==null)return p;p.length>1&&(d=p);let h=u(d);if(typeof h=="object")for(let f=h.length,m=0;m<f;m++)h[m]=Math.round(h[m]);return h},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}l(a,"wrapRounded"),i.forEach(u=>{o[u]={},Object.defineProperty(o[u],"channels",{value:r[u].channels}),Object.defineProperty(o[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(d=>{let p=c[d];o[u][d]=a(p),o[u][d].raw=s(p)})}),t.exports=o}),Q6=A((e,t)=>{var r=l((p,h)=>(...f)=>`\x1B[${p(...f)+h}m`,"wrapAnsi16"),n=l((p,h)=>(...f)=>{let m=p(...f);return`\x1B[${38+h};5;${m}m`},"wrapAnsi256"),o=l((p,h)=>(...f)=>{let m=p(...f);return`\x1B[${38+h};2;${m[0]};${m[1]};${m[2]}m`},"wrapAnsi16m"),i=l(p=>p,"ansi2ansi"),s=l((p,h,f)=>[p,h,f],"rgb2rgb"),a=l((p,h,f)=>{Object.defineProperty(p,h,{get:l(()=>{let m=f();return Object.defineProperty(p,h,{value:m,enumerable:!0,configurable:!0}),m},"get"),enumerable:!0,configurable:!0})},"setLazyProperty"),u,c=l((p,h,f,m)=>{u===void 0&&(u=X6());let y=m?10:0,g={};for(let[b,v]of Object.entries(u)){let S=b==="ansi16"?"ansi":b;b===h?g[S]=p(f,y):typeof v=="object"&&(g[S]=p(v[h],y))}return g},"makeDynamicStyles");function d(){let p=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[f,m]of Object.entries(h)){for(let[y,g]of Object.entries(m))h[y]={open:`\x1B[${g[0]}m`,close:`\x1B[${g[1]}m`},m[y]=h[y],p.set(g[0],g[1]);Object.defineProperty(h,f,{value:m,enumerable:!1})}return Object.defineProperty(h,"codes",{value:p,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",a(h.color,"ansi",()=>c(r,"ansi16",i,!1)),a(h.color,"ansi256",()=>c(n,"ansi256",i,!1)),a(h.color,"ansi16m",()=>c(o,"rgb",s,!1)),a(h.bgColor,"ansi",()=>c(r,"ansi16",i,!0)),a(h.bgColor,"ansi256",()=>c(n,"ansi256",i,!0)),a(h.bgColor,"ansi16m",()=>c(o,"rgb",s,!0)),h}l(d,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:d})}),Z6=A((e,t)=>{t.exports={stdout:!1,stderr:!1}}),ez=A((e,t)=>{var r=l((o,i,s)=>{let a=o.indexOf(i);if(a===-1)return o;let u=i.length,c=0,d="";do d+=o.substr(c,a-c)+i+s,c=a+u,a=o.indexOf(i,c);while(a!==-1);return d+=o.substr(c),d},"stringReplaceAll"),n=l((o,i,s,a)=>{let u=0,c="";do{let d=o[a-1]==="\r";c+=o.substr(u,(d?a-1:a)-u)+i+(d?`\r
|
|
9
|
+
`:`
|
|
10
|
+
`)+s,u=a+1,a=o.indexOf(`
|
|
11
|
+
`,u)}while(a!==-1);return c+=o.substr(u),c},"stringEncaseCRLFWithFirstIndex");t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}),tz=A((e,t)=>{var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,s=new Map([["n",`
|
|
12
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function a(p){let h=p[0]==="u",f=p[1]==="{";return h&&!f&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):h&&f?String.fromCodePoint(parseInt(p.slice(2,-1),16)):s.get(p)||p}l(a,"unescape");function u(p,h){let f=[],m=h.trim().split(/\s*,\s*/g),y;for(let g of m){let b=Number(g);if(!Number.isNaN(b))f.push(b);else if(y=g.match(o))f.push(y[2].replace(i,(v,S,T)=>S?a(S):T));else throw new Error(`Invalid Chalk template style argument: ${g} (in style '${p}')`)}return f}l(u,"parseArguments");function c(p){n.lastIndex=0;let h=[],f;for(;(f=n.exec(p))!==null;){let m=f[1];if(f[2]){let y=u(m,f[2]);h.push([m].concat(y))}else h.push([m])}return h}l(c,"parseStyle");function d(p,h){let f={};for(let y of h)for(let g of y.styles)f[g[0]]=y.inverse?null:g.slice(1);let m=p;for(let[y,g]of Object.entries(f))if(Array.isArray(g)){if(!(y in m))throw new Error(`Unknown Chalk style: ${y}`);m=g.length>0?m[y](...g):m[y]}return m}l(d,"buildStyle"),t.exports=(p,h)=>{let f=[],m=[],y=[];if(h.replace(r,(g,b,v,S,T,O)=>{if(b)y.push(a(b));else if(S){let C=y.join("");y=[],m.push(f.length===0?C:d(p,f)(C)),f.push({inverse:v,styles:c(S)})}else if(T){if(f.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(d(p,f)(y.join(""))),y=[],f.pop()}else y.push(O)}),m.push(y.join("")),f.length>0){let g=`Chalk template literal is missing ${f.length} closing bracket${f.length===1?"":"s"} (\`}\`)`;throw new Error(g)}return m.join("")}}),TP=A((e,t)=>{var r=Q6(),{stdout:n,stderr:o}=Z6(),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:s}=ez(),a=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=l((C,E={})=>{if(E.level>3||E.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let w=n?n.level:0;C.level=E.level===void 0?w:E.level},"applyOptions"),d=class{constructor(E){return h(E)}};l(d,"ChalkClass");var p=d,h=l(C=>{let E={};return c(E,C),E.template=(...w)=>T(E.template,...w),Object.setPrototypeOf(E,f.prototype),Object.setPrototypeOf(E.template,E),E.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},E.template.Instance=p,E.template},"chalkFactory");function f(C){return h(C)}l(f,"Chalk");for(let[C,E]of Object.entries(r))u[C]={get(){let w=b(this,g(E.open,E.close,this._styler),this._isEmpty);return Object.defineProperty(this,C,{value:w}),w}};u.visible={get(){let C=b(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:C}),C}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let C of m)u[C]={get(){let{level:E}=this;return function(...w){let _=g(r.color[a[E]][C](...w),r.color.close,this._styler);return b(this,_,this._isEmpty)}}};for(let C of m){let E="bg"+C[0].toUpperCase()+C.slice(1);u[E]={get(){let{level:w}=this;return function(..._){let R=g(r.bgColor[a[w]][C](..._),r.bgColor.close,this._styler);return b(this,R,this._isEmpty)}}}}var y=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(C){this._generator.level=C}}}),g=l((C,E,w)=>{let _,R;return w===void 0?(_=C,R=E):(_=w.openAll+C,R=E+w.closeAll),{open:C,close:E,openAll:_,closeAll:R,parent:w}},"createStyler"),b=l((C,E,w)=>{let _=l((...R)=>v(_,R.length===1?""+R[0]:R.join(" ")),"builder");return _.__proto__=y,_._generator=C,_._styler=E,_._isEmpty=w,_},"createBuilder"),v=l((C,E)=>{if(C.level<=0||!E)return C._isEmpty?"":E;let w=C._styler;if(w===void 0)return E;let{openAll:_,closeAll:R}=w;if(E.indexOf("\x1B")!==-1)for(;w!==void 0;)E=i(E,w.close,w.open),w=w.parent;let N=E.indexOf(`
|
|
13
|
+
`);return N!==-1&&(E=s(E,R,_,N)),_+E+R},"applyStyle"),S,T=l((C,...E)=>{let[w]=E;if(!Array.isArray(w))return E.join(" ");let _=E.slice(1),R=[w.raw[0]];for(let N=1;N<w.length;N++)R.push(String(_[N-1]).replace(/[{}\\]/g,"\\$&"),String(w.raw[N]));return S===void 0&&(S=tz()),S(C,R.join(""))},"chalkTag");Object.defineProperties(f.prototype,u);var O=f();O.supportsColor=n,O.stderr=f({level:o?o.level:0}),O.stderr.supportsColor=o,O.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=O}),rz=A((e,t)=>{function r(){this.__data__=[],this.size=0}l(r,"listCacheClear"),t.exports=r}),CP=A((e,t)=>{function r(n,o){return n===o||n!==n&&o!==o}l(r,"eq"),t.exports=r}),Qp=A((e,t)=>{var r=CP();function n(o,i){for(var s=o.length;s--;)if(r(o[s][0],i))return s;return-1}l(n,"assocIndexOf"),t.exports=n}),nz=A((e,t)=>{var r=Qp(),n=Array.prototype,o=n.splice;function i(s){var a=this.__data__,u=r(a,s);if(u<0)return!1;var c=a.length-1;return u==c?a.pop():o.call(a,u,1),--this.size,!0}l(i,"listCacheDelete"),t.exports=i}),oz=A((e,t)=>{var r=Qp();function n(o){var i=this.__data__,s=r(i,o);return s<0?void 0:i[s][1]}l(n,"listCacheGet"),t.exports=n}),iz=A((e,t)=>{var r=Qp();function n(o){return r(this.__data__,o)>-1}l(n,"listCacheHas"),t.exports=n}),sz=A((e,t)=>{var r=Qp();function n(o,i){var s=this.__data__,a=r(s,o);return a<0?(++this.size,s.push([o,i])):s[a][1]=i,this}l(n,"listCacheSet"),t.exports=n}),Zp=A((e,t)=>{var r=rz(),n=nz(),o=oz(),i=iz(),s=sz();function a(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}l(a,"ListCache"),a.prototype.clear=r,a.prototype.delete=n,a.prototype.get=o,a.prototype.has=i,a.prototype.set=s,t.exports=a}),az=A((e,t)=>{var r=Zp();function n(){this.__data__=new r,this.size=0}l(n,"stackClear"),t.exports=n}),lz=A((e,t)=>{function r(n){var o=this.__data__,i=o.delete(n);return this.size=o.size,i}l(r,"stackDelete"),t.exports=r}),uz=A((e,t)=>{function r(n){return this.__data__.get(n)}l(r,"stackGet"),t.exports=r}),cz=A((e,t)=>{function r(n){return this.__data__.has(n)}l(r,"stackHas"),t.exports=r}),_P=A((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),go=A((e,t)=>{var r=_P(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}),nv=A((e,t)=>{var r=go(),n=r.Symbol;t.exports=n}),dz=A((e,t)=>{var r=nv(),n=Object.prototype,o=n.hasOwnProperty,i=n.toString,s=r?r.toStringTag:void 0;function a(u){var c=o.call(u,s),d=u[s];try{u[s]=void 0;var p=!0}catch{}var h=i.call(u);return p&&(c?u[s]=d:delete u[s]),h}l(a,"getRawTag"),t.exports=a}),pz=A((e,t)=>{var r=Object.prototype,n=r.toString;function o(i){return n.call(i)}l(o,"objectToString"),t.exports=o}),ef=A((e,t)=>{var r=nv(),n=dz(),o=pz(),i="[object Null]",s="[object Undefined]",a=r?r.toStringTag:void 0;function u(c){return c==null?c===void 0?s:i:a&&a in Object(c)?n(c):o(c)}l(u,"baseGetTag"),t.exports=u}),OP=A((e,t)=>{function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}l(r,"isObject"),t.exports=r}),PP=A((e,t)=>{var r=ef(),n=OP(),o="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",a="[object Proxy]";function u(c){if(!n(c))return!1;var d=r(c);return d==i||d==s||d==o||d==a}l(u,"isFunction"),t.exports=u}),fz=A((e,t)=>{var r=go(),n=r["__core-js_shared__"];t.exports=n}),hz=A((e,t)=>{var r=fz(),n=(function(){var i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})();function o(i){return!!n&&n in i}l(o,"isMasked"),t.exports=o}),AP=A((e,t)=>{var r=Function.prototype,n=r.toString;function o(i){if(i!=null){try{return n.call(i)}catch{}try{return i+""}catch{}}return""}l(o,"toSource"),t.exports=o}),mz=A((e,t)=>{var r=PP(),n=hz(),o=OP(),i=AP(),s=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,d=u.toString,p=c.hasOwnProperty,h=RegExp("^"+d.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(m){if(!o(m)||n(m))return!1;var y=r(m)?h:a;return y.test(i(m))}l(f,"baseIsNative"),t.exports=f}),yz=A((e,t)=>{function r(n,o){return n==null?void 0:n[o]}l(r,"getValue"),t.exports=r}),Aa=A((e,t)=>{var r=mz(),n=yz();function o(i,s){var a=n(i,s);return r(a)?a:void 0}l(o,"getNative"),t.exports=o}),ov=A((e,t)=>{var r=Aa(),n=go(),o=r(n,"Map");t.exports=o}),tf=A((e,t)=>{var r=Aa(),n=r(Object,"create");t.exports=n}),gz=A((e,t)=>{var r=tf();function n(){this.__data__=r?r(null):{},this.size=0}l(n,"hashClear"),t.exports=n}),bz=A((e,t)=>{function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}l(r,"hashDelete"),t.exports=r}),vz=A((e,t)=>{var r=tf(),n="__lodash_hash_undefined__",o=Object.prototype,i=o.hasOwnProperty;function s(a){var u=this.__data__;if(r){var c=u[a];return c===n?void 0:c}return i.call(u,a)?u[a]:void 0}l(s,"hashGet"),t.exports=s}),Ez=A((e,t)=>{var r=tf(),n=Object.prototype,o=n.hasOwnProperty;function i(s){var a=this.__data__;return r?a[s]!==void 0:o.call(a,s)}l(i,"hashHas"),t.exports=i}),wz=A((e,t)=>{var r=tf(),n="__lodash_hash_undefined__";function o(i,s){var a=this.__data__;return this.size+=this.has(i)?0:1,a[i]=r&&s===void 0?n:s,this}l(o,"hashSet"),t.exports=o}),Sz=A((e,t)=>{var r=gz(),n=bz(),o=vz(),i=Ez(),s=wz();function a(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}l(a,"Hash"),a.prototype.clear=r,a.prototype.delete=n,a.prototype.get=o,a.prototype.has=i,a.prototype.set=s,t.exports=a}),xz=A((e,t)=>{var r=Sz(),n=Zp(),o=ov();function i(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}l(i,"mapCacheClear"),t.exports=i}),Tz=A((e,t)=>{function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}l(r,"isKeyable"),t.exports=r}),rf=A((e,t)=>{var r=Tz();function n(o,i){var s=o.__data__;return r(i)?s[typeof i=="string"?"string":"hash"]:s.map}l(n,"getMapData"),t.exports=n}),Cz=A((e,t)=>{var r=rf();function n(o){var i=r(this,o).delete(o);return this.size-=i?1:0,i}l(n,"mapCacheDelete"),t.exports=n}),_z=A((e,t)=>{var r=rf();function n(o){return r(this,o).get(o)}l(n,"mapCacheGet"),t.exports=n}),Oz=A((e,t)=>{var r=rf();function n(o){return r(this,o).has(o)}l(n,"mapCacheHas"),t.exports=n}),Pz=A((e,t)=>{var r=rf();function n(o,i){var s=r(this,o),a=s.size;return s.set(o,i),this.size+=s.size==a?0:1,this}l(n,"mapCacheSet"),t.exports=n}),RP=A((e,t)=>{var r=xz(),n=Cz(),o=_z(),i=Oz(),s=Pz();function a(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}l(a,"MapCache"),a.prototype.clear=r,a.prototype.delete=n,a.prototype.get=o,a.prototype.has=i,a.prototype.set=s,t.exports=a}),Az=A((e,t)=>{var r=Zp(),n=ov(),o=RP(),i=200;function s(a,u){var c=this.__data__;if(c instanceof r){var d=c.__data__;if(!n||d.length<i-1)return d.push([a,u]),this.size=++c.size,this;c=this.__data__=new o(d)}return c.set(a,u),this.size=c.size,this}l(s,"stackSet"),t.exports=s}),Rz=A((e,t)=>{var r=Zp(),n=az(),o=lz(),i=uz(),s=cz(),a=Az();function u(c){var d=this.__data__=new r(c);this.size=d.size}l(u,"Stack"),u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,t.exports=u}),Nz=A((e,t)=>{var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}l(n,"setCacheAdd"),t.exports=n}),Iz=A((e,t)=>{function r(n){return this.__data__.has(n)}l(r,"setCacheHas"),t.exports=r}),Mz=A((e,t)=>{var r=RP(),n=Nz(),o=Iz();function i(s){var a=-1,u=s==null?0:s.length;for(this.__data__=new r;++a<u;)this.add(s[a])}l(i,"SetCache"),i.prototype.add=i.prototype.push=n,i.prototype.has=o,t.exports=i}),kz=A((e,t)=>{function r(n,o){for(var i=-1,s=n==null?0:n.length;++i<s;)if(o(n[i],i,n))return!0;return!1}l(r,"arraySome"),t.exports=r}),jz=A((e,t)=>{function r(n,o){return n.has(o)}l(r,"cacheHas"),t.exports=r}),NP=A((e,t)=>{var r=Mz(),n=kz(),o=jz(),i=1,s=2;function a(u,c,d,p,h,f){var m=d&i,y=u.length,g=c.length;if(y!=g&&!(m&&g>y))return!1;var b=f.get(u),v=f.get(c);if(b&&v)return b==c&&v==u;var S=-1,T=!0,O=d&s?new r:void 0;for(f.set(u,c),f.set(c,u);++S<y;){var C=u[S],E=c[S];if(p)var w=m?p(E,C,S,c,u,f):p(C,E,S,u,c,f);if(w!==void 0){if(w)continue;T=!1;break}if(O){if(!n(c,function(_,R){if(!o(O,R)&&(C===_||h(C,_,d,p,f)))return O.push(R)})){T=!1;break}}else if(!(C===E||h(C,E,d,p,f))){T=!1;break}}return f.delete(u),f.delete(c),T}l(a,"equalArrays"),t.exports=a}),qz=A((e,t)=>{var r=go(),n=r.Uint8Array;t.exports=n}),Lz=A((e,t)=>{function r(n){var o=-1,i=Array(n.size);return n.forEach(function(s,a){i[++o]=[a,s]}),i}l(r,"mapToArray"),t.exports=r}),$z=A((e,t)=>{function r(n){var o=-1,i=Array(n.size);return n.forEach(function(s){i[++o]=s}),i}l(r,"setToArray"),t.exports=r}),Dz=A((e,t)=>{var r=nv(),n=qz(),o=CP(),i=NP(),s=Lz(),a=$z(),u=1,c=2,d="[object Boolean]",p="[object Date]",h="[object Error]",f="[object Map]",m="[object Number]",y="[object RegExp]",g="[object Set]",b="[object String]",v="[object Symbol]",S="[object ArrayBuffer]",T="[object DataView]",O=r?r.prototype:void 0,C=O?O.valueOf:void 0;function E(w,_,R,N,j,D,P){switch(R){case T:if(w.byteLength!=_.byteLength||w.byteOffset!=_.byteOffset)return!1;w=w.buffer,_=_.buffer;case S:return!(w.byteLength!=_.byteLength||!D(new n(w),new n(_)));case d:case p:case m:return o(+w,+_);case h:return w.name==_.name&&w.message==_.message;case y:case b:return w==_+"";case f:var M=s;case g:var k=N&u;if(M||(M=a),w.size!=_.size&&!k)return!1;var z=P.get(w);if(z)return z==_;N|=c,P.set(w,_);var J=i(M(w),M(_),N,j,D,P);return P.delete(w),J;case v:if(C)return C.call(w)==C.call(_)}return!1}l(E,"equalByTag"),t.exports=E}),Fz=A((e,t)=>{function r(n,o){for(var i=-1,s=o.length,a=n.length;++i<s;)n[a+i]=o[i];return n}l(r,"arrayPush"),t.exports=r}),iv=A((e,t)=>{var r=Array.isArray;t.exports=r}),Bz=A((e,t)=>{var r=Fz(),n=iv();function o(i,s,a){var u=s(i);return n(i)?u:r(u,a(i))}l(o,"baseGetAllKeys"),t.exports=o}),Uz=A((e,t)=>{function r(n,o){for(var i=-1,s=n==null?0:n.length,a=0,u=[];++i<s;){var c=n[i];o(c,i,n)&&(u[a++]=c)}return u}l(r,"arrayFilter"),t.exports=r}),Vz=A((e,t)=>{function r(){return[]}l(r,"stubArray"),t.exports=r}),Hz=A((e,t)=>{var r=Uz(),n=Vz(),o=Object.prototype,i=o.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(u){return u==null?[]:(u=Object(u),r(s(u),function(c){return i.call(u,c)}))}:n;t.exports=a}),Jz=A((e,t)=>{function r(n,o){for(var i=-1,s=Array(n);++i<n;)s[i]=o(i);return s}l(r,"baseTimes"),t.exports=r}),nf=A((e,t)=>{function r(n){return n!=null&&typeof n=="object"}l(r,"isObjectLike"),t.exports=r}),zz=A((e,t)=>{var r=ef(),n=nf(),o="[object Arguments]";function i(s){return n(s)&&r(s)==o}l(i,"baseIsArguments"),t.exports=i}),Kz=A((e,t)=>{var r=zz(),n=nf(),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,a=r((function(){return arguments})())?r:function(u){return n(u)&&i.call(u,"callee")&&!s.call(u,"callee")};t.exports=a}),Gz=A((e,t)=>{function r(){return!1}l(r,"stubFalse"),t.exports=r}),IP=A((e,t)=>{var r=go(),n=Gz(),o=typeof e=="object"&&e&&!e.nodeType&&e,i=o&&typeof t=="object"&&t&&!t.nodeType&&t,s=i&&i.exports===o,a=s?r.Buffer:void 0,u=a?a.isBuffer:void 0,c=u||n;t.exports=c}),Wz=A((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(i,s){var a=typeof i;return s=s??r,!!s&&(a=="number"||a!="symbol"&&n.test(i))&&i>-1&&i%1==0&&i<s}l(o,"isIndex"),t.exports=o}),MP=A((e,t)=>{var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}l(n,"isLength"),t.exports=n}),Yz=A((e,t)=>{var r=ef(),n=MP(),o=nf(),i="[object Arguments]",s="[object Array]",a="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",p="[object Map]",h="[object Number]",f="[object Object]",m="[object RegExp]",y="[object Set]",g="[object String]",b="[object WeakMap]",v="[object ArrayBuffer]",S="[object DataView]",T="[object Float32Array]",O="[object Float64Array]",C="[object Int8Array]",E="[object Int16Array]",w="[object Int32Array]",_="[object Uint8Array]",R="[object Uint8ClampedArray]",N="[object Uint16Array]",j="[object Uint32Array]",D={};D[T]=D[O]=D[C]=D[E]=D[w]=D[_]=D[R]=D[N]=D[j]=!0,D[i]=D[s]=D[v]=D[a]=D[S]=D[u]=D[c]=D[d]=D[p]=D[h]=D[f]=D[m]=D[y]=D[g]=D[b]=!1;function P(M){return o(M)&&n(M.length)&&!!D[r(M)]}l(P,"baseIsTypedArray"),t.exports=P}),Xz=A((e,t)=>{function r(n){return function(o){return n(o)}}l(r,"baseUnary"),t.exports=r}),Qz=A((e,t)=>{var r=_P(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,i=o&&o.exports===n,s=i&&r.process,a=(function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}})();t.exports=a}),kP=A((e,t)=>{var r=Yz(),n=Xz(),o=Qz(),i=o&&o.isTypedArray,s=i?n(i):r;t.exports=s}),Zz=A((e,t)=>{var r=Jz(),n=Kz(),o=iv(),i=IP(),s=Wz(),a=kP(),u=Object.prototype,c=u.hasOwnProperty;function d(p,h){var f=o(p),m=!f&&n(p),y=!f&&!m&&i(p),g=!f&&!m&&!y&&a(p),b=f||m||y||g,v=b?r(p.length,String):[],S=v.length;for(var T in p)(h||c.call(p,T))&&!(b&&(T=="length"||y&&(T=="offset"||T=="parent")||g&&(T=="buffer"||T=="byteLength"||T=="byteOffset")||s(T,S)))&&v.push(T);return v}l(d,"arrayLikeKeys"),t.exports=d}),eK=A((e,t)=>{var r=Object.prototype;function n(o){var i=o&&o.constructor,s=typeof i=="function"&&i.prototype||r;return o===s}l(n,"isPrototype"),t.exports=n}),tK=A((e,t)=>{function r(n,o){return function(i){return n(o(i))}}l(r,"overArg"),t.exports=r}),rK=A((e,t)=>{var r=tK(),n=r(Object.keys,Object);t.exports=n}),nK=A((e,t)=>{var r=eK(),n=rK(),o=Object.prototype,i=o.hasOwnProperty;function s(a){if(!r(a))return n(a);var u=[];for(var c in Object(a))i.call(a,c)&&c!="constructor"&&u.push(c);return u}l(s,"baseKeys"),t.exports=s}),oK=A((e,t)=>{var r=PP(),n=MP();function o(i){return i!=null&&n(i.length)&&!r(i)}l(o,"isArrayLike"),t.exports=o}),iK=A((e,t)=>{var r=Zz(),n=nK(),o=oK();function i(s){return o(s)?r(s):n(s)}l(i,"keys"),t.exports=i}),sK=A((e,t)=>{var r=Bz(),n=Hz(),o=iK();function i(s){return r(s,o,n)}l(i,"getAllKeys"),t.exports=i}),aK=A((e,t)=>{var r=sK(),n=1,o=Object.prototype,i=o.hasOwnProperty;function s(a,u,c,d,p,h){var f=c&n,m=r(a),y=m.length,g=r(u),b=g.length;if(y!=b&&!f)return!1;for(var v=y;v--;){var S=m[v];if(!(f?S in u:i.call(u,S)))return!1}var T=h.get(a),O=h.get(u);if(T&&O)return T==u&&O==a;var C=!0;h.set(a,u),h.set(u,a);for(var E=f;++v<y;){S=m[v];var w=a[S],_=u[S];if(d)var R=f?d(_,w,S,u,a,h):d(w,_,S,a,u,h);if(!(R===void 0?w===_||p(w,_,c,d,h):R)){C=!1;break}E||(E=S=="constructor")}if(C&&!E){var N=a.constructor,j=u.constructor;N!=j&&"constructor"in a&&"constructor"in u&&!(typeof N=="function"&&N instanceof N&&typeof j=="function"&&j instanceof j)&&(C=!1)}return h.delete(a),h.delete(u),C}l(s,"equalObjects"),t.exports=s}),lK=A((e,t)=>{var r=Aa(),n=go(),o=r(n,"DataView");t.exports=o}),uK=A((e,t)=>{var r=Aa(),n=go(),o=r(n,"Promise");t.exports=o}),cK=A((e,t)=>{var r=Aa(),n=go(),o=r(n,"Set");t.exports=o}),dK=A((e,t)=>{var r=Aa(),n=go(),o=r(n,"WeakMap");t.exports=o}),pK=A((e,t)=>{var r=lK(),n=ov(),o=uK(),i=cK(),s=dK(),a=ef(),u=AP(),c="[object Map]",d="[object Object]",p="[object Promise]",h="[object Set]",f="[object WeakMap]",m="[object DataView]",y=u(r),g=u(n),b=u(o),v=u(i),S=u(s),T=a;(r&&T(new r(new ArrayBuffer(1)))!=m||n&&T(new n)!=c||o&&T(o.resolve())!=p||i&&T(new i)!=h||s&&T(new s)!=f)&&(T=l(function(O){var C=a(O),E=C==d?O.constructor:void 0,w=E?u(E):"";if(w)switch(w){case y:return m;case g:return c;case b:return p;case v:return h;case S:return f}return C},"getTag")),t.exports=T}),fK=A((e,t)=>{var r=Rz(),n=NP(),o=Dz(),i=aK(),s=pK(),a=iv(),u=IP(),c=kP(),d=1,p="[object Arguments]",h="[object Array]",f="[object Object]",m=Object.prototype,y=m.hasOwnProperty;function g(b,v,S,T,O,C){var E=a(b),w=a(v),_=E?h:s(b),R=w?h:s(v);_=_==p?f:_,R=R==p?f:R;var N=_==f,j=R==f,D=_==R;if(D&&u(b)){if(!u(v))return!1;E=!0,N=!1}if(D&&!N)return C||(C=new r),E||c(b)?n(b,v,S,T,O,C):o(b,v,_,S,T,O,C);if(!(S&d)){var P=N&&y.call(b,"__wrapped__"),M=j&&y.call(v,"__wrapped__");if(P||M){var k=P?b.value():b,z=M?v.value():v;return C||(C=new r),O(k,z,S,T,C)}}return D?(C||(C=new r),i(b,v,S,T,O,C)):!1}l(g,"baseIsEqualDeep"),t.exports=g}),hK=A((e,t)=>{var r=fK(),n=nf();function o(i,s,a,u,c){return i===s?!0:i==null||s==null||!n(i)&&!n(s)?i!==i&&s!==s:r(i,s,a,u,o,c)}l(o,"baseIsEqual"),t.exports=o}),jP=A((e,t)=>{var r=hK();function n(o,i,s){s=typeof s=="function"?s:void 0;var a=s?s(o,i):void 0;return a===void 0?r(o,i,void 0,s):!!a}l(n,"isEqualWith"),t.exports=n}),qP=A((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=l(function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(o),s=i.length,a=-1,u,c="",d=i.charCodeAt(0);++a<s;){if(u=i.charCodeAt(a),u==0){c+="�";continue}if(u>=1&&u<=31||u==127||a==0&&u>=48&&u<=57||a==1&&u>=48&&u<=57&&d==45){c+="\\"+u.toString(16)+" ";continue}if(a==0&&s==1&&u==45){c+="\\"+i.charAt(a);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=i.charAt(a);continue}c+="\\"+i.charAt(a)}return c},"cssEscape");return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}),LP=A((e,t)=>{var r=l((i=0)=>s=>`\x1B[${38+i};5;${s}m`,"wrapAnsi256"),n=l((i=0)=>(s,a,u)=>`\x1B[${38+i};2;${s};${a};${u}m`,"wrapAnsi16m");function o(){let i=new Map,s={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]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(let[a,u]of Object.entries(s)){for(let[c,d]of Object.entries(u))s[c]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},u[c]=s[c],i.set(d[0],d[1]);Object.defineProperty(s,a,{value:u,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:l((a,u,c)=>a===u&&u===c?a<8?16:a>248?231:Math.round((a-8)/247*24)+232:16+36*Math.round(a/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),"value"),enumerable:!1},hexToRgb:{value:l(a=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(a.toString(16));if(!u)return[0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(p=>p+p).join(""));let d=Number.parseInt(c,16);return[d>>16&255,d>>8&255,d&255]},"value"),enumerable:!1},hexToAnsi256:{value:l(a=>s.rgbToAnsi256(...s.hexToRgb(a)),"value"),enumerable:!1}}),s}l(o,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:o})}),of=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=i;var t=l((s,a)=>{let u=Object.keys(s).sort(a);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(c=>{Object.getOwnPropertyDescriptor(s,c).enumerable&&u.push(c)}),u},"getKeysOfEnumerableProperties");function r(s,a,u,c,d,p,h=": "){let f="",m=s.next();if(!m.done){f+=a.spacingOuter;let y=u+a.indent;for(;!m.done;){let g=p(m.value[0],a,y,c,d),b=p(m.value[1],a,y,c,d);f+=y+g+h+b,m=s.next(),m.done?a.min||(f+=","):f+=","+a.spacingInner}f+=a.spacingOuter+u}return f}l(r,"printIteratorEntries");function n(s,a,u,c,d,p){let h="",f=s.next();if(!f.done){h+=a.spacingOuter;let m=u+a.indent;for(;!f.done;)h+=m+p(f.value,a,m,c,d),f=s.next(),f.done?a.min||(h+=","):h+=","+a.spacingInner;h+=a.spacingOuter+u}return h}l(n,"printIteratorValues");function o(s,a,u,c,d,p){let h="";if(s.length){h+=a.spacingOuter;let f=u+a.indent;for(let m=0;m<s.length;m++)h+=f,m in s&&(h+=p(s[m],a,f,c,d)),m<s.length-1?h+=","+a.spacingInner:a.min||(h+=",");h+=a.spacingOuter+u}return h}l(o,"printListItems");function i(s,a,u,c,d,p){let h="",f=t(s,a.compareKeys);if(f.length){h+=a.spacingOuter;let m=u+a.indent;for(let y=0;y<f.length;y++){let g=f[y],b=p(g,a,m,c,d),v=p(s[g],a,m,c,d);h+=m+b+": "+v,y<f.length-1?h+=","+a.spacingInner:a.min||(h+=",")}h+=a.spacingOuter+u}return h}l(i,"printObjectProperties")}),mK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=of(),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=" ",s=l((d,p,h,f,m,y)=>{let g=d.toString();return g==="ArrayContaining"||g==="ArrayNotContaining"?++f>p.maxDepth?"["+g+"]":g+i+"["+(0,t.printListItems)(d.sample,p,h,f,m,y)+"]":g==="ObjectContaining"||g==="ObjectNotContaining"?++f>p.maxDepth?"["+g+"]":g+i+"{"+(0,t.printObjectProperties)(d.sample,p,h,f,m,y)+"}":g==="StringMatching"||g==="StringNotMatching"||g==="StringContaining"||g==="StringNotContaining"?g+i+y(d.sample,p,h,f,m):d.toAsymmetricMatcher()},"serialize");e.serialize=s;var a=l(d=>d&&d.$$typeof===o,"test");e.test=a;var u={serialize:s,test:a},c=u;e.default=c}),yK=A((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")}}),gK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(yK()),r=n(LP());function n(c){return c&&c.__esModule?c:{default:c}}l(n,"_interopRequireDefault");var o=l(c=>c.replace((0,t.default)(),d=>{switch(d){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""}}),"toHumanReadableAnsi"),i=l(c=>typeof c=="string"&&!!c.match((0,t.default)()),"test");e.test=i;var s=l((c,d,p,h,f,m)=>m(o(c),d,p,h,f),"serialize");e.serialize=s;var a={serialize:s,test:i},u=a;e.default=u}),bK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=of(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,i=l(p=>n.indexOf(p)!==-1||o.test(p),"testName"),s=l(p=>p&&p.constructor&&!!p.constructor.name&&i(p.constructor.name),"test");e.test=s;var a=l(p=>p.constructor.name==="NamedNodeMap","isNamedNodeMap"),u=l((p,h,f,m,y,g)=>{let b=p.constructor.name;return++m>h.maxDepth?"["+b+"]":(h.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(a(p)?Array.from(p).reduce((v,S)=>(v[S.name]=S.value,v),{}):{...p},h,f,m,y,g)+"}":"["+(0,t.printListItems)(Array.from(p),h,f,m,y,g)+"]")},"serialize");e.serialize=u;var c={serialize:u,test:s},d=c;e.default=d}),vK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}l(t,"escapeHTML")}),sv=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(vK());function r(c){return c&&c.__esModule?c:{default:c}}l(r,"_interopRequireDefault");var n=l((c,d,p,h,f,m,y)=>{let g=h+p.indent,b=p.colors;return c.map(v=>{let S=d[v],T=y(S,p,g,f,m);return typeof S!="string"&&(T.indexOf(`
|
|
14
|
+
`)!==-1&&(T=p.spacingOuter+g+T+p.spacingOuter+h),T="{"+T+"}"),p.spacingInner+h+b.prop.open+v+b.prop.close+"="+b.value.open+T+b.value.close}).join("")},"printProps");e.printProps=n;var o=l((c,d,p,h,f,m)=>c.map(y=>d.spacingOuter+p+(typeof y=="string"?i(y,d):m(y,d,p,h,f))).join(""),"printChildren");e.printChildren=o;var i=l((c,d)=>{let p=d.colors.content;return p.open+(0,t.default)(c)+p.close},"printText");e.printText=i;var s=l((c,d)=>{let p=d.colors.comment;return p.open+"<!--"+(0,t.default)(c)+"-->"+p.close},"printComment");e.printComment=s;var a=l((c,d,p,h,f)=>{let m=h.colors.tag;return m.open+"<"+c+(d&&m.close+d+h.spacingOuter+f+m.open)+(p?">"+m.close+p+h.spacingOuter+f+m.open+"</"+c:(d&&!h.min?"":" ")+"/")+">"+m.close},"printElement");e.printElement=a;var u=l((c,d)=>{let p=d.colors.tag;return p.open+"<"+c+p.close+" …"+p.open+" />"+p.close},"printElementAsLeaf");e.printElementAsLeaf=u}),EK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=sv(),r=1,n=3,o=8,i=11,s=/^((HTML|SVG)\w*)?Element$/,a=l(g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},"testHasAttribute"),u=l(g=>{let b=g.constructor.name,{nodeType:v,tagName:S}=g,T=typeof S=="string"&&S.includes("-")||a(g);return v===r&&(s.test(b)||T)||v===n&&b==="Text"||v===o&&b==="Comment"||v===i&&b==="DocumentFragment"},"testNode"),c=l(g=>{var b;return(g==null||(b=g.constructor)===null||b===void 0?void 0:b.name)&&u(g)},"test");e.test=c;function d(g){return g.nodeType===n}l(d,"nodeIsText");function p(g){return g.nodeType===o}l(p,"nodeIsComment");function h(g){return g.nodeType===i}l(h,"nodeIsFragment");var f=l((g,b,v,S,T,O)=>{if(d(g))return(0,t.printText)(g.data,b);if(p(g))return(0,t.printComment)(g.data,b);let C=h(g)?"DocumentFragment":g.tagName.toLowerCase();return++S>b.maxDepth?(0,t.printElementAsLeaf)(C,b):(0,t.printElement)(C,(0,t.printProps)(h(g)?[]:Array.from(g.attributes).map(E=>E.name).sort(),h(g)?{}:Array.from(g.attributes).reduce((E,w)=>(E[w.name]=w.value,E),{}),b,v+b.indent,S,T,O),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),b,v+b.indent,S,T,O),b,v)},"serialize");e.serialize=f;var m={serialize:f,test:c},y=m;e.default=y}),wK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=of(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",a="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",d="@@__IMMUTABLE_STACK__@@",p=l(w=>"Immutable."+w,"getImmutableName"),h=l(w=>"["+w+"]","printAsLeaf"),f=" ",m="…",y=l((w,_,R,N,j,D,P)=>++N>_.maxDepth?h(p(P)):p(P)+f+"{"+(0,t.printIteratorEntries)(w.entries(),_,R,N,j,D)+"}","printImmutableEntries");function g(w){let _=0;return{next(){if(_<w._keys.length){let R=w._keys[_++];return{done:!1,value:[R,w.get(R)]}}return{done:!0,value:void 0}}}}l(g,"getRecordEntries");var b=l((w,_,R,N,j,D)=>{let P=p(w._name||"Record");return++N>_.maxDepth?h(P):P+f+"{"+(0,t.printIteratorEntries)(g(w),_,R,N,j,D)+"}"},"printImmutableRecord"),v=l((w,_,R,N,j,D)=>{let P=p("Seq");return++N>_.maxDepth?h(P):w[o]?P+f+"{"+(w._iter||w._object?(0,t.printIteratorEntries)(w.entries(),_,R,N,j,D):m)+"}":P+f+"["+(w._iter||w._array||w._collection||w._iterable?(0,t.printIteratorValues)(w.values(),_,R,N,j,D):m)+"]"},"printImmutableSeq"),S=l((w,_,R,N,j,D,P)=>++N>_.maxDepth?h(p(P)):p(P)+f+"["+(0,t.printIteratorValues)(w.values(),_,R,N,j,D)+"]","printImmutableValues"),T=l((w,_,R,N,j,D)=>w[i]?y(w,_,R,N,j,D,w[s]?"OrderedMap":"Map"):w[n]?S(w,_,R,N,j,D,"List"):w[c]?S(w,_,R,N,j,D,w[s]?"OrderedSet":"Set"):w[d]?S(w,_,R,N,j,D,"Stack"):w[u]?v(w,_,R,N,j,D):b(w,_,R,N,j,D),"serialize");e.serialize=T;var O=l(w=>w&&(w[r]===!0||w[a]===!0),"test");e.test=O;var C={serialize:T,test:O},E=C;e.default=E}),SK=A(e=>{var t=60103,r=60106,n=60107,o=60108,i=60114,s=60109,a=60110,u=60112,c=60113,d=60120,p=60115,h=60116,f=60121,m=60122,y=60117,g=60129,b=60131;typeof Symbol=="function"&&Symbol.for&&(v=Symbol.for,t=v("react.element"),r=v("react.portal"),n=v("react.fragment"),o=v("react.strict_mode"),i=v("react.profiler"),s=v("react.provider"),a=v("react.context"),u=v("react.forward_ref"),c=v("react.suspense"),d=v("react.suspense_list"),p=v("react.memo"),h=v("react.lazy"),f=v("react.block"),m=v("react.server.block"),y=v("react.fundamental"),g=v("react.debug_trace_mode"),b=v("react.legacy_hidden"));var v;function S(P){if(typeof P=="object"&&P!==null){var M=P.$$typeof;switch(M){case t:switch(P=P.type,P){case n:case i:case o:case c:case d:return P;default:switch(P=P&&P.$$typeof,P){case a:case u:case h:case p:case s:return P;default:return M}}case r:return M}}}l(S,"y");var T=s,O=t,C=u,E=n,w=h,_=p,R=r,N=i,j=o,D=c;e.ContextConsumer=a,e.ContextProvider=T,e.Element=O,e.ForwardRef=C,e.Fragment=E,e.Lazy=w,e.Memo=_,e.Portal=R,e.Profiler=N,e.StrictMode=j,e.Suspense=D,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(P){return S(P)===a},e.isContextProvider=function(P){return S(P)===s},e.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===t},e.isForwardRef=function(P){return S(P)===u},e.isFragment=function(P){return S(P)===n},e.isLazy=function(P){return S(P)===h},e.isMemo=function(P){return S(P)===p},e.isPortal=function(P){return S(P)===r},e.isProfiler=function(P){return S(P)===i},e.isStrictMode=function(P){return S(P)===o},e.isSuspense=function(P){return S(P)===c},e.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===n||P===i||P===g||P===o||P===c||P===d||P===b||typeof P=="object"&&P!==null&&(P.$$typeof===h||P.$$typeof===p||P.$$typeof===s||P.$$typeof===a||P.$$typeof===u||P.$$typeof===y||P.$$typeof===f||P[0]===m)},e.typeOf=S}),xK=A((e,t)=>{t.exports=SK()}),TK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(xK()),r=sv();function n(h){if(typeof WeakMap!="function")return null;var f=new WeakMap,m=new WeakMap;return(n=l(function(y){return y?m:f},"_getRequireWildcardCache"))(h)}l(n,"_getRequireWildcardCache");function o(h,f){if(!f&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(f);if(m&&m.has(h))return m.get(h);var y={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in h)if(b!=="default"&&Object.prototype.hasOwnProperty.call(h,b)){var v=g?Object.getOwnPropertyDescriptor(h,b):null;v&&(v.get||v.set)?Object.defineProperty(y,b,v):y[b]=h[b]}return y.default=h,m&&m.set(h,y),y}l(o,"_interopRequireWildcard");var i=l((h,f=[])=>(Array.isArray(h)?h.forEach(m=>{i(m,f)}):h!=null&&h!==!1&&f.push(h),f),"getChildren"),s=l(h=>{let f=h.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof f=="object"&&f!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(f.displayName)return f.displayName;let m=f.render.displayName||f.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(h)){let m=f.displayName||f.type.displayName||f.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},"getType"),a=l(h=>{let{props:f}=h;return Object.keys(f).filter(m=>m!=="children"&&f[m]!==void 0).sort()},"getPropKeys"),u=l((h,f,m,y,g,b)=>++y>f.maxDepth?(0,r.printElementAsLeaf)(s(h),f):(0,r.printElement)(s(h),(0,r.printProps)(a(h),h.props,f,m+f.indent,y,g,b),(0,r.printChildren)(i(h.props.children),f,m+f.indent,y,g,b),f,m),"serialize");e.serialize=u;var c=l(h=>h!=null&&t.isElement(h),"test");e.test=c;var d={serialize:u,test:c},p=d;e.default=p}),CK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=sv(),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=l(d=>{let{props:p}=d;return p?Object.keys(p).filter(h=>p[h]!==void 0).sort():[]},"getPropKeys"),s=l((d,p,h,f,m,y)=>++f>p.maxDepth?(0,t.printElementAsLeaf)(d.type,p):(0,t.printElement)(d.type,d.props?(0,t.printProps)(i(d),d.props,p,h+p.indent,f,m,y):"",d.children?(0,t.printChildren)(d.children,p,h+p.indent,f,m,y):"",p,h),"serialize");e.serialize=s;var a=l(d=>d&&d.$$typeof===o,"test");e.test=a;var u={serialize:s,test:a},c=u;e.default=c}),_K=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=ye,e.plugins=void 0;var t=d(LP()),r=of(),n=d(mK()),o=d(gK()),i=d(bK()),s=d(EK()),a=d(wK()),u=d(TK()),c=d(CK());function d(K){return K&&K.__esModule?K:{default:K}}l(d,"_interopRequireDefault");var p=Object.prototype.toString,h=Date.prototype.toISOString,f=Error.prototype.toString,m=RegExp.prototype.toString,y=l(K=>typeof K.constructor=="function"&&K.constructor.name||"Object","getConstructorName"),g=l(K=>typeof window<"u"&&K===window,"isWindow"),b=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,S=class extends Error{constructor(fe,$){super(fe),this.stack=$,this.name=this.constructor.name}};l(S,"PrettyFormatPluginError");var T=S;function O(K){return K==="[object Array]"||K==="[object ArrayBuffer]"||K==="[object DataView]"||K==="[object Float32Array]"||K==="[object Float64Array]"||K==="[object Int8Array]"||K==="[object Int16Array]"||K==="[object Int32Array]"||K==="[object Uint8Array]"||K==="[object Uint8ClampedArray]"||K==="[object Uint16Array]"||K==="[object Uint32Array]"}l(O,"isToStringedArrayType");function C(K){return Object.is(K,-0)?"-0":String(K)}l(C,"printNumber");function E(K){return`${K}n`}l(E,"printBigInt");function w(K,fe){return fe?"[Function "+(K.name||"anonymous")+"]":"[Function]"}l(w,"printFunction");function _(K){return String(K).replace(b,"Symbol($1)")}l(_,"printSymbol");function R(K){return"["+f.call(K)+"]"}l(R,"printError");function N(K,fe,$,V){if(K===!0||K===!1)return""+K;if(K===void 0)return"undefined";if(K===null)return"null";let G=typeof K;if(G==="number")return C(K);if(G==="bigint")return E(K);if(G==="string")return V?'"'+K.replace(/"|\\/g,"\\$&")+'"':'"'+K+'"';if(G==="function")return w(K,fe);if(G==="symbol")return _(K);let re=p.call(K);return re==="[object WeakMap]"?"WeakMap {}":re==="[object WeakSet]"?"WeakSet {}":re==="[object Function]"||re==="[object GeneratorFunction]"?w(K,fe):re==="[object Symbol]"?_(K):re==="[object Date]"?isNaN(+K)?"Date { NaN }":h.call(K):re==="[object Error]"?R(K):re==="[object RegExp]"?$?m.call(K).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(K):K instanceof Error?R(K):null}l(N,"printBasicValue");function j(K,fe,$,V,G,re){if(G.indexOf(K)!==-1)return"[Circular]";G=G.slice(),G.push(K);let te=++V>fe.maxDepth,se=fe.min;if(fe.callToJSON&&!te&&K.toJSON&&typeof K.toJSON=="function"&&!re)return k(K.toJSON(),fe,$,V,G,!0);let ue=p.call(K);return ue==="[object Arguments]"?te?"[Arguments]":(se?"":"Arguments ")+"["+(0,r.printListItems)(K,fe,$,V,G,k)+"]":O(ue)?te?"["+K.constructor.name+"]":(se||!fe.printBasicPrototype&&K.constructor.name==="Array"?"":K.constructor.name+" ")+"["+(0,r.printListItems)(K,fe,$,V,G,k)+"]":ue==="[object Map]"?te?"[Map]":"Map {"+(0,r.printIteratorEntries)(K.entries(),fe,$,V,G,k," => ")+"}":ue==="[object Set]"?te?"[Set]":"Set {"+(0,r.printIteratorValues)(K.values(),fe,$,V,G,k)+"}":te||g(K)?"["+y(K)+"]":(se||!fe.printBasicPrototype&&y(K)==="Object"?"":y(K)+" ")+"{"+(0,r.printObjectProperties)(K,fe,$,V,G,k)+"}"}l(j,"printComplexValue");function D(K){return K.serialize!=null}l(D,"isNewPlugin");function P(K,fe,$,V,G,re){let te;try{te=D(K)?K.serialize(fe,$,V,G,re,k):K.print(fe,se=>k(se,$,V,G,re),se=>{let ue=V+$.indent;return ue+se.replace(v,`
|
|
15
|
+
`+ue)},{edgeSpacing:$.spacingOuter,min:$.min,spacing:$.spacingInner},$.colors)}catch(se){throw new T(se.message,se.stack)}if(typeof te!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof te}".`);return te}l(P,"printPlugin");function M(K,fe){for(let $=0;$<K.length;$++)try{if(K[$].test(fe))return K[$]}catch(V){throw new T(V.message,V.stack)}return null}l(M,"findPlugin");function k(K,fe,$,V,G,re){let te=M(fe.plugins,K);if(te!==null)return P(te,K,fe,$,V,G);let se=N(K,fe.printFunctionName,fe.escapeRegex,fe.escapeString);return se!==null?se:j(K,fe,$,V,G,re)}l(k,"printer");var z={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},J=Object.keys(z),ie={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:z};e.DEFAULT_OPTIONS=ie;function pe(K){if(Object.keys(K).forEach(fe=>{if(!ie.hasOwnProperty(fe))throw new Error(`pretty-format: Unknown option "${fe}".`)}),K.min&&K.indent!==void 0&&K.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(K.theme!==void 0){if(K.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof K.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof K.theme}".`)}}l(pe,"validateOptions");var oe=l(K=>J.reduce((fe,$)=>{let V=K.theme&&K.theme[$]!==void 0?K.theme[$]:z[$],G=V&&t.default[V];if(G&&typeof G.close=="string"&&typeof G.open=="string")fe[$]=G;else throw new Error(`pretty-format: Option "theme" has a key "${$}" whose value "${V}" is undefined in ansi-styles.`);return fe},Object.create(null)),"getColorsHighlight"),q=l(()=>J.reduce((K,fe)=>(K[fe]={close:"",open:""},K),Object.create(null)),"getColorsEmpty"),H=l(K=>K&&K.printFunctionName!==void 0?K.printFunctionName:ie.printFunctionName,"getPrintFunctionName"),X=l(K=>K&&K.escapeRegex!==void 0?K.escapeRegex:ie.escapeRegex,"getEscapeRegex"),ne=l(K=>K&&K.escapeString!==void 0?K.escapeString:ie.escapeString,"getEscapeString"),ee=l(K=>{var fe;return{callToJSON:K&&K.callToJSON!==void 0?K.callToJSON:ie.callToJSON,colors:K&&K.highlight?oe(K):q(),compareKeys:K&&typeof K.compareKeys=="function"?K.compareKeys:ie.compareKeys,escapeRegex:X(K),escapeString:ne(K),indent:K&&K.min?"":le(K&&K.indent!==void 0?K.indent:ie.indent),maxDepth:K&&K.maxDepth!==void 0?K.maxDepth:ie.maxDepth,min:K&&K.min!==void 0?K.min:ie.min,plugins:K&&K.plugins!==void 0?K.plugins:ie.plugins,printBasicPrototype:(fe=K==null?void 0:K.printBasicPrototype)!==null&&fe!==void 0?fe:!0,printFunctionName:H(K),spacingInner:K&&K.min?" ":`
|
|
16
|
+
`,spacingOuter:K&&K.min?"":`
|
|
17
|
+
`}},"getConfig");function le(K){return new Array(K+1).join(" ")}l(le,"createIndent");function ye(K,fe){if(fe&&(pe(fe),fe.plugins)){let V=M(fe.plugins,K);if(V!==null)return P(V,K,ee(fe),"",0,[])}let $=N(K,H(fe),X(fe),ne(fe));return $!==null?$:j(K,ee(fe),"",0,[])}l(ye,"format");var Ie={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:i.default,DOMElement:s.default,Immutable:a.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=Ie;var Te=ye;e.default=Te}),OK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,i={"@@iterator":l(function(){return i},"iterator"),next:l(function(){if(o<n.length){var s=n[o];return o=o+1,{done:!1,value:s}}else return{done:!0}},"next")};return i}l(t,"iteratorProxy");var r=t;e.default=r}),$u=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(OK());function r(i){return i&&i.__esModule?i:{default:i}}l(r,"_interopRequireDefault");function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}l(n,"_typeof");function o(i,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(s)}),i}l(o,"iterationDecorator")}),PK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r($u());function r(f){return f&&f.__esModule?f:{default:f}}l(r,"_interopRequireDefault");function n(f,m){return s(f)||i(f,m)||u(f,m)||o()}l(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
18
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(o,"_nonIterableRest");function i(f,m){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var g=[],b=!0,v=!1,S,T;try{for(y=y.call(f);!(b=(S=y.next()).done)&&(g.push(S.value),!(m&&g.length===m));b=!0);}catch(O){v=!0,T=O}finally{try{!b&&y.return!=null&&y.return()}finally{if(v)throw T}}return g}}l(i,"_iterableToArrayLimit");function s(f){if(Array.isArray(f))return f}l(s,"_arrayWithHoles");function a(f,m){var y=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!y){if(Array.isArray(f)||(y=u(f))||m&&f&&typeof f.length=="number"){y&&(f=y);var g=0,b=l(function(){},"F");return{s:b,n:l(function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},"n"),e:l(function(O){throw O},"e"),f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
19
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,S=!1,T;return{s:l(function(){y=y.call(f)},"s"),n:l(function(){var O=y.next();return v=O.done,O},"n"),e:l(function(O){S=!0,T=O},"e"),f:l(function(){try{!v&&y.return!=null&&y.return()}finally{if(S)throw T}},"f")}}l(a,"_createForOfIteratorHelper");function u(f,m){if(f){if(typeof f=="string")return c(f,m);var y=Object.prototype.toString.call(f).slice(8,-1);if(y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set")return Array.from(f);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return c(f,m)}}l(u,"_unsupportedIterableToArray");function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var y=0,g=new Array(m);y<m;y++)g[y]=f[y];return g}l(c,"_arrayLikeToArray");var d=[["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:l(function(){return d},"entries"),forEach:l(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=a(d),g;try{for(y.s();!(g=y.n()).done;){var b=n(g.value,2),v=b[0],S=b[1];f.call(m,S,v,d)}}catch(T){y.e(T)}finally{y.f()}},"forEach"),get:l(function(f){var m=d.find(function(y){return y[0]===f});return m&&m[1]},"get"),has:l(function(f){return!!p.get(f)},"has"),keys:l(function(){return d.map(function(f){var m=n(f,1),y=m[0];return y})},"keys"),values:l(function(){return d.map(function(f){var m=n(f,2),y=m[1];return y})},"values")},h=(0,t.default)(p,p.entries());e.default=h}),AK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r($u());function r(f){return f&&f.__esModule?f:{default:f}}l(r,"_interopRequireDefault");function n(f,m){return s(f)||i(f,m)||u(f,m)||o()}l(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
20
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(o,"_nonIterableRest");function i(f,m){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var g=[],b=!0,v=!1,S,T;try{for(y=y.call(f);!(b=(S=y.next()).done)&&(g.push(S.value),!(m&&g.length===m));b=!0);}catch(O){v=!0,T=O}finally{try{!b&&y.return!=null&&y.return()}finally{if(v)throw T}}return g}}l(i,"_iterableToArrayLimit");function s(f){if(Array.isArray(f))return f}l(s,"_arrayWithHoles");function a(f,m){var y=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!y){if(Array.isArray(f)||(y=u(f))||m&&f&&typeof f.length=="number"){y&&(f=y);var g=0,b=l(function(){},"F");return{s:b,n:l(function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},"n"),e:l(function(O){throw O},"e"),f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
21
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,S=!1,T;return{s:l(function(){y=y.call(f)},"s"),n:l(function(){var O=y.next();return v=O.done,O},"n"),e:l(function(O){S=!0,T=O},"e"),f:l(function(){try{!v&&y.return!=null&&y.return()}finally{if(S)throw T}},"f")}}l(a,"_createForOfIteratorHelper");function u(f,m){if(f){if(typeof f=="string")return c(f,m);var y=Object.prototype.toString.call(f).slice(8,-1);if(y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set")return Array.from(f);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return c(f,m)}}l(u,"_unsupportedIterableToArray");function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var y=0,g=new Array(m);y<m;y++)g[y]=f[y];return g}l(c,"_arrayLikeToArray");var d=[["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:l(function(){return d},"entries"),forEach:l(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=a(d),g;try{for(y.s();!(g=y.n()).done;){var b=n(g.value,2),v=b[0],S=b[1];f.call(m,S,v,d)}}catch(T){y.e(T)}finally{y.f()}},"forEach"),get:l(function(f){var m=d.find(function(y){return y[0]===f});return m&&m[1]},"get"),has:l(function(f){return!!p.get(f)},"has"),keys:l(function(){return d.map(function(f){var m=n(f,1),y=m[0];return y})},"keys"),values:l(function(){return d.map(function(f){var m=n(f,2),y=m[1];return y})},"values")},h=(0,t.default)(p,p.entries());e.default=h}),RK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),NK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),IK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),MK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),kK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),jK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),qK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),LK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),$K=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}),DK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),FK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),BK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),UK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(RK()),r=f(NK()),n=f(IK()),o=f(MK()),i=f(kK()),s=f(jK()),a=f(qK()),u=f(LK()),c=f($K()),d=f(DK()),p=f(FK()),h=f(BK());function f(g){return g&&g.__esModule?g:{default:g}}l(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",i.default],["roletype",s.default],["section",a.default],["sectionhead",u.default],["select",c.default],["structure",d.default],["widget",p.default],["window",h.default]],y=m;e.default=y}),VK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),HK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}),JK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),zK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),KK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),GK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),WK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),YK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),XK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),QK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),ZK=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),eG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),tG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),rG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),nG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),oG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),iG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),sG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}),aG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),lG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),uG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),cG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),dG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),pG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),fG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),hG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}),mG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}),yG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),gG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),bG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),vG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),EG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),wG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),SG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),xG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),TG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),CG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),_G=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),OG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),PG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),AG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),RG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}),NG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),IG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}),MG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}),kG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}),jG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),qG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),LG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),$G=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),DG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),FG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),BG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),UG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),VG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),HG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),JG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}),zG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),KG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),GG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),WG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),YG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}),XG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),QG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),ZG=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),eW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),tW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),rW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),nW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),oW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}),iW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}),sW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),aW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}),lW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),uW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),cW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),dW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),pW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}),fW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),hW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),mW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),yW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}),gW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}),bW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Y(VK()),r=Y(HK()),n=Y(JK()),o=Y(zK()),i=Y(KK()),s=Y(GK()),a=Y(WK()),u=Y(YK()),c=Y(XK()),d=Y(QK()),p=Y(ZK()),h=Y(eG()),f=Y(tG()),m=Y(rG()),y=Y(nG()),g=Y(oG()),b=Y(iG()),v=Y(sG()),S=Y(aG()),T=Y(lG()),O=Y(uG()),C=Y(cG()),E=Y(dG()),w=Y(pG()),_=Y(fG()),R=Y(hG()),N=Y(mG()),j=Y(yG()),D=Y(gG()),P=Y(bG()),M=Y(vG()),k=Y(EG()),z=Y(wG()),J=Y(SG()),ie=Y(xG()),pe=Y(TG()),oe=Y(CG()),q=Y(_G()),H=Y(OG()),X=Y(PG()),ne=Y(AG()),ee=Y(RG()),le=Y(NG()),ye=Y(IG()),Ie=Y(MG()),Te=Y(kG()),K=Y(jG()),fe=Y(qG()),$=Y(LG()),V=Y($G()),G=Y(DG()),re=Y(FG()),te=Y(BG()),se=Y(UG()),ue=Y(VG()),ce=Y(HG()),de=Y(JG()),ae=Y(zG()),ve=Y(KG()),he=Y(GG()),be=Y(WG()),Se=Y(YG()),Me=Y(XG()),Ue=Y(QG()),Le=Y(ZG()),Rt=Y(eW()),ht=Y(tW()),Vt=Y(rW()),Nt=Y(nW()),Qr=Y(oW()),So=Y(iW()),It=Y(sW()),tr=Y(aW()),xo=Y(lW()),Ga=Y(uW()),Wa=Y(cW()),Ya=Y(dW()),hi=Y(pW()),ms=Y(fW()),mn=Y(hW()),Tt=Y(mW()),mi=Y(yW()),Dn=Y(gW());function Y(gi){return gi&&gi.__esModule?gi:{default:gi}}l(Y,"_interopRequireDefault");var yi=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",i.default],["blockquote",s.default],["button",a.default],["caption",u.default],["cell",c.default],["checkbox",d.default],["code",p.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",y.default],["definition",g.default],["deletion",b.default],["dialog",v.default],["directory",S.default],["document",T.default],["emphasis",O.default],["feed",C.default],["figure",E.default],["form",w.default],["generic",_.default],["grid",R.default],["gridcell",N.default],["group",j.default],["heading",D.default],["img",P.default],["insertion",M.default],["link",k.default],["list",z.default],["listbox",J.default],["listitem",ie.default],["log",pe.default],["main",oe.default],["mark",q.default],["marquee",H.default],["math",X.default],["menu",ne.default],["menubar",ee.default],["menuitem",le.default],["menuitemcheckbox",ye.default],["menuitemradio",Ie.default],["meter",Te.default],["navigation",K.default],["none",fe.default],["note",$.default],["option",V.default],["paragraph",G.default],["presentation",re.default],["progressbar",te.default],["radio",se.default],["radiogroup",ue.default],["region",ce.default],["row",de.default],["rowgroup",ae.default],["rowheader",ve.default],["scrollbar",he.default],["search",be.default],["searchbox",Se.default],["separator",Me.default],["slider",Ue.default],["spinbutton",Le.default],["status",Rt.default],["strong",ht.default],["subscript",Vt.default],["superscript",Nt.default],["switch",Qr.default],["tab",So.default],["table",It.default],["tablist",tr.default],["tabpanel",xo.default],["term",Ga.default],["textbox",Wa.default],["time",Ya.default],["timer",hi.default],["toolbar",ms.default],["tooltip",mn.default],["tree",Tt.default],["treegrid",mi.default],["treeitem",Dn.default]],To=yi;e.default=To}),vW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),EW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),wW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),SW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),xW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),TW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),CW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),_W=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),OW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),PW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),AW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),RW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),NW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),IW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),MW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),kW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),jW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),qW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),LW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),$W=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),DW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),FW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),BW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),UW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),VW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),HW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),JW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),zW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),KW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),GW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}),WW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),YW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),XW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),QW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),ZW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}),e8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),t8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),r8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),n8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),o8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=X(vW()),r=X(EW()),n=X(wW()),o=X(SW()),i=X(xW()),s=X(TW()),a=X(CW()),u=X(_W()),c=X(OW()),d=X(PW()),p=X(AW()),h=X(RW()),f=X(NW()),m=X(IW()),y=X(MW()),g=X(kW()),b=X(jW()),v=X(qW()),S=X(LW()),T=X($W()),O=X(DW()),C=X(FW()),E=X(BW()),w=X(UW()),_=X(VW()),R=X(HW()),N=X(JW()),j=X(zW()),D=X(KW()),P=X(GW()),M=X(WW()),k=X(YW()),z=X(XW()),J=X(QW()),ie=X(ZW()),pe=X(e8()),oe=X(t8()),q=X(r8()),H=X(n8());function X(le){return le&&le.__esModule?le:{default:le}}l(X,"_interopRequireDefault");var ne=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",s.default],["doc-bibliography",a.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",d.default],["doc-conclusion",p.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",y.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",T.default],["doc-example",O.default],["doc-footnote",C.default],["doc-foreword",E.default],["doc-glossary",w.default],["doc-glossref",_.default],["doc-index",R.default],["doc-introduction",N.default],["doc-noteref",j.default],["doc-notice",D.default],["doc-pagebreak",P.default],["doc-pagelist",M.default],["doc-part",k.default],["doc-preface",z.default],["doc-prologue",J.default],["doc-pullquote",ie.default],["doc-qna",pe.default],["doc-subtitle",oe.default],["doc-tip",q.default],["doc-toc",H.default]],ee=ne;e.default=ee}),i8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),s8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),a8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),l8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(i8()),r=o(s8()),n=o(a8());function o(a){return a&&a.__esModule?a:{default:a}}l(o,"_interopRequireDefault");var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],s=i;e.default=s}),av=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(UK()),r=s(bW()),n=s(o8()),o=s(l8()),i=s($u());function s(v){return v&&v.__esModule?v:{default:v}}l(s,"_interopRequireDefault");function a(v,S,T){return S in v?Object.defineProperty(v,S,{value:T,enumerable:!0,configurable:!0,writable:!0}):v[S]=T,v}l(a,"_defineProperty");function u(v,S){var T=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!T){if(Array.isArray(v)||(T=p(v))||S&&v&&typeof v.length=="number"){T&&(v=T);var O=0,C=l(function(){},"F");return{s:C,n:l(function(){return O>=v.length?{done:!0}:{done:!1,value:v[O++]}},"n"),e:l(function(R){throw R},"e"),f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
22
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,w=!1,_;return{s:l(function(){T=T.call(v)},"s"),n:l(function(){var R=T.next();return E=R.done,R},"n"),e:l(function(R){w=!0,_=R},"e"),f:l(function(){try{!E&&T.return!=null&&T.return()}finally{if(w)throw _}},"f")}}l(u,"_createForOfIteratorHelper");function c(v,S){return m(v)||f(v,S)||p(v,S)||d()}l(c,"_slicedToArray");function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
23
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(d,"_nonIterableRest");function p(v,S){if(v){if(typeof v=="string")return h(v,S);var T=Object.prototype.toString.call(v).slice(8,-1);if(T==="Object"&&v.constructor&&(T=v.constructor.name),T==="Map"||T==="Set")return Array.from(v);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return h(v,S)}}l(p,"_unsupportedIterableToArray");function h(v,S){(S==null||S>v.length)&&(S=v.length);for(var T=0,O=new Array(S);T<S;T++)O[T]=v[T];return O}l(h,"_arrayLikeToArray");function f(v,S){var T=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(T!=null){var O=[],C=!0,E=!1,w,_;try{for(T=T.call(v);!(C=(w=T.next()).done)&&(O.push(w.value),!(S&&O.length===S));C=!0);}catch(R){E=!0,_=R}finally{try{!C&&T.return!=null&&T.return()}finally{if(E)throw _}}return O}}l(f,"_iterableToArrayLimit");function m(v){if(Array.isArray(v))return v}l(m,"_arrayWithHoles");var y=[].concat(t.default,r.default,n.default,o.default);y.forEach(function(v){var S=c(v,2),T=S[1],O=u(T.superClass),C;try{for(O.s();!(C=O.n()).done;){var E=C.value,w=u(E),_;try{var R=l(function(){var N=_.value,j=y.find(function(z){var J=c(z,1),ie=J[0];return ie===N});if(j)for(var D=j[1],P=0,M=Object.keys(D.props);P<M.length;P++){var k=M[P];Object.prototype.hasOwnProperty.call(T.props,k)||Object.assign(T.props,a({},k,D.props[k]))}},"_loop");for(w.s();!(_=w.n()).done;)R()}catch(N){w.e(N)}finally{w.f()}}}catch(N){O.e(N)}finally{O.f()}});var g={entries:l(function(){return y},"entries"),forEach:l(function(v){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=u(y),O;try{for(T.s();!(O=T.n()).done;){var C=c(O.value,2),E=C[0],w=C[1];v.call(S,w,E,y)}}catch(_){T.e(_)}finally{T.f()}},"forEach"),get:l(function(v){var S=y.find(function(T){return T[0]===v});return S&&S[1]},"get"),has:l(function(v){return!!g.get(v)},"has"),keys:l(function(){return y.map(function(v){var S=c(v,1),T=S[0];return T})},"keys"),values:l(function(){return y.map(function(v){var S=c(v,2),T=S[1];return T})},"values")},b=(0,i.default)(g,g.entries());e.default=b}),$P={};mr($P,{dequal:()=>Sd});function Sd(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Sd(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(dy.call(e,r)&&++n&&!dy.call(t,r)||!(r in t)||!Sd(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var dy,u8=nJ(()=>{dy=Object.prototype.hasOwnProperty,l(Sd,"dequal")}),c8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(u8(),oJ($P)),r=o($u()),n=o(av());function o(C){return C&&C.__esModule?C:{default:C}}l(o,"_interopRequireDefault");function i(C,E){return u(C)||a(C,E)||d(C,E)||s()}l(i,"_slicedToArray");function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
24
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(s,"_nonIterableRest");function a(C,E){var w=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(w!=null){var _=[],R=!0,N=!1,j,D;try{for(w=w.call(C);!(R=(j=w.next()).done)&&(_.push(j.value),!(E&&_.length===E));R=!0);}catch(P){N=!0,D=P}finally{try{!R&&w.return!=null&&w.return()}finally{if(N)throw D}}return _}}l(a,"_iterableToArrayLimit");function u(C){if(Array.isArray(C))return C}l(u,"_arrayWithHoles");function c(C,E){var w=typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(!w){if(Array.isArray(C)||(w=d(C))||E&&C&&typeof C.length=="number"){w&&(C=w);var _=0,R=l(function(){},"F");return{s:R,n:l(function(){return _>=C.length?{done:!0}:{done:!1,value:C[_++]}},"n"),e:l(function(P){throw P},"e"),f:R}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
25
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,j=!1,D;return{s:l(function(){w=w.call(C)},"s"),n:l(function(){var P=w.next();return N=P.done,P},"n"),e:l(function(P){j=!0,D=P},"e"),f:l(function(){try{!N&&w.return!=null&&w.return()}finally{if(j)throw D}},"f")}}l(c,"_createForOfIteratorHelper");function d(C,E){if(C){if(typeof C=="string")return p(C,E);var w=Object.prototype.toString.call(C).slice(8,-1);if(w==="Object"&&C.constructor&&(w=C.constructor.name),w==="Map"||w==="Set")return Array.from(C);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return p(C,E)}}l(d,"_unsupportedIterableToArray");function p(C,E){(E==null||E>C.length)&&(E=C.length);for(var w=0,_=new Array(E);w<E;w++)_[w]=C[w];return _}l(p,"_arrayLikeToArray");var h=[],f=n.default.keys();for(S=0;S<f.length;S++)if(m=f[S],y=n.default.get(m),y)for(g=[].concat(y.baseConcepts,y.relatedConcepts),v=0;v<g.length;v++)b=g[v],b.module==="HTML"&&(function(){var C=b.concept;if(C){var E=h.find(function(N){return(0,t.dequal)(N,C)}),w;E?w=E[1]:w=[];for(var _=!0,R=0;R<w.length;R++)if(w[R]===m){_=!1;break}_&&w.push(m),h.push([C,w])}})();var m,y,g,b,v,S,T={entries:l(function(){return h},"entries"),forEach:l(function(C){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=c(h),_;try{for(w.s();!(_=w.n()).done;){var R=i(_.value,2),N=R[0],j=R[1];C.call(E,j,N,h)}}catch(D){w.e(D)}finally{w.f()}},"forEach"),get:l(function(C){var E=h.find(function(w){return C.name===w[0].name&&(0,t.dequal)(C.attributes,w[0].attributes)});return E&&E[1]},"get"),has:l(function(C){return!!T.get(C)},"has"),keys:l(function(){return h.map(function(C){var E=i(C,1),w=E[0];return w})},"keys"),values:l(function(){return h.map(function(C){var E=i(C,2),w=E[1];return w})},"values")},O=(0,r.default)(T,T.entries());e.default=O}),d8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n($u()),r=n(av());function n(E){return E&&E.__esModule?E:{default:E}}l(n,"_interopRequireDefault");function o(E,w){return a(E)||s(E,w)||c(E,w)||i()}l(o,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
26
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(i,"_nonIterableRest");function s(E,w){var _=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(_!=null){var R=[],N=!0,j=!1,D,P;try{for(_=_.call(E);!(N=(D=_.next()).done)&&(R.push(D.value),!(w&&R.length===w));N=!0);}catch(M){j=!0,P=M}finally{try{!N&&_.return!=null&&_.return()}finally{if(j)throw P}}return R}}l(s,"_iterableToArrayLimit");function a(E){if(Array.isArray(E))return E}l(a,"_arrayWithHoles");function u(E,w){var _=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!_){if(Array.isArray(E)||(_=c(E))||w&&E&&typeof E.length=="number"){_&&(E=_);var R=0,N=l(function(){},"F");return{s:N,n:l(function(){return R>=E.length?{done:!0}:{done:!1,value:E[R++]}},"n"),e:l(function(M){throw M},"e"),f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
27
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=!0,D=!1,P;return{s:l(function(){_=_.call(E)},"s"),n:l(function(){var M=_.next();return j=M.done,M},"n"),e:l(function(M){D=!0,P=M},"e"),f:l(function(){try{!j&&_.return!=null&&_.return()}finally{if(D)throw P}},"f")}}l(u,"_createForOfIteratorHelper");function c(E,w){if(E){if(typeof E=="string")return d(E,w);var _=Object.prototype.toString.call(E).slice(8,-1);if(_==="Object"&&E.constructor&&(_=E.constructor.name),_==="Map"||_==="Set")return Array.from(E);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return d(E,w)}}l(c,"_unsupportedIterableToArray");function d(E,w){(w==null||w>E.length)&&(w=E.length);for(var _=0,R=new Array(w);_<w;_++)R[_]=E[_];return R}l(d,"_arrayLikeToArray");var p=[],h=r.default.keys();for(T=0;T<h.length;T++)if(f=h[T],m=r.default.get(f),y=[],m){for(g=[].concat(m.baseConcepts,m.relatedConcepts),S=0;S<g.length;S++)b=g[S],b.module==="HTML"&&(v=b.concept,v!=null&&y.push(v));y.length>0&&p.push([f,y])}var f,m,y,g,b,v,S,T,O={entries:l(function(){return p},"entries"),forEach:l(function(E){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=u(p),R;try{for(_.s();!(R=_.n()).done;){var N=o(R.value,2),j=N[0],D=N[1];E.call(w,D,j,p)}}catch(P){_.e(P)}finally{_.f()}},"forEach"),get:l(function(E){var w=p.find(function(_){return _[0]===E});return w&&w[1]},"get"),has:l(function(E){return!!O.get(E)},"has"),keys:l(function(){return p.map(function(E){var w=o(E,1),_=w[0];return _})},"keys"),values:l(function(){return p.map(function(E){var w=o(E,2),_=w[1];return _})},"values")},C=(0,t.default)(O,O.entries());e.default=C}),p8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(PK()),r=s(AK()),n=s(av()),o=s(c8()),i=s(d8());function s(h){return h&&h.__esModule?h:{default:h}}l(s,"_interopRequireDefault");var a=t.default;e.aria=a;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var d=o.default;e.elementRoles=d;var p=i.default;e.roleElements=p}),f8=A((e,t)=>{var r=(function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function a(c,d){if(!s[c]){s[c]={};for(var p=0;p<c.length;p++)s[c][c.charAt(p)]=p}return s[c][d]}l(a,"getBaseValue");var u={compressToBase64:l(function(c){if(c==null)return"";var d=u._compress(c,6,function(p){return o.charAt(p)});switch(d.length%4){default:case 0:return d;case 1:return d+"===";case 2:return d+"==";case 3:return d+"="}},"compressToBase64"),decompressFromBase64:l(function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(d){return a(o,c.charAt(d))})},"decompressFromBase64"),compressToUTF16:l(function(c){return c==null?"":u._compress(c,15,function(d){return n(d+32)})+" "},"compressToUTF16"),decompressFromUTF16:l(function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(d){return c.charCodeAt(d)-32})},"decompressFromUTF16"),compressToUint8Array:l(function(c){for(var d=u.compress(c),p=new Uint8Array(d.length*2),h=0,f=d.length;h<f;h++){var m=d.charCodeAt(h);p[h*2]=m>>>8,p[h*2+1]=m%256}return p},"compressToUint8Array"),decompressFromUint8Array:l(function(c){if(c==null)return u.decompress(c);for(var d=new Array(c.length/2),p=0,h=d.length;p<h;p++)d[p]=c[p*2]*256+c[p*2+1];var f=[];return d.forEach(function(m){f.push(n(m))}),u.decompress(f.join(""))},"decompressFromUint8Array"),compressToEncodedURIComponent:l(function(c){return c==null?"":u._compress(c,6,function(d){return i.charAt(d)})},"compressToEncodedURIComponent"),decompressFromEncodedURIComponent:l(function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(d){return a(i,c.charAt(d))}))},"decompressFromEncodedURIComponent"),compress:l(function(c){return u._compress(c,16,function(d){return n(d)})},"compress"),_compress:l(function(c,d,p){if(c==null)return"";var h,f,m={},y={},g="",b="",v="",S=2,T=3,O=2,C=[],E=0,w=0,_;for(_=0;_<c.length;_+=1)if(g=c.charAt(_),Object.prototype.hasOwnProperty.call(m,g)||(m[g]=T++,y[g]=!0),b=v+g,Object.prototype.hasOwnProperty.call(m,b))v=b;else{if(Object.prototype.hasOwnProperty.call(y,v)){if(v.charCodeAt(0)<256){for(h=0;h<O;h++)E=E<<1,w==d-1?(w=0,C.push(p(E)),E=0):w++;for(f=v.charCodeAt(0),h=0;h<8;h++)E=E<<1|f&1,w==d-1?(w=0,C.push(p(E)),E=0):w++,f=f>>1}else{for(f=1,h=0;h<O;h++)E=E<<1|f,w==d-1?(w=0,C.push(p(E)),E=0):w++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)E=E<<1|f&1,w==d-1?(w=0,C.push(p(E)),E=0):w++,f=f>>1}S--,S==0&&(S=Math.pow(2,O),O++),delete y[v]}else for(f=m[v],h=0;h<O;h++)E=E<<1|f&1,w==d-1?(w=0,C.push(p(E)),E=0):w++,f=f>>1;S--,S==0&&(S=Math.pow(2,O),O++),m[b]=T++,v=String(g)}if(v!==""){if(Object.prototype.hasOwnProperty.call(y,v)){if(v.charCodeAt(0)<256){for(h=0;h<O;h++)E=E<<1,w==d-1?(w=0,C.push(p(E)),E=0):w++;for(f=v.charCodeAt(0),h=0;h<8;h++)E=E<<1|f&1,w==d-1?(w=0,C.push(p(E)),E=0):w++,f=f>>1}else{for(f=1,h=0;h<O;h++)E=E<<1|f,w==d-1?(w=0,C.push(p(E)),E=0):w++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)E=E<<1|f&1,w==d-1?(w=0,C.push(p(E)),E=0):w++,f=f>>1}S--,S==0&&(S=Math.pow(2,O),O++),delete y[v]}else for(f=m[v],h=0;h<O;h++)E=E<<1|f&1,w==d-1?(w=0,C.push(p(E)),E=0):w++,f=f>>1;S--,S==0&&(S=Math.pow(2,O),O++)}for(f=2,h=0;h<O;h++)E=E<<1|f&1,w==d-1?(w=0,C.push(p(E)),E=0):w++,f=f>>1;for(;;)if(E=E<<1,w==d-1){C.push(p(E));break}else w++;return C.join("")},"_compress"),decompress:l(function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(d){return c.charCodeAt(d)})},"decompress"),_decompress:l(function(c,d,p){var h=[],f=4,m=4,y=3,g="",b=[],v,S,T,O,C,E,w,_={val:p(0),position:d,index:1};for(v=0;v<3;v+=1)h[v]=v;for(T=0,C=Math.pow(2,2),E=1;E!=C;)O=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(O>0?1:0)*E,E<<=1;switch(T){case 0:for(T=0,C=Math.pow(2,8),E=1;E!=C;)O=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(O>0?1:0)*E,E<<=1;w=n(T);break;case 1:for(T=0,C=Math.pow(2,16),E=1;E!=C;)O=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(O>0?1:0)*E,E<<=1;w=n(T);break;case 2:return""}for(h[3]=w,S=w,b.push(w);;){if(_.index>c)return"";for(T=0,C=Math.pow(2,y),E=1;E!=C;)O=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(O>0?1:0)*E,E<<=1;switch(w=T){case 0:for(T=0,C=Math.pow(2,8),E=1;E!=C;)O=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(O>0?1:0)*E,E<<=1;h[m++]=n(T),w=m-1,f--;break;case 1:for(T=0,C=Math.pow(2,16),E=1;E!=C;)O=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(O>0?1:0)*E,E<<=1;h[m++]=n(T),w=m-1,f--;break;case 2:return b.join("")}if(f==0&&(f=Math.pow(2,y),y++),h[w])g=h[w];else if(w===m)g=S+S.charAt(0);else return null;b.push(g),h[m++]=S+g.charAt(0),f--,S=g,f==0&&(f=Math.pow(2,y),y++)}},"_decompress")};return u})();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}),h8=A(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 l(function s(a,u,c){var d,p,h,f=t.call(a),m=t.call(u);if(a===u)return!0;if(a==null||u==null)return!1;if(c.indexOf(a)>-1&&c.indexOf(u)>-1)return!0;if(c.push(a,u),f!=m||(d=n(a),p=n(u),d.length!=p.length||d.some(function(y){return!s(a[y],u[y],c)})))return!1;switch(f.slice(8,-1)){case"Symbol":return a.valueOf()==u.valueOf();case"Date":case"Number":return+a==+u||+a!=+a&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+a==""+u;case"Set":case"Map":d=a.entries(),p=u.entries();do if(!s((h=d.next()).value,p.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":a=new Uint8Array(a),u=new Uint8Array(u);case"DataView":a=new Uint8Array(a.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(a.length!=u.length)return!1;for(h=0;h<a.length;h++)if((h in a||h in u)&&(h in a!=h in u||!s(a[h],u[h],c)))return!1;return!0;case"Object":return s(r(a),r(u),c);default:return!1}},"n")(o,i,[])}})()}),DP=A(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 s="",a=0,u=0;e:for(;u<i;u++){let c=o.charCodeAt(u);for(;c<128;){if(r[c]!==1&&(a<u&&(s+=o.slice(a,u)),a=u+1,s+=t[c]),++u===i)break e;c=o.charCodeAt(u)}if(a<u&&(s+=o.slice(a,u)),c<2048){a=u+1,s+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){a=u+1,s+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=i)throw new Error("URI malformed");let d=o.charCodeAt(u)&1023;a=u+1,c=65536+((c&1023)<<10|d),s+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return a===0?o:a<i?s+o.slice(a):s}l(n,"encodeString")}),lv=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=DP(),r=l(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=l(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=l(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),FP=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=lv(),r=DP();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}l(n,"isPrototypeKey");function o(p,h,f,m,y){if(n(h))return p;let g=p[h];return typeof g=="object"&&g!==null?g:!m&&(y||typeof f=="number"||typeof f=="string"&&f*0===0&&f.indexOf(".")===-1)?p[h]=[]:p[h]={}}l(o,"getDeepObject");var i=20,s="[]",a="[",u="]",c=".";function d(p,h,f=0,m,y){let{nestingSyntax:g=t.defaultOptions.nestingSyntax,arrayRepeat:b=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:v=t.defaultOptions.arrayRepeatSyntax,nesting:S=t.defaultOptions.nesting,delimiter:T=t.defaultOptions.delimiter,valueSerializer:O=t.defaultOptions.valueSerializer,shouldSerializeObject:C=t.defaultOptions.shouldSerializeObject}=h,E=typeof T=="number"?String.fromCharCode(T):T,w=y===!0&&b,_=g==="dot"||g==="js"&&!y;if(f>i)return"";let R="",N=!0,j=!1;for(let D in p){let P=p[D],M;m?(M=m,w?v==="bracket"&&(M+=s):_?(M+=c,M+=D):(M+=a,M+=D,M+=u)):M=D,N||(R+=E),typeof P=="object"&&P!==null&&!C(P)?(j=P.pop!==void 0,(S||b&&j)&&(R+=d(P,h,f+1,M,j))):(R+=(0,r.encodeString)(M),R+="=",R+=O(P,D)),N&&(N=!1)}return R}l(d,"stringifyObject")}),m8=A((e,t)=>{var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function i(u){var c=u.indexOf("%");if(c===-1)return u;for(var d=u.length,p="",h=0,f=0,m=c,y=r;c>-1&&c<d;){var g=a(u[c+1],4),b=a(u[c+2],0),v=g|b,S=o[v];if(y=o[256+y+S],f=f<<6|v&o[364+S],y===r)p+=u.slice(h,m),p+=f<=65535?String.fromCharCode(f):String.fromCharCode(55232+(f>>10),56320+(f&1023)),f=0,h=c+3,c=m=u.indexOf("%",h);else{if(y===n)return null;if(c+=3,c<d&&u.charCodeAt(c)===37)continue;return null}}return p+u.slice(h)}l(i,"decodeURIComponent");var s={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(u,c){var d=s[u];return d===void 0?255:d<<c}l(a,"hexCodeToInt"),t.exports=i}),y8=A(e=>{var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var r=FP(),n=lv(),o=t(m8()),i=l(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=i;var s=l(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=s;var a=/\+/g,u=l(function(){},"Empty");u.prototype=Object.create(null);function c(p,h,f,m,y){let g=p.substring(h,f);return m&&(g=g.replace(a," ")),y&&(g=(0,o.default)(g)||g),g}l(c,"computeKeySlice");function d(p,h){let{valueDeserializer:f=n.defaultOptions.valueDeserializer,keyDeserializer:m=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:y=n.defaultOptions.arrayRepeatSyntax,nesting:g=n.defaultOptions.nesting,arrayRepeat:b=n.defaultOptions.arrayRepeat,nestingSyntax:v=n.defaultOptions.nestingSyntax,delimiter:S=n.defaultOptions.delimiter}=h??{},T=typeof S=="string"?S.charCodeAt(0):S,O=v==="js",C=new u;if(typeof p!="string")return C;let E=p.length,w="",_=-1,R=-1,N=-1,j=C,D,P="",M="",k=!1,z=!1,J=!1,ie=!1,pe=!1,oe=!1,q=!1,H=0,X=-1,ne=-1,ee=-1;for(let le=0;le<E+1;le++){if(H=le!==E?p.charCodeAt(le):T,H===T){if(q=R>_,q||(R=le),N!==R-1&&(M=c(p,N+1,X>-1?X:R,J,k),P=m(M),D!==void 0&&(j=(0,r.getDeepObject)(j,D,P,O&&pe,O&&oe))),q||P!==""){q&&(w=p.slice(R+1,le),ie&&(w=w.replace(a," ")),z&&(w=(0,o.default)(w)||w));let ye=f(w,P);if(b){let Ie=j[P];Ie===void 0?X>-1?j[P]=[ye]:j[P]=ye:Ie.pop?Ie.push(ye):j[P]=[Ie,ye]}else j[P]=ye}w="",_=le,R=le,k=!1,z=!1,J=!1,ie=!1,pe=!1,oe=!1,X=-1,N=le,j=C,D=void 0,P=""}else H===93?(b&&y==="bracket"&&ee===91&&(X=ne),g&&(v==="index"||O)&&R<=_&&(N!==ne&&(M=c(p,N+1,le,J,k),P=m(M),D!==void 0&&(j=(0,r.getDeepObject)(j,D,P,void 0,O)),D=P,J=!1,k=!1),N=le,oe=!0,pe=!1)):H===46?g&&(v==="dot"||O)&&R<=_&&(N!==ne&&(M=c(p,N+1,le,J,k),P=m(M),D!==void 0&&(j=(0,r.getDeepObject)(j,D,P,O)),D=P,J=!1,k=!1),pe=!0,oe=!1,N=le):H===91?g&&(v==="index"||O)&&R<=_&&(N!==ne&&(M=c(p,N+1,le,J,k),P=m(M),O&&D!==void 0&&(j=(0,r.getDeepObject)(j,D,P,O)),D=P,J=!1,k=!1,pe=!1,oe=!0),N=le):H===61?R<=_?R=le:z=!0:H===43?R>_?ie=!0:J=!0:H===37&&(R>_?z=!0:k=!0);ne=le,ee=H}return C}l(d,"parse")}),g8=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=FP();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}l(r,"stringify")}),uv=A(e=>{var t=e&&e.__createBinding||(Object.create?function(i,s,a,u){u===void 0&&(u=a);var c=Object.getOwnPropertyDescriptor(s,a);(!c||("get"in c?!s.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:l(function(){return s[a]},"get")}),Object.defineProperty(i,u,c)}:function(i,s,a,u){u===void 0&&(u=a),i[u]=s[a]}),r=e&&e.__exportStar||function(i,s){for(var a in i)a!=="default"&&!Object.prototype.hasOwnProperty.call(s,a)&&t(s,i,a)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=y8();Object.defineProperty(e,"parse",{enumerable:!0,get:l(function(){return n.parse},"get")});var o=g8();Object.defineProperty(e,"stringify",{enumerable:!0,get:l(function(){return o.stringify},"get")}),r(lv(),e)}),BP=A((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:`
|
|
28
|
+
`,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:""}}),b8=A((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:"ÿ"}}),UP=A((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),v8=A((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}}),E8=A(e=>{var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(v8()),n=String.fromCodePoint||function(i){var s="";return i>65535&&(i-=65536,s+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),s+=String.fromCharCode(i),s};function o(i){return i>=55296&&i<=57343||i>1114111?"�":(i in r.default&&(i=r.default[i]),n(i))}l(o,"decodeCodePoint"),e.default=o}),PT=A(e=>{var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(BP()),n=t(b8()),o=t(UP()),i=t(E8()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=a(o.default),e.decodeHTMLStrict=a(r.default);function a(d){var p=c(d);return function(h){return String(h).replace(s,p)}}l(a,"getStrictDecoder");var u=l(function(d,p){return d<p?1:-1},"sorter");e.decodeHTML=(function(){for(var d=Object.keys(n.default).sort(u),p=Object.keys(r.default).sort(u),h=0,f=0;h<p.length;h++)d[f]===p[h]?(p[h]+=";?",f++):p[h]+=";";var m=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),y=c(r.default);function g(b){return b.substr(-1)!==";"&&(b+=";"),y(b)}return l(g,"replacer"),function(b){return String(b).replace(m,g)}})();function c(d){return l(function(p){if(p.charAt(1)==="#"){var h=p.charAt(2);return h==="X"||h==="x"?i.default(parseInt(p.substr(3),16)):i.default(parseInt(p.substr(2),10))}return d[p.slice(1,-1)]||p},"replace")}l(c,"getReplacer")}),AT=A(e=>{var t=e&&e.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(UP()),n=u(r.default),o=c(n);e.encodeXML=b(n);var i=t(BP()),s=u(i.default),a=c(s);e.encodeHTML=f(s,a),e.encodeNonAsciiHTML=b(s);function u(v){return Object.keys(v).sort().reduce(function(S,T){return S[v[T]]="&"+T+";",S},{})}l(u,"getInverseObj");function c(v){for(var S=[],T=[],O=0,C=Object.keys(v);O<C.length;O++){var E=C[O];E.length===1?S.push("\\"+E):T.push(E)}S.sort();for(var w=0;w<S.length-1;w++){for(var _=w;_<S.length-1&&S[_].charCodeAt(1)+1===S[_+1].charCodeAt(1);)_+=1;var R=1+_-w;R<3||S.splice(w,R,S[w]+"-"+S[_])}return T.unshift("["+S.join("")+"]"),new RegExp(T.join("|"),"g")}l(c,"getInverseReplacer");var d=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=String.prototype.codePointAt!=null?(function(v){return v.codePointAt(0)}):(function(v){return(v.charCodeAt(0)-55296)*1024+v.charCodeAt(1)-56320+65536});function h(v){return"&#x"+(v.length>1?p(v):v.charCodeAt(0)).toString(16).toUpperCase()+";"}l(h,"singleCharReplacer");function f(v,S){return function(T){return T.replace(S,function(O){return v[O]}).replace(d,h)}}l(f,"getInverse");var m=new RegExp(o.source+"|"+d.source,"g");function y(v){return v.replace(m,h)}l(y,"escape"),e.escape=y;function g(v){return v.replace(o,h)}l(g,"escapeUTF8"),e.escapeUTF8=g;function b(v){return function(S){return S.replace(m,function(T){return v[T]||h(T)})}}l(b,"getASCIIEncoder")}),w8=A(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=PT(),r=AT();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}l(n,"decode"),e.decode=n;function o(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}l(o,"decodeStrict"),e.decodeStrict=o;function i(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}l(i,"encode"),e.encode=i;var s=AT();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:l(function(){return s.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:l(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:l(function(){return s.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:l(function(){return s.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:l(function(){return s.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:l(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:l(function(){return s.encodeHTML},"get")});var a=PT();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:l(function(){return a.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:l(function(){return a.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:l(function(){return a.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:l(function(){return a.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:l(function(){return a.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:l(function(){return a.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:l(function(){return a.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:l(function(){return a.decodeXML},"get")})}),S8=A((e,t)=>{function r(P,M){if(!(P instanceof M))throw new TypeError("Cannot call a class as a function")}l(r,"_classCallCheck");function n(P,M){for(var k=0;k<M.length;k++){var z=M[k];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(P,z.key,z)}}l(n,"_defineProperties");function o(P,M,k){return M&&n(P.prototype,M),k&&n(P,k),P}l(o,"_createClass");function i(P,M){var k=typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(!k){if(Array.isArray(P)||(k=s(P))||M&&P&&typeof P.length=="number"){k&&(P=k);var z=0,J=l(function(){},"F");return{s:J,n:l(function(){return z>=P.length?{done:!0}:{done:!1,value:P[z++]}},"n"),e:l(function(q){throw q},"e"),f:J}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
29
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ie=!0,pe=!1,oe;return{s:l(function(){k=k.call(P)},"s"),n:l(function(){var q=k.next();return ie=q.done,q},"n"),e:l(function(q){pe=!0,oe=q},"e"),f:l(function(){try{!ie&&k.return!=null&&k.return()}finally{if(pe)throw oe}},"f")}}l(i,"_createForOfIteratorHelper");function s(P,M){if(P){if(typeof P=="string")return a(P,M);var k=Object.prototype.toString.call(P).slice(8,-1);if(k==="Object"&&P.constructor&&(k=P.constructor.name),k==="Map"||k==="Set")return Array.from(P);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return a(P,M)}}l(s,"_unsupportedIterableToArray");function a(P,M){(M==null||M>P.length)&&(M=P.length);for(var k=0,z=new Array(M);k<M;k++)z[k]=P[k];return z}l(a,"_arrayLikeToArray");var u=w8(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:d()};function d(){var P={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 v(0,5).forEach(function(M){v(0,5).forEach(function(k){v(0,5).forEach(function(z){return p(M,k,z,P)})})}),v(0,23).forEach(function(M){var k=M+232,z=h(M*10+8);P[k]="#"+z+z+z}),P}l(d,"getDefaultColors");function p(P,M,k,z){var J=16+P*36+M*6+k,ie=P>0?P*40+55:0,pe=M>0?M*40+55:0,oe=k>0?k*40+55:0;z[J]=f([ie,pe,oe])}l(p,"setStyleColor");function h(P){for(var M=P.toString(16);M.length<2;)M="0"+M;return M}l(h,"toHexString");function f(P){var M=[],k=i(P),z;try{for(k.s();!(z=k.n()).done;){var J=z.value;M.push(h(J))}}catch(ie){k.e(ie)}finally{k.f()}return"#"+M.join("")}l(f,"toColorHexString");function m(P,M,k,z){var J;return M==="text"?J=O(k,z):M==="display"?J=g(P,k,z):M==="xterm256Foreground"?J=w(P,z.colors[k]):M==="xterm256Background"?J=_(P,z.colors[k]):M==="rgb"&&(J=y(P,k)),J}l(m,"generateOutput");function y(P,M){M=M.substring(2).slice(0,-1);var k=+M.substr(0,2),z=M.substring(5).split(";"),J=z.map(function(ie){return("0"+Number(ie).toString(16)).substr(-2)}).join("");return E(P,(k===38?"color:#":"background-color:#")+J)}l(y,"handleRgb");function g(P,M,k){M=parseInt(M,10);var z={"-1":l(function(){return"<br/>"},"_"),0:l(function(){return P.length&&b(P)},"_"),1:l(function(){return C(P,"b")},"_"),3:l(function(){return C(P,"i")},"_"),4:l(function(){return C(P,"u")},"_"),8:l(function(){return E(P,"display:none")},"_"),9:l(function(){return C(P,"strike")},"_"),22:l(function(){return E(P,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:l(function(){return R(P,"i")},"_"),24:l(function(){return R(P,"u")},"_"),39:l(function(){return w(P,k.fg)},"_"),49:l(function(){return _(P,k.bg)},"_"),53:l(function(){return E(P,"text-decoration:overline")},"_")},J;return z[M]?J=z[M]():4<M&&M<7?J=C(P,"blink"):29<M&&M<38?J=w(P,k.colors[M-30]):39<M&&M<48?J=_(P,k.colors[M-40]):89<M&&M<98?J=w(P,k.colors[8+(M-90)]):99<M&&M<108&&(J=_(P,k.colors[8+(M-100)])),J}l(g,"handleDisplay");function b(P){var M=P.slice(0);return P.length=0,M.reverse().map(function(k){return"</"+k+">"}).join("")}l(b,"resetStyles");function v(P,M){for(var k=[],z=P;z<=M;z++)k.push(z);return k}l(v,"range");function S(P){return function(M){return(P===null||M.category!==P)&&P!=="all"}}l(S,"notCategory");function T(P){P=parseInt(P,10);var M=null;return P===0?M="all":P===1?M="bold":2<P&&P<5?M="underline":4<P&&P<7?M="blink":P===8?M="hide":P===9?M="strike":29<P&&P<38||P===39||89<P&&P<98?M="foreground-color":(39<P&&P<48||P===49||99<P&&P<108)&&(M="background-color"),M}l(T,"categoryForCode");function O(P,M){return M.escapeXML?u.encodeXML(P):P}l(O,"pushText");function C(P,M,k){return k||(k=""),P.push(M),"<".concat(M).concat(k?' style="'.concat(k,'"'):"",">")}l(C,"pushTag");function E(P,M){return C(P,"span",M)}l(E,"pushStyle");function w(P,M){return C(P,"span","color:"+M)}l(w,"pushForegroundColor");function _(P,M){return C(P,"span","background-color:"+M)}l(_,"pushBackgroundColor");function R(P,M){var k;if(P.slice(-1)[0]===M&&(k=P.pop()),k)return"</"+M+">"}l(R,"closeTag");function N(P,M,k){var z=!1,J=3;function ie(){return""}l(ie,"remove");function pe(G,re){return k("xterm256Foreground",re),""}l(pe,"removeXterm256Foreground");function oe(G,re){return k("xterm256Background",re),""}l(oe,"removeXterm256Background");function q(G){return M.newline?k("display",-1):k("text",G),""}l(q,"newline");function H(G,re){z=!0,re.trim().length===0&&(re="0"),re=re.trimRight(";").split(";");var te=i(re),se;try{for(te.s();!(se=te.n()).done;){var ue=se.value;k("display",ue)}}catch(ce){te.e(ce)}finally{te.f()}return""}l(H,"ansiMess");function X(G){return k("text",G),""}l(X,"realText");function ne(G){return k("rgb",G),""}l(ne,"rgb");var ee=[{pattern:/^\x08+/,sub:ie},{pattern:/^\x1b\[[012]?K/,sub:ie},{pattern:/^\x1b\[\(B/,sub:ie},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:ne},{pattern:/^\x1b\[38;5;(\d+)m/,sub:pe},{pattern:/^\x1b\[48;5;(\d+)m/,sub:oe},{pattern:/^\n/,sub:q},{pattern:/^\r+\n/,sub:q},{pattern:/^\r/,sub:q},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:H},{pattern:/^\x1b\[\d?J/,sub:ie},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:ie},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:ie},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:X}];function le(G,re){re>J&&z||(z=!1,P=P.replace(G.pattern,G.sub))}l(le,"process");var ye=[],Ie=P,Te=Ie.length;e:for(;Te>0;){for(var K=0,fe=0,$=ee.length;fe<$;K=++fe){var V=ee[K];if(le(V,K),P.length!==Te){Te=P.length;continue e}}if(P.length===Te)break;ye.push(0),Te=P.length}return ye}l(N,"tokenize");function j(P,M,k){return M!=="text"&&(P=P.filter(S(T(k))),P.push({token:M,data:k,category:T(k)})),P}l(j,"updateStickyStack");var D=(function(){function P(M){r(this,P),M=M||{},M.colors&&(M.colors=Object.assign({},c.colors,M.colors)),this.options=Object.assign({},c,M),this.stack=[],this.stickyStack=[]}return l(P,"Filter"),o(P,[{key:"toHtml",value:l(function(M){var k=this;M=typeof M=="string"?[M]:M;var z=this.stack,J=this.options,ie=[];return this.stickyStack.forEach(function(pe){var oe=m(z,pe.token,pe.data,J);oe&&ie.push(oe)}),N(M.join(""),J,function(pe,oe){var q=m(z,pe,oe,J);q&&ie.push(q),J.stream&&(k.stickyStack=j(k.stickyStack,pe,oe))}),z.length&&ie.push(b(z)),ie.join("")},"toHtml")}]),P})();t.exports=D}),x8=A((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(u,c){for(var d=0;d<c.length;d++){var p=c[d];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(u,(h=p.key,f=void 0,typeof(f=(function(m,y){if(typeof m!="object"||m===null)return m;var g=m[Symbol.toPrimitive];if(g!==void 0){var b=g.call(m,y);if(typeof b!="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(m)})(h,"string"))=="symbol"?f:String(f)),p)}var h,f}l(r,"e");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=l(function(u){var c=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),d=Number(u).toString().match(c);return d?d[0]:null},"n"),s=l(function(){return typeof window<"u"?window.navigator:null},"i"),a=(function(){function u(h){var f;(function(m,y){if(!(m instanceof y))throw new TypeError("Cannot call a class as a function")})(this,u),this.userAgent=h||((f=s())===null||f===void 0?void 0:f.userAgent)||null}l(u,"t");var c,d,p;return c=u,d=[{key:"parseUserAgent",value:l(function(h){var f,m,y,g={},b=h||this.userAgent||"",v=b.toLowerCase().replace(/\s\s+/g," "),S=/(edge)\/([\w.]+)/.exec(v)||/(edg)[/]([\w.]+)/.exec(v)||/(opr)[/]([\w.]+)/.exec(v)||/(opt)[/]([\w.]+)/.exec(v)||/(fxios)[/]([\w.]+)/.exec(v)||/(edgios)[/]([\w.]+)/.exec(v)||/(jsdom)[/]([\w.]+)/.exec(v)||/(samsungbrowser)[/]([\w.]+)/.exec(v)||/(electron)[/]([\w.]+)/.exec(v)||/(chrome)[/]([\w.]+)/.exec(v)||/(crios)[/]([\w.]+)/.exec(v)||/(opios)[/]([\w.]+)/.exec(v)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+)/.exec(v)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(v)||/(msie) ([\w.]+)/.exec(v)||/(fennec)[/]([\w.]+)/.exec(v)||v.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(v)||v.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(v)||[],T=/(ipad)/.exec(v)||/(ipod)/.exec(v)||/(iphone)/.exec(v)||/(jsdom)/.exec(v)||/(windows phone)/.exec(v)||/(xbox)/.exec(v)||/(win)/.exec(v)||/(tablet)/.exec(v)||/(android)/.test(v)&&/(mobile)/.test(v)===!1&&["androidTablet"]||/(android)/.exec(v)||/(mac)/.exec(v)||/(linux)/.exec(v)||/(cros)/.exec(v)||[],O=S[5]||S[3]||S[1]||null,C=T[0]||null,E=S[4]||S[2]||null,w=s();O==="chrome"&&typeof(w==null||(f=w.brave)===null||f===void 0?void 0:f.isBrave)=="function"&&(O="brave"),O&&(g[O]=!0),C&&(g[C]=!0);var _=!!(g.tablet||g.android||g.androidTablet),R=!!(g.ipad||g.tablet||g.androidTablet),N=!!(g.android||g.androidTablet||g.tablet||g.ipad||g.ipod||g.iphone||g["windows phone"]),j=!!(g.cros||g.mac||g.linux||g.win),D=!!(g.brave||g.chrome||g.crios||g.opr||g.safari||g.edg||g.electron),P=!!(g.msie||g.rv);return{name:(m=n[O])!==null&&m!==void 0?m:null,platform:(y=o[C])!==null&&y!==void 0?y:null,userAgent:b,version:E,shortVersion:E?i(parseFloat(E),2):null,isAndroid:_,isTablet:R,isMobile:N,isDesktop:j,isWebkit:D,isIE:P}},"value")},{key:"getBrowserInfo",value:l(function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}},"value")}],p=[{key:"VERSION",get:l(function(){return"3.4.0"},"get")}],d&&r(c.prototype,d),p&&r(c,p),Object.defineProperty(c,"prototype",{writable:!1}),u})();return a})}),cv={};mr(cv,{ARGTYPES_INFO_REQUEST:()=>a1,ARGTYPES_INFO_RESPONSE:()=>my,CHANNEL_CREATED:()=>C8,CHANNEL_WS_DISCONNECT:()=>VP,CONFIG_ERROR:()=>HP,CREATE_NEW_STORYFILE_REQUEST:()=>_8,CREATE_NEW_STORYFILE_RESPONSE:()=>O8,CURRENT_STORY_WAS_SET:()=>py,DOCS_PREPARED:()=>JP,DOCS_RENDERED:()=>pv,FILE_COMPONENT_SEARCH_REQUEST:()=>P8,FILE_COMPONENT_SEARCH_RESPONSE:()=>A8,FORCE_REMOUNT:()=>xd,FORCE_RE_RENDER:()=>fv,GLOBALS_UPDATED:()=>zl,NAVIGATE_URL:()=>R8,PLAY_FUNCTION_THREW_EXCEPTION:()=>zP,PRELOAD_ENTRIES:()=>GP,PREVIEW_BUILDER_PROGRESS:()=>N8,PREVIEW_KEYDOWN:()=>WP,REGISTER_SUBSCRIPTION:()=>I8,REQUEST_WHATS_NEW_DATA:()=>V8,RESET_STORY_ARGS:()=>hv,RESULT_WHATS_NEW_DATA:()=>H8,SAVE_STORY_REQUEST:()=>K8,SAVE_STORY_RESPONSE:()=>G8,SELECT_STORY:()=>M8,SET_CONFIG:()=>k8,SET_CURRENT_STORY:()=>mv,SET_FILTER:()=>j8,SET_GLOBALS:()=>YP,SET_INDEX:()=>q8,SET_STORIES:()=>L8,SET_WHATS_NEW_CACHE:()=>J8,SHARED_STATE_CHANGED:()=>$8,SHARED_STATE_SET:()=>D8,STORIES_COLLAPSE_ALL:()=>F8,STORIES_EXPAND_ALL:()=>B8,STORY_ARGS_UPDATED:()=>XP,STORY_CHANGED:()=>QP,STORY_ERRORED:()=>ZP,STORY_FINISHED:()=>hy,STORY_HOT_UPDATED:()=>U8,STORY_INDEX_INVALIDATED:()=>e1,STORY_MISSING:()=>fy,STORY_PREPARED:()=>t1,STORY_RENDERED:()=>Td,STORY_RENDER_PHASE_CHANGED:()=>Hi,STORY_SPECIFIED:()=>r1,STORY_THREW_EXCEPTION:()=>n1,STORY_UNCHANGED:()=>o1,TELEMETRY_ERROR:()=>s1,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>z8,UNHANDLED_ERRORS_WHILE_PLAYING:()=>KP,UPDATE_GLOBALS:()=>yv,UPDATE_QUERY_PARAMS:()=>i1,UPDATE_STORY_ARGS:()=>gv,default:()=>T8});var dv=(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_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))(dv||{}),T8=dv,{CHANNEL_WS_DISCONNECT:VP,CHANNEL_CREATED:C8,CONFIG_ERROR:HP,CREATE_NEW_STORYFILE_REQUEST:_8,CREATE_NEW_STORYFILE_RESPONSE:O8,CURRENT_STORY_WAS_SET:py,DOCS_PREPARED:JP,DOCS_RENDERED:pv,FILE_COMPONENT_SEARCH_REQUEST:P8,FILE_COMPONENT_SEARCH_RESPONSE:A8,FORCE_RE_RENDER:fv,FORCE_REMOUNT:xd,GLOBALS_UPDATED:zl,NAVIGATE_URL:R8,PLAY_FUNCTION_THREW_EXCEPTION:zP,UNHANDLED_ERRORS_WHILE_PLAYING:KP,PRELOAD_ENTRIES:GP,PREVIEW_BUILDER_PROGRESS:N8,PREVIEW_KEYDOWN:WP,REGISTER_SUBSCRIPTION:I8,RESET_STORY_ARGS:hv,SELECT_STORY:M8,SET_CONFIG:k8,SET_CURRENT_STORY:mv,SET_FILTER:j8,SET_GLOBALS:YP,SET_INDEX:q8,SET_STORIES:L8,SHARED_STATE_CHANGED:$8,SHARED_STATE_SET:D8,STORIES_COLLAPSE_ALL:F8,STORIES_EXPAND_ALL:B8,STORY_ARGS_UPDATED:XP,STORY_CHANGED:QP,STORY_ERRORED:ZP,STORY_INDEX_INVALIDATED:e1,STORY_MISSING:fy,STORY_PREPARED:t1,STORY_RENDER_PHASE_CHANGED:Hi,STORY_RENDERED:Td,STORY_FINISHED:hy,STORY_SPECIFIED:r1,STORY_THREW_EXCEPTION:n1,STORY_UNCHANGED:o1,STORY_HOT_UPDATED:U8,UPDATE_GLOBALS:yv,UPDATE_QUERY_PARAMS:i1,UPDATE_STORY_ARGS:gv,REQUEST_WHATS_NEW_DATA:V8,RESULT_WHATS_NEW_DATA:H8,SET_WHATS_NEW_CACHE:J8,TOGGLE_WHATS_NEW_NOTIFICATIONS:z8,TELEMETRY_ERROR:s1,SAVE_STORY_REQUEST:K8,SAVE_STORY_RESPONSE:G8,ARGTYPES_INFO_REQUEST:a1,ARGTYPES_INFO_RESPONSE:my}=dv,l1={};mr(l1,{global:()=>me});var me=(()=>{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})(),u1={"@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__"},W8=Object.keys(u1),c1={};mr(c1,{Channel:()=>sf,HEARTBEAT_INTERVAL:()=>wA,HEARTBEAT_MAX_LATENCY:()=>SA,PostMessageTransport:()=>EA,WebsocketTransport:()=>TA,createBrowserChannel:()=>CA,default:()=>w7});function qe(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(a,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?a.concat(c.map(function(d){var p,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):a},[]);if(o.length){var i=new RegExp(`
|
|
30
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(a){return a.replace(i,`
|
|
31
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(a,u){var c=s.match(/(?:^|\n)( *)$/),d=c?c[1]:"",p=a;typeof a=="string"&&a.includes(`
|
|
32
|
+
`)&&(p=String(a).split(`
|
|
33
|
+
`).map(function(h,f){return f===0?h:""+d+h}).join(`
|
|
34
|
+
`)),s+=p+n[u+1]}),s}l(qe,"dedent");var Y8=qe,RT=new Map,X8="UNIVERSAL_STORE:",Fr={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},Po=class _e{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=l(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=l((n,o)=>{let i=typeof n=="function",s=i?"*":n,a=i?n:o;if(this.debug("subscribe",{eventType:s,listener:a}),!a)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(s)||this.listeners.set(s,new Set),this.listeners.get(s).add(a),()=>{var u;this.debug("unsubscribe",{eventType:s,listener:a}),this.listeners.has(s)&&(this.listeners.get(s).delete(a),((u=this.listeners.get(s))==null?void 0:u.size)===0&&this.listeners.delete(s))}},"subscribe"),this.send=l(n=>{if(this.debug("send",{event:n}),this.status!==_e.Status.READY)throw new TypeError(qe`Cannot send event before store is ready. You can get the current status with store.status,
|
|
35
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
36
|
+
${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!_e.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(_e.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?_e.ActorType.LEADER:_e.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${X8}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===_e.ActorType.LEADER)this.syncing={state:Fr.RESOLVED,promise:Promise.resolve()};else{let n,o,i=new Promise((s,a)=>{n=l(()=>{this.syncing.state===Fr.PENDING&&(this.syncing.state=Fr.RESOLVED,s())},"syncingResolve"),o=l(u=>{this.syncing.state===Fr.PENDING&&(this.syncing.state=Fr.REJECTED,a(u))},"syncingReject")});this.syncing={state:Fr.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)??_e.preparation.channel,this.environment=(r==null?void 0:r.environment)??_e.preparation.environment,this.channel&&this.environment?(_e.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):_e.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,i)=>{t=l(s=>{o(s)},"resolveRef"),r=l((...s)=>{i(s)},"rejectRef")});_e.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??_e.Environment.UNKNOWN})}get status(){var t;if(!this.channel||!this.environment)return _e.Status.UNPREPARED;switch((t=this.syncing)==null?void 0:t.state){case Fr.PENDING:case void 0:return _e.Status.SYNCING;case Fr.REJECTED:return _e.Status.ERROR;case Fr.RESOLVED:default:return _e.Status.READY}}untilReady(){var t;return Promise.all([_e.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(qe`[UniversalStore]
|
|
37
|
+
create`,{options:t});let r=RT.get(t.id);if(r)return console.warn(qe`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
|
|
38
|
+
You should reuse the existing instance instead of trying to create a new one.`),r;_e.isInternalConstructing=!0;let n=new _e(t);return RT.set(t.id,n),n}static __prepare(t,r){_e.preparation.channel=t,_e.preparation.environment=r,_e.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!==_e.Status.READY)throw new TypeError(qe`Cannot set state before store is ready. You can get the current status with store.status,
|
|
39
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
40
|
+
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:_e.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(_e.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===_e.ActorType.LEADER?this.emitToChannel({type:_e.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:_e.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:_e.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,s,a,u;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)===Fr.PENDING&&r.type!==_e.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===_e.ActorType.LEADER){let c=!0;switch(r.type){case _e.InternalEventType.EXISTING_STATE_REQUEST:c=!1;let d={type:_e.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:d}),this.emitToChannel(d,{actor:this.actor}),this.emitToListeners(d,{actor:this.actor});break;case _e.InternalEventType.LEADER_CREATED:c=!1,this.syncing.state=Fr.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(qe`Detected multiple UniversalStore leaders created with the same id "${this.id}".
|
|
41
|
+
Only one leader can exists at a time, your stores are now in an invalid state.
|
|
42
|
+
Leaders detected:
|
|
43
|
+
this: ${JSON.stringify(this.actor,null,2)}
|
|
44
|
+
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===_e.ActorType.FOLLOWER)switch(r.type){case _e.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),((s=this.syncing)==null?void 0:s.state)!==Fr.PENDING)break;(u=(a=this.syncing).resolve)==null||u.call(a);let c={type:_e.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(c,n);break}switch(r.type){case _e.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(qe`[UniversalStore::${this.id}::${this.environment??_e.Environment.UNKNOWN}]
|
|
45
|
+
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){_e.preparation.reject(new Error("reset")),_e.setupPreparationPromise(),_e.isInternalConstructing=!1}};l(Po,"UniversalStore"),Po.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},Po.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},Po.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"},Po.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},Po.isInternalConstructing=!1,Po.setupPreparationPromise();var Em=Po,Q8=l(e=>e.transports!==void 0,"isMulti"),Z8=l(()=>Math.random().toString(16).slice(2),"generateRandomId"),d1=class{constructor(t={}){this.sender=Z8(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,Q8(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);let i=l(()=>{this.transports.forEach(s=>{s.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(i):i()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(o=>o!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=l((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}};l(d1,"Channel");var sf=d1,p1={};mr(p1,{deprecate:()=>bv,logger:()=>at,once:()=>xt,pretty:()=>Mr});var{LOGLEVEL:e9}=me,Mo={trace:1,debug:2,info:3,warn:4,error:5,silent:10},t9=e9,ys=Mo[t9]||Mo.info,at={trace:l((e,...t)=>{ys<=Mo.trace&&console.trace(e,...t)},"trace"),debug:l((e,...t)=>{ys<=Mo.debug&&console.debug(e,...t)},"debug"),info:l((e,...t)=>{ys<=Mo.info&&console.info(e,...t)},"info"),warn:l((e,...t)=>{ys<=Mo.warn&&console.warn(e,...t)},"warn"),error:l((e,...t)=>{ys<=Mo.error&&console.error(e,...t)},"error"),log:l((e,...t)=>{ys<Mo.silent&&console.log(e,...t)},"log")},yy=new Set,xt=l(e=>(t,...r)=>{if(!yy.has(t))return yy.add(t),at[e](t,...r)},"once");xt.clear=()=>yy.clear();xt.trace=xt("trace");xt.debug=xt("debug");xt.info=xt("info");xt.warn=xt("warn");xt.error=xt("error");xt.log=xt("log");var bv=xt("warn"),Mr=l(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 s=1;s<t.length;s++)r.push(t[s])}at[e].apply(at,r)},"pretty");Mr.trace=Mr("trace");Mr.debug=Mr("debug");Mr.info=Mr("info");Mr.warn=Mr("warn");Mr.error=Mr("error");var r9=Object.create,f1=Object.defineProperty,n9=Object.getOwnPropertyDescriptor,h1=Object.getOwnPropertyNames,o9=Object.getPrototypeOf,i9=Object.prototype.hasOwnProperty,je=l((e,t)=>l(function(){return t||(0,e[h1(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),s9=l((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of h1(t))!i9.call(e,o)&&o!==r&&f1(e,o,{get:l(()=>t[o],"get"),enumerable:!(n=n9(t,o))||n.enumerable});return e},"__copyProps"),vv=l((e,t,r)=>(r=e!=null?r9(o9(e)):{},s9(t||!e||!e.__esModule?f1(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),a9=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],l9=["detail"];function m1(e){let t=a9.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of l9.filter(n=>e[n]!==void 0))t[r]=e[r];return t}l(m1,"extractEventHiddenProperties");var y1=je({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),u9=je({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),c9=je({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),d9=je({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),p9=je({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),f9=je({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),Ev=je({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),h9=je({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),m9=je({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),y9=je({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),g9=je({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),b9=je({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),v9=je({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),E9=je({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),w9=je({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||l(function(r){return r!==r},"isNaN2")}}),S9=je({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=w9();t.exports=l(function(n){return r(n)||n===0?n:n<0?-1:1},"sign")}}),x9=je({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),wv=je({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=x9();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),T9=je({"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}}),g1=je({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=l(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 s in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var a=Object.getOwnPropertySymbols(r);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,n);if(u.value!==i||u.enumerable!==!0)return!1}return!0},"hasSymbols")}}),b1=je({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=g1();t.exports=l(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),v1=je({"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}}),E1=je({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=y1();t.exports=r.getPrototypeOf||null}}),C9=je({"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]",s=l(function(c,d){for(var p=[],h=0;h<c.length;h+=1)p[h]=c[h];for(var f=0;f<d.length;f+=1)p[f+c.length]=d[f];return p},"concatty2"),a=l(function(c,d){for(var p=[],h=d||0,f=0;h<c.length;h+=1,f+=1)p[f]=c[h];return p},"slicy2"),u=l(function(c,d){for(var p="",h=0;h<c.length;h+=1)p+=c[h],h+1<c.length&&(p+=d);return p},"joiny");t.exports=l(function(c){var d=this;if(typeof d!="function"||n.apply(d)!==i)throw new TypeError(r+d);for(var p=a(arguments,1),h,f=l(function(){if(this instanceof h){var v=d.apply(this,s(p,arguments));return Object(v)===v?v:this}return d.apply(c,s(p,arguments))},"binder"),m=o(0,d.length-p.length),y=[],g=0;g<m;g++)y[g]="$"+g;if(h=Function("binder","return function ("+u(y,",")+"){ return binder.apply(this,arguments); }")(f),d.prototype){var b=l(function(){},"Empty2");b.prototype=d.prototype,h.prototype=new b,b.prototype=null}return h},"bind")}}),af=je({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=C9();t.exports=Function.prototype.bind||r}}),Sv=je({"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}}),w1=je({"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}}),_9=je({"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}}),O9=je({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=af(),n=w1(),o=Sv(),i=_9();t.exports=i||r.call(o,n)}}),S1=je({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=af(),n=Ev(),o=Sv(),i=O9();t.exports=l(function(s){if(s.length<1||typeof s[0]!="function")throw new n("a function is required");return i(r,o,s)},"callBindBasic")}}),P9=je({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=S1(),n=wv(),o;try{o=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var i=!!o&&n&&n(Object.prototype,"__proto__"),s=Object,a=s.getPrototypeOf;t.exports=i&&typeof i.get=="function"?r([i.get]):typeof a=="function"?l(function(u){return a(u==null?u:s(u))},"getDunder"):!1}}),A9=je({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=v1(),n=E1(),o=P9();t.exports=r?l(function(i){return r(i)},"getProto"):n?l(function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return n(i)},"getProto"):o?l(function(i){return o(i)},"getProto"):null}}),x1=je({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=af();t.exports=o.call(r,n)}}),R9=je({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=y1(),o=u9(),i=c9(),s=d9(),a=p9(),u=f9(),c=Ev(),d=h9(),p=m9(),h=y9(),f=g9(),m=b9(),y=v9(),g=E9(),b=S9(),v=Function,S=l(function(K){try{return v('"use strict"; return ('+K+").constructor;")()}catch{}},"getEvalledConstructor"),T=wv(),O=T9(),C=l(function(){throw new c},"throwTypeError"),E=T?(function(){try{return arguments.callee,C}catch{try{return T(arguments,"callee").get}catch{return C}}})():C,w=b1()(),_=A9(),R=E1(),N=v1(),j=w1(),D=Sv(),P={},M=typeof Uint8Array>"u"||!_?r:_(Uint8Array),k={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":w&&_?_([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":P,"%AsyncGenerator%":P,"%AsyncGeneratorFunction%":P,"%AsyncIteratorPrototype%":P,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%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%":v,"%GeneratorFunction%":P,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&_?_(_([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!w||!_?r:_(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":T,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":s,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!w||!_?r:_(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&_?_(""[Symbol.iterator]()):r,"%Symbol%":w?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":E,"%TypedArray%":M,"%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%":d,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":D,"%Function.prototype.apply%":j,"%Object.defineProperty%":O,"%Object.getPrototypeOf%":R,"%Math.abs%":p,"%Math.floor%":h,"%Math.max%":f,"%Math.min%":m,"%Math.pow%":y,"%Math.round%":g,"%Math.sign%":b,"%Reflect.getPrototypeOf%":N};if(_)try{null.error}catch(K){z=_(_(K)),k["%Error.prototype%"]=z}var z,J=l(function K(fe){var $;if(fe==="%AsyncFunction%")$=S("async function () {}");else if(fe==="%GeneratorFunction%")$=S("function* () {}");else if(fe==="%AsyncGeneratorFunction%")$=S("async function* () {}");else if(fe==="%AsyncGenerator%"){var V=K("%AsyncGeneratorFunction%");V&&($=V.prototype)}else if(fe==="%AsyncIteratorPrototype%"){var G=K("%AsyncGenerator%");G&&_&&($=_(G.prototype))}return k[fe]=$,$},"doEval2"),ie={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},pe=af(),oe=x1(),q=pe.call(D,Array.prototype.concat),H=pe.call(j,Array.prototype.splice),X=pe.call(D,String.prototype.replace),ne=pe.call(D,String.prototype.slice),ee=pe.call(D,RegExp.prototype.exec),le=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ye=/\\(\\)?/g,Ie=l(function(K){var fe=ne(K,0,1),$=ne(K,-1);if(fe==="%"&&$!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if($==="%"&&fe!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var V=[];return X(K,le,function(G,re,te,se){V[V.length]=te?X(se,ye,"$1"):re||G}),V},"stringToPath3"),Te=l(function(K,fe){var $=K,V;if(oe(ie,$)&&(V=ie[$],$="%"+V[0]+"%"),oe(k,$)){var G=k[$];if(G===P&&(G=J($)),typeof G>"u"&&!fe)throw new c("intrinsic "+K+" exists, but is not available. Please file an issue!");return{alias:V,name:$,value:G}}throw new u("intrinsic "+K+" does not exist!")},"getBaseIntrinsic2");t.exports=l(function(K,fe){if(typeof K!="string"||K.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof fe!="boolean")throw new c('"allowMissing" argument must be a boolean');if(ee(/^%?[^%]*%?$/,K)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var $=Ie(K),V=$.length>0?$[0]:"",G=Te("%"+V+"%",fe),re=G.name,te=G.value,se=!1,ue=G.alias;ue&&(V=ue[0],H($,q([0,1],ue)));for(var ce=1,de=!0;ce<$.length;ce+=1){var ae=$[ce],ve=ne(ae,0,1),he=ne(ae,-1);if((ve==='"'||ve==="'"||ve==="`"||he==='"'||he==="'"||he==="`")&&ve!==he)throw new u("property names with quotes must have matching quotes");if((ae==="constructor"||!de)&&(se=!0),V+="."+ae,re="%"+V+"%",oe(k,re))te=k[re];else if(te!=null){if(!(ae in te)){if(!fe)throw new c("base intrinsic for "+K+" exists, but the property is not available.");return}if(T&&ce+1>=$.length){var be=T(te,ae);de=!!be,de&&"get"in be&&!("originalValue"in be.get)?te=be.get:te=te[ae]}else de=oe(te,ae),te=te[ae];de&&!se&&(k[re]=te)}}return te},"GetIntrinsic")}}),xv=je({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=R9(),n=S1(),o=n([r("%String.prototype.indexOf%")]);t.exports=l(function(i,s){var a=r(i,!!s);return typeof a=="function"&&o(i,".prototype.")>-1?n([a]):a},"callBoundIntrinsic")}}),N9=je({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=g1();t.exports=l(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),T1=je({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=xv(),n=N9()(),o=x1(),i=wv(),s;n?(a=r("RegExp.prototype.exec"),u={},c=l(function(){throw u},"throwRegexMarker"),d={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(d[Symbol.toPrimitive]=c),s=l(function(f){if(!f||typeof f!="object")return!1;var m=i(f,"lastIndex"),y=m&&o(m,"value");if(!y)return!1;try{a(f,d)}catch(g){return g===u}},"isRegex")):(p=r("Object.prototype.toString"),h="[object RegExp]",s=l(function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:p(f)===h},"isRegex"));var a,u,c,d,p,h;t.exports=s}}),I9=je({"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)}l(n,"isFunction3")}}),M9=je({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=xv(),n=T1(),o=r("RegExp.prototype.exec"),i=Ev();t.exports=l(function(s){if(!n(s))throw new i("`regex` must be a RegExp");return l(function(a){return o(s,a)!==null},"test")},"regexTester")}}),k9=je({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=xv(),n=r("Object.prototype.toString"),o=b1()(),i=M9();o?(s=r("Symbol.prototype.toString"),a=i(/^Symbol\(.*\)$/),u=l(function(c){return typeof c.valueOf()!="symbol"?!1:a(s(c))},"isRealSymbolObject"),t.exports=l(function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||n(c)!=="[object Symbol]")return!1;try{return u(c)}catch{return!1}},"isSymbol3")):t.exports=l(function(c){return!1},"isSymbol3");var s,a,u}}),j9=vv(T1()),q9=vv(I9()),L9=vv(k9());function C1(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}l(C1,"isObject");var $9=typeof global=="object"&&global&&global.Object===Object&&global,D9=$9,F9=typeof self=="object"&&self&&self.Object===Object&&self,B9=D9||F9||Function("return this")(),Tv=B9,U9=Tv.Symbol,Qs=U9,_1=Object.prototype,V9=_1.hasOwnProperty,H9=_1.toString,Qa=Qs?Qs.toStringTag:void 0;function O1(e){var t=V9.call(e,Qa),r=e[Qa];try{e[Qa]=void 0;var n=!0}catch{}var o=H9.call(e);return n&&(t?e[Qa]=r:delete e[Qa]),o}l(O1,"getRawTag");var J9=O1,z9=Object.prototype,K9=z9.toString;function P1(e){return K9.call(e)}l(P1,"objectToString");var G9=P1,W9="[object Null]",Y9="[object Undefined]",NT=Qs?Qs.toStringTag:void 0;function A1(e){return e==null?e===void 0?Y9:W9:NT&&NT in Object(e)?J9(e):G9(e)}l(A1,"baseGetTag");var R1=A1;function N1(e){return e!=null&&typeof e=="object"}l(N1,"isObjectLike");var X9=N1,Q9="[object Symbol]";function I1(e){return typeof e=="symbol"||X9(e)&&R1(e)==Q9}l(I1,"isSymbol");var Cv=I1;function M1(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}l(M1,"arrayMap");var Z9=M1,eY=Array.isArray,_v=eY,IT=Qs?Qs.prototype:void 0,MT=IT?IT.toString:void 0;function Ov(e){if(typeof e=="string")return e;if(_v(e))return Z9(e,Ov)+"";if(Cv(e))return MT?MT.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}l(Ov,"baseToString");var tY=Ov;function k1(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}l(k1,"isObject2");var j1=k1,rY="[object AsyncFunction]",nY="[object Function]",oY="[object GeneratorFunction]",iY="[object Proxy]";function q1(e){if(!j1(e))return!1;var t=R1(e);return t==nY||t==oY||t==rY||t==iY}l(q1,"isFunction");var sY=q1,aY=Tv["__core-js_shared__"],wm=aY,kT=(function(){var e=/[^.]+$/.exec(wm&&wm.keys&&wm.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function L1(e){return!!kT&&kT in e}l(L1,"isMasked");var lY=L1,uY=Function.prototype,cY=uY.toString;function $1(e){if(e!=null){try{return cY.call(e)}catch{}try{return e+""}catch{}}return""}l($1,"toSource");var dY=$1,pY=/[\\^$.*+?()[\]{}|]/g,fY=/^\[object .+?Constructor\]$/,hY=Function.prototype,mY=Object.prototype,yY=hY.toString,gY=mY.hasOwnProperty,bY=RegExp("^"+yY.call(gY).replace(pY,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function D1(e){if(!j1(e)||lY(e))return!1;var t=sY(e)?bY:fY;return t.test(dY(e))}l(D1,"baseIsNative");var vY=D1;function F1(e,t){return e==null?void 0:e[t]}l(F1,"getValue");var EY=F1;function B1(e,t){var r=EY(e,t);return vY(r)?r:void 0}l(B1,"getNative");var U1=B1;function V1(e,t){return e===t||e!==e&&t!==t}l(V1,"eq");var wY=V1,SY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xY=/^\w*$/;function H1(e,t){if(_v(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Cv(e)?!0:xY.test(e)||!SY.test(e)||t!=null&&e in Object(t)}l(H1,"isKey");var TY=H1,CY=U1(Object,"create"),Kl=CY;function J1(){this.__data__=Kl?Kl(null):{},this.size=0}l(J1,"hashClear");var _Y=J1;function z1(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}l(z1,"hashDelete");var OY=z1,PY="__lodash_hash_undefined__",AY=Object.prototype,RY=AY.hasOwnProperty;function K1(e){var t=this.__data__;if(Kl){var r=t[e];return r===PY?void 0:r}return RY.call(t,e)?t[e]:void 0}l(K1,"hashGet");var NY=K1,IY=Object.prototype,MY=IY.hasOwnProperty;function G1(e){var t=this.__data__;return Kl?t[e]!==void 0:MY.call(t,e)}l(G1,"hashHas");var kY=G1,jY="__lodash_hash_undefined__";function W1(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Kl&&t===void 0?jY:t,this}l(W1,"hashSet");var qY=W1;function ss(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])}}l(ss,"Hash");ss.prototype.clear=_Y;ss.prototype.delete=OY;ss.prototype.get=NY;ss.prototype.has=kY;ss.prototype.set=qY;var jT=ss;function Y1(){this.__data__=[],this.size=0}l(Y1,"listCacheClear");var LY=Y1;function X1(e,t){for(var r=e.length;r--;)if(wY(e[r][0],t))return r;return-1}l(X1,"assocIndexOf");var lf=X1,$Y=Array.prototype,DY=$Y.splice;function Q1(e){var t=this.__data__,r=lf(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():DY.call(t,r,1),--this.size,!0}l(Q1,"listCacheDelete");var FY=Q1;function Z1(e){var t=this.__data__,r=lf(t,e);return r<0?void 0:t[r][1]}l(Z1,"listCacheGet");var BY=Z1;function eA(e){return lf(this.__data__,e)>-1}l(eA,"listCacheHas");var UY=eA;function tA(e,t){var r=this.__data__,n=lf(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}l(tA,"listCacheSet");var VY=tA;function as(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])}}l(as,"ListCache");as.prototype.clear=LY;as.prototype.delete=FY;as.prototype.get=BY;as.prototype.has=UY;as.prototype.set=VY;var HY=as,JY=U1(Tv,"Map"),zY=JY;function rA(){this.size=0,this.__data__={hash:new jT,map:new(zY||HY),string:new jT}}l(rA,"mapCacheClear");var KY=rA;function nA(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}l(nA,"isKeyable");var GY=nA;function oA(e,t){var r=e.__data__;return GY(t)?r[typeof t=="string"?"string":"hash"]:r.map}l(oA,"getMapData");var uf=oA;function iA(e){var t=uf(this,e).delete(e);return this.size-=t?1:0,t}l(iA,"mapCacheDelete");var WY=iA;function sA(e){return uf(this,e).get(e)}l(sA,"mapCacheGet");var YY=sA;function aA(e){return uf(this,e).has(e)}l(aA,"mapCacheHas");var XY=aA;function lA(e,t){var r=uf(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}l(lA,"mapCacheSet");var QY=lA;function ls(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])}}l(ls,"MapCache");ls.prototype.clear=KY;ls.prototype.delete=WY;ls.prototype.get=YY;ls.prototype.has=XY;ls.prototype.set=QY;var uA=ls,ZY="Expected a function";function cf(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(ZY);var r=l(function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s},"memoized");return r.cache=new(cf.Cache||uA),r}l(cf,"memoize");cf.Cache=uA;var e7=cf,t7=500;function cA(e){var t=e7(e,function(n){return r.size===t7&&r.clear(),n}),r=t.cache;return t}l(cA,"memoizeCapped");var r7=cA,n7=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o7=/\\(\\)?/g,i7=r7(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(n7,function(r,n,o,i){t.push(o?i.replace(o7,"$1"):n||r)}),t}),s7=i7;function dA(e){return e==null?"":tY(e)}l(dA,"toString");var a7=dA;function pA(e,t){return _v(e)?e:TY(e,t)?[e]:s7(a7(e))}l(pA,"castPath");var l7=pA;function fA(e){if(typeof e=="string"||Cv(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}l(fA,"toKey");var u7=fA;function hA(e,t){t=l7(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[u7(t[r++])];return r&&r==n?e:void 0}l(hA,"baseGet");var c7=hA;function mA(e,t,r){var n=e==null?void 0:c7(e,t);return n===void 0?r:n}l(mA,"get");var d7=mA,Pv=C1,p7=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Av=l(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function Rv(e){if(!Pv(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=m1(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}l(Rv,"convertUnconventionalData");var f7=l(function(e){let t,r,n,o;return l(function(i,s){var a;try{if(i==="")return o=[],t=new Map([[s,"[]"]]),r=new Map,n=[],s;let u=r.get(this)||this;for(;n.length&&u!==n[0];)n.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return e.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===Number.NEGATIVE_INFINITY?"_-Infinity_":s===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return p7.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,j9.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,q9.default)(s))return;if((0,L9.default)(s)){if(!e.allowSymbol)return;let d=Symbol.keyFor(s);return d!==void 0?`_gsymbol_${d}`:`_symbol_${s.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if((a=s==null?void 0:s.constructor)!=null&&a.name&&s.constructor.name!=="Object"&&!Array.isArray(s)){let d=t.get(s);if(!d){let p={__isClassInstance__:!0,__className__:s.constructor.name,...Object.getOwnPropertyNames(s).reduce((h,f)=>{try{h[f]=s[f]}catch{}return h},{})};return o.push(i),n.unshift(p),t.set(s,JSON.stringify(o)),s!==p&&r.set(s,p),p}return`_duplicate_${d}`}let c=t.get(s);if(!c){let d=Array.isArray(s)?s:Rv(s);return o.push(i),n.unshift(d),t.set(s,JSON.stringify(o)),s!==d&&r.set(s,d),d}return`_duplicate_${c}`}catch{return}},"replace")},"replacer2"),h7=l(function(e){let t=[],r;return l(function(n,o){if(n===""&&(r=o,t.forEach(({target:i,container:s,replacement:a})=>{let u=Av(a)?JSON.parse(a):a.split(".");u.length===0?s[i]=r:s[i]=d7(r,u)})),n==="_constructor-name_")return o;if(Pv(o)&&o.__isConvertedError__){let{message:i,...s}=o.errorProperties,a=new Error(i);return Object.assign(a,s),a}if(typeof o=="string"&&o.startsWith("_regexp_")&&e.allowRegExp){let[,i,s]=o.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(s,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},"revive")},"reviver2"),yA={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},gA=l((e,t={})=>{let r={...yA,...t};return JSON.stringify(Rv(e),f7(r),t.space)},"stringify"),m7=l(()=>{let e=new Map;return l(function t(r){Pv(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))})},"mutateUndefined")},"mutator"),bA=l((e,t={})=>{let r={...yA,...t},n=JSON.parse(e,h7(r));return m7()(n),n},"parse"),y7="Invariant failed";function On(e,t){if(!e)throw new Error(y7)}l(On,"invariant");var g7=l(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(i=>{var u,c;try{return((u=i.contentWindow)==null?void 0:u.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 s=i.getAttribute("src"),a;try{if(!s)return!1;({origin:a}=new URL(s,document.location.toString()))}catch{return!1}return a===e.origin}),o=r==null?void 0:r.getAttribute("src");if(o&&n.length===0){let{protocol:i,host:s,pathname:a}=new URL(o,document.location.toString());return`${i}//${s}${a}`}return n.length>0&&at.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:Sm,location:Za}=me,qT="storybook-channel",b7={maxDepth:25},vA=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof(me==null?void 0:me.addEventListener)=="function"&&me.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:o,allowSymbol:i,allowDate:s,allowError:a,allowUndefined:u,maxDepth:c,space:d}=r||{},p=Object.fromEntries(Object.entries({allowRegExp:o,allowSymbol:i,allowDate:s,allowError:a,allowUndefined:u,maxDepth:c,space:d}).filter(([g,b])=>typeof b<"u")),h={...b7,...me.CHANNEL_OPTIONS||{},...p},f=this.getFrames(n),m=new URLSearchParams((Za==null?void 0:Za.search)||""),y=gA({key:qT,event:t,refId:m.get("refId")},h);return f.length?(this.buffer.length&&this.flush(),f.forEach(g=>{try{g.postMessage(y,"*")}catch{at.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((g,b)=>{this.buffer.push({event:t,resolve:g,reject:b})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(Sm.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return me&&me.parent&&me.parent!==me.self?[me.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Sm.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):me&&me.parent?[me.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Sm.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):me&&me.parent?[me.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:o,refId:i}=typeof r=="string"&&Av(r)?bA(r,me.CHANNEL_OPTIONS||{}):r;if(n===qT){let s=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',a=Object.values(cv).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(i&&(o.refId=i),o.source=this.config.page==="preview"?t.origin:g7(t),!o.source){Mr.error(`${s} received ${a} but was unable to determine the source of the event`);return}let u=`${s} received ${a} (${r.length})`;Mr.debug(Za.origin!==o.source?u:`${u} <span style="color: gray">(on ${Za.origin} from ${o.source})</span>`,...o.args),On(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){at.error(r)}}};l(vA,"PostMessageTransport");var EA=vA,{WebSocket:v7}=me,wA=15e3,SA=5e3,xA=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new v7(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:o})=>{let i=typeof o=="string"&&Av(o)?bA(o):o;On(this.handler),this.handler(i),i.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=o=>{On(this.handler),this.handler({type:VP,args:[{reason:o.reason,code:o.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},wA+SA)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){let r=gA(t,{maxDepth:15,...me.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};l(xA,"WebsocketTransport");var TA=xA,{CONFIG_TYPE:E7}=me,w7=sf;function CA({page:e,extraTransports:t=[]}){let r=[new EA({page:e}),...t];if(E7==="DEVELOPMENT"){let o=window.location.protocol==="http:"?"ws":"wss",{hostname:i,port:s}=window.location,a=`${o}://${i}:${s}/storybook-server-channel`;r.push(new TA({url:a,onError:l(()=>{},"onError"),page:e}))}let n=new sf({transports:r});return Em.__prepare(n,e==="manager"?Em.Environment.MANAGER:Em.Environment.PREVIEW),n}l(CA,"createBrowserChannel");var _A={};mr(_A,{CalledExtractOnStoreError:()=>jA,CalledPreviewMethodBeforeInitializationError:()=>Pr,Category:()=>AA,ElementA11yParameterError:()=>O7,EmptyIndexError:()=>HA,ImplicitActionsDuringRendering:()=>MA,MdxFileWithNoCsfReferencesError:()=>UA,MissingRenderToCanvasError:()=>LA,MissingStoryAfterHmrError:()=>NA,MissingStoryFromCsfFileError:()=>GA,MountMustBeDestructuredError:()=>Nv,NextJsSharpError:()=>x7,NextjsRouterMocksNotAvailable:()=>T7,NoRenderFunctionError:()=>ZA,NoStoryMatchError:()=>zA,NoStoryMountedError:()=>tR,StatusTypeIdMismatchError:()=>S7,StoryIndexFetchError:()=>FA,StoryStoreAccessedBeforeInitializationError:()=>YA,UnknownArgTypesError:()=>C7,UnsupportedViewportDimensionError:()=>_7});function gy({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}l(gy,"parseErrorCode");var OA=class PA extends Error{constructor(t){super(PA.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return gy({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${gy({code:r,category:n})}`:typeof t=="string"?i=t:Array.isArray(t)&&(i=`
|
|
46
|
+
${t.map(s=>` - ${s}`).join(`
|
|
47
|
+
`)}`),`${o}${i!=null?`
|
|
48
|
+
|
|
49
|
+
More info: ${i}
|
|
50
|
+
`:""}`}};l(OA,"StorybookError");var At=OA,AA=(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))(AA||{}),RA=class extends At{constructor(t){super({category:"PREVIEW_API",code:1,message:qe`
|
|
51
|
+
Couldn't find story matching id '${t.storyId}' after HMR.
|
|
52
|
+
- Did you just rename a story?
|
|
53
|
+
- Did you remove it from your CSF file?
|
|
54
|
+
- Are you sure a story with the id '${t.storyId}' exists?
|
|
55
|
+
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
|
56
|
+
- Also check the browser console and terminal for potential error messages.`}),this.data=t}};l(RA,"MissingStoryAfterHmrError");var NA=RA,IA=class extends At{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:qe`
|
|
57
|
+
We detected that you use an implicit action arg while ${t.phase} of your story.
|
|
58
|
+
${t.deprecated?`
|
|
59
|
+
This is deprecated and won't work in Storybook 8 anymore.
|
|
60
|
+
`:""}
|
|
61
|
+
Please provide an explicit spy to your args like this:
|
|
62
|
+
import { fn } from 'storybook/test';
|
|
63
|
+
...
|
|
64
|
+
args: {
|
|
65
|
+
${t.name}: fn()
|
|
66
|
+
}`}),this.data=t}};l(IA,"ImplicitActionsDuringRendering");var MA=IA,kA=class extends At{constructor(){super({category:"PREVIEW_API",code:3,message:qe`
|
|
67
|
+
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
|
68
|
+
|
|
69
|
+
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};l(kA,"CalledExtractOnStoreError");var jA=kA,qA=class extends At{constructor(){super({category:"PREVIEW_API",code:4,message:qe`
|
|
70
|
+
Expected your framework's preset to export a \`renderToCanvas\` field.
|
|
71
|
+
|
|
72
|
+
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};l(qA,"MissingRenderToCanvasError");var LA=qA,$A=class extends At{constructor(t){super({category:"PREVIEW_API",code:5,message:qe`
|
|
73
|
+
Called \`Preview.${t.methodName}()\` before initialization.
|
|
74
|
+
|
|
75
|
+
The preview needs to load the story index before most methods can be called. If you want
|
|
76
|
+
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
|
|
77
|
+
|
|
78
|
+
If you didn't call the above code, then likely it was called by an addon that needs to
|
|
79
|
+
do the above.`}),this.data=t}};l($A,"CalledPreviewMethodBeforeInitializationError");var Pr=$A,DA=class extends At{constructor(t){super({category:"PREVIEW_API",code:6,message:qe`
|
|
80
|
+
Error fetching \`/index.json\`:
|
|
81
|
+
|
|
82
|
+
${t.text}
|
|
83
|
+
|
|
84
|
+
If you are in development, this likely indicates a problem with your Storybook process,
|
|
85
|
+
check the terminal for errors.
|
|
86
|
+
|
|
87
|
+
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
|
88
|
+
build.`}),this.data=t}};l(DA,"StoryIndexFetchError");var FA=DA,BA=class extends At{constructor(t){super({category:"PREVIEW_API",code:7,message:qe`
|
|
89
|
+
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
|
|
90
|
+
references, or autodocs for a CSF file that some doesn't refer to itself.
|
|
91
|
+
|
|
92
|
+
This likely is an internal error in Storybook's indexing, or you've attached the
|
|
93
|
+
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};l(BA,"MdxFileWithNoCsfReferencesError");var UA=BA,VA=class extends At{constructor(){super({category:"PREVIEW_API",code:8,message:qe`
|
|
94
|
+
Couldn't find any stories in your Storybook.
|
|
95
|
+
|
|
96
|
+
- Please check your stories field of your main.js config: does it match correctly?
|
|
97
|
+
- Also check the browser console and terminal for error messages.`})}};l(VA,"EmptyIndexError");var HA=VA,JA=class extends At{constructor(t){super({category:"PREVIEW_API",code:9,message:qe`
|
|
98
|
+
Couldn't find story matching '${t.storySpecifier}'.
|
|
99
|
+
|
|
100
|
+
- Are you sure a story with that id exists?
|
|
101
|
+
- Please check your stories field of your main.js config.
|
|
102
|
+
- Also check the browser console and terminal for error messages.`}),this.data=t}};l(JA,"NoStoryMatchError");var zA=JA,KA=class extends At{constructor(t){super({category:"PREVIEW_API",code:10,message:qe`
|
|
103
|
+
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
|
|
104
|
+
|
|
105
|
+
The file was indexed as if the story was there, but then after importing the file in the browser
|
|
106
|
+
we didn't find the story. Possible reasons:
|
|
107
|
+
- You are using a custom story indexer that is misbehaving.
|
|
108
|
+
- You have a custom file loader that is removing or renaming exports.
|
|
109
|
+
|
|
110
|
+
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};l(KA,"MissingStoryFromCsfFileError");var GA=KA,WA=class extends At{constructor(){super({category:"PREVIEW_API",code:11,message:qe`
|
|
111
|
+
Cannot access the Story Store until the index is ready.
|
|
112
|
+
|
|
113
|
+
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
|
114
|
+
remove access to the store entirely`})}};l(WA,"StoryStoreAccessedBeforeInitializationError");var YA=WA,XA=class extends At{constructor(t){super({category:"PREVIEW_API",code:12,message:qe`
|
|
115
|
+
Incorrect use of mount in the play function.
|
|
116
|
+
|
|
117
|
+
To use mount in the play function, you must satisfy the following two requirements:
|
|
118
|
+
|
|
119
|
+
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
|
120
|
+
This makes sure that Storybook does not start rendering the story before the play function begins.
|
|
121
|
+
|
|
122
|
+
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
|
123
|
+
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
|
124
|
+
which prevents Storybook from recognizing your usage of \`mount\`.
|
|
125
|
+
|
|
126
|
+
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
|
127
|
+
|
|
128
|
+
More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
|
|
129
|
+
|
|
130
|
+
Received the following play function:
|
|
131
|
+
${t.playFunction}`}),this.data=t}};l(XA,"MountMustBeDestructuredError");var Nv=XA,QA=class extends At{constructor(t){super({category:"PREVIEW_API",code:14,message:qe`
|
|
132
|
+
No render function available for storyId '${t.id}'
|
|
133
|
+
`}),this.data=t}};l(QA,"NoRenderFunctionError");var ZA=QA,eR=class extends At{constructor(){super({category:"PREVIEW_API",code:15,message:qe`
|
|
134
|
+
No component is mounted in your story.
|
|
135
|
+
|
|
136
|
+
This usually occurs when you destructure mount in the play function, but forget to call it.
|
|
137
|
+
|
|
138
|
+
For example:
|
|
139
|
+
|
|
140
|
+
async play({ mount, canvasElement }) {
|
|
141
|
+
// 👈 mount should be called: await mount();
|
|
142
|
+
const canvas = within(canvasElement);
|
|
143
|
+
const button = await canvas.findByRole('button');
|
|
144
|
+
await userEvent.click(button);
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
Make sure to either remove it or call mount in your play function.
|
|
148
|
+
`})}};l(eR,"NoStoryMountedError");var tR=eR,rR=class extends At{constructor(t){super({category:"PREVIEW_API",code:16,message:`Status has typeId "${t.status.typeId}" but was added to store with typeId "${t.typeId}". Full status: ${JSON.stringify(t.status,null,2)}`}),this.data=t}};l(rR,"StatusTypeIdMismatchError");var S7=rR,nR=class extends At{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:qe`
|
|
149
|
+
You are importing avif images, but you don't have sharp installed.
|
|
150
|
+
|
|
151
|
+
You have to install sharp in order to use image optimization features in Next.js.
|
|
152
|
+
`})}};l(nR,"NextJsSharpError");var x7=nR,oR=class extends At{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:qe`
|
|
153
|
+
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
|
154
|
+
`}),this.data=t}};l(oR,"NextjsRouterMocksNotAvailable");var T7=oR,iR=class extends At{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:qe`
|
|
155
|
+
There was a failure when generating detailed ArgTypes in ${t.language} for:
|
|
156
|
+
${JSON.stringify(t.type,null,2)}
|
|
157
|
+
|
|
158
|
+
Storybook will fall back to use a generic type description instead.
|
|
159
|
+
|
|
160
|
+
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
|
161
|
+
If you think this is a bug, please detail it as much as possible in the Github issue.
|
|
162
|
+
`}),this.data=t}};l(iR,"UnknownArgTypesError");var C7=iR,sR=class extends At{constructor(t){super({category:"ADDON_VITEST",code:1,message:qe`
|
|
163
|
+
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
|
|
164
|
+
|
|
165
|
+
The Storybook plugin only supports values in the following units:
|
|
166
|
+
- px, vh, vw, em, rem and %.
|
|
167
|
+
|
|
168
|
+
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
|
|
169
|
+
`}),this.data=t}};l(sR,"UnsupportedViewportDimensionError");var _7=sR,aR=class extends At{constructor(){super({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.'})}};l(aR,"ElementA11yParameterError");var O7=aR,lR={};mr(lR,{Addon_TypesEnum:()=>uR});var uR=(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))(uR||{}),cR={};mr(cR,{ADDON_ID:()=>df,CLEAR_ID:()=>R7,CYCLIC_KEY:()=>N7,EVENT_ID:()=>dR,PANEL_ID:()=>A7,PARAM_KEY:()=>P7,action:()=>Ua,actions:()=>aie,config:()=>yu,configureActions:()=>oie});var P7="actions",df="storybook/actions",A7=`${df}/panel`,dR=`${df}/action-event`,R7=`${df}/action-clear`,N7="$___storybook.isCyclic",by={};mr(by,{DocsContext:()=>$S,HooksContext:()=>Mv,Preview:()=>i2,PreviewWeb:()=>Zoe,PreviewWithSelection:()=>m2,ReporterAPI:()=>jS,StoryStore:()=>e2,UrlStore:()=>S2,WebView:()=>C2,addons:()=>vr,applyHooks:()=>yR,combineArgs:()=>gp,combineParameters:()=>Zi,composeConfigs:()=>es,composeStepRunners:()=>IS,composeStories:()=>YB,composeStory:()=>LS,createPlaywrightTest:()=>XB,decorateStory:()=>CS,defaultDecorateStory:()=>OS,definePreview:()=>hR,emitTransformCode:()=>A2,filterArgTypes:()=>HB,getCoreAnnotations:()=>kh,getCsfFactoryAnnotations:()=>qS,inferControls:()=>NS,makeDecorator:()=>j7,mockChannel:()=>Iv,normalizeProjectAnnotations:()=>mu,normalizeStory:()=>hu,pauseAnimations:()=>Lh,prepareMeta:()=>PS,prepareStory:()=>qh,sanitizeStoryContextUpdate:()=>_S,setDefaultProjectAnnotations:()=>KB,setProjectAnnotations:()=>WB,simulateDOMContentLoaded:()=>Sp,simulatePageLoad:()=>P2,sortStoriesV7:()=>Foe,useArgs:()=>TR,useCallback:()=>Zs,useChannel:()=>SR,useEffect:()=>Zo,useGlobals:()=>CR,useMemo:()=>qv,useParameter:()=>xR,useReducer:()=>wR,useRef:()=>bR,useState:()=>ER,useStoryContext:()=>Fu,userOrAutoTitle:()=>Loe,userOrAutoTitleFromSpecifier:()=>r2,waitForAnimations:()=>$h});function Iv(){let e={setHandler:l(()=>{},"setHandler"),send:l(()=>{},"send")};return new sf({transport:e})}l(Iv,"mockChannel");var pR=class{constructor(){this.getChannel=l(()=>{if(!this.channel){let t=Iv();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=l(()=>this.promise,"ready"),this.hasChannel=l(()=>!!this.channel,"hasChannel"),this.setChannel=l(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};l(pR,"AddonStore");var I7=pR,xm="__STORYBOOK_ADDONS_PREVIEW";function fR(){return me[xm]||(me[xm]=new I7),me[xm]}l(fR,"getAddonsStore");var vr=fR();function hR(e){return e}l(hR,"definePreview");var mR=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=l(t=>{var r;t===((r=this.currentContext)==null?void 0:r.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),vr.getChannel().on(Td,this.renderListener)}removeRenderListeners(){vr.getChannel().removeListener(Td,this.renderListener)}};l(mR,"HooksContext");var Mv=mR;function vy(e){let t=l((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,i=n.currentHooks,s=n.nextHookIndex,a=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let u=me.STORYBOOK_HOOKS_CONTEXT;me.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(me.STORYBOOK_HOOKS_CONTEXT=u,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=i,n.nextHookIndex=s,n.currentDecoratorName=a,c},"hookified");return t.originalFn=e,t}l(vy,"hookify");var Tm=0,M7=25,yR=l(e=>(t,r)=>{let n=e(vy(t),r.map(o=>vy(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 s=n(o);for(Tm=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],s=n(o),Tm+=1,Tm>M7)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),s}},"applyHooks"),k7=l((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),kv=l(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function jv(){return me.STORYBOOK_HOOKS_CONTEXT||null}l(jv,"getHooksContextOrNull");function pf(){let e=jv();if(e==null)throw kv();return e}l(pf,"getHooksContextOrThrow");function gR(e,t,r){let n=pf();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&at.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&&at.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&&at.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&&at.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
170
|
+
Previous: ${o.deps}
|
|
171
|
+
Incoming: ${r}`),(r==null||o.deps==null||!k7(r,o.deps))&&(t(o),o.deps=r),o}throw kv()}l(gR,"useHook");function Du(e,t,r){let{memoizedState:n}=gR(e,o=>{o.memoizedState=t()},r);return n}l(Du,"useMemoLike");function qv(e,t){return Du("useMemo",e,t)}l(qv,"useMemo");function Zs(e,t){return Du("useCallback",()=>e,t)}l(Zs,"useCallback");function Lv(e,t){return Du(e,()=>({current:t}),[])}l(Lv,"useRefLike");function bR(e){return Lv("useRef",e)}l(bR,"useRef");function vR(){let e=jv();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{vr.getChannel().emit(fv)}catch{at.warn("State updates of Storybook preview hooks work only in browser")}}l(vR,"triggerUpdate");function $v(e,t){let r=Lv(e,typeof t=="function"?t():t),n=l(o=>{r.current=typeof o=="function"?o(r.current):o,vR()},"setState");return[r.current,n]}l($v,"useStateLike");function ER(e){return $v("useState",e)}l(ER,"useState");function wR(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=$v("useReducer",n);return[o,l(s=>i(a=>e(a,s)),"dispatch")]}l(wR,"useReducer");function Zo(e,t){let r=pf(),n=Du("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}l(Zo,"useEffect");function SR(e,t=[]){let r=vr.getChannel();return Zo(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Zs(r.emit.bind(r),[r])}l(SR,"useChannel");function Fu(){let{currentContext:e}=pf();if(e==null)throw kv();return e}l(Fu,"useStoryContext");function xR(e,t){let{parameters:r}=Fu();if(e)return r[e]??t}l(xR,"useParameter");function TR(){let e=vr.getChannel(),{id:t,args:r}=Fu(),n=Zs(i=>e.emit(gv,{storyId:t,updatedArgs:i}),[e,t]),o=Zs(i=>e.emit(hv,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}l(TR,"useArgs");function CR(){let e=vr.getChannel(),{globals:t}=Fu(),r=Zs(n=>e.emit(yv,{globals:n}),[e]);return[t,r]}l(CR,"useGlobals");var j7=l(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=l(i=>(s,a)=>{let u=a.parameters&&a.parameters[t];return u&&u.disable||n&&!i&&!u?s(a):r(s,a,{options:i,parameters:u})},"decorator");return(...i)=>typeof i[0]=="function"?o()(...i):(...s)=>{if(s.length>1)return i.length>1?o(i)(...s):o(...i)(...s);throw new Error(`Passing stories directly into ${e}() is not allowed,
|
|
172
|
+
instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function _R(){}l(_R,"noop");function Ey(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}l(Ey,"getSymbols");function wy(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}l(wy,"getTag");var q7="[object RegExp]",L7="[object String]",$7="[object Number]",D7="[object Boolean]",LT="[object Arguments]",F7="[object Symbol]",B7="[object Date]",U7="[object Map]",V7="[object Set]",H7="[object Array]",J7="[object Function]",z7="[object ArrayBuffer]",Cm="[object Object]",K7="[object Error]",G7="[object DataView]",W7="[object Uint8Array]",Y7="[object Uint8ClampedArray]",X7="[object Uint16Array]",Q7="[object Uint32Array]",Z7="[object BigUint64Array]",eX="[object Int8Array]",tX="[object Int16Array]",rX="[object Int32Array]",nX="[object BigInt64Array]",oX="[object Float32Array]",iX="[object Float64Array]";function ln(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}l(ln,"isPlainObject");function ea(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],s=e[i];r[i]=t(s,i,e)}return r}l(ea,"mapValues");function OR(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],s=e[i];t(s,i)&&(r[i]=s)}return r}l(OR,"pickBy");function PR(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}l(PR,"eq");function AR(e,t,r){return Rs(e,t,void 0,void 0,void 0,void 0,r)}l(AR,"isEqualWith");function Rs(e,t,r,n,o,i,s){let a=s(e,t,r,n,o,i);if(a!==void 0)return a;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 $s(e,t,i,s)}return $s(e,t,i,s)}l(Rs,"isEqualWithImpl");function $s(e,t,r,n){if(Object.is(e,t))return!0;let o=wy(e),i=wy(t);if(o===LT&&(o=Cm),i===LT&&(i=Cm),o!==i)return!1;switch(o){case L7:return e.toString()===t.toString();case $7:{let u=e.valueOf(),c=t.valueOf();return PR(u,c)}case D7:case B7:case F7:return Object.is(e.valueOf(),t.valueOf());case q7:return e.source===t.source&&e.flags===t.flags;case J7:return e===t}r=r??new Map;let s=r.get(e),a=r.get(t);if(s!=null&&a!=null)return s===t;r.set(e,t),r.set(t,e);try{switch(o){case U7:{if(e.size!==t.size)return!1;for(let[u,c]of e.entries())if(!t.has(u)||!Rs(c,t.get(u),u,e,t,r,n))return!1;return!0}case V7:{if(e.size!==t.size)return!1;let u=Array.from(e.values()),c=Array.from(t.values());for(let d=0;d<u.length;d++){let p=u[d],h=c.findIndex(f=>Rs(p,f,void 0,e,t,r,n));if(h===-1)return!1;c.splice(h,1)}return!0}case H7:case W7:case Y7:case X7:case Q7:case Z7:case eX:case tX:case rX:case nX:case oX:case iX:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let u=0;u<e.length;u++)if(!Rs(e[u],t[u],u,e,t,r,n))return!1;return!0}case z7:return e.byteLength!==t.byteLength?!1:$s(new Uint8Array(e),new Uint8Array(t),r,n);case G7:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:$s(new Uint8Array(e),new Uint8Array(t),r,n);case K7:return e.name===t.name&&e.message===t.message;case Cm:{if(!($s(e.constructor,t.constructor,r,n)||ln(e)&&ln(t)))return!1;let u=[...Object.keys(e),...Ey(e)],c=[...Object.keys(t),...Ey(t)];if(u.length!==c.length)return!1;for(let d=0;d<u.length;d++){let p=u[d],h=e[p];if(!Object.hasOwn(t,p))return!1;let f=t[p];if(!Rs(h,f,p,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}l($s,"areObjectsEqual");function RR(e,t){return AR(e,t,_R)}l(RR,"isEqual");var _m=_t(EP(),1),sX={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]},aX=Object.entries(sX);function ff(e){return String(e)}l(ff,"a");ff.open="";ff.close="";function NR(e=!1){let t=typeof Vo<"u"?Vo: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}l(NR,"C");function IR(e=!1){let t=NR(e),r=l((s,a,u,c)=>{let d="",p=0;do d+=s.substring(p,c)+u,p=c+a.length,c=s.indexOf(a,p);while(~c);return d+s.substring(p)},"i"),n=l((s,a,u=s)=>{let c=l(d=>{let p=String(d),h=p.indexOf(a,s.length);return~h?s+r(p,a,u,h)+a:s+p+a},"o");return c.open=s,c.close=a,c},"g"),o={isColorSupported:t},i=l(s=>`\x1B[${s}m`,"d");for(let[s,a]of aX)o[s]=t?n(i(a[0]),i(a[1]),a[2]):ff;return o}l(IR,"p");var Ke=IR();function Dv(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:l(function(){return r[n]},"get")})}})}),Object.freeze(e)}l(Dv,"_mergeNamespaces");function MR(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}l(MR,"getKeysOfEnumerableProperties");function Ra(e,t,r,n,o,i,s=": "){let a="",u=0,c=e.next();if(!c.done){a+=t.spacingOuter;let d=r+t.indent;for(;!c.done;){if(a+=d,u++===t.maxWidth){a+="…";break}let p=i(c.value[0],t,d,n,o),h=i(c.value[1],t,d,n,o);a+=p+s+h,c=e.next(),c.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}l(Ra,"printIteratorEntries");function hf(e,t,r,n,o,i){let s="",a=0,u=e.next();if(!u.done){s+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(s+=c,a++===t.maxWidth){s+="…";break}s+=i(u.value,t,c,n,o),u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}l(hf,"printIteratorValues");function Gl(e,t,r,n,o,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let a=l(c=>c instanceof DataView,"isDataView"),u=a(e)?e.byteLength:e.length;if(u>0){s+=t.spacingOuter;let c=r+t.indent;for(let d=0;d<u;d++){if(s+=c,d===t.maxWidth){s+="…";break}(a(e)||d in e)&&(s+=i(a(e)?e.getInt8(d):e[d],t,c,n,o)),d<u-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}l(Gl,"printListItems");function mf(e,t,r,n,o,i){let s="",a=MR(e,t.compareKeys);if(a.length>0){s+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<a.length;c++){let d=a[c],p=i(d,t,u,n,o),h=i(e[d],t,u,n,o);s+=`${u+p}: ${h}`,c<a.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}l(mf,"printObjectProperties");var lX=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Om=" ",uX=l((e,t,r,n,o,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+Om}[${Gl(e.sample,t,r,n,o,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+Om}{${mf(e.sample,t,r,n,o,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+Om+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()},"serialize$5"),cX=l(e=>e&&e.$$typeof===lX,"test$5"),dX={serialize:uX,test:cX},pX=" ",kR=new Set(["DOMStringMap","NamedNodeMap"]),fX=/^(?:HTML\w*Collection|NodeList)$/;function jR(e){return kR.has(e)||fX.test(e)}l(jR,"testName");var hX=l(e=>e&&e.constructor&&!!e.constructor.name&&jR(e.constructor.name),"test$4");function qR(e){return e.constructor.name==="NamedNodeMap"}l(qR,"isNamedNodeMap");var mX=l((e,t,r,n,o,i)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+pX)+(kR.has(s)?`{${mf(qR(e)?[...e].reduce((a,u)=>(a[u.name]=u.value,a),{}):{...e},t,r,n,o,i)}}`:`[${Gl([...e],t,r,n,o,i)}]`)},"serialize$4"),yX={serialize:mX,test:hX};function Fv(e){return e.replaceAll("<","<").replaceAll(">",">")}l(Fv,"escapeHTML");function yf(e,t,r,n,o,i,s){let a=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,a,o,i);return typeof d!="string"&&(p.includes(`
|
|
173
|
+
`)&&(p=r.spacingOuter+a+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}l(yf,"printProps");function gf(e,t,r,n,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?Bv(s,t):i(s,t,r,n,o))).join("")}l(gf,"printChildren");function Bv(e,t){let r=t.colors.content;return r.open+Fv(e)+r.close}l(Bv,"printText");function LR(e,t){let r=t.colors.comment;return`${r.open}<!--${Fv(e)}-->${r.close}`}l(LR,"printComment");function bf(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}`}l(bf,"printElement");function vf(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}l(vf,"printElementAsLeaf");var gX=1,$R=3,DR=8,FR=11,bX=/^(?:(?:HTML|SVG)\w*)?Element$/;function BR(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}l(BR,"testHasAttribute");function UR(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||BR(e);return r===gX&&(bX.test(t)||o)||r===$R&&t==="Text"||r===DR&&t==="Comment"||r===FR&&t==="DocumentFragment"}l(UR,"testNode");var vX=l(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&UR(e)},"test$3");function VR(e){return e.nodeType===$R}l(VR,"nodeIsText");function HR(e){return e.nodeType===DR}l(HR,"nodeIsComment");function Gc(e){return e.nodeType===FR}l(Gc,"nodeIsFragment");var EX=l((e,t,r,n,o,i)=>{if(VR(e))return Bv(e.data,t);if(HR(e))return LR(e.data,t);let s=Gc(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?vf(s,t):bf(s,yf(Gc(e)?[]:Array.from(e.attributes,a=>a.name).sort(),Gc(e)?{}:[...e.attributes].reduce((a,u)=>(a[u.name]=u.value,a),{}),t,r+t.indent,n,o,i),gf(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},"serialize$3"),wX={serialize:EX,test:vX},SX="@@__IMMUTABLE_ITERABLE__@@",xX="@@__IMMUTABLE_LIST__@@",TX="@@__IMMUTABLE_KEYED__@@",CX="@@__IMMUTABLE_MAP__@@",$T="@@__IMMUTABLE_ORDERED__@@",_X="@@__IMMUTABLE_RECORD__@@",OX="@@__IMMUTABLE_SEQ__@@",PX="@@__IMMUTABLE_SET__@@",AX="@@__IMMUTABLE_STACK__@@",ta=l(e=>`Immutable.${e}`,"getImmutableName"),Ef=l(e=>`[${e}]`,"printAsLeaf"),Wl=" ",DT="…";function JR(e,t,r,n,o,i,s){return++n>t.maxDepth?Ef(ta(s)):`${ta(s)+Wl}{${Ra(e.entries(),t,r,n,o,i)}}`}l(JR,"printImmutableEntries");function zR(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}}}}l(zR,"getRecordEntries");function KR(e,t,r,n,o,i){let s=ta(e._name||"Record");return++n>t.maxDepth?Ef(s):`${s+Wl}{${Ra(zR(e),t,r,n,o,i)}}`}l(KR,"printImmutableRecord");function GR(e,t,r,n,o,i){let s=ta("Seq");return++n>t.maxDepth?Ef(s):e[TX]?`${s+Wl}{${e._iter||e._object?Ra(e.entries(),t,r,n,o,i):DT}}`:`${s+Wl}[${e._iter||e._array||e._collection||e._iterable?hf(e.values(),t,r,n,o,i):DT}]`}l(GR,"printImmutableSeq");function Wc(e,t,r,n,o,i,s){return++n>t.maxDepth?Ef(ta(s)):`${ta(s)+Wl}[${hf(e.values(),t,r,n,o,i)}]`}l(Wc,"printImmutableValues");var RX=l((e,t,r,n,o,i)=>e[CX]?JR(e,t,r,n,o,i,e[$T]?"OrderedMap":"Map"):e[xX]?Wc(e,t,r,n,o,i,"List"):e[PX]?Wc(e,t,r,n,o,i,e[$T]?"OrderedSet":"Set"):e[AX]?Wc(e,t,r,n,o,i,"Stack"):e[OX]?GR(e,t,r,n,o,i):KR(e,t,r,n,o,i),"serialize$2"),NX=l(e=>e&&(e[SX]===!0||e[_X]===!0),"test$2"),IX={serialize:RX,test:NX};function Uv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(Uv,"getDefaultExportFromCjs");var FT={exports:{}},Qe={},BT;function WR(){if(BT)return Qe;BT=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"),s=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");function m(y){if(typeof y=="object"&&y!==null){var g=y.$$typeof;switch(g){case e:switch(y=y.type,y){case r:case o:case n:case u:case c:case h:return y;default:switch(y=y&&y.$$typeof,y){case s:case a:case p:case d:return y;case i:return y;default:return g}}case t:return g}}}return l(m,"typeOf"),Qe.ContextConsumer=i,Qe.ContextProvider=s,Qe.Element=e,Qe.ForwardRef=a,Qe.Fragment=r,Qe.Lazy=p,Qe.Memo=d,Qe.Portal=t,Qe.Profiler=o,Qe.StrictMode=n,Qe.Suspense=u,Qe.SuspenseList=c,Qe.isContextConsumer=function(y){return m(y)===i},Qe.isContextProvider=function(y){return m(y)===s},Qe.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},Qe.isForwardRef=function(y){return m(y)===a},Qe.isFragment=function(y){return m(y)===r},Qe.isLazy=function(y){return m(y)===p},Qe.isMemo=function(y){return m(y)===d},Qe.isPortal=function(y){return m(y)===t},Qe.isProfiler=function(y){return m(y)===o},Qe.isStrictMode=function(y){return m(y)===n},Qe.isSuspense=function(y){return m(y)===u},Qe.isSuspenseList=function(y){return m(y)===c},Qe.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===u||y===c||typeof y=="object"&&y!==null&&(y.$$typeof===p||y.$$typeof===d||y.$$typeof===s||y.$$typeof===i||y.$$typeof===a||y.$$typeof===f||y.getModuleId!==void 0)},Qe.typeOf=m,Qe}l(WR,"requireReactIs_production");var UT;function YR(){return UT||(UT=1,FT.exports=WR()),FT.exports}l(YR,"requireReactIs$1");var XR=YR(),MX=Uv(XR),kX=Dv({__proto__:null,default:MX},[XR]),VT={exports:{}},We={},HT;function QR(){if(HT)return We;HT=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"),s=Symbol.for("react.context"),a=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function y(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case e:switch(g=g.type,g){case r:case o:case n:case c:case d:return g;default:switch(g=g&&g.$$typeof,g){case a:case s:case u:case h:case p:case i:return g;default:return b}}case t:return b}}}return l(y,"v"),We.ContextConsumer=s,We.ContextProvider=i,We.Element=e,We.ForwardRef=u,We.Fragment=r,We.Lazy=h,We.Memo=p,We.Portal=t,We.Profiler=o,We.StrictMode=n,We.Suspense=c,We.SuspenseList=d,We.isAsyncMode=function(){return!1},We.isConcurrentMode=function(){return!1},We.isContextConsumer=function(g){return y(g)===s},We.isContextProvider=function(g){return y(g)===i},We.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},We.isForwardRef=function(g){return y(g)===u},We.isFragment=function(g){return y(g)===r},We.isLazy=function(g){return y(g)===h},We.isMemo=function(g){return y(g)===p},We.isPortal=function(g){return y(g)===t},We.isProfiler=function(g){return y(g)===o},We.isStrictMode=function(g){return y(g)===n},We.isSuspense=function(g){return y(g)===c},We.isSuspenseList=function(g){return y(g)===d},We.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===o||g===n||g===c||g===d||g===f||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===p||g.$$typeof===i||g.$$typeof===s||g.$$typeof===u||g.$$typeof===m||g.getModuleId!==void 0)},We.typeOf=y,We}l(QR,"requireReactIs_production_min");var JT;function ZR(){return JT||(JT=1,VT.exports=QR()),VT.exports}l(ZR,"requireReactIs");var eN=ZR(),jX=Uv(eN),qX=Dv({__proto__:null,default:jX},[eN]),LX=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],wi=Object.fromEntries(LX.map(e=>[e,t=>qX[e](t)||kX[e](t)]));function Vv(e,t=[]){if(Array.isArray(e))for(let r of e)Vv(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}l(Vv,"getChildren");function Sy(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(wi.isFragment(e))return"React.Fragment";if(wi.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(wi.isContextProvider(e))return"Context.Provider";if(wi.isContextConsumer(e))return"Context.Consumer";if(wi.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(wi.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}l(Sy,"getType");function tN(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}l(tN,"getPropKeys$1");var $X=l((e,t,r,n,o,i)=>++n>t.maxDepth?vf(Sy(e),t):bf(Sy(e),yf(tN(e),e.props,t,r+t.indent,n,o,i),gf(Vv(e.props.children),t,r+t.indent,n,o,i),t,r),"serialize$1"),DX=l(e=>e!=null&&wi.isElement(e),"test$1"),FX={serialize:$X,test:DX},BX=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function rN(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}l(rN,"getPropKeys");var UX=l((e,t,r,n,o,i)=>++n>t.maxDepth?vf(e.type,t):bf(e.type,e.props?yf(rN(e),e.props,t,r+t.indent,n,o,i):"",e.children?gf(e.children,t,r+t.indent,n,o,i):"",t,r),"serialize"),VX=l(e=>e&&e.$$typeof===BX,"test"),HX={serialize:UX,test:VX},nN=Object.prototype.toString,JX=Date.prototype.toISOString,zX=Error.prototype.toString,zT=RegExp.prototype.toString;function El(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}l(El,"getConstructorName");function oN(e){return typeof window<"u"&&e===window}l(oN,"isWindow");var KX=/^Symbol\((.*)\)(.*)$/,GX=/\n/g,iN=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};l(iN,"PrettyFormatPluginError");var sN=iN;function aN(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]"}l(aN,"isToStringedArrayType");function lN(e){return Object.is(e,-0)?"-0":String(e)}l(lN,"printNumber");function uN(e){return`${e}n`}l(uN,"printBigInt");function xy(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}l(xy,"printFunction");function Ty(e){return String(e).replace(KX,"Symbol($1)")}l(Ty,"printSymbol");function Cy(e){return`[${zX.call(e)}]`}l(Cy,"printError");function Hv(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 lN(e);if(o==="bigint")return uN(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return xy(e,t);if(o==="symbol")return Ty(e);let i=nN.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?xy(e,t):i==="[object Symbol]"?Ty(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":JX.call(e):i==="[object Error]"?Cy(e):i==="[object RegExp]"?r?zT.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):zT.call(e):e instanceof Error?Cy(e):null}l(Hv,"printBasicValue");function Jv(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++n>t.maxDepth,a=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Qn(e.toJSON(),t,r,n,o,!0);let u=nN.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${a?"":"Arguments "}[${Gl(e,t,r,n,o,Qn)}]`:aN(u)?s?`[${e.constructor.name}]`:`${a||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Gl(e,t,r,n,o,Qn)}]`:u==="[object Map]"?s?"[Map]":`Map {${Ra(e.entries(),t,r,n,o,Qn," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${hf(e.values(),t,r,n,o,Qn)}}`:s||oN(e)?`[${El(e)}]`:`${a||!t.printBasicPrototype&&El(e)==="Object"?"":`${El(e)} `}{${mf(e,t,r,n,o,Qn)}}`}l(Jv,"printComplexValue");var WX={test:l(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o,e];let s=++n>t.maxDepth,{message:a,cause:u,...c}=e,d={message:a,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},p=e.name!=="Error"?e.name:El(e);return s?`[${p}]`:`${p} {${Ra(Object.entries(d).values(),t,r,n,o,i)}}`}};function cN(e){return e.serialize!=null}l(cN,"isNewPlugin");function zv(e,t,r,n,o,i){let s;try{s=cN(e)?e.serialize(t,r,n,o,i,Qn):e.print(t,a=>Qn(a,r,n,o,i),a=>{let u=n+r.indent;return u+a.replaceAll(GX,`
|
|
174
|
+
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(a){throw new sN(a.message,a.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}l(zv,"printPlugin");function Kv(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new sN(n.message,n.stack)}return null}l(Kv,"findPlugin");function Qn(e,t,r,n,o,i){let s=Kv(t.plugins,e);if(s!==null)return zv(s,e,t,r,n,o);let a=Hv(e,t.printFunctionName,t.escapeRegex,t.escapeString);return a!==null?a:Jv(e,t,r,n,o,i)}l(Qn,"printer");var Gv={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},dN=Object.keys(Gv),tn={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:Gv};function pN(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(tn,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.')}l(pN,"validateOptions");function fN(){return dN.reduce((e,t)=>{let r=Gv[t],n=r&&Ke[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))}l(fN,"getColorsHighlight");function hN(){return dN.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}l(hN,"getColorsEmpty");function Wv(e){return(e==null?void 0:e.printFunctionName)??tn.printFunctionName}l(Wv,"getPrintFunctionName");function Yv(e){return(e==null?void 0:e.escapeRegex)??tn.escapeRegex}l(Yv,"getEscapeRegex");function Xv(e){return(e==null?void 0:e.escapeString)??tn.escapeString}l(Xv,"getEscapeString");function _y(e){return{callToJSON:(e==null?void 0:e.callToJSON)??tn.callToJSON,colors:e!=null&&e.highlight?fN():hN(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:tn.compareKeys,escapeRegex:Yv(e),escapeString:Xv(e),indent:e!=null&&e.min?"":mN((e==null?void 0:e.indent)??tn.indent),maxDepth:(e==null?void 0:e.maxDepth)??tn.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??tn.maxWidth,min:(e==null?void 0:e.min)??tn.min,plugins:(e==null?void 0:e.plugins)??tn.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Wv(e),spacingInner:e!=null&&e.min?" ":`
|
|
175
|
+
`,spacingOuter:e!=null&&e.min?"":`
|
|
176
|
+
`}}l(_y,"getConfig");function mN(e){return Array.from({length:e+1}).join(" ")}l(mN,"createIndent");function sn(e,t){if(t&&(pN(t),t.plugins)){let n=Kv(t.plugins,e);if(n!==null)return zv(n,e,_y(t),"",0,[])}let r=Hv(e,Wv(t),Yv(t),Xv(t));return r!==null?r:Jv(e,_y(t),"",0,[])}l(sn,"format");var Qv={AsymmetricMatcher:dX,DOMCollection:yX,DOMElement:wX,Immutable:IX,ReactElement:FX,ReactTestComponent:HX,Error:WX},KT={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"]},YX={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},ra="…";function yN(e,t){let r=KT[YX[t]]||KT[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}l(yN,"colorise");function gN({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:a=[],truncate:u=1/0,stylize:c=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:a,inspect:d,stylize:c};return p.colors&&(p.stylize=yN),p}l(gN,"normaliseOptions");function bN(e){return e>="\uD800"&&e<="\uDBFF"}l(bN,"isHighSurrogate");function bo(e,t,r=ra){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&&bN(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}l(bo,"truncate");function Wr(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",a="",u="";for(let c=0;c<o;c+=1){let d=c+1===e.length,p=c+2===e.length;u=`${ra}(${e.length-c})`;let h=e[c];t.truncate=i-s.length-(d?0:n.length);let f=a||r(h,t)+(d?"":n),m=s.length+f.length,y=m+u.length;if(d&&m>i&&s.length+u.length<=i||!d&&!p&&y>i||(a=d?"":r(e[c+1],t)+(p?"":n),!d&&p&&y>i&&m+a.length>i))break;if(s+=f,!d&&!p&&m+a.length>=i){u=`${ra}(${e.length-c-1})`;break}u=""}return`${s}${u}`}l(Wr,"inspectList");function vN(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}l(vN,"quoteComplexKey");function na([e,t],r){return r.truncate-=2,typeof e=="string"?e=vN(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}l(na,"inspectProperty");function EN(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Wr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Wr(r.map(i=>[i,e[i]]),t,na)),`[ ${n}${o?`, ${o}`:""} ]`}l(EN,"inspectArray");var XX=l(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function gn(e,t){let r=XX(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 s=0;s<e.length;s++){let a=`${t.stylize(bo(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=a.length,e[s]!==e.length&&t.truncate<=3){o+=`${ra}(${e.length-e[s]+1})`;break}o+=a}let i="";return n.length&&(i=Wr(n.map(s=>[s,e[s]]),t,na)),`${r}[ ${o}${i?`, ${i}`:""} ]`}l(gn,"inspectTypedArray");function wN(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${bo(n[1],t.truncate-o.length-1)}`,"date")}l(wN,"inspectDate");function Oy(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${bo(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}l(Oy,"inspectFunction");function SN([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}l(SN,"inspectMapEntry");function xN(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}l(xN,"mapToEntries");function TN(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Wr(xN(e),t,SN)} }`)}l(TN,"inspectMap");var QX=Number.isNaN||(e=>e!==e);function Py(e,t){return QX(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(bo(String(e),t.truncate),"number")}l(Py,"inspectNumber");function Ay(e,t){let r=bo(e.toString(),t.truncate-1);return r!==ra&&(r+="n"),t.stylize(r,"bigint")}l(Ay,"inspectBigInt");function CN(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${bo(o,n)}/${r}`,"regexp")}l(CN,"inspectRegExp");function _N(e){let t=[];return e.forEach(r=>{t.push(r)}),t}l(_N,"arrayFromSet");function ON(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Wr(_N(e),t)} }`)}l(ON,"inspectSet");var GT=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),ZX={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},eQ=16;function PN(e){return ZX[e]||`\\u${`0000${e.charCodeAt(0).toString(eQ)}`.slice(-4)}`}l(PN,"escape");function Ry(e,t){return GT.test(e)&&(e=e.replace(GT,PN)),t.stylize(`'${bo(e,t.truncate-2)}'`,"string")}l(Ry,"inspectString");function Ny(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}l(Ny,"inspectSymbol");var AN=l(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=Vo.binding("util");Array.isArray(e(Promise.resolve()))&&(AN=l((n,o)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`},"getPromiseValue"))}catch{}var tQ=AN;function wl(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=Wr(r.map(a=>[a,e[a]]),t,na),i=Wr(n.map(a=>[a,e[a]]),t,na);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}l(wl,"inspectObject");var Pm=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function RN(e,t){let r="";return Pm&&Pm in e&&(r=e[Pm]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${wl(e,t)}`}l(RN,"inspectClass");function NN(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Wr(e,t)} ]`)}l(NN,"inspectArguments");var rQ=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function IN(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>rQ.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=bo(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=Wr(r.map(s=>[s,e[s]]),t,na);return`${n}${o}${i?` { ${i} }`:""}`}l(IN,"inspectObject");function MN([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}l(MN,"inspectAttribute");function Cd(e,t){return Wr(e,t,Zv,`
|
|
177
|
+
`)}l(Cd,"inspectHTMLCollection");function Zv(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let a="";r.length>0&&(a+=" ",a+=Wr(r.map(d=>[d,e.getAttribute(d)]),t,MN," ")),t.truncate-=a.length;let u=t.truncate,c=Cd(e.children,t);return c&&c.length>u&&(c=`${ra}(${e.children.length})`),`${o}${a}${i}${c}${s}`}l(Zv,"inspectHTML");var nQ=typeof Symbol=="function"&&typeof Symbol.for=="function",Am=nQ?Symbol.for("chai/inspect"):"@@chai/inspect",Ns=!1;try{let e=iJ();Ns=e.inspect?e.inspect.custom:!1}catch{Ns=!1}var WT=new WeakMap,YT={},XT={undefined:l((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:l((e,t)=>t.stylize("null","null"),"null"),boolean:l((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:l((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Py,Number:Py,bigint:Ay,BigInt:Ay,string:Ry,String:Ry,function:Oy,Function:Oy,symbol:Ny,Symbol:Ny,Array:EN,Date:wN,Map:TN,Set:ON,RegExp:CN,Promise:tQ,WeakSet:l((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:l((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:NN,Int8Array:gn,Uint8Array:gn,Uint8ClampedArray:gn,Int16Array:gn,Uint16Array:gn,Int32Array:gn,Uint32Array:gn,Float32Array:gn,Float64Array:gn,Generator:l(()=>"","Generator"),DataView:l(()=>"","DataView"),ArrayBuffer:l(()=>"","ArrayBuffer"),Error:IN,HTMLCollection:Cd,NodeList:Cd},oQ=l((e,t,r)=>Am in e&&typeof e[Am]=="function"?e[Am](t):Ns&&Ns in e&&typeof e[Ns]=="function"?e[Ns](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&WT.has(e.constructor)?WT.get(e.constructor)(e,t):YT[r]?YT[r](e,t):"","inspectCustom"),iQ=Object.prototype.toString;function Yl(e,t={}){let r=gN(t,Yl),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=iQ.call(e).slice(8,-1)),o in XT)return XT[o](e,r);if(n&&e){let s=oQ(e,r,o);if(s)return typeof s=="string"?s:Yl(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?wl(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Zv(e,r):"constructor"in e?e.constructor!==Object?RN(e,r):wl(e,r):e===Object(e)?wl(e,r):r.stylize(String(e),o)}l(Yl,"inspect");var{AsymmetricMatcher:sQ,DOMCollection:aQ,DOMElement:lQ,Immutable:uQ,ReactElement:cQ,ReactTestComponent:dQ}=Qv,QT=[dQ,cQ,lQ,aQ,uQ,sQ];function oa(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=sn(e,{maxDepth:t,escapeString:!1,plugins:QT,...n})}catch{i=sn(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:QT,...n})}return i.length>=o&&t>1?oa(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):i}l(oa,"stringify");var pQ=/%[sdjifoOc%]/g;function kN(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(Ss(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(pQ,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?typeof s.toString=="function"&&s.toString!==Object.prototype.toString?s.toString():Ss(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Ss(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ss(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let a=s.message;if(a.includes("circular structure")||a.includes("cyclic structures")||a.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${Ss(i)}`;return o}l(kN,"format");function Ss(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Yl(e,t)}l(Ss,"inspect");function jN(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(jN,"getDefaultExportFromCjs");function qN(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}l(qN,"isFinalObj");function _d(e){return Object.prototype.toString.apply(e).slice(8,-1)}l(_d,"getType");function LN(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}l(LN,"collectOwnProperties");function eE(e){let t=new Set;return qN(e)?[]:(LN(e,t),Array.from(t))}l(eE,"getOwnProperties");var $N={forceWritable:!1};function Iy(e,t=$N){return Od(e,new WeakMap,t)}l(Iy,"deepClone");function Od(e,t,r=$N){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]=Od(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=eE(e);for(let s of i){let a=Object.getOwnPropertyDescriptor(e,s);if(!a)continue;let u=Od(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:a.enumerable,configurable:!0,writable:!0,value:u}):"get"in a?Object.defineProperty(o,s,{...a,get(){return u}}):Object.defineProperty(o,s,{...a,value:u})}return o}return e}l(Od,"clone");var ur=-1,Yt=1,gt=0,DN=class{constructor(t,r){yt(this,0);yt(this,1);this[0]=t,this[1]=r}};l(DN,"Diff");var pt=DN;function FN(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}l(FN,"diff_commonPrefix");function tE(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}l(tE,"diff_commonSuffix");function My(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,s=1;for(;;){let a=e.substring(o-s),u=t.indexOf(a);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}}l(My,"diff_commonOverlap_");function BN(e){let t=!1,r=[],n=0,o=null,i=0,s=0,a=0,u=0,c=0;for(;i<e.length;)e[i][0]===gt?(r[n++]=i,s=u,a=c,u=0,c=0,o=e[i][1]):(e[i][0]===Yt?u+=e[i][1].length:c+=e[i][1].length,o&&o.length<=Math.max(s,a)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new pt(ur,o)),e[r[n-1]+1][0]=Yt,n--,n--,i=n>0?r[n-1]:-1,s=0,a=0,u=0,c=0,o=null,t=!0)),i++;for(t&&rE(e),UN(e),i=1;i<e.length;){if(e[i-1][0]===ur&&e[i][0]===Yt){let d=e[i-1][1],p=e[i][1],h=My(d,p),f=My(p,d);h>=f?(h>=d.length/2||h>=p.length/2)&&(e.splice(i,0,new pt(gt,p.substring(0,h))),e[i-1][1]=d.substring(0,d.length-h),e[i+1][1]=p.substring(h),i++):(f>=d.length/2||f>=p.length/2)&&(e.splice(i,0,new pt(gt,d.substring(0,f))),e[i-1][0]=Yt,e[i-1][1]=p.substring(0,p.length-f),e[i+1][0]=ur,e[i+1][1]=d.substring(f),i++),i++}i++}}l(BN,"diff_cleanupSemantic");var ZT=/[^a-z0-9]/i,eC=/\s/,tC=/[\r\n]/,fQ=/\n\r?\n$/,hQ=/^\r?\n\r?\n/;function UN(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===gt&&e[t+1][0]===gt){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],i=tE(r,n);if(i){let d=n.substring(n.length-i);r=r.substring(0,r.length-i),n=d+n.substring(0,n.length-i),o=d+o}let s=r,a=n,u=o,c=al(r,n)+al(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 d=al(r,n)+al(n,o);d>=c&&(c=d,s=r,a=n,u=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=a,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}l(UN,"diff_cleanupSemanticLossless");function rE(e){e.push(new pt(gt,""));let t=0,r=0,n=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Yt:n++,i+=e[t][1],t++;break;case ur:r++,o+=e[t][1],t++;break;case gt:r+n>1?(r!==0&&n!==0&&(s=FN(i,o),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===gt?e[t-r-n-1][1]+=i.substring(0,s):(e.splice(0,0,new pt(gt,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=tE(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new pt(ur,o)),t++),i.length&&(e.splice(t,0,new pt(Yt,i)),t++),t++):t!==0&&e[t-1][0]===gt?(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 a=!1;for(t=1;t<e.length-1;)e[t-1][0]===gt&&e[t+1][0]===gt&&(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),a=!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),a=!0)),t++;a&&rE(e)}l(rE,"diff_cleanupMerge");function al(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(ZT),i=n.match(ZT),s=o&&r.match(eC),a=i&&n.match(eC),u=s&&r.match(tC),c=a&&n.match(tC),d=u&&e.match(fQ),p=c&&t.match(hQ);return d||p?5:u||c?4:o&&!s&&a?3:s||a?2:o||i?1:0}l(al,"diff_cleanupSemanticScore_");var VN="Compared values have no visual difference.",mQ="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Oc={},rC;function HN(){if(rC)return Oc;rC=1,Object.defineProperty(Oc,"__esModule",{value:!0}),Oc.default=h;let e="diff-sequences",t=0,r=l((f,m,y,g,b)=>{let v=0;for(;f<m&&y<g&&b(f,y);)f+=1,y+=1,v+=1;return v},"countCommonItemsF"),n=l((f,m,y,g,b)=>{let v=0;for(;f<=m&&y<=g&&b(m,g);)m-=1,g-=1,v+=1;return v},"countCommonItemsR"),o=l((f,m,y,g,b,v,S)=>{let T=0,O=-f,C=v[T],E=C;v[T]+=r(C+1,m,g+C-O+1,y,b);let w=f<S?f:S;for(T+=1,O+=2;T<=w;T+=1,O+=2){if(T!==f&&E<v[T])C=v[T];else if(C=E+1,m<=C)return T-1;E=v[T],v[T]=C+r(C+1,m,g+C-O+1,y,b)}return S},"extendPathsF"),i=l((f,m,y,g,b,v,S)=>{let T=0,O=f,C=v[T],E=C;v[T]-=n(m,C-1,y,g+C-O-1,b);let w=f<S?f:S;for(T+=1,O-=2;T<=w;T+=1,O-=2){if(T!==f&&v[T]<E)C=v[T];else if(C=E-1,C<m)return T-1;E=v[T],v[T]=C-n(m,C-1,y,g+C-O-1,b)}return S},"extendPathsR"),s=l((f,m,y,g,b,v,S,T,O,C,E)=>{let w=g-m,_=y-m,R=b-g-_,N=-R-(f-1),j=-R+(f-1),D=t,P=f<T?f:T;for(let M=0,k=-f;M<=P;M+=1,k+=2){let z=M===0||M!==f&&D<S[M],J=z?S[M]:D,ie=z?J:J+1,pe=w+ie-k,oe=r(ie+1,y,pe+1,b,v),q=ie+oe;if(D=S[M],S[M]=q,N<=k&&k<=j){let H=(f-1-(k+R))/2;if(H<=C&&O[H]-1<=q){let X=w+J-(z?k+1:k-1),ne=n(m,J,g,X,v),ee=J-ne,le=X-ne,ye=ee+1,Ie=le+1;E.nChangePreceding=f-1,f-1===ye+Ie-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=ye,E.bEndPreceding=Ie),E.nCommonPreceding=ne,ne!==0&&(E.aCommonPreceding=ye,E.bCommonPreceding=Ie),E.nCommonFollowing=oe,oe!==0&&(E.aCommonFollowing=ie+1,E.bCommonFollowing=pe+1);let Te=q+1,K=pe+oe+1;return E.nChangeFollowing=f-1,f-1===y+b-Te-K?(E.aStartFollowing=y,E.bStartFollowing=b):(E.aStartFollowing=Te,E.bStartFollowing=K),!0}}}return!1},"extendOverlappablePathsF"),a=l((f,m,y,g,b,v,S,T,O,C,E)=>{let w=b-y,_=y-m,R=b-g-_,N=R-f,j=R+f,D=t,P=f<C?f:C;for(let M=0,k=f;M<=P;M+=1,k-=2){let z=M===0||M!==f&&O[M]<D,J=z?O[M]:D,ie=z?J:J-1,pe=w+ie-k,oe=n(m,ie-1,g,pe-1,v),q=ie-oe;if(D=O[M],O[M]=q,N<=k&&k<=j){let H=(f+(k-R))/2;if(H<=T&&q-1<=S[H]){let X=pe-oe;if(E.nChangePreceding=f,f===q+X-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=q,E.bEndPreceding=X),E.nCommonPreceding=oe,oe!==0&&(E.aCommonPreceding=q,E.bCommonPreceding=X),E.nChangeFollowing=f-1,f===1)E.nCommonFollowing=0,E.aStartFollowing=y,E.bStartFollowing=b;else{let ne=w+J-(z?k-1:k+1),ee=r(J,y,ne,b,v);E.nCommonFollowing=ee,ee!==0&&(E.aCommonFollowing=J,E.bCommonFollowing=ne);let le=J+ee,ye=ne+ee;f-1===y+b-le-ye?(E.aStartFollowing=y,E.bStartFollowing=b):(E.aStartFollowing=le,E.bStartFollowing=ye)}return!0}}}return!1},"extendOverlappablePathsR"),u=l((f,m,y,g,b,v,S,T,O)=>{let C=g-m,E=b-y,w=y-m,_=b-g,R=_-w,N=w,j=w;if(S[0]=m-1,T[0]=y,R%2===0){let D=(f||R)/2,P=(w+_)/2;for(let M=1;M<=P;M+=1)if(N=o(M,y,b,C,v,S,N),M<D)j=i(M,m,g,E,v,T,j);else if(a(M,m,y,g,b,v,S,N,T,j,O))return}else{let D=((f||R)+1)/2,P=(w+_+1)/2,M=1;for(N=o(M,y,b,C,v,S,N),M+=1;M<=P;M+=1)if(j=i(M-1,m,g,E,v,T,j),M<D)N=o(M,y,b,C,v,S,N);else if(s(M,m,y,g,b,v,S,N,T,j,O))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${y} bStart=${g} bEnd=${b}`)},"divide"),c=l((f,m,y,g,b,v,S,T,O,C)=>{if(b-g<y-m){if(v=!v,v&&S.length===1){let{foundSubsequence:H,isCommon:X}=S[0];S[1]={foundSubsequence:l((ne,ee,le)=>{H(ne,le,ee)},"foundSubsequence"),isCommon:l((ne,ee)=>X(ee,ne),"isCommon")}}let oe=m,q=y;m=g,y=b,g=oe,b=q}let{foundSubsequence:E,isCommon:w}=S[v?1:0];u(f,m,y,g,b,w,T,O,C);let{nChangePreceding:_,aEndPreceding:R,bEndPreceding:N,nCommonPreceding:j,aCommonPreceding:D,bCommonPreceding:P,nCommonFollowing:M,aCommonFollowing:k,bCommonFollowing:z,nChangeFollowing:J,aStartFollowing:ie,bStartFollowing:pe}=C;m<R&&g<N&&c(_,m,R,g,N,v,S,T,O,C),j!==0&&E(j,D,P),M!==0&&E(M,k,z),ie<y&&pe<b&&c(J,ie,y,pe,b,v,S,T,O,C)},"findSubsequences"),d=l((f,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${f} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${f} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${f} value ${m} is a negative integer`)},"validateLength"),p=l((f,m)=>{let y=typeof m;if(y!=="function")throw new TypeError(`${e}: ${f} typeof ${y} is not a function`)},"validateCallback");function h(f,m,y,g){d("aLength",f),d("bLength",m),p("isCommon",y),p("foundSubsequence",g);let b=r(0,f,0,m,y);if(b!==0&&g(b,0,0),f!==b||m!==b){let v=b,S=b,T=n(v,f-1,S,m-1,y),O=f-T,C=m-T,E=b+T;f!==E&&m!==E&&c(0,v,O,S,C,!1,[{foundSubsequence:g,isCommon:y}],[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}),T!==0&&g(T,O,C)}}return l(h,"diffSequence"),Oc}l(HN,"requireBuild");var yQ=HN(),JN=jN(yQ);function zN(e,t){return e.replace(/\s+$/,r=>t(r))}l(zN,"formatTrailingSpaces");function wf(e,t,r,n,o,i){return e.length!==0?r(`${n} ${zN(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}l(wf,"printDiffLine");function nE(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return wf(e,t,r,n,o,i)}l(nE,"printDeleteLine");function oE(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return wf(e,t,r,n,o,i)}l(oE,"printInsertLine");function iE(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return wf(e,t,r,n,o,i)}l(iE,"printCommonLine");function ky(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}l(ky,"createPatchMark");function KN(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,s=!1,a=0,u=0;for(;u!==r;){let T=u;for(;u!==r&&e[u][0]===gt;)u+=1;if(T!==u)if(T===0)u>n&&(i-=u-n,s=!0);else if(u===r){let O=u-T;O>n&&(i-=O-n,s=!0)}else{let O=u-T;O>o&&(i-=O-o,a+=1)}for(;u!==r&&e[u][0]!==gt;)u+=1}let c=a!==0||s;a!==0?i+=a+1:s&&(i+=1);let d=i-1,p=[],h=0;c&&p.push("");let f=0,m=0,y=0,g=0,b=l(T=>{let O=p.length;p.push(iE(T,O===0||O===d,t)),y+=1,g+=1},"pushCommonLine"),v=l(T=>{let O=p.length;p.push(nE(T,O===0||O===d,t)),y+=1},"pushDeleteLine"),S=l(T=>{let O=p.length;p.push(oE(T,O===0||O===d,t)),g+=1},"pushInsertLine");for(u=0;u!==r;){let T=u;for(;u!==r&&e[u][0]===gt;)u+=1;if(T!==u)if(T===0){u>n&&(T=u-n,f=T,m=T,y=f,g=m);for(let O=T;O!==u;O+=1)b(e[O][1])}else if(u===r){let O=u-T>n?T+n:u;for(let C=T;C!==O;C+=1)b(e[C][1])}else{let O=u-T;if(O>o){let C=T+n;for(let w=T;w!==C;w+=1)b(e[w][1]);p[h]=ky(f,y,m,g,t),h=p.length,p.push("");let E=O-o;f=y+E,m=g+E,y=f,g=m;for(let w=u-n;w!==u;w+=1)b(e[w][1])}else for(let C=T;C!==u;C+=1)b(e[C][1])}for(;u!==r&&e[u][0]===ur;)v(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Yt;)S(e[u][1]),u+=1}return c&&(p[h]=ky(f,y,m,g,t)),p.join(`
|
|
178
|
+
`)}l(KN,"joinAlignedDiffsNoExpand");function GN(e,t){return e.map((r,n,o)=>{let i=r[1],s=n===0||n===o.length-1;switch(r[0]){case ur:return nE(i,s,t);case Yt:return oE(i,s,t);default:return iE(i,s,t)}}).join(`
|
|
179
|
+
`)}l(GN,"joinAlignedDiffsExpand");var Rm=l(e=>e,"noColor"),WN=5,gQ=0;function YN(){return{aAnnotation:"Expected",aColor:Ke.green,aIndicator:"-",bAnnotation:"Received",bColor:Ke.red,bIndicator:"+",changeColor:Ke.inverse,changeLineTrailingSpaceColor:Rm,commonColor:Ke.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Rm,compareKeys:void 0,contextLines:WN,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Ke.yellow,printBasicPrototype:!1,truncateThreshold:gQ,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Rm}}l(YN,"getDefaultOptions");function XN(e){return e&&typeof e=="function"?e:void 0}l(XN,"getCompareKeys");function QN(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:WN}l(QN,"getContextLines");function ai(e={}){return{...YN(),...e,compareKeys:XN(e.compareKeys),contextLines:QN(e.contextLines)}}l(ai,"normalizeDiffOptions");function Ci(e){return e.length===1&&e[0].length===0}l(Ci,"isEmptyString");function ZN(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case ur:t+=1;break;case Yt:r+=1;break}}),{a:t,b:r}}l(ZN,"countChanges");function eI({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:a},u){if(a)return"";let c="",d="";if(s){let f=String(u.a),m=String(u.b),y=n.length-e.length,g=" ".repeat(Math.max(0,y)),b=" ".repeat(Math.max(0,-y)),v=m.length-f.length,S=" ".repeat(Math.max(0,v)),T=" ".repeat(Math.max(0,-v));c=`${g} ${r} ${S}${f}`,d=`${b} ${i} ${T}${m}`}let p=`${r} ${e}${c}`,h=`${i} ${n}${d}`;return`${t(p)}
|
|
180
|
+
${o(h)}
|
|
181
|
+
|
|
182
|
+
`}l(eI,"printAnnotation");function Sf(e,t,r){return eI(r,ZN(e))+(r.expand?GN(e,r):KN(e,r))+(t?r.truncateAnnotationColor(`
|
|
183
|
+
${r.truncateAnnotation}`):"")}l(Sf,"printDiffLines");function Bu(e,t,r){let n=ai(r),[o,i]=sE(Ci(e)?[]:e,Ci(t)?[]:t,n);return Sf(o,i,n)}l(Bu,"diffLinesUnified");function tI(e,t,r,n,o){if(Ci(e)&&Ci(r)&&(e=[],r=[]),Ci(t)&&Ci(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Bu(e,t,o);let[i,s]=sE(r,n,o),a=0,u=0;return i.forEach(c=>{switch(c[0]){case ur:c[1]=e[a],a+=1;break;case Yt:c[1]=t[u],u+=1;break;default:c[1]=t[u],a+=1,u+=1}}),Sf(i,s,ai(o))}l(tI,"diffLinesUnified2");function sE(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,s=n?Math.min(t.length,o):t.length,a=i!==e.length||s!==t.length,u=l((h,f)=>e[h]===t[f],"isCommon"),c=[],d=0,p=0;for(JN(i,s,u,l((h,f,m)=>{for(;d!==f;d+=1)c.push(new pt(ur,e[d]));for(;p!==m;p+=1)c.push(new pt(Yt,t[p]));for(;h!==0;h-=1,d+=1,p+=1)c.push(new pt(gt,t[p]))},"foundSubsequence"));d!==i;d+=1)c.push(new pt(ur,e[d]));for(;p!==s;p+=1)c.push(new pt(Yt,t[p]));return[c,a]}l(sE,"diffLinesRaw");function jy(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}`)}l(jy,"getType");function qy(e){return e.includes(`\r
|
|
184
|
+
`)?`\r
|
|
185
|
+
`:`
|
|
186
|
+
`}l(qy,"getNewLineSymbol");function rI(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,s=t.length;if(n){let h=e.includes(`
|
|
187
|
+
`),f=t.includes(`
|
|
188
|
+
`),m=qy(e),y=qy(t),g=h?`${e.split(m,o).join(m)}
|
|
189
|
+
`:e,b=f?`${t.split(y,o).join(y)}
|
|
190
|
+
`:t;i=g.length,s=b.length}let a=i!==e.length||s!==t.length,u=l((h,f)=>e[h]===t[f],"isCommon"),c=0,d=0,p=[];return JN(i,s,u,l((h,f,m)=>{c!==f&&p.push(new pt(ur,e.slice(c,f))),d!==m&&p.push(new pt(Yt,t.slice(d,m))),c=f+h,d=m+h,p.push(new pt(gt,t.slice(m,d)))},"foundSubsequence")),c!==i&&p.push(new pt(ur,e.slice(c))),d!==s&&p.push(new pt(Yt,t.slice(d))),[p,a]}l(rI,"diffStrings");function nI(e,t,r){return t.reduce((n,o)=>n+(o[0]===gt?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}l(nI,"concatenateRelevantDiffs");var oI=class{constructor(t,r){yt(this,"op");yt(this,"line");yt(this,"lines");yt(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new pt(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new pt(this.op,nI(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new pt(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
|
|
191
|
+
`)){let n=r.split(`
|
|
192
|
+
`),o=n.length-1;n.forEach((i,s)=>{s<o?(this.pushSubstring(i),this.pushLine()):i.length!==0&&this.pushSubstring(i)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};l(oI,"ChangeBuffer");var nC=oI,iI=class{constructor(t,r){yt(this,"deleteBuffer");yt(this,"insertBuffer");yt(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
|
|
193
|
+
`)){let o=n.split(`
|
|
194
|
+
`),i=o.length-1;o.forEach((s,a)=>{if(a===0){let u=new pt(r,s);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else a<i?this.pushDiffCommonLine(new pt(r,s)):s.length!==0&&this.pushDiffChangeLines(new pt(r,s))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};l(iI,"CommonBuffer");var bQ=iI;function sI(e,t){let r=new nC(ur,t),n=new nC(Yt,t),o=new bQ(r,n);return e.forEach(i=>{switch(i[0]){case ur:r.align(i);break;case Yt:n.align(i);break;default:o.align(i)}}),o.getLines()}l(sI,"getAlignedDiffs");function aI(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===gt&&(o!==r||n[1]!==`
|
|
195
|
+
`))}return e.some(r=>r[0]===gt)}l(aI,"hasCommonDiff");function lI(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
196
|
+
`)||t.includes(`
|
|
197
|
+
`),[o,i]=aE(n?`${e}
|
|
198
|
+
`:e,n?`${t}
|
|
199
|
+
`:t,!0,r);if(aI(o,n)){let s=ai(r),a=sI(o,s.changeColor);return Sf(a,i,s)}}return Bu(e.split(`
|
|
200
|
+
`),t.split(`
|
|
201
|
+
`),r)}l(lI,"diffStringsUnified");function aE(e,t,r,n){let[o,i]=rI(e,t,n);return r&&BN(o),[o,i]}l(aE,"diffStringsRaw");function Pd(e,t){let{commonColor:r}=ai(t);return r(e)}l(Pd,"getCommonMessage");var{AsymmetricMatcher:vQ,DOMCollection:EQ,DOMElement:wQ,Immutable:SQ,ReactElement:xQ,ReactTestComponent:TQ}=Qv,uI=[TQ,xQ,wQ,EQ,SQ,vQ,Qv.Error],Ly={maxDepth:20,plugins:uI},cI={callToJSON:!1,maxDepth:8,plugins:uI};function dI(e,t,r){if(Object.is(e,t))return"";let n=jy(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!==jy(t)){let s=function(S){return S.length<=g?S:`${S.slice(0,g)}...`};l(s,"truncate");let{aAnnotation:a,aColor:u,aIndicator:c,bAnnotation:d,bColor:p,bIndicator:h}=ai(r),f=Ad(cI,r),m=sn(e,f),y=sn(t,f),g=1e5;m=s(m),y=s(y);let b=`${u(`${c} ${a}:`)}
|
|
202
|
+
${m}`,v=`${p(`${h} ${d}:`)}
|
|
203
|
+
${y}`;return`${b}
|
|
204
|
+
|
|
205
|
+
${v}`}if(!i)switch(n){case"string":return Bu(e.split(`
|
|
206
|
+
`),t.split(`
|
|
207
|
+
`),r);case"boolean":case"number":return pI(e,t,r);case"map":return Yc($y(e),$y(t),r);case"set":return Yc(Dy(e),Dy(t),r);default:return Yc(e,t,r)}}l(dI,"diff");function pI(e,t,r){let n=sn(e,Ly),o=sn(t,Ly);return n===o?"":Bu(n.split(`
|
|
208
|
+
`),o.split(`
|
|
209
|
+
`),r)}l(pI,"comparePrimitive");function $y(e){return new Map(Array.from(e.entries()).sort())}l($y,"sortMap");function Dy(e){return new Set(Array.from(e.values()).sort())}l(Dy,"sortSet");function Yc(e,t,r){let n,o=!1;try{let s=Ad(Ly,r);n=Fy(e,t,s,r)}catch{o=!0}let i=Pd(VN,r);if(n===void 0||n===i){let s=Ad(cI,r);n=Fy(e,t,s,r),n!==i&&!o&&(n=`${Pd(mQ,r)}
|
|
210
|
+
|
|
211
|
+
${n}`)}return n}l(Yc,"compareObjects");function Ad(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:o}=ai(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o??e.maxDepth}}l(Ad,"getFormatOptions");function Fy(e,t,r,n){let o={...r,indent:0},i=sn(e,o),s=sn(t,o);if(i===s)return Pd(VN,n);{let a=sn(e,r),u=sn(t,r);return tI(a.split(`
|
|
212
|
+
`),u.split(`
|
|
213
|
+
`),i.split(`
|
|
214
|
+
`),s.split(`
|
|
215
|
+
`),n)}}l(Fy,"getObjectsDifference");var oC=2e4;function By(e){return _d(e)==="Object"&&typeof e.asymmetricMatch=="function"}l(By,"isAsymmetricMatcher");function Uy(e,t){let r=_d(e),n=_d(t);return r===n&&(r==="Object"||r==="Array")}l(Uy,"isReplaceable");function fI(e,t,r){let{aAnnotation:n,bAnnotation:o}=ai(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=oC&&e.length<=oC&&t!==e){if(t.includes(`
|
|
216
|
+
`)||e.includes(`
|
|
217
|
+
`))return lI(t,e,r);let[c]=aE(t,e,!0),d=c.some(m=>m[0]===gt),p=hI(n,o),h=p(n)+yI(Vy(c,ur,d)),f=p(o)+mI(Vy(c,Yt,d));return`${h}
|
|
218
|
+
${f}`}let i=Iy(t,{forceWritable:!0}),s=Iy(e,{forceWritable:!0}),{replacedExpected:a,replacedActual:u}=lE(s,i);return dI(a,u,r)}l(fI,"printDiffOrStringify");function lE(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}):Uy(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),eE(t).forEach(o=>{let i=t[o],s=e[o];if(By(i))i.asymmetricMatch(s)&&(e[o]=i);else if(By(s))s.asymmetricMatch(i)&&(t[o]=s);else if(Uy(s,i)){let a=lE(s,i,r,n);e[o]=a.replacedActual,t[o]=a.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}l(lE,"replaceAsymmetricMatcher");function hI(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}l(hI,"getLabelPrinter");var CQ="·";function uE(e){return e.replace(/\s+$/gm,t=>CQ.repeat(t.length))}l(uE,"replaceTrailingSpaces");function mI(e){return Ke.red(uE(oa(e)))}l(mI,"printReceived");function yI(e){return Ke.green(uE(oa(e)))}l(yI,"printExpected");function Vy(e,t,r){return e.reduce((n,o)=>n+(o[0]===gt?o[1]:o[0]===t?r?Ke.inverse(o[1]):o[1]:""),"")}l(Vy,"getCommonAndChangedSubstrings");var _Q="@@__IMMUTABLE_RECORD__@@",OQ="@@__IMMUTABLE_ITERABLE__@@";function gI(e){return e&&(e[OQ]||e[_Q])}l(gI,"isImmutable");var PQ=Object.getPrototypeOf({});function Hy(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}l(Hy,"getUnserializableMessage");function _i(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(gI(e))return _i(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()} ${kN(e.sample)}`;if(typeof e.toJSON=="function")return _i(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]=_i(n,t)}catch(i){r[o]=Hy(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==PQ;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=_i(e[o],t)}catch(i){delete r[o],r[o]=Hy(i)}}),n=Object.getPrototypeOf(n);return r}}l(_i,"serializeValue");function bI(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}l(bI,"normalizeErrorMessage");function cE(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=fI(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=oa(n.expected,10)),typeof n.actual!="string"&&(n.actual=oa(n.actual,10));try{typeof n.message=="string"&&(n.message=bI(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=cE(n.cause,t,r))}catch{}try{return _i(n)}catch(o){return _i(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
|
|
219
|
+
Inner error message: ${n==null?void 0:n.message}`))}}l(cE,"processError");var Un={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"},Nm=globalThis.__STORYBOOK_ADDONS_PREVIEW,iC={start:!1,back:!1,goto:!1,next:!1,end:!1},AQ=new Error("This function ran after the play function completed. Did you forget to `await` it?"),sC=l(e=>Object.prototype.toString.call(e)==="[object Object]","isObject"),RQ=l(e=>Object.prototype.toString.call(e)==="[object Module]","isModule"),NQ=l(e=>{if(!sC(e)&&!RQ(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!sC(t)},"isInstrumentable"),IQ=l(e=>{try{return new e.constructor}catch{return{}}},"construct"),Im=l(()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),"getInitialState"),aC=l((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}},"getRetainedState"),vI=class{constructor(){var u,c;this.initialized=!1,this.state=((c=(u=me.window)==null?void 0:u.parent)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{};let t=l(({storyId:d,isPlaying:p=!0,isDebugging:h=!1})=>{let f=this.getState(d);this.setState(d,{...Im(),...aC(f,h),shadowCalls:h?f.shadowCalls:[],chainedCallIds:h?f.chainedCallIds:new Set,playUntil:h?f.playUntil:void 0,isPlaying:p,isDebugging:h}),this.sync(d)},"resetState"),r=l(d=>({storyId:p,playUntil:h})=>{this.getState(p).isDebugging||this.setState(p,({calls:m})=>({calls:[],shadowCalls:m.map(y=>({...y,status:"waiting"})),isDebugging:!0}));let f=this.getLog(p);this.setState(p,({shadowCalls:m})=>{var g;if(h||!f.length)return{playUntil:h};let y=m.findIndex(b=>b.id===f[0].callId);return{playUntil:(g=m.slice(0,y).filter(b=>{var v;return b.interceptable&&!((v=b.ancestors)!=null&&v.length)}).slice(-1)[0])==null?void 0:g.id}}),d.emit(xd,{storyId:p,isDebugging:!0})},"start"),n=l(d=>({storyId:p})=>{var m;let h=this.getLog(p).filter(y=>{var g;return!((g=y.ancestors)!=null&&g.length)}),f=h.reduceRight((y,g,b)=>y>=0||g.status==="waiting"?y:b,-1);r(d)({storyId:p,playUntil:(m=h[f-1])==null?void 0:m.callId})},"back"),o=l(d=>({storyId:p,callId:h})=>{var v;let{calls:f,shadowCalls:m,resolvers:y}=this.getState(p),g=f.find(({id:S})=>S===h),b=m.find(({id:S})=>S===h);if(!g&&b&&Object.values(y).length>0){let S=(v=this.getLog(p).find(T=>T.status==="waiting"))==null?void 0:v.callId;b.id!==S&&this.setState(p,{playUntil:b.id}),Object.values(y).forEach(T=>T())}else r(d)({storyId:p,playUntil:h})},"goto"),i=l(d=>({storyId:p})=>{var f;let{resolvers:h}=this.getState(p);if(Object.values(h).length>0)Object.values(h).forEach(m=>m());else{let m=(f=this.getLog(p).find(y=>y.status==="waiting"))==null?void 0:f.callId;m?r(d)({storyId:p,playUntil:m}):s({storyId:p})}},"next"),s=l(({storyId:d})=>{this.setState(d,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(d).resolvers).forEach(p=>p())},"end"),a=l(({storyId:d,newPhase:p})=>{let{isDebugging:h}=this.getState(d);this.setState(d,{renderPhase:p}),p==="preparing"&&h&&t({storyId:d}),p==="playing"&&t({storyId:d,isDebugging:h}),p==="played"&&this.setState(d,{isLocked:!1,isPlaying:!1,isDebugging:!1}),p==="errored"&&this.setState(d,{isLocked:!1,isPlaying:!1})},"renderPhaseChanged");Nm&&Nm.ready().then(()=>{this.channel=Nm.getChannel(),this.channel.on(xd,t),this.channel.on(Hi,a),this.channel.on(mv,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(Un.START,r(this.channel)),this.channel.on(Un.BACK,n(this.channel)),this.channel.on(Un.GOTO,o(this.channel)),this.channel.on(Un.NEXT,i(this.channel)),this.channel.on(Un.END,s)})}getState(t){return this.state[t]||Im()}setState(t,r){var i;let n=this.getState(t),o=typeof r=="function"?r(n):r;this.state={...this.state,[t]:{...n,...o}},(i=me.window)!=null&&i.parent&&(me.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){var r,n;this.state=Object.entries(this.state).reduce((o,[i,s])=>{let a=aC(s);return a&&(o[i]=Object.assign(Im(),a)),o},{});let t={controlStates:iC,logItems:[]};(r=this.channel)==null||r.emit(Un.SYNC,t),(n=me.window)!=null&&n.parent&&(me.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(t){let{calls:r,shadowCalls:n}=this.getState(t),o=[...n];r.forEach((s,a)=>{o[a]=s});let i=new Set;return o.reduceRight((s,a)=>(a.args.forEach(u=>{u!=null&&u.__callId__&&i.add(u.__callId__)}),a.path.forEach(u=>{u.__callId__&&i.add(u.__callId__)}),(a.interceptable||a.exception)&&!i.has(a.id)&&(s.unshift({callId:a.id,status:a.status,ancestors:a.ancestors}),i.add(a.id)),s),[])}instrument(t,r,n=0){if(!NQ(t))return t;let{mutate:o=!1,path:i=[]}=r,s=r.getKeys?r.getKeys(t,n):Object.keys(t);return n+=1,s.reduce((a,u)=>{let c=EI(t,u);if(typeof(c==null?void 0:c.get)=="function"){if(c.configurable){let p=l(()=>{var h,f;return(f=(h=c==null?void 0:c.get)==null?void 0:h.bind(t))==null?void 0:f()},"getter");Object.defineProperty(a,u,{get:l(()=>this.instrument(p(),{...r,path:i.concat(u)},n),"get")})}return a}let d=t[u];return typeof d!="function"?(a[u]=this.instrument(d,{...r,path:i.concat(u)},n),a):"__originalFn__"in d&&typeof d.__originalFn__=="function"?(a[u]=d,a):(a[u]=(...p)=>this.track(u,d,t,p,r),a[u].__originalFn__=d,Object.defineProperty(a[u],"name",{value:u,writable:!1}),Object.keys(d).length>0&&Object.assign(a[u],this.instrument({...d},{...r,path:i.concat(u)},n)),a)},o?t:IQ(t))}track(t,r,n,o,i){var g,b,v,S;let s=((g=o==null?void 0:o[0])==null?void 0:g.__storyId__)||((S=(v=(b=me.__STORYBOOK_PREVIEW__)==null?void 0:b.selectionStore)==null?void 0:v.selection)==null?void 0:S.storyId),{cursor:a,ancestors:u}=this.getState(s);this.setState(s,{cursor:a+1});let c=`${u.slice(-1)[0]||s} [${a}] ${t}`,{path:d=[],intercept:p=!1,retain:h=!1}=i,f=typeof p=="function"?p(t,d):p,m={id:c,cursor:a,storyId:s,ancestors:u,path:d,method:t,args:o,interceptable:f,retain:h},y=(f&&!u.length?this.intercept:this.invoke).call(this,r,n,m,i);return this.instrument(y,{...i,mutate:!0,path:[{__callId__:m.id}]})}intercept(t,r,n,o){let{chainedCallIds:i,isDebugging:s,playUntil:a}=this.getState(n.storyId),u=i.has(n.id);return!s||u||a?(a===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(t,r,n,o)):new Promise(c=>{this.setState(n.storyId,({resolvers:d})=>({isLocked:!1,resolvers:{...d,[n.id]:c}}))}).then(()=>(this.setState(n.storyId,c=>{let{[n.id]:d,...p}=c.resolvers;return{isLocked:!0,resolvers:p}}),this.invoke(t,r,n,o)))}invoke(t,r,n,o){let{callRefsByResult:i,renderPhase:s}=this.getState(n.storyId),a=25,u=l((p,h,f)=>{var m,y,g;if(f.includes(p))return"[Circular]";if(f=[...f,p],h>a)return"...";if(i.has(p))return i.get(p);if(p instanceof Array)return p.map(b=>u(b,++h,f));if(p instanceof Date)return{__date__:{value:p.toISOString()}};if(p instanceof Error){let{name:b,message:v,stack:S}=p;return{__error__:{name:b,message:v,stack:S}}}if(p instanceof RegExp){let{flags:b,source:v}=p;return{__regexp__:{flags:b,source:v}}}if(p instanceof((m=me.window)==null?void 0:m.HTMLElement)){let{prefix:b,localName:v,id:S,classList:T,innerText:O}=p,C=Array.from(T);return{__element__:{prefix:b,localName:v,id:S,classNames:C,innerText:O}}}return typeof p=="function"?{__function__:{name:"getMockName"in p?p.getMockName():p.name}}:typeof p=="symbol"?{__symbol__:{description:p.description}}:typeof p=="object"&&((y=p==null?void 0:p.constructor)!=null&&y.name)&&((g=p==null?void 0:p.constructor)==null?void 0:g.name)!=="Object"?{__class__:{name:p.constructor.name}}:Object.prototype.toString.call(p)==="[object Object]"?Object.fromEntries(Object.entries(p).map(([b,v])=>[b,u(v,++h,f)])):p},"serializeValues"),c={...n,args:n.args.map(p=>u(p,0,[]))};n.path.forEach(p=>{p!=null&&p.__callId__&&this.setState(n.storyId,({chainedCallIds:h})=>({chainedCallIds:new Set(Array.from(h).concat(p.__callId__))}))});let d=l(p=>{var h;if(p instanceof Error){let{name:f,message:m,stack:y,callId:g=n.id}=p,{showDiff:b=void 0,diff:v=void 0,actual:S=void 0,expected:T=void 0}=p.name==="AssertionError"?cE(p):p,O={name:f,message:m,stack:y,callId:g,showDiff:b,diff:v,actual:S,expected:T};if(this.update({...c,status:"error",exception:O}),this.setState(n.storyId,C=>({callRefsByResult:new Map([...Array.from(C.callRefsByResult.entries()),[p,{__callId__:n.id,retain:n.retain}]])})),(h=n.ancestors)==null?void 0:h.length)throw Object.prototype.hasOwnProperty.call(p,"callId")||Object.defineProperty(p,"callId",{value:n.id}),p}throw p},"handleException");try{if(s==="played"&&!n.retain)throw AQ;let p=(o.getArgs?o.getArgs(n,this.getState(n.storyId)):n.args).map(f=>typeof f!="function"||wI(f)||Object.keys(f).length?f:(...m)=>{let{cursor:y,ancestors:g}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...g,n.id]});let b=l(()=>this.setState(n.storyId,{cursor:y,ancestors:g}),"restore"),v=!1;try{let S=f(...m);return S instanceof Promise?(v=!0,S.finally(b)):S}finally{v||b()}}),h=t.apply(r,p);return h&&["object","function","symbol"].includes(typeof h)&&this.setState(n.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[h,{__callId__:n.id,retain:n.retain}]])})),this.update({...c,status:h instanceof Promise?"active":"done"}),h instanceof Promise?h.then(f=>(this.update({...c,status:"done"}),f),d):h}catch(p){return d(p)}}update(t){var r;(r=this.channel)==null||r.emit(Un.CALL,t),this.setState(t.storyId,({calls:n})=>{let o=n.concat(t).reduce((i,s)=>Object.assign(i,{[s.id]:s}),{});return{calls:Object.values(o).sort((i,s)=>i.id.localeCompare(s.id,void 0,{numeric:!0}))}}),this.sync(t.storyId)}sync(t){let r=l(()=>{var d,p,h;let{isLocked:n,isPlaying:o}=this.getState(t),i=this.getLog(t),s=(d=i.filter(({ancestors:f})=>!f.length).find(f=>f.status==="waiting"))==null?void 0:d.callId,a=i.some(f=>f.status==="active");if(n||a||i.length===0){let f={controlStates:iC,logItems:i};(p=this.channel)==null||p.emit(Un.SYNC,f);return}let u=i.some(f=>f.status==="done"||f.status==="error"),c={controlStates:{start:u,back:u,goto:!0,next:o,end:o},logItems:i,pausedAt:s};(h=this.channel)==null||h.emit(Un.SYNC,c)},"synchronize");this.setState(t,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(r,0)}))}};l(vI,"Instrumenter");var MQ=vI;function Na(e,t={}){var r,n,o,i,s,a,u,c;try{let d=!1,p=!1;return(o=(n=(r=me.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&o.includes("instrument=true")?d=!0:(a=(s=(i=me.window)==null?void 0:i.location)==null?void 0:s.search)!=null&&a.includes("instrument=false")&&(p=!0),((u=me.window)==null?void 0:u.parent)===me.window&&!d||p?e:(me.window&&!me.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(me.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new MQ),((c=me.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(d){return xt.warn(d),e}}l(Na,"instrument");function EI(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}l(EI,"getPropertyDescriptor");function wI(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}l(wI,"isClass");var{step:kQ}=Na({step:l(async(e,t,r)=>t(r),"step")},{intercept:!0}),lC=l(()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:kQ}),"default"),SI={};mr(SI,{argsEnhancers:()=>LQ});var xI=l((e,t)=>typeof t[e]>"u"&&!(e in t),"isInInitialArgs"),jQ=l(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(([s])=>!!i.test(s)).reduce((s,[a,u])=>(xI(a,t)&&(s[a]=Ua(a,{implicit:!0,id:n})),s),{})},"inferActionsFromArgTypesRegex"),qQ=l(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,s])=>(xI(i,t)&&(o[i]=Ua(typeof s.action=="string"?s.action:i)),o),{})},"addActionsFromArgTypes"),LQ=[qQ,jQ],TI={};mr(TI,{loaders:()=>_ne});var CI={};mr(CI,{buildQueries:()=>sre,clearAllMocks:()=>E0,configure:()=>are,createEvent:()=>lre,expect:()=>Tne,findAllByAltText:()=>cre,findAllByDisplayValue:()=>dre,findAllByLabelText:()=>pre,findAllByPlaceholderText:()=>fre,findAllByRole:()=>hre,findAllByTestId:()=>mre,findAllByText:()=>yre,findAllByTitle:()=>gre,findByAltText:()=>bre,findByDisplayValue:()=>vre,findByLabelText:()=>Ere,findByPlaceholderText:()=>wre,findByRole:()=>Sre,findByTestId:()=>xre,findByText:()=>Tre,findByTitle:()=>Cre,fireEvent:()=>ure,fn:()=>b0,getAllByAltText:()=>_re,getAllByDisplayValue:()=>Ore,getAllByLabelText:()=>Pre,getAllByPlaceholderText:()=>Are,getAllByRole:()=>Rre,getAllByTestId:()=>Nre,getAllByText:()=>Ire,getAllByTitle:()=>Mre,getByAltText:()=>kre,getByDisplayValue:()=>jre,getByLabelText:()=>qre,getByPlaceholderText:()=>Lre,getByRole:()=>$re,getByTestId:()=>Dre,getByText:()=>Fre,getByTitle:()=>Bre,getConfig:()=>Ure,getDefaultNormalizer:()=>Vre,getElementError:()=>Hre,getNodeText:()=>Jre,getQueriesForElement:()=>zre,getRoles:()=>Kre,getSuggestedQuery:()=>Gre,isInaccessible:()=>Wre,isMockFunction:()=>Fs,logDOM:()=>Yre,logRoles:()=>Xre,mocked:()=>hq,mocks:()=>tc,onMockCall:()=>g0,prettyDOM:()=>Qre,prettyFormat:()=>Sne,queries:()=>Zre,queryAllByAltText:()=>ene,queryAllByAttribute:()=>tne,queryAllByDisplayValue:()=>rne,queryAllByLabelText:()=>nne,queryAllByPlaceholderText:()=>one,queryAllByRole:()=>ine,queryAllByTestId:()=>sne,queryAllByText:()=>ane,queryAllByTitle:()=>lne,queryByAltText:()=>une,queryByAttribute:()=>cne,queryByDisplayValue:()=>dne,queryByLabelText:()=>pne,queryByPlaceholderText:()=>fne,queryByRole:()=>hne,queryByTestId:()=>mne,queryByText:()=>yne,queryByTitle:()=>gne,queryHelpers:()=>bne,resetAllMocks:()=>w0,restoreAllMocks:()=>S0,screen:()=>vne,spyOn:()=>Zee,uninstrumentedUserEvent:()=>sB,userEvent:()=>xne,waitFor:()=>Ene,waitForElementToBeRemoved:()=>wne,within:()=>iB});var _I=Object.defineProperty,$Q=Object.getOwnPropertyNames,Q=l((e,t)=>_I(e,"name",{value:t,configurable:!0}),"__name"),DQ=l((e,t)=>l(function(){return t||(0,e[$Q(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),dE=l((e,t)=>{for(var r in t)_I(e,r,{get:t[r],enumerable:!0})},"__export"),FQ=DQ({"(disabled):util"(){}}),xn={};dE(xn,{addChainableMethod:l(()=>kf,"addChainableMethod"),addLengthGuard:l(()=>ka,"addLengthGuard"),addMethod:l(()=>Nf,"addMethod"),addProperty:l(()=>Rf,"addProperty"),checkError:l(()=>Or,"checkError"),compareByInspect:l(()=>eu,"compareByInspect"),eql:l(()=>AI,"eql"),expectTypes:l(()=>bE,"expectTypes"),flag:l(()=>Ae,"flag"),getActual:l(()=>Vu,"getActual"),getMessage:l(()=>Cf,"getMessage"),getName:l(()=>Ju,"getName"),getOperator:l(()=>$f,"getOperator"),getOwnEnumerableProperties:l(()=>Lf,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:l(()=>qf,"getOwnEnumerablePropertySymbols"),getPathInfo:l(()=>Af,"getPathInfo"),hasProperty:l(()=>Hu,"hasProperty"),inspect:l(()=>Be,"inspect"),isNaN:l(()=>Hd,"isNaN"),isNumeric:l(()=>Dt,"isNumeric"),isProxyEnabled:l(()=>Ma,"isProxyEnabled"),isRegExp:l(()=>tu,"isRegExp"),objDisplay:l(()=>Ho,"objDisplay"),overwriteChainableMethod:l(()=>jf,"overwriteChainableMethod"),overwriteMethod:l(()=>Mf,"overwriteMethod"),overwriteProperty:l(()=>If,"overwriteProperty"),proxify:l(()=>us,"proxify"),test:l(()=>xf,"test"),transferFlags:l(()=>Yr,"transferFlags"),type:l(()=>Xe,"type")});var Or={};dE(Or,{compatibleConstructor:l(()=>hE,"compatibleConstructor"),compatibleInstance:l(()=>fE,"compatibleInstance"),compatibleMessage:l(()=>mE,"compatibleMessage"),getConstructorName:l(()=>yE,"getConstructorName"),getMessage:l(()=>gE,"getMessage")});function Uu(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}l(Uu,"isErrorInstance");Q(Uu,"isErrorInstance");function pE(e){return Object.prototype.toString.call(e)==="[object RegExp]"}l(pE,"isRegExp");Q(pE,"isRegExp");function fE(e,t){return Uu(t)&&e===t}l(fE,"compatibleInstance");Q(fE,"compatibleInstance");function hE(e,t){return Uu(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}l(hE,"compatibleConstructor");Q(hE,"compatibleConstructor");function mE(e,t){let r=typeof e=="string"?e:e.message;return pE(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}l(mE,"compatibleMessage");Q(mE,"compatibleMessage");function yE(e){let t=e;return Uu(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}l(yE,"getConstructorName");Q(yE,"getConstructorName");function gE(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}l(gE,"getMessage");Q(gE,"getMessage");function Ae(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}l(Ae,"flag");Q(Ae,"flag");function xf(e,t){var r=Ae(e,"negate"),n=t[0];return r?!n:n}l(xf,"test");Q(xf,"test");function Xe(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)}l(Xe,"type");Q(Xe,"type");var BQ="captureStackTrace"in Error,el,He=(el=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);yt(this,"message");this.message=t,BQ&&Error.captureStackTrace(this,n||el);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}}},l(el,"_AssertionError"),Q(el,"AssertionError"),el);function bE(e,t){var r=Ae(e,"message"),n=Ae(e,"ssfi");r=r?r+": ":"",e=Ae(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();var o=t.map(function(s,a){var u=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",c=t.length>1&&a===t.length-1?"or ":"";return c+u+" "+s}).join(", "),i=Xe(e).toLowerCase();if(!t.some(function(s){return i===s}))throw new He(r+"object tested must be "+o+", but "+i+" given",void 0,n)}l(bE,"expectTypes");Q(bE,"expectTypes");function Vu(e,t){return t.length>4?t[4]:e._obj}l(Vu,"getActual");Q(Vu,"getActual");var uC={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"]},UQ={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},ia="…";function vE(e,t){let r=uC[UQ[t]]||uC[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}l(vE,"colorise");Q(vE,"colorise");function EE({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:a=[],truncate:u=1/0,stylize:c=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:a,inspect:d,stylize:c};return p.colors&&(p.stylize=vE),p}l(EE,"normaliseOptions");Q(EE,"normaliseOptions");function wE(e){return e>="\uD800"&&e<="\uDBFF"}l(wE,"isHighSurrogate");Q(wE,"isHighSurrogate");function jn(e,t,r=ia){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&&wE(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}l(jn,"truncate");Q(jn,"truncate");function kr(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",a="",u="";for(let c=0;c<o;c+=1){let d=c+1===e.length,p=c+2===e.length;u=`${ia}(${e.length-c})`;let h=e[c];t.truncate=i-s.length-(d?0:n.length);let f=a||r(h,t)+(d?"":n),m=s.length+f.length,y=m+u.length;if(d&&m>i&&s.length+u.length<=i||!d&&!p&&y>i||(a=d?"":r(e[c+1],t)+(p?"":n),!d&&p&&y>i&&m+a.length>i))break;if(s+=f,!d&&!p&&m+a.length>=i){u=`${ia}(${e.length-c-1})`;break}u=""}return`${s}${u}`}l(kr,"inspectList");Q(kr,"inspectList");function SE(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}l(SE,"quoteComplexKey");Q(SE,"quoteComplexKey");function Ji([e,t],r){return r.truncate-=2,typeof e=="string"?e=SE(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}l(Ji,"inspectProperty");Q(Ji,"inspectProperty");function xE(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=kr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=kr(r.map(i=>[i,e[i]]),t,Ji)),`[ ${n}${o?`, ${o}`:""} ]`}l(xE,"inspectArray");Q(xE,"inspectArray");var VQ=Q(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function en(e,t){let r=VQ(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 s=0;s<e.length;s++){let a=`${t.stylize(jn(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=a.length,e[s]!==e.length&&t.truncate<=3){o+=`${ia}(${e.length-e[s]+1})`;break}o+=a}let i="";return n.length&&(i=kr(n.map(s=>[s,e[s]]),t,Ji)),`${r}[ ${o}${i?`, ${i}`:""} ]`}l(en,"inspectTypedArray");Q(en,"inspectTypedArray");function TE(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${jn(n[1],t.truncate-o.length-1)}`,"date")}l(TE,"inspectDate");Q(TE,"inspectDate");function Rd(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${jn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}l(Rd,"inspectFunction");Q(Rd,"inspectFunction");function CE([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}l(CE,"inspectMapEntry");Q(CE,"inspectMapEntry");function _E(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}l(_E,"mapToEntries");Q(_E,"mapToEntries");function OE(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${kr(_E(e),t,CE)} }`)}l(OE,"inspectMap");Q(OE,"inspectMap");var HQ=Number.isNaN||(e=>e!==e);function Nd(e,t){return HQ(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(jn(String(e),t.truncate),"number")}l(Nd,"inspectNumber");Q(Nd,"inspectNumber");function Id(e,t){let r=jn(e.toString(),t.truncate-1);return r!==ia&&(r+="n"),t.stylize(r,"bigint")}l(Id,"inspectBigInt");Q(Id,"inspectBigInt");function PE(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${jn(o,n)}/${r}`,"regexp")}l(PE,"inspectRegExp");Q(PE,"inspectRegExp");function AE(e){let t=[];return e.forEach(r=>{t.push(r)}),t}l(AE,"arrayFromSet");Q(AE,"arrayFromSet");function RE(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${kr(AE(e),t)} }`)}l(RE,"inspectSet");Q(RE,"inspectSet");var cC=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),JQ={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},zQ=16;function NE(e){return JQ[e]||`\\u${`0000${e.charCodeAt(0).toString(zQ)}`.slice(-4)}`}l(NE,"escape");Q(NE,"escape");function Md(e,t){return cC.test(e)&&(e=e.replace(cC,NE)),t.stylize(`'${jn(e,t.truncate-2)}'`,"string")}l(Md,"inspectString");Q(Md,"inspectString");function kd(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}l(kd,"inspectSymbol");Q(kd,"inspectSymbol");var OI=Q(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=Vo.binding("util");Array.isArray(e(Promise.resolve()))&&(OI=Q((n,o)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`},"getPromiseValue"))}catch{}var KQ=OI;function Ds(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=kr(r.map(a=>[a,e[a]]),t,Ji),i=kr(n.map(a=>[a,e[a]]),t,Ji);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}l(Ds,"inspectObject");Q(Ds,"inspectObject");var Mm=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function IE(e,t){let r="";return Mm&&Mm in e&&(r=e[Mm]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Ds(e,t)}`}l(IE,"inspectClass");Q(IE,"inspectClass");function ME(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${kr(e,t)} ]`)}l(ME,"inspectArguments");Q(ME,"inspectArguments");var GQ=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function kE(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>GQ.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=jn(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=kr(r.map(s=>[s,e[s]]),t,Ji);return`${n}${o}${i?` { ${i} }`:""}`}l(kE,"inspectObject2");Q(kE,"inspectObject");function jE([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}l(jE,"inspectAttribute");Q(jE,"inspectAttribute");function Xl(e,t){return kr(e,t,Tf,`
|
|
220
|
+
`)}l(Xl,"inspectHTMLCollection");Q(Xl,"inspectHTMLCollection");function Tf(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let a="";r.length>0&&(a+=" ",a+=kr(r.map(d=>[d,e.getAttribute(d)]),t,jE," ")),t.truncate-=a.length;let u=t.truncate,c=Xl(e.children,t);return c&&c.length>u&&(c=`${ia}(${e.children.length})`),`${o}${a}${i}${c}${s}`}l(Tf,"inspectHTML");Q(Tf,"inspectHTML");var WQ=typeof Symbol=="function"&&typeof Symbol.for=="function",km=WQ?Symbol.for("chai/inspect"):"@@chai/inspect",Is=!1;try{let e=FQ();Is=e.inspect?e.inspect.custom:!1}catch{Is=!1}var dC=new WeakMap,pC={},fC={undefined:l((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:l((e,t)=>t.stylize("null","null"),"null"),boolean:l((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:l((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Nd,Number:Nd,bigint:Id,BigInt:Id,string:Md,String:Md,function:Rd,Function:Rd,symbol:kd,Symbol:kd,Array:xE,Date:TE,Map:OE,Set:RE,RegExp:PE,Promise:KQ,WeakSet:l((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:l((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:ME,Int8Array:en,Uint8Array:en,Uint8ClampedArray:en,Int16Array:en,Uint16Array:en,Int32Array:en,Uint32Array:en,Float32Array:en,Float64Array:en,Generator:l(()=>"","Generator"),DataView:l(()=>"","DataView"),ArrayBuffer:l(()=>"","ArrayBuffer"),Error:kE,HTMLCollection:Xl,NodeList:Xl},YQ=Q((e,t,r)=>km in e&&typeof e[km]=="function"?e[km](t):Is&&Is in e&&typeof e[Is]=="function"?e[Is](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&dC.has(e.constructor)?dC.get(e.constructor)(e,t):pC[r]?pC[r](e,t):"","inspectCustom"),XQ=Object.prototype.toString;function Ql(e,t={}){let r=EE(t,Ql),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=XQ.call(e).slice(8,-1)),o in fC)return fC[o](e,r);if(n&&e){let s=YQ(e,r,o);if(s)return typeof s=="string"?s:Ql(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Ds(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Tf(e,r):"constructor"in e?e.constructor!==Object?IE(e,r):Ds(e,r):e===Object(e)?Ds(e,r):r.stylize(String(e),o)}l(Ql,"inspect");Q(Ql,"inspect");var hr={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Be(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:hr.truncateThreshold?hr.truncateThreshold:1/0};return Ql(e,o)}l(Be,"inspect2");Q(Be,"inspect");function Ho(e){var t=Be(e),r=Object.prototype.toString.call(e);if(hr.truncateThreshold&&t.length>=hr.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),o=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+o+") }"}else return t}else return t}l(Ho,"objDisplay");Q(Ho,"objDisplay");function Cf(e,t){var r=Ae(e,"negate"),n=Ae(e,"object"),o=t[3],i=Vu(e,t),s=r?t[2]:t[1],a=Ae(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return Ho(n)}).replace(/#\{act\}/g,function(){return Ho(i)}).replace(/#\{exp\}/g,function(){return Ho(o)}),a?a+": "+s:s}l(Cf,"getMessage2");Q(Cf,"getMessage");function Yr(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}l(Yr,"transferFlags");Q(Yr,"transferFlags");function jd(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)}l(jd,"type2");Q(jd,"type");function _f(){this._key="chai/deep-eql__"+Math.random()+Date.now()}l(_f,"FakeMap");Q(_f,"FakeMap");_f.prototype={get:Q(l(function(e){return e[this._key]},"get"),"get"),set:Q(l(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set"),"set")};var PI=typeof WeakMap=="function"?WeakMap:_f;function qd(e,t,r){if(!r||ei(e)||ei(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}l(qd,"memoizeCompare");Q(qd,"memoizeCompare");function Ms(e,t,r,n){if(!(!r||ei(e)||ei(t))){var o=r.get(e);o?o.set(t,n):(o=new PI,o.set(t,n),r.set(e,o))}}l(Ms,"memoizeSet");Q(Ms,"memoizeSet");var AI=Ia;function Ia(e,t,r){if(r&&r.comparator)return Ld(e,t,r);var n=Of(e,t);return n!==null?n:Ld(e,t,r)}l(Ia,"deepEqual");Q(Ia,"deepEqual");function Of(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:ei(e)||ei(t)?!1:null}l(Of,"simpleEqual");Q(Of,"simpleEqual");function Ld(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new PI;var n=r&&r.comparator,o=qd(e,t,r.memoize);if(o!==null)return o;var i=qd(t,e,r.memoize);if(i!==null)return i;if(n){var s=n(e,t);if(s===!1||s===!0)return Ms(e,t,r.memoize,s),s;var a=Of(e,t);if(a!==null)return a}var u=jd(e);if(u!==jd(t))return Ms(e,t,r.memoize,!1),!1;Ms(e,t,r.memoize,!0);var c=qE(e,t,u,r);return Ms(e,t,r.memoize,c),c}l(Ld,"extensiveDeepEqual");Q(Ld,"extensiveDeepEqual");function qE(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Ia(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Pf(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 ao(e,t,n);case"RegExp":return LE(e,t);case"Generator":return $E(e,t,n);case"DataView":return ao(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return ao(new Uint8Array(e),new Uint8Array(t),n);case"Set":return $d(e,t,n);case"Map":return $d(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 FE(e,t,n)}}l(qE,"extensiveDeepEqualByType");Q(qE,"extensiveDeepEqualByType");function LE(e,t){return e.toString()===t.toString()}l(LE,"regexpEqual");Q(LE,"regexpEqual");function $d(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(Q(l(function(i,s){n.push([i,s])},"gatherEntries"),"gatherEntries")),t.forEach(Q(l(function(i,s){o.push([i,s])},"gatherEntries"),"gatherEntries")),ao(n.sort(),o.sort(),r)}l($d,"entriesEqual");Q($d,"entriesEqual");function ao(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(Ia(e[o],t[o],r)===!1)return!1;return!0}l(ao,"iterableEqual");Q(ao,"iterableEqual");function $E(e,t,r){return ao(Zl(e),Zl(t),r)}l($E,"generatorEqual");Q($E,"generatorEqual");function DE(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}l(DE,"hasIteratorFunction");Q(DE,"hasIteratorFunction");function Dd(e){if(DE(e))try{return Zl(e[Symbol.iterator]())}catch{return[]}return[]}l(Dd,"getIteratorEntries");Q(Dd,"getIteratorEntries");function Zl(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}l(Zl,"getGeneratorEntries");Q(Zl,"getGeneratorEntries");function Fd(e){var t=[];for(var r in e)t.push(r);return t}l(Fd,"getEnumerableKeys");Q(Fd,"getEnumerableKeys");function Bd(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}l(Bd,"getEnumerableSymbols");Q(Bd,"getEnumerableSymbols");function Pf(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(Ia(e[r[i]],t[r[i]],n)===!1)return!1;return!0}l(Pf,"keysEqual");Q(Pf,"keysEqual");function FE(e,t,r){var n=Fd(e),o=Fd(t),i=Bd(e),s=Bd(t);if(n=n.concat(i),o=o.concat(s),n.length&&n.length===o.length)return ao(Ud(n).sort(),Ud(o).sort())===!1?!1:Pf(e,t,n,r);var a=Dd(e),u=Dd(t);return a.length&&a.length===u.length?(a.sort(),u.sort(),ao(a,u,r)):n.length===0&&a.length===0&&o.length===0&&u.length===0}l(FE,"objectEqual");Q(FE,"objectEqual");function ei(e){return e===null||typeof e!="object"}l(ei,"isPrimitive");Q(ei,"isPrimitive");function Ud(e){return e.map(Q(l(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"),"mapSymbol"))}l(Ud,"mapSymbols");Q(Ud,"mapSymbols");function Hu(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}l(Hu,"hasProperty");Q(Hu,"hasProperty");function BE(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})}l(BE,"parsePath");Q(BE,"parsePath");function Vd(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let s=t[i];n&&(typeof s.p>"u"?n=n[s.i]:n=n[s.p],i===r-1&&(o=n))}return o}l(Vd,"internalGetPathValue");Q(Vd,"internalGetPathValue");function Af(e,t){let r=BE(t),n=r[r.length-1],o={parent:r.length>1?Vd(e,r,r.length-1):e,name:n.p||n.i,value:Vd(e,r)};return o.exists=Hu(o.parent,o.name),o}l(Af,"getPathInfo");Q(Af,"getPathInfo");function B(e,t,r,n){return Ae(this,"ssfi",r||B),Ae(this,"lockSsfi",n),Ae(this,"object",e),Ae(this,"message",t),Ae(this,"eql",hr.deepEqual||AI),us(this)}l(B,"Assertion");Q(B,"Assertion");Object.defineProperty(B,"includeStack",{get:l(function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),hr.includeStack},"get"),set:l(function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),hr.includeStack=e},"set")});Object.defineProperty(B,"showDiff",{get:l(function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),hr.showDiff},"get"),set:l(function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),hr.showDiff=e},"set")});B.addProperty=function(e,t){Rf(this.prototype,e,t)};B.addMethod=function(e,t){Nf(this.prototype,e,t)};B.addChainableMethod=function(e,t,r){kf(this.prototype,e,t,r)};B.overwriteProperty=function(e,t){If(this.prototype,e,t)};B.overwriteMethod=function(e,t){Mf(this.prototype,e,t)};B.overwriteChainableMethod=function(e,t,r){jf(this.prototype,e,t,r)};B.prototype.assert=function(e,t,r,n,o,i){var s=xf(this,arguments);if(i!==!1&&(i=!0),n===void 0&&o===void 0&&(i=!1),hr.showDiff!==!0&&(i=!1),!s){t=Cf(this,arguments);var a=Vu(this,arguments),u={actual:a,expected:n,showDiff:i},c=$f(this,arguments);throw c&&(u.operator=c),new He(t,u,hr.includeStack?this.assert:Ae(this,"ssfi"))}};Object.defineProperty(B.prototype,"_obj",{get:l(function(){return Ae(this,"object")},"get"),set:l(function(e){Ae(this,"object",e)},"set")});function Ma(){return hr.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}l(Ma,"isProxyEnabled");Q(Ma,"isProxyEnabled");function Rf(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:Q(l(function n(){!Ma()&&!Ae(this,"lockSsfi")&&Ae(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var i=new B;return Yr(this,i),i},"propertyGetter"),"propertyGetter"),configurable:!0})}l(Rf,"addProperty");Q(Rf,"addProperty");var QQ=Object.getOwnPropertyDescriptor(function(){},"length");function ka(e,t,r){return QQ.configurable&&Object.defineProperty(e,"length",{get:l(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}l(ka,"addLengthGuard");Q(ka,"addLengthGuard");function UE(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}l(r,"addProperty2"),Q(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}l(UE,"getProperties");Q(UE,"getProperties");var hC=["__flags","__methods","_obj","assert"];function us(e,t){return Ma()?new Proxy(e,{get:Q(l(function r(n,o){if(typeof o=="string"&&hr.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');var i=null,s=4;throw UE(n).forEach(function(a){if(!Object.prototype.hasOwnProperty(a)&&hC.indexOf(a)===-1){var u=VE(o,a,s);u<s&&(i=a,s=u)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return hC.indexOf(o)===-1&&!Ae(n,"lockSsfi")&&Ae(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter"),"proxyGetter")}):e}l(us,"proxify");Q(us,"proxify");function VE(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let i=0;i<=e.length;i++)n[i]=Array(t.length+1).fill(0),n[i][0]=i;for(let i=0;i<t.length;i++)n[0][i]=i;for(let i=1;i<=e.length;i++){var o=e.charCodeAt(i-1);for(let s=1;s<=t.length;s++){if(Math.abs(i-s)>=r){n[i][s]=r;continue}n[i][s]=Math.min(n[i-1][s]+1,n[i][s-1]+1,n[i-1][s-1]+(o===t.charCodeAt(s-1)?0:1))}}return n[e.length][t.length]}l(VE,"stringDistanceCapped");Q(VE,"stringDistanceCapped");function Nf(e,t,r){var n=Q(function(){Ae(this,"lockSsfi")||Ae(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var i=new B;return Yr(this,i),i},"methodWrapper");ka(n,t,!1),e[t]=us(n,t)}l(Nf,"addMethod");Q(Nf,"addMethod");function If(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=Q(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:Q(l(function i(){!Ma()&&!Ae(this,"lockSsfi")&&Ae(this,"ssfi",i);var s=Ae(this,"lockSsfi");Ae(this,"lockSsfi",!0);var a=r(o).call(this);if(Ae(this,"lockSsfi",s),a!==void 0)return a;var u=new B;return Yr(this,u),u},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}l(If,"overwriteProperty");Q(If,"overwriteProperty");function Mf(e,t,r){var n=e[t],o=Q(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var i=Q(function(){Ae(this,"lockSsfi")||Ae(this,"ssfi",i);var s=Ae(this,"lockSsfi");Ae(this,"lockSsfi",!0);var a=r(o).apply(this,arguments);if(Ae(this,"lockSsfi",s),a!==void 0)return a;var u=new B;return Yr(this,u),u},"overwritingMethodWrapper");ka(i,t,!1),e[t]=us(i,t)}l(Mf,"overwriteMethod");Q(Mf,"overwriteMethod");var ZQ=typeof Object.setPrototypeOf=="function",mC=Q(function(){},"testFn"),eZ=Object.getOwnPropertyNames(mC).filter(function(e){var t=Object.getOwnPropertyDescriptor(mC,e);return typeof t!="object"?!0:!t.configurable}),tZ=Function.prototype.call,rZ=Function.prototype.apply;function kf(e,t,r,n){typeof n!="function"&&(n=Q(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:Q(l(function(){o.chainingBehavior.call(this);var i=Q(function(){Ae(this,"lockSsfi")||Ae(this,"ssfi",i);var u=o.method.apply(this,arguments);if(u!==void 0)return u;var c=new B;return Yr(this,c),c},"chainableMethodWrapper");if(ka(i,t,!0),ZQ){var s=Object.create(this);s.call=tZ,s.apply=rZ,Object.setPrototypeOf(i,s)}else{var a=Object.getOwnPropertyNames(e);a.forEach(function(u){if(eZ.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(i,u,c)}})}return Yr(this,i),us(i)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}l(kf,"addChainableMethod");Q(kf,"addChainableMethod");function jf(e,t,r,n){var o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=Q(l(function(){var a=n(i).call(this);if(a!==void 0)return a;var u=new B;return Yr(this,u),u},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");var s=o.method;o.method=Q(l(function(){var a=r(s).apply(this,arguments);if(a!==void 0)return a;var u=new B;return Yr(this,u),u},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}l(jf,"overwriteChainableMethod");Q(jf,"overwriteChainableMethod");function eu(e,t){return Be(e)<Be(t)?-1:1}l(eu,"compareByInspect");Q(eu,"compareByInspect");function qf(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}l(qf,"getOwnEnumerablePropertySymbols");Q(qf,"getOwnEnumerablePropertySymbols");function Lf(e){return Object.keys(e).concat(qf(e))}l(Lf,"getOwnEnumerableProperties");Q(Lf,"getOwnEnumerableProperties");var Hd=Number.isNaN;function HE(e){var t=Xe(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}l(HE,"isObjectType");Q(HE,"isObjectType");function $f(e,t){var r=Ae(e,"operator"),n=Ae(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)){var s=HE(o);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}l($f,"getOperator");Q($f,"getOperator");function Ju(e){return e.name}l(Ju,"getName");Q(Ju,"getName");function tu(e){return Object.prototype.toString.call(e)==="[object RegExp]"}l(tu,"isRegExp2");Q(tu,"isRegExp");function Dt(e){return["Number","BigInt"].includes(Xe(e))}l(Dt,"isNumeric");Q(Dt,"isNumeric");var{flag:W}=xn;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){B.addProperty(e)});B.addProperty("not",function(){W(this,"negate",!0)});B.addProperty("deep",function(){W(this,"deep",!0)});B.addProperty("nested",function(){W(this,"nested",!0)});B.addProperty("own",function(){W(this,"own",!0)});B.addProperty("ordered",function(){W(this,"ordered",!0)});B.addProperty("any",function(){W(this,"any",!0),W(this,"all",!1)});B.addProperty("all",function(){W(this,"all",!0),W(this,"any",!1)});var yC={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Df(e,t){t&&W(this,"message",t),e=e.toLowerCase();var r=W(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=Xe(r).toLowerCase();yC.function.includes(e)?this.assert(yC[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)}l(Df,"an");Q(Df,"an");B.addChainableMethod("an",Df);B.addChainableMethod("a",Df);function JE(e,t){return Hd(e)&&Hd(t)||e===t}l(JE,"SameValueZero");Q(JE,"SameValueZero");function ja(){W(this,"contains",!0)}l(ja,"includeChainingBehavior");Q(ja,"includeChainingBehavior");function qa(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=Xe(r).toLowerCase(),o=W(this,"message"),i=W(this,"negate"),s=W(this,"ssfi"),a=W(this,"deep"),u=a?"deep ":"",c=a?W(this,"eql"):JE;o=o?o+": ":"";var d=!1;switch(n){case"string":d=r.indexOf(e)!==-1;break;case"weakset":if(a)throw new He(o+"unable to use .deep.include with WeakSet",void 0,s);d=r.has(e);break;case"map":r.forEach(function(m){d=d||c(m,e)});break;case"set":a?r.forEach(function(m){d=d||c(m,e)}):d=r.has(e);break;case"array":a?d=r.some(function(m){return c(m,e)}):d=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new He(o+"the given combination of arguments ("+n+" and "+Xe(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 "+Xe(e).toLowerCase(),void 0,s);var p=Object.keys(e),h=null,f=0;if(p.forEach(function(m){var y=new B(r);if(Yr(this,y,!0),W(y,"lockSsfi",!0),!i||p.length===1){y.property(m,e[m]);return}try{y.property(m,e[m])}catch(g){if(!Or.compatibleConstructor(g,He))throw g;h===null&&(h=g),f++}},this),i&&p.length>1&&f===p.length)throw h;return}this.assert(d,"expected #{this} to "+u+"include "+Be(e),"expected #{this} to not "+u+"include "+Be(e))}l(qa,"include");Q(qa,"include");B.addChainableMethod("include",qa,ja);B.addChainableMethod("contain",qa,ja);B.addChainableMethod("contains",qa,ja);B.addChainableMethod("includes",qa,ja);B.addProperty("ok",function(){this.assert(W(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});B.addProperty("true",function(){this.assert(W(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!W(this,"negate"))});B.addProperty("numeric",function(){let e=W(this,"object");this.assert(["Number","BigInt"].includes(Xe(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!W(this,"negate"))});B.addProperty("callable",function(){let e=W(this,"object"),t=W(this,"ssfi"),r=W(this,"message"),n=r?`${r}: `:"",o=W(this,"negate"),i=o?`${n}expected ${Be(e)} not to be a callable function`:`${n}expected ${Be(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Xe(e));if(s&&o||!s&&!o)throw new He(i,void 0,t)});B.addProperty("false",function(){this.assert(W(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!W(this,"negate"))});B.addProperty("null",function(){this.assert(W(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});B.addProperty("undefined",function(){this.assert(W(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});B.addProperty("NaN",function(){this.assert(Hd(W(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Ff(){var e=W(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}l(Ff,"assertExist");Q(Ff,"assertExist");B.addProperty("exist",Ff);B.addProperty("exists",Ff);B.addProperty("empty",function(){var e=W(this,"object"),t=W(this,"ssfi"),r=W(this,"message"),n;switch(r=r?r+": ":"",Xe(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new He(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+Ju(e);throw new He(o.trim(),void 0,t);default:if(e!==Object(e))throw new He(r+".empty was passed non-string primitive "+Be(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 Bf(){var e=W(this,"object"),t=Xe(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}l(Bf,"checkArguments");Q(Bf,"checkArguments");B.addProperty("arguments",Bf);B.addProperty("Arguments",Bf);function zu(e,t){t&&W(this,"message",t);var r=W(this,"object");if(W(this,"deep")){var n=W(this,"lockSsfi");W(this,"lockSsfi",!0),this.eql(e),W(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}l(zu,"assertEqual");Q(zu,"assertEqual");B.addMethod("equal",zu);B.addMethod("equals",zu);B.addMethod("eq",zu);function Uf(e,t){t&&W(this,"message",t);var r=W(this,"eql");this.assert(r(e,W(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}l(Uf,"assertEql");Q(Uf,"assertEql");B.addMethod("eql",Uf);B.addMethod("eqls",Uf);function Ku(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),a=Xe(r).toLowerCase(),u=Xe(e).toLowerCase();if(n&&a!=="map"&&a!=="set"&&new B(r,o,s,!0).to.have.property("length"),!n&&a==="date"&&u!=="date")throw new He(i+"the argument to above must be a date",void 0,s);if(!Dt(e)&&(n||Dt(r)))throw new He(i+"the argument to above must be a number",void 0,s);if(!n&&a!=="date"&&!Dt(r)){var c=a==="string"?"'"+r+"'":r;throw new He(i+"expected "+c+" to be a number or a date",void 0,s)}if(n){var d="length",p;a==="map"||a==="set"?(d="size",p=r.size):p=r.length,this.assert(p>e,"expected #{this} to have a "+d+" above #{exp} but got #{act}","expected #{this} to not have a "+d+" above #{exp}",e,p)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}l(Ku,"assertAbove");Q(Ku,"assertAbove");B.addMethod("above",Ku);B.addMethod("gt",Ku);B.addMethod("greaterThan",Ku);function Gu(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),a=Xe(r).toLowerCase(),u=Xe(e).toLowerCase(),c,d=!0;if(n&&a!=="map"&&a!=="set"&&new B(r,o,s,!0).to.have.property("length"),!n&&a==="date"&&u!=="date")c=i+"the argument to least must be a date";else if(!Dt(e)&&(n||Dt(r)))c=i+"the argument to least must be a number";else if(!n&&a!=="date"&&!Dt(r)){var p=a==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new He(c,void 0,s);if(n){var h="length",f;a==="map"||a==="set"?(h="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}l(Gu,"assertLeast");Q(Gu,"assertLeast");B.addMethod("least",Gu);B.addMethod("gte",Gu);B.addMethod("greaterThanOrEqual",Gu);function Wu(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),a=Xe(r).toLowerCase(),u=Xe(e).toLowerCase(),c,d=!0;if(n&&a!=="map"&&a!=="set"&&new B(r,o,s,!0).to.have.property("length"),!n&&a==="date"&&u!=="date")c=i+"the argument to below must be a date";else if(!Dt(e)&&(n||Dt(r)))c=i+"the argument to below must be a number";else if(!n&&a!=="date"&&!Dt(r)){var p=a==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new He(c,void 0,s);if(n){var h="length",f;a==="map"||a==="set"?(h="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}l(Wu,"assertBelow");Q(Wu,"assertBelow");B.addMethod("below",Wu);B.addMethod("lt",Wu);B.addMethod("lessThan",Wu);function Yu(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),a=Xe(r).toLowerCase(),u=Xe(e).toLowerCase(),c,d=!0;if(n&&a!=="map"&&a!=="set"&&new B(r,o,s,!0).to.have.property("length"),!n&&a==="date"&&u!=="date")c=i+"the argument to most must be a date";else if(!Dt(e)&&(n||Dt(r)))c=i+"the argument to most must be a number";else if(!n&&a!=="date"&&!Dt(r)){var p=a==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new He(c,void 0,s);if(n){var h="length",f;a==="map"||a==="set"?(h="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}l(Yu,"assertMost");Q(Yu,"assertMost");B.addMethod("most",Yu);B.addMethod("lte",Yu);B.addMethod("lessThanOrEqual",Yu);B.addMethod("within",function(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),o=W(this,"doLength"),i=W(this,"message"),s=i?i+": ":"",a=W(this,"ssfi"),u=Xe(n).toLowerCase(),c=Xe(e).toLowerCase(),d=Xe(t).toLowerCase(),p,h=!0,f=c==="date"&&d==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new B(n,i,a,!0).to.have.property("length"),!o&&u==="date"&&(c!=="date"||d!=="date"))p=s+"the arguments to within must be dates";else if((!Dt(e)||!Dt(t))&&(o||Dt(n)))p=s+"the arguments to within must be numbers";else if(!o&&u!=="date"&&!Dt(n)){var m=u==="string"?"'"+n+"'":n;p=s+"expected "+m+" to be a number or a date"}else h=!1;if(h)throw new He(p,void 0,a);if(o){var y="length",g;u==="map"||u==="set"?(y="size",g=n.size):g=n.length,this.assert(g>=e&&g<=t,"expected #{this} to have a "+y+" within "+f,"expected #{this} to not have a "+y+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function Vf(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"ssfi"),o=W(this,"message");try{var i=r instanceof e}catch(a){throw a instanceof TypeError?(o=o?o+": ":"",new He(o+"The instanceof assertion needs a constructor but "+Xe(e)+" was given.",void 0,n)):a}var s=Ju(e);s==null&&(s="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+s,"expected #{this} to not be an instance of "+s)}l(Vf,"assertInstanceOf");Q(Vf,"assertInstanceOf");B.addMethod("instanceof",Vf);B.addMethod("instanceOf",Vf);function Hf(e,t,r){r&&W(this,"message",r);var n=W(this,"nested"),o=W(this,"own"),i=W(this,"message"),s=W(this,"object"),a=W(this,"ssfi"),u=typeof e;if(i=i?i+": ":"",n){if(u!=="string")throw new He(i+"the argument to property must be a string when using nested syntax",void 0,a)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new He(i+"the argument to property must be a string, number, or symbol",void 0,a);if(n&&o)throw new He(i+'The "nested" and "own" flags cannot be combined.',void 0,a);if(s==null)throw new He(i+"Target cannot be null or undefined.",void 0,a);var c=W(this,"deep"),d=W(this,"negate"),p=n?Af(s,e):null,h=n?p.value:s[e],f=c?W(this,"eql"):(g,b)=>g===b,m="";c&&(m+="deep "),o&&(m+="own "),n&&(m+="nested "),m+="property ";var y;o?y=Object.prototype.hasOwnProperty.call(s,e):n?y=p.exists:y=Hu(s,e),(!d||arguments.length===1)&&this.assert(y,"expected #{this} to have "+m+Be(e),"expected #{this} to not have "+m+Be(e)),arguments.length>1&&this.assert(y&&f(t,h),"expected #{this} to have "+m+Be(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+Be(e)+" of #{act}",t,h),W(this,"object",h)}l(Hf,"assertProperty");Q(Hf,"assertProperty");B.addMethod("property",Hf);function Jf(e,t,r){W(this,"own",!0),Hf.apply(this,arguments)}l(Jf,"assertOwnProperty");Q(Jf,"assertOwnProperty");B.addMethod("ownProperty",Jf);B.addMethod("haveOwnProperty",Jf);function zf(e,t,r){typeof t=="string"&&(r=t,t=null),r&&W(this,"message",r);var n=W(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=W(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+Be(e)+" on #{this} to match "+Be(t)+", got "+Be(o),"expected the own property descriptor for "+Be(e)+" on #{this} to not match "+Be(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+Be(e),"expected #{this} to not have an own property descriptor for "+Be(e)),W(this,"object",o)}l(zf,"assertOwnPropertyDescriptor");Q(zf,"assertOwnPropertyDescriptor");B.addMethod("ownPropertyDescriptor",zf);B.addMethod("haveOwnPropertyDescriptor",zf);function Kf(){W(this,"doLength",!0)}l(Kf,"assertLengthChain");Q(Kf,"assertLengthChain");function Gf(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=Xe(r).toLowerCase(),o=W(this,"message"),i=W(this,"ssfi"),s="length",a;switch(n){case"map":case"set":s="size",a=r.size;break;default:new B(r,o,i,!0).to.have.property("length"),a=r.length}this.assert(a==e,"expected #{this} to have a "+s+" of #{exp} but got #{act}","expected #{this} to not have a "+s+" of #{act}",e,a)}l(Gf,"assertLength");Q(Gf,"assertLength");B.addChainableMethod("length",Gf,Kf);B.addChainableMethod("lengthOf",Gf,Kf);function Wf(e,t){t&&W(this,"message",t);var r=W(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}l(Wf,"assertMatch");Q(Wf,"assertMatch");B.addMethod("match",Wf);B.addMethod("matches",Wf);B.addMethod("string",function(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"message"),o=W(this,"ssfi");new B(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Be(e),"expected #{this} to not contain "+Be(e))});function Yf(e){var t=W(this,"object"),r=Xe(t),n=Xe(e),o=W(this,"ssfi"),i=W(this,"deep"),s,a="",u,c=!0,d=W(this,"message");d=d?d+": ":"";var p=d+"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")a=i?"deeply ":"",u=[],t.forEach(function(v,S){u.push(S)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Lf(t),n){case"Array":if(arguments.length>1)throw new He(p,void 0,o);break;case"Object":if(arguments.length>1)throw new He(p,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new He(d+"keys required",void 0,o);var h=e.length,f=W(this,"any"),m=W(this,"all"),y=e,g=i?W(this,"eql"):(v,S)=>v===S;if(!f&&!m&&(m=!0),f&&(c=y.some(function(v){return u.some(function(S){return g(v,S)})})),m&&(c=y.every(function(v){return u.some(function(S){return g(v,S)})}),W(this,"contains")||(c=c&&e.length==u.length)),h>1){e=e.map(function(v){return Be(v)});var b=e.pop();m&&(s=e.join(", ")+", and "+b),f&&(s=e.join(", ")+", or "+b)}else s=Be(e[0]);s=(h>1?"keys ":"key ")+s,s=(W(this,"contains")?"contain ":"have ")+s,this.assert(c,"expected #{this} to "+a+s,"expected #{this} to not "+a+s,y.slice(0).sort(eu),u.sort(eu),!0)}l(Yf,"assertKeys");Q(Yf,"assertKeys");B.addMethod("keys",Yf);B.addMethod("key",Yf);function Xu(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),o=W(this,"ssfi"),i=W(this,"message"),s=W(this,"negate")||!1;new B(n,i,o,!0).is.a("function"),(tu(e)||typeof e=="string")&&(t=e,e=null);let a,u=!1;try{n()}catch(v){u=!0,a=v}var c=e===void 0&&t===void 0,d=!!(e&&t),p=!1,h=!1;if(c||!c&&!s){var f="an error";e instanceof Error?f="#{exp}":e&&(f=Or.getConstructorName(e));let v=a;if(a instanceof Error)v=a.toString();else if(typeof a=="string")v=a;else if(a&&(typeof a=="object"||typeof a=="function"))try{v=Or.getConstructorName(a)}catch{}this.assert(u,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&a){if(e instanceof Error){var m=Or.compatibleInstance(a,e);m===s&&(d&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a&&!s?" but #{act} was thrown":""),e.toString(),a.toString()))}var y=Or.compatibleConstructor(a,e);y===s&&(d&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Or.getConstructorName(e),a instanceof Error?a.toString():a&&Or.getConstructorName(a)))}if(a&&t!==void 0&&t!==null){var g="including";tu(t)&&(g="matching");var b=Or.compatibleMessage(a,t);b===s&&(d&&s?h=!0:this.assert(s,"expected #{this} to throw error "+g+" #{exp} but got #{act}","expected #{this} to throw error not "+g+" #{exp}",t,Or.getMessage(a)))}p&&h&&this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Or.getConstructorName(e),a instanceof Error?a.toString():a&&Or.getConstructorName(a)),W(this,"object",a)}l(Xu,"assertThrows");Q(Xu,"assertThrows");B.addMethod("throw",Xu);B.addMethod("throws",Xu);B.addMethod("Throw",Xu);function Xf(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+Be(e),"expected #{this} to not respond to "+Be(e))}l(Xf,"respondTo");Q(Xf,"respondTo");B.addMethod("respondTo",Xf);B.addMethod("respondsTo",Xf);B.addProperty("itself",function(){W(this,"itself",!0)});function Qf(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Ho(e),"expected #{this} to not satisfy"+Ho(e),!W(this,"negate"),n)}l(Qf,"satisfy");Q(Qf,"satisfy");B.addMethod("satisfy",Qf);B.addMethod("satisfies",Qf);function Zf(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");new B(n,o,i,!0).is.numeric;let s="A `delta` value is required for `closeTo`";if(t==null)throw new He(o?`${o}: ${s}`:s,void 0,i);if(new B(t,o,i,!0).is.numeric,s="A `expected` value is required for `closeTo`",e==null)throw new He(o?`${o}: ${s}`:s,void 0,i);new B(e,o,i,!0).is.numeric;let a=Q(c=>c<0n?-c:c,"abs"),u=Q(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(u(a(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}l(Zf,"closeTo");Q(Zf,"closeTo");B.addMethod("closeTo",Zf);B.addMethod("approximately",Zf);function zE(e,t,r,n,o){let i=Array.from(t),s=Array.from(e);if(!n){if(s.length!==i.length)return!1;i=i.slice()}return s.every(function(a,u){if(o)return r?r(a,i[u]):a===i[u];if(!r){var c=i.indexOf(a);return c===-1?!1:(n||i.splice(c,1),!0)}return i.some(function(d,p){return r(a,d)?(n||i.splice(p,1),!0):!1})})}l(zE,"isSubsetOf");Q(zE,"isSubsetOf");B.addMethod("members",function(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"message"),o=W(this,"ssfi");new B(r,n,o,!0).to.be.iterable,new B(e,n,o,!0).to.be.iterable;var i=W(this,"contains"),s=W(this,"ordered"),a,u,c;i?(a=s?"an ordered superset":"a superset",u="expected #{this} to be "+a+" of #{exp}",c="expected #{this} to not be "+a+" of #{exp}"):(a=s?"ordered members":"members",u="expected #{this} to have the same "+a+" as #{exp}",c="expected #{this} to not have the same "+a+" as #{exp}");var d=W(this,"deep")?W(this,"eql"):void 0;this.assert(zE(e,r,d,i,s),u,c,e,r,!0)});B.addProperty("iterable",function(e){e&&W(this,"message",e);var t=W(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function KE(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"message"),o=W(this,"ssfi"),i=W(this,"contains"),s=W(this,"deep"),a=W(this,"eql");new B(e,n,o,!0).to.be.an("array"),i?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):s?this.assert(e.some(function(u){return a(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}l(KE,"oneOf");Q(KE,"oneOf");B.addMethod("oneOf",KE);function eh(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");new B(n,o,i,!0).is.a("function");var s;t?(new B(e,o,i,!0).to.have.property(t),s=e[t]):(new B(e,o,i,!0).is.a("function"),s=e()),n();var a=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",a),W(this,"deltaBehavior","change"),W(this,"realDelta",a!==s),this.assert(s!==a,"expected "+u+" to change","expected "+u+" to not change")}l(eh,"assertChanges");Q(eh,"assertChanges");B.addMethod("change",eh);B.addMethod("changes",eh);function th(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");new B(n,o,i,!0).is.a("function");var s;t?(new B(e,o,i,!0).to.have.property(t),s=e[t]):(new B(e,o,i,!0).is.a("function"),s=e()),new B(s,o,i,!0).is.a("number"),n();var a=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",a),W(this,"deltaBehavior","increase"),W(this,"realDelta",a-s),this.assert(a-s>0,"expected "+u+" to increase","expected "+u+" to not increase")}l(th,"assertIncreases");Q(th,"assertIncreases");B.addMethod("increase",th);B.addMethod("increases",th);function rh(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");new B(n,o,i,!0).is.a("function");var s;t?(new B(e,o,i,!0).to.have.property(t),s=e[t]):(new B(e,o,i,!0).is.a("function"),s=e()),new B(s,o,i,!0).is.a("number"),n();var a=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",a),W(this,"deltaBehavior","decrease"),W(this,"realDelta",s-a),this.assert(a-s<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}l(rh,"assertDecreases");Q(rh,"assertDecreases");B.addMethod("decrease",rh);B.addMethod("decreases",rh);function GE(e,t){t&&W(this,"message",t);var r=W(this,"deltaMsgObj"),n=W(this,"initialDeltaValue"),o=W(this,"finalDeltaValue"),i=W(this,"deltaBehavior"),s=W(this,"realDelta"),a;i==="change"?a=Math.abs(o-n)===Math.abs(e):a=s===Math.abs(e),this.assert(a,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}l(GE,"assertDelta");Q(GE,"assertDelta");B.addMethod("by",GE);B.addProperty("extensible",function(){var e=W(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});B.addProperty("sealed",function(){var e=W(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});B.addProperty("frozen",function(){var e=W(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});B.addProperty("finite",function(e){var t=W(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 ru(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 ru(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?ru(n,o):typeof n=="function"?n(o):o===n}):!1}l(ru,"compareSubset");Q(ru,"compareSubset");B.addMethod("containSubset",function(e){let t=Ae(this,"object"),r=hr.showDiff;this.assert(ru(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Jo(e,t){return new B(e,t)}l(Jo,"expect");Q(Jo,"expect");Jo.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new He(r,{actual:e,expected:t,operator:n},Jo.fail)};var RI={};dE(RI,{Should:l(()=>oZ,"Should"),should:l(()=>nZ,"should")});function nh(){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 B(this.valueOf(),null,e):new B(this,null,e)}l(e,"shouldGetter"),Q(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}l(t,"shouldSetter"),Q(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,o,i,s){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new He(i,{actual:n,expected:o,operator:s},r.fail)},r.equal=function(n,o,i){new B(n,i).to.equal(o)},r.Throw=function(n,o,i,s){new B(n,s).to.Throw(o,i)},r.exist=function(n,o){new B(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new B(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,s){new B(n,s).to.not.Throw(o,i)},r.not.exist=function(n,o){new B(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}l(nh,"loadShould");Q(nh,"loadShould");var nZ=nh,oZ=nh;function F(e,t){var r=new B(null,null,F,!0);r.assert(e,t,"[ negation message unavailable ]")}l(F,"assert");Q(F,"assert");F.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new He(r,{actual:e,expected:t,operator:n},F.fail)};F.isOk=function(e,t){new B(e,t,F.isOk,!0).is.ok};F.isNotOk=function(e,t){new B(e,t,F.isNotOk,!0).is.not.ok};F.equal=function(e,t,r){var n=new B(e,r,F.equal,!0);n.assert(t==Ae(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};F.notEqual=function(e,t,r){var n=new B(e,r,F.notEqual,!0);n.assert(t!=Ae(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};F.strictEqual=function(e,t,r){new B(e,r,F.strictEqual,!0).to.equal(t)};F.notStrictEqual=function(e,t,r){new B(e,r,F.notStrictEqual,!0).to.not.equal(t)};F.deepEqual=F.deepStrictEqual=function(e,t,r){new B(e,r,F.deepEqual,!0).to.eql(t)};F.notDeepEqual=function(e,t,r){new B(e,r,F.notDeepEqual,!0).to.not.eql(t)};F.isAbove=function(e,t,r){new B(e,r,F.isAbove,!0).to.be.above(t)};F.isAtLeast=function(e,t,r){new B(e,r,F.isAtLeast,!0).to.be.least(t)};F.isBelow=function(e,t,r){new B(e,r,F.isBelow,!0).to.be.below(t)};F.isAtMost=function(e,t,r){new B(e,r,F.isAtMost,!0).to.be.most(t)};F.isTrue=function(e,t){new B(e,t,F.isTrue,!0).is.true};F.isNotTrue=function(e,t){new B(e,t,F.isNotTrue,!0).to.not.equal(!0)};F.isFalse=function(e,t){new B(e,t,F.isFalse,!0).is.false};F.isNotFalse=function(e,t){new B(e,t,F.isNotFalse,!0).to.not.equal(!1)};F.isNull=function(e,t){new B(e,t,F.isNull,!0).to.equal(null)};F.isNotNull=function(e,t){new B(e,t,F.isNotNull,!0).to.not.equal(null)};F.isNaN=function(e,t){new B(e,t,F.isNaN,!0).to.be.NaN};F.isNotNaN=function(e,t){new B(e,t,F.isNotNaN,!0).not.to.be.NaN};F.exists=function(e,t){new B(e,t,F.exists,!0).to.exist};F.notExists=function(e,t){new B(e,t,F.notExists,!0).to.not.exist};F.isUndefined=function(e,t){new B(e,t,F.isUndefined,!0).to.equal(void 0)};F.isDefined=function(e,t){new B(e,t,F.isDefined,!0).to.not.equal(void 0)};F.isCallable=function(e,t){new B(e,t,F.isCallable,!0).is.callable};F.isNotCallable=function(e,t){new B(e,t,F.isNotCallable,!0).is.not.callable};F.isObject=function(e,t){new B(e,t,F.isObject,!0).to.be.a("object")};F.isNotObject=function(e,t){new B(e,t,F.isNotObject,!0).to.not.be.a("object")};F.isArray=function(e,t){new B(e,t,F.isArray,!0).to.be.an("array")};F.isNotArray=function(e,t){new B(e,t,F.isNotArray,!0).to.not.be.an("array")};F.isString=function(e,t){new B(e,t,F.isString,!0).to.be.a("string")};F.isNotString=function(e,t){new B(e,t,F.isNotString,!0).to.not.be.a("string")};F.isNumber=function(e,t){new B(e,t,F.isNumber,!0).to.be.a("number")};F.isNotNumber=function(e,t){new B(e,t,F.isNotNumber,!0).to.not.be.a("number")};F.isNumeric=function(e,t){new B(e,t,F.isNumeric,!0).is.numeric};F.isNotNumeric=function(e,t){new B(e,t,F.isNotNumeric,!0).is.not.numeric};F.isFinite=function(e,t){new B(e,t,F.isFinite,!0).to.be.finite};F.isBoolean=function(e,t){new B(e,t,F.isBoolean,!0).to.be.a("boolean")};F.isNotBoolean=function(e,t){new B(e,t,F.isNotBoolean,!0).to.not.be.a("boolean")};F.typeOf=function(e,t,r){new B(e,r,F.typeOf,!0).to.be.a(t)};F.notTypeOf=function(e,t,r){new B(e,r,F.notTypeOf,!0).to.not.be.a(t)};F.instanceOf=function(e,t,r){new B(e,r,F.instanceOf,!0).to.be.instanceOf(t)};F.notInstanceOf=function(e,t,r){new B(e,r,F.notInstanceOf,!0).to.not.be.instanceOf(t)};F.include=function(e,t,r){new B(e,r,F.include,!0).include(t)};F.notInclude=function(e,t,r){new B(e,r,F.notInclude,!0).not.include(t)};F.deepInclude=function(e,t,r){new B(e,r,F.deepInclude,!0).deep.include(t)};F.notDeepInclude=function(e,t,r){new B(e,r,F.notDeepInclude,!0).not.deep.include(t)};F.nestedInclude=function(e,t,r){new B(e,r,F.nestedInclude,!0).nested.include(t)};F.notNestedInclude=function(e,t,r){new B(e,r,F.notNestedInclude,!0).not.nested.include(t)};F.deepNestedInclude=function(e,t,r){new B(e,r,F.deepNestedInclude,!0).deep.nested.include(t)};F.notDeepNestedInclude=function(e,t,r){new B(e,r,F.notDeepNestedInclude,!0).not.deep.nested.include(t)};F.ownInclude=function(e,t,r){new B(e,r,F.ownInclude,!0).own.include(t)};F.notOwnInclude=function(e,t,r){new B(e,r,F.notOwnInclude,!0).not.own.include(t)};F.deepOwnInclude=function(e,t,r){new B(e,r,F.deepOwnInclude,!0).deep.own.include(t)};F.notDeepOwnInclude=function(e,t,r){new B(e,r,F.notDeepOwnInclude,!0).not.deep.own.include(t)};F.match=function(e,t,r){new B(e,r,F.match,!0).to.match(t)};F.notMatch=function(e,t,r){new B(e,r,F.notMatch,!0).to.not.match(t)};F.property=function(e,t,r){new B(e,r,F.property,!0).to.have.property(t)};F.notProperty=function(e,t,r){new B(e,r,F.notProperty,!0).to.not.have.property(t)};F.propertyVal=function(e,t,r,n){new B(e,n,F.propertyVal,!0).to.have.property(t,r)};F.notPropertyVal=function(e,t,r,n){new B(e,n,F.notPropertyVal,!0).to.not.have.property(t,r)};F.deepPropertyVal=function(e,t,r,n){new B(e,n,F.deepPropertyVal,!0).to.have.deep.property(t,r)};F.notDeepPropertyVal=function(e,t,r,n){new B(e,n,F.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};F.ownProperty=function(e,t,r){new B(e,r,F.ownProperty,!0).to.have.own.property(t)};F.notOwnProperty=function(e,t,r){new B(e,r,F.notOwnProperty,!0).to.not.have.own.property(t)};F.ownPropertyVal=function(e,t,r,n){new B(e,n,F.ownPropertyVal,!0).to.have.own.property(t,r)};F.notOwnPropertyVal=function(e,t,r,n){new B(e,n,F.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};F.deepOwnPropertyVal=function(e,t,r,n){new B(e,n,F.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};F.notDeepOwnPropertyVal=function(e,t,r,n){new B(e,n,F.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};F.nestedProperty=function(e,t,r){new B(e,r,F.nestedProperty,!0).to.have.nested.property(t)};F.notNestedProperty=function(e,t,r){new B(e,r,F.notNestedProperty,!0).to.not.have.nested.property(t)};F.nestedPropertyVal=function(e,t,r,n){new B(e,n,F.nestedPropertyVal,!0).to.have.nested.property(t,r)};F.notNestedPropertyVal=function(e,t,r,n){new B(e,n,F.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};F.deepNestedPropertyVal=function(e,t,r,n){new B(e,n,F.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};F.notDeepNestedPropertyVal=function(e,t,r,n){new B(e,n,F.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};F.lengthOf=function(e,t,r){new B(e,r,F.lengthOf,!0).to.have.lengthOf(t)};F.hasAnyKeys=function(e,t,r){new B(e,r,F.hasAnyKeys,!0).to.have.any.keys(t)};F.hasAllKeys=function(e,t,r){new B(e,r,F.hasAllKeys,!0).to.have.all.keys(t)};F.containsAllKeys=function(e,t,r){new B(e,r,F.containsAllKeys,!0).to.contain.all.keys(t)};F.doesNotHaveAnyKeys=function(e,t,r){new B(e,r,F.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};F.doesNotHaveAllKeys=function(e,t,r){new B(e,r,F.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};F.hasAnyDeepKeys=function(e,t,r){new B(e,r,F.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};F.hasAllDeepKeys=function(e,t,r){new B(e,r,F.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};F.containsAllDeepKeys=function(e,t,r){new B(e,r,F.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};F.doesNotHaveAnyDeepKeys=function(e,t,r){new B(e,r,F.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};F.doesNotHaveAllDeepKeys=function(e,t,r){new B(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);var o=new B(e,n,F.throws,!0).to.throw(t,r);return Ae(o,"object")};F.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new B(e,n,F.doesNotThrow,!0).to.not.throw(t,r)};F.operator=function(e,t,r,n){var 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 He(n+'Invalid operator "'+t+'"',void 0,F.operator)}var i=new B(o,n,F.operator,!0);i.assert(Ae(i,"object")===!0,"expected "+Be(e)+" to be "+t+" "+Be(r),"expected "+Be(e)+" to not be "+t+" "+Be(r))};F.closeTo=function(e,t,r,n){new B(e,n,F.closeTo,!0).to.be.closeTo(t,r)};F.approximately=function(e,t,r,n){new B(e,n,F.approximately,!0).to.be.approximately(t,r)};F.sameMembers=function(e,t,r){new B(e,r,F.sameMembers,!0).to.have.same.members(t)};F.notSameMembers=function(e,t,r){new B(e,r,F.notSameMembers,!0).to.not.have.same.members(t)};F.sameDeepMembers=function(e,t,r){new B(e,r,F.sameDeepMembers,!0).to.have.same.deep.members(t)};F.notSameDeepMembers=function(e,t,r){new B(e,r,F.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};F.sameOrderedMembers=function(e,t,r){new B(e,r,F.sameOrderedMembers,!0).to.have.same.ordered.members(t)};F.notSameOrderedMembers=function(e,t,r){new B(e,r,F.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};F.sameDeepOrderedMembers=function(e,t,r){new B(e,r,F.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};F.notSameDeepOrderedMembers=function(e,t,r){new B(e,r,F.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};F.includeMembers=function(e,t,r){new B(e,r,F.includeMembers,!0).to.include.members(t)};F.notIncludeMembers=function(e,t,r){new B(e,r,F.notIncludeMembers,!0).to.not.include.members(t)};F.includeDeepMembers=function(e,t,r){new B(e,r,F.includeDeepMembers,!0).to.include.deep.members(t)};F.notIncludeDeepMembers=function(e,t,r){new B(e,r,F.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};F.includeOrderedMembers=function(e,t,r){new B(e,r,F.includeOrderedMembers,!0).to.include.ordered.members(t)};F.notIncludeOrderedMembers=function(e,t,r){new B(e,r,F.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};F.includeDeepOrderedMembers=function(e,t,r){new B(e,r,F.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};F.notIncludeDeepOrderedMembers=function(e,t,r){new B(e,r,F.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};F.oneOf=function(e,t,r){new B(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 ${Be(e)} to be an iterable`:`expected ${Be(e)} to be an iterable`,new He(t,void 0,F.isIterable)};F.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new B(e,n,F.changes,!0).to.change(t,r)};F.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(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 B(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"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(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 B(e,n,F.increases,!0).to.increase(t,r)};F.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(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 B(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"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(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 B(e,n,F.decreases,!0).to.decrease(t,r)};F.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(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 B(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"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);return new B(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"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(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 B(e,t,F.isExtensible,!0).to.be.extensible};F.isNotExtensible=function(e,t){new B(e,t,F.isNotExtensible,!0).to.not.be.extensible};F.isSealed=function(e,t){new B(e,t,F.isSealed,!0).to.be.sealed};F.isNotSealed=function(e,t){new B(e,t,F.isNotSealed,!0).to.not.be.sealed};F.isFrozen=function(e,t){new B(e,t,F.isFrozen,!0).to.be.frozen};F.isNotFrozen=function(e,t){new B(e,t,F.isNotFrozen,!0).to.not.be.frozen};F.isEmpty=function(e,t){new B(e,t,F.isEmpty,!0).to.be.empty};F.isNotEmpty=function(e,t){new B(e,t,F.isNotEmpty,!0).to.not.be.empty};F.containsSubset=function(e,t,r){new B(e,r).to.containSubset(t)};F.doesNotContainSubset=function(e,t,r){new B(e,r).to.not.containSubset(t)};var iZ=[["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 iZ)F[t]=F[e];var gC=[];function ki(e){let t={use:ki,AssertionError:He,util:xn,config:hr,expect:Jo,assert:F,Assertion:B,...RI};return~gC.indexOf(e)||(e(t,xn),gC.push(e)),t}l(ki,"use");Q(ki,"use");var NI={};mr(NI,{toBeChecked:()=>Nw,toBeDisabled:()=>xw,toBeEmpty:()=>lw,toBeEmptyDOMElement:()=>uw,toBeEnabled:()=>Tw,toBeInTheDOM:()=>zd,toBeInTheDocument:()=>aw,toBeInvalid:()=>Ow,toBePartiallyChecked:()=>Mw,toBeRequired:()=>Cw,toBeValid:()=>Pw,toBeVisible:()=>bw,toContainElement:()=>Kd,toContainHTML:()=>cw,toHaveAccessibleDescription:()=>Gd,toHaveAccessibleErrorMessage:()=>pw,toHaveAccessibleName:()=>Yd,toHaveAttribute:()=>fw,toHaveClass:()=>hw,toHaveDescription:()=>kw,toHaveDisplayValue:()=>Rw,toHaveErrorMessage:()=>jw,toHaveFocus:()=>mw,toHaveFormValues:()=>yw,toHaveRole:()=>Wd,toHaveSelection:()=>qw,toHaveStyle:()=>Xd,toHaveTextContent:()=>dw,toHaveValue:()=>Aw});var bC=_t(wP(),1);function WE(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}l(WE,"$parcel$defineInteropFlag");function oh(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}l(oh,"$parcel$export");var II={};WE(II);oh(II,"default",()=>kI);var MI=class extends Error{constructor(t,r,n,o,i){super(t+":"+n+":"+o+": "+r),this.reason=r,this.filename=t,this.line=n,this.column=o,this.source=i}};l(MI,"$009ddb00d3ec72b8$export$2e2bcd8739ae039");var kI=MI,jI={};WE(jI);oh(jI,"default",()=>LI);var qI=class{constructor(t,r,n){this.start=t,this.end=r,this.source=n}};l(qI,"$0865a9fb4cc365fe$export$2e2bcd8739ae039");var LI=qI,sZ={};oh(sZ,"CssTypes",()=>Ht);var Ht=(function(e){return e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports",e})({}),jm=/\/\*[^]*?(?:\*\/|$)/g,aZ=l((e,t)=>{t=t||{};let r=1,n=1;function o(q){let H=q.match(/\n/g);H&&(r+=H.length);let X=q.lastIndexOf(`
|
|
221
|
+
`);n=~X?q.length-X:n+q.length}l(o,"updatePosition");function i(){let q={line:r,column:n};return function(H){return H.position=new LI(q,{line:r,column:n},(t==null?void 0:t.source)||""),f(),H}}l(i,"position");let s=[];function a(q){let H=new kI((t==null?void 0:t.source)||"",q,r,n,e);if(t!=null&&t.silent)s.push(H);else throw H}l(a,"error");function u(){let q=p();return{type:Ht.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:q,parsingErrors:s}}}l(u,"stylesheet");function c(){return h(/^{\s*/)}l(c,"open");function d(){return h(/^}/)}l(d,"close");function p(){let q,H=[];for(f(),m(H);e.length&&e.charAt(0)!=="}"&&(q=pe()||oe());)q&&(H.push(q),m(H));return H}l(p,"rules");function h(q){let H=q.exec(e);if(!H)return;let X=H[0];return o(X),e=e.slice(X.length),H}l(h,"match");function f(){h(/^\s*/)}l(f,"whitespace");function m(q){let H;for(q=q||[];H=y();)H&&q.push(H);return q}l(m,"comments");function y(){let q=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let H=h(/^\/\*[^]*?\*\//);return H?q({type:Ht.comment,comment:H[0].slice(2,-2)}):a("End of comment missing")}l(y,"comment");function g(q,H,X){let ne=H+1,ee=!1,le=q.indexOf(")",ne);for(;!ee&&le!==-1;){let ye=q.indexOf("(",ne);ye!==-1&&ye<le?(ne=g(q,ye+1)+1,le=q.indexOf(")",ne)):ee=!0}return ee&&le!==-1?le:-1}l(g,"findClosingParenthese");function b(){let q=h(/^([^{]+)/);if(!q)return;let H=Cr(q[0]).replace(jm,"");if(H.indexOf(",")===-1)return[H];let X=0,ne=H.indexOf("(",X);for(;ne!==-1;){let ee=g(H,ne);if(ee===-1)break;X=ee+1,H=H.substring(0,ne)+H.substring(ne,ee).replace(/,/g,"")+H.substring(ee),ne=H.indexOf("(",X)}return H=H.replace(/("|')(?:\\\1|.)*?\1/g,ee=>ee.replace(/,/g,"")),H.split(",").map(ee=>Cr(ee.replace(/\u200C/g,",")))}l(b,"selector");function v(){let q=i(),H=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!H)return;let X=Cr(H[0]);if(!h(/^:\s*/))return a("property missing ':'");let ne=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/),ee=q({type:Ht.declaration,property:X.replace(jm,""),value:ne?Cr(ne[0]).replace(jm,""):""});return h(/^[;\s]*/),ee}l(v,"declaration");function S(){let q=[];if(!c())return a("missing '{'");m(q);let H;for(;H=v();)H&&(q.push(H),m(q));return d()?q:a("missing '}'")}l(S,"declarations");function T(){let q,H=[],X=i();for(;q=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)H.push(q[1]),h(/^,\s*/);if(H.length)return X({type:Ht.keyframe,values:H,declarations:S()||[]})}l(T,"keyframe");function O(){let q=i(),H=h(/^@([-\w]+)?keyframes\s*/);if(!H)return;let X=H[1],ne=h(/^([-\w]+)\s*/);if(!ne)return a("@keyframes missing name");let ee=ne[1];if(!c())return a("@keyframes missing '{'");let le,ye=m();for(;le=T();)ye.push(le),ye=ye.concat(m());return d()?q({type:Ht.keyframes,name:ee,vendor:X,keyframes:ye}):a("@keyframes missing '}'")}l(O,"atkeyframes");function C(){let q=i(),H=h(/^@supports *([^{]+)/);if(!H)return;let X=Cr(H[1]);if(!c())return a("@supports missing '{'");let ne=m().concat(p());return d()?q({type:Ht.supports,supports:X,rules:ne}):a("@supports missing '}'")}l(C,"atsupports");function E(){let q=i();if(!h(/^@host\s*/))return;if(!c())return a("@host missing '{'");let H=m().concat(p());return d()?q({type:Ht.host,rules:H}):a("@host missing '}'")}l(E,"athost");function w(){let q=i(),H=h(/^@container *([^{]+)/);if(!H)return;let X=Cr(H[1]);if(!c())return a("@container missing '{'");let ne=m().concat(p());return d()?q({type:Ht.container,container:X,rules:ne}):a("@container missing '}'")}l(w,"atcontainer");function _(){let q=i(),H=h(/^@layer *([^{;@]+)/);if(!H)return;let X=Cr(H[1]);if(!c())return h(/^[;\s]*/),q({type:Ht.layer,layer:X});let ne=m().concat(p());return d()?q({type:Ht.layer,layer:X,rules:ne}):a("@layer missing '}'")}l(_,"atlayer");function R(){let q=i(),H=h(/^@media *([^{]+)/);if(!H)return;let X=Cr(H[1]);if(!c())return a("@media missing '{'");let ne=m().concat(p());return d()?q({type:Ht.media,media:X,rules:ne}):a("@media missing '}'")}l(R,"atmedia");function N(){let q=i(),H=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(H)return q({type:Ht.customMedia,name:Cr(H[1]),media:Cr(H[2])})}l(N,"atcustommedia");function j(){let q=i();if(!h(/^@page */))return;let H=b()||[];if(!c())return a("@page missing '{'");let X=m(),ne;for(;ne=v();)X.push(ne),X=X.concat(m());return d()?q({type:Ht.page,selectors:H,declarations:X}):a("@page missing '}'")}l(j,"atpage");function D(){let q=i(),H=h(/^@([-\w]+)?document *([^{]+)/);if(!H)return;let X=Cr(H[1]),ne=Cr(H[2]);if(!c())return a("@document missing '{'");let ee=m().concat(p());return d()?q({type:Ht.document,document:ne,vendor:X,rules:ee}):a("@document missing '}'")}l(D,"atdocument");function P(){let q=i();if(!h(/^@font-face\s*/))return;if(!c())return a("@font-face missing '{'");let H=m(),X;for(;X=v();)H.push(X),H=H.concat(m());return d()?q({type:Ht.fontFace,declarations:H}):a("@font-face missing '}'")}l(P,"atfontface");function M(){let q=i();if(!h(/^@starting-style\s*/))return;if(!c())return a("@starting-style missing '{'");let H=m().concat(p());return d()?q({type:Ht.startingStyle,rules:H}):a("@starting-style missing '}'")}l(M,"atstartingstyle");let k=ie("import"),z=ie("charset"),J=ie("namespace");function ie(q){let H=new RegExp("^@"+q+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let X=i(),ne=h(H);if(!ne)return;let ee={type:q};return ee[q]=ne[1].trim(),X(ee)}}l(ie,"_compileAtrule");function pe(){if(e[0]==="@")return O()||R()||N()||C()||k()||z()||J()||D()||j()||E()||P()||w()||M()||_()}l(pe,"atrule");function oe(){let q=i(),H=b();return H?(m(),q({type:Ht.rule,selectors:H,declarations:S()||[]})):a("selector missing")}return l(oe,"rule"),Jd(u())},"$d708735ed1303b43$export$98e6a39c04603d36");function Cr(e){return e?e.trim():""}l(Cr,"$d708735ed1303b43$var$trim");function Jd(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(s=>{Jd(s,n)}):i&&typeof i=="object"&&Jd(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}l(Jd,"$d708735ed1303b43$var$addParent");var lZ=aZ,uZ=lZ,cZ=Object.prototype.toString;function Jy(e){return typeof e=="function"||cZ.call(e)==="[object Function]"}l(Jy,"isCallable");function $I(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}l($I,"toInteger");var dZ=Math.pow(2,53)-1;function DI(e){var t=$I(e);return Math.min(Math.max(t,0),dZ)}l(DI,"toLength");function Vr(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Jy(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=DI(n.length),i=Jy(r)?Object(new r(o)):new Array(o),s=0,a;s<o;)a=n[s],t?i[s]=t(a,s):i[s]=a,s+=1;return i.length=o,i}l(Vr,"arrayFrom");function sa(e){"@babel/helpers - typeof";return sa=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},sa(e)}l(sa,"_typeof");function FI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}l(FI,"_classCallCheck");function zy(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,YE(n.key),n)}}l(zy,"_defineProperties");function BI(e,t,r){return t&&zy(e.prototype,t),r&&zy(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}l(BI,"_createClass");function UI(e,t,r){return t=YE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(UI,"_defineProperty");function YE(e){var t=VI(e,"string");return sa(t)==="symbol"?t:String(t)}l(YE,"_toPropertyKey");function VI(e,t){if(sa(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(sa(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}l(VI,"_toPrimitive");var pZ=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];FI(this,e),UI(this,"items",void 0),this.items=t}return l(e,"SetLike"),BI(e,[{key:"add",value:l(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:l(function(){this.items=[]},"clear")},{key:"delete",value:l(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:l(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:l(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:l(function(){return this.items.length},"get")}]),e})(),fZ=typeof Set>"u"?Set:pZ;function Qt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}l(Qt,"getLocalName");var hZ={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"},mZ={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 HI(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=mZ[t])!==null&&n!==void 0&&n.has(r))})}l(HI,"hasGlobalAriaAttributes");function XE(e,t){return HI(e,t)}l(XE,"ignorePresentationalRole");function JI(e){var t=KI(e);if(t===null||Ky.indexOf(t)!==-1){var r=zI(e);if(Ky.indexOf(t||"")===-1||XE(e,r||""))return r}return t}l(JI,"getRole");function zI(e){var t=hZ[Qt(e)];if(t!==void 0)return t;switch(Qt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!XE(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}l(zI,"getImplicitRole");function KI(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}l(KI,"getExplicitRole");var Ky=["presentation","none"];function it(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}l(it,"isElement");function QE(e){return it(e)&&Qt(e)==="caption"}l(QE,"isHTMLTableCaptionElement");function Sl(e){return it(e)&&Qt(e)==="input"}l(Sl,"isHTMLInputElement");function GI(e){return it(e)&&Qt(e)==="optgroup"}l(GI,"isHTMLOptGroupElement");function WI(e){return it(e)&&Qt(e)==="select"}l(WI,"isHTMLSelectElement");function YI(e){return it(e)&&Qt(e)==="table"}l(YI,"isHTMLTableElement");function XI(e){return it(e)&&Qt(e)==="textarea"}l(XI,"isHTMLTextAreaElement");function QI(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}l(QI,"safeWindow");function ZI(e){return it(e)&&Qt(e)==="fieldset"}l(ZI,"isHTMLFieldSetElement");function eM(e){return it(e)&&Qt(e)==="legend"}l(eM,"isHTMLLegendElement");function tM(e){return it(e)&&Qt(e)==="slot"}l(tM,"isHTMLSlotElement");function rM(e){return it(e)&&e.ownerSVGElement!==void 0}l(rM,"isSVGElement");function nM(e){return it(e)&&Qt(e)==="svg"}l(nM,"isSVGSVGElement");function oM(e){return rM(e)&&Qt(e)==="title"}l(oM,"isSVGTitleElement");function nu(e,t){if(it(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[]}l(nu,"queryIdRefs");function Tn(e,t){return it(e)?t.indexOf(JI(e))!==-1:!1}l(Tn,"hasAnyConcreteRoles");function iM(e){return e.trim().replace(/\s\s+/g," ")}l(iM,"asFlatString");function sM(e,t){if(!it(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"}l(sM,"isHidden");function aM(e){return Tn(e,["button","combobox","listbox","textbox"])||ZE(e,"range")}l(aM,"isControl");function ZE(e,t){if(!it(e))return!1;switch(t){case"range":return Tn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}l(ZE,"hasAbstractRole");function Gy(e,t){var r=Vr(e.querySelectorAll(t));return nu(e,"aria-owns").forEach(function(n){r.push.apply(r,Vr(n.querySelectorAll(t)))}),r}l(Gy,"querySelectorAllSubtree");function lM(e){return WI(e)?e.selectedOptions||Gy(e,"[selected]"):Gy(e,'[aria-selected="true"]')}l(lM,"querySelectedOptions");function uM(e){return Tn(e,Ky)}l(uM,"isMarkedPresentational");function cM(e){return QE(e)}l(cM,"isNativeHostLanguageTextAlternativeElement");function dM(e){return Tn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}l(dM,"allowsNameFromContent");function pM(e){return!1}l(pM,"isDescendantOfNativeHostLanguageTextAlternativeElement");function fM(e){return Sl(e)||XI(e)?e.value:e.textContent||""}l(fM,"getValueOfTextbox");function Wy(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}l(Wy,"getTextualContent");function ew(e){var t=Qt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}l(ew,"isLabelableElement");function tw(e){if(ew(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&it(r)){var n=tw(r);n!==null&&(t=n)}}),t}l(tw,"findLabelableElement");function hM(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):tw(e)}l(hM,"getControlOfLabel");function mM(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Vr(t);if(!ew(e))return null;var r=e.ownerDocument;return Vr(r.querySelectorAll("label")).filter(function(n){return hM(n)===e})}l(mM,"getLabels");function yM(e){var t=e.assignedNodes();return t.length===0?Vr(e.childNodes):t}l(yM,"getSlotContents");function rw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new fZ,n=QI(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,a=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,d=t.hidden,p=d===void 0?!1:d;function h(b,v){var S="";if(it(b)&&a){var T=c(b,"::before"),O=Wy(T);S="".concat(O," ").concat(S)}var C=tM(b)?yM(b):Vr(b.childNodes).concat(nu(b,"aria-owns"));if(C.forEach(function(_){var R=g(_,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=it(_)?c(_).getPropertyValue("display"):"inline",j=N!=="inline"?" ":"";S+="".concat(j).concat(R).concat(j)}),it(b)&&a){var E=c(b,"::after"),w=Wy(E);S="".concat(S," ").concat(w)}return S.trim()}l(h,"computeMiscTextAlternative");function f(b,v){var S=b.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}l(f,"useAttribute");function m(b){return it(b)?f(b,"title"):null}l(m,"computeTooltipAttributeValue");function y(b){if(!it(b))return null;if(ZI(b)){r.add(b);for(var v=Vr(b.childNodes),S=0;S<v.length;S+=1){var T=v[S];if(eM(T))return g(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(YI(b)){r.add(b);for(var O=Vr(b.childNodes),C=0;C<O.length;C+=1){var E=O[C];if(QE(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(nM(b)){r.add(b);for(var w=Vr(b.childNodes),_=0;_<w.length;_+=1){var R=w[_];if(oM(R))return R.textContent}return null}else if(Qt(b)==="img"||Qt(b)==="area"){var N=f(b,"alt");if(N!==null)return N}else if(GI(b)){var j=f(b,"label");if(j!==null)return j}if(Sl(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var D=f(b,"value");if(D!==null)return D;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var P=mM(b);if(P!==null&&P.length!==0)return r.add(b),Vr(P).map(function(J){return g(J,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(J){return J.length>0}).join(" ");if(Sl(b)&&b.type==="image"){var M=f(b,"alt");if(M!==null)return M;var k=f(b,"title");return k!==null?k:"Submit Query"}if(Tn(b,["button"])){var z=h(b,{isEmbeddedInLabel:!1});if(z!=="")return z}return null}l(y,"computeElementTextAlternative");function g(b,v){if(r.has(b))return"";if(!p&&sM(b,c)&&!v.isReferenced)return r.add(b),"";var S=it(b)?b.getAttributeNode("aria-labelledby"):null,T=S!==null&&!r.has(S)?nu(b,"aria-labelledby"):[];if(i==="name"&&!v.isReferenced&&T.length>0)return r.add(S),T.map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var O=v.recursion&&aM(b)&&i==="name";if(!O){var C=(it(b)&&b.getAttribute("aria-label")||"").trim();if(C!==""&&i==="name")return r.add(b),C;if(!uM(b)){var E=y(b);if(E!==null)return r.add(b),E}}if(Tn(b,["menu"]))return r.add(b),"";if(O||v.isEmbeddedInLabel||v.isReferenced){if(Tn(b,["combobox","listbox"])){r.add(b);var w=lM(b);return w.length===0?Sl(b)?b.value:"":Vr(w).map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(ZE(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Tn(b,["textbox"]))return r.add(b),fM(b)}if(dM(b)||it(b)&&v.isReferenced||cM(b)||pM()){var _=h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(_!=="")return r.add(b),_}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});var R=m(b);return R!==null?(r.add(b),R):(r.add(b),"")}return l(g,"computeTextAlternative"),iM(g(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}l(rw,"computeTextAlternative");function aa(e){"@babel/helpers - typeof";return aa=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},aa(e)}l(aa,"_typeof");function Yy(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}l(Yy,"ownKeys");function Xy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Yy(Object(r),!0).forEach(function(n){gM(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}l(Xy,"_objectSpread");function gM(e,t,r){return t=bM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(gM,"_defineProperty");function bM(e){var t=vM(e,"string");return aa(t)==="symbol"?t:String(t)}l(bM,"_toPropertyKey");function vM(e,t){if(aa(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(aa(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}l(vM,"_toPrimitive");function EM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=nu(e,"aria-describedby").map(function(i){return rw(i,Xy(Xy({},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}l(EM,"computeAccessibleDescription");function wM(e){return Tn(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}l(wM,"prohibitsNaming");function SM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return wM(e)?"":rw(e,t)}l(SM,"computeAccessibleName");var nw=_t(SP(),1),yZ=_t(TP(),1),ow=_t(jP(),1),gZ=_t(qP(),1),xM=class extends Error{constructor(t,r,n,o){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let i="";try{i=o.utils.printWithType("Received",r,o.utils.printReceived)}catch{}this.message=[o.utils.matcherHint(`${o.isNot?".not":""}.${n.name}`,"received",""),"",`${o.utils.RECEIVED_COLOR("received")} value must ${t}.`,i].join(`
|
|
222
|
+
`)}};l(xM,"GenericTypeError");var TM=xM,CM=class extends TM{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};l(CM,"HtmlElementTypeError");var vC=CM,_M=class extends TM{constructor(...t){super("be a Node",...t)}};l(_M,"NodeTypeError");var EC=_M;function iw(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}l(iw,"checkHasWindow");function OM(e,...t){iw(e,EC,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new EC(e,...t)}l(OM,"checkNode");function Ge(e,...t){iw(e,vC,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new vC(e,...t)}l(Ge,"checkHtmlElement");var PM=class extends Error{constructor(t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.message=[t.message,"",n.utils.RECEIVED_COLOR("Failing css:"),n.utils.RECEIVED_COLOR(`${t.css}`)].join(`
|
|
223
|
+
`)}};l(PM,"InvalidCSSError");var bZ=PM;function AM(e,...t){let r=uZ(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new bZ({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}),{})}l(AM,"parseCSS");function Qy(e,t){return typeof t=="string"?t:e.utils.stringify(t)}l(Qy,"display");function Jt(e,t,r,n,o,i){return[`${t}
|
|
224
|
+
`,`${r}:
|
|
225
|
+
${e.utils.EXPECTED_COLOR((0,bC.default)(Qy(e,n),2))}`,`${o}:
|
|
226
|
+
${e.utils.RECEIVED_COLOR((0,bC.default)(Qy(e,i),2))}`].join(`
|
|
227
|
+
`)}l(Jt,"getMessage");function RM(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}l(RM,"matches");function Qu(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}l(Qu,"deprecate");function Zu(e){return e.replace(/\s+/g," ").trim()}l(Zu,"normalize");function lo(e){return e.tagName&&e.tagName.toLowerCase()}l(lo,"getTag");function NM({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}l(NM,"getSelectValue");function IM(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}l(IM,"getInputValue");var vZ=["meter","progressbar","slider","spinbutton"];function MM(e){if(vZ.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}l(MM,"getAccessibleValue");function sw(e){if(e)switch(e.tagName.toLowerCase()){case"input":return IM(e);case"select":return NM(e);default:return e.value??MM(e)}}l(sw,"getSingleElementValue");function kM(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}l(kM,"toSentence");function ih(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}l(ih,"compareArraysAsSet");function zd(e,t){return Qu("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&Ge(e,zd,this),t&&Ge(t,zd,this),{pass:t?t.contains(e):!!e,message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
|
|
228
|
+
`),"message")}}l(zd,"toBeInTheDOM");function aw(e){(e!==null||!this.isNot)&&Ge(e,aw,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=l(()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,"errorFound"),n=l(()=>"element could not be found in the document","errorNotFound");return{pass:t,message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
|
|
229
|
+
`),"message")}}l(aw,"toBeInTheDocument");function lw(e){return Qu("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),Ge(e,lw,this),{pass:e.innerHTML==="",message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
230
|
+
`),"message")}}l(lw,"toBeEmpty");function uw(e){return Ge(e,uw,this),{pass:jM(e),message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
231
|
+
`),"message")}}l(uw,"toBeEmptyDOMElement");function jM(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}l(jM,"isEmptyElement");function Kd(e,t){return Ge(e,Kd,this),t!==null&&Ge(t,Kd,this),{pass:e.contains(t),message:l(()=>[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))}
|
|
232
|
+
`)].join(`
|
|
233
|
+
`),"message")}}l(Kd,"toContainElement");function qM(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}l(qM,"getNormalizedHtml");function cw(e,t){if(Ge(e,cw,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(qM(e,t)),message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
|
|
234
|
+
`),"message")}}l(cw,"toContainHTML");function dw(e,t,r={normalizeWhitespace:!0}){OM(e,dw,this);let n=r.normalizeWhitespace?Zu(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&RM(n,t),message:l(()=>{let i=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${i} have text content`,t,"Received",n)},"message")}}l(dw,"toHaveTextContent");function Gd(e,t){Ge(e,Gd,this);let r=EM(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:l(()=>{let i=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Gd.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)},"message")}}l(Gd,"toHaveAccessibleDescription");var tl="aria-invalid",EZ=["false"];function pw(e,t){var a;Ge(e,pw,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:l(()=>Jt(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`),"message")};let i=e.getAttribute(tl);if(!e.hasAttribute(tl)||EZ.includes(i))return{pass:!1,message:l(()=>Jt(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${tl}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${tl}="${e.getAttribute(tl)}`:null),"message")};let s=Zu(((a=e.ownerDocument.getElementById(o))==null?void 0:a.textContent)??"");return{pass:t===void 0?!!s:t instanceof RegExp?t.test(s):this.equals(s,t),message:l(()=>Jt(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",s),"message")}}l(pw,"toHaveAccessibleErrorMessage");var wZ=DM(nw.elementRoles);function Wd(e,t){Ge(e,Wd,this);let r=LM(e);return{pass:r.some(n=>n===t),message:l(()=>{let n=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Wd.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))},"message")}}l(Wd,"toHaveRole");function LM(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):$M(e)}l(LM,"getExplicitOrImplicitRoles");function $M(e){for(let{match:t,roles:r}of wZ)if(t(e))return[...r];return[]}l($M,"getImplicitAriaRoles");function DM(e){function t({name:s,attributes:a}){return`${s}${a.map(({name:u,value:c,constraints:d=[]})=>d.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}l(t,"makeElementSelector");function r({attributes:s=[]}){return s.length}l(r,"getSelectorSpecificity");function n({specificity:s},{specificity:a}){return a-s}l(n,"bySelectorSpecificity");function o(s){let{attributes:a=[]}=s,u=a.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(a=[...a.slice(0,u),...a.slice(u+1)]);let c=t({...s,attributes:a});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}l(o,"match");let i=[];for(let[s,a]of e.entries())i=[...i,{match:o(s),roles:Array.from(a),specificity:r(s)}];return i.sort(n)}l(DM,"buildElementRoleList");function Yd(e,t){Ge(e,Yd,this);let r=SM(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:l(()=>{let i=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Yd.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)},"message")}}l(Yd,"toHaveAccessibleName");function Zy(e,t,r){return r===void 0?t:`${t}=${e(r)}`}l(Zy,"printAttribute");function FM(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}l(FM,"getAttributeComment");function fw(e,t,r){Ge(e,fw,this);let n=r!==void 0,o=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?o&&this.equals(i,r):o,message:l(()=>{let s=this.isNot?"not to":"to",a=o?Zy(this.utils.stringify,t,i):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:FM(this.utils.stringify,t,r)});return Jt(this,u,`Expected the element ${s} have attribute`,Zy(this.utils.stringify,t,r),"Received",a)},"message")}}l(fw,"toHaveAttribute");function BM(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}}l(BM,"getExpectedClassNamesAndOptions");function eg(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}l(eg,"splitClassNames");function tg(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}l(tg,"isSubset$1");function hw(e,...t){Ge(e,hw,this);let{expectedClassNames:r,options:n}=BM(t),o=eg(e.getAttribute("class")),i=r.reduce((a,u)=>a.concat(typeof u=="string"||!u?eg(u):u),[]),s=i.some(a=>a instanceof RegExp);if(n.exact&&s)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:tg(i,o)&&i.length===o.length,message:l(()=>{let a=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${a} have EXACTLY defined classes`,i.join(" "),"Received",o.join(" "))},"message")}:i.length>0?{pass:tg(i,o),message:l(()=>{let a=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${a} have class`,i.join(" "),"Received",o.join(" "))},"message")}:{pass:this.isNot?o.length>0:!1,message:l(()=>this.isNot?Jt(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
|
|
235
|
+
`),"message")}}l(hw,"toHaveClass");function UM(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}l(UM,"getStyleDeclaration");function VM(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(s=>t[s]===n||t.getPropertyValue(s)===n)})}l(VM,"isSubset");function rg(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
236
|
+
`)}l(rg,"printoutStyles");function HM(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(rg(t),rg(n)).replace(`${yZ.default.red("+ Received")}
|
|
237
|
+
`,"")}l(HM,"expectedDiff");function Xd(e,t){Ge(e,Xd,this);let r=typeof t=="object"?t:AM(t,Xd,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=UM(e.ownerDocument,r),i=n(e);return{pass:VM(o,i),message:l(()=>{let s=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(s,"element",""),HM(this.utils.diff,o,i)].join(`
|
|
238
|
+
|
|
239
|
+
`)},"message")}}l(Xd,"toHaveStyle");function mw(e){return Ge(e,mw,this),{pass:e.ownerDocument.activeElement===e,message:l(()=>[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(`
|
|
240
|
+
`),"message")}}l(mw,"toHaveFocus");function JM(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)}}l(JM,"getMultiElementValue");function zM(e,t){let r=[...e.querySelectorAll(`[name="${(0,gZ.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return sw(r[0]);default:return JM(r)}}l(zM,"getFormValue");function KM(e){return/\[\]$/.test(e)?e.slice(0,-2):e}l(KM,"getPureName");function GM(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[KM(r)]:zM(e,r)}),{})}l(GM,"getAllFormValues");function yw(e,t){if(Ge(e,yw,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=GM(e);return{pass:Object.entries(t).every(([n,o])=>(0,ow.default)(r[n],o,ih)),message:l(()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(s=>t.hasOwnProperty(s)).reduce((s,a)=>({...s,[a]:r[a]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,i)].join(`
|
|
241
|
+
|
|
242
|
+
`)},"message")}}l(yw,"toHaveFormValues");function WM(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}l(WM,"isStyleVisible");function YM(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}l(YM,"isAttributeVisible");function gw(e,t){return WM(e)&&YM(e,t)&&(!e.parentElement||gw(e.parentElement,e))}l(gw,"isElementVisible");function bw(e){Ge(e,bw,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&gw(e);return{pass:r,message:l(()=>{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(`
|
|
243
|
+
`)},"message")}}l(bw,"toBeVisible");var SZ=["fieldset","input","select","optgroup","option","button","textarea"];function XM(e,t){return lo(e)==="legend"&&lo(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>lo(r)==="legend"))}l(XM,"isFirstLegendChildOfFieldset");function QM(e,t){return Ew(t)&&!XM(e,t)}l(QM,"isElementDisabledByParent");function ZM(e){return e.includes("-")}l(ZM,"isCustomElement");function vw(e){let t=lo(e);return SZ.includes(t)||ZM(t)}l(vw,"canElementBeDisabled");function Ew(e){return vw(e)&&e.hasAttribute("disabled")}l(Ew,"isElementDisabled");function ww(e){let t=e.parentElement;return!!t&&(QM(e,t)||ww(t))}l(ww,"isAncestorDisabled");function Sw(e){return vw(e)&&(Ew(e)||ww(e))}l(Sw,"isElementOrAncestorDisabled");function xw(e){Ge(e,xw,this);let t=Sw(e);return{pass:t,message:l(()=>{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(`
|
|
244
|
+
`)},"message")}}l(xw,"toBeDisabled");function Tw(e){Ge(e,Tw,this);let t=!Sw(e);return{pass:t,message:l(()=>{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(`
|
|
245
|
+
`)},"message")}}l(Tw,"toBeEnabled");var xZ=["select","textarea"],TZ=["input","select","textarea"],CZ=["color","hidden","range","submit","image","reset"],_Z=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function ek(e){return xZ.includes(lo(e))&&e.hasAttribute("required")}l(ek,"isRequiredOnFormTagsExceptInput");function tk(e){return lo(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!CZ.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}l(tk,"isRequiredOnSupportedInput");function rk(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(TZ.includes(lo(e))||e.hasAttribute("role")&&_Z.includes(e.getAttribute("role")))}l(rk,"isElementRequiredByARIA");function Cw(e){Ge(e,Cw,this);let t=ek(e)||tk(e)||rk(e);return{pass:t,message:l(()=>{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(`
|
|
246
|
+
`)},"message")}}l(Cw,"toBeRequired");var OZ=["form","input","select","textarea"];function nk(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}l(nk,"isElementHavingAriaInvalid");function ok(e){return OZ.includes(lo(e))}l(ok,"isSupportsValidityMethod");function _w(e){let t=nk(e);return ok(e)?t||!e.checkValidity():t}l(_w,"isElementInvalid");function Ow(e){Ge(e,Ow,this);let t=_w(e);return{pass:t,message:l(()=>{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(`
|
|
247
|
+
`)},"message")}}l(Ow,"toBeInvalid");function Pw(e){Ge(e,Pw,this);let t=!_w(e);return{pass:t,message:l(()=>{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(`
|
|
248
|
+
`)},"message")}}l(Pw,"toBeValid");function Aw(e,t){if(Ge(e,Aw,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=sw(e),n=t!==void 0,o=t,i=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:n?(0,ow.default)(r,t,ih):!!r,message:l(()=>{let s=this.isNot?"not to":"to",a=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Jt(this,a,`Expected the element ${s} have value`,n?o:"(any)","Received",i)},"message")}}l(Aw,"toHaveValue");function Rw(e,t){Ge(e,Rw,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=ik(r,e),o=sk(t),i=o.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,s=i===n.length,a=i===o.length;return{pass:s&&a,message:l(()=>Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n),"message")}}l(Rw,"toHaveDisplayValue");function ik(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}l(ik,"getValues");function sk(e){return e instanceof Array?e:[e]}l(sk,"getExpectedValues");function Nw(e){Ge(e,Nw,this);let t=l(()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),"isValidInput"),r=l(()=>Iw(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked")),"isValidAriaElement");if(!t()&&!r())return{pass:!1,message:l(()=>`only inputs with type="checkbox" or type="radio" or elements with ${ak()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`,"message")};let n=l(()=>t()?e.checked:e.getAttribute("aria-checked")==="true","isChecked");return{pass:n(),message:l(()=>{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(`
|
|
249
|
+
`)},"message")}}l(Nw,"toBeChecked");function ak(){return kM(lk().map(e=>`role="${e}"`),{lastWordConnector:" or "})}l(ak,"supportedRolesSentence");function lk(){return nw.roles.keys().filter(Iw)}l(lk,"supportedRoles");function Iw(e){var t;return((t=nw.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}l(Iw,"roleSupportsChecked");function Mw(e){Ge(e,Mw,this);let t=l(()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox","isValidInput"),r=l(()=>e.getAttribute("role")==="checkbox","isValidAriaElement");if(!t()&&!r())return{pass:!1,message:l(()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead',"message")};let n=l(()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o},"isPartiallyChecked");return{pass:n(),message:l(()=>{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(`
|
|
250
|
+
`)},"message")}}l(Mw,"toBePartiallyChecked");function kw(e,t){Qu("toHaveDescription","Please use toHaveAccessibleDescription."),Ge(e,kw,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,s=n.map(a=>i.getElementById(a)).filter(Boolean);o=Zu(s.map(a=>a.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:l(()=>{let i=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))},"message")}}l(kw,"toHaveDescription");function jw(e,t){if(Qu("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),Ge(e,jw,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:l(()=>Jt(this,this.utils.matcherHint(`${i}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived("")),"message")}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,s=n.map(a=>i.getElementById(a)).filter(Boolean);o=Zu(s.map(a=>a.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:l(()=>{let i=this.isNot?"not to":"to";return Jt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${i} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))},"message")}}l(jw,"toHaveErrorMessage");function uk(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),s=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(i||s)&&(n.selectNodeContents(e),i&&n.setStart(r.startContainer,r.startOffset),s&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let o=t.toString();return t.removeAllRanges(),t.addRange(r),o}l(uk,"getSelection");function qw(e,t){Ge(e,qw,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=uk(e);return{pass:r?(0,ow.default)(n,t,ih):!!n,message:l(()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Jt(this,i,`Expected the element ${o} have selection`,r?t:"(any)","Received",n)},"message")}}l(qw,"toHaveSelection");_t(wP(),1);_t(SP(),1);_t(TP(),1);_t(jP(),1);_t(qP(),1);function Lw(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:l(function(){return r[n]},"get")})}})}),Object.freeze(e)}l(Lw,"_mergeNamespaces");function ck(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}l(ck,"getKeysOfEnumerableProperties");function La(e,t,r,n,o,i,s=": "){let a="",u=0,c=e.next();if(!c.done){a+=t.spacingOuter;let d=r+t.indent;for(;!c.done;){if(a+=d,u++===t.maxWidth){a+="…";break}let p=i(c.value[0],t,d,n,o),h=i(c.value[1],t,d,n,o);a+=p+s+h,c=e.next(),c.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}l(La,"printIteratorEntries");function sh(e,t,r,n,o,i){let s="",a=0,u=e.next();if(!u.done){s+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(s+=c,a++===t.maxWidth){s+="…";break}s+=i(u.value,t,c,n,o),u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}l(sh,"printIteratorValues");function ou(e,t,r,n,o,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let a=l(c=>c instanceof DataView,"isDataView"),u=a(e)?e.byteLength:e.length;if(u>0){s+=t.spacingOuter;let c=r+t.indent;for(let d=0;d<u;d++){if(s+=c,d===t.maxWidth){s+="…";break}(a(e)||d in e)&&(s+=i(a(e)?e.getInt8(d):e[d],t,c,n,o)),d<u-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}l(ou,"printListItems");function ah(e,t,r,n,o,i){let s="",a=ck(e,t.compareKeys);if(a.length>0){s+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<a.length;c++){let d=a[c],p=i(d,t,u,n,o),h=i(e[d],t,u,n,o);s+=`${u+p}: ${h}`,c<a.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}l(ah,"printObjectProperties");var PZ=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,qm=" ",AZ=l((e,t,r,n,o,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+qm}[${ou(e.sample,t,r,n,o,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+qm}{${ah(e.sample,t,r,n,o,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+qm+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()},"serialize$5"),RZ=l(e=>e&&e.$$typeof===PZ,"test$5"),NZ={serialize:AZ,test:RZ},IZ=" ",dk=new Set(["DOMStringMap","NamedNodeMap"]),MZ=/^(?:HTML\w*Collection|NodeList)$/;function pk(e){return dk.has(e)||MZ.test(e)}l(pk,"testName");var kZ=l(e=>e&&e.constructor&&!!e.constructor.name&&pk(e.constructor.name),"test$4");function fk(e){return e.constructor.name==="NamedNodeMap"}l(fk,"isNamedNodeMap");var jZ=l((e,t,r,n,o,i)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+IZ)+(dk.has(s)?`{${ah(fk(e)?[...e].reduce((a,u)=>(a[u.name]=u.value,a),{}):{...e},t,r,n,o,i)}}`:`[${ou([...e],t,r,n,o,i)}]`)},"serialize$4"),qZ={serialize:jZ,test:kZ};function $w(e){return e.replaceAll("<","<").replaceAll(">",">")}l($w,"escapeHTML");function lh(e,t,r,n,o,i,s){let a=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,a,o,i);return typeof d!="string"&&(p.includes(`
|
|
251
|
+
`)&&(p=r.spacingOuter+a+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}l(lh,"printProps");function uh(e,t,r,n,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?Dw(s,t):i(s,t,r,n,o))).join("")}l(uh,"printChildren");function Dw(e,t){let r=t.colors.content;return r.open+$w(e)+r.close}l(Dw,"printText");function hk(e,t){let r=t.colors.comment;return`${r.open}<!--${$w(e)}-->${r.close}`}l(hk,"printComment");function ch(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}`}l(ch,"printElement");function dh(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}l(dh,"printElementAsLeaf");var LZ=1,mk=3,yk=8,gk=11,$Z=/^(?:(?:HTML|SVG)\w*)?Element$/;function bk(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}l(bk,"testHasAttribute");function vk(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||bk(e);return r===LZ&&($Z.test(t)||o)||r===mk&&t==="Text"||r===yk&&t==="Comment"||r===gk&&t==="DocumentFragment"}l(vk,"testNode");var DZ=l(e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&vk(e)},"test$3");function Ek(e){return e.nodeType===mk}l(Ek,"nodeIsText");function wk(e){return e.nodeType===yk}l(wk,"nodeIsComment");function Xc(e){return e.nodeType===gk}l(Xc,"nodeIsFragment");var FZ=l((e,t,r,n,o,i)=>{if(Ek(e))return Dw(e.data,t);if(wk(e))return hk(e.data,t);let s=Xc(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?dh(s,t):ch(s,lh(Xc(e)?[]:Array.from(e.attributes,a=>a.name).sort(),Xc(e)?{}:[...e.attributes].reduce((a,u)=>(a[u.name]=u.value,a),{}),t,r+t.indent,n,o,i),uh(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},"serialize$3"),BZ={serialize:FZ,test:DZ},UZ="@@__IMMUTABLE_ITERABLE__@@",VZ="@@__IMMUTABLE_LIST__@@",HZ="@@__IMMUTABLE_KEYED__@@",JZ="@@__IMMUTABLE_MAP__@@",wC="@@__IMMUTABLE_ORDERED__@@",zZ="@@__IMMUTABLE_RECORD__@@",KZ="@@__IMMUTABLE_SEQ__@@",GZ="@@__IMMUTABLE_SET__@@",WZ="@@__IMMUTABLE_STACK__@@",la=l(e=>`Immutable.${e}`,"getImmutableName"),ph=l(e=>`[${e}]`,"printAsLeaf"),iu=" ",SC="…";function Sk(e,t,r,n,o,i,s){return++n>t.maxDepth?ph(la(s)):`${la(s)+iu}{${La(e.entries(),t,r,n,o,i)}}`}l(Sk,"printImmutableEntries");function xk(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}}}}l(xk,"getRecordEntries");function Tk(e,t,r,n,o,i){let s=la(e._name||"Record");return++n>t.maxDepth?ph(s):`${s+iu}{${La(xk(e),t,r,n,o,i)}}`}l(Tk,"printImmutableRecord");function Ck(e,t,r,n,o,i){let s=la("Seq");return++n>t.maxDepth?ph(s):e[HZ]?`${s+iu}{${e._iter||e._object?La(e.entries(),t,r,n,o,i):SC}}`:`${s+iu}[${e._iter||e._array||e._collection||e._iterable?sh(e.values(),t,r,n,o,i):SC}]`}l(Ck,"printImmutableSeq");function Qc(e,t,r,n,o,i,s){return++n>t.maxDepth?ph(la(s)):`${la(s)+iu}[${sh(e.values(),t,r,n,o,i)}]`}l(Qc,"printImmutableValues");var YZ=l((e,t,r,n,o,i)=>e[JZ]?Sk(e,t,r,n,o,i,e[wC]?"OrderedMap":"Map"):e[VZ]?Qc(e,t,r,n,o,i,"List"):e[GZ]?Qc(e,t,r,n,o,i,e[wC]?"OrderedSet":"Set"):e[WZ]?Qc(e,t,r,n,o,i,"Stack"):e[KZ]?Ck(e,t,r,n,o,i):Tk(e,t,r,n,o,i),"serialize$2"),XZ=l(e=>e&&(e[UZ]===!0||e[zZ]===!0),"test$2"),QZ={serialize:YZ,test:XZ};function Fw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(Fw,"getDefaultExportFromCjs");var xC={exports:{}},Ze={},TC;function _k(){if(TC)return Ze;TC=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"),s=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),f=Symbol.for("react.client.reference");function m(y){if(typeof y=="object"&&y!==null){var g=y.$$typeof;switch(g){case e:switch(y=y.type,y){case r:case o:case n:case u:case c:return y;default:switch(y=y&&y.$$typeof,y){case s:case a:case p:case d:return y;case i:return y;default:return g}}case t:return g}}}return l(m,"typeOf"),Ze.ContextConsumer=i,Ze.ContextProvider=s,Ze.Element=e,Ze.ForwardRef=a,Ze.Fragment=r,Ze.Lazy=p,Ze.Memo=d,Ze.Portal=t,Ze.Profiler=o,Ze.StrictMode=n,Ze.Suspense=u,Ze.SuspenseList=c,Ze.isContextConsumer=function(y){return m(y)===i},Ze.isContextProvider=function(y){return m(y)===s},Ze.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},Ze.isForwardRef=function(y){return m(y)===a},Ze.isFragment=function(y){return m(y)===r},Ze.isLazy=function(y){return m(y)===p},Ze.isMemo=function(y){return m(y)===d},Ze.isPortal=function(y){return m(y)===t},Ze.isProfiler=function(y){return m(y)===o},Ze.isStrictMode=function(y){return m(y)===n},Ze.isSuspense=function(y){return m(y)===u},Ze.isSuspenseList=function(y){return m(y)===c},Ze.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===u||y===c||y===h||typeof y=="object"&&y!==null&&(y.$$typeof===p||y.$$typeof===d||y.$$typeof===s||y.$$typeof===i||y.$$typeof===a||y.$$typeof===f||y.getModuleId!==void 0)},Ze.typeOf=m,Ze}l(_k,"requireReactIs_production");var CC;function Ok(){return CC||(CC=1,xC.exports=_k()),xC.exports}l(Ok,"requireReactIs$1");var Pk=Ok(),ZZ=Fw(Pk),eee=Lw({__proto__:null,default:ZZ},[Pk]),_C={exports:{}},Ye={},OC;function Ak(){if(OC)return Ye;OC=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"),s=Symbol.for("react.context"),a=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function y(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case e:switch(g=g.type,g){case r:case o:case n:case c:case d:return g;default:switch(g=g&&g.$$typeof,g){case a:case s:case u:case h:case p:case i:return g;default:return b}}case t:return b}}}return l(y,"v"),Ye.ContextConsumer=s,Ye.ContextProvider=i,Ye.Element=e,Ye.ForwardRef=u,Ye.Fragment=r,Ye.Lazy=h,Ye.Memo=p,Ye.Portal=t,Ye.Profiler=o,Ye.StrictMode=n,Ye.Suspense=c,Ye.SuspenseList=d,Ye.isAsyncMode=function(){return!1},Ye.isConcurrentMode=function(){return!1},Ye.isContextConsumer=function(g){return y(g)===s},Ye.isContextProvider=function(g){return y(g)===i},Ye.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Ye.isForwardRef=function(g){return y(g)===u},Ye.isFragment=function(g){return y(g)===r},Ye.isLazy=function(g){return y(g)===h},Ye.isMemo=function(g){return y(g)===p},Ye.isPortal=function(g){return y(g)===t},Ye.isProfiler=function(g){return y(g)===o},Ye.isStrictMode=function(g){return y(g)===n},Ye.isSuspense=function(g){return y(g)===c},Ye.isSuspenseList=function(g){return y(g)===d},Ye.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===o||g===n||g===c||g===d||g===f||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===p||g.$$typeof===i||g.$$typeof===s||g.$$typeof===u||g.$$typeof===m||g.getModuleId!==void 0)},Ye.typeOf=y,Ye}l(Ak,"requireReactIs_production_min");var PC;function Rk(){return PC||(PC=1,_C.exports=Ak()),_C.exports}l(Rk,"requireReactIs");var Nk=Rk(),tee=Fw(Nk),ree=Lw({__proto__:null,default:tee},[Nk]),nee=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],Si=Object.fromEntries(nee.map(e=>[e,t=>ree[e](t)||eee[e](t)]));function Bw(e,t=[]){if(Array.isArray(e))for(let r of e)Bw(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}l(Bw,"getChildren");function ng(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Si.isFragment(e))return"React.Fragment";if(Si.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Si.isContextProvider(e))return"Context.Provider";if(Si.isContextConsumer(e))return"Context.Consumer";if(Si.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Si.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}l(ng,"getType");function Ik(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}l(Ik,"getPropKeys$1");var oee=l((e,t,r,n,o,i)=>++n>t.maxDepth?dh(ng(e),t):ch(ng(e),lh(Ik(e),e.props,t,r+t.indent,n,o,i),uh(Bw(e.props.children),t,r+t.indent,n,o,i),t,r),"serialize$1"),iee=l(e=>e!=null&&Si.isElement(e),"test$1"),see={serialize:oee,test:iee},aee=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function Mk(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}l(Mk,"getPropKeys");var lee=l((e,t,r,n,o,i)=>++n>t.maxDepth?dh(e.type,t):ch(e.type,e.props?lh(Mk(e),e.props,t,r+t.indent,n,o,i):"",e.children?uh(e.children,t,r+t.indent,n,o,i):"",t,r),"serialize"),uee=l(e=>e&&e.$$typeof===aee,"test"),cee={serialize:lee,test:uee},kk=Object.prototype.toString,dee=Date.prototype.toISOString,pee=Error.prototype.toString,AC=RegExp.prototype.toString;function xl(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}l(xl,"getConstructorName");function jk(e){return typeof window<"u"&&e===window}l(jk,"isWindow");var fee=/^Symbol\((.*)\)(.*)$/,hee=/\n/g,qk=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};l(qk,"PrettyFormatPluginError");var Lk=qk;function $k(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]"}l($k,"isToStringedArrayType");function Dk(e){return Object.is(e,-0)?"-0":String(e)}l(Dk,"printNumber");function Fk(e){return`${e}n`}l(Fk,"printBigInt");function og(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}l(og,"printFunction");function ig(e){return String(e).replace(fee,"Symbol($1)")}l(ig,"printSymbol");function sg(e){return`[${pee.call(e)}]`}l(sg,"printError");function Uw(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 Dk(e);if(o==="bigint")return Fk(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return og(e,t);if(o==="symbol")return ig(e);let i=kk.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?og(e,t):i==="[object Symbol]"?ig(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":dee.call(e):i==="[object Error]"?sg(e):i==="[object RegExp]"?r?AC.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):AC.call(e):e instanceof Error?sg(e):null}l(Uw,"printBasicValue");function Vw(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++n>t.maxDepth,a=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Zn(e.toJSON(),t,r,n,o,!0);let u=kk.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${a?"":"Arguments "}[${ou(e,t,r,n,o,Zn)}]`:$k(u)?s?`[${e.constructor.name}]`:`${a||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${ou(e,t,r,n,o,Zn)}]`:u==="[object Map]"?s?"[Map]":`Map {${La(e.entries(),t,r,n,o,Zn," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${sh(e.values(),t,r,n,o,Zn)}}`:s||jk(e)?`[${xl(e)}]`:`${a||!t.printBasicPrototype&&xl(e)==="Object"?"":`${xl(e)} `}{${ah(e,t,r,n,o,Zn)}}`}l(Vw,"printComplexValue");var mee={test:l(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o,e];let s=++n>t.maxDepth,{message:a,cause:u,...c}=e,d={message:a,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},p=e.name!=="Error"?e.name:xl(e);return s?`[${p}]`:`${p} {${La(Object.entries(d).values(),t,r,n,o,i)}}`}};function Bk(e){return e.serialize!=null}l(Bk,"isNewPlugin");function Hw(e,t,r,n,o,i){let s;try{s=Bk(e)?e.serialize(t,r,n,o,i,Zn):e.print(t,a=>Zn(a,r,n,o,i),a=>{let u=n+r.indent;return u+a.replaceAll(hee,`
|
|
252
|
+
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(a){throw new Lk(a.message,a.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}l(Hw,"printPlugin");function Jw(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new Lk(n.message,n.stack)}return null}l(Jw,"findPlugin");function Zn(e,t,r,n,o,i){let s=Jw(t.plugins,e);if(s!==null)return Hw(s,e,t,r,n,o);let a=Uw(e,t.printFunctionName,t.escapeRegex,t.escapeString);return a!==null?a:Vw(e,t,r,n,o,i)}l(Zn,"printer");var zw={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Uk=Object.keys(zw),rn={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:zw};function Vk(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(rn,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.')}l(Vk,"validateOptions");function Hk(){return Uk.reduce((e,t)=>{let r=zw[t],n=r&&Ke[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))}l(Hk,"getColorsHighlight");function Jk(){return Uk.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}l(Jk,"getColorsEmpty");function Kw(e){return(e==null?void 0:e.printFunctionName)??rn.printFunctionName}l(Kw,"getPrintFunctionName");function Gw(e){return(e==null?void 0:e.escapeRegex)??rn.escapeRegex}l(Gw,"getEscapeRegex");function Ww(e){return(e==null?void 0:e.escapeString)??rn.escapeString}l(Ww,"getEscapeString");function ag(e){return{callToJSON:(e==null?void 0:e.callToJSON)??rn.callToJSON,colors:e!=null&&e.highlight?Hk():Jk(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:rn.compareKeys,escapeRegex:Gw(e),escapeString:Ww(e),indent:e!=null&&e.min?"":zk((e==null?void 0:e.indent)??rn.indent),maxDepth:(e==null?void 0:e.maxDepth)??rn.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??rn.maxWidth,min:(e==null?void 0:e.min)??rn.min,plugins:(e==null?void 0:e.plugins)??rn.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Kw(e),spacingInner:e!=null&&e.min?" ":`
|
|
253
|
+
`,spacingOuter:e!=null&&e.min?"":`
|
|
254
|
+
`}}l(ag,"getConfig");function zk(e){return Array.from({length:e+1}).join(" ")}l(zk,"createIndent");function an(e,t){if(t&&(Vk(t),t.plugins)){let n=Jw(t.plugins,e);if(n!==null)return Hw(n,e,ag(t),"",0,[])}let r=Uw(e,Kw(t),Gw(t),Ww(t));return r!==null?r:Vw(e,ag(t),"",0,[])}l(an,"format");var Yw={AsymmetricMatcher:NZ,DOMCollection:qZ,DOMElement:BZ,Immutable:QZ,ReactElement:see,ReactTestComponent:cee,Error:mee},{AsymmetricMatcher:yee,DOMCollection:gee,DOMElement:bee,Immutable:vee,ReactElement:Eee,ReactTestComponent:wee}=Yw,RC=[wee,Eee,bee,gee,vee,yee];function Sr(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=an(e,{maxDepth:t,escapeString:!1,plugins:RC,...n})}catch{i=an(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:RC,...n})}return i.length>=o&&t>1?Sr(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):i}l(Sr,"stringify");var See=/%[sdjifoOc%]/g;function Kk(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(xs(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(See,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?typeof s.toString=="function"&&s.toString!==Object.prototype.toString?s.toString():xs(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return xs(e[r++],{showHidden:!0,showProxy:!0});case"%O":return xs(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let a=s.message;if(a.includes("circular structure")||a.includes("cyclic structures")||a.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${xs(i)}`;return o}l(Kk,"format");function xs(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Yl(e,t)}l(xs,"inspect");function Gk(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(Gk,"getDefaultExportFromCjs");function bn(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}l(bn,"assertTypes");function Tl(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}l(Tl,"isObject");function Wk(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}l(Wk,"isFinalObj");function Qd(e){return Object.prototype.toString.apply(e).slice(8,-1)}l(Qd,"getType");function Yk(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}l(Yk,"collectOwnProperties");function Xw(e){let t=new Set;return Wk(e)?[]:(Yk(e,t),Array.from(t))}l(Xw,"getOwnProperties");var Xk={forceWritable:!1};function lg(e,t=Xk){return Zd(e,new WeakMap,t)}l(lg,"deepClone");function Zd(e,t,r=Xk){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]=Zd(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=Xw(e);for(let s of i){let a=Object.getOwnPropertyDescriptor(e,s);if(!a)continue;let u=Zd(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:a.enumerable,configurable:!0,writable:!0,value:u}):"get"in a?Object.defineProperty(o,s,{...a,get(){return u}}):Object.defineProperty(o,s,{...a,value:u})}return o}return e}l(Zd,"clone");var Lm,NC;function Qk(){if(NC)return Lm;NC=1;var e,t,r,n,o,i,s,a,u,c,d,p,h,f,m,y,g,b,v;return h=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,p=/--|\+\+|=>|\.{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,m=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?: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,y=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,v=/[\t\v\f\ufeff\p{Zs}]+/yu,a=/\r?\n|[\r\u2028\u2029]/y,u=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,f=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,o=/[^<>{}]+/y,b=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,g=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,i=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,s=/^(?:return|throw|yield)$/,c=RegExp(a.source),Lm=l(function*(S,{jsx:T=!1}={}){var O,C,E,w,_,R,N,j,D,P,M,k,z,J;for({length:R}=S,w=0,_="",J=[{tag:"JS"}],O=[],M=0,k=!1;w<R;){switch(j=J[J.length-1],j.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(S[w]==="/"&&(b.test(_)||i.test(_))&&(h.lastIndex=w,N=h.exec(S))){w=h.lastIndex,_=N[0],k=!0,yield{type:"RegularExpressionLiteral",value:N[0],closed:N[1]!==void 0&&N[1]!=="\\"};continue}if(p.lastIndex=w,N=p.exec(S)){switch(z=N[0],D=p.lastIndex,P=z,z){case"(":_==="?NonExpressionParenKeyword"&&J.push({tag:"JSNonExpressionParen",nesting:M}),M++,k=!1;break;case")":M--,k=!0,j.tag==="JSNonExpressionParen"&&M===j.nesting&&(J.pop(),P="?NonExpressionParenEnd",k=!1);break;case"{":p.lastIndex=0,E=!g.test(_)&&(b.test(_)||i.test(_)),O.push(E),k=!1;break;case"}":switch(j.tag){case"InterpolationInTemplate":if(O.length===j.nesting){y.lastIndex=w,N=y.exec(S),w=y.lastIndex,_=N[0],N[1]==="${"?(_="?InterpolationInTemplate",k=!1,yield{type:"TemplateMiddle",value:N[0]}):(J.pop(),k=!0,yield{type:"TemplateTail",value:N[0],closed:N[1]==="`"});continue}break;case"InterpolationInJSX":if(O.length===j.nesting){J.pop(),w+=1,_="}",yield{type:"JSXPunctuator",value:"}"};continue}}k=O.pop(),P=k?"?ExpressionBraceEnd":"}";break;case"]":k=!0;break;case"++":case"--":P=k?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(T&&(b.test(_)||i.test(_))){J.push({tag:"JSXTag"}),w+=1,_="<",yield{type:"JSXPunctuator",value:z};continue}k=!1;break;default:k=!1}w=D,_=P,yield{type:"Punctuator",value:z};continue}if(e.lastIndex=w,N=e.exec(S)){switch(w=e.lastIndex,P=N[0],N[0]){case"for":case"if":case"while":case"with":_!=="."&&_!=="?."&&(P="?NonExpressionParenKeyword")}_=P,k=!i.test(N[0]),yield{type:N[1]==="#"?"PrivateIdentifier":"IdentifierName",value:N[0]};continue}if(m.lastIndex=w,N=m.exec(S)){w=m.lastIndex,_=N[0],k=!0,yield{type:"StringLiteral",value:N[0],closed:N[2]!==void 0};continue}if(d.lastIndex=w,N=d.exec(S)){w=d.lastIndex,_=N[0],k=!0,yield{type:"NumericLiteral",value:N[0]};continue}if(y.lastIndex=w,N=y.exec(S)){w=y.lastIndex,_=N[0],N[1]==="${"?(_="?InterpolationInTemplate",J.push({tag:"InterpolationInTemplate",nesting:O.length}),k=!1,yield{type:"TemplateHead",value:N[0]}):(k=!0,yield{type:"NoSubstitutionTemplate",value:N[0],closed:N[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=w,N=r.exec(S)){switch(w=r.lastIndex,P=N[0],N[0]){case"<":J.push({tag:"JSXTag"});break;case">":J.pop(),_==="/"||j.tag==="JSXTagEnd"?(P="?JSX",k=!0):J.push({tag:"JSXChildren"});break;case"{":J.push({tag:"InterpolationInJSX",nesting:O.length}),P="?InterpolationInJSX",k=!1;break;case"/":_==="<"&&(J.pop(),J[J.length-1].tag==="JSXChildren"&&J.pop(),J.push({tag:"JSXTagEnd"}))}_=P,yield{type:"JSXPunctuator",value:N[0]};continue}if(t.lastIndex=w,N=t.exec(S)){w=t.lastIndex,_=N[0],yield{type:"JSXIdentifier",value:N[0]};continue}if(n.lastIndex=w,N=n.exec(S)){w=n.lastIndex,_=N[0],yield{type:"JSXString",value:N[0],closed:N[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=w,N=o.exec(S)){w=o.lastIndex,_=N[0],yield{type:"JSXText",value:N[0]};continue}switch(S[w]){case"<":J.push({tag:"JSXTag"}),w++,_="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":J.push({tag:"InterpolationInJSX",nesting:O.length}),w++,_="?InterpolationInJSX",k=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(v.lastIndex=w,N=v.exec(S)){w=v.lastIndex,yield{type:"WhiteSpace",value:N[0]};continue}if(a.lastIndex=w,N=a.exec(S)){w=a.lastIndex,k=!1,s.test(_)&&(_="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:N[0]};continue}if(u.lastIndex=w,N=u.exec(S)){w=u.lastIndex,c.test(N[0])&&(k=!1,s.test(_)&&(_="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:N[0],closed:N[1]!==void 0};continue}if(f.lastIndex=w,N=f.exec(S)){w=f.lastIndex,k=!1,yield{type:"SingleLineComment",value:N[0]};continue}C=String.fromCodePoint(S.codePointAt(w)),w+=C.length,_=C,k=!1,yield{type:j.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:C}}},"jsTokens_1"),Lm}l(Qk,"requireJsTokens");Qk();var Zk={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(Zk.keyword);new Set(Zk.strict);var cr=-1,Xt=1,bt=0,ej=class{constructor(t,r){yt(this,0);yt(this,1);this[0]=t,this[1]=r}};l(ej,"Diff");var ft=ej;function tj(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}l(tj,"diff_commonPrefix");function Qw(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}l(Qw,"diff_commonSuffix");function ug(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,s=1;for(;;){let a=e.substring(o-s),u=t.indexOf(a);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}}l(ug,"diff_commonOverlap_");function rj(e){let t=!1,r=[],n=0,o=null,i=0,s=0,a=0,u=0,c=0;for(;i<e.length;)e[i][0]===bt?(r[n++]=i,s=u,a=c,u=0,c=0,o=e[i][1]):(e[i][0]===Xt?u+=e[i][1].length:c+=e[i][1].length,o&&o.length<=Math.max(s,a)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new ft(cr,o)),e[r[n-1]+1][0]=Xt,n--,n--,i=n>0?r[n-1]:-1,s=0,a=0,u=0,c=0,o=null,t=!0)),i++;for(t&&Zw(e),nj(e),i=1;i<e.length;){if(e[i-1][0]===cr&&e[i][0]===Xt){let d=e[i-1][1],p=e[i][1],h=ug(d,p),f=ug(p,d);h>=f?(h>=d.length/2||h>=p.length/2)&&(e.splice(i,0,new ft(bt,p.substring(0,h))),e[i-1][1]=d.substring(0,d.length-h),e[i+1][1]=p.substring(h),i++):(f>=d.length/2||f>=p.length/2)&&(e.splice(i,0,new ft(bt,d.substring(0,f))),e[i-1][0]=Xt,e[i-1][1]=p.substring(0,p.length-f),e[i+1][0]=cr,e[i+1][1]=d.substring(f),i++),i++}i++}}l(rj,"diff_cleanupSemantic");var IC=/[^a-z0-9]/i,MC=/\s/,kC=/[\r\n]/,xee=/\n\r?\n$/,Tee=/^\r?\n\r?\n/;function nj(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===bt&&e[t+1][0]===bt){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],i=Qw(r,n);if(i){let d=n.substring(n.length-i);r=r.substring(0,r.length-i),n=d+n.substring(0,n.length-i),o=d+o}let s=r,a=n,u=o,c=ll(r,n)+ll(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 d=ll(r,n)+ll(n,o);d>=c&&(c=d,s=r,a=n,u=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=a,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}l(nj,"diff_cleanupSemanticLossless");function Zw(e){e.push(new ft(bt,""));let t=0,r=0,n=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Xt:n++,i+=e[t][1],t++;break;case cr:r++,o+=e[t][1],t++;break;case bt:r+n>1?(r!==0&&n!==0&&(s=tj(i,o),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===bt?e[t-r-n-1][1]+=i.substring(0,s):(e.splice(0,0,new ft(bt,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=Qw(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new ft(cr,o)),t++),i.length&&(e.splice(t,0,new ft(Xt,i)),t++),t++):t!==0&&e[t-1][0]===bt?(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 a=!1;for(t=1;t<e.length-1;)e[t-1][0]===bt&&e[t+1][0]===bt&&(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),a=!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),a=!0)),t++;a&&Zw(e)}l(Zw,"diff_cleanupMerge");function ll(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(IC),i=n.match(IC),s=o&&r.match(MC),a=i&&n.match(MC),u=s&&r.match(kC),c=a&&n.match(kC),d=u&&e.match(xee),p=c&&t.match(Tee);return d||p?5:u||c?4:o&&!s&&a?3:s||a?2:o||i?1:0}l(ll,"diff_cleanupSemanticScore_");var oj="Compared values have no visual difference.",Cee="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Pc={},jC;function ij(){if(jC)return Pc;jC=1,Object.defineProperty(Pc,"__esModule",{value:!0}),Pc.default=h;let e="diff-sequences",t=0,r=l((f,m,y,g,b)=>{let v=0;for(;f<m&&y<g&&b(f,y);)f+=1,y+=1,v+=1;return v},"countCommonItemsF"),n=l((f,m,y,g,b)=>{let v=0;for(;f<=m&&y<=g&&b(m,g);)m-=1,g-=1,v+=1;return v},"countCommonItemsR"),o=l((f,m,y,g,b,v,S)=>{let T=0,O=-f,C=v[T],E=C;v[T]+=r(C+1,m,g+C-O+1,y,b);let w=f<S?f:S;for(T+=1,O+=2;T<=w;T+=1,O+=2){if(T!==f&&E<v[T])C=v[T];else if(C=E+1,m<=C)return T-1;E=v[T],v[T]=C+r(C+1,m,g+C-O+1,y,b)}return S},"extendPathsF"),i=l((f,m,y,g,b,v,S)=>{let T=0,O=f,C=v[T],E=C;v[T]-=n(m,C-1,y,g+C-O-1,b);let w=f<S?f:S;for(T+=1,O-=2;T<=w;T+=1,O-=2){if(T!==f&&v[T]<E)C=v[T];else if(C=E-1,C<m)return T-1;E=v[T],v[T]=C-n(m,C-1,y,g+C-O-1,b)}return S},"extendPathsR"),s=l((f,m,y,g,b,v,S,T,O,C,E)=>{let w=g-m,_=y-m,R=b-g-_,N=-R-(f-1),j=-R+(f-1),D=t,P=f<T?f:T;for(let M=0,k=-f;M<=P;M+=1,k+=2){let z=M===0||M!==f&&D<S[M],J=z?S[M]:D,ie=z?J:J+1,pe=w+ie-k,oe=r(ie+1,y,pe+1,b,v),q=ie+oe;if(D=S[M],S[M]=q,N<=k&&k<=j){let H=(f-1-(k+R))/2;if(H<=C&&O[H]-1<=q){let X=w+J-(z?k+1:k-1),ne=n(m,J,g,X,v),ee=J-ne,le=X-ne,ye=ee+1,Ie=le+1;E.nChangePreceding=f-1,f-1===ye+Ie-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=ye,E.bEndPreceding=Ie),E.nCommonPreceding=ne,ne!==0&&(E.aCommonPreceding=ye,E.bCommonPreceding=Ie),E.nCommonFollowing=oe,oe!==0&&(E.aCommonFollowing=ie+1,E.bCommonFollowing=pe+1);let Te=q+1,K=pe+oe+1;return E.nChangeFollowing=f-1,f-1===y+b-Te-K?(E.aStartFollowing=y,E.bStartFollowing=b):(E.aStartFollowing=Te,E.bStartFollowing=K),!0}}}return!1},"extendOverlappablePathsF"),a=l((f,m,y,g,b,v,S,T,O,C,E)=>{let w=b-y,_=y-m,R=b-g-_,N=R-f,j=R+f,D=t,P=f<C?f:C;for(let M=0,k=f;M<=P;M+=1,k-=2){let z=M===0||M!==f&&O[M]<D,J=z?O[M]:D,ie=z?J:J-1,pe=w+ie-k,oe=n(m,ie-1,g,pe-1,v),q=ie-oe;if(D=O[M],O[M]=q,N<=k&&k<=j){let H=(f+(k-R))/2;if(H<=T&&q-1<=S[H]){let X=pe-oe;if(E.nChangePreceding=f,f===q+X-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=q,E.bEndPreceding=X),E.nCommonPreceding=oe,oe!==0&&(E.aCommonPreceding=q,E.bCommonPreceding=X),E.nChangeFollowing=f-1,f===1)E.nCommonFollowing=0,E.aStartFollowing=y,E.bStartFollowing=b;else{let ne=w+J-(z?k-1:k+1),ee=r(J,y,ne,b,v);E.nCommonFollowing=ee,ee!==0&&(E.aCommonFollowing=J,E.bCommonFollowing=ne);let le=J+ee,ye=ne+ee;f-1===y+b-le-ye?(E.aStartFollowing=y,E.bStartFollowing=b):(E.aStartFollowing=le,E.bStartFollowing=ye)}return!0}}}return!1},"extendOverlappablePathsR"),u=l((f,m,y,g,b,v,S,T,O)=>{let C=g-m,E=b-y,w=y-m,_=b-g,R=_-w,N=w,j=w;if(S[0]=m-1,T[0]=y,R%2===0){let D=(f||R)/2,P=(w+_)/2;for(let M=1;M<=P;M+=1)if(N=o(M,y,b,C,v,S,N),M<D)j=i(M,m,g,E,v,T,j);else if(a(M,m,y,g,b,v,S,N,T,j,O))return}else{let D=((f||R)+1)/2,P=(w+_+1)/2,M=1;for(N=o(M,y,b,C,v,S,N),M+=1;M<=P;M+=1)if(j=i(M-1,m,g,E,v,T,j),M<D)N=o(M,y,b,C,v,S,N);else if(s(M,m,y,g,b,v,S,N,T,j,O))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${y} bStart=${g} bEnd=${b}`)},"divide"),c=l((f,m,y,g,b,v,S,T,O,C)=>{if(b-g<y-m){if(v=!v,v&&S.length===1){let{foundSubsequence:H,isCommon:X}=S[0];S[1]={foundSubsequence:l((ne,ee,le)=>{H(ne,le,ee)},"foundSubsequence"),isCommon:l((ne,ee)=>X(ee,ne),"isCommon")}}let oe=m,q=y;m=g,y=b,g=oe,b=q}let{foundSubsequence:E,isCommon:w}=S[v?1:0];u(f,m,y,g,b,w,T,O,C);let{nChangePreceding:_,aEndPreceding:R,bEndPreceding:N,nCommonPreceding:j,aCommonPreceding:D,bCommonPreceding:P,nCommonFollowing:M,aCommonFollowing:k,bCommonFollowing:z,nChangeFollowing:J,aStartFollowing:ie,bStartFollowing:pe}=C;m<R&&g<N&&c(_,m,R,g,N,v,S,T,O,C),j!==0&&E(j,D,P),M!==0&&E(M,k,z),ie<y&&pe<b&&c(J,ie,y,pe,b,v,S,T,O,C)},"findSubsequences"),d=l((f,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${f} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${f} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${f} value ${m} is a negative integer`)},"validateLength"),p=l((f,m)=>{let y=typeof m;if(y!=="function")throw new TypeError(`${e}: ${f} typeof ${y} is not a function`)},"validateCallback");function h(f,m,y,g){d("aLength",f),d("bLength",m),p("isCommon",y),p("foundSubsequence",g);let b=r(0,f,0,m,y);if(b!==0&&g(b,0,0),f!==b||m!==b){let v=b,S=b,T=n(v,f-1,S,m-1,y),O=f-T,C=m-T,E=b+T;f!==E&&m!==E&&c(0,v,O,S,C,!1,[{foundSubsequence:g,isCommon:y}],[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}),T!==0&&g(T,O,C)}}return l(h,"diffSequence"),Pc}l(ij,"requireBuild");var _ee=ij(),sj=Gk(_ee);function aj(e,t){return e.replace(/\s+$/,r=>t(r))}l(aj,"formatTrailingSpaces");function fh(e,t,r,n,o,i){return e.length!==0?r(`${n} ${aj(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}l(fh,"printDiffLine");function e0(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return fh(e,t,r,n,o,i)}l(e0,"printDeleteLine");function t0(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return fh(e,t,r,n,o,i)}l(t0,"printInsertLine");function r0(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return fh(e,t,r,n,o,i)}l(r0,"printCommonLine");function cg(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}l(cg,"createPatchMark");function lj(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,s=!1,a=0,u=0;for(;u!==r;){let T=u;for(;u!==r&&e[u][0]===bt;)u+=1;if(T!==u)if(T===0)u>n&&(i-=u-n,s=!0);else if(u===r){let O=u-T;O>n&&(i-=O-n,s=!0)}else{let O=u-T;O>o&&(i-=O-o,a+=1)}for(;u!==r&&e[u][0]!==bt;)u+=1}let c=a!==0||s;a!==0?i+=a+1:s&&(i+=1);let d=i-1,p=[],h=0;c&&p.push("");let f=0,m=0,y=0,g=0,b=l(T=>{let O=p.length;p.push(r0(T,O===0||O===d,t)),y+=1,g+=1},"pushCommonLine"),v=l(T=>{let O=p.length;p.push(e0(T,O===0||O===d,t)),y+=1},"pushDeleteLine"),S=l(T=>{let O=p.length;p.push(t0(T,O===0||O===d,t)),g+=1},"pushInsertLine");for(u=0;u!==r;){let T=u;for(;u!==r&&e[u][0]===bt;)u+=1;if(T!==u)if(T===0){u>n&&(T=u-n,f=T,m=T,y=f,g=m);for(let O=T;O!==u;O+=1)b(e[O][1])}else if(u===r){let O=u-T>n?T+n:u;for(let C=T;C!==O;C+=1)b(e[C][1])}else{let O=u-T;if(O>o){let C=T+n;for(let w=T;w!==C;w+=1)b(e[w][1]);p[h]=cg(f,y,m,g,t),h=p.length,p.push("");let E=O-o;f=y+E,m=g+E,y=f,g=m;for(let w=u-n;w!==u;w+=1)b(e[w][1])}else for(let C=T;C!==u;C+=1)b(e[C][1])}for(;u!==r&&e[u][0]===cr;)v(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Xt;)S(e[u][1]),u+=1}return c&&(p[h]=cg(f,y,m,g,t)),p.join(`
|
|
255
|
+
`)}l(lj,"joinAlignedDiffsNoExpand");function uj(e,t){return e.map((r,n,o)=>{let i=r[1],s=n===0||n===o.length-1;switch(r[0]){case cr:return e0(i,s,t);case Xt:return t0(i,s,t);default:return r0(i,s,t)}}).join(`
|
|
256
|
+
`)}l(uj,"joinAlignedDiffsExpand");var $m=l(e=>e,"noColor"),cj=5,Oee=0;function dj(){return{aAnnotation:"Expected",aColor:Ke.green,aIndicator:"-",bAnnotation:"Received",bColor:Ke.red,bIndicator:"+",changeColor:Ke.inverse,changeLineTrailingSpaceColor:$m,commonColor:Ke.dim,commonIndicator:" ",commonLineTrailingSpaceColor:$m,compareKeys:void 0,contextLines:cj,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Ke.yellow,printBasicPrototype:!1,truncateThreshold:Oee,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:$m}}l(dj,"getDefaultOptions");function pj(e){return e&&typeof e=="function"?e:void 0}l(pj,"getCompareKeys");function fj(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:cj}l(fj,"getContextLines");function li(e={}){return{...dj(),...e,compareKeys:pj(e.compareKeys),contextLines:fj(e.contextLines)}}l(li,"normalizeDiffOptions");function Oi(e){return e.length===1&&e[0].length===0}l(Oi,"isEmptyString");function hj(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case cr:t+=1;break;case Xt:r+=1;break}}),{a:t,b:r}}l(hj,"countChanges");function mj({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:a},u){if(a)return"";let c="",d="";if(s){let f=String(u.a),m=String(u.b),y=n.length-e.length,g=" ".repeat(Math.max(0,y)),b=" ".repeat(Math.max(0,-y)),v=m.length-f.length,S=" ".repeat(Math.max(0,v)),T=" ".repeat(Math.max(0,-v));c=`${g} ${r} ${S}${f}`,d=`${b} ${i} ${T}${m}`}let p=`${r} ${e}${c}`,h=`${i} ${n}${d}`;return`${t(p)}
|
|
257
|
+
${o(h)}
|
|
258
|
+
|
|
259
|
+
`}l(mj,"printAnnotation");function hh(e,t,r){return mj(r,hj(e))+(r.expand?uj(e,r):lj(e,r))+(t?r.truncateAnnotationColor(`
|
|
260
|
+
${r.truncateAnnotation}`):"")}l(hh,"printDiffLines");function ec(e,t,r){let n=li(r),[o,i]=n0(Oi(e)?[]:e,Oi(t)?[]:t,n);return hh(o,i,n)}l(ec,"diffLinesUnified");function yj(e,t,r,n,o){if(Oi(e)&&Oi(r)&&(e=[],r=[]),Oi(t)&&Oi(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return ec(e,t,o);let[i,s]=n0(r,n,o),a=0,u=0;return i.forEach(c=>{switch(c[0]){case cr:c[1]=e[a],a+=1;break;case Xt:c[1]=t[u],u+=1;break;default:c[1]=t[u],a+=1,u+=1}}),hh(i,s,li(o))}l(yj,"diffLinesUnified2");function n0(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,s=n?Math.min(t.length,o):t.length,a=i!==e.length||s!==t.length,u=l((h,f)=>e[h]===t[f],"isCommon"),c=[],d=0,p=0;for(sj(i,s,u,l((h,f,m)=>{for(;d!==f;d+=1)c.push(new ft(cr,e[d]));for(;p!==m;p+=1)c.push(new ft(Xt,t[p]));for(;h!==0;h-=1,d+=1,p+=1)c.push(new ft(bt,t[p]))},"foundSubsequence"));d!==i;d+=1)c.push(new ft(cr,e[d]));for(;p!==s;p+=1)c.push(new ft(Xt,t[p]));return[c,a]}l(n0,"diffLinesRaw");function dg(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}`)}l(dg,"getType");function pg(e){return e.includes(`\r
|
|
261
|
+
`)?`\r
|
|
262
|
+
`:`
|
|
263
|
+
`}l(pg,"getNewLineSymbol");function gj(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,s=t.length;if(n){let h=e.includes(`
|
|
264
|
+
`),f=t.includes(`
|
|
265
|
+
`),m=pg(e),y=pg(t),g=h?`${e.split(m,o).join(m)}
|
|
266
|
+
`:e,b=f?`${t.split(y,o).join(y)}
|
|
267
|
+
`:t;i=g.length,s=b.length}let a=i!==e.length||s!==t.length,u=l((h,f)=>e[h]===t[f],"isCommon"),c=0,d=0,p=[];return sj(i,s,u,l((h,f,m)=>{c!==f&&p.push(new ft(cr,e.slice(c,f))),d!==m&&p.push(new ft(Xt,t.slice(d,m))),c=f+h,d=m+h,p.push(new ft(bt,t.slice(m,d)))},"foundSubsequence")),c!==i&&p.push(new ft(cr,e.slice(c))),d!==s&&p.push(new ft(Xt,t.slice(d))),[p,a]}l(gj,"diffStrings");function bj(e,t,r){return t.reduce((n,o)=>n+(o[0]===bt?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}l(bj,"concatenateRelevantDiffs");var vj=class{constructor(t,r){yt(this,"op");yt(this,"line");yt(this,"lines");yt(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new ft(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new ft(this.op,bj(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new ft(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
|
|
268
|
+
`)){let n=r.split(`
|
|
269
|
+
`),o=n.length-1;n.forEach((i,s)=>{s<o?(this.pushSubstring(i),this.pushLine()):i.length!==0&&this.pushSubstring(i)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};l(vj,"ChangeBuffer");var qC=vj,Ej=class{constructor(t,r){yt(this,"deleteBuffer");yt(this,"insertBuffer");yt(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
|
|
270
|
+
`)){let o=n.split(`
|
|
271
|
+
`),i=o.length-1;o.forEach((s,a)=>{if(a===0){let u=new ft(r,s);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else a<i?this.pushDiffCommonLine(new ft(r,s)):s.length!==0&&this.pushDiffChangeLines(new ft(r,s))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};l(Ej,"CommonBuffer");var Pee=Ej;function wj(e,t){let r=new qC(cr,t),n=new qC(Xt,t),o=new Pee(r,n);return e.forEach(i=>{switch(i[0]){case cr:r.align(i);break;case Xt:n.align(i);break;default:o.align(i)}}),o.getLines()}l(wj,"getAlignedDiffs");function Sj(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===bt&&(o!==r||n[1]!==`
|
|
272
|
+
`))}return e.some(r=>r[0]===bt)}l(Sj,"hasCommonDiff");function xj(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
273
|
+
`)||t.includes(`
|
|
274
|
+
`),[o,i]=o0(n?`${e}
|
|
275
|
+
`:e,n?`${t}
|
|
276
|
+
`:t,!0,r);if(Sj(o,n)){let s=li(r),a=wj(o,s.changeColor);return hh(a,i,s)}}return ec(e.split(`
|
|
277
|
+
`),t.split(`
|
|
278
|
+
`),r)}l(xj,"diffStringsUnified");function o0(e,t,r,n){let[o,i]=gj(e,t,n);return r&&rj(o),[o,i]}l(o0,"diffStringsRaw");function ep(e,t){let{commonColor:r}=li(t);return r(e)}l(ep,"getCommonMessage");var{AsymmetricMatcher:Aee,DOMCollection:Ree,DOMElement:Nee,Immutable:Iee,ReactElement:Mee,ReactTestComponent:kee}=Yw,Tj=[kee,Mee,Nee,Ree,Iee,Aee,Yw.Error],fg={plugins:Tj},Cj={callToJSON:!1,maxDepth:8,plugins:Tj};function cs(e,t,r){if(Object.is(e,t))return"";let n=dg(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!==dg(t)){let s=l(function(S){return S.length<=g?S:`${S.slice(0,g)}...`},"truncate2"),{aAnnotation:a,aColor:u,aIndicator:c,bAnnotation:d,bColor:p,bIndicator:h}=li(r),f=tp(Cj,r),m=an(e,f),y=an(t,f),g=1e5;m=s(m),y=s(y);let b=`${u(`${c} ${a}:`)}
|
|
279
|
+
${m}`,v=`${p(`${h} ${d}:`)}
|
|
280
|
+
${y}`;return`${b}
|
|
281
|
+
|
|
282
|
+
${v}`}if(!i)switch(n){case"string":return ec(e.split(`
|
|
283
|
+
`),t.split(`
|
|
284
|
+
`),r);case"boolean":case"number":return _j(e,t,r);case"map":return Zc(hg(e),hg(t),r);case"set":return Zc(mg(e),mg(t),r);default:return Zc(e,t,r)}}l(cs,"diff");function _j(e,t,r){let n=an(e,fg),o=an(t,fg);return n===o?"":ec(n.split(`
|
|
285
|
+
`),o.split(`
|
|
286
|
+
`),r)}l(_j,"comparePrimitive");function hg(e){return new Map(Array.from(e.entries()).sort())}l(hg,"sortMap");function mg(e){return new Set(Array.from(e.values()).sort())}l(mg,"sortSet");function Zc(e,t,r){let n,o=!1;try{let s=tp(fg,r);n=yg(e,t,s,r)}catch{o=!0}let i=ep(oj,r);if(n===void 0||n===i){let s=tp(Cj,r);n=yg(e,t,s,r),n!==i&&!o&&(n=`${ep(Cee,r)}
|
|
287
|
+
|
|
288
|
+
${n}`)}return n}l(Zc,"compareObjects");function tp(e,t){let{compareKeys:r,printBasicPrototype:n}=li(t);return{...e,compareKeys:r,printBasicPrototype:n}}l(tp,"getFormatOptions");function yg(e,t,r,n){let o={...r,indent:0},i=an(e,o),s=an(t,o);if(i===s)return ep(oj,n);{let a=an(e,r),u=an(t,r);return yj(a.split(`
|
|
289
|
+
`),u.split(`
|
|
290
|
+
`),i.split(`
|
|
291
|
+
`),s.split(`
|
|
292
|
+
`),n)}}l(yg,"getObjectsDifference");var LC=2e4;function gg(e){return Qd(e)==="Object"&&typeof e.asymmetricMatch=="function"}l(gg,"isAsymmetricMatcher");function bg(e,t){let r=Qd(e),n=Qd(t);return r===n&&(r==="Object"||r==="Array")}l(bg,"isReplaceable");function i0(e,t,r){let{aAnnotation:n,bAnnotation:o}=li(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=LC&&e.length<=LC&&t!==e){if(t.includes(`
|
|
293
|
+
`)||e.includes(`
|
|
294
|
+
`))return xj(t,e,r);let[c]=o0(t,e,!0),d=c.some(m=>m[0]===bt),p=Oj(n,o),h=p(n)+Aj(vg(c,cr,d)),f=p(o)+Pj(vg(c,Xt,d));return`${h}
|
|
295
|
+
${f}`}let i=lg(t,{forceWritable:!0}),s=lg(e,{forceWritable:!0}),{replacedExpected:a,replacedActual:u}=s0(s,i);return cs(a,u,r)}l(i0,"printDiffOrStringify");function s0(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}):bg(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Xw(t).forEach(o=>{let i=t[o],s=e[o];if(gg(i))i.asymmetricMatch(s)&&(e[o]=i);else if(gg(s))s.asymmetricMatch(i)&&(t[o]=s);else if(bg(s,i)){let a=s0(s,i,r,n);e[o]=a.replacedActual,t[o]=a.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}l(s0,"replaceAsymmetricMatcher");function Oj(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}l(Oj,"getLabelPrinter");var jee="·";function a0(e){return e.replace(/\s+$/gm,t=>jee.repeat(t.length))}l(a0,"replaceTrailingSpaces");function Pj(e){return Ke.red(a0(Sr(e)))}l(Pj,"printReceived");function Aj(e){return Ke.green(a0(Sr(e)))}l(Aj,"printExpected");function vg(e,t,r){return e.reduce((n,o)=>n+(o[0]===bt?o[1]:o[0]===t?r?Ke.inverse(o[1]):o[1]:""),"")}l(vg,"getCommonAndChangedSubstrings");function Cl(e,t){if(!e)throw new Error(t)}l(Cl,"d");function Pi(e,t){return typeof t===e}l(Pi,"y");function Rj(e){return e instanceof Promise}l(Rj,"w");function rp(e,t,r){Object.defineProperty(e,t,r)}l(rp,"f");function ji(e,t,r){Object.defineProperty(e,t,{value:r})}l(ji,"l");var _l=Symbol.for("tinyspy:spy"),qee=new Set,Lee=l(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),$ee=l(e=>(rp(e,_l,{value:{reset:l(()=>Lee(e[_l]),"reset")}}),e[_l]),"K"),np=l(e=>e[_l]||$ee(e),"T");function Nj(e){Cl(Pi("function",e)||Pi("undefined",e),"cannot spy on a non-function value");let t=l(function(...n){let o=np(t);o.called=!0,o.callCount++,o.calls.push(n);let i=o.next.shift();if(i){o.results.push(i);let[d,p]=i;if(d==="ok")return p;throw p}let s,a="ok",u=o.results.length;if(o.impl)try{new.target?s=Reflect.construct(o.impl,n,new.target):s=o.impl.apply(this,n),a="ok"}catch(d){throw s=d,a="error",o.results.push([a,d]),d}let c=[a,s];return Rj(s)&&s.then(d=>o.resolves[u]=["ok",d],d=>o.resolves[u]=["error",d]),o.results.push(c),s},"t");ji(t,"_isMockFunction",!0),ji(t,"length",e?e.length:0),ji(t,"name",e&&e.name||"spy");let r=np(t);return r.reset(),r.impl=e,t}l(Nj,"m");var $C=l((e,t)=>Object.getOwnPropertyDescriptor(e,t),"k"),DC=l((e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)},"O");function l0(e,t,r){Cl(!Pi("undefined",e),"spyOn could not find an object to spy upon"),Cl(Pi("object",e)||Pi("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!Pi("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=$C(e,n),s=Object.getPrototypeOf(e),a=s&&$C(s,n),u=i||a;Cl(u||n in e,`${String(n)} does not exist`);let c=!1;o==="value"&&u&&!u.value&&u.get&&(o="get",c=!0,r=u.get());let d;u?d=u[o]:o!=="value"?d=l(()=>e[n],"o"):d=e[n];let p=l(y=>{let{value:g,...b}=u||{configurable:!0,writable:!0};o!=="value"&&delete b.writable,b[o]=y,rp(e,n,b)},"g"),h=l(()=>u?rp(e,n,u):p(d),"b");r||(r=d);let f=Nj(r);o==="value"&&DC(f,d);let m=f[_l];return ji(m,"restore",h),ji(m,"getOriginal",()=>c?d():d),ji(m,"willCall",y=>(m.impl=y,f)),p(c?()=>(DC(f,r),f):f),qee.add(f),f}l(l0,"C");var tc=new Set;function Fs(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}l(Fs,"isMockFunction");function Ij(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o=l0(e,n);return u0(o)}l(Ij,"spyOn");var Dee=0;function u0(e){let t=e,r,n=[],o=[],i=[],s=np(e),a={get calls(){return s.calls},get contexts(){return o},get instances(){return n},get invocationCallOrder(){return i},get results(){return s.results.map(([f,m])=>({type:f==="error"?"throw":"return",value:m}))},get settledResults(){return s.resolves.map(([f,m])=>({type:f==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return s.calls[s.calls.length-1]}},u=[],c=!1;function d(...f){return n.push(this),o.push(this),i.push(++Dee),(c?r:u.shift()||r||s.getOriginal()||(()=>{})).apply(this,f)}l(d,"mockCall");let p=t.name;t.getMockName=()=>p||"vi.fn()",t.mockName=f=>(p=f,t),t.mockClear=()=>(s.reset(),n=[],o=[],i=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,u=[],t),t.mockRestore=()=>(t.mockReset(),s.restore(),t),t.getMockImplementation=()=>c?r:u.at(0)||r,t.mockImplementation=f=>(r=f,s.willCall(d),t),t.mockImplementationOnce=f=>(u.push(f),t);function h(f,m){let y=r;r=f,s.willCall(d),c=!0;let g=l(()=>{r=y,c=!1},"reset"),b=m();return b instanceof Promise?b.then(()=>(g(),t)):(g(),t)}return l(h,"withImplementation"),t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=f=>t.mockImplementation(()=>f),t.mockReturnValueOnce=f=>t.mockImplementationOnce(()=>f),t.mockResolvedValue=f=>t.mockImplementation(()=>Promise.resolve(f)),t.mockResolvedValueOnce=f=>t.mockImplementationOnce(()=>Promise.resolve(f)),t.mockRejectedValue=f=>t.mockImplementation(()=>Promise.reject(f)),t.mockRejectedValueOnce=f=>t.mockImplementationOnce(()=>Promise.reject(f)),Object.defineProperty(t,"mock",{get:l(()=>a,"get")}),s.willCall(d),tc.add(t),t}l(u0,"enhanceSpy");function Eg(e){let t=u0(l0({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}l(Eg,"fn");var Fee="@@__IMMUTABLE_RECORD__@@",Bee="@@__IMMUTABLE_ITERABLE__@@";function Mj(e){return e&&(e[Bee]||e[Fee])}l(Mj,"isImmutable");var Uee=Object.getPrototypeOf({});function wg(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}l(wg,"getUnserializableMessage");function Ai(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(Mj(e))return Ai(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()} ${Kk(e.sample)}`;if(typeof e.toJSON=="function")return Ai(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]=Ai(n,t)}catch(i){r[o]=wg(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==Uee;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=Ai(e[o],t)}catch(i){delete r[o],r[o]=wg(i)}}),n=Object.getPrototypeOf(n);return r}}l(Ai,"serializeValue");function kj(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}l(kj,"normalizeErrorMessage");function c0(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=i0(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Sr(n.expected,10)),typeof n.actual!="string"&&(n.actual=Sr(n.actual,10));try{typeof n.message=="string"&&(n.message=kj(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=c0(n.cause,t,r))}catch{}try{return Ai(n)}catch(o){return Ai(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
|
|
296
|
+
Inner error message: ${n==null?void 0:n.message}`))}}l(c0,"processError");var su=Symbol.for("matchers-object"),au=Symbol.for("$$jest-matchers-object-storybook"),d0=Symbol.for("expect-global"),Sg=Symbol.for("asymmetric-matchers-object"),op=Ke.green,p0=Ke.red,Vee=Ke.inverse,Hee=Ke.bold,Ao=Ke.dim;function jj(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:s=!1,promise:a="",secondArgument:u="",expectedColor:c=op,receivedColor:d=p0,secondArgumentColor:p=op}=n,h="",f="expect";return!i&&t!==""&&(h+=Ao(`${f}(`)+d(t),f=")"),a!==""&&(h+=Ao(`${f}.`)+a,f=""),s&&(h+=`${Ao(`${f}.`)}not`,f=""),e.includes(".")?f+=e:(h+=Ao(`${f}.`)+e,f=""),r===""?f+="()":(h+=Ao(`${f}(`)+c(r),u&&(h+=Ao(", ")+p(u)),f=")"),o!==""&&(f+=` // ${o}`),f!==""&&(h+=Ao(f)),h}l(jj,"matcherHint");var Jee="·";function f0(e){return e.replace(/\s+$/gm,t=>Jee.repeat(t.length))}l(f0,"replaceTrailingSpaces");function qj(e){return p0(f0(Sr(e)))}l(qj,"printReceived");function Lj(e){return op(f0(Sr(e)))}l(Lj,"printExpected");function h0(){return{EXPECTED_COLOR:op,RECEIVED_COLOR:p0,INVERTED_COLOR:Vee,BOLD_WEIGHT:Hee,DIM_COLOR:Ao,diff:cs,matcherHint:jj,printReceived:qj,printExpected:Lj,printDiffOrStringify:i0}}l(h0,"getMatcherUtils");function mh(){return globalThis[au].customEqualityTesters}l(mh,"getCustomEqualityTesters");function Ve(e,t,r,n){return r=r||[],Bs(e,t,[],[],r,n?m0:Fj)}l(Ve,"equals");function xg(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Kr("Function",e.asymmetricMatch)}l(xg,"isAsymmetric");function $j(e,t){let r=xg(e),n=xg(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}l($j,"asymmetricMatch");function Bs(e,t,r,n,o,i){let s=!0,a=$j(e,t);if(a!==void 0)return a;let u={equals:Ve};for(let m=0;m<o.length;m++){let y=o[m].call(u,e,t,o);if(y!==void 0)return y}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 m=+e,y=+t;return m===y||Number.isNaN(m)&&Number.isNaN(y)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(Cg(e)&&Cg(t))return e.isEqualNode(t);let d=r.length;for(;d--;){if(r[d]===e)return n[d]===t;if(n[d]===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 Dj(e,t,r,n,o,i)}finally{r.pop(),n.pop()}let p=Tg(e,i),h,f=p.length;if(Tg(t,i).length!==f)return!1;for(;f--;)if(h=p[f],s=i(t,h)&&Bs(e[h],t[h],r,n,o,i),!s)return!1;return r.pop(),n.pop(),s}l(Bs,"eq");function Dj(e,t,r,n,o,i){let s=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&s&&(s=Bs(e.cause,t.cause,r,n,o,i)),e instanceof AggregateError&&t instanceof AggregateError&&s&&(s=Bs(e.errors,t.errors,r,n,o,i)),s&&(s=Bs({...e},{...t},r,n,o,i)),s}l(Dj,"isErrorEqual");function Tg(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))}l(Tg,"keys");function Fj(e,t){return m0(e,t)&&e[t]!==void 0}l(Fj,"hasDefinedKey");function m0(e,t){return Object.prototype.hasOwnProperty.call(e,t)}l(m0,"hasKey");function Kr(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}l(Kr,"isA");function Cg(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"}l(Cg,"isDomNode");var Bj="@@__IMMUTABLE_KEYED__@@",Uj="@@__IMMUTABLE_SET__@@",zee="@@__IMMUTABLE_LIST__@@",yh="@@__IMMUTABLE_ORDERED__@@",Kee="@@__IMMUTABLE_RECORD__@@";function Vj(e){return!!(e&&e[Bj]&&!e[yh])}l(Vj,"isImmutableUnorderedKeyed");function Hj(e){return!!(e&&e[Uj]&&!e[yh])}l(Hj,"isImmutableUnorderedSet");function rc(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}l(rc,"isObjectLiteral");function Jj(e){return!!(e&&rc(e)&&e[zee])}l(Jj,"isImmutableList");function zj(e){return!!(e&&rc(e)&&e[Bj]&&e[yh])}l(zj,"isImmutableOrderedKeyed");function Kj(e){return!!(e&&rc(e)&&e[Uj]&&e[yh])}l(Kj,"isImmutableOrderedSet");function Gj(e){return!!(e&&rc(e)&&e[Kee])}l(Gj,"isImmutableRecord");var Wj=Symbol.iterator;function _g(e){return!!(e!=null&&e[Wj])}l(_g,"hasIterator");function Nr(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!_g(e)||!_g(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 s=[...r.filter(c=>c!==Nr),a];function a(c,d){return Nr(c,d,[...r],[...n],[...o])}if(l(a,"iterableEqualityWithStack"),e.size!==void 0){if(e.size!==t.size)return!1;if(Kr("Set",e)||Hj(e)){let c=!0;for(let d of e)if(!t.has(d)){let p=!1;for(let h of t)Ve(d,h,s)===!0&&(p=!0);if(p===!1){c=!1;break}}return n.pop(),o.pop(),c}else if(Kr("Map",e)||Vj(e)){let c=!0;for(let d of e)if(!t.has(d[0])||!Ve(d[1],t.get(d[0]),s)){let p=!1;for(let h of t){let f=Ve(d[0],h[0],s),m=!1;f===!0&&(m=Ve(d[1],h[1],s)),m===!0&&(p=!0)}if(p===!1){c=!1;break}}return n.pop(),o.pop(),c}}let u=t[Wj]();for(let c of e){let d=u.next();if(d.done||!Ve(c,d.value,s))return!1}if(!u.next().done)return!1;if(!Jj(e)&&!zj(e)&&!Kj(e)&&!Gj(e)){let c=Object.entries(e),d=Object.entries(t);if(!Ve(c,d))return!1}return n.pop(),o.pop(),!0}l(Nr,"iterableEquality");function gh(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||gh(Object.getPrototypeOf(e),t)}l(gh,"hasPropertyInObject");function Yj(e){return Tl(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}l(Yj,"isObjectWithKeys");function $a(e,t,r=[]){let n=r.filter(i=>i!==$a),o=l((i=new WeakMap)=>(s,a)=>{if(Yj(a))return Object.keys(a).every(u=>{if(a[u]!=null&&typeof a[u]=="object"){if(i.has(a[u]))return Ve(s[u],a[u],n);i.set(a[u],!0)}let c=s!=null&&gh(s,u)&&Ve(s[u],a[u],[...n,o(i)]);return i.delete(a[u]),c})},"subsetEqualityWithContext");return o()(e,t)}l($a,"subsetEquality");function Og(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}l(Og,"typeEquality");function Pg(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}l(Pg,"arrayBufferEquality");function ip(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),i=r.filter(s=>s!==ip);return Ve(e,t,i,!0)&&Ve(n,o)}l(ip,"sparseArrayEquality");function Xj(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
297
|
+
|
|
298
|
+
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
299
|
+
|
|
300
|
+
Expected: ${t}
|
|
301
|
+
Received: serializes to the same string
|
|
302
|
+
`:n}l(Xj,"generateToBeMessage");function Qj(e,t){return`${t} ${e}${t===1?"":"s"}`}l(Qj,"pluralize");function ed(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}l(ed,"getObjectKeys");function Zj(e,t,r){let n=0,o=l((i=new WeakMap)=>(s,a)=>{if(Array.isArray(s)){if(Array.isArray(a)&&a.length===s.length)return a.map((u,c)=>o(i)(s[c],u))}else{if(s instanceof Date)return s;if(Tl(s)&&Tl(a)){if(Ve(s,a,[...r,Nr,$a]))return a;let u={};i.set(s,u),typeof s.constructor=="function"&&typeof s.constructor.name=="string"&&Object.defineProperty(u,"constructor",{enumerable:!1,value:s.constructor});for(let c of ed(s))gh(a,c)?u[c]=i.has(s[c])?i.get(s[c]):o(i)(s[c],a[c]):i.has(s[c])||(n+=1,Tl(s[c])&&(n+=ed(s[c]).length),o(i)(s[c],a[c]));if(ed(u).length>0)return u}}return s},"getObjectSubsetWithContext");return{subset:o()(e,t),stripped:n}}l(Zj,"getObjectSubset");if(!Object.prototype.hasOwnProperty.call(globalThis,su)){let e=new WeakMap;Object.defineProperty(globalThis,su,{get:l(()=>e,"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,au)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,au,{configurable:!0,get:l(()=>({state:globalThis[su].get(globalThis[d0]),matchers:e,customEqualityTesters:t}),"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Sg)){let e=Object.create(null);Object.defineProperty(globalThis,Sg,{get:l(()=>e,"get")})}function lu(e){return globalThis[su].get(e)}l(lu,"getState");function td(e,t){let r=globalThis[su],n=r.get(t)||{},o=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,o)}l(td,"setState");var eq=class{constructor(t,r=!1){yt(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=t,this.inverse=r}getMatcherContext(t){return{...lu(t||globalThis[d0]),equals:Ve,isNot:this.inverse,customTesters:mh(),utils:{...h0(),diff:cs,stringify:Sr,iterableEquality:Nr,subsetEquality:$a}}}};l(eq,"AsymmetricMatcher");var vo=eq;vo.prototype[Symbol.for("chai/inspect")]=function(e){let t=Sr(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var tq=class extends vo{constructor(t,r=!1){if(!Kr("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){let r=Kr("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}};l(tq,"StringContaining");var FC=tq,rq=class extends vo{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}};l(rq,"Anything");var Gee=rq,nq=class extends vo{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0,n=this.getMatcherContext();for(let o in this.sample)if(!this.hasProperty(t,o)||!Ve(this.sample[o],t[o],n.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}};l(nq,"ObjectContaining");var BC=nq,oq=class extends vo{constructor(t,r=!1){super(t,r)}asymmetricMatch(t){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let r=this.getMatcherContext(),n=this.sample.length===0||Array.isArray(t)&&this.sample.every(o=>t.some(i=>Ve(o,i,r.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}};l(oq,"ArrayContaining");var UC=oq,iq=class extends vo{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;let r=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return r?r[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t 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)}>`}};l(iq,"Any");var Wee=iq,sq=class extends vo{constructor(t,r=!1){if(!Kr("String",t)&&!Kr("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){let r=Kr("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}};l(sq,"StringMatching");var VC=sq,aq=class extends vo{constructor(r,n=2,o=!1){if(!Kr("Number",r))throw new Error("Expected is not a Number");if(!Kr("Number",n))throw new Error("Precision is not a Number");super(r);yt(this,"precision");this.inverse=o,this.precision=n}asymmetricMatch(r){if(!Kr("Number",r))return!1;let n=!1;return r===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||r===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?n=!0:n=Math.abs(this.sample-r)<10**-this.precision/2,this.inverse?!n:n}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${Qj("digit",this.precision)})`].join(" ")}};l(aq,"CloseTo");var HC=aq,Yee=l((e,t)=>{t.addMethod(e.expect,"anything",()=>new Gee),t.addMethod(e.expect,"any",r=>new Wee(r)),t.addMethod(e.expect,"stringContaining",r=>new FC(r)),t.addMethod(e.expect,"objectContaining",r=>new BC(r)),t.addMethod(e.expect,"arrayContaining",r=>new UC(r)),t.addMethod(e.expect,"stringMatching",r=>new VC(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new HC(r,n)),e.expect.not={stringContaining:l(r=>new FC(r,!0),"stringContaining"),objectContaining:l(r=>new BC(r,!0),"objectContaining"),arrayContaining:l(r=>new UC(r,!0),"arrayContaining"),stringMatching:l(r=>new VC(r,!0),"stringMatching"),closeTo:l((r,n)=>new HC(r,n,!0),"closeTo")}},"JestAsymmetricMatchers");function Ag(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}`}l(Ag,"createAssertionMessage");function Rg(e,t,r,n){let o=e;if(o&&t instanceof Promise){t=t.finally(()=>{if(!o.promises)return;let s=o.promises.indexOf(t);s!==-1&&o.promises.splice(s,1)}),o.promises||(o.promises=[]),o.promises.push(t);let i=!1;return o.onFinished??(o.onFinished=[]),o.onFinished.push(()=>{var s;if(!i){let a=(((s=globalThis.__vitest_worker__)==null?void 0:s.onFilterStackTrace)||(u=>u||""))(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.
|
|
303
|
+
`,a].join(""))}}),{then(s,a){return i=!0,t.then(s,a)},catch(s){return t.catch(s)},finally(s){return t.finally(s)},[Symbol.toStringTag]:"Promise"}}return t}l(Rg,"recordAsyncExpect");function y0(e,t,r){return function(...n){var o;if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let i=e.flag(this,"vitest-test");if(!i)throw new Error("expect.soft() can only be used inside a test");try{return r.apply(this,n)}catch(s){i.result||(i.result={state:"fail"}),i.result.state="fail",(o=i.result).errors||(o.errors=[]),i.result.errors.push(c0(s))}}}l(y0,"wrapAssertion");var Xee=l((e,t)=>{let{AssertionError:r}=e,n=mh();function o(c,d){let p=l(h=>{let f=y0(t,h,d);t.addMethod(e.Assertion.prototype,h,f),t.addMethod(globalThis[au].matchers,h,f)},"addMethod");Array.isArray(c)?c.forEach(h=>p(h)):p(c)}l(o,"def"),["throw","throws","Throw"].forEach(c=>{t.overwriteMethod(e.Assertion.prototype,c,d=>function(...p){let h=t.flag(this,"promise"),f=t.flag(this,"object"),m=t.flag(this,"negate");if(h==="rejects")t.flag(this,"object",()=>{throw f});else if(h==="resolves"&&typeof f!="function"){if(m)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(y,g,t.flag(this,"ssfi"))}}d.apply(this,p)})}),o("withTest",function(c){return t.flag(this,"vitest-test",c),this}),o("toEqual",function(c){let d=t.flag(this,"object"),p=Ve(d,c,[...n,Nr]);return this.assert(p,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",c,d)}),o("toStrictEqual",function(c){let d=t.flag(this,"object"),p=Ve(d,c,[...n,Nr,Og,ip,Pg],!0);return this.assert(p,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",c,d)}),o("toBe",function(c){let d=this._obj,p=Object.is(d,c),h="";return p||(Ve(d,c,[...n,Nr,Og,ip,Pg],!0)?h="toStrictEqual":Ve(d,c,[...n,Nr])&&(h="toEqual")),this.assert(p,Xj(h),"expected #{this} not to be #{exp} // Object.is equality",c,d)}),o("toMatchObject",function(c){let d=this._obj,p=Ve(d,c,[...n,Nr,$a]),h=t.flag(this,"negate"),{subset:f,stripped:m}=Zj(d,c,n);if(p&&h||!p&&!h){let y=t.getMessage(this,[p,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",c,f,!1]),g=m===0?y:`${y}
|
|
304
|
+
(${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(g,{showDiff:!0,expected:c,actual:f})}}),o("toMatch",function(c){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof c=="string"?d.includes(c):d.match(c),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",c,d)}),o("toContain",function(c){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(d.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){bn(c,"class name",["string"]);let p=t.flag(this,"negate")?d.value.replace(c,"").trim():`${d.value} ${c}`;return this.assert(d.contains(c),`expected "${d.value}" to contain "${c}"`,`expected "${d.value}" not to contain "${c}"`,p,d.value)}return typeof d=="string"&&typeof c=="string"?this.assert(d.includes(c),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",c,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(c))}),o("toContainEqual",function(c){let d=t.flag(this,"object"),p=Array.from(d).findIndex(h=>Ve(h,c,n));this.assert(p!==-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 d=this._obj;return bn(d,"actual",["number","bigint"]),bn(c,"expected",["number","bigint"]),this.assert(d>c,`expected ${d} to be greater than ${c}`,`expected ${d} to be not greater than ${c}`,c,d,!1)}),o("toBeGreaterThanOrEqual",function(c){let d=this._obj;return bn(d,"actual",["number","bigint"]),bn(c,"expected",["number","bigint"]),this.assert(d>=c,`expected ${d} to be greater than or equal to ${c}`,`expected ${d} to be not greater than or equal to ${c}`,c,d,!1)}),o("toBeLessThan",function(c){let d=this._obj;return bn(d,"actual",["number","bigint"]),bn(c,"expected",["number","bigint"]),this.assert(d<c,`expected ${d} to be less than ${c}`,`expected ${d} to be not less than ${c}`,c,d,!1)}),o("toBeLessThanOrEqual",function(c){let d=this._obj;return bn(d,"actual",["number","bigint"]),bn(c,"expected",["number","bigint"]),this.assert(d<=c,`expected ${d} to be less than or equal to ${c}`,`expected ${d} to be not less than or equal to ${c}`,c,d,!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 d=typeof this._obj,p=c===d;return this.assert(p,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",c,d)}),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(v=>String(v).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[p,h]=c,f=l(()=>Object.prototype.hasOwnProperty.call(d,p)?{value:d[p],exists:!0}:t.getPathInfo(d,p),"getValue"),{value:m,exists:y}=f(),g=y&&(c.length===1||Ve(h,m,n)),b=c.length===1?"":` with value ${t.objDisplay(h)}`;return this.assert(g,`expected #{this} to have property "${p}"${b}`,`expected #{this} to not have property "${p}"${b}`,h,y?m:void 0)}),o("toBeCloseTo",function(c,d=2){let p=this._obj,h=!1,f=0,m=0;return c===Number.POSITIVE_INFINITY&&p===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&p===Number.NEGATIVE_INFINITY?h=!0:(f=10**-d/2,m=Math.abs(p-c),h=m<f),this.assert(h,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${f}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${f}`,c,p,!1)});function i(c){if(!Fs(c._obj))throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`)}l(i,"assertIsMock");function s(c){return i(c),c._obj}l(s,"getSpy"),o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let d=s(this),p=d.getMockName(),h=d.mock.calls.length;return this.assert(h===c,`expected "${p}" to be called #{exp} times, but got ${h} times`,`expected "${p}" to not be called #{exp} times`,c,h,!1)}),o("toHaveBeenCalledOnce",function(){let c=s(this),d=c.getMockName(),p=c.mock.calls.length;return this.assert(p===1,`expected "${d}" to be called once, but got ${p} times`,`expected "${d}" to not be called once`,1,p,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let c=s(this),d=c.getMockName(),p=c.mock.calls.length,h=p>0,f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${p} times`,!0,h]);if(h&&f&&(m=rd(c,m)),h&&f||!h&&!f)throw new r(m)});function a(c,d){return c.length===d.length&&c.every((p,h)=>Ve(p,d[h],[...n,Nr]))}l(a,"equalsArgumentArray"),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let d=s(this),p=d.getMockName(),h=d.mock.calls.some(y=>a(y,c)),f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${p}" to be called with arguments: #{exp}`,`expected "${p}" to not be called with arguments: #{exp}`,c]);if(h&&f||!h&&!f)throw new r(rd(d,m,c))}),o("toHaveBeenCalledExactlyOnceWith",function(...c){let d=s(this),p=d.getMockName(),h=d.mock.calls.length,f=d.mock.calls.some(g=>a(g,c))&&h===1,m=t.flag(this,"negate"),y=t.getMessage(this,[f,`expected "${p}" to be called once with arguments: #{exp}`,`expected "${p}" to not be called once with arguments: #{exp}`,c]);if(f&&m||!f&&!m)throw new r(rd(d,y,c))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...d){let p=s(this),h=p.getMockName(),f=p.mock.calls[c-1],m=p.mock.calls.length,y=c<=m;this.assert(f&&a(f,d),`expected ${Us(c)} "${h}" call to have been called with #{exp}${y?"":`, but called only ${m} times`}`,`expected ${Us(c)} "${h}" call to not have been called with #{exp}`,d,f,y)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let d=s(this),p=d.getMockName(),h=d.mock.calls[d.mock.calls.length-1];this.assert(h&&a(h,c),`expected last "${p}" call to have been called with #{exp}`,`expected last "${p}" call to not have been called with #{exp}`,c,h)});function u(c,d,p){let h=c.mock.invocationCallOrder,f=d.mock.invocationCallOrder;return h.length===0?!p:f.length===0?!1:h[0]<f[0]}l(u,"isSpyCalledBeforeAnotherSpy"),o(["toHaveBeenCalledBefore"],function(c,d=!0){let p=s(this);if(!Fs(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(p,c,d),`expected "${p.getMockName()}" to have been called before "${c.getMockName()}"`,`expected "${p.getMockName()}" to not have been called before "${c.getMockName()}"`,c,p)}),o(["toHaveBeenCalledAfter"],function(c,d=!0){let p=s(this);if(!Fs(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(c,p,d),`expected "${p.getMockName()}" to have been called after "${c.getMockName()}"`,`expected "${p.getMockName()}" to not have been called after "${c.getMockName()}"`,c,p)}),o(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c===""?/^$/:c);let d=this._obj,p=t.flag(this,"promise"),h=t.flag(this,"negate"),f=null;if(p==="rejects")f=d;else if(p==="resolves"&&typeof d!="function"){if(h)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(m,y,t.flag(this,"ssfi"))}}else{let m=!1;try{d()}catch(y){m=!0,f=y}if(!m&&!h){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",g={showDiff:!1};throw new r(y,g,t.flag(this,"ssfi"))}}if(typeof c=="function"){let m=c.name||c.prototype.constructor.name;return this.assert(f&&f instanceof c,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,c,f)}if(c instanceof Error){let m=Ve(f,c,[...n,Nr]);return this.assert(m,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",c,f)}if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let m=c;return this.assert(f&&m.asymmetricMatch(f),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,f)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),[{name:"toHaveResolved",condition:l(c=>c.mock.settledResults.length>0&&c.mock.settledResults.some(({type:d})=>d==="fulfilled"),"condition"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:l(c=>c.mock.calls.length>0&&c.mock.results.some(({type:d})=>d!=="throw"),"condition"),action:"called"}].forEach(({name:c,condition:d,action:p})=>{o(c,function(){let h=s(this),f=h.getMockName(),m=d(h);this.assert(m,`expected "${f}" to be successfully ${p} at least once`,`expected "${f}" to not be successfully ${p}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:l((c,d)=>c.mock.settledResults.reduce((p,{type:h})=>h==="fulfilled"?++p:p,0)===d,"condition"),action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:l((c,d)=>c.mock.results.reduce((p,{type:h})=>h==="throw"?p:++p,0)===d,"condition"),action:"called"}].forEach(({name:c,condition:d,action:p})=>{o(c,function(h){let f=s(this),m=f.getMockName(),y=d(f,h);this.assert(y,`expected "${m}" to be successfully ${p} ${h} times`,`expected "${m}" to not be successfully ${p} ${h} times`,`expected resolved times: ${h}`,`received resolved times: ${y}`,!1)})}),[{name:"toHaveResolvedWith",condition:l((c,d)=>c.mock.settledResults.some(({type:p,value:h})=>p==="fulfilled"&&Ve(d,h)),"condition"),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:l((c,d)=>c.mock.results.some(({type:p,value:h})=>p==="return"&&Ve(d,h)),"condition"),action:"return"}].forEach(({name:c,condition:d,action:p})=>{o(c,function(h){let f=s(this),m=d(f,h),y=t.flag(this,"negate");if(m&&y||!m&&!y){let g=f.getMockName(),b=t.getMessage(this,[m,`expected "${g}" to ${p} with: #{exp} at least once`,`expected "${g}" to not ${p} with: #{exp}`,h]),v=p==="return"?f.mock.results:f.mock.settledResults;throw new r(lq(f,v,b,h))}})}),[{name:"toHaveLastResolvedWith",condition:l((c,d)=>{let p=c.mock.settledResults[c.mock.settledResults.length-1];return p&&p.type==="fulfilled"&&Ve(p.value,d)},"condition"),action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:l((c,d)=>{let p=c.mock.results[c.mock.results.length-1];return p&&p.type==="return"&&Ve(p.value,d)},"condition"),action:"return"}].forEach(({name:c,condition:d,action:p})=>{o(c,function(h){let f=s(this),m=p==="return"?f.mock.results:f.mock.settledResults,y=m[m.length-1],g=f.getMockName();this.assert(d(f,h),`expected last "${g}" call to ${p} #{exp}`,`expected last "${g}" call to not ${p} #{exp}`,h,y==null?void 0:y.value)})}),[{name:"toHaveNthResolvedWith",condition:l((c,d,p)=>{let h=c.mock.settledResults[d-1];return h&&h.type==="fulfilled"&&Ve(h.value,p)},"condition"),action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:l((c,d,p)=>{let h=c.mock.results[d-1];return h&&h.type==="return"&&Ve(h.value,p)},"condition"),action:"return"}].forEach(({name:c,condition:d,action:p})=>{o(c,function(h,f){let m=s(this),y=m.getMockName(),g=(p==="return"?m.mock.results:m.mock.settledResults)[h-1],b=`${Us(h)} call`;this.assert(d(m,h,f),`expected ${b} "${y}" call to ${p} #{exp}`,`expected ${b} "${y}" call to not ${p} #{exp}`,f,g==null?void 0:g.value)})}),o("withContext",function(c){for(let d in c)t.flag(this,d,c[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",l(function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(p==null?void 0:p.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof p}'.`);let h=new Proxy(this,{get:l((f,m,y)=>{let g=Reflect.get(f,m,y);return typeof g!="function"?g instanceof e.Assertion?h:g:(...b)=>{t.flag(this,"_name",m);let v=p.then(S=>(t.flag(this,"object",S),g.call(this,...b)),S=>{let T=new r(`promise rejected "${t.inspect(S)}" instead of resolving`,{showDiff:!1});throw T.cause=S,T.stack=c.stack.replace(c.message,T.message),T});return Rg(d,v,Ag(t,this,!!b.length),c)}},"get")});return h},"__VITEST_RESOLVES__")),t.addProperty(e.Assertion.prototype,"rejects",l(function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object"),h=typeof p=="function"?p():p;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(h==null?void 0:h.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof h}'.`);let f=new Proxy(this,{get:l((m,y,g)=>{let b=Reflect.get(m,y,g);return typeof b!="function"?b instanceof e.Assertion?f:b:(...v)=>{t.flag(this,"_name",y);let S=h.then(T=>{let O=new r(`promise resolved "${t.inspect(T)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:T});throw O.stack=c.stack.replace(c.message,O.message),O},T=>(t.flag(this,"object",T),b.call(this,...v)));return Rg(d,S,Ag(t,this,!!v.length),c)}},"get")});return f},"__VITEST_REJECTS__"))},"JestChaiExpect");function Us(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`}l(Us,"ordinalOf");function rd(e,t,r){return e.mock.calls&&(t+=Ke.gray(`
|
|
305
|
+
|
|
306
|
+
Received:
|
|
307
|
+
|
|
308
|
+
${e.mock.calls.map((n,o)=>{let i=Ke.bold(` ${Us(o+1)} ${e.getMockName()} call:
|
|
309
|
+
|
|
310
|
+
`);return r?i+=cs(r,n,{omitAnnotationLines:!0}):i+=Sr(n).split(`
|
|
311
|
+
`).map(s=>` ${s}`).join(`
|
|
312
|
+
`),i+=`
|
|
313
|
+
`,i}).join(`
|
|
314
|
+
`)}`)),t+=Ke.gray(`
|
|
315
|
+
|
|
316
|
+
Number of calls: ${Ke.bold(e.mock.calls.length)}
|
|
317
|
+
`),t}l(rd,"formatCalls");function lq(e,t,r,n){return r+=Ke.gray(`
|
|
318
|
+
|
|
319
|
+
Received:
|
|
320
|
+
|
|
321
|
+
${t.map((o,i)=>{let s=Ke.bold(` ${Us(i+1)} ${e.getMockName()} call return:
|
|
322
|
+
|
|
323
|
+
`);return n?s+=cs(n,o.value,{omitAnnotationLines:!0}):s+=Sr(o).split(`
|
|
324
|
+
`).map(a=>` ${a}`).join(`
|
|
325
|
+
`),s+=`
|
|
326
|
+
`,s}).join(`
|
|
327
|
+
`)}`),r+=Ke.gray(`
|
|
328
|
+
|
|
329
|
+
Number of calls: ${Ke.bold(e.mock.calls.length)}
|
|
330
|
+
`),r}l(lq,"formatReturns");function uq(e,t){let r=e._obj,n=xn.flag(e,"negate"),o=xn.flag(e,"promise")||"",i={...h0(),diff:cs,stringify:Sr,iterableEquality:Nr,subsetEquality:$a};return{state:{...lu(t),customTesters:mh(),isNot:n,utils:i,promise:o,equals:Ve,suppressedErrors:[],soft:xn.flag(e,"soft"),poll:xn.flag(e,"poll")},isNot:n,obj:r}}l(uq,"getMatcherState");var cq=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};l(cq,"JestExtendError");var JC=cq;function dq(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,s])=>{function a(...h){let{state:f,isNot:m,obj:y}=uq(this,t),g=s.call(f,y,...h);if(g&&typeof g=="object"&&g instanceof Promise)return g.then(({pass:O,message:C,actual:E,expected:w})=>{if(O&&m||!O&&!m)throw new JC(C(),E,w)});let{pass:b,message:v,actual:S,expected:T}=g;if(b&&m||!b&&!m)throw new JC(v(),S,T)}l(a,"expectWrapper");let u=y0(o,i,a);o.addMethod(globalThis[au].matchers,i,u),o.addMethod(e.Assertion.prototype,i,u);let c=class extends vo{constructor(f=!1,...m){super(m,f)}asymmetricMatch(f){let{pass:m}=s.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>Sr(f)).join(", ")}>`}};l(c,"CustomMatcher");let d=c,p=l((...h)=>new d(!1,...h),"customMatcher");Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:p,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:l((...h)=>new d(!0,...h),"value"),writable:!0}),Object.defineProperty(globalThis[Sg],i,{configurable:!0,enumerable:!0,value:p,writable:!0})})}}l(dq,"JestExtendPlugin");var Qee=l((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{ki(dq(e,r,n))})},"JestExtend");function pq(){ki(Qee),ki(Xee),ki(Yee);let e=l((n,o)=>{let{assertionCalls:i}=lu(e);return td({assertionCalls:i+1,soft:!1},e),Jo(n,o)},"expect");Object.assign(e,Jo),e.getState=()=>lu(e),e.setState=n=>td(n,e),e.extend=n=>Jo.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.unreachable=n=>{F.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=l(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}l(t,"assertions");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 l(r,"hasAssertions"),td({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),xn.addMethod(e,"assertions",t),xn.addMethod(e,"hasAssertions",r),e.extend(NI),e}l(pq,"createExpect");var fq=pq();Object.defineProperty(globalThis,d0,{value:fq,writable:!0,configurable:!0});var Ng=new Set;function g0(e){return Ng.add(e),()=>void Ng.delete(e)}l(g0,"onMockCall");var Zee=l((...e)=>{let t=Ij(...e);return v0(t)},"spyOn");function b0(e){let t=e?Eg(e):Eg();return v0(t)}l(b0,"fn");function v0(e){let t=Ig(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>Ig(r(n)),t}l(v0,"reactiveMock");function Ig(e){let t=np(e),r=t.impl;return t.willCall(function(...n){return Ng.forEach(o=>o(e,n)),r==null?void 0:r.apply(this,n)}),e}l(Ig,"listenWhenCalled");function E0(){tc.forEach(e=>e.mockClear())}l(E0,"clearAllMocks");function w0(){tc.forEach(e=>e.mockReset())}l(w0,"resetAllMocks");function S0(){tc.forEach(e=>e.mockRestore())}l(S0,"restoreAllMocks");function hq(e,t={}){return e}l(hq,"mocked");var mq={};mr(mq,{buildQueries:()=>Ln,configure:()=>fL,createEvent:()=>Pl,findAllByAltText:()=>a$,findAllByDisplayValue:()=>t$,findAllByLabelText:()=>kL,findAllByPlaceholderText:()=>VL,findAllByRole:()=>w$,findAllByTestId:()=>O$,findAllByText:()=>WL,findAllByTitle:()=>f$,findByAltText:()=>l$,findByDisplayValue:()=>r$,findByLabelText:()=>jL,findByPlaceholderText:()=>HL,findByRole:()=>S$,findByTestId:()=>P$,findByText:()=>YL,findByTitle:()=>h$,fireEvent:()=>pa,getAllByAltText:()=>i$,getAllByDisplayValue:()=>ZL,getAllByLabelText:()=>qL,getAllByPlaceholderText:()=>BL,getAllByRole:()=>v$,getAllByTestId:()=>C$,getAllByText:()=>KL,getAllByTitle:()=>d$,getByAltText:()=>s$,getByDisplayValue:()=>e$,getByLabelText:()=>LL,getByPlaceholderText:()=>UL,getByRole:()=>E$,getByTestId:()=>_$,getByText:()=>GL,getByTitle:()=>p$,getConfig:()=>De,getDefaultNormalizer:()=>Eh,getElementError:()=>oc,getMultipleElementsFoundError:()=>ic,getNodeText:()=>Da,getQueriesForElement:()=>lp,getRoles:()=>U0,getSuggestedQuery:()=>cu,isInaccessible:()=>nc,logDOM:()=>Dg,logRoles:()=>Ste,makeFindQuery:()=>Ki,makeGetAllQuery:()=>xh,makeSingleQuery:()=>zi,prettyDOM:()=>da,prettyFormat:()=>x0,queries:()=>ap,queryAllByAltText:()=>n$,queryAllByAttribute:()=>ci,queryAllByDisplayValue:()=>XL,queryAllByLabelText:()=>$L,queryAllByPlaceholderText:()=>DL,queryAllByRole:()=>g$,queryAllByTestId:()=>x$,queryAllByText:()=>JL,queryAllByTitle:()=>u$,queryByAltText:()=>o$,queryByAttribute:()=>H0,queryByDisplayValue:()=>QL,queryByLabelText:()=>IL,queryByPlaceholderText:()=>FL,queryByRole:()=>b$,queryByTestId:()=>T$,queryByText:()=>zL,queryByTitle:()=>c$,queryHelpers:()=>xte,screen:()=>Vte,waitFor:()=>Sh,waitForElementToBeRemoved:()=>R$,within:()=>lp,wrapAllByQueryWithSuggestion:()=>xr,wrapSingleQueryWithSuggestion:()=>zo});var x0=_t(_K()),ete=Object.prototype.toString;function Mg(e){return typeof e=="function"||ete.call(e)==="[object Function]"}l(Mg,"isCallable");function yq(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}l(yq,"toInteger");var tte=Math.pow(2,53)-1;function gq(e){var t=yq(e);return Math.min(Math.max(t,0),tte)}l(gq,"toLength");function Hr(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");if(typeof t<"u"&&!Mg(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=gq(n.length),i=Mg(r)?Object(new r(o)):new Array(o),s=0,a;s<o;)a=n[s],t?i[s]=t(a,s):i[s]=a,s+=1;return i.length=o,i}l(Hr,"arrayFrom");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)}l(ua,"_typeof");function bq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}l(bq,"_classCallCheck");function kg(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,T0(n.key),n)}}l(kg,"_defineProperties");function vq(e,t,r){return t&&kg(e.prototype,t),r&&kg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}l(vq,"_createClass");function Eq(e,t,r){return t=T0(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Eq,"_defineProperty");function T0(e){var t=wq(e,"string");return ua(t)==="symbol"?t:String(t)}l(T0,"_toPropertyKey");function wq(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||"default");if(ua(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}l(wq,"_toPrimitive");var rte=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];bq(this,e),Eq(this,"items",void 0),this.items=t}return l(e,"SetLike"),vq(e,[{key:"add",value:l(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:l(function(){this.items=[]},"clear")},{key:"delete",value:l(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:l(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:l(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:l(function(){return this.items.length},"get")}]),e})(),nte=typeof Set>"u"?Set:rte;function Zt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}l(Zt,"getLocalName");var ote={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"},ite={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 Sq(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=ite[t])!==null&&n!==void 0&&n.has(r))})}l(Sq,"hasGlobalAriaAttributes");function C0(e,t){return Sq(e,t)}l(C0,"ignorePresentationalRole");function xq(e){var t=Cq(e);if(t===null||t==="presentation"){var r=Tq(e);if(t!=="presentation"||C0(e,r||""))return r}return t}l(xq,"getRole");function Tq(e){var t=ote[Zt(e)];if(t!==void 0)return t;switch(Zt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!C0(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}l(Tq,"getImplicitRole");function Cq(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}l(Cq,"getExplicitRole");function st(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}l(st,"isElement");function _0(e){return st(e)&&Zt(e)==="caption"}l(_0,"isHTMLTableCaptionElement");function Ol(e){return st(e)&&Zt(e)==="input"}l(Ol,"isHTMLInputElement");function _q(e){return st(e)&&Zt(e)==="optgroup"}l(_q,"isHTMLOptGroupElement");function Oq(e){return st(e)&&Zt(e)==="select"}l(Oq,"isHTMLSelectElement");function Pq(e){return st(e)&&Zt(e)==="table"}l(Pq,"isHTMLTableElement");function Aq(e){return st(e)&&Zt(e)==="textarea"}l(Aq,"isHTMLTextAreaElement");function Rq(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}l(Rq,"safeWindow");function Nq(e){return st(e)&&Zt(e)==="fieldset"}l(Nq,"isHTMLFieldSetElement");function Iq(e){return st(e)&&Zt(e)==="legend"}l(Iq,"isHTMLLegendElement");function Mq(e){return st(e)&&Zt(e)==="slot"}l(Mq,"isHTMLSlotElement");function kq(e){return st(e)&&e.ownerSVGElement!==void 0}l(kq,"isSVGElement");function jq(e){return st(e)&&Zt(e)==="svg"}l(jq,"isSVGSVGElement");function qq(e){return kq(e)&&Zt(e)==="title"}l(qq,"isSVGTitleElement");function uu(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[]}l(uu,"queryIdRefs");function Cn(e,t){return st(e)?t.indexOf(xq(e))!==-1:!1}l(Cn,"hasAnyConcreteRoles");function Lq(e){return e.trim().replace(/\s\s+/g," ")}l(Lq,"asFlatString");function $q(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"}l($q,"isHidden");function Dq(e){return Cn(e,["button","combobox","listbox","textbox"])||O0(e,"range")}l(Dq,"isControl");function O0(e,t){if(!st(e))return!1;switch(t){case"range":return Cn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}l(O0,"hasAbstractRole");function jg(e,t){var r=Hr(e.querySelectorAll(t));return uu(e,"aria-owns").forEach(function(n){r.push.apply(r,Hr(n.querySelectorAll(t)))}),r}l(jg,"querySelectorAllSubtree");function Fq(e){return Oq(e)?e.selectedOptions||jg(e,"[selected]"):jg(e,'[aria-selected="true"]')}l(Fq,"querySelectedOptions");function Bq(e){return Cn(e,["none","presentation"])}l(Bq,"isMarkedPresentational");function Uq(e){return _0(e)}l(Uq,"isNativeHostLanguageTextAlternativeElement");function Vq(e){return Cn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}l(Vq,"allowsNameFromContent");function Hq(e){return!1}l(Hq,"isDescendantOfNativeHostLanguageTextAlternativeElement");function Jq(e){return Ol(e)||Aq(e)?e.value:e.textContent||""}l(Jq,"getValueOfTextbox");function qg(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}l(qg,"getTextualContent");function P0(e){var t=Zt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}l(P0,"isLabelableElement");function A0(e){if(P0(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&st(r)){var n=A0(r);n!==null&&(t=n)}}),t}l(A0,"findLabelableElement");function zq(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):A0(e)}l(zq,"getControlOfLabel");function Kq(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Hr(t);if(!P0(e))return null;var r=e.ownerDocument;return Hr(r.querySelectorAll("label")).filter(function(n){return zq(n)===e})}l(Kq,"getLabels");function Gq(e){var t=e.assignedNodes();return t.length===0?Hr(e.childNodes):t}l(Gq,"getSlotContents");function R0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new nte,n=Rq(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,a=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,d=t.hidden,p=d===void 0?!1:d;function h(b,v){var S="";if(st(b)&&a){var T=c(b,"::before"),O=qg(T);S="".concat(O," ").concat(S)}var C=Mq(b)?Gq(b):Hr(b.childNodes).concat(uu(b,"aria-owns"));if(C.forEach(function(_){var R=g(_,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=st(_)?c(_).getPropertyValue("display"):"inline",j=N!=="inline"?" ":"";S+="".concat(j).concat(R).concat(j)}),st(b)&&a){var E=c(b,"::after"),w=qg(E);S="".concat(S," ").concat(w)}return S.trim()}l(h,"computeMiscTextAlternative");function f(b,v){var S=b.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}l(f,"useAttribute");function m(b){return st(b)?f(b,"title"):null}l(m,"computeTooltipAttributeValue");function y(b){if(!st(b))return null;if(Nq(b)){r.add(b);for(var v=Hr(b.childNodes),S=0;S<v.length;S+=1){var T=v[S];if(Iq(T))return g(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Pq(b)){r.add(b);for(var O=Hr(b.childNodes),C=0;C<O.length;C+=1){var E=O[C];if(_0(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(jq(b)){r.add(b);for(var w=Hr(b.childNodes),_=0;_<w.length;_+=1){var R=w[_];if(qq(R))return R.textContent}return null}else if(Zt(b)==="img"||Zt(b)==="area"){var N=f(b,"alt");if(N!==null)return N}else if(_q(b)){var j=f(b,"label");if(j!==null)return j}if(Ol(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var D=f(b,"value");if(D!==null)return D;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var P=Kq(b);if(P!==null&&P.length!==0)return r.add(b),Hr(P).map(function(J){return g(J,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(J){return J.length>0}).join(" ");if(Ol(b)&&b.type==="image"){var M=f(b,"alt");if(M!==null)return M;var k=f(b,"title");return k!==null?k:"Submit Query"}if(Cn(b,["button"])){var z=h(b,{isEmbeddedInLabel:!1});if(z!=="")return z}return null}l(y,"computeElementTextAlternative");function g(b,v){if(r.has(b))return"";if(!p&&$q(b,c)&&!v.isReferenced)return r.add(b),"";var S=st(b)?b.getAttributeNode("aria-labelledby"):null,T=S!==null&&!r.has(S)?uu(b,"aria-labelledby"):[];if(i==="name"&&!v.isReferenced&&T.length>0)return r.add(S),T.map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var O=v.recursion&&Dq(b)&&i==="name";if(!O){var C=(st(b)&&b.getAttribute("aria-label")||"").trim();if(C!==""&&i==="name")return r.add(b),C;if(!Bq(b)){var E=y(b);if(E!==null)return r.add(b),E}}if(Cn(b,["menu"]))return r.add(b),"";if(O||v.isEmbeddedInLabel||v.isReferenced){if(Cn(b,["combobox","listbox"])){r.add(b);var w=Fq(b);return w.length===0?Ol(b)?b.value:"":Hr(w).map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(O0(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Cn(b,["textbox"]))return r.add(b),Jq(b)}if(Vq(b)||st(b)&&v.isReferenced||Uq(b)||Hq()){var _=h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(_!=="")return r.add(b),_}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});var R=m(b);return R!==null?(r.add(b),R):(r.add(b),"")}return l(g,"computeTextAlternative"),Lq(g(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}l(R0,"computeTextAlternative");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)}l(ca,"_typeof");function Lg(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}l(Lg,"ownKeys");function $g(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Lg(Object(r),!0).forEach(function(n){Wq(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}l($g,"_objectSpread");function Wq(e,t,r){return t=Yq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Wq,"_defineProperty");function Yq(e){var t=Xq(e,"string");return ca(t)==="symbol"?t:String(t)}l(Yq,"_toPropertyKey");function Xq(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||"default");if(ca(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}l(Xq,"_toPrimitive");function N0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=uu(e,"aria-describedby").map(function(o){return R0(o,$g($g({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}l(N0,"computeAccessibleDescription");function Qq(e){return Cn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}l(Qq,"prohibitsNaming");function bh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Qq(e)?"":R0(e,t)}l(bh,"computeAccessibleName");var Ur=_t(p8()),ste=_t(f8());function I0(e){return e.replace(/</g,"<").replace(/>/g,">")}l(I0,"escapeHTML");var ate=l((e,t,r,n,o,i,s)=>{let a=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,a,o,i);return typeof d!="string"&&(p.indexOf(`
|
|
331
|
+
`)!==-1&&(p=r.spacingOuter+a+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+p+u.value.close}).join("")},"printProps"),lte=3,ute=l((e,t,r,n,o,i)=>e.map(s=>{let a=typeof s=="string"?Zq(s,t):i(s,t,r,n,o);return a===""&&typeof s=="object"&&s!==null&&s.nodeType!==lte?"":t.spacingOuter+r+a}).join(""),"printChildren"),Zq=l((e,t)=>{let r=t.colors.content;return r.open+I0(e)+r.close},"printText"),cte=l((e,t)=>{let r=t.colors.comment;return r.open+"<!--"+I0(e)+"-->"+r.close},"printComment"),dte=l((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},"printElement"),pte=l((e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},"printElementAsLeaf"),fte=1,eL=3,tL=8,rL=11,hte=/^((HTML|SVG)\w*)?Element$/,nL=l(e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),mte=l(e=>{let t=e.constructor.name,{nodeType:r}=e;return r===fte&&(hte.test(t)||nL(e))||r===eL&&t==="Text"||r===tL&&t==="Comment"||r===rL&&t==="DocumentFragment"},"testNode");function oL(e){return e.nodeType===eL}l(oL,"nodeIsText");function iL(e){return e.nodeType===tL}l(iL,"nodeIsComment");function nd(e){return e.nodeType===rL}l(nd,"nodeIsFragment");function sL(e){return{test:l(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||nL(t))&&mte(t)},"test"),serialize:l((t,r,n,o,i,s)=>{if(oL(t))return Zq(t.data,r);if(iL(t))return cte(t.data,r);let a=nd(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?pte(a,r):dte(a,ate(nd(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),nd(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,o,i,s),ute(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,s),r,n)},"serialize")}}l(sL,"createDOMElementFilter");var aL=null,M0=null,k0=null;try{let e=module&&module.require;M0=e.call(module,"fs").readFileSync,k0=e.call(module,"@babel/code-frame").codeFrameColumns,aL=e.call(module,"chalk")}catch{}function lL(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[i,s,a]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],u="";try{u=M0(i,"utf-8")}catch{return""}let c=k0(u,{start:{line:s,column:a}},{highlightCode:!0,linesBelow:0});return aL.dim(n)+`
|
|
332
|
+
`+c+`
|
|
333
|
+
`}l(lL,"getCodeFrame");function uL(){if(!M0||!k0)return"";let e=new Error().stack.split(`
|
|
334
|
+
`).slice(1).find(t=>!t.includes("node_modules/"));return lL(e)}l(uL,"getUserCodeFrame");var cL=3;function od(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}l(od,"jestFakeTimersAreEnabled");function vh(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}l(vh,"getDocument");function j0(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+".")}l(j0,"getWindowFromNode");function qn(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}l(t,"getTypeName")}l(qn,"checkContainerType");var yte=l(()=>{if(typeof Vo>"u")return!1;let e;try{var t;let r=(t=cy)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:Vo.versions!==void 0&&Vo.versions.node!==void 0},"shouldHighlight"),{DOMCollection:gte}=x0.plugins,bte=1,vte=8;function dL(e){return e.nodeType!==vte&&(e.nodeType!==bte||!e.matches(De().defaultIgnore))}l(dL,"filterCommentsAndDefaultIgnoreTagsTags");function da(e,t,r){if(r===void 0&&(r={}),e||(e=vh().body),typeof t!="number"&&(t=typeof Vo<"u"&&typeof cy<"u"&&cy.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=dL,...i}=r,s=x0.format(e,{plugins:[sL(o),gte],printFunctionName:!1,highlight:yte(),...i});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}l(da,"prettyDOM");var Dg=l(function(){let e=uL();console.log(e?da(...arguments)+`
|
|
335
|
+
|
|
336
|
+
`+e:da(...arguments))},"logDOM"),qi={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:l(e=>e(),"asyncWrapper"),unstable_advanceTimersWrapper:l(e=>e(),"unstable_advanceTimersWrapper"),eventWrapper:l(e=>e(),"eventWrapper"),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=da(t),n=new Error([e,"Ignored nodes: comments, "+qi.defaultIgnore+`
|
|
337
|
+
`+r].filter(Boolean).join(`
|
|
338
|
+
|
|
339
|
+
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function pL(e){try{return qi._disableExpensiveErrorDiagnostics=!0,e()}finally{qi._disableExpensiveErrorDiagnostics=!1}}l(pL,"runWithExpensiveErrorDiagnosticsDisabled");function fL(e){typeof e=="function"&&(e=e(qi)),qi={...qi,...e}}l(fL,"configure");function De(){return qi}l(De,"getConfig");var Ete=["button","meter","output","progress","select","textarea","input"];function q0(e){return Ete.includes(e.nodeName.toLowerCase())?"":e.nodeType===cL?e.textContent:Array.from(e.childNodes).map(t=>q0(t)).join("")}l(q0,"getTextContent");function sp(e){let t;return e.tagName.toLowerCase()==="label"?t=q0(e):t=e.value||e.textContent,t}l(sp,"getLabelContent");function L0(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!hL(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}l(L0,"getRealLabels");function hL(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}l(hL,"isLabelable");function $0(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),i=o?o.split(" "):[];return i.length?i.map(s=>{let a=e.querySelector('[id="'+s+'"]');return a?{content:sp(a),formControl:null}:{content:"",formControl:null}}):Array.from(L0(t)).map(s=>{let a=sp(s),u=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:a,formControl:u}})}l($0,"getLabels");function D0(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}l(D0,"assertNotNullOrUndefined");function ds(e,t,r,n){if(typeof e!="string")return!1;D0(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):F0(r,o)}l(ds,"fuzzyMatches");function Pn(e,t,r,n){if(typeof e!="string")return!1;D0(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?F0(r,o):o===String(r)}l(Pn,"matches");function Eh(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}}l(Eh,"getDefaultNormalizer");function ui(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Eh({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}l(ui,"makeNormalizer");function F0(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}l(F0,"matchRegExp");function Da(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===cL&&!!t.textContent).map(t=>t.textContent).join("")}l(Da,"getNodeText");var wte=mL(Ur.elementRoles);function B0(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}l(B0,"isSubtreeInaccessible");function nc(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=B0}=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}l(nc,"isInaccessible");function wh(e){for(let{match:t,roles:r}of wte)if(t(e))return[...r];return[]}l(wh,"getImplicitAriaRoles");function mL(e){function t(s){let{name:a,attributes:u}=s;return""+a+u.map(c=>{let{name:d,value:p,constraints:h=[]}=c,f=h.indexOf("undefined")!==-1,m=h.indexOf("set")!==-1;return typeof p<"u"?"["+d+'="'+p+'"]':f?":not(["+d+"])":m?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}l(t,"makeElementSelector");function r(s){let{attributes:a=[]}=s;return a.length}l(r,"getSelectorSpecificity");function n(s,a){let{specificity:u}=s,{specificity:c}=a;return c-u}l(n,"bySelectorSpecificity");function o(s){let{attributes:a=[]}=s,u=a.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(a=[...a.slice(0,u),...a.slice(u+1)]);let c=t({...s,attributes:a});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}l(o,"match");let i=[];for(let[s,a]of e.entries())i=[...i,{match:o(s),roles:Array.from(a),specificity:r(s)}];return i.sort(n)}l(mL,"buildElementRoleList");function U0(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((i,s)=>[...i,...n(s)],[])]}return l(n,"flattenDOM"),n(e).filter(o=>r===!1?nc(o)===!1:!0).reduce((o,i)=>{let s=[];return i.hasAttribute("role")?s=i.getAttribute("role").split(" ").slice(0,1):s=wh(i),s.reduce((a,u)=>Array.isArray(a[u])?{...a,[u]:[...a[u],i]}:{...a,[u]:[i]},o)},{})}l(U0,"getRoles");function V0(e,t){let{hidden:r,includeDescription:n}=t,o=U0(e,{hidden:r});return Object.entries(o).filter(i=>{let[s]=i;return s!=="generic"}).map(i=>{let[s,a]=i,u="-".repeat(50),c=a.map(d=>{let p='Name "'+bh(d,{computedStyleSupportsPseudoElements:De().computedStyleSupportsPseudoElements})+`":
|
|
340
|
+
`,h=da(d.cloneNode(!1));if(n){let f='Description "'+N0(d,{computedStyleSupportsPseudoElements:De().computedStyleSupportsPseudoElements})+`":
|
|
341
|
+
`;return""+p+f+h}return""+p+h}).join(`
|
|
342
|
+
|
|
343
|
+
`);return s+`:
|
|
344
|
+
|
|
345
|
+
`+c+`
|
|
346
|
+
|
|
347
|
+
`+u}).join(`
|
|
348
|
+
`)}l(V0,"prettyRoles");var Ste=l(function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(V0(e,{hidden:r}))},"logRoles");function yL(e){return e.tagName==="OPTION"?e.selected:Fa(e,"aria-selected")}l(yL,"computeAriaSelected");function gL(e){return e.getAttribute("aria-busy")==="true"}l(gL,"computeAriaBusy");function bL(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Fa(e,"aria-checked")}l(bL,"computeAriaChecked");function vL(e){return Fa(e,"aria-pressed")}l(vL,"computeAriaPressed");function EL(e){var t,r;return(t=(r=Fa(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}l(EL,"computeAriaCurrent");function wL(e){return Fa(e,"aria-expanded")}l(wL,"computeAriaExpanded");function Fa(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}l(Fa,"checkBooleanAttribute");function SL(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]}l(SL,"computeHeadingLevel");function xL(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}l(xL,"computeAriaValueNow");function TL(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}l(TL,"computeAriaValueMax");function CL(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}l(CL,"computeAriaValueMin");function _L(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}l(_L,"computeAriaValueText");var zC=Eh();function OL(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}l(OL,"escapeRegExp");function Fg(e){return new RegExp(OL(e.toLowerCase()),"i")}l(Fg,"getRegExpMatcher");function zn(e,t,r,n){let{variant:o,name:i}=n,s="",a={},u=[["Role","TestId"].includes(e)?r:Fg(r)];i&&(a.name=Fg(i)),e==="Role"&&nc(t)&&(a.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
349
|
+
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
350
|
+
`),Object.keys(a).length>0&&u.push(a);let c=o+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:o,warning:s,toString(){s&&console.warn(s);let[d,p]=u;return d=typeof d=="string"?"'"+d+"'":d,p=p?", { "+Object.entries(p).map(h=>{let[f,m]=h;return f+": "+m}).join(", ")+" }":"",c+"("+d+p+")"}}}l(zn,"makeSuggestion");function Kn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}l(Kn,"canSuggest");function cu(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(De().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=wh(e))==null?void 0:o[0];if(i!=="generic"&&Kn("Role",r,i))return zn("Role",e,i,{variant:t,name:bh(e,{computedStyleSupportsPseudoElements:De().computedStyleSupportsPseudoElements})});let s=$0(document,e).map(h=>h.content).join(" ");if(Kn("LabelText",r,s))return zn("LabelText",e,s,{variant:t});let a=e.getAttribute("placeholder");if(Kn("PlaceholderText",r,a))return zn("PlaceholderText",e,a,{variant:t});let u=zC(Da(e));if(Kn("Text",r,u))return zn("Text",e,u,{variant:t});if(Kn("DisplayValue",r,e.value))return zn("DisplayValue",e,zC(e.value),{variant:t});let c=e.getAttribute("alt");if(Kn("AltText",r,c))return zn("AltText",e,c,{variant:t});let d=e.getAttribute("title");if(Kn("Title",r,d))return zn("Title",e,d,{variant:t});let p=e.getAttribute(De().testIdAttribute);if(Kn("TestId",r,p))return zn("TestId",e,p,{variant:t})}l(cu,"getSuggestedQuery");function ul(e,t){e.stack=t.stack.replace(t.message,e.message)}l(ul,"copyStackTrace");function PL(e,t){let{container:r=vh(),timeout:n=De().asyncUtilTimeout,showOriginalStackTrace:o=De().showOriginalStackTrace,stackTraceError:i,interval:s=50,onTimeout:a=l(c=>(Object.defineProperty(c,"message",{value:De().getElementError(c.message,r).message}),c),"onTimeout"),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,d)=>{let p,h,f,m=!1,y="idle",g=setTimeout(O,n),b=od();if(b){let{unstable_advanceTimersWrapper:C}=De();for(T();!m;){if(!od()){let E=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||ul(E,i),d(E);return}if(await C(async()=>{jest.advanceTimersByTime(s)}),m)break;T()}}else{try{qn(r)}catch(E){d(E);return}h=setInterval(S,s);let{MutationObserver:C}=j0(r);f=new C(S),f.observe(r,u),T()}function v(C,E){m=!0,clearTimeout(g),b||(clearInterval(h),f.disconnect()),C?d(C):c(E)}l(v,"onDone");function S(){if(od()){let C=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||ul(C,i),d(C)}else return T()}l(S,"checkRealTimersCallback");function T(){if(y!=="pending")try{let C=pL(e);typeof(C==null?void 0:C.then)=="function"?(y="pending",C.then(E=>{y="resolved",v(null,E)},E=>{y="rejected",p=E})):v(null,C)}catch(C){p=C}}l(T,"checkCallback");function O(){let C;p?(C=p,!o&&C.name==="TestingLibraryElementError"&&ul(C,i)):(C=new Error("Timed out in waitFor."),o||ul(C,i)),v(a(C),null)}l(O,"handleTimeout")})}l(PL,"waitFor");function Sh(e,t){let r=new Error("STACK_TRACE_MESSAGE");return De().asyncWrapper(()=>PL(e,{stackTraceError:r,...t}))}l(Sh,"waitForWrapper");function oc(e,t){return De().getElementError(e,t)}l(oc,"getElementError");function ic(e,t){return oc(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}l(ic,"getMultipleElementsFoundError");function ci(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:s,normalizer:a}=n===void 0?{}:n,u=o?Pn:ds,c=ui({collapseWhitespace:i,trim:s,normalizer:a});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>u(d.getAttribute(e),d,r,c))}l(ci,"queryAllByAttribute");function H0(e,t,r,n){let o=ci(e,t,r,n);if(o.length>1)throw ic("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}l(H0,"queryByAttribute");function zi(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 s=e(r,...o);if(s.length>1){let a=s.map(u=>oc(null,u).message).join(`
|
|
351
|
+
|
|
352
|
+
`);throw ic(t(r,...o)+`
|
|
353
|
+
|
|
354
|
+
Here are the matching elements:
|
|
355
|
+
|
|
356
|
+
`+a,r)}return s[0]||null}}l(zi,"makeSingleQuery");function J0(e,t){return De().getElementError(`A better query is available, try this:
|
|
357
|
+
`+e.toString()+`
|
|
358
|
+
`,t)}l(J0,"getSuggestionError");function xh(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 s=e(r,...o);if(!s.length)throw De().getElementError(t(r,...o),r);return s}}l(xh,"makeGetAllQuery");function Ki(e){return(t,r,n,o)=>Sh(()=>e(t,r,n),{container:t,...o})}l(Ki,"makeFindQuery");var zo=l((e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let a=e(n,...i),[{suggest:u=De().throwSuggestions}={}]=i.slice(-1);if(a&&u){let c=cu(a,r);if(c&&!t.endsWith(c.queryName))throw J0(c.toString(),n)}return a},"wrapSingleQueryWithSuggestion"),xr=l((e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let a=e(n,...i),[{suggest:u=De().throwSuggestions}={}]=i.slice(-1);if(a.length&&u){let c=[...new Set(a.map(d=>{var p;return(p=cu(d,r))==null?void 0:p.toString()}))];if(c.length===1&&!t.endsWith(cu(a[0],r).queryName))throw J0(c[0],n)}return a},"wrapAllByQueryWithSuggestion");function Ln(e,t,r){let n=zo(zi(e,t),e.name,"query"),o=xh(e,r),i=zi(o,t),s=zo(i,e.name,"get"),a=xr(o,e.name.replace("query","get"),"getAll"),u=Ki(xr(o,e.name,"findAll")),c=Ki(zo(i,e.name,"find"));return[n,a,s,u,c]}l(Ln,"buildQueries");var xte=Object.freeze({__proto__:null,getElementError:oc,wrapAllByQueryWithSuggestion:xr,wrapSingleQueryWithSuggestion:zo,getMultipleElementsFoundError:ic,queryAllByAttribute:ci,queryByAttribute:H0,makeSingleQuery:zi,makeGetAllQuery:xh,makeFindQuery:Ki,buildQueries:Ln});function AL(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:sp(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}l(AL,"queryAllLabels");var Tte=l(function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:s}=r===void 0?{}:r,a=n?Pn:ds,u=ui({collapseWhitespace:i,trim:o,normalizer:s});return AL(e).filter(c=>{let{node:d,textToMatch:p}=c;return a(p,d,t,u)}).map(c=>{let{node:d}=c;return d})},"queryAllLabelsByText"),du=l(function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,normalizer:a}=r===void 0?{}:r;qn(e);let u=o?Pn:ds,c=ui({collapseWhitespace:i,trim:s,normalizer:a}),d=Array.from(e.querySelectorAll("*")).filter(p=>L0(p).length||p.hasAttribute("aria-labelledby")).reduce((p,h)=>{let f=$0(e,h,{selector:n});f.filter(y=>!!y.formControl).forEach(y=>{u(y.content,y.formControl,t,c)&&y.formControl&&p.push(y.formControl)});let m=f.filter(y=>!!y.content).map(y=>y.content);return u(m.join(" "),h,t,c)&&p.push(h),m.length>1&&m.forEach((y,g)=>{u(y,h,t,c)&&p.push(h);let b=[...m];b.splice(g,1),b.length>1&&u(b.join(" "),h,t,c)&&p.push(h)}),p},[]).concat(ci("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(d)).filter(p=>p.matches(n))},"queryAllByLabelText"),Gi=l(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=du(e,t,...n);if(!i.length){let s=Tte(e,t,...n);if(s.length){let a=s.map(u=>RL(e,u)).filter(u=>!!u);throw a.length?De().getElementError(a.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
359
|
+
|
|
360
|
+
`),e):De().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 De().getElementError("Unable to find a label with the text of: "+t,e)}return i},"getAllByLabelText");function RL(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}l(RL,"getTagNameOfElementAssociatedWithLabelViaFor");var NL=l((e,t)=>"Found multiple elements with the text of: "+t,"getMultipleError$7"),IL=zo(zi(du,NL),du.name,"query"),ML=zi(Gi,NL),kL=Ki(xr(Gi,Gi.name,"findAll")),jL=Ki(zo(ML,Gi.name,"find")),qL=xr(Gi,Gi.name,"getAll"),LL=zo(ML,Gi.name,"get"),$L=xr(du,du.name,"queryAll"),Bg=l(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return qn(t[0]),ci("placeholder",...t)},"queryAllByPlaceholderText"),Cte=l((e,t)=>"Found multiple elements with the placeholder text of: "+t,"getMultipleError$6"),_te=l((e,t)=>"Unable to find an element with the placeholder text of: "+t,"getMissingError$6"),DL=xr(Bg,Bg.name,"queryAll"),[FL,BL,UL,VL,HL]=Ln(Bg,Cte,_te),Ug=l(function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,ignore:a=De().defaultIgnore,normalizer:u}=r===void 0?{}:r;qn(e);let c=o?Pn:ds,d=ui({collapseWhitespace:i,trim:s,normalizer:u}),p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(h=>!a||!h.matches(a)).filter(h=>c(Da(h),h,t,d))},"queryAllByText"),Ote=l((e,t)=>"Found multiple elements with the text: "+t,"getMultipleError$5"),Pte=l(function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:i,selector:s}=r,a=ui({collapseWhitespace:n,trim:o,normalizer:i})(t.toString()),u=a!==t.toString(),c=(s??"*")!=="*";return"Unable to find an element with the text: "+(u?a+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+s+"'":"")+". 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."},"getMissingError$5"),JL=xr(Ug,Ug.name,"queryAll"),[zL,KL,GL,WL,YL]=Ln(Ug,Ote,Pte),Vg=l(function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;qn(e);let a=n?Pn:ds,u=ui({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(d=>d.selected).some(d=>a(Da(d),d,t,u)):a(c.value,c,t,u))},"queryAllByDisplayValue"),Ate=l((e,t)=>"Found multiple elements with the display value: "+t+".","getMultipleError$4"),Rte=l((e,t)=>"Unable to find an element with the display value: "+t+".","getMissingError$4"),XL=xr(Vg,Vg.name,"queryAll"),[QL,ZL,e$,t$,r$]=Ln(Vg,Ate,Rte),Nte=/^(img|input|area|.+-.+)$/i,Hg=l(function(e,t,r){return r===void 0&&(r={}),qn(e),ci("alt",e,t,r).filter(n=>Nte.test(n.tagName))},"queryAllByAltText"),Ite=l((e,t)=>"Found multiple elements with the alt text: "+t,"getMultipleError$3"),Mte=l((e,t)=>"Unable to find an element with the alt text: "+t,"getMissingError$3"),n$=xr(Hg,Hg.name,"queryAll"),[o$,i$,s$,a$,l$]=Ln(Hg,Ite,Mte),kte=l(e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},"isSvgTitle"),Jg=l(function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;qn(e);let a=n?Pn:ds,u=ui({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>a(c.getAttribute("title"),c,t,u)||kte(c)&&a(Da(c),c,t,u))},"queryAllByTitle"),jte=l((e,t)=>"Found multiple elements with the title: "+t+".","getMultipleError$2"),qte=l((e,t)=>"Unable to find an element with the title: "+t+".","getMissingError$2"),u$=xr(Jg,Jg.name,"queryAll"),[c$,d$,p$,f$,h$]=Ln(Jg,jte,qte),zg=l(function(e,t,r){let{hidden:n=De().defaultHidden,name:o,description:i,queryFallbacks:s=!1,selected:a,busy:u,checked:c,pressed:d,current:p,level:h,expanded:f,value:{now:m,min:y,max:g,text:b}={}}=r===void 0?{}:r;if(qn(e),a!==void 0){var v;if(((v=Ur.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var S;if(((S=Ur.roles.get(t))==null?void 0:S.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var T;if(((T=Ur.roles.get(t))==null?void 0:T.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(d!==void 0){var O;if(((O=Ur.roles.get(t))==null?void 0:O.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var C;if(((C=Ur.roles.get(t))==null?void 0:C.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var E;if(((E=Ur.roles.get(t))==null?void 0:E.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var w;if(((w=Ur.roles.get(t))==null?void 0:w.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(y!==void 0){var _;if(((_=Ur.roles.get(t))==null?void 0:_.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var R;if(((R=Ur.roles.get(t))==null?void 0:R.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var N;if(((N=Ur.roles.get(t))==null?void 0:N.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let j=new WeakMap;function D(P){return j.has(P)||j.set(P,B0(P)),j.get(P)}return l(D,"cachedIsSubtreeInaccessible"),Array.from(e.querySelectorAll(m$(t))).filter(P=>{if(P.hasAttribute("role")){let M=P.getAttribute("role");if(s)return M.split(" ").filter(Boolean).some(z=>z===t);let[k]=M.split(" ");return k===t}return wh(P).some(M=>M===t)}).filter(P=>{if(a!==void 0)return a===yL(P);if(u!==void 0)return u===gL(P);if(c!==void 0)return c===bL(P);if(d!==void 0)return d===vL(P);if(p!==void 0)return p===EL(P);if(f!==void 0)return f===wL(P);if(h!==void 0)return h===SL(P);if(m!==void 0||g!==void 0||y!==void 0||b!==void 0){let k=!0;if(m!==void 0&&k&&(k=m===xL(P)),g!==void 0&&k&&(k=g===TL(P)),y!==void 0&&k&&(k=y===CL(P)),b!==void 0){var M;k&&(k=Pn((M=_L(P))!=null?M:null,P,b,z=>z))}return k}return!0}).filter(P=>o===void 0?!0:Pn(bh(P,{computedStyleSupportsPseudoElements:De().computedStyleSupportsPseudoElements}),P,o,M=>M)).filter(P=>i===void 0?!0:Pn(N0(P,{computedStyleSupportsPseudoElements:De().computedStyleSupportsPseudoElements}),P,i,M=>M)).filter(P=>n===!1?nc(P,{isSubtreeInaccessible:D})===!1:!0)},"queryAllByRole");function m$(e){var t;let r='*[role~="'+e+'"]',n=(t=Ur.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>{let{name:s}=i;return s}));return[r].concat(Array.from(o)).join(",")}l(m$,"makeRoleSelector");var y$=l(e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},"getNameHint"),Lte=l(function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+y$(n)},"getMultipleError$1"),$te=l(function(e,t,r){let{hidden:n=De().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(De()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+y$(o);let s="";Array.from(e.children).forEach(d=>{s+=V0(d,{hidden:n,includeDescription:i!==void 0})});let a;s.length===0?n===!1?a="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":a="There are no available roles.":a=(`
|
|
361
|
+
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
362
|
+
|
|
363
|
+
`+s.replace(/\n/g,`
|
|
364
|
+
`).replace(/\n\s\s\n/g,`
|
|
365
|
+
|
|
366
|
+
`)+`
|
|
367
|
+
`).trim();let u="";o===void 0?u="":typeof o=="string"?u=' and name "'+o+'"':u=" and name `"+o+"`";let c="";return i===void 0?c="":typeof i=="string"?c=' and description "'+i+'"':c=" and description `"+i+"`",(`
|
|
368
|
+
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
|
|
369
|
+
|
|
370
|
+
`+a).trim()},"getMissingError$1"),g$=xr(zg,zg.name,"queryAll"),[b$,v$,E$,w$,S$]=Ln(zg,Lte,$te),z0=l(()=>De().testIdAttribute,"getTestIdAttribute"),Kg=l(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return qn(t[0]),ci(z0(),...t)},"queryAllByTestId"),Dte=l((e,t)=>"Found multiple elements by: ["+z0()+'="'+t+'"]',"getMultipleError"),Fte=l((e,t)=>"Unable to find an element by: ["+z0()+'="'+t+'"]',"getMissingError"),x$=xr(Kg,Kg.name,"queryAll"),[T$,C$,_$,O$,P$]=Ln(Kg,Dte,Fte),ap=Object.freeze({__proto__:null,queryAllByLabelText:$L,queryByLabelText:IL,getAllByLabelText:qL,getByLabelText:LL,findAllByLabelText:kL,findByLabelText:jL,queryByPlaceholderText:FL,queryAllByPlaceholderText:DL,getByPlaceholderText:UL,getAllByPlaceholderText:BL,findAllByPlaceholderText:VL,findByPlaceholderText:HL,queryByText:zL,queryAllByText:JL,getByText:GL,getAllByText:KL,findAllByText:WL,findByText:YL,queryByDisplayValue:QL,queryAllByDisplayValue:XL,getByDisplayValue:e$,getAllByDisplayValue:ZL,findAllByDisplayValue:t$,findByDisplayValue:r$,queryByAltText:o$,queryAllByAltText:n$,getByAltText:s$,getAllByAltText:i$,findAllByAltText:a$,findByAltText:l$,queryByTitle:c$,queryAllByTitle:u$,getByTitle:p$,getAllByTitle:d$,findAllByTitle:f$,findByTitle:h$,queryByRole:b$,queryAllByRole:g$,getAllByRole:v$,getByRole:E$,findAllByRole:w$,findByRole:S$,queryByTestId:T$,queryAllByTestId:x$,getByTestId:_$,getAllByTestId:C$,findAllByTestId:O$,findByTestId:P$});function lp(e,t,r){return t===void 0&&(t=ap),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}l(lp,"getQueriesForElement");var A$=l(e=>!e||Array.isArray(e)&&!e.length,"isRemoved");function Gg(e){if(A$(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.")}l(Gg,"initialCheck");async function R$(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Gg(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=l(()=>n.map(o=>o()).filter(Boolean),"callback")}return Gg(e()),Sh(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!A$(n))throw r},t)}l(R$,"waitForElementToBeRemoved");var KC={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}}},GC={doubleClick:"dblClick"};function pa(e,t){return De().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)})}l(pa,"fireEvent");function Pl(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 s={...i,...r},{target:{value:a,files:u,...c}={}}=s;a!==void 0&&N$(t,a),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let d=j0(t),p=d[o]||d.Event,h;if(typeof p=="function")h=new p(e,s);else{h=d.document.createEvent(o);let{bubbles:f,cancelable:m,detail:y,...g}=s;h.initEvent(e,f,m,y),Object.keys(g).forEach(b=>{h[b]=g[b]})}return["dataTransfer","clipboardData"].forEach(f=>{let m=s[f];typeof m=="object"&&(typeof d.DataTransfer=="function"?Object.defineProperty(h,f,{value:Object.getOwnPropertyNames(m).reduce((y,g)=>(Object.defineProperty(y,g,{value:m[g]}),y),new d.DataTransfer)}):Object.defineProperty(h,f,{value:m}))}),h}l(Pl,"createEvent");Object.keys(KC).forEach(e=>{let{EventType:t,defaultInit:r}=KC[e],n=e.toLowerCase();Pl[e]=(o,i)=>Pl(n,o,i,{EventType:t,defaultInit:r}),pa[e]=(o,i)=>pa(o,Pl[e](o,i))});function N$(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")}l(N$,"setNativeValue");Object.keys(GC).forEach(e=>{let t=GC[e];pa[e]=function(){return pa[t](...arguments)}});function I$(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
371
|
+
`)}l(I$,"unindent");function M$(e){return ste.default.compressToEncodedURIComponent(I$(e))}l(M$,"encode");function k$(e){return"https://testing-playground.com/#markup="+M$(e)}l(k$,"getPlaygroundUrl");var Bte=l((e,t,r)=>Array.isArray(e)?e.forEach(n=>Dg(n,t,r)):Dg(e,t,r),"debug"),Ute=l(function(e){if(e===void 0&&(e=vh().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=k$(e.innerHTML);return console.log(`Open this URL in your browser
|
|
372
|
+
|
|
373
|
+
`+t),t},"logTestingPlaygroundURL"),WC={debug:Bte,logTestingPlaygroundURL:Ute},Vte=typeof document<"u"&&document.body?lp(document.body,ap,WC):Object.keys(ap).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),WC);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}l(ke,"isElementType");function Lr(e){var t;if(j$(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 ${q$(e)}`)}l(Lr,"getWindow");function j$(e){return e.nodeType===9}l(j$,"isDocument");function q$(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}l(q$,"describe");function K0(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)})}l(K0,"readBlobText");function Th(e,t){let r={...t,length:t.length,item:l(n=>r[n],"item"),[Symbol.iterator]:l(function*(){for(let n=0;n<r.length;n++)yield r[n]},"nextFile")};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}l(Th,"createFileList");function oo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(oo,"_define_property");var L$=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){oo(this,"kind",void 0),oo(this,"type",void 0),oo(this,"file",null),oo(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};l(L$,"DataTransferItemStub");var $$=L$,D$=class extends Array{add(...t){let r=new $$(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};l(D$,"DataTransferItemListStub");var Hte=D$;function cl(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}l(cl,"getTypeMatcher");function F$(e){var t;return new(t=class{getData(r){var n;let o=(n=this.items.find(cl(r,!0)))!==null&&n!==void 0?n:this.items.find(cl(r,!1)),i="";return o==null||o.getAsString(s=>{i=s}),i}setData(r,n){let o=this.items.findIndex(cl(r,!0)),i=new $$(n,r);o>=0?this.items.splice(o,1,i):this.items.push(i)}clearData(r){if(r){let n=this.items.findIndex(cl(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){let r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){oo(this,"dropEffect","none"),oo(this,"effectAllowed","uninitialized"),oo(this,"items",new Hte),oo(this,"files",Th(e,[]))}},l(t,"DataTransferStub"),t)}l(F$,"createDataTransferStub");function Ch(e,t=[]){let r=typeof e.DataTransfer>"u"?F$(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:l(()=>Th(e,t),"get")}),r}l(Ch,"createDataTransfer");async function B$(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}l(B$,"getBlobFromDataTransferItem");function G0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(G0,"_define_property");function W0(e,...t){var r;let n=Object.fromEntries(t.map(o=>[typeof o=="string"?"text/plain":o.type,Promise.resolve(o)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(n):new(r=class{get types(){return Array.from(Object.keys(this.data))}async getType(o){let i=await this.data[o];if(!i)throw new Error(`${o} is not one of the available MIME types on this item.`);return i instanceof e.Blob?i:new e.Blob([i],{type:o})}constructor(o){G0(this,"data",void 0),this.data=o}},l(r,"ClipboardItem"),r)(n)}l(W0,"createClipboardItem");var fa=Symbol("Manage ClipboardSub");function Wg(e,t){var r;return Object.assign(new(r=class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let o of this.items){let i=o.types.includes("text/plain")?"text/plain":o.types.find(s=>s.startsWith("text/"));i&&(n+=await o.getType(i).then(s=>K0(s,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[W0(e,n)]}constructor(...n){super(...n),G0(this,"items",[])}},l(r,"Clipboard"),r),{[fa]:t})}l(Wg,"createClipboardStub");function _h(e){return!!(e!=null&&e[fa])}l(_h,"isClipboardStub");function U$(e){if(_h(e.navigator.clipboard))return e.navigator.clipboard[fa];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:l(()=>{r=Wg(e,n)},"resetClipboardStub"),detachClipboardStub:l(()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})},"detachClipboardStub")};return r=Wg(e,n),Object.defineProperty(e.navigator,"clipboard",{get:l(()=>r,"get"),configurable:!0}),r[fa]}l(U$,"attachClipboardStubToView");function V$(e){_h(e.navigator.clipboard)&&e.navigator.clipboard[fa].resetClipboardStub()}l(V$,"resetClipboardStubOnView");function H$(e){_h(e.navigator.clipboard)&&e.navigator.clipboard[fa].detachClipboardStub()}l(H$,"detachClipboardStubFromView");async function J$(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=Ch(t);for(let i of n)for(let s of i.types)o.setData(s,await i.getType(s).then(a=>K0(a,t.FileReader)));return o}l(J$,"readDataTransferFromClipboard");async function Y0(e,t){let r=Lr(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let s=t.items[i],a=await B$(r,s);o.push(W0(r,a))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}l(Y0,"writeDataTransferToClipboard");var up=globalThis;typeof up.afterEach=="function"&&up.afterEach(()=>{typeof globalThis.window<"u"&&V$(globalThis.window)});typeof up.afterAll=="function"&&up.afterAll(()=>{typeof globalThis.window<"u"&&H$(globalThis.window)});var z$=["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 Oh(e){return e.matches(z$)}l(Oh,"isFocusable");function K$(e){return new e.constructor(e.type,e)}l(K$,"cloneEvent");function In(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}l(In,"isDisabled");function Ba(e){let t=e.activeElement;return t!=null&&t.shadowRoot?Ba(t.shadowRoot):In(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}l(Ba,"getActiveElement");function id(e){var t;return(t=Ba(e))!==null&&t!==void 0?t:e.body}l(id,"getActiveElementOrBody");function G$(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}l(G$,"findClosest");function ti(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}l(ti,"isContentEditable");function ha(e){let t=W$(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}l(ha,"getContentEditable");function W$(e){return e.nodeType===1?e:e.parentElement}l(W$,"getElement");var Y$=(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})(Y$||{});function X0(e){return ke(e,"button")||ke(e,"input")&&e.type in Y$}l(X0,"isClickableInput");function Wi(e){return Q0(e)&&!e.readOnly||ti(e)}l(Wi,"isEditable");var X$=(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})(X$||{});function Q0(e){return ke(e,"textarea")||ke(e,"input")&&e.type in X$}l(Q0,"isEditableInputOrTextArea");function pn(e){return Z0(e)&&Q0(e)}l(pn,"hasOwnSelection");function Q$(e){return Z0(e)&&X0(e)}l(Q$,"hasNoSelection");function Z0(e){return e.nodeType===1}l(Z0,"isElement");function Z$(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&pn(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)}}l(Z$,"updateSelectionOnFocus");function Yi(e,t){return De().eventWrapper(e)}l(Yi,"wrapEvent");function ho(e){let t=G$(e,Oh),r=Ba(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Yi(t?()=>t.focus():()=>r==null?void 0:r.blur()),Z$(t??e.ownerDocument.body))}l(ho,"focusElement");function eD(e){!Oh(e)||Ba(e.ownerDocument)!==e||Yi(()=>e.blur())}l(eD,"blurElement");var ri={};ri.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()=>{Oh(o)&&(ho(o),r.dispatchEvent(o,K$(e)))};if(ke(t,"input",{type:"file"}))return()=>{eD(t),t.dispatchEvent(new(Lr(t)).Event("fileDialog")),ho(t)}};var ma=Symbol("Displayed value in UI"),io=Symbol("Displayed selection in UI"),cp=Symbol("Initial value to compare on blur");function tD(e){return typeof e=="object"&&ma in e}l(tD,"isUIValue");function rD(e){return!!e&&typeof e=="object"&&io in e}l(rD,"isUISelectionStart");function nD(e,t){e[cp]===void 0&&(e[cp]=e.value),e[ma]=t,e.value=Object.assign(new String(t),{[ma]:!0})}l(nD,"setUIValue");function fn(e){return e[ma]===void 0?e.value:String(e[ma])}l(fn,"getUIValue");function Ph(e){e[ma]=void 0}l(Ph,"setUIValueClean");function eS(e){e[cp]=void 0}l(eS,"clearInitialValue");function oD(e){return e[cp]}l(oD,"getInitialValue");function iD(e,t){e[io]=t}l(iD,"setUISelectionRaw");function ps(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=fn(e).length,i=l(p=>Math.max(0,Math.min(o,p)),"sanitizeOffset"),s=n==="replace"||e[io]===void 0?i(r):e[io].anchorOffset,a=i(t),u=Math.min(s,a),c=Math.max(s,a);if(e[io]={anchorOffset:s,focusOffset:a},e.selectionStart===u&&e.selectionEnd===c)return;let d=Object.assign(new Number(u),{[io]:!0});try{e.setSelectionRange(d,c)}catch{}}l(ps,"setUISelection");function ya(e){var t,r,n;let o=(n=e[io])!==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)}}l(ya,"getUISelection");function sD(e){return!!e[io]}l(sD,"hasUISelection");function Al(e){e[io]=void 0}l(Al,"setUISelectionClean");var dp=globalThis.parseInt;function aD(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=dp(t[0],10),n=dp(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Yg(t,o)}return e.length===2?e:Yg(t,2)}l(aD,"buildTimeValue");function Yg(e,t){let r=e.slice(0,t),n=Math.min(dp(r,10),23),o=e.slice(t),i=dp(o,10),s=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}l(Yg,"build");function tS(e,t){let r=e.cloneNode();return r.value=t,r.value===t}l(tS,"isValidDateOrTimeValue");var lD=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(lD||{});function uD(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}l(uD,"getMaxLength");function cD(e){return ke(e,"textarea")||ke(e,"input")&&e.type in lD}l(cD,"supportsMaxLength");function rS(e,t,r,n){if(Rl(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=Xg(e,t,r);if(o){if(Rl(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=Xg(o,void 0,r);return i?Rl(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&ke(i,"br")?{node:o.parentNode,offset:dl(o)}:{node:i.parentNode,offset:dl(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:dl(o)}:void 0}else return{node:o.parentNode,offset:dl(o)+(r>0?1:0)}}}l(rS,"getNextCursorPosition");function Xg(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Ah(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),pD(e,r===1?"next":"previous",dD)}l(Xg,"getNextCharacterContentNode");function dD(e){if(Rl(e))return!0;if(Ah(e)){if(ke(e,["input","textarea"]))return e.type!=="hidden";if(ke(e,"br"))return!0}return!1}l(dD,"isTreatedAsCharacterContent");function dl(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}l(dl,"getOffset");function Ah(e){return e.nodeType===1}l(Ah,"isElement");function Rl(e){return e.nodeType===3}l(Rl,"isTextNode");function pD(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=fD(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Ah(e.parentNode)||!ti(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}l(pD,"walkNodes");function fD(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}l(fD,"getDescendant");var pu=Symbol("Track programmatic changes for React workaround");function hD(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Lr(e).REACT_VERSION===17}l(hD,"isReact17Element");function mD(e){hD(e)&&(e[pu]={previousValue:String(e.value),tracked:[]})}l(mD,"startTrackValue");function yD(e,t){var r,n;(n=e[pu])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[pu]||(Ph(e),ps(e,{focusOffset:t.length}))}l(yD,"trackOrSetValue");function gD(e,t){var r;let n=e[pu];if(e[pu]=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||Ph(e),sD(e)&&ps(e,{focusOffset:o?t:e.value.length})}l(gD,"commitValueAfterInput");function nS(e){let t=bD(e);if(t&&pn(t))return{type:"input",selection:ya(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}}l(nS,"getTargetTypeAndSelection");function bD(e){return e.nodeType===1?e:e.parentElement}l(bD,"getElement");function vD(e){let t=nS(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)}}l(vD,"getInputRange");function ni({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(nS(e).type==="input")return ps(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)}l(ni,"setSelection");function oS(e){return ke(e,"input")&&["date","time"].includes(e.type)}l(oS,"isDateOrTime");function Xi(e,t,r,n="insertText"){let o=vD(t);o&&(!oS(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?ED(e,t,o,r,n):wD(e,t,o,r,n)))}l(Xi,"input");function ED(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let s=rS(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(s){i=!0;let a=r.cloneRange();a.comparePoint(s.node,s.offset)<0?a.setStart(s.node,s.offset):a.setEnd(s.node,s.offset),a.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let s=r.endOffset;r.endContainer.insertData(s,n),r.setStart(r.endContainer,s+n.length),r.setEnd(r.endContainer,s+n.length)}else{let s=t.ownerDocument.createTextNode(n);r.insertNode(s),r.setStart(s,n.length),r.setEnd(s,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}l(ED,"editContenteditable");function wD(e,t,r,n,o){let i=n;if(cD(t)){let c=uD(t);if(c!==void 0&&n.length>0){let d=c-t.value.length;if(d>0)i=n.substring(0,d);else return}}let{newValue:s,newOffset:a,oldValue:u}=SD(i,t,r,o);s===u&&a===r.startOffset&&a===r.endOffset||ke(t,"input",{type:"number"})&&!xD(s)||(nD(t,s),ni({focusNode:t,anchorOffset:a,focusOffset:a}),oS(t)?tS(t,s)&&(Qg(e,t,a,{}),e.dispatchUIEvent(t,"change"),eS(t)):Qg(e,t,a,{data:n,inputType:o}))}l(wD,"editInputElement");function SD(e,t,{startOffset:r,endOffset:n},o){let i=fn(t),s=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),a=i.substring(0,s),u=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),c=i.substring(u,i.length),d=`${a}${e}${c}`,p=s+e.length;if(ke(t,"input",{type:"time"})){let h=aD(d);h!==""&&tS(t,h)&&(d=h,p=h.length)}return{oldValue:i,newValue:d,newOffset:p}}l(SD,"calculateNewValue");function Qg(e,t,r,n){e.dispatchUIEvent(t,"input",n),gD(t,r)}l(Qg,"commitInput");function xD(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]))}l(xD,"isValidNumberInput");ri.cut=(e,t,r)=>()=>{Wi(t)&&Xi(r,t,"","deleteByCut")};function TD(e){return e?ti(e)?e.textContent:fn(e):null}l(TD,"getValueOrTextContent");function CD(e){let t=Lr(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}l(CD,"isVisible");function _D(e,t){let r=e.ownerDocument,n=r.querySelectorAll(z$),o=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||In(u)));Number(e.getAttribute("tabindex"))>=0&&o.sort((u,c)=>{let d=Number(u.getAttribute("tabindex")),p=Number(c.getAttribute("tabindex"));return d===p?0:d===0?1:p===0?-1:d-p});let i={},s=[r.body],a=ke(e,"input",{type:"radio"})?e.name:void 0;o.forEach(u=>{let c=u;if(ke(c,"input",{type:"radio"})&&c.name){if(c===e){s.push(c);return}else if(c.name===a)return;if(c.checked){s=s.filter(d=>!ke(d,"input",{type:"radio",name:c.name})),s.push(c),i[c.name]=c;return}if(typeof i[c.name]<"u")return}s.push(c)});for(let u=s.findIndex(c=>c===e);;)if(u+=t?-1:1,u===s.length?u=0:u===-1&&(u=s.length-1),s[u]===e||s[u]===r.body||CD(s[u]))return s[u]}l(_D,"getTabDestination");function Zg(e,t){if(pn(e)){let r=ya(e);ni({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=rS(r.focusNode,r.focusOffset,t);n&&ni({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}l(Zg,"moveSelection");function iS(e){if(pn(e))return ni({focusNode:e,anchorOffset:0,focusOffset:fn(e).length});var t;let r=(t=ha(e))!==null&&t!==void 0?t:e.ownerDocument.body;ni({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}l(iS,"selectAll");function OD(e){if(pn(e))return ya(e).startOffset===0&&ya(e).endOffset===fn(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}l(OD,"isAllSelected");function ks(e,t,r){var n;if(pn(e))return ni({focusNode:e,anchorOffset:t,focusOffset:r});if(ti(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return ni({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}l(ks,"setSelectionRange");function pl(e,t,r){let n=Lr(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(s=>s===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;if(!In(o[i])){ho(o[i]),e.dispatchUIEvent(o[i],"click");return}}}l(pl,"walkRadio");ri.keydown=(e,t,r)=>{var n,o;return(o=(n=YC[e.key])===null||n===void 0?void 0:n.call(YC,e,t,r))!==null&&o!==void 0?o:Jte(e,t,r)};var YC={ArrowDown:l((e,t,r)=>{if(ke(t,"input",{type:"radio"}))return()=>pl(r,t,1)},"ArrowDown"),ArrowLeft:l((e,t,r)=>ke(t,"input",{type:"radio"})?()=>pl(r,t,-1):()=>Zg(t,-1),"ArrowLeft"),ArrowRight:l((e,t,r)=>ke(t,"input",{type:"radio"})?()=>pl(r,t,1):()=>Zg(t,1),"ArrowRight"),ArrowUp:l((e,t,r)=>{if(ke(t,"input",{type:"radio"}))return()=>pl(r,t,-1)},"ArrowUp"),Backspace:l((e,t,r)=>{if(Wi(t))return()=>{Xi(r,t,"","deleteContentBackward")}},"Backspace"),Delete:l((e,t,r)=>{if(Wi(t))return()=>{Xi(r,t,"","deleteContentForward")}},"Delete"),End:l((e,t)=>{if(ke(t,["input","textarea"])||ti(t))return()=>{var r,n;let o=(n=(r=TD(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;ks(t,o,o)}},"End"),Home:l((e,t)=>{if(ke(t,["input","textarea"])||ti(t))return()=>{ks(t,0,0)}},"Home"),PageDown:l((e,t)=>{if(ke(t,["input"]))return()=>{let r=fn(t).length;ks(t,r,r)}},"PageDown"),PageUp:l((e,t)=>{if(ke(t,["input"]))return()=>{ks(t,0,0)}},"PageUp"),Tab:l((e,t,r)=>()=>{let n=_D(t,r.system.keyboard.modifiers.Shift);ho(n),pn(n)&&ps(n,{anchorOffset:0,focusOffset:n.value.length})},"Tab")},Jte=l((e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>iS(t)},"combinationBehavior");ri.keypress=(e,t,r)=>{if(e.key==="Enter"){if(ke(t,"button")||ke(t,"input")&&zte.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&&Kte.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Wi(t)){let n=e.key==="Enter"?ti(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
|
|
374
|
+
`:e.key;return()=>Xi(r,t,o,n)}};var zte=["button","color","file","image","reset","submit"],Kte=["email","month","password","search","tel","text","url","week"];ri.keyup=(e,t,r)=>{var n;return(n=XC[e.key])===null||n===void 0?void 0:n.call(XC,e,t,r)};var XC={" ":l((e,t,r)=>{if(X0(t))return()=>r.dispatchUIEvent(t,"click")}," ")};ri.paste=(e,t,r)=>{if(Wi(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Xi(r,t,o,"insertFromPaste")}};var PD={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 sS(e){return PD[e].EventType}l(sS,"getEventClass");var Gte=["MouseEvent","PointerEvent"];function AD(e){return Gte.includes(sS(e))}l(AD,"isMouseEvent");function RD(e){return sS(e)==="KeyboardEvent"}l(RD,"isKeyboardEvent");var Wte={ClipboardEvent:[ID],Event:[],FocusEvent:[Ts,MD],InputEvent:[Ts,kD],MouseEvent:[Ts,sd,eb],PointerEvent:[Ts,sd,eb,qD],KeyboardEvent:[Ts,sd,jD]};function aS(e,t,r){let n=Lr(t),{EventType:o,defaultInit:i}=PD[e],s=new(ND(n))[o](e,i);return Wte[o].forEach(a=>a(s,r??{})),s}l(aS,"createEvent");function ND(e){var t,r,n,o,i,s,a,u,c,d,p,h,f,m,y,g;let b=(g=e.Event)!==null&&g!==void 0?g:(t=class{},l(t,"Event"),t);var v;let S=(v=e.AnimationEvent)!==null&&v!==void 0?v:(r=class extends b{},l(r,"AnimationEvent"),r);var T;let O=(T=e.ClipboardEvent)!==null&&T!==void 0?T:(n=class extends b{},l(n,"ClipboardEvent"),n);var C;let E=(C=e.PopStateEvent)!==null&&C!==void 0?C:(o=class extends b{},l(o,"PopStateEvent"),o);var w;let _=(w=e.ProgressEvent)!==null&&w!==void 0?w:(i=class extends b{},l(i,"ProgressEvent"),i);var R;let N=(R=e.TransitionEvent)!==null&&R!==void 0?R:(s=class extends b{},l(s,"TransitionEvent"),s);var j;let D=(j=e.UIEvent)!==null&&j!==void 0?j:(a=class extends b{},l(a,"UIEvent"),a);var P;let M=(P=e.CompositionEvent)!==null&&P!==void 0?P:(u=class extends D{},l(u,"CompositionEvent"),u);var k;let z=(k=e.FocusEvent)!==null&&k!==void 0?k:(c=class extends D{},l(c,"FocusEvent"),c);var J;let ie=(J=e.InputEvent)!==null&&J!==void 0?J:(d=class extends D{},l(d,"InputEvent"),d);var pe;let oe=(pe=e.KeyboardEvent)!==null&&pe!==void 0?pe:(p=class extends D{},l(p,"KeyboardEvent"),p);var q;let H=(q=e.MouseEvent)!==null&&q!==void 0?q:(h=class extends D{},l(h,"MouseEvent"),h);var X;let ne=(X=e.DragEvent)!==null&&X!==void 0?X:(f=class extends H{},l(f,"DragEvent"),f);var ee;let le=(ee=e.PointerEvent)!==null&&ee!==void 0?ee:(m=class extends H{},l(m,"PointerEvent"),m);var ye;let Ie=(ye=e.TouchEvent)!==null&&ye!==void 0?ye:(y=class extends D{},l(y,"TouchEvent"),y);return{Event:b,AnimationEvent:S,ClipboardEvent:O,PopStateEvent:E,ProgressEvent:_,TransitionEvent:N,UIEvent:D,CompositionEvent:M,FocusEvent:z,InputEvent:ie,KeyboardEvent:oe,MouseEvent:H,DragEvent:ne,PointerEvent:le,TouchEvent:Ie}}l(ND,"getEventConstructors");function Eo(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:l(()=>n??null,"get")})}l(Eo,"assignProps");function dt(e){return Number(e??0)}l(dt,"sanitizeNumber");function ID(e,{clipboardData:t}){Eo(e,{clipboardData:t})}l(ID,"initClipboardEvent");function MD(e,{relatedTarget:t}){Eo(e,{relatedTarget:t})}l(MD,"initFocusEvent");function kD(e,{data:t,inputType:r,isComposing:n}){Eo(e,{data:t,isComposing:!!n,inputType:String(r)})}l(kD,"initInputEvent");function Ts(e,{view:t,detail:r}){Eo(e,{view:t,detail:dt(r??0)})}l(Ts,"initUIEvent");function sd(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:s,modifierFn:a,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:d,modifierSymbol:p,modifierSymbolLock:h}){Eo(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(f){return!!{Alt:t,AltGraph:i,CapsLock:s,Control:r,Fn:a,FnLock:u,Meta:n,NumLock:c,ScrollLock:d,Shift:o,Symbol:p,SymbolLock:h}[f]}})}l(sd,"initUIEventModifiers");function jD(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:s}){Eo(e,{key:String(t),code:String(r),location:dt(n),repeat:!!o,isComposing:!!i,charCode:s})}l(jD,"initKeyboardEvent");function eb(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:s=r,button:a,buttons:u,relatedTarget:c,offsetX:d,offsetY:p,pageX:h,pageY:f}){Eo(e,{screenX:dt(n),screenY:dt(o),clientX:dt(i),x:dt(i),clientY:dt(s),y:dt(s),button:dt(a),buttons:dt(u),relatedTarget:c,offsetX:dt(d),offsetY:dt(p),pageX:dt(h),pageY:dt(f)})}l(eb,"initMouseEvent");function qD(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:s,tiltY:a,twist:u,pointerType:c,isPrimary:d}){Eo(e,{pointerId:dt(t),width:dt(r??1),height:dt(n??1),pressure:dt(o),tangentialPressure:dt(i),tiltX:dt(s),tiltY:dt(a),twist:dt(u),pointerType:String(c),isPrimary:!!d})}l(qD,"initPointerEvent");function LD(e,t,r,n=!1){(AD(t)||RD(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=aS(t,e,r);return lS.call(this,e,o,n)}l(LD,"dispatchUIEvent");function lS(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=ri[o])===null||n===void 0?void 0:n.call(ri,t,e,this);if(i){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:l(()=>s,"get")}),Object.defineProperty(t,"preventDefault",{value:l(()=>{s=t.cancelable},"value")}),Yi(()=>e.dispatchEvent(t)),s||i(),!s}return Yi(()=>e.dispatchEvent(t))}l(lS,"dispatchEvent");function ko(e,t,r){let n=aS(t,e,r);Yi(()=>e.dispatchEvent(n))}l(ko,"dispatchDOMEvent");var QC=Symbol("patched focus/blur methods");function uS(e){if(e.prototype[QC])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:l(()=>o,"get")},blur:{configurable:!0,get:l(()=>i,"get")},[QC]:{configurable:!0,get:l(()=>({focus:t,blur:r}),"get")}});let n;function o(s){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,s);let a=tb(this.ownerDocument);if(a===this)return;let u=Symbol("focus call");n=u,a&&(r.call(a),ko(a,"blur",{relatedTarget:this}),ko(a,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,s),ko(this,"focus",{relatedTarget:a})),n===u&&ko(this,"focusin",{relatedTarget:a})}l(o,"patchedFocus");function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let s=tb(this.ownerDocument);s===this&&(n=Symbol("blur call"),r.call(this),ko(s,"blur",{relatedTarget:null}),ko(s,"focusout",{relatedTarget:null}))}l(i,"patchedBlur")}l(uS,"patchFocus");function tb(e){let t=Ba(e);return(t==null?void 0:t.tagName)==="BODY"?null:t}l(tb,"getActiveTarget");var Dm=Symbol("Interceptor for programmatical calls");function Ri(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][Dm])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...a){let{applyNative:u=!1,realArgs:c,then:d}=r.call(this,...a),p=(!u&&o||n)[i];i==="set"?p.call(this,c):p.call(this,...c),d==null||d()}l(s,"intercept"),s[Dm]=Dm,Object.defineProperty(e,t,{...o??n,[i]:s})}l(Ri,"prepareInterceptor");function $D(e){Ri(e,"value",l(function(t){let r=tD(t);return r&&mD(this),{applyNative:!!r,realArgs:DD(this,t),then:r?void 0:()=>yD(this,String(t))}},"interceptorImpl"))}l($D,"prepareValueInterceptor");function DD(e,t){return ke(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}l(DD,"sanitizeValue");function FD(e){Ri(e,"setSelectionRange",l(function(t,...r){let n=rD(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:l(()=>n?void 0:Al(e),"then")}},"interceptorImpl")),Ri(e,"selectionStart",l(function(t){return{realArgs:t,then:l(()=>Al(e),"then")}},"interceptorImpl")),Ri(e,"selectionEnd",l(function(t){return{realArgs:t,then:l(()=>Al(e),"then")}},"interceptorImpl")),Ri(e,"select",l(function(){return{realArgs:[],then:l(()=>iD(e,{anchorOffset:0,focusOffset:fn(e).length}),"then")}},"interceptorImpl"))}l(FD,"prepareSelectionInterceptor");function BD(e){Ri(e,"setRangeText",l(function(...t){return{realArgs:t,then:l(()=>{Ph(e),Al(e)},"then")}},"interceptorImpl"))}l(BD,"prepareRangeTextInterceptor");var Vs=Symbol("Node prepared with document state workarounds");function cS(e){e[Vs]||(e.addEventListener("focus",t=>{let r=t.target;rb(r)},{capture:!0,passive:!0}),e.activeElement&&rb(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=oD(r);n!==void 0&&(r.value!==n&&ko(r,"change"),eS(r))},{capture:!0,passive:!0}),e[Vs]=Vs)}l(cS,"prepareDocument");function rb(e){e[Vs]||(ke(e,["input","textarea"])&&($D(e),FD(e),BD(e)),e[Vs]=Vs)}l(rb,"prepareElement");function UD(e){return VD(e)?e:e.ownerDocument}l(UD,"getDocumentFromNode");function VD(e){return e.nodeType===9}l(VD,"isDocument");var Ar=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function js(e,t){e.levelRefs[t]={}}l(js,"setLevelRef");function fl(e,t){return e.levelRefs[t]}l(fl,"getLevelRef");function Qi(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}l(Qi,"wait");var ad=(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 Ro(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Ro,"_define_property");var yn=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),Yte=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function nb(e){return Yte.includes(e)}l(nb,"isModifierKey");var Xte=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function ob(e){return Xte.includes(e)}l(ob,"isModifierLock");var HD=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){let n=String(r.key),o=String(r.code),i=id(t.config.document);this.setKeydownTarget(i),this.pressed.add(o,r),nb(n)&&(this.modifiers[n]=!0);let s=t.dispatchUIEvent(i,"keydown",{key:n,code:o});ob(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),s&&this.pressed.setUnprevented(o),s&&this.hasKeyPress(n)&&t.dispatchUIEvent(id(t.config.document),"keypress",{key:n,code:o,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),o=String(r.code),i=this.pressed.isUnprevented(o);this.pressed.delete(o),nb(n)&&!this.pressed.values().find(s=>s.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(id(t.config.document),"keyup",{key:n,code:o},!i),ob(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){Ro(this,"system",void 0),Ro(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}),Ro(this,"pressed",new class{add(r,n){var o,i,s;(s=(o=this.registry)[i=r])!==null&&s!==void 0||(o[i]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){let n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){Ro(this,"registry",{})}}),Ro(this,"carryChar",""),Ro(this,"lastKeydownTarget",void 0),Ro(this,"modifierLockStart",{}),this.system=t}};l(HD,"KeyboardHost");var Qte=HD,Zte=[..."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:yn.LEFT},{code:"AltRight",key:"Alt",location:yn.RIGHT},{code:"ShiftLeft",key:"Shift",location:yn.LEFT},{code:"ShiftRight",key:"Shift",location:yn.RIGHT},{code:"ControlLeft",key:"Control",location:yn.LEFT},{code:"ControlRight",key:"Control",location:yn.RIGHT},{code:"MetaLeft",key:"Meta",location:yn.LEFT},{code:"MetaRight",key:"Meta",location:yn.RIGHT},{code:"OSLeft",key:"OS",location:yn.LEFT},{code:"OSRight",key:"OS",location:yn.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"}],ere=[{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 JD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(JD,"_define_property");var zD=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=pp(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=pp(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){JD(this,"pressed",{})}};l(zD,"Buttons");var KD=zD,ZC={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function pp(e=0){return e in ZC?ZC[e]:Number(e)}l(pp,"getMouseButtonId");var e_={1:2,2:1};function fp(e){return e=pp(e),e in e_?e_[e]:e}l(fp,"getMouseEventButton");function GD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(GD,"_define_property");var WD=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){GD(this,"pressedKeys",new Set)}};l(WD,"Device");var tre=WD;function Hs(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)]}l(Hs,"getTreeDiff");function hp({target:e,node:t,offset:r}){return pn(e)?{node:e,offset:r??fn(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:dS(e,r)}l(hp,"resolveCaretPosition");function dS(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),s=String(i.textContent);if(s.length)if(t!==void 0&&s.length<t)t-=s.length;else{if(i.nodeType===1)return dS(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}l(dS,"findNodeAtTextOffset");function YD({document:e,target:t,clickCount:r,node:n,offset:o}){if(Q$(t))return;let i=pn(t),s=String(i?fn(t):t.textContent),[a,u]=n?[o,o]:XD(s,o,r);if(i)return ps(t,{anchorOffset:a??s.length,focusOffset:u??s.length}),{node:t,start:a??0,end:u??s.length};{let{node:c,offset:d}=hp({target:t,node:n,offset:a}),{node:p,offset:h}=hp({target:t,node:n,offset:u}),f=t.ownerDocument.createRange();try{f.setStart(c,d),f.setEnd(p,h)}catch{throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m==null||m.removeAllRanges(),m==null||m.addRange(f.cloneRange()),f}}l(YD,"setSelectionPerMouseDown");function XD(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]}l(XD,"getTextRange");function QD(e,{document:t,target:r,node:n,offset:o}){let i=hp({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let s=i.offset<e.start?e.end:e.start,a=i.offset>e.end||i.offset<e.start?i.offset:e.end;ps(e.node,{anchorOffset:s,focusOffset:a})}}else{let s=e.cloneRange(),a=s.comparePoint(i.node,i.offset);a<0?s.setStart(i.node,i.offset):a>0&&s.setEnd(i.node,i.offset);let u=t.getSelection();u==null||u.removeAllRanges(),u==null||u.addRange(s.cloneRange())}}l(QD,"modifySelectionPerMouseMove");function pS(e,t){var r,n,o,i,s,a,u,c,d,p,h,f,m,y,g,b,v,S,T,O,C,E,w,_;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)||((s=e.coords)===null||s===void 0?void 0:s.clientX)!==((a=t.coords)===null||a===void 0?void 0:a.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((c=t.coords)===null||c===void 0?void 0:c.clientY)||((d=e.coords)===null||d===void 0?void 0:d.offsetX)!==((p=t.coords)===null||p===void 0?void 0:p.offsetX)||((h=e.coords)===null||h===void 0?void 0:h.offsetY)!==((f=t.coords)===null||f===void 0?void 0:f.offsetY)||((m=e.coords)===null||m===void 0?void 0:m.pageX)!==((y=t.coords)===null||y===void 0?void 0:y.pageX)||((g=e.coords)===null||g===void 0?void 0:g.pageY)!==((b=t.coords)===null||b===void 0?void 0:b.pageY)||((v=e.coords)===null||v===void 0?void 0:v.screenX)!==((S=t.coords)===null||S===void 0?void 0:S.screenX)||((T=e.coords)===null||T===void 0?void 0:T.screenY)!==((O=t.coords)===null||O===void 0?void 0:O.screenY)||((C=e.caret)===null||C===void 0?void 0:C.node)!==((E=t.caret)===null||E===void 0?void 0:E.node)||((w=e.caret)===null||w===void 0?void 0:w.offset)!==((_=t.caret)===null||_===void 0?void 0:_.offset)}l(pS,"isDifferentPointerPosition");function No(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(No,"_define_property");var ZD=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!pS(o,r))return;let s=this.getTarget(t),a=this.getEventInit("mousemove"),[u,c]=Hs(i,s);return{leave:l(()=>{i!==s&&(t.dispatchUIEvent(i,"mouseout",a),u.forEach(d=>t.dispatchUIEvent(d,"mouseleave",a)))},"leave"),enter:l(()=>{i!==s&&(t.dispatchUIEvent(s,"mouseover",a),c.forEach(d=>t.dispatchUIEvent(d,"mouseenter",a)))},"enter"),move:l(()=>{n||(t.dispatchUIEvent(s,"mousemove",a),this.modifySelecting(t))},"move")}}down(t,r,n){let o=this.buttons.down(r);if(o===void 0)return;let i=this.getTarget(t);this.buttonDownTarget[o]=i;let s=this.getEventInit("mousedown",r.button),a=In(i);!n&&(a||t.dispatchUIEvent(i,"mousedown",s))&&(this.startSelecting(t,s.detail),ho(i)),!a&&fp(r.button)===2&&t.dispatchUIEvent(i,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let o=this.buttons.up(r);if(o===void 0)return;let i=this.getTarget(t);if(!In(i)){if(!n){let a=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(i,"mouseup",a),this.endSelecting()}let s=Hs(this.buttonDownTarget[o],i)[2][0];if(s){let a=this.getEventInit("click",r.button);a.detail&&(t.dispatchUIEvent(s,a.button===0?"click":"auxclick",a),a.button===0&&a.detail===2&&t.dispatchUIEvent(s,"dblclick",{...this.getEventInit("dblclick",r.button),detail:a.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=fp(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,o;this.selecting=YD({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(o=this.position.caret)===null||o===void 0?void 0:o.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&QD(this.selecting,{document:t.config.document,target:this.getTarget(t),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})}endSelecting(){this.selecting=void 0}constructor(){No(this,"position",{}),No(this,"buttons",new KD),No(this,"selecting",void 0),No(this,"buttonDownTarget",{}),No(this,"clickCount",new class{incOnClick(t){let r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){No(this,"down",{}),No(this,"count",{})}})}};l(ZD,"Mouse");var rre=ZD;function fu(e,t){var r;return((r=fS(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}l(fu,"hasPointerEvents");function eF(e){let t=Lr(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}l(eF,"closestPointerEventsDeclaration");var t_=Symbol("Last check for pointer-events");function fS(e,t){let r=t[t_];if(!(e.config.pointerEventsCheck!==ad.Never&&(!r||ib(e.config.pointerEventsCheck,ad.EachApiCall)&&r[Ar.Call]!==fl(e,Ar.Call)||ib(e.config.pointerEventsCheck,ad.EachTrigger)&&r[Ar.Trigger]!==fl(e,Ar.Trigger))))return r==null?void 0:r.result;let n=eF(t);return t[t_]={[Ar.Call]:fl(e,Ar.Call),[Ar.Trigger]:fl(e,Ar.Trigger),result:n},n}l(fS,"checkPointerEvents");function qs(e,t){let r=fS(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\`:`,"",tF(r.tree)].join(`
|
|
375
|
+
`))}l(qs,"assertPointerEvents");function tF(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,rF(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(`
|
|
376
|
+
`)}l(tF,"printTree");function rF(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(s=>{var a;return(a=s.textContent)===null||a===void 0?void 0:a.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})`:""}l(rF,"getLabelDescr");function ib(e,t){return(e&t)>0}l(ib,"hasBitFlag");function vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(vn,"_define_property");var nF=class{init(t){let r=this.getTarget(t),[,n]=Hs(null,r),o=this.getEventInit();return qs(t,r),t.dispatchUIEvent(r,"pointerover",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerenter",o)),this}move(t,r){let n=this.position,o=this.getTarget(t);if(this.position=r,!pS(n,r))return;let i=this.getTarget(t),s=this.getEventInit(-1),[a,u]=Hs(o,i);return{leave:l(()=>{fu(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",s),a.forEach(c=>t.dispatchUIEvent(c,"pointerleave",s)))},"leave"),enter:l(()=>{qs(t,i),o!==i&&(t.dispatchUIEvent(i,"pointerover",s),u.forEach(c=>t.dispatchUIEvent(c,"pointerenter",s)))},"enter"),move:l(()=>{t.dispatchUIEvent(i,"pointermove",s)},"move")}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);qs(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;let n=this.getTarget(t);qs(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=Hs(r,null),o=this.getEventInit();fu(t,r)&&(t.dispatchUIEvent(r,"pointerout",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerleave",o))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:fp(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){vn(this,"pointerId",void 0),vn(this,"pointerType",void 0),vn(this,"isPrimary",void 0),vn(this,"buttons",void 0),vn(this,"isMultitouch",!1),vn(this,"isCancelled",!1),vn(this,"isDown",!1),vn(this,"isPrevented",!1),vn(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};l(nF,"Pointer");var nre=nF;function Gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Gn,"_define_property");var oF=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);let o=this.getPointerName(r),i=r.pointerType==="touch"?this.pointers.new(o,r.pointerType,this.buttons):this.pointers.get(o);i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),i.pointerType==="touch"&&i.init(t),i.down(t,r.button),i.pointerType!=="touch"&&this.mouse.down(t,r,i.isPrevented)}async move(t,r,n){let o=this.pointers.get(r),i=o.move(t,n),s=o.pointerType==="touch"?void 0:this.mouse.move(t,n,o.isPrevented);i==null||i.leave(),s==null||s.leave(),i==null||i.enter(),s==null||s.enter(),i==null||i.move(),s==null||s.move()}async release(t,r,n){let o=this.devices.get(r.pointerType);o.removePressed(r),this.buttons.up(r);let i=this.pointers.get(this.getPointerName(r)),s=i.isPrevented;if(i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),o.countPressed===0&&i.up(t,r.button),i.pointerType==="touch"&&i.release(t),i.pointerType==="touch"&&!i.isMultitouch){let a=this.mouse.move(t,n,s);a==null||a.leave(),a==null||a.enter(),a==null||a.move(),this.mouse.down(t,r,s)}if(!i.isMultitouch){let a=this.mouse.move(t,n,s);a==null||a.leave(),a==null||a.enter(),a==null||a.move(),this.mouse.up(t,r,s)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){Gn(this,"system",void 0),Gn(this,"mouse",void 0),Gn(this,"buttons",void 0),Gn(this,"devices",new class{get(r){var n,o,i;return(i=(n=this.registry)[o=r])!==null&&i!==void 0?i:n[o]=new tre}constructor(){Gn(this,"registry",{})}}),Gn(this,"pointers",new class{new(r,n,o){let i=n!=="touch"||!Object.values(this.registry).some(s=>s.pointerType==="touch"&&!s.isCancelled);return i||Object.values(this.registry).forEach(s=>{s.pointerType===n&&!s.isCancelled&&(s.isMultitouch=!0)}),this.registry[r]=new nre({pointerId:this.nextId++,pointerType:n,isPrimary:i},o),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){Gn(this,"registry",{}),Gn(this,"nextId",1)}}),this.system=t,this.buttons=new KD,this.mouse=new rre,this.pointers.new("mouse","mouse",this.buttons)}};l(oF,"PointerHost");var ore=oF;function sb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(sb,"_define_property");var iF=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(){sb(this,"keyboard",new Qte(this)),sb(this,"pointer",new ore(this))}};l(iF,"System");var sF=iF;async function aF(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}l(aF,"click");async function lF(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}l(lF,"dblClick");async function uF(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}l(uF,"tripleClick");async function cF(e){return this.pointer({target:e})}l(cF,"hover");async function dF(e){return qs(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}l(dF,"unhover");async function pF({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}l(pF,"tab");var hS=(function(e){return e["{"]="}",e["["]="]",e})(hS||{});function mS(e,t){let r=0,n=e[r]in hS?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?fF(e,r,t):hF(e,r,o,t)}}l(mS,"readNextDescriptor");function fF(e,t,r){let n=e[t];return yS(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}l(fF,"readPrintableChar");function hF(e,t,r,n){var o,i;let s=e[t]==="/"?"/":"";t+=s.length;let a=r==="{"&&e[t]==="\\";t+=Number(a);let u=a?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];yS(u,e,t,n),t+=u.length;var c;let d=(c=(i=e.slice(t).match(/^>\d+/))===null||i===void 0?void 0:i[0])!==null&&c!==void 0?c:"";t+=d.length;let p=e[t]==="/"||!d&&e[t]===">"?e[t]:"";t+=p.length;let h=hS[r],f=e[t]===h?h:"";if(!f)throw new Error(gS([!d&&"repeat modifier",!p&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:d?Math.max(Number(d.substr(1)),1):1,releaseSelf:mF(p,d)}}l(hF,"readTag");function yS(e,t,r,n){if(!e)throw new Error(gS("key descriptor",t[r],t,n))}l(yS,"assertDescriptor");function mF(e,t){if(e)return e==="/";if(t)return!1}l(mF,"hasReleaseSelf");function gS(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
377
|
+
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"}
|
|
378
|
+
for more information about how userEvent parses your input.`}l(gS,"getErrorMessage");function yF(e,t){let r=[];do{let{type:o,descriptor:i,consumedLength:s,releasePrevious:a,releaseSelf:u=!0,repeat:c}=mS(t,"keyboard");var n;let d=(n=e.find(p=>{if(o==="["){var h;return((h=p.code)===null||h===void 0?void 0:h.toLowerCase())===i.toLowerCase()}else if(o==="{"){var f;return((f=p.key)===null||f===void 0?void 0:f.toLowerCase())===i.toLowerCase()}return p.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:d,releasePrevious:a,releaseSelf:u,repeat:c}),t=t.slice(s)}while(t);return r}l(yF,"parseKeyDef");async function gF(e){let t=yF(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Qi(this.config),await bF(this,t[r])}l(gF,"keyboard");async function bF(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 s=1;s<=o;s++)await i.keyboard.keydown(e,t),s<o&&await Qi(e.config);n&&await i.keyboard.keyup(e,t)}}l(bF,"keyboardAction");async function vF(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}l(vF,"releaseAllKeys");function bS(e){let t=pn(e)?{"text/plain":EF(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Ch(Lr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}l(bS,"copySelection");function EF(e){let t=ya(e);return fn(e).substring(t.startOffset,t.endOffset)}l(EF,"readSelectedValueFromInput");async function wF(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=bS(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Y0(e,n),n}l(wF,"copy");async function SF(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=bS(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Y0(r.ownerDocument,n),n}l(SF,"cut");async function xF(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"?TF(t,e):e)!==null&&o!==void 0?o:await J$(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}l(xF,"paste");function TF(e,t){let r=Ch(Lr(e));return r.setData("text",t),r}l(TF,"getClipboardDataFromString");function ab(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:s=!0}=mS(t,"pointer"),a=e.find(u=>u.name===n);a&&r.push({keyDef:a,releasePrevious:i,releaseSelf:s}),t=t.slice(o)}while(t);return r}l(ab,"parseKeyDef");async function CF(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...ab(t,n)):"keys"in n?r.push(...ab(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Qi(this.config),await _F(this,r[n]);this.system.pointer.resetClickCount()}l(CF,"pointer");async function _F(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 s,a,u,c;let d={target:(s=t.target)!==null&&s!==void 0?s:OF(e,i),coords:(a=t.coords)!==null&&a!==void 0?a:i==null?void 0:i.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:lb(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:lb(t)||i==null||(n=i.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(js(e,Ar.Trigger),await e.system.pointer.release(e,t.keyDef,d)),t.releasePrevious||(js(e,Ar.Trigger),await e.system.pointer.press(e,t.keyDef,d),t.releaseSelf&&(js(e,Ar.Trigger),await e.system.pointer.release(e,t.keyDef,d)))):(js(e,Ar.Trigger),await e.system.pointer.move(e,o,d))}l(_F,"pointerAction");function lb(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)}l(lb,"hasCaretPosition");function OF(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}l(OF,"getPrevTarget");async function PF(e){if(!Wi(e)||In(e))throw new Error("clear()` is only supported on editable elements.");if(ho(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(iS(e),!OD(e))throw new Error("The element content to be cleared could not be selected.");Xi(this,e,"","deleteContentBackward")}l(PF,"clear");async function AF(e,t){return vS.call(this,!0,e,t)}l(AF,"selectOptions");async function RF(e,t){return vS.call(this,!1,e,t)}l(RF,"deselectOptions");async function vS(e,t,r){if(!e&&!t.multiple)throw De().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(a=>{if(typeof a!="string"&&o.includes(a))return a;{let u=o.find(c=>c.value===a||c.innerHTML===a);if(u)return u;throw De().getElementError(`Value "${String(a)}" not found in options`,t)}}).filter(a=>!In(a));if(In(t)||!i.length)return;let s=l(a=>{a.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(ke(t,"select"))if(t.multiple)for(let a of i){let u=this.config.pointerEventsCheck===0?!0:fu(this,a);u&&(this.dispatchUIEvent(a,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(a,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(a,"pointermove"),this.dispatchUIEvent(a,"mousemove"),this.dispatchUIEvent(a,"pointerdown"),this.dispatchUIEvent(a,"mousedown")),ho(t),u&&(this.dispatchUIEvent(a,"pointerup"),this.dispatchUIEvent(a,"mouseup")),s(a),u&&this.dispatchUIEvent(a,"click"),await Qi(this.config)}else if(i.length===1){let a=this.config.pointerEventsCheck===0?!0:fu(this,t);a?await this.click(t):ho(t),s(i[0]),a&&(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 Qi(this.config)}else throw De().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let a of i)await this.click(a),await this.unhover(a);else throw De().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}l(vS,"selectOptionsBase");async function NF(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&&ks(e,o,i??o),await this.keyboard(t),n||await vF(this))}l(NF,"type");var r_=Symbol("files and value properties are mocked");function ld(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}l(ld,"restoreProperty");function IF(e,t){var r;(r=e[r_])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function s(){ld(e,"type",n),ld(e,"value",o),ld(e,"files",i)}l(s,"restore"),e[r_]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:l(()=>t,"get")},value:{configurable:!0,get:l(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),set(a){if(a==="")s();else{var u;o==null||(u=o.set)===null||u===void 0||u.call(e,a)}}},type:{configurable:!0,get:l(()=>"file","get"),set(a){a!=="file"&&(s(),e.type=a)}}})}l(IF,"setFiles");async function MF(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(In(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||kF(i,r.accept)).slice(0,r.multiple?void 0:1),o=l(()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((s,a)=>{var u;return s===((u=r.files)===null||u===void 0?void 0:u.item(a))})||(IF(r,Th(Lr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}l(MF,"upload");function hl(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}l(hl,"normalize");function kF(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return hl(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?hl(e.name).endsWith(n):r.includes(n)?hl(e.type).startsWith(n.replace("*","")):hl(e.type)===n)}l(kF,"isAcceptableFile");var n_={click:aF,dblClick:lF,tripleClick:uF,hover:cF,unhover:dF,tab:pF,keyboard:gF,copy:wF,cut:SF,paste:xF,pointer:CF,clear:PF,deselectOptions:RF,selectOptions:AF,type:NF,upload:MF};function jF(e){return De().asyncWrapper(e)}l(jF,"wrapAsync");var qF={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:Zte,pointerMap:ere,pointerEventsCheck:ad.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:l(()=>Promise.resolve(),"advanceTimers")},ire={...qF,writeToClipboard:!0};function ES(e={},t=ire,r){let n=FF(e,r,t);return{...t,...e,document:n}}l(ES,"createConfig");function LF(e={}){let t=ES(e);cS(t.document),uS(Lr(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return U$(n),Rh(t).api}l(LF,"setupMain");function er({keyboardState:e,pointerState:t,...r}={},n){let o=ES(r,qF,n);cS(o.document),uS(Lr(o.document).HTMLElement);var i;let s=(i=t??e)!==null&&i!==void 0?i:new sF;return{api:Rh(o,s).api,system:s}}l(er,"setupDirect");function $F(e){return Rh({...this.config,...e},this.system).api}l($F,"setupSub");function DF(e,t){function r(...n){return js(e,Ar.Call),jF(()=>t.apply(e,n).then(async o=>(await Qi(e.config),o)))}return l(r,"method"),Object.defineProperty(r,"name",{get:l(()=>t.name,"get")}),r}l(DF,"wrapAndBindImpl");function Rh(e,t=new sF){let r={};return Object.assign(r,{config:e,dispatchEvent:lS.bind(r),dispatchUIEvent:LD.bind(r),system:t,levelRefs:{},...n_}),{instance:r,api:{...Object.fromEntries(Object.entries(n_).map(([n,o])=>[n,DF(r,o)])),setup:$F.bind(r)}}}l(Rh,"createInstance");function FF(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&UD(t))!==null&&o!==void 0?o:r.document}l(FF,"getDocument");var BF={};mr(BF,{clear:()=>UF,click:()=>VF,copy:()=>HF,cut:()=>JF,dblClick:()=>zF,deselectOptions:()=>KF,hover:()=>GF,keyboard:()=>WF,paste:()=>XF,pointer:()=>YF,selectOptions:()=>QF,tab:()=>nB,tripleClick:()=>ZF,type:()=>eB,unhover:()=>tB,upload:()=>rB});function UF(e){return er().api.clear(e)}l(UF,"clear");function VF(e,t={}){return er(t,e).api.click(e)}l(VF,"click");function HF(e={}){return er(e).api.copy()}l(HF,"copy");function JF(e={}){return er(e).api.cut()}l(JF,"cut");function zF(e,t={}){return er(t).api.dblClick(e)}l(zF,"dblClick");function KF(e,t,r={}){return er(r).api.deselectOptions(e,t)}l(KF,"deselectOptions");function GF(e,t={}){return er(t).api.hover(e)}l(GF,"hover");async function WF(e,t={}){let{api:r,system:n}=er(t);return r.keyboard(e).then(()=>n)}l(WF,"keyboard");async function YF(e,t={}){let{api:r,system:n}=er(t);return r.pointer(e).then(()=>n)}l(YF,"pointer");function XF(e,t){return er(t).api.paste(e)}l(XF,"paste");function QF(e,t,r={}){return er(r).api.selectOptions(e,t)}l(QF,"selectOptions");function ZF(e,t={}){return er(t).api.tripleClick(e)}l(ZF,"tripleClick");function eB(e,t,r={}){return er(r,e).api.type(e,t,r)}l(eB,"type");function tB(e,t={}){let{api:r,system:n}=er(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}l(tB,"unhover");function rB(e,t,r={}){return er(r).api.upload(e,t)}l(rB,"upload");function nB(e={}){return er().api.tab(e)}l(nB,"tab");var oB={...BF,setup:LF},ub=Na({...mq},{intercept:l((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});ub.screen=new Proxy(ub.screen,{get(e,t,r){return xt.warn(Y8`
|
|
379
|
+
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
380
|
+
More info: https://storybook.js.org/docs/essentials/interactions
|
|
381
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:sre,configure:are,createEvent:lre,fireEvent:ure,findAllByAltText:cre,findAllByDisplayValue:dre,findAllByLabelText:pre,findAllByPlaceholderText:fre,findAllByRole:hre,findAllByTestId:mre,findAllByText:yre,findAllByTitle:gre,findByAltText:bre,findByDisplayValue:vre,findByLabelText:Ere,findByPlaceholderText:wre,findByRole:Sre,findByTestId:xre,findByText:Tre,findByTitle:Cre,getAllByAltText:_re,getAllByDisplayValue:Ore,getAllByLabelText:Pre,getAllByPlaceholderText:Are,getAllByRole:Rre,getAllByTestId:Nre,getAllByText:Ire,getAllByTitle:Mre,getByAltText:kre,getByDisplayValue:jre,getByLabelText:qre,getByPlaceholderText:Lre,getByRole:$re,getByTestId:Dre,getByText:Fre,getByTitle:Bre,getConfig:Ure,getDefaultNormalizer:Vre,getElementError:Hre,getNodeText:Jre,getQueriesForElement:zre,getRoles:Kre,getSuggestedQuery:Gre,isInaccessible:Wre,logDOM:Yre,logRoles:Xre,prettyDOM:Qre,queries:Zre,queryAllByAltText:ene,queryAllByAttribute:tne,queryAllByDisplayValue:rne,queryAllByLabelText:nne,queryAllByPlaceholderText:one,queryAllByRole:ine,queryAllByTestId:sne,queryAllByText:ane,queryAllByTitle:lne,queryByAltText:une,queryByAttribute:cne,queryByDisplayValue:dne,queryByLabelText:pne,queryByPlaceholderText:fne,queryByRole:hne,queryByTestId:mne,queryByText:yne,queryByTitle:gne,queryHelpers:bne,screen:vne,waitFor:Ene,waitForElementToBeRemoved:wne,within:iB,prettyFormat:Sne}=ub,sB=oB,{userEvent:xne}=Na({userEvent:oB},{intercept:!0}),{expect:Tne}=Na({expect:fq},{getKeys:l((e,t)=>{if("constructor"in e&&e.constructor===B){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)},"getKeys"),mutate:!0,intercept:l(e=>e!=="expect","intercept")}),o_=!1,Cne=l(e=>{var r;let{parameters:t}=e;(r=t==null?void 0:t.actions)!=null&&r.disable||o_||(g0((n,o)=>{let i=n.getMockName();i!=="spy"&&(!/^next\/.*::/.test(i)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(s=>i.startsWith(s)))&&Ua(i)(o)}),o_=!0)},"logActionsWhenMockCalled"),_ne=[Cne],i_=l(()=>({...SI,...TI}),"default"),mp="backgrounds",One={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:nn}=globalThis,Pne=l(()=>{var e;return globalThis!=null&&globalThis.matchMedia?!!((e=globalThis.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&e.matches):!1},"isReduceMotionEnabled"),s_=l(e=>{(Array.isArray(e)?e:[e]).forEach(Ane)},"clearStyles"),Ane=l(e=>{if(!nn)return;let t=nn.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},"clearStyle"),Rne=l((e,t)=>{if(!nn)return;let r=nn.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=nn.createElement("style");n.setAttribute("id",e),n.innerHTML=t,nn.head.appendChild(n)}},"addGridStyle"),Nne=l((e,t,r)=>{var o;if(!nn)return;let n=nn.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let i=nn.createElement("style");i.setAttribute("id",e),i.innerHTML=t;let s=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,a=nn.getElementById(s);a?(o=a.parentElement)==null||o.insertBefore(i,a):nn.head.appendChild(i)}},"addBackgroundStyle"),Ine={cellSize:100,cellAmount:10,opacity:.8},a_="addon-backgrounds",l_="addon-backgrounds-grid",Mne=Pne()?"":"transition: background-color 0.3s;",kne=l((e,t)=>{let{globals:r={},parameters:n={},viewMode:o,id:i}=t,{options:s=One,disable:a,grid:u=Ine}=n[mp]||{},c=r[mp]||{},d=typeof c=="string"?c:c==null?void 0:c.value,p=d?s[d]:void 0,h=typeof p=="string"?p:(p==null?void 0:p.value)||"transparent",f=typeof c=="string"?!1:c.grid||!1,m=!!p&&!a,y=o==="docs"?`#anchor--${i} .docs-story`:".sb-show-main",g=o==="docs"?`#anchor--${i} .docs-story`:".sb-show-main",b=n.layout===void 0||n.layout==="padded",v=o==="docs"?20:b?16:0,{cellAmount:S,cellSize:T,opacity:O,offsetX:C=v,offsetY:E=v}=u,w=o==="docs"?`${a_}-docs-${i}`:`${a_}-color`,_=o==="docs"?i:null;Zo(()=>{let N=`
|
|
382
|
+
${y} {
|
|
383
|
+
background: ${h} !important;
|
|
384
|
+
${Mne}
|
|
385
|
+
}`;if(!m){s_(w);return}Nne(w,N,_)},[y,w,_,m,h]);let R=o==="docs"?`${l_}-docs-${i}`:`${l_}`;return Zo(()=>{if(!f){s_(R);return}let N=[`${T*S}px ${T*S}px`,`${T*S}px ${T*S}px`,`${T}px ${T}px`,`${T}px ${T}px`].join(", "),j=`
|
|
386
|
+
${g} {
|
|
387
|
+
background-size: ${N} !important;
|
|
388
|
+
background-position: ${C}px ${E}px, ${C}px ${E}px, ${C}px ${E}px, ${C}px ${E}px !important;
|
|
389
|
+
background-blend-mode: difference !important;
|
|
390
|
+
background-image: linear-gradient(rgba(130, 130, 130, ${O}) 1px, transparent 1px),
|
|
391
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${O}) 1px, transparent 1px),
|
|
392
|
+
linear-gradient(rgba(130, 130, 130, ${O/2}) 1px, transparent 1px),
|
|
393
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${O/2}) 1px, transparent 1px) !important;
|
|
394
|
+
}
|
|
395
|
+
`;Rne(R,j)},[S,T,g,R,f,C,E,O]),e()},"withBackgroundAndGrid"),mP,jne=(mP=globalThis.FEATURES)!=null&&mP.backgrounds?[kne]:[],qne={[mp]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},Lne={[mp]:{value:void 0,grid:!1}},u_=l(()=>({decorators:jne,parameters:qne,initialGlobals:Lne}),"default"),Nh="storybook/highlight",$ne=`${Nh}/add`,Dne=`${Nh}/remove`,Fne=`${Nh}/reset`,Bne=`${Nh}/scroll-into-view`,c_=2147483647,jo=28,d_={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"]},Une="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),Mt=l((e,t={},r)=>{let n=Une.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",s=>{(s.key==="Enter"||s.key===" ")&&(s.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},"createElement"),Ac=l(e=>d_[e]&&Mt("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},d_[e].map(t=>Mt("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),"createIcon"),Vne=l(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}},"normalizeOptions"),Hne=l(e=>e instanceof Function,"isFunction"),rl=new Map,bi=new Map,Rc=new Map,Vn=l(e=>{let t=Symbol();return bi.set(t,[]),rl.set(t,e),{get:l(()=>rl.get(t),"get"),set:l(r=>{var i;let n=rl.get(t),o=Hne(r)?r(n):r;o!==n&&(rl.set(t,o),(i=bi.get(t))==null||i.forEach(s=>{var a;(a=Rc.get(s))==null||a(),Rc.set(s,s(o))}))},"set"),subscribe:l(r=>{var n;return(n=bi.get(t))==null||n.push(r),()=>{let o=bi.get(t);o&&bi.set(t,o.filter(i=>i!==r))}},"subscribe"),teardown:l(()=>{var r;(r=bi.get(t))==null||r.forEach(n=>{var o;(o=Rc.get(n))==null||o(),Rc.delete(n)}),bi.delete(t),rl.delete(t)},"teardown")}},"useStore"),p_=l(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 s=[...document.querySelectorAll(`:is(${i}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...(t==null?void 0:t.querySelectorAll(i))||[]];for(let a of s){let u=r.get(a);(!u||u.priority<=o)&&r.set(a,{...n,priority:o,selectors:Array.from(new Set(((u==null?void 0:u.selectors)||[]).concat(i)))})}}}return r},"mapElements"),Jne=l(e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:s}])=>{let{top:a,left:u,width:c,height:d}=t.getBoundingClientRect(),{position:p}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:s,top:p==="fixed"?a:a+window.scrollY,left:p==="fixed"?u:u+window.scrollX,width:c,height:d}}).sort((t,r)=>r.width*r.height-t.width*t.height),"mapBoxes"),f_=l((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},"isOverMenu"),h_=l((e,t,r)=>{if(!t||!r)return!1;let{left:n,top:o,width:i,height:s}=e;s<jo&&(o=o-Math.round((jo-s)/2),s=jo),i<jo&&(n=n-Math.round((jo-i)/2),i=jo),t.style.position==="fixed"&&(n+=window.scrollX,o+=window.scrollY);let{x:a,y:u}=r;return a>=n&&a<=n+i&&u>=o&&u<=o+s},"isTargeted"),zne=l((e,t,r={})=>{let{x:n,y:o}=t,{margin:i=5,topOffset:s=0,centered:a=!1}=r,{scrollX:u,scrollY:c,innerHeight:d,innerWidth:p}=window,h=Math.min(e.style.position==="fixed"?o-c:o,d-e.clientHeight-i-s+c),f=a?e.clientWidth/2:0,m=e.style.position==="fixed"?Math.max(Math.min(n-u,p-f-i),f+i):Math.max(Math.min(n,p-f-i+u),f+i+u);Object.assign(e.style,{...m!==n&&{left:`${m}px`},...h!==o&&{top:`${h}px`}})},"keepInViewport"),m_=l(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},"showPopover"),Kne=l(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},"hidePopover"),Gne=l(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}}),"getEventDetails"),nt="storybook-highlights-menu",y_="storybook-highlights-root",Wne="storybook-root",Yne=l(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=Vn([]),n=Vn(new Map),o=Vn([]),i=Vn(),s=Vn(),a=Vn([]),u=Vn([]),c=Vn(),d=Vn(),p=t.getElementById(y_);r.subscribe(()=>{p||(p=Mt("div",{id:y_}),t.body.appendChild(p))}),r.subscribe(E=>{let w=t.getElementById(Wne);if(!w)return;n.set(p_(E));let _=new MutationObserver(()=>n.set(p_(E)));return _.observe(w,{subtree:!0,childList:!0}),()=>{_.disconnect()}}),n.subscribe(E=>{let w=l(()=>requestAnimationFrame(()=>o.set(Jne(E))),"updateBoxes"),_=new ResizeObserver(w);_.observe(t.body),Array.from(E.keys()).forEach(N=>_.observe(N));let R=Array.from(t.body.querySelectorAll("*")).filter(N=>{let{overflow:j,overflowX:D,overflowY:P}=window.getComputedStyle(N);return["auto","scroll"].some(M=>[j,D,P].includes(M))});return R.forEach(N=>N.addEventListener("scroll",w)),()=>{_.disconnect(),R.forEach(N=>N.removeEventListener("scroll",w))}}),n.subscribe(E=>{let w=Array.from(E.keys()).filter(({style:R})=>R.position==="sticky"),_=l(()=>requestAnimationFrame(()=>{o.set(R=>R.map(N=>{if(w.includes(N.element)){let{top:j,left:D}=N.element.getBoundingClientRect();return{...N,top:j+window.scrollY,left:D+window.scrollX}}return N}))}),"updateBoxes");return t.addEventListener("scroll",_),()=>t.removeEventListener("scroll",_)}),n.subscribe(E=>{a.set(w=>w.filter(({element:_})=>E.has(_)))}),a.subscribe(E=>{E.length?(d.set(w=>E.some(_=>_.element===(w==null?void 0:w.element))?w:void 0),c.set(w=>E.some(_=>_.element===(w==null?void 0:w.element))?w:void 0)):(d.set(void 0),c.set(void 0),i.set(void 0))});let h=new Map(new Map);r.subscribe(E=>{E.forEach(({keyframes:w})=>{if(w){let _=h.get(w);_||(_=t.createElement("style"),_.setAttribute("data-highlight","keyframes"),h.set(w,_),t.head.appendChild(_)),_.innerHTML=w}}),h.forEach((w,_)=>{E.some(R=>R.keyframes===_)||(w.remove(),h.delete(_))})});let f=new Map(new Map);o.subscribe(E=>{E.forEach(w=>{let _=f.get(w.element);if(p&&!_){let R={popover:"manual","data-highlight-dimensions":`w${w.width.toFixed(0)}h${w.height.toFixed(0)}`,"data-highlight-coordinates":`x${w.left.toFixed(0)}y${w.top.toFixed(0)}`};_=p.appendChild(Mt("div",R,[Mt("div")])),f.set(w.element,_)}}),f.forEach((w,_)=>{E.some(({element:R})=>R===_)||(w.remove(),f.delete(_))})}),o.subscribe(E=>{let w=E.filter(R=>R.menu);if(!w.length)return;let _=l(R=>{requestAnimationFrame(()=>{let N=t.getElementById(nt),j={x:R.pageX,y:R.pageY};if(N&&!f_(N,j)){let D=w.filter(P=>{let M=f.get(P.element);return h_(P,M,j)});i.set(D.length?j:void 0),a.set(D)}})},"onClick");return t.addEventListener("click",_),()=>t.removeEventListener("click",_)});let m=l(()=>{let E=t.getElementById(nt),w=s.get();!w||E&&f_(E,w)||u.set(_=>{let R=o.get().filter(P=>{let M=f.get(P.element);return h_(P,M,w)}),N=_.filter(P=>R.includes(P)),j=R.filter(P=>!_.includes(P)),D=_.length-N.length;return j.length||D?[...N,...j]:_})},"updateHovered");s.subscribe(m),o.subscribe(m);let y=l(()=>{let E=d.get(),w=E?[E]:a.get(),_=w.length===1?w[0]:c.get(),R=i.get()!==void 0;o.get().forEach(N=>{var D;let j=f.get(N.element);if(j){let P=_===N,M=R?_?P:w.includes(N):(D=u.get())==null?void 0:D.includes(N);Object.assign(j.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...N.styles,...M?N.hoverStyles:{},...P?N.focusStyles:{},position:getComputedStyle(N.element).position==="fixed"?"fixed":"absolute",zIndex:c_-10,top:`${N.top}px`,left:`${N.left}px`,width:`${N.width}px`,height:`${N.height}px`,margin:0,padding:0,cursor:N.menu&&M?"pointer":"default",pointerEvents:N.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(j.children[0].style,{width:"100%",height:"100%",minHeight:`${jo}px`,minWidth:`${jo}px`,boxSizing:"content-box",padding:j.style.outlineWidth||"0px"}),m_(j)}})},"updateBoxStyles");o.subscribe(y),a.subscribe(y),u.subscribe(y),c.subscribe(y),d.subscribe(y);let g=l(()=>{var N;if(!p)return;let E=t.getElementById(nt);if(E)E.innerHTML="";else{let j={id:nt,popover:"manual"};E=p.appendChild(Mt("div",j)),p.appendChild(Mt("style",{},[`
|
|
396
|
+
#${nt} {
|
|
397
|
+
position: absolute;
|
|
398
|
+
z-index: ${c_};
|
|
399
|
+
width: 300px;
|
|
400
|
+
padding: 0px;
|
|
401
|
+
margin: 15px 0 0 0;
|
|
402
|
+
transform: translateX(-50%);
|
|
403
|
+
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
404
|
+
font-size: 12px;
|
|
405
|
+
background: white;
|
|
406
|
+
border: none;
|
|
407
|
+
border-radius: 6px;
|
|
408
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
|
|
409
|
+
color: #2E3438;
|
|
410
|
+
}
|
|
411
|
+
#${nt} ul {
|
|
412
|
+
list-style: none;
|
|
413
|
+
margin: 0;
|
|
414
|
+
padding: 0;
|
|
415
|
+
}
|
|
416
|
+
#${nt} > ul {
|
|
417
|
+
max-height: 300px;
|
|
418
|
+
overflow-y: auto;
|
|
419
|
+
padding: 4px 0;
|
|
420
|
+
}
|
|
421
|
+
#${nt} li {
|
|
422
|
+
padding: 0 4px;
|
|
423
|
+
margin: 0;
|
|
424
|
+
}
|
|
425
|
+
#${nt} li > :not(ul) {
|
|
426
|
+
display: flex;
|
|
427
|
+
padding: 8px;
|
|
428
|
+
margin: 0;
|
|
429
|
+
align-items: center;
|
|
430
|
+
gap: 8px;
|
|
431
|
+
border-radius: 4px;
|
|
432
|
+
}
|
|
433
|
+
#${nt} button {
|
|
434
|
+
width: 100%;
|
|
435
|
+
border: 0;
|
|
436
|
+
background: transparent;
|
|
437
|
+
color: inherit;
|
|
438
|
+
text-align: left;
|
|
439
|
+
font-family: inherit;
|
|
440
|
+
font-size: inherit;
|
|
441
|
+
}
|
|
442
|
+
#${nt} button:focus-visible {
|
|
443
|
+
outline-color: #029CFD;
|
|
444
|
+
}
|
|
445
|
+
#${nt} button:hover {
|
|
446
|
+
background: rgba(2, 156, 253, 0.07);
|
|
447
|
+
color: #029CFD;
|
|
448
|
+
cursor: pointer;
|
|
449
|
+
}
|
|
450
|
+
#${nt} li code {
|
|
451
|
+
white-space: nowrap;
|
|
452
|
+
overflow: hidden;
|
|
453
|
+
text-overflow: ellipsis;
|
|
454
|
+
line-height: 16px;
|
|
455
|
+
font-size: 11px;
|
|
456
|
+
}
|
|
457
|
+
#${nt} li svg {
|
|
458
|
+
flex-shrink: 0;
|
|
459
|
+
margin: 1px;
|
|
460
|
+
color: #73828C;
|
|
461
|
+
}
|
|
462
|
+
#${nt} li > button:hover svg, #${nt} li > button:focus-visible svg {
|
|
463
|
+
color: #029CFD;
|
|
464
|
+
}
|
|
465
|
+
#${nt} .element-list li svg {
|
|
466
|
+
display: none;
|
|
467
|
+
}
|
|
468
|
+
#${nt} li.selectable svg, #${nt} li.selected svg {
|
|
469
|
+
display: block;
|
|
470
|
+
}
|
|
471
|
+
#${nt} .menu-list {
|
|
472
|
+
border-top: 1px solid rgba(38, 85, 115, 0.15);
|
|
473
|
+
}
|
|
474
|
+
#${nt} .menu-list > li:not(:last-child) {
|
|
475
|
+
padding-bottom: 4px;
|
|
476
|
+
margin-bottom: 4px;
|
|
477
|
+
border-bottom: 1px solid rgba(38, 85, 115, 0.15);
|
|
478
|
+
}
|
|
479
|
+
#${nt} .menu-items, #${nt} .menu-items li {
|
|
480
|
+
padding: 0;
|
|
481
|
+
}
|
|
482
|
+
#${nt} .menu-item {
|
|
483
|
+
display: flex;
|
|
484
|
+
}
|
|
485
|
+
#${nt} .menu-item-content {
|
|
486
|
+
display: flex;
|
|
487
|
+
flex-direction: column;
|
|
488
|
+
flex-grow: 1;
|
|
489
|
+
}
|
|
490
|
+
`]))}let w=d.get(),_=w?[w]:a.get();if(_.length&&(E.style.position=getComputedStyle(_[0].element).position==="fixed"?"fixed":"absolute",E.appendChild(Mt("ul",{class:"element-list"},_.map(j=>{var k;let D=_.length>1&&!!((k=j.menu)!=null&&k.some(z=>z.some(J=>!J.selectors||J.selectors.some(ie=>j.selectors.includes(ie))))),P=D?{class:"selectable",onClick:l(()=>d.set(j),"onClick"),onMouseEnter:l(()=>c.set(j),"onMouseEnter"),onMouseLeave:l(()=>c.set(void 0),"onMouseLeave")}:w?{class:"selected",onClick:l(()=>d.set(void 0),"onClick")}:{},M=D||w;return Mt("li",P,[Mt(M?"button":"div",M?{type:"button"}:{},[w?Ac("chevronLeft"):null,Mt("code",{},[j.element.outerHTML]),D?Ac("chevronRight"):null])])})))),d.get()||a.get().length===1){let j=d.get()||a.get()[0],D=(N=j.menu)==null?void 0:N.filter(P=>P.some(M=>!M.selectors||M.selectors.some(k=>j.selectors.includes(k))));D!=null&&D.length&&E.appendChild(Mt("ul",{class:"menu-list"},D.map(P=>Mt("li",{},[Mt("ul",{class:"menu-items"},P.map(({id:M,title:k,description:z,iconLeft:J,iconRight:ie,clickEvent:pe})=>{let oe=pe&&(()=>e.emit(pe,M,Gne(j)));return Mt("li",{},[Mt(oe?"button":"div",oe?{class:"menu-item",type:"button",onClick:oe}:{class:"menu-item"},[J?Ac(J):null,Mt("div",{class:"menu-item-content"},[Mt(z?"strong":"span",{},[k]),z&&Mt("span",{},[z])]),ie?Ac(ie):null])])}))]))))}let R=i.get();R?(Object.assign(E.style,{display:"block",left:`${E.style.position==="fixed"?R.x-window.scrollX:R.x}px`,top:`${E.style.position==="fixed"?R.y-window.scrollY:R.y}px`}),m_(E),requestAnimationFrame(()=>zne(E,R,{topOffset:15,centered:!0}))):(Kne(E),Object.assign(E.style,{display:"none"}))},"renderMenu");a.subscribe(g),d.subscribe(g);let b=l(E=>{let w=Vne(E);r.set(_=>{var N;let R=w.id?_.filter(j=>j.id!==w.id):_;return(N=w.selectors)!=null&&N.length?[...R,w]:R})},"addHighlight"),v=l(E=>{E&&r.set(w=>w.filter(_=>_.id!==E))},"removeHighlight"),S=l(()=>{r.set([]),n.set(new Map),o.set([]),i.set(void 0),s.set(void 0),a.set([]),u.set([]),c.set(void 0),d.set(void 0)},"resetState"),T,O=l((E,w)=>{let _="scrollIntoView-highlight";clearTimeout(T),v(_);let R=t.querySelector(E);if(!R){console.warn(`Cannot scroll into view: ${E} not found`);return}R.scrollIntoView({behavior:"smooth",block:"center",...w});let N=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(j=>[...j,{id:_,priority:1e3,selectors:[E],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${N} 3s linear forwards`},keyframes:`@keyframes ${N} {
|
|
491
|
+
0% { outline: 2px solid #1EA7FD; }
|
|
492
|
+
20% { outline: 2px solid #1EA7FD00; }
|
|
493
|
+
40% { outline: 2px solid #1EA7FD; }
|
|
494
|
+
60% { outline: 2px solid #1EA7FD00; }
|
|
495
|
+
80% { outline: 2px solid #1EA7FD; }
|
|
496
|
+
100% { outline: 2px solid #1EA7FD00; }
|
|
497
|
+
}`}]),T=setTimeout(()=>v(_),3500)},"scrollIntoView"),C=l(E=>{requestAnimationFrame(()=>s.set({x:E.pageX,y:E.pageY}))},"onMouseMove");t.body.addEventListener("mousemove",C),e.on($ne,b),e.on(Dne,v),e.on(Fne,S),e.on(Bne,O),e.on(Hi,({newPhase:E})=>{E==="loading"&&S()})},"useHighlights"),yP;(yP=globalThis==null?void 0:globalThis.FEATURES)!=null&&yP.highlight&&(vr!=null&&vr.ready)&&vr.ready().then(Yne);var g_=l(()=>({}),"default"),Xne="measureEnabled";function wS(){let e=me.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}l(wS,"getDocumentWidthAndHeight");function aB(){let e=me.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");On(t!=null);let{width:r,height:n}=wS();return yp(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",me.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}l(aB,"createCanvas");function yp(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let o=me.window.devicePixelRatio;e.width=Math.floor(r*o),e.height=Math.floor(n*o),t.scale(o,o)}l(yp,"setCanvasWidthAndHeight");var jt={};function lB(){jt.canvas||(jt=aB())}l(lB,"init");function SS(){jt.context&&jt.context.clearRect(0,0,jt.width??0,jt.height??0)}l(SS,"clear");function uB(e){SS(),e(jt.context)}l(uB,"draw");function cB(){On(jt.canvas),On(jt.context),yp(jt.canvas,jt.context,{width:0,height:0});let{width:e,height:t}=wS();yp(jt.canvas,jt.context,{width:e,height:t}),jt.width=e,jt.height=t}l(cB,"rescale");function dB(){var e;jt.canvas&&(SS(),(e=jt.canvas.parentNode)==null||e.removeChild(jt.canvas),jt={})}l(dB,"destroy");var gs={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},so=6;function cb(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()}l(cb,"roundedRect");function pB(e,{padding:t,border:r,width:n,height:o,top:i,left:s}){let a=n-r.left-r.right-t.left-t.right,u=o-t.top-t.bottom-r.top-r.bottom,c=s+r.left+t.left,d=i+r.top+t.top;return e==="top"?c+=a/2:e==="right"?(c+=a,d+=u/2):e==="bottom"?(c+=a/2,d+=u):e==="left"?d+=u/2:e==="center"&&(c+=a/2,d+=u/2),{x:c,y:d}}l(pB,"positionCoordinate");function fB(e,t,{margin:r,border:n,padding:o},i,s){let a=l(h=>0,"shift"),u=0,c=0,d=s?1:.5,p=s?i*2:0;return e==="padding"?a=l(h=>o[h]*d+p,"shift"):e==="border"?a=l(h=>o[h]+n[h]*d+p,"shift"):e==="margin"&&(a=l(h=>o[h]+n[h]+r[h]*d+p,"shift")),t==="top"?c=-a("top"):t==="right"?u=a("right"):t==="bottom"?c=a("bottom"):t==="left"&&(u=-a("left")),{offsetX:u,offsetY:c}}l(fB,"offset");function hB(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}l(hB,"collide");function mB(e,t,r){return e==="top"?t.y=r.y-r.h-so:e==="right"?t.x=r.x+r.w/2+so+t.w/2:e==="bottom"?t.y=r.y+r.h+so:e==="left"&&(t.x=r.x-r.w/2-so-t.w/2),{x:t.x,y:t.y}}l(mB,"overlapAdjustment");function xS(e,t,{x:r,y:n,w:o,h:i},s){return cb(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${gs[t]}dd`,e.fill(),e.strokeStyle=gs[t],e.stroke(),e.fillStyle=gs.text,e.fillText(s,r,n),cb(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${gs[t]}dd`,e.fill(),e.strokeStyle=gs[t],e.stroke(),e.fillStyle=gs.text,e.fillText(s,r,n),{x:r,y:n,w:o,h:i}}l(xS,"textWithRect");function TS(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+so*2,i=n+so*2;return{w:o,h:i}}l(TS,"configureText");function yB(e,t,{type:r,position:n="center",text:o},i,s=!1){let{x:a,y:u}=pB(n,t),{offsetX:c,offsetY:d}=fB(r,n,t,so+1,s);a+=c,u+=d;let{w:p,h}=TS(e,o);if(i&&hB({x:a,y:u,w:p,h},i)){let f=mB(n,{x:a,y:u,w:p},i);a=f.x,u=f.y}return xS(e,r,{x:a,y:u,w:p,h},o)}l(yB,"drawLabel");function gB(e,{w:t,h:r}){let n=t*.5+so,o=r*.5+so;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*o}}l(gB,"floatingOffset");function bB(e,t,{type:r,text:n}){let{floatingAlignment:o,extremities:i}=t,s=i[o.x],a=i[o.y],{w:u,h:c}=TS(e,n),{offsetX:d,offsetY:p}=gB(o,{w:u,h:c});return s+=d,a+=p,xS(e,r,{x:s,y:a,w:u,h:c},n)}l(bB,"drawFloatingLabel");function Cs(e,t,r,n){let o=[];r.forEach((i,s)=>{let a=n&&i.position==="center"?bB(e,t,i):yB(e,t,i,o[s-1],n);o[s]=a})}l(Cs,"drawStack");function vB(e,t,r,n){let o=r.reduce((i,s)=>{var a;return Object.prototype.hasOwnProperty.call(i,s.position)||(i[s.position]=[]),(a=i[s.position])==null||a.push(s),i},{});o.top&&Cs(e,t,o.top,n),o.right&&Cs(e,t,o.right,n),o.bottom&&Cs(e,t,o.bottom,n),o.left&&Cs(e,t,o.left,n),o.center&&Cs(e,t,o.center,n)}l(vB,"labelStacks");var Ih={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},b_=30;function _r(e){return parseInt(e.replace("px",""),10)}l(_r,"pxToNumber");function Ni(e){return Number.isInteger(e)?e:e.toFixed(2)}l(Ni,"round");function Mh(e){return e.filter(t=>t.text!==0&&t.text!=="0")}l(Mh,"filterZeroValues");function EB(e){let t={top:me.window.scrollY,bottom:me.window.scrollY+me.window.innerHeight,left:me.window.scrollX,right:me.window.scrollX+me.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"}}l(EB,"floatingAlignment");function wB(e){let t=me.getComputedStyle(e),{top:r,left:n,right:o,bottom:i,width:s,height:a}=e.getBoundingClientRect(),{marginTop:u,marginBottom:c,marginLeft:d,marginRight:p,paddingTop:h,paddingBottom:f,paddingLeft:m,paddingRight:y,borderBottomWidth:g,borderTopWidth:b,borderLeftWidth:v,borderRightWidth:S}=t;r=r+me.window.scrollY,n=n+me.window.scrollX,i=i+me.window.scrollY,o=o+me.window.scrollX;let T={top:_r(u),bottom:_r(c),left:_r(d),right:_r(p)},O={top:_r(h),bottom:_r(f),left:_r(m),right:_r(y)},C={top:_r(b),bottom:_r(g),left:_r(v),right:_r(S)},E={top:r-T.top,bottom:i+T.bottom,left:n-T.left,right:o+T.right};return{margin:T,padding:O,border:C,top:r,left:n,bottom:i,right:o,width:s,height:a,extremities:E,floatingAlignment:EB(E)}}l(wB,"measureElement");function SB(e,{margin:t,width:r,height:n,top:o,left:i,bottom:s,right:a}){let u=n+t.bottom+t.top;e.fillStyle=Ih.margin,e.fillRect(i,o-t.top,r,t.top),e.fillRect(a,o-t.top,t.right,u),e.fillRect(i,s,r,t.bottom),e.fillRect(i-t.left,o-t.top,t.left,u);let c=[{type:"margin",text:Ni(t.top),position:"top"},{type:"margin",text:Ni(t.right),position:"right"},{type:"margin",text:Ni(t.bottom),position:"bottom"},{type:"margin",text:Ni(t.left),position:"left"}];return Mh(c)}l(SB,"drawMargin");function xB(e,{padding:t,border:r,width:n,height:o,top:i,left:s,bottom:a,right:u}){let c=n-r.left-r.right,d=o-t.top-t.bottom-r.top-r.bottom;e.fillStyle=Ih.padding,e.fillRect(s+r.left,i+r.top,c,t.top),e.fillRect(u-t.right-r.right,i+t.top+r.top,t.right,d),e.fillRect(s+r.left,a-t.bottom-r.bottom,c,t.bottom),e.fillRect(s+r.left,i+t.top+r.top,t.left,d);let p=[{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 Mh(p)}l(xB,"drawPadding");function TB(e,{border:t,width:r,height:n,top:o,left:i,bottom:s,right:a}){let u=n-t.top-t.bottom;e.fillStyle=Ih.border,e.fillRect(i,o,r,t.top),e.fillRect(i,s-t.bottom,r,t.bottom),e.fillRect(i,o+t.top,t.left,u),e.fillRect(a-t.right,o+t.top,t.right,u);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 Mh(c)}l(TB,"drawBorder");function CB(e,{padding:t,border:r,width:n,height:o,top:i,left:s}){let a=n-r.left-r.right-t.left-t.right,u=o-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=Ih.content,e.fillRect(s+r.left+t.left,i+r.top+t.top,a,u),[{type:"content",position:"center",text:`${Ni(a)} x ${Ni(u)}`}]}l(CB,"drawContent");function _B(e){return t=>{if(e&&t){let r=wB(e),n=SB(t,r),o=xB(t,r),i=TB(t,r),s=CB(t,r),a=r.width<=b_*3||r.height<=b_;vB(t,r,[...s,...o,...i,...n],a)}}}l(_B,"drawBoxModel");function OB(e){uB(_B(e))}l(OB,"drawSelectedElement");var Qne=l((e,t)=>{let r=me.document.elementFromPoint(e,t),n=l(o=>{if(o&&o.shadowRoot){let i=o.shadowRoot.elementFromPoint(e,t);return o.isEqualNode(i)?o:i.shadowRoot?n(i):i}return o},"crawlShadows");return n(r)||r},"deepElementFromPoint"),v_,Nc={x:0,y:0};function db(e,t){v_=Qne(e,t),OB(v_)}l(db,"findAndDrawElement");var Zne=l((e,t)=>{let{measureEnabled:r}=t.globals||{};return Zo(()=>{if(typeof globalThis.document>"u")return;let n=l(o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),Nc.x=o.clientX,Nc.y=o.clientY})},"onPointerMove");return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Zo(()=>{let n=l(i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),db(i.clientX,i.clientY)})},"onPointerOver"),o=l(()=>{window.requestAnimationFrame(()=>{cB()})},"onResize");return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),lB(),globalThis.window.addEventListener("resize",o),db(Nc.x,Nc.y)),()=>{globalThis.window.removeEventListener("resize",o),dB()}},[r,t.viewMode]),e()},"withMeasure"),gP,eoe=(gP=globalThis.FEATURES)!=null&&gP.measure?[Zne]:[],toe={[Xne]:!1},E_=l(()=>({decorators:eoe,initialGlobals:toe}),"default"),PB="outline",w_=l(e=>{(Array.isArray(e)?e:[e]).forEach(roe)},"clearStyles"),roe=l(e=>{let t=typeof e=="string"?e:e.join(""),r=me.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},"clearStyle"),noe=l((e,t)=>{let r=me.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=me.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,me.document.head.appendChild(n)}},"addOutlineStyles");function AB(e){return qe`
|
|
498
|
+
${e} body {
|
|
499
|
+
outline: 1px solid #2980b9 !important;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
${e} article {
|
|
503
|
+
outline: 1px solid #3498db !important;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
${e} nav {
|
|
507
|
+
outline: 1px solid #0088c3 !important;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
${e} aside {
|
|
511
|
+
outline: 1px solid #33a0ce !important;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
${e} section {
|
|
515
|
+
outline: 1px solid #66b8da !important;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
${e} header {
|
|
519
|
+
outline: 1px solid #99cfe7 !important;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
${e} footer {
|
|
523
|
+
outline: 1px solid #cce7f3 !important;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
${e} h1 {
|
|
527
|
+
outline: 1px solid #162544 !important;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
${e} h2 {
|
|
531
|
+
outline: 1px solid #314e6e !important;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
${e} h3 {
|
|
535
|
+
outline: 1px solid #3e5e85 !important;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
${e} h4 {
|
|
539
|
+
outline: 1px solid #449baf !important;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
${e} h5 {
|
|
543
|
+
outline: 1px solid #c7d1cb !important;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
${e} h6 {
|
|
547
|
+
outline: 1px solid #4371d0 !important;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
${e} main {
|
|
551
|
+
outline: 1px solid #2f4f90 !important;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
${e} address {
|
|
555
|
+
outline: 1px solid #1a2c51 !important;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
${e} div {
|
|
559
|
+
outline: 1px solid #036cdb !important;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
${e} p {
|
|
563
|
+
outline: 1px solid #ac050b !important;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
${e} hr {
|
|
567
|
+
outline: 1px solid #ff063f !important;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
${e} pre {
|
|
571
|
+
outline: 1px solid #850440 !important;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
${e} blockquote {
|
|
575
|
+
outline: 1px solid #f1b8e7 !important;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
${e} ol {
|
|
579
|
+
outline: 1px solid #ff050c !important;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
${e} ul {
|
|
583
|
+
outline: 1px solid #d90416 !important;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
${e} li {
|
|
587
|
+
outline: 1px solid #d90416 !important;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
${e} dl {
|
|
591
|
+
outline: 1px solid #fd3427 !important;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
${e} dt {
|
|
595
|
+
outline: 1px solid #ff0043 !important;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
${e} dd {
|
|
599
|
+
outline: 1px solid #e80174 !important;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
${e} figure {
|
|
603
|
+
outline: 1px solid #ff00bb !important;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
${e} figcaption {
|
|
607
|
+
outline: 1px solid #bf0032 !important;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
${e} table {
|
|
611
|
+
outline: 1px solid #00cc99 !important;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
${e} caption {
|
|
615
|
+
outline: 1px solid #37ffc4 !important;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
${e} thead {
|
|
619
|
+
outline: 1px solid #98daca !important;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
${e} tbody {
|
|
623
|
+
outline: 1px solid #64a7a0 !important;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
${e} tfoot {
|
|
627
|
+
outline: 1px solid #22746b !important;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
${e} tr {
|
|
631
|
+
outline: 1px solid #86c0b2 !important;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
${e} th {
|
|
635
|
+
outline: 1px solid #a1e7d6 !important;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
${e} td {
|
|
639
|
+
outline: 1px solid #3f5a54 !important;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
${e} col {
|
|
643
|
+
outline: 1px solid #6c9a8f !important;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
${e} colgroup {
|
|
647
|
+
outline: 1px solid #6c9a9d !important;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
${e} button {
|
|
651
|
+
outline: 1px solid #da8301 !important;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
${e} datalist {
|
|
655
|
+
outline: 1px solid #c06000 !important;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
${e} fieldset {
|
|
659
|
+
outline: 1px solid #d95100 !important;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
${e} form {
|
|
663
|
+
outline: 1px solid #d23600 !important;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
${e} input {
|
|
667
|
+
outline: 1px solid #fca600 !important;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
${e} keygen {
|
|
671
|
+
outline: 1px solid #b31e00 !important;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
${e} label {
|
|
675
|
+
outline: 1px solid #ee8900 !important;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
${e} legend {
|
|
679
|
+
outline: 1px solid #de6d00 !important;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
${e} meter {
|
|
683
|
+
outline: 1px solid #e8630c !important;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
${e} optgroup {
|
|
687
|
+
outline: 1px solid #b33600 !important;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
${e} option {
|
|
691
|
+
outline: 1px solid #ff8a00 !important;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
${e} output {
|
|
695
|
+
outline: 1px solid #ff9619 !important;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
${e} progress {
|
|
699
|
+
outline: 1px solid #e57c00 !important;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
${e} select {
|
|
703
|
+
outline: 1px solid #e26e0f !important;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
${e} textarea {
|
|
707
|
+
outline: 1px solid #cc5400 !important;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
${e} details {
|
|
711
|
+
outline: 1px solid #33848f !important;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
${e} summary {
|
|
715
|
+
outline: 1px solid #60a1a6 !important;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
${e} command {
|
|
719
|
+
outline: 1px solid #438da1 !important;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
${e} menu {
|
|
723
|
+
outline: 1px solid #449da6 !important;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
${e} del {
|
|
727
|
+
outline: 1px solid #bf0000 !important;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
${e} ins {
|
|
731
|
+
outline: 1px solid #400000 !important;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
${e} img {
|
|
735
|
+
outline: 1px solid #22746b !important;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
${e} iframe {
|
|
739
|
+
outline: 1px solid #64a7a0 !important;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
${e} embed {
|
|
743
|
+
outline: 1px solid #98daca !important;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
${e} object {
|
|
747
|
+
outline: 1px solid #00cc99 !important;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
${e} param {
|
|
751
|
+
outline: 1px solid #37ffc4 !important;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
${e} video {
|
|
755
|
+
outline: 1px solid #6ee866 !important;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
${e} audio {
|
|
759
|
+
outline: 1px solid #027353 !important;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
${e} source {
|
|
763
|
+
outline: 1px solid #012426 !important;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
${e} canvas {
|
|
767
|
+
outline: 1px solid #a2f570 !important;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
${e} track {
|
|
771
|
+
outline: 1px solid #59a600 !important;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
${e} map {
|
|
775
|
+
outline: 1px solid #7be500 !important;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
${e} area {
|
|
779
|
+
outline: 1px solid #305900 !important;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
${e} a {
|
|
783
|
+
outline: 1px solid #ff62ab !important;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
${e} em {
|
|
787
|
+
outline: 1px solid #800b41 !important;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
${e} strong {
|
|
791
|
+
outline: 1px solid #ff1583 !important;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
${e} i {
|
|
795
|
+
outline: 1px solid #803156 !important;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
${e} b {
|
|
799
|
+
outline: 1px solid #cc1169 !important;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
${e} u {
|
|
803
|
+
outline: 1px solid #ff0430 !important;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
${e} s {
|
|
807
|
+
outline: 1px solid #f805e3 !important;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
${e} small {
|
|
811
|
+
outline: 1px solid #d107b2 !important;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
${e} abbr {
|
|
815
|
+
outline: 1px solid #4a0263 !important;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
${e} q {
|
|
819
|
+
outline: 1px solid #240018 !important;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
${e} cite {
|
|
823
|
+
outline: 1px solid #64003c !important;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
${e} dfn {
|
|
827
|
+
outline: 1px solid #b4005a !important;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
${e} sub {
|
|
831
|
+
outline: 1px solid #dba0c8 !important;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
${e} sup {
|
|
835
|
+
outline: 1px solid #cc0256 !important;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
${e} time {
|
|
839
|
+
outline: 1px solid #d6606d !important;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
${e} code {
|
|
843
|
+
outline: 1px solid #e04251 !important;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
${e} kbd {
|
|
847
|
+
outline: 1px solid #5e001f !important;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
${e} samp {
|
|
851
|
+
outline: 1px solid #9c0033 !important;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
${e} var {
|
|
855
|
+
outline: 1px solid #d90047 !important;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
${e} mark {
|
|
859
|
+
outline: 1px solid #ff0053 !important;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
${e} bdi {
|
|
863
|
+
outline: 1px solid #bf3668 !important;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
${e} bdo {
|
|
867
|
+
outline: 1px solid #6f1400 !important;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
${e} ruby {
|
|
871
|
+
outline: 1px solid #ff7b93 !important;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
${e} rt {
|
|
875
|
+
outline: 1px solid #ff2f54 !important;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
${e} rp {
|
|
879
|
+
outline: 1px solid #803e49 !important;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
${e} span {
|
|
883
|
+
outline: 1px solid #cc2643 !important;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
${e} br {
|
|
887
|
+
outline: 1px solid #db687d !important;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
${e} wbr {
|
|
891
|
+
outline: 1px solid #db175b !important;
|
|
892
|
+
}`}l(AB,"outlineCSS");var ooe=l((e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[PB]),o=t.viewMode==="docs",i=qv(()=>AB(o?'[data-story-block="true"]':".sb-show-main"),[t]);return Zo(()=>{let s=o?`addon-outline-docs-${t.id}`:"addon-outline";return n?noe(s,i):w_(s),()=>{w_(s)}},[n,i,t]),e()},"withOutline"),bP,ioe=(bP=globalThis.FEATURES)!=null&&bP.outline?[ooe]:[],soe={[PB]:!1},S_=l(()=>({decorators:ioe,initialGlobals:soe}),"default"),aoe=l(({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?w0():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?E0():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&S0()},"resetAllMocksLoader"),pb=l((e,t=0,r)=>{var n,o;if(t>5||e==null)return e;if(Fs(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let i=b0(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]=pb(e[i],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[i,s]of Object.entries(e))(o=Object.getOwnPropertyDescriptor(e,i))!=null&&o.writable&&(e[i]=pb(s,t,i));return e}return e},"traverseArgs"),loe=l(({initialArgs:e})=>{pb(e)},"nameSpiesAndWrapActionsInSpies"),x_=!1,uoe=l(async e=>{var t,r;if(globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=iB(e.canvasElement)),(r=(t=globalThis.window)==null?void 0:t.navigator)==null?void 0:r.clipboard){e.userEvent=Na({userEvent:sB.setup()},{intercept:!0}).userEvent;let n=HTMLElement.prototype.focus;x_||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:l(o=>{n=o,x_=!0},"set"),get:l(()=>n,"get")}})}},"enhanceContext"),T_=l(()=>({loaders:[aoe,loe,uoe]}),"default"),coe="viewport",doe={[coe]:{value:void 0,isRotated:!1}},C_=l(()=>({initialGlobals:doe}),"default");function kh(){return[(E_.default??E_)(),(u_.default??u_)(),(g_.default??g_)(),(S_.default??S_)(),(C_.default??C_)(),(i_.default??i_)(),(lC.default??lC)(),(T_.default??T_)()]}l(kh,"getCoreAnnotations");var _s=Symbol("incompatible"),fb=l((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)?_s:e.reduce((n,o,i)=>{let s=fb(o,{type:r.value});return s!==_s&&(n[i]=s),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?_s:Object.entries(e).reduce((n,[o,i])=>{let s=fb(i,{type:r.value[o]});return s===_s?n:Object.assign(n,{[o]:s})},{});default:return _s}},"map"),poe=l((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=fb(o,t[n]);return i===_s?r:Object.assign(r,{[n]:i})},{}),"mapArgsToTypes"),gp=l((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=gp(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!ln(e)||!ln(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=gp(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),foe=l((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(l(i,"allowArg"),!o)return i();if(!Array.isArray(o))return xt.error(qe`
|
|
893
|
+
Invalid argType: '${n}.options' should be an array.
|
|
894
|
+
|
|
895
|
+
More info: https://storybook.js.org/docs/api/arg-types
|
|
896
|
+
`),i();if(o.some(p=>p&&["object","function"].includes(typeof p)))return xt.error(qe`
|
|
897
|
+
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
898
|
+
|
|
899
|
+
More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
900
|
+
`),i();let s=Array.isArray(e[n]),a=s&&e[n].findIndex(p=>!o.includes(p)),u=s&&a===-1;if(e[n]===void 0||o.includes(e[n])||u)return i();let c=s?`${n}[${a}]`:n,d=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return xt.warn(`Received illegal value for '${c}'. Supported options: ${d}`),r},{}),"validateOptions"),Nl=Symbol("Deeply equal"),bp=l((e,t)=>{if(typeof e!=typeof t)return t;if(RR(e,t))return Nl;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let s=bp(e[i],o);return s!==Nl&&(n[i]=s),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return ln(e)&&ln(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=bp(e==null?void 0:e[n],t==null?void 0:t[n]);return o===Nl?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),RB="UNTARGETED";function NB({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=RB}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}l(NB,"groupArgsByTarget");function IB(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}l(IB,"deleteUndefined");var MB=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=bp(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==Nl&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=foe(r,t.argTypes);this.argsByStoryId[t.id]=gp(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=poe(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=IB({...this.argsByStoryId[t],...r})}};l(MB,"ArgsStore");var hoe=MB,kB=l((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),jB=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&bp(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=kB(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==Nl&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:at.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)};for(let r in t)t[r]===void 0&&(this.globals[r]=this.initialGlobals[r])}};l(jB,"GlobalsStore");var moe=jB,yoe=_t(EP(),1),goe=(0,yoe.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),qB=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(i=>i.id.startsWith(t));let{name:n,title:o}=t;return r.find(i=>i.name===n&&i.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new NA({storyId:t});return r}importPathToEntry(t){return goe(this.entries)[t]}};l(qB,"StoryIndexStore");var boe=qB,voe=l(e=>typeof e=="string"?{name:e}:e,"normalizeType"),Eoe=l(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),woe=l((e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=voe(r)),n?i.control=Eoe(n):n===!1&&(i.control={disable:!0}),i},"normalizeInputType"),vp=l(e=>ea(e,woe),"normalizeInputTypes");function LB(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()}l(LB,"toStartCaseStr");var __=_t(h8(),1),$B=l(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),Soe=l((e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if($B([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,__.isEqual)(t,n);if(typeof o<"u")return!(0,__.isEqual)(t,o);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof i>"u"||i?!!t:!t},"testValue"),xoe=l((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if($B([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return Soe(e.if,i)},"includeConditionalArg");function jh(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Story"}l(jh,"isStory");var DB=l(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),O_=l((e,t)=>{let r=DB(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),Toe=l((e,t)=>`${O_(e,"kind")}${t?`--${O_(t,"name")}`:""}`,"toId"),Coe=l(e=>LB(e),"storyNameFromExport");function hb(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}l(hb,"matches");function Ep(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||hb(e,t))&&(!r||!hb(e,r))}l(Ep,"isExportStory");var _oe=l((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags"),ot=l(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),Ooe=qe`
|
|
901
|
+
CSF .story annotations deprecated; annotate story functions directly:
|
|
902
|
+
- StoryFn.story.name => StoryFn.storyName
|
|
903
|
+
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
904
|
+
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
905
|
+
`;function hu(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(at.debug("deprecated story",i),bv(Ooe));let s=Coe(e),a=typeof n!="function"&&n.name||n.storyName||(i==null?void 0:i.name)||s,u=[...ot(n.decorators),...ot(i==null?void 0:i.decorators)],c={...i==null?void 0:i.parameters,...n.parameters},d={...i==null?void 0:i.args,...n.args},p={...i==null?void 0:i.argTypes,...n.argTypes},h=[...ot(n.loaders),...ot(i==null?void 0:i.loaders)],f=[...ot(n.beforeEach),...ot(i==null?void 0:i.beforeEach)],m=[...ot(n.afterEach),...ot(i==null?void 0:i.afterEach)],{render:y,play:g,tags:b=[],globals:v={}}=n,S=c.__id||Toe(r.id,s);return{moduleExport:t,id:S,name:a,tags:b,decorators:u,parameters:c,args:d,argTypes:vp(p),loaders:h,beforeEach:f,afterEach:m,globals:v,...y&&{render:y},...o&&{userStoryFn:o},...g&&{play:g}}}l(hu,"normalizeStory");function wp(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:DB(n||t),...e,title:t,...o&&{argTypes:vp(o)},parameters:{fileName:r,...e.parameters}}}l(wp,"normalizeComponentAnnotations");var Poe=l(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&at.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),Aoe=l(e=>{let{options:t}=e;t!=null&&t.storySort&&at.error("The storySort option parameter can only be set globally")},"checkStorySort"),Ic=l(e=>{e&&(Poe(e),Aoe(e))},"checkDisallowedParameters");function FB(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,s=Object.values(i)[0];if(jh(s)){let c=wp(s.meta.input,r,t);Ic(c.parameters);let d={meta:c,stories:{},moduleExports:e};return Object.keys(i).forEach(p=>{if(Ep(p,c)){let h=hu(p,i[p].input,c);Ic(h.parameters),d.stories[h.id]=h}}),d.projectAnnotations=s.meta.preview.composed,d}let a=wp(n,r,t);Ic(a.parameters);let u={meta:a,stories:{},moduleExports:e};return Object.keys(i).forEach(c=>{if(Ep(c,a)){let d=hu(c,i[c],a);Ic(d.parameters),u.stories[d.id]=d}}),u}l(FB,"processCSFFile");function BB(e){return e!=null&&UB(e).includes("mount")}l(BB,"mountDestructured");function UB(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=mb(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?mb(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}l(UB,"getUsedProps");function mb(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 s=e.substring(n,i).trim();s&&t.push(s),n=i+1}let o=e.substring(n).trim();return o&&t.push(o),t}l(mb,"splitByComma");function CS(e,t,r){let n=r(e);return o=>t(n,o)}l(CS,"decorateStory");function _S({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:s,initialArgs:a,argTypes:u,...c}={}){return c}l(_S,"sanitizeStoryContextUpdate");function OS(e,t){let r={},n=l(i=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,..._S(s)},i(r.value)},"bindWithContext"),o=t.reduce((i,s)=>CS(i,s,n),e);return i=>(r.value=i,o(i))}l(OS,"defaultDecorateStory");var Zi=l((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([s,a])=>{let u=o[s];Array.isArray(a)||typeof u>"u"?o[s]=a:ln(a)&&ln(u)?t[s]=!0:typeof a<"u"&&(o[s]=a)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(s=>s[o]).filter(s=>typeof s<"u");i.every(s=>ln(s))?n[o]=Zi(...i):n[o]=i[i.length-1]}),n},"combineParameters");function qh(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},s=AS(e,t,r),a=l(async C=>{let E={};for(let w of[ot(r.loaders),ot(t.loaders),ot(e.loaders)]){if(C.abortSignal.aborted)return E;let _=await Promise.all(w.map(R=>R(C)));Object.assign(E,..._)}return E},"applyLoaders"),u=l(async C=>{let E=new Array;for(let w of[...ot(r.beforeEach),...ot(t.beforeEach),...ot(e.beforeEach)]){if(C.abortSignal.aborted)return E;let _=await w(C);_&&E.push(_)}return E},"applyBeforeEach"),c=l(async C=>{let E=[...ot(r.afterEach),...ot(t.afterEach),...ot(e.afterEach)].reverse();for(let w of E){if(C.abortSignal.aborted)return;await w(C)}},"applyAfterEach"),d=l(C=>C.originalStoryFn(C.args,C),"undecoratedStoryFn"),{applyDecorators:p=OS,runStep:h}=r,f=[...ot(e==null?void 0:e.decorators),...ot(t==null?void 0:t.decorators),...ot(r==null?void 0:r.decorators)],m=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,y=yR(p)(d,f),g=l(C=>y(C),"unboundStoryFn"),b=(e==null?void 0:e.play)??(t==null?void 0:t.play),v=BB(b);if(!m&&!v)throw new ZA({id:o});let S=l(C=>async()=>(await C.renderToCanvas(),C.canvas),"defaultMount"),T=e.mount??t.mount??r.mount??S,O=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:n,id:o,name:i,story:i,originalStoryFn:m,undecoratedStoryFn:d,unboundStoryFn:g,applyLoaders:a,applyBeforeEach:u,applyAfterEach:c,playFunction:b,runStep:h,mount:T,testingLibraryRender:O,renderToCanvas:r.renderToCanvas,usesMount:v}}l(qh,"prepareStory");function PS(e,t,r){return{...AS(void 0,e,t),moduleExport:r}}l(PS,"prepareMeta");function AS(e,t,r){var b;let n=["dev","test"],o=((b=me.DOCS_OPTIONS)==null?void 0:b.autodocs)===!0?["autodocs"]:[],i=_oe(...n,...o,...r.tags??[],...t.tags??[],...(e==null?void 0:e.tags)??[]),s=Zi(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:a=[],argsEnhancers:u=[]}=r,c=Zi(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let v=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;s.__isArgsStory=v&&v.length>0}let d={...r.args,...t.args,...e==null?void 0:e.args},p={...t.globals,...e==null?void 0:e.globals},h={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:i,parameters:s,initialArgs:d,argTypes:c,storyGlobals:p};h.argTypes=a.reduce((v,S)=>S({...h,argTypes:v}),h.argTypes);let f={...d};h.initialArgs=[...u].reduce((v,S)=>({...v,...S({...h,initialArgs:v})}),f);let{name:m,story:y,...g}=h;return g}l(AS,"preparePartialAnnotations");function RS(e){var i;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((i=me.FEATURES)!=null&&i.argTypeTargetsV7){let s=NB(e);r={...e,allArgs:e.args,argsByTarget:s,args:s[RB]||{}}}let n=Object.entries(r.args).reduce((s,[a,u])=>{var d;if(!((d=r.argTypes[a])!=null&&d.mapping))return s[a]=u,s;let c=l(p=>{let h=r.argTypes[a].mapping;return h&&p in h?h[p]:p},"mappingFn");return s[a]=Array.isArray(u)?u.map(c):c(u),s},{}),o=Object.entries(n).reduce((s,[a,u])=>{let c=r.argTypes[a]||{};return xoe(c,n,r.globals)&&(s[a]=u),s},{});return{...r,unmappedArgs:t,args:o}}l(RS,"prepareContext");var yb=l((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(at.warn(qe`
|
|
906
|
+
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
907
|
+
|
|
908
|
+
Consider using the mapping feature or fully custom args:
|
|
909
|
+
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
910
|
+
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
911
|
+
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?yb(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:ea(e,o=>yb(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),VB=l(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=ea(n,(s,a)=>({name:a,type:yb(s,`${t}.${a}`,new Set)})),i=ea(r,(s,a)=>({name:a}));return Zi(o,i,r)},"inferArgTypes");VB.secondPass=!0;var P_=l((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),HB=l((e,t,r)=>!t&&!r?e:e&&OR(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||P_(i,t))&&(!r||!P_(i,r))}),"filterArgTypes"),Roe=l((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"&&at.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"}}}}},"inferControl"),NS=l(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let s=HB(t,n,o),a=ea(s,(u,c)=>(u==null?void 0:u.type)&&Roe(u,c.toString(),i));return Zi(a,s)},"inferControls");NS.secondPass=!0;function mu({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:i,afterEach:s,initialGlobals:a,...u}){return{...e&&{argTypes:vp(e)},...t&&{globalTypes:vp(t)},decorators:ot(n),loaders:ot(o),beforeEach:ot(i),afterEach:ot(s),argTypesEnhancers:[...r||[],VB,NS],initialGlobals:a,...u}}l(mu,"normalizeProjectAnnotations");var Noe=l(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function IS(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}l(IS,"composeStepRunners");function ga(e,t){return e.map(r=>{var n;return((n=r.default)==null?void 0:n[t])??r[t]}).filter(Boolean)}l(ga,"getField");function Wn(e,t,r={}){return ga(e,t).reduce((n,o)=>{let i=ot(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}l(Wn,"getArrayField");function ml(e,t){return Object.assign({},...ga(e,t))}l(ml,"getObjectField");function Os(e,t){return ga(e,t).pop()}l(Os,"getSingletonField");function es(e){var o;let t=Wn(e,"argTypesEnhancers"),r=ga(e,"runStep"),n=Wn(e,"beforeAll");return{parameters:Zi(...ga(e,"parameters")),decorators:Wn(e,"decorators",{reverseFileOrder:!(((o=me.FEATURES)==null?void 0:o.legacyDecoratorFileOrder)??!1)}),args:ml(e,"args"),argsEnhancers:Wn(e,"argsEnhancers"),argTypes:ml(e,"argTypes"),argTypesEnhancers:[...t.filter(i=>!i.secondPass),...t.filter(i=>i.secondPass)],initialGlobals:ml(e,"initialGlobals"),globalTypes:ml(e,"globalTypes"),loaders:Wn(e,"loaders"),beforeAll:Noe(n),beforeEach:Wn(e,"beforeEach"),afterEach:Wn(e,"afterEach"),render:Os(e,"render"),renderToCanvas:Os(e,"renderToCanvas"),applyDecorators:Os(e,"applyDecorators"),runStep:IS(r),tags:Wn(e,"tags"),mount:Os(e,"mount"),testingLibraryRender:Os(e,"testingLibraryRender")}}l(es,"composeConfigs");function MS(){try{return!!globalThis.__vitest_browser__||!!globalThis.__playwright__binding__}catch{return!1}}l(MS,"isTestEnvironment");function Lh(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
|
|
912
|
+
animation: none !important;
|
|
913
|
+
}`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
|
|
914
|
+
animation-delay: 0s !important;
|
|
915
|
+
animation-direction: ${e?"reverse":"normal"} !important;
|
|
916
|
+
animation-play-state: paused !important;
|
|
917
|
+
transition: none !important;
|
|
918
|
+
}`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{var n;(n=r.parentNode)==null||n.removeChild(r)}}l(Lh,"pauseAnimations");async function $h(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,...kS(globalThis.document)],o=l(async()=>{if(t||e!=null&&e.aborted)return;let i=n.flatMap(s=>{var a;return((a=s==null?void 0:s.getAnimations)==null?void 0:a.call(s))||[]}).filter(s=>s.playState==="running"&&!JB(s));i.length>0&&(await Promise.all(i.map(s=>s.finished)),await o())},"checkAnimationsFinished");o().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}l($h,"waitForAnimations");function kS(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...kS(r.shadowRoot)),t),[])}l(kS,"getShadowRoots");function JB(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}l(JB,"isInfiniteAnimation");var zB=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};l(zB,"ReporterAPI");var jS=zB;function qS(e,t,r){return jh(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}l(qS,"getCsfFactoryAnnotations");function KB(e){globalThis.defaultProjectAnnotations=e}l(KB,"setDefaultProjectAnnotations");var Ioe="ComposedStory",Moe="Unnamed Story";function GB(e){return e?es([e]):{}}l(GB,"extractAnnotation");function WB(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=es([...kh(),globalThis.defaultProjectAnnotations??{},es(t.map(GB))]),globalThis.globalProjectAnnotations??{}}l(WB,"setProjectAnnotations");var Uo=[];function LS(e,t,r,n,o){var b;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??Ioe;let i=wp(t),s=o||e.storyName||((b=e.story)==null?void 0:b.name)||e.name||Moe,a=hu(s,e,i),u=mu(es([n??globalThis.globalProjectAnnotations??{},r??{}])),c=qh(a,i,u),d={...kB(u.globalTypes),...u.initialGlobals,...c.storyGlobals},p=new jS,h=l(()=>{let v=RS({hooks:new Mv,globals:d,args:{...c.initialArgs},viewMode:"story",reporting:p,loaded:{},abortSignal:new AbortController().signal,step:l((S,T)=>c.runStep(S,T,v),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return v.parameters.__isPortableStory=!0,v.context=v,c.renderToCanvas&&(v.renderToCanvas=async()=>{var T;let S=await((T=c.renderToCanvas)==null?void 0:T.call(c,{componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:l(()=>{},"showMain"),showError:l(O=>{throw new Error(`${O.title}
|
|
919
|
+
${O.description}`)},"showError"),showException:l(O=>{throw O},"showException"),forceRemount:!0,storyContext:v,storyFn:l(()=>c.unboundStoryFn(v),"storyFn"),unboundStoryFn:c.unboundStoryFn},v.canvasElement));S&&Uo.push(S)}),v.mount=c.mount(v),v},"initializeContext"),f,m=l(async v=>{var T;let S=h();return S.canvasElement??(S.canvasElement=(T=globalThis==null?void 0:globalThis.document)==null?void 0:T.body),f&&(S.loaded=f.loaded),Object.assign(S,v),c.playFunction(S)},"play"),y=l(v=>{let S=h();return Object.assign(S,v),QB(c,S)},"run"),g=c.playFunction?m:void 0;return Object.assign(l(function(v){let S=h();return f&&(S.loaded=f.loaded),S.args={...S.initialArgs,...v},c.unboundStoryFn(S)},"storyFn"),{id:c.id,storyName:s,load:l(async()=>{for(let S of[...Uo].reverse())await S();Uo.length=0;let v=h();v.loaded=await c.applyLoaders(v),Uo.push(...(await c.applyBeforeEach(v)).filter(Boolean)),f=v},"load"),globals:d,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:g,run:y,reporting:p,tags:c.tags})}l(LS,"composeStory");var koe=l((e,t,r,n)=>LS(e,t,r,{},n),"defaultComposeStory");function YB(e,t,r=koe){let{default:n,__esModule:o,__namedExportsOrder:i,...s}=e,a=n;return Object.entries(s).reduce((u,[c,d])=>{let{story:p,meta:h}=qS(d);return!a&&h&&(a=h),Ep(c,a)?Object.assign(u,{[c]:r(p,a,t,c)}):u},{})}l(YB,"composeStories");function XB(e){return e.extend({mount:l(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(qe`
|
|
920
|
+
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
921
|
+
Please use JSX format for your components such as:
|
|
922
|
+
|
|
923
|
+
instead of:
|
|
924
|
+
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
925
|
+
|
|
926
|
+
do:
|
|
927
|
+
await mount(<MyComponent foo="bar"/>)
|
|
928
|
+
|
|
929
|
+
More info: https://storybook.js.org/docs/api/portable-stories-playwright
|
|
930
|
+
`);await r.evaluate(async a=>{var c,d,p;let u=await((c=globalThis.__pwUnwrapObject)==null?void 0:c.call(globalThis,a));return(p=(d="__pw_type"in u?u.type:u)==null?void 0:d.load)==null?void 0:p.call(d)},o);let s=await t(o,...i);return await r.evaluate(async a=>{var p,h;let u=await((p=globalThis.__pwUnwrapObject)==null?void 0:p.call(globalThis,a)),c="__pw_type"in u?u.type:u,d=document.querySelector("#root");return(h=c==null?void 0:c.play)==null?void 0:h.call(c,{canvasElement:d})},o),s})},"mount")})}l(XB,"createPlaywrightTest");async function QB(e,t){var i,s;for(let a of[...Uo].reverse())await a();if(Uo.length=0,!t.canvasElement){let a=document.createElement("div");(s=(i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body)==null||s.appendChild(a),t.canvasElement=a,Uo.push(()=>{var u,c,d,p;(c=(u=globalThis==null?void 0:globalThis.document)==null?void 0:u.body)!=null&&c.contains(a)&&((p=(d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body)==null||p.removeChild(a))})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;Uo.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 Nv({playFunction:r.toString()})}),await r(t));let o;MS()?o=Lh():await $h(t.abortSignal),await e.applyAfterEach(t),await(o==null?void 0:o())}l(QB,"runStory");var A_=1e3,joe=1e4,ZB=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new boe(t),this.projectAnnotations=mu(es([...kh(),n]));let{initialGlobals:o,globalTypes:i}=this.projectAnnotations;this.args=new hoe,this.userGlobals=new moe({globals:o,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,_m.default)(A_)(FB),this.prepareMetaWithCache=(0,_m.default)(A_)(PS),this.prepareStoryWithCache=(0,_m.default)(joe)(qh)}setProjectAnnotations(t){this.projectAnnotations=mu(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new GA({storyId:t});let o=r.meta,i=this.prepareStoryWithCache(n,o,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new Mv,i}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...i]=await Promise.all([this.importFn(r.importPath),...n.map(s=>{let a=this.storyIndex.importPathToEntry(s);return this.loadCSFFileByStoryId(a.id)})]);return{entryExports:o,csfFiles:i}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,i=new jS;return RS({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:i,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,...r){this.cleanupCallbacks[t.id]=(this.cleanupCallbacks[t.id]||[]).concat(r)}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new jA;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:i,importPath:s}])=>{if(i==="docs")return n;let a=r[s],u=this.storyFromCSFFile({storyId:o,csfFile:a});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[o]=Object.entries(u).reduce((c,[d,p])=>d==="moduleExport"||typeof p=="function"?c:Array.isArray(p)?Object.assign(c,{[d]:p.slice().sort()}):Object.assign(c,{[d]:p}),{args:u.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...u.storyGlobals}})),n},{})}};l(ZB,"StoryStore");var e2=ZB;function t2(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}l(t2,"slash");var qoe=l(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]},"sanitize");function gb(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}l(gb,"pathJoin");var r2=l((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&xt.warn(qe`
|
|
931
|
+
CSF Auto-title received a numeric fileName. This typically happens when
|
|
932
|
+
webpack is mis-configured in production mode. To force webpack to produce
|
|
933
|
+
filenames, set optimization.moduleIds = "named" in your webpack config.
|
|
934
|
+
`);let s=t2(String(e));if(o.exec(s)){if(!r){let a=s.replace(n,""),u=gb([i,a]).split("/");return u=qoe(u),u.join("/")}return i?gb([i,r]):r}},"userOrAutoTitleFromSpecifier"),Loe=l((e,t,r)=>{for(let n=0;n<t.length;n+=1){let o=r2(e,t[n],r);if(o)return o}return r||void 0},"userOrAutoTitle"),R_=/\s*\/\s*/,$oe=l((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(R_),s=r.title.trim().split(R_);e.includeNames&&(i.push(t.name),s.push(r.name));let a=0;for(;i[a]||s[a];){if(!i[a])return-1;if(!s[a])return 1;let u=i[a],c=s[a];if(u!==c){let p=o.indexOf(u),h=o.indexOf(c),f=o.indexOf("*");return p!==-1||h!==-1?(p===-1&&(f!==-1?p=f:p=o.length),h===-1&&(f!==-1?h=f:h=o.length),p-h):n==="configure"?0:u.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let d=o.indexOf(u);d===-1&&(d=o.indexOf("*")),o=d!==-1&&Array.isArray(o[d+1])?o[d+1]:[],a+=1}return 0},"storySort"),Doe=l((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=$oe(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),Foe=l((e,t,r)=>{try{return Doe(e,t,r)}catch(n){throw new Error(qe`
|
|
935
|
+
Error sorting stories with sort parameter ${t}:
|
|
936
|
+
|
|
937
|
+
> ${n.message}
|
|
938
|
+
|
|
939
|
+
Are you using a V6-style sort function in V7 mode?
|
|
940
|
+
|
|
941
|
+
More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
|
|
942
|
+
`)}},"sortStoriesV7"),Dh=new Error("prepareAborted"),{AbortController:N_}=globalThis;function bb(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)}}}l(bb,"serializeError");var n2=class{constructor(t,r,n,o,i,s,a={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=i,this.viewMode=s,this.renderOptions=a,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=l(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new N_,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(Hi,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(Hi,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Dh}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){var S,T,O,C;let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:s,title:a,name:u,tags:c,applyLoaders:d,applyBeforeEach:p,applyAfterEach:h,unboundStoryFn:f,playFunction:m,runStep:y}=o;r&&!t&&(this.cancelRender(),this.abortController=new N_);let g=this.abortController.signal,b=!1,v=o.usesMount;try{let E={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:l((z,J)=>y(z,J,E),"step"),context:null,canvas:{},userEvent:{},renderToCanvas:l(async()=>{let z=await this.renderToScreen(w,n);this.teardownRender=z||(()=>{}),b=!0},"renderToCanvas"),mount:l(async(...z)=>{var ie,pe;(pe=(ie=this.callbacks).showStoryDuringRender)==null||pe.call(ie);let J=null;return await this.runPhase(g,"rendering",async()=>{J=await o.mount(E)(...z)}),v&&await this.runPhase(g,"playing"),J},"mount")};E.context=E;let w={componentId:s,title:a,kind:a,id:i,name:u,story:u,tags:c,...this.callbacks,showError:l(z=>(this.phase="errored",this.callbacks.showError(z)),"showError"),showException:l(z=>(this.phase="errored",this.callbacks.showException(z)),"showException"),forceRemount:r||this.notYetRendered,storyContext:E,storyFn:l(()=>f(E),"storyFn"),unboundStoryFn:f};if(await this.runPhase(g,"loading",async()=>{E.loaded=await d(E)}),g.aborted)return;let _=await p(E);if(this.store.addCleanupCallbacks(o,..._),this.checkIfAborted(g)||(!b&&!v&&await E.mount(),this.notYetRendered=!1,g.aborted))return;let R=((T=(S=this.story.parameters)==null?void 0:S.test)==null?void 0:T.dangerouslyIgnoreUnhandledErrors)===!0,N=new Set,j=l(z=>{z.error&&N.add(z.error)},"onError"),D=l(z=>{z.reason&&N.add(z.reason)},"onUnhandledRejection");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){window.addEventListener("error",j),window.addEventListener("unhandledrejection",D),this.disableKeyListeners=!0;try{if(v?await m(E):(E.mount=async()=>{throw new Nv({playFunction:m.toString()})},await this.runPhase(g,"playing",async()=>m(E))),!b)throw new tR;this.checkIfAborted(g),!R&&N.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(z){if((C=(O=this.callbacks).showStoryDuringRender)==null||C.call(O),await this.runPhase(g,"errored",async()=>{this.channel.emit(zP,bb(z))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw z;console.error(z)}if(!R&&N.size>0&&this.channel.emit(KP,Array.from(N).map(bb)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",D),window.removeEventListener("error",j),g.aborted)return}await this.runPhase(g,"completing",async()=>{MS()?this.store.addCleanupCallbacks(o,Lh()):await $h(g)}),await this.runPhase(g,"completed",async()=>{this.channel.emit(Td,i)}),this.phase!=="errored"&&await this.runPhase(g,"afterEach",async()=>{await h(E)});let P=!R&&N.size>0,M=E.reporting.reports.some(z=>z.status==="failed"),k=P||M;await this.runPhase(g,"finished",async()=>this.channel.emit(hy,{storyId:i,status:k?"error":"success",reporters:E.reporting.reports}))}catch(E){this.phase="errored",this.callbacks.showException(E),await this.runPhase(g,"finished",async()=>this.channel.emit(hy,{storyId:i,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){var t;(t=this.abortController)==null||t.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};l(n2,"StoryRender");var vb=n2,{fetch:Boe}=me,Uoe="./index.json",o2=class{constructor(t,r,n=vr.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,s)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=s}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:l((t,r)=>{if(this.storyStoreValue)return bv("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new YA},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(e1,this.onStoryIndexChanged.bind(this)),this.channel.on(yv,this.onUpdateGlobals.bind(this)),this.channel.on(gv,this.onUpdateArgs.bind(this)),this.channel.on(a1,this.onRequestArgTypesInfo.bind(this)),this.channel.on(hv,this.onResetArgs.bind(this)),this.channel.on(fv,this.onForceReRender.bind(this)),this.channel.on(xd,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new LA;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){var r,n;try{await((r=this.beforeAllCleanup)==null?void 0:r.call(this)),this.beforeAllCleanup=await((n=t.beforeAll)==null?void 0:n.call(t))}catch(o){throw this.renderPreviewEntryError("Error in beforeAll hook:",o),o}}async getStoryIndexFromServer(){let t=await Boe(Uoe);if(t.status===200)return t.json();throw new FA({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new e2(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Pr({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(YP,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new Pr({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new Pr({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:i,globals:s}=this.storyStoreValue.getStoryContext(r);this.channel.emit(zl,{initialGlobals:n,userGlobals:i,storyGlobals:o,globals:s})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(zl,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new Pr({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(XP,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){var n;try{await this.storeInitializationPromise;let o=await((n=this.storyStoreValue)==null?void 0:n.loadStory(r));this.channel.emit(my,{id:t,success:!0,payload:{argTypes:(o==null?void 0:o.argTypes)||{}},error:null})}catch(o){this.channel.emit(my,{id:t,success:!1,error:o==null?void 0:o.message})}}async onResetArgs({storyId:t,argNames:r}){var i;if(!this.storyStoreValue)throw new Pr({methodName:"onResetArgs"});let n=((i=this.storyRenders.find(s=>s.id===t))==null?void 0:i.story)||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((s,a)=>(s[a]=n.initialArgs[a],s),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new Pr({methodName:"renderStoryToElement"});let i=new vb(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(t,{viewModeChanged:r}={}){var n;this.storyRenders=this.storyRenders.filter(o=>o!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new Pr({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new Pr({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new Pr({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,at.error(t),at.error(r),this.channel.emit(HP,r)}};l(o2,"Preview");var i2=o2,s2=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=l(i=>{let s=this.nameToStoryId.get(i);if(s)return s;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=l(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=l(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=l(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let s=this.storyIdToCSFFile.get(i);if(!s)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:s})},"storyById"),this.getStoryContext=l(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=l(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((i,s)=>{this.referenceCSFFile(i)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <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 r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(jh(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(qe`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}.
|
|
943
|
+
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
944
|
+
- ... or vice versa?
|
|
945
|
+
- Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};l(s2,"DocsContext");var $S=s2,a2=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Dh;let{importPath:n,title:o}=this.entry,i=this.store.processCSFFileWithCache(t,n,o),s=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:s,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new $S(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await o.renderer(),{render:s}=i,a=l(async()=>{try{await s(n,o,t),this.channel.emit(pv,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>a(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||i.unmount(t)},a()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};l(a2,"CsfDocsRender");var I_=a2,l2=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Dh;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new $S(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},s=await o.renderer(),{render:a}=s,u=l(async()=>{try{await a(n,i,t),this.channel.emit(pv,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(s.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};l(l2,"MdxDocsRender");var M_=l2,Voe=globalThis;function u2(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}l(u2,"focusInInput");var c2="attached-mdx",Hoe="unattached-mdx";function d2({tags:e}){return(e==null?void 0:e.includes(Hoe))||(e==null?void 0:e.includes(c2))}l(d2,"isMdxEntry");function ud(e){return e.type==="story"}l(ud,"isStoryRender");function p2(e){return e.type==="docs"}l(p2,"isDocsRender");function f2(e){return p2(e)&&e.subtype==="csf"}l(f2,"isCsfDocsRender");var h2=class extends i2{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),Voe.onkeydown=this.onKeydown.bind(this),this.channel.on(mv,this.onSetCurrentStory.bind(this)),this.channel.on(i1,this.onUpdateQueryParams.bind(this)),this.channel.on(GP,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Pr({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new Pr({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new HA):this.renderStoryLoadingException(t,new zA({storySpecifier:t.toString()}));return}let{id:o,type:i}=n;this.selectionStore.setSelection({storyId:o,viewMode:i}),this.channel.emit(r1,this.selectionStore.selection),this.channel.emit(py,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!u2(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:a,keyCode:u}=t;this.channel.emit(WP,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:a,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(py,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){var n,o;let r=this.currentRender instanceof vb&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof M_||this.currentRender instanceof I_)&&await((o=(n=this.currentRender).rerender)==null?void 0:o.call(n))}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>{var n;return(n=this.storyStoreValue)==null?void 0:n.loadEntry(r)}))}async renderSelection({persistedArgs:t}={}){var h,f,m,y;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new Pr({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,i;try{i=await this.storyStoreValue.storyIdToEntry(o)}catch(g){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,g);return}let s=((h=this.currentSelection)==null?void 0:h.storyId)!==o,a=((f=this.currentRender)==null?void 0:f.type)!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:a}):this.view.showPreparingDocs({immediate:a}),(m=this.currentRender)!=null&&m.isPreparing()&&await this.teardownRender(this.currentRender);let u;i.type==="story"?u=new vb(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):d2(i)?u=new M_(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o)):u=new I_(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let d=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(g){d&&await this.teardownRender(d),g!==Dh&&this.renderStoryLoadingException(o,g);return}let p=!s&&d&&!u.isEqual(d);if(t&&ud(u)&&(On(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),d&&!d.torndown&&!s&&!p&&!a){this.currentRender=d,this.channel.emit(o1,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:a}),c&&(s||a)&&this.channel.emit(QP,o),ud(u)){On(!!u.story);let{parameters:g,initialArgs:b,argTypes:v,unmappedArgs:S,initialGlobals:T,userGlobals:O,storyGlobals:C,globals:E}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(t1,{id:o,parameters:g,initialArgs:b,argTypes:v,args:S}),this.channel.emit(zl,{userGlobals:O,storyGlobals:C,globals:E,initialGlobals:T})}else{let{parameters:g}=this.storyStoreValue.projectAnnotations,{initialGlobals:b,globals:v}=this.storyStoreValue.userGlobals;if(this.channel.emit(zl,{globals:v,initialGlobals:b,storyGlobals:{},userGlobals:v}),f2(u)||((y=u.entry.tags)==null?void 0:y.includes(c2))){if(!u.csfFiles)throw new UA({storyId:o});({parameters:g}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(JP,{id:o,parameters:g})}ud(u)?(On(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){var n;this.storyRenders=this.storyRenders.filter(o=>o!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}mainStoryCallbacks(t){return{showStoryDuringRender:l(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:l(()=>this.view.showMain(),"showMain"),showError:l(r=>this.renderError(t,r),"showError"),showException:l(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(fy)}renderStoryLoadingException(t,r){at.error(r),this.view.showErrorDisplay(r),this.channel.emit(fy,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:i}=r;this.channel.emit(n1,{name:n,message:o,stack:i}),this.channel.emit(Hi,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),at.error(`Error rendering story '${t}':`),at.error(r)}renderError(t,{title:r,description:n}){at.error(`Error rendering story ${r}: ${n}`),this.channel.emit(ZP,{title:r,description:n}),this.channel.emit(Hi,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};l(h2,"PreviewWithSelection");var m2=h2,Eb=_t(uv(),1),Joe=_t(uv(),1),k_=/^[a-zA-Z0-9 _-]*$/,y2=/^-?[0-9]+(\.[0-9]+)?$/,zoe=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,g2=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,wb=l((e="",t)=>e===null||e===""||!k_.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?k_.test(t)||y2.test(t)||zoe.test(t)||g2.test(t):Array.isArray(t)?t.every(r=>wb(e,r)):ln(t)?Object.entries(t).every(([r,n])=>wb(r,n)):!1,"validateArgs"),Koe={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(g2);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 y2.test(e)?Number(e):e}},j_=l(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Joe.parse)(t.join(";"),Koe)).reduce((r,[n,o])=>wb(n,o)?Object.assign(r,{[n]:o}):(xt.warn(qe`
|
|
946
|
+
Omitted potentially unsafe URL args.
|
|
947
|
+
|
|
948
|
+
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
|
|
949
|
+
`),r),{})},"parseArgsParam"),{history:b2,document:An}=me;function v2(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}l(v2,"pathToId");var E2=l(({selection:e,extraParams:t})=>{let r=An==null?void 0:An.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...s}=(0,Eb.parse)(r);return`?${(0,Eb.stringify)({...s,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),Goe=l(e=>{if(!e)return;let t=E2({selection:e}),{hash:r=""}=An.location;An.title=e.storyId,b2.replaceState({},"",`${An.location.pathname}${t}${r}`)},"setPath"),Woe=l(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Il=l(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Il(e[0]);if(Woe(e))return Il(Object.values(e).filter(Boolean))}},"getFirstString"),Yoe=l(()=>{if(typeof An<"u"){let e=An.location.search.slice(1),t=(0,Eb.parse)(e),r=typeof t.args=="string"?j_(t.args):void 0,n=typeof t.globals=="string"?j_(t.globals):void 0,o=Il(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let i=Il(t.path),s=i?v2(i):Il(t.id);if(s)return{storySpecifier:s,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),w2=class{constructor(){this.selectionSpecifier=Yoe()}setSelection(t){this.selection=t,Goe(this.selection)}setQueryParams(t){let r=E2({extraParams:t}),{hash:n=""}=An.location;b2.replaceState({},"",`${An.location.pathname}${r}${n}`)}};l(w2,"UrlStore");var S2=w2,Xoe=_t(S8(),1),Qoe=_t(uv(),1),{document:nr}=me,q_=100,x2=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(x2||{}),Fm={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Bm={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},L_=new Xoe.default({escapeXML:!0}),T2=class{constructor(){if(this.testing=!1,typeof nr<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,Qoe.parse)(nr.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),nr.documentElement.scrollTop=0,nr.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return nr.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),nr.documentElement.scrollTop=0,nr.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return nr.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){nr.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Bm[t];nr.body.classList.remove(this.currentLayoutClass),nr.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Bm[t]||at.warn(qe`
|
|
950
|
+
The desired layout: ${t} is not a valid option.
|
|
951
|
+
The possible options are: ${Object.keys(Bm).join(", ")}, none.
|
|
952
|
+
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(x2).forEach(r=>{r===t?nr.body.classList.add(Fm[r]):nr.body.classList.remove(Fm[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,i=t.split(`
|
|
953
|
+
`);i.length>1&&([n]=i,o=i.slice(1).join(`
|
|
954
|
+
`).replace(/^\n/,"")),nr.getElementById("error-message").innerHTML=L_.toHtml(n),nr.getElementById("error-stack").innerHTML=L_.toHtml(o),this.showMode("ERROR")}showNoPreview(){var t,r;this.testing||(this.showMode("NOPREVIEW"),(t=this.storyRoot())==null||t.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),q_)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),q_)}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(){nr.body.classList.add(Fm.MAIN)}};l(T2,"WebView");var C2=T2,_2=class extends m2{constructor(t,r){super(t,r,new S2,new C2),this.importFn=t,this.getProjectAnnotations=r,me.__STORYBOOK_PREVIEW__=this}};l(_2,"PreviewWeb");var Zoe=_2,{document:Li}=me,eie=["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"],tie="script",$_="scripts-root";function Sp(){let e=Li.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Li.dispatchEvent(e)}l(Sp,"simulateDOMContentLoaded");function O2(e,t,r){let n=Li.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):Li.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}l(O2,"insertScript");function DS(e,t,r=0){e[r](()=>{r++,r===e.length?t():DS(e,t,r)})}l(DS,"insertScriptsSequentially");function P2(e){let t=Li.getElementById($_);t?t.innerHTML="":(t=Li.createElement("div"),t.id=$_,Li.body.appendChild(t));let r=Array.from(e.querySelectorAll(tie));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||eie.includes(i))&&n.push(s=>O2(o,s,t))}),n.length&&DS(n,Sp,void 0)}else Sp()}l(P2,"simulatePageLoad");var rie="storybook/docs",nie=`${rie}/snippet-rendered`;async function A2(e,t){var a,u,c;let r=(c=(u=(a=t.parameters)==null?void 0:a.docs)==null?void 0:u.source)==null?void 0:c.transform,{id:n,unmappedArgs:o}=t,i=r&&e?r==null?void 0:r(e,t):e,s=i?await i:void 0;vr.getChannel().emit(nie,{id:n,source:s,args:o})}l(A2,"emitTransformCode");var yu={depth:10,clearOnStoryChange:!0,limit:50},oie=l((e={})=>{Object.assign(yu,e)},"configureActions"),R2=l((e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:R2(r,t)},"findProto"),iie=l(e=>!!(typeof e=="object"&&e&&R2(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),"isReactSyntheticEvent"),sie=l(e=>{if(iie(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},"serializeArg");function Ua(e,t={}){let r={...yu,...t},n=l(function(...o){var p,h;if(t.implicit){let f=(p="__STORYBOOK_PREVIEW__"in me?me.__STORYBOOK_PREVIEW__:void 0)==null?void 0:p.storyRenders.find(m=>m.phase==="playing"||m.phase==="rendering");if(f){let m=!((h=globalThis==null?void 0:globalThis.FEATURES)!=null&&h.disallowImplicitActionsInRenderV8),y=new MA({phase:f.phase,name:e,deprecated:m});if(m)console.warn(y);else throw y}}let i=vr.getChannel(),s=Date.now().toString(36)+Math.random().toString(36).substring(2),a=5,u=o.map(sie),c=o.length>1?u:u[0],d={id:s,count:0,data:{name:e,args:c},options:{...r,maxDepth:a+(r.depth||3)}};i.emit(dR,d)},"actionHandler");return n.isAction=!0,n.implicit=t.implicit,n}l(Ua,"action");var aie=l((...e)=>{let t=yu,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...yu,...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]=Ua(n[i],t)}),o},"actions"),lie={"@storybook/global":l1,"storybook/test":CI,"storybook/actions":cR,"storybook/preview-api":by,"storybook/internal/channels":c1,"storybook/internal/client-logger":p1,"storybook/internal/core-events":cv,"storybook/internal/types":lR,"storybook/internal/preview-errors":_A,"storybook/internal/preview-api":by};async function N2(){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}uie(t,r)}l(N2,"maybeSetupPreviewNavigator");var uie=l(async(e,t)=>{var a,u;let r={entries:{}};for(let c of Object.values(e.entries)){let d=c.title.split("/"),p=r;for(let h of d)p.entries||(p.entries={}),p.entries[h]?t===c.id&&(p.entries[h].isActive=!0):p.entries[h]={title:h,isActive:t===c.id,entries:{}},p=p.entries[h];p.entries||(p.entries={}),p.entries[c.name]={id:c.id,name:c.name,href:`?id=${c.id}&viewMode=${c.type}&navigator=true`,isActive:t===c.id}}let n=l(c=>{if("entries"in c&&"title"in c){let p=c;return`
|
|
955
|
+
<li class="sb-navigator-branch">
|
|
956
|
+
<details${p.isActive?" open":""}>
|
|
957
|
+
<summary class="sb-navigator-title">
|
|
958
|
+
${p.title}
|
|
959
|
+
</summary>
|
|
960
|
+
<ul class="sb-navigator-entries" aria-label="${p.title}">
|
|
961
|
+
${Object.values(p.entries).map(n).join("")}
|
|
962
|
+
</ul>
|
|
963
|
+
</details>
|
|
964
|
+
</li>
|
|
965
|
+
`}let d=c;return`
|
|
966
|
+
<li class="sb-navigator-story-item">
|
|
967
|
+
<a href="${d.href}"
|
|
968
|
+
class="sb-navigator-story-link${d.isActive?" active":""}"
|
|
969
|
+
aria-current="${d.isActive?"location":"false"}">${d.name}</a>
|
|
970
|
+
</li>
|
|
971
|
+
`},"createHtmlForNode"),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=`
|
|
972
|
+
<ul class="sb-navigator-list">${o}</ul>
|
|
973
|
+
`,document.body.insertBefore(i,document.body.firstChild);let s=document.createElement("style");s.id="sb-navigator-style",s.textContent=`
|
|
974
|
+
body {
|
|
975
|
+
display: grid !important;
|
|
976
|
+
grid-template-columns: 300px 1fr;
|
|
977
|
+
font-family: 'Nunito', sans-serif;
|
|
978
|
+
height: 100vh;
|
|
979
|
+
margin: 0;
|
|
980
|
+
|
|
981
|
+
--text-color: rgb(46, 52, 56);
|
|
982
|
+
--bg-color: rgb(246, 249, 252);
|
|
983
|
+
|
|
984
|
+
@media (prefers-color-scheme: dark) {
|
|
985
|
+
--text-color: rgb(201, 205, 207);
|
|
986
|
+
--bg-color: rgb(34, 36, 37);
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
#storybook-root, #storybook-docs {
|
|
990
|
+
overflow-y: auto;
|
|
991
|
+
max-height: 100vh;
|
|
992
|
+
max-width: 100%;
|
|
993
|
+
}
|
|
994
|
+
#sb-navigator-container, #sb-navigator-container * {
|
|
995
|
+
box-sizing: border-box;
|
|
996
|
+
}
|
|
997
|
+
#sb-navigator-container {
|
|
998
|
+
height: 100vh;
|
|
999
|
+
overflow-y: auto;
|
|
1000
|
+
border-right: 1px solid #eee;
|
|
1001
|
+
padding: 1rem;
|
|
1002
|
+
font-size: 14px;
|
|
1003
|
+
color: var(--text-color);
|
|
1004
|
+
background-color: var(--bg-color);
|
|
1005
|
+
align-self: start;
|
|
1006
|
+
z-index: 1000;
|
|
1007
|
+
}
|
|
1008
|
+
.sb-main-padded #sb-navigator-container {
|
|
1009
|
+
margin: -1rem 1rem -1rem -1rem;
|
|
1010
|
+
}
|
|
1011
|
+
.sb-navigator-list {
|
|
1012
|
+
list-style-type: none;
|
|
1013
|
+
padding: 0;
|
|
1014
|
+
margin: 0;
|
|
1015
|
+
}
|
|
1016
|
+
.sb-navigator-branch {
|
|
1017
|
+
list-style-type: none;
|
|
1018
|
+
}
|
|
1019
|
+
.sb-navigator-item {
|
|
1020
|
+
margin-bottom: 15px;
|
|
1021
|
+
}
|
|
1022
|
+
.sb-navigator-title {
|
|
1023
|
+
color: var(--text-color);
|
|
1024
|
+
text-decoration: none;
|
|
1025
|
+
padding-block: 5px;
|
|
1026
|
+
cursor: pointer;
|
|
1027
|
+
}
|
|
1028
|
+
.sb-navigator-entries {
|
|
1029
|
+
padding-left: 15px;
|
|
1030
|
+
}
|
|
1031
|
+
.sb-navigator-story-item {
|
|
1032
|
+
margin-bottom: 8px;
|
|
1033
|
+
margin-left: 8px;
|
|
1034
|
+
}
|
|
1035
|
+
.sb-navigator-story-link {
|
|
1036
|
+
color: var(--text-color);
|
|
1037
|
+
}
|
|
1038
|
+
.sb-navigator-story-link.active {
|
|
1039
|
+
font-weight: bold;
|
|
1040
|
+
color: rgb(2, 156, 253);
|
|
1041
|
+
}
|
|
1042
|
+
`,document.head.appendChild(s),(u=(a=i.querySelector(".sb-navigator-story-link.active"))==null?void 0:a.closest("details"))==null||u.scrollIntoView({block:"center"})},"setupPreviewNavigator"),cie=_t(x8(),1),Um;function I2(){var e;return Um||(Um=new cie.default((e=me.navigator)==null?void 0:e.userAgent).getBrowserInfo()),Um}l(I2,"getBrowserInfo");function M2(e){return e.browserInfo=I2(),e}l(M2,"prepareForTelemetry");function k2(e){let t=e.error||e;t.fromStorybook&&me.sendTelemetryError(t)}l(k2,"errorListener");function j2({reason:e}){e.fromStorybook&&me.sendTelemetryError(e)}l(j2,"unhandledRejectionListener");function FS(){W8.forEach(e=>{me[u1[e]]=lie[e]}),me.sendTelemetryError=e=>{me.__STORYBOOK_ADDONS_CHANNEL__.emit(s1,M2(e))},me.addEventListener("error",k2),me.addEventListener("unhandledrejection",j2),N2()}l(FS,"setup");FS();const{createBrowserChannel:die}=__STORYBOOK_MODULE_CHANNELS__,{addons:pie}=__STORYBOOK_MODULE_PREVIEW_API__,BS=die({page:"preview"});pie.setChannel(BS);window.__STORYBOOK_ADDONS_CHANNEL__=BS;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=BS);const fie="modulepreload",hie=function(e,t){return new URL(e,t).href},D_={},we=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let s=function(d){return Promise.all(d.map(p=>Promise.resolve(p).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const a=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),c=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));o=s(r.map(d=>{if(d=hie(d,n),d in D_)return;D_[d]=!0;const p=d.endsWith(".css"),h=p?'[rel="stylesheet"]':"";if(!!n)for(let y=a.length-1;y>=0;y--){const g=a[y];if(g.href===d&&(!p||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const m=document.createElement("link");if(m.rel=p?"stylesheet":fie,p||(m.as="script"),m.crossOrigin="",m.href=d,c&&m.setAttribute("nonce",c),document.head.appendChild(m),p)return new Promise((y,g)=>{m.addEventListener("load",y),m.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${d}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},mie={"./src/atoms/components/Button/Buttons.stories.js":()=>we(()=>import("./Buttons.stories-aTFEest4.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"./src/atoms/components/Button/ButtonsCrazyDomains.stories.js":()=>we(()=>import("./ButtonsCrazyDomains.stories-BDEdg2Ki.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url),"./src/atoms/components/ButtonGroup/ButtonGroup.stories.js":()=>we(()=>import("./ButtonGroup.stories-DYoET5Zw.js"),__vite__mapDeps([8,5,3,9]),import.meta.url),"./src/atoms/components/Carousel/carousel.stories.js":()=>we(()=>import("./carousel.stories-IeFZNB6E.js"),__vite__mapDeps([10,5,3,11]),import.meta.url),"./src/atoms/components/Checkbox/Checkbox.stories.js":()=>we(()=>import("./Checkbox.stories-CA6Ke9oy.js"),__vite__mapDeps([12,5,3,13]),import.meta.url),"./src/atoms/components/Checktile/Checktile.stories.js":()=>we(()=>import("./Checktile.stories-DAvOuYro.js"),__vite__mapDeps([14,5,3]),import.meta.url),"./src/atoms/components/CollapsiblePanel/CollapsiblePanel.stories.js":()=>we(()=>import("./CollapsiblePanel.stories-Dn1XwwpU.js"),__vite__mapDeps([15,5,3]),import.meta.url),"./src/atoms/components/ColorPicker/ColorPicker.stories.js":()=>we(()=>import("./ColorPicker.stories-DTkwaAKN.js"),__vite__mapDeps([16,17,5,3]),import.meta.url),"./src/atoms/components/CopyToClipboardText/CopyToClipboardText.stories.js":()=>we(()=>import("./CopyToClipboardText.stories-CYAv-s36.js"),__vite__mapDeps([18,19,5,3,20]),import.meta.url),"./src/atoms/components/Dropdown/Dropdown.stories.js":()=>we(()=>import("./Dropdown.stories-hHlWTMpq.js"),__vite__mapDeps([21,22,5,3,23,24,1,2,4,6]),import.meta.url),"./src/atoms/components/HelloBar/HelloBar.stories.js":()=>we(()=>import("./HelloBar.stories-D4kmUZop.js"),__vite__mapDeps([25,1,2,3,4,5,6,26]),import.meta.url),"./src/atoms/components/Icon/Icon.stories.js":()=>we(()=>import("./Icon.stories-Fv8jSyX3.js"),__vite__mapDeps([27,5,3]),import.meta.url),"./src/atoms/components/Masonry/Masonry.stories.js":()=>we(()=>import("./Masonry.stories-CYO67z8l.js"),__vite__mapDeps([28,3,29]),import.meta.url),"./src/atoms/components/Modal/HashRouteModal.stories.js":()=>we(()=>import("./HashRouteModal.stories-t0ZML3rG.js"),__vite__mapDeps([30,31,5,3,32,1,2,4,6]),import.meta.url),"./src/atoms/components/Modal/Modal.stories.js":()=>we(()=>import("./Modal.stories-uhl_4yGf.js"),__vite__mapDeps([33,31,5,3,32,1,2,4,6]),import.meta.url),"./src/atoms/components/Notice/Notice.stories.js":()=>we(()=>import("./Notice.stories-BP3l1NFU.js"),__vite__mapDeps([34,3,1,2,4,5,6]),import.meta.url),"./src/atoms/components/NumberStepper/NumberStepper.stories.js":()=>we(()=>import("./NumberStepper.stories-BeUZfA-C.js"),__vite__mapDeps([35,1,2,3,4,5,6,36]),import.meta.url),"./src/atoms/components/Picture/Picture.stories.js":()=>we(()=>import("./Picture.stories-BdQ6Koo2.js"),__vite__mapDeps([37,38,3]),import.meta.url),"./src/atoms/components/Pill/Pill.stories.js":()=>we(()=>import("./Pill.stories-BVDivYOY.js"),__vite__mapDeps([39,24,3]),import.meta.url),"./src/atoms/components/PillBar/PillBar.stories.js":()=>we(()=>import("./PillBar.stories-Dgp2DDmF.js"),__vite__mapDeps([40,1,2,3,4,5,6,41]),import.meta.url),"./src/atoms/components/Price/Price.stories.js":()=>we(()=>import("./Price.stories-JstP9L09.js"),__vite__mapDeps([42,43,3]),import.meta.url),"./src/atoms/components/PromoCard/PromoCard.stories.ts":()=>we(()=>import("./PromoCard.stories-CWKGBEKG.js"),__vite__mapDeps([44,45,1,2,3,4,5,6]),import.meta.url),"./src/atoms/components/SearchBar/SearchBar.stories.js":()=>we(()=>import("./SearchBar.stories-CfVmuWji.js"),__vite__mapDeps([46,2,3,4]),import.meta.url),"./src/atoms/components/Select/Select.stories.js":()=>we(()=>import("./Select.stories-EdNZQHYu.js"),__vite__mapDeps([47,3,48]),import.meta.url),"./src/atoms/components/Slider/Slider.stories.js":()=>we(()=>import("./Slider.stories-CMJ5ugMO.js"),__vite__mapDeps([49,3,1,2,4,5,6,50]),import.meta.url),"./src/atoms/components/SparkleIcon/SparkleIcon.stories.js":()=>we(()=>import("./SparkleIcon.stories-BZksmQE5.js"),[],import.meta.url),"./src/atoms/components/StarRating/StarRating.stories.js":()=>we(()=>import("./StarRating.stories-ChJp556v.js"),__vite__mapDeps([51,5,3,52]),import.meta.url),"./src/atoms/components/TabMenu/TabMenu.stories.js":()=>we(()=>import("./TabMenu.stories-wiuV4LXX.js"),__vite__mapDeps([53,3]),import.meta.url),"./src/atoms/components/TextCopyField/TextCopyField.stories.js":()=>we(()=>import("./TextCopyField.stories-CijK8qce.js"),__vite__mapDeps([54,55,56,17,5,3,1,2,4,6]),import.meta.url),"./src/atoms/components/TextInput/TextInput.stories.js":()=>we(()=>import("./TextInput.stories-58ZMik7R.js"),__vite__mapDeps([57,56,17,5,3]),import.meta.url),"./src/atoms/components/Textarea/Textarea.stories.js":()=>we(()=>import("./Textarea.stories-JRiJv3-v.js"),__vite__mapDeps([58,17,5,3]),import.meta.url),"./src/atoms/components/Toggle/Toggle.stories.js":()=>we(()=>import("./Toggle.stories-CTp5mIN9.js"),__vite__mapDeps([59,13,3]),import.meta.url),"./src/atoms/components/Tooltip/Tooltip.stories.js":()=>we(()=>import("./Tooltip.stories-DEHShenH.js"),__vite__mapDeps([60,19,5,3,20]),import.meta.url),"./src/atoms/components/design-com/Icon/Icon.stories.js":()=>we(()=>import("./Icon.stories-BqE4TmG1.js"),__vite__mapDeps([61,3]),import.meta.url),"./src/experiences/components/AuthFlow/Auth.stories.js":()=>we(()=>import("./Auth.stories-6JyBk-uq.js"),__vite__mapDeps([62,63,26,5,3,1,2,4,6,64,65]),import.meta.url),"./src/experiences/components/AuthFlow/AuthCrazyDomains.stories.js":()=>we(()=>import("./AuthCrazyDomains.stories-DM4RpsMO.js"),__vite__mapDeps([66,63,26,5,3,1,2,4,6,64]),import.meta.url),"./src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js":()=>we(()=>import("./PaymentConfigList.stories-CVHxg1ka.js"),__vite__mapDeps([67,68,69,70,71,3,1,2,4,5,6,31,32,22,23,24,72]),import.meta.url),"./src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js":()=>we(()=>import("./PublishBrandPageModal.stories-CYEZ4ls2.js"),__vite__mapDeps([73,1,2,3,4,5,6,31,32,74,75,56,17,71,38,43,76,77,78,79,68,80,45,55,81,22,23,82]),import.meta.url),"./src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.stories.js":()=>we(()=>import("./SellDomainNameListModal.stories-DFwSK3G7.js"),__vite__mapDeps([83,84,74,31,5,3,32,75,1,2,4,6,56,17,71,38,43,76,77,78]),import.meta.url),"./src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.stories.js":()=>we(()=>import("./SellDomainNameSearchWithResults.stories-DKGuPPpj.js"),__vite__mapDeps([85,84,81,75,1,2,3,4,5,6,56,17,71,38,43,76,77,79,68,80]),import.meta.url),"./src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.stories.js":()=>we(()=>import("./SellDomainNameWidget.stories-DNnX4xt_.js"),__vite__mapDeps([86,1,2,3,4,5,6,56,17,74,31,32,75,71,38,43,76,77,78,79,68,80]),import.meta.url),"./src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.stories.js":()=>we(()=>import("./UploadYourLogoApplication.stories-Cdk8mmFd.js"),__vite__mapDeps([87,68,69,70,76,79,80,88,5,3,89,90,91,1,2,4,6,26,92,93]),import.meta.url),"./src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.stories.js":()=>we(()=>import("./UploadYourLogoDropzone.stories-BVr13-q9.js"),__vite__mapDeps([94,76,89,3,90]),import.meta.url),"./src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.stories.js":()=>we(()=>import("./LogoBusinessBrandColours.stories-QdrZqhMQ.js"),__vite__mapDeps([95,91,1,2,3,4,5,6,26,88,92]),import.meta.url),"./src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.stories.js":()=>we(()=>import("./UploadedLogoSearchResultCard.stories-BUMq40yJ.js"),__vite__mapDeps([96,68,1,2,3,4,5,6,76,80,88]),import.meta.url),"./src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.stories.js":()=>we(()=>import("./WebsiteContextualUpgradeModal.stories-DsIAXVdb.js"),__vite__mapDeps([97,1,2,3,4,5,6,31,32,98]),import.meta.url)};async function yie(e){return await mie[e]()}var gie=Object.defineProperty,bie=(e,t)=>{for(var r in t)gie(e,r,{get:t[r],enumerable:!0})},vie=Object.create,US=Object.defineProperty,Eie=Object.getOwnPropertyDescriptor,wie=Object.getOwnPropertyNames,Sie=Object.getPrototypeOf,xie=Object.prototype.hasOwnProperty,L=(e,t)=>US(e,"name",{value:t,configurable:!0}),Tie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Cie=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of wie(t))!xie.call(e,o)&&o!==r&&US(e,o,{get:()=>t[o],enumerable:!(n=Eie(t,o))||n.enumerable});return e},_ie=(e,t,r)=>(r=e!=null?vie(Sie(e)):{},Cie(US(r,"default",{value:e,enumerable:!0}),e)),Oie=Tie((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(x){return x.text!==void 0&&x.text!==""?`'${x.type}' with value '${x.text}'`:`'${x.type}'`}L(n,"tokenToString");let o=class q2 extends Error{constructor(I){super(`No parslet found for token: ${n(I)}`),this.token=I,Object.setPrototypeOf(this,q2.prototype)}getToken(){return this.token}};L(o,"NoParsletFoundError");let i=o,s=class L2 extends Error{constructor(I){super(`The parsing ended early. The next token was: ${n(I)}`),this.token=I,Object.setPrototypeOf(this,L2.prototype)}getToken(){return this.token}};L(s,"EarlyEndOfParseError");let a=s,u=class $2 extends Error{constructor(I,U){let Z=`Unexpected type: '${I.type}'.`;U!==void 0&&(Z+=` Message: ${U}`),super(Z),Object.setPrototypeOf(this,$2.prototype)}};L(u,"UnexpectedTypeError");let c=u;function d(x){return I=>I.startsWith(x)?{type:x,text:x}:null}L(d,"makePunctuationRule");function p(x){let I=0,U,Z=x[0],ge=!1;if(Z!=="'"&&Z!=='"')return null;for(;I<x.length;){if(I++,U=x[I],!ge&&U===Z){I++;break}ge=!ge&&U==="\\"}if(U!==Z)throw new Error("Unterminated String");return x.slice(0,I)}L(p,"getQuoted");let h=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),f=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 m(x){let I=x[0];if(!h.test(I))return null;let U=1;do{if(I=x[U],!f.test(I))break;U++}while(U<x.length);return x.slice(0,U)}L(m,"getIdentifier");let y=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function g(x){var I,U;return(U=(I=y.exec(x))===null||I===void 0?void 0:I[0])!==null&&U!==void 0?U:null}L(g,"getNumber");let b=L(x=>{let I=m(x);return I==null?null:{type:"Identifier",text:I}},"identifierRule");function v(x){return I=>{if(!I.startsWith(x))return null;let U=I[x.length];return U!==void 0&&f.test(U)?null:{type:x,text:x}}}L(v,"makeKeyWordRule");let S=L(x=>{let I=p(x);return I==null?null:{type:"StringValue",text:I}},"stringValueRule"),T=L(x=>x.length>0?null:{type:"EOF",text:""},"eofRule"),O=L(x=>{let I=g(x);return I===null?null:{type:"Number",text:I}},"numberRule"),C=[T,d("=>"),d("("),d(")"),d("{"),d("}"),d("["),d("]"),d("|"),d("&"),d("<"),d(">"),d(","),d(";"),d("*"),d("?"),d("!"),d("="),d(":"),d("..."),d("."),d("#"),d("~"),d("/"),d("@"),v("undefined"),v("null"),v("function"),v("this"),v("new"),v("module"),v("event"),v("external"),v("typeof"),v("keyof"),v("readonly"),v("import"),v("is"),v("in"),v("asserts"),O,b,S],E=/^\s*\n\s*/,w=class cd{static create(I){let U=this.read(I);I=U.text;let Z=this.read(I);return I=Z.text,new cd(I,void 0,U.token,Z.token)}constructor(I,U,Z,ge){this.text="",this.text=I,this.previous=U,this.current=Z,this.next=ge}static read(I,U=!1){U=U||E.test(I),I=I.trim();for(let Z of C){let ge=Z(I);if(ge!==null){let Ee=Object.assign(Object.assign({},ge),{startOfLine:U});return I=I.slice(Ee.text.length),{text:I,token:Ee}}}throw new Error("Unexpected Token "+I)}advance(){let I=cd.read(this.text);return new cd(I.text,this.current,this.next,I.token)}};L(w,"Lexer");let _=w;function R(x){if(x===void 0)throw new Error("Unexpected undefined");if(x.type==="JsdocTypeKeyValue"||x.type==="JsdocTypeParameterList"||x.type==="JsdocTypeProperty"||x.type==="JsdocTypeReadonlyProperty"||x.type==="JsdocTypeObjectField"||x.type==="JsdocTypeJsdocObjectField"||x.type==="JsdocTypeIndexSignature"||x.type==="JsdocTypeMappedType")throw new c(x);return x}L(R,"assertRootResult");function N(x){return x.type==="JsdocTypeKeyValue"?D(x):R(x)}L(N,"assertPlainKeyValueOrRootResult");function j(x){return x.type==="JsdocTypeName"?x:D(x)}L(j,"assertPlainKeyValueOrNameResult");function D(x){if(x.type!=="JsdocTypeKeyValue")throw new c(x);return x}L(D,"assertPlainKeyValueResult");function P(x){var I;if(x.type==="JsdocTypeVariadic"){if(((I=x.element)===null||I===void 0?void 0:I.type)==="JsdocTypeName")return x;throw new c(x)}if(x.type!=="JsdocTypeNumber"&&x.type!=="JsdocTypeName")throw new c(x);return x}L(P,"assertNumberOrVariadicNameResult");function M(x){return x.type==="JsdocTypeIndexSignature"||x.type==="JsdocTypeMappedType"}L(M,"isSquaredProperty");var k;(function(x){x[x.ALL=0]="ALL",x[x.PARAMETER_LIST=1]="PARAMETER_LIST",x[x.OBJECT=2]="OBJECT",x[x.KEY_VALUE=3]="KEY_VALUE",x[x.INDEX_BRACKETS=4]="INDEX_BRACKETS",x[x.UNION=5]="UNION",x[x.INTERSECTION=6]="INTERSECTION",x[x.PREFIX=7]="PREFIX",x[x.INFIX=8]="INFIX",x[x.TUPLE=9]="TUPLE",x[x.SYMBOL=10]="SYMBOL",x[x.OPTIONAL=11]="OPTIONAL",x[x.NULLABLE=12]="NULLABLE",x[x.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",x[x.FUNCTION=14]="FUNCTION",x[x.ARROW=15]="ARROW",x[x.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",x[x.GENERIC=17]="GENERIC",x[x.NAME_PATH=18]="NAME_PATH",x[x.PARENTHESIS=19]="PARENTHESIS",x[x.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(k||(k={}));let z=class{constructor(I,U,Z){this.grammar=I,typeof U=="string"?this._lexer=_.create(U):this._lexer=U,this.baseParser=Z}get lexer(){return this._lexer}parse(){let I=this.parseType(k.ALL);if(this.lexer.current.type!=="EOF")throw new a(this.lexer.current);return I}parseType(I){return R(this.parseIntermediateType(I))}parseIntermediateType(I){let U=this.tryParslets(null,I);if(U===null)throw new i(this.lexer.current);return this.parseInfixIntermediateType(U,I)}parseInfixIntermediateType(I,U){let Z=this.tryParslets(I,U);for(;Z!==null;)I=Z,Z=this.tryParslets(I,U);return I}tryParslets(I,U){for(let Z of this.grammar){let ge=Z(this,U,I);if(ge!==null)return ge}return null}consume(I){return Array.isArray(I)||(I=[I]),I.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(I){this._lexer=I.lexer}};L(z,"Parser");let J=z;function ie(x){return x==="EOF"||x==="|"||x===","||x===")"||x===">"}L(ie,"isQuestionMarkUnknownType");let pe=L((x,I,U)=>{let Z=x.lexer.current.type,ge=x.lexer.next.type;return U==null&&Z==="?"&&!ie(ge)||U!=null&&Z==="?"?(x.consume("?"),U==null?{type:"JsdocTypeNullable",element:x.parseType(k.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:R(U),meta:{position:"suffix"}}):null},"nullableParslet");function oe(x){let I=L((U,Z,ge)=>{let Ee=U.lexer.current.type,Re=U.lexer.next.type;if(ge===null){if("parsePrefix"in x&&x.accept(Ee,Re))return x.parsePrefix(U)}else if("parseInfix"in x&&x.precedence>Z&&x.accept(Ee,Re))return x.parseInfix(U,ge);return null},"parslet");return Object.defineProperty(I,"name",{value:x.name}),I}L(oe,"composeParslet");let q=oe({name:"optionalParslet",accept:L(x=>x==="=","accept"),precedence:k.OPTIONAL,parsePrefix:L(x=>(x.consume("="),{type:"JsdocTypeOptional",element:x.parseType(k.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:L((x,I)=>(x.consume("="),{type:"JsdocTypeOptional",element:R(I),meta:{position:"suffix"}}),"parseInfix")}),H=oe({name:"numberParslet",accept:L(x=>x==="Number","accept"),parsePrefix:L(x=>{let I=parseFloat(x.lexer.current.text);return x.consume("Number"),{type:"JsdocTypeNumber",value:I}},"parsePrefix")}),X=oe({name:"parenthesisParslet",accept:L(x=>x==="(","accept"),parsePrefix:L(x=>{if(x.consume("("),x.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let I=x.parseIntermediateType(k.ALL);if(!x.consume(")"))throw new Error("Unterminated parenthesis");return I.type==="JsdocTypeParameterList"?I:I.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[I]}:{type:"JsdocTypeParenthesis",element:R(I)}},"parsePrefix")}),ne=oe({name:"specialTypesParslet",accept:L((x,I)=>x==="?"&&ie(I)||x==="null"||x==="undefined"||x==="*","accept"),parsePrefix:L(x=>{if(x.consume("null"))return{type:"JsdocTypeNull"};if(x.consume("undefined"))return{type:"JsdocTypeUndefined"};if(x.consume("*"))return{type:"JsdocTypeAny"};if(x.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+x.lexer.current.text)},"parsePrefix")}),ee=oe({name:"notNullableParslet",accept:L(x=>x==="!","accept"),precedence:k.NULLABLE,parsePrefix:L(x=>(x.consume("!"),{type:"JsdocTypeNotNullable",element:x.parseType(k.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:L((x,I)=>(x.consume("!"),{type:"JsdocTypeNotNullable",element:R(I),meta:{position:"suffix"}}),"parseInfix")});function le({allowTrailingComma:x}){return oe({name:"parameterListParslet",accept:L(I=>I===",","accept"),precedence:k.PARAMETER_LIST,parseInfix:L((I,U)=>{let Z=[N(U)];I.consume(",");do try{let ge=I.parseIntermediateType(k.PARAMETER_LIST);Z.push(N(ge))}catch(ge){if(x&&ge instanceof i)break;throw ge}while(I.consume(","));if(Z.length>0&&Z.slice(0,-1).some(ge=>ge.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:Z}},"parseInfix")})}L(le,"createParameterListParslet");let ye=oe({name:"genericParslet",accept:L((x,I)=>x==="<"||x==="."&&I==="<","accept"),precedence:k.GENERIC,parseInfix:L((x,I)=>{let U=x.consume(".");x.consume("<");let Z=[];do Z.push(x.parseType(k.PARAMETER_LIST));while(x.consume(","));if(!x.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:R(I),elements:Z,meta:{brackets:"angle",dot:U}}},"parseInfix")}),Ie=oe({name:"unionParslet",accept:L(x=>x==="|","accept"),precedence:k.UNION,parseInfix:L((x,I)=>{x.consume("|");let U=[];do U.push(x.parseType(k.UNION));while(x.consume("|"));return{type:"JsdocTypeUnion",elements:[R(I),...U]}},"parseInfix")}),Te=[pe,q,H,X,ne,ee,le({allowTrailingComma:!0}),ye,Ie,q];function K({allowSquareBracketsOnAnyType:x,allowJsdocNamePaths:I,pathGrammar:U}){return L(function(Z,ge,Ee){if(Ee==null||ge>=k.NAME_PATH)return null;let Re=Z.lexer.current.type,ct=Z.lexer.next.type;if(!(Re==="."&&ct!=="<"||Re==="["&&(x||Ee.type==="JsdocTypeName")||I&&(Re==="~"||Re==="#")))return null;let mt,rr=!1;Z.consume(".")?mt="property":Z.consume("[")?(mt="property-brackets",rr=!0):Z.consume("~")?mt="inner":(Z.consume("#"),mt="instance");let Bn=U!==null?new J(U,Z.lexer,Z):Z,Zr=Bn.parseIntermediateType(k.NAME_PATH);Z.acceptLexerState(Bn);let Xa;switch(Zr.type){case"JsdocTypeName":Xa={type:"JsdocTypeProperty",value:Zr.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Xa={type:"JsdocTypeProperty",value:Zr.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Xa={type:"JsdocTypeProperty",value:Zr.value,meta:{quote:Zr.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(Zr.specialType==="event")Xa=Zr;else throw new c(Zr,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new c(Zr,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(rr&&!Z.consume("]")){let OT=Z.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${OT.type}' with text '${OT.text}'`)}return{type:"JsdocTypeNamePath",left:R(Ee),right:Xa,pathType:mt}},"namePathParslet")}L(K,"createNamePathParslet");function fe({allowedAdditionalTokens:x}){return oe({name:"nameParslet",accept:L(I=>I==="Identifier"||I==="this"||I==="new"||x.includes(I),"accept"),parsePrefix:L(I=>{let{type:U,text:Z}=I.lexer.current;return I.consume(U),{type:"JsdocTypeName",value:Z}},"parsePrefix")})}L(fe,"createNameParslet");let $=oe({name:"stringValueParslet",accept:L(x=>x==="StringValue","accept"),parsePrefix:L(x=>{let I=x.lexer.current.text;return x.consume("StringValue"),{type:"JsdocTypeStringValue",value:I.slice(1,-1),meta:{quote:I[0]==="'"?"single":"double"}}},"parsePrefix")});function V({pathGrammar:x,allowedTypes:I}){return oe({name:"specialNamePathParslet",accept:L(U=>I.includes(U),"accept"),parsePrefix:L(U=>{let Z=U.lexer.current.type;if(U.consume(Z),!U.consume(":"))return{type:"JsdocTypeName",value:Z};let ge,Ee=U.lexer.current;if(U.consume("StringValue"))ge={type:"JsdocTypeSpecialNamePath",value:Ee.text.slice(1,-1),specialType:Z,meta:{quote:Ee.text[0]==="'"?"single":"double"}};else{let mt="",rr=["Identifier","@","/"];for(;rr.some(Bn=>U.consume(Bn));)mt+=Ee.text,Ee=U.lexer.current;ge={type:"JsdocTypeSpecialNamePath",value:mt,specialType:Z,meta:{quote:void 0}}}let Re=new J(x,U.lexer,U),ct=Re.parseInfixIntermediateType(ge,k.ALL);return U.acceptLexerState(Re),R(ct)},"parsePrefix")})}L(V,"createSpecialNamePathParslet");let G=[fe({allowedAdditionalTokens:["external","module"]}),$,H,K({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],re=[...G,V({allowedTypes:["event"],pathGrammar:G})];function te(x){let I;if(x.type==="JsdocTypeParameterList")I=x.elements;else if(x.type==="JsdocTypeParenthesis")I=[x.element];else throw new c(x);return I.map(U=>N(U))}L(te,"getParameters");function se(x){let I=te(x);if(I.some(U=>U.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return I}L(se,"getUnnamedParameters");function ue({allowNamedParameters:x,allowNoReturnType:I,allowWithoutParenthesis:U,allowNewAsFunctionKeyword:Z}){return oe({name:"functionParslet",accept:L((ge,Ee)=>ge==="function"||Z&&ge==="new"&&Ee==="(","accept"),parsePrefix:L(ge=>{let Ee=ge.consume("new");ge.consume("function");let Re=ge.lexer.current.type==="(";if(!Re){if(!U)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ct={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:Ee,parenthesis:Re},mt=ge.parseIntermediateType(k.FUNCTION);if(x===void 0)ct.parameters=se(mt);else{if(Ee&&mt.type==="JsdocTypeFunction"&&mt.arrow)return ct=mt,ct.constructor=!0,ct;ct.parameters=te(mt);for(let rr of ct.parameters)if(rr.type==="JsdocTypeKeyValue"&&!x.includes(rr.key))throw new Error(`only allowed named parameters are ${x.join(", ")} but got ${rr.type}`)}if(ge.consume(":"))ct.returnType=ge.parseType(k.PREFIX);else if(!I)throw new Error("function is missing return type");return ct},"parsePrefix")})}L(ue,"createFunctionParslet");function ce({allowPostfix:x,allowEnclosingBrackets:I}){return oe({name:"variadicParslet",accept:L(U=>U==="...","accept"),precedence:k.PREFIX,parsePrefix:L(U=>{U.consume("...");let Z=I&&U.consume("[");try{let ge=U.parseType(k.PREFIX);if(Z&&!U.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:R(ge),meta:{position:"prefix",squareBrackets:Z}}}catch(ge){if(ge instanceof i){if(Z)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw ge}},"parsePrefix"),parseInfix:x?(U,Z)=>(U.consume("..."),{type:"JsdocTypeVariadic",element:R(Z),meta:{position:"suffix",squareBrackets:!1}}):void 0})}L(ce,"createVariadicParslet");let de=oe({name:"symbolParslet",accept:L(x=>x==="(","accept"),precedence:k.SYMBOL,parseInfix:L((x,I)=>{if(I.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");x.consume("(");let U={type:"JsdocTypeSymbol",value:I.value};if(!x.consume(")")){let Z=x.parseIntermediateType(k.SYMBOL);if(U.element=P(Z),!x.consume(")"))throw new Error("Symbol does not end after value")}return U},"parseInfix")}),ae=oe({name:"arrayBracketsParslet",precedence:k.ARRAY_BRACKETS,accept:L((x,I)=>x==="["&&I==="]","accept"),parseInfix:L((x,I)=>(x.consume("["),x.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[R(I)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function ve({objectFieldGrammar:x,allowKeyTypes:I}){return oe({name:"objectParslet",accept:L(U=>U==="{","accept"),parsePrefix:L(U=>{U.consume("{");let Z={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!U.consume("}")){let ge,Ee=new J(x,U.lexer,U);for(;;){Ee.acceptLexerState(U);let Re=Ee.parseIntermediateType(k.OBJECT);U.acceptLexerState(Ee),Re===void 0&&I&&(Re=U.parseIntermediateType(k.OBJECT));let ct=!1;if(Re.type==="JsdocTypeNullable"&&(ct=!0,Re=Re.element),Re.type==="JsdocTypeNumber"||Re.type==="JsdocTypeName"||Re.type==="JsdocTypeStringValue"){let mt;Re.type==="JsdocTypeStringValue"&&(mt=Re.meta.quote),Z.elements.push({type:"JsdocTypeObjectField",key:Re.value.toString(),right:void 0,optional:ct,readonly:!1,meta:{quote:mt}})}else if(Re.type==="JsdocTypeObjectField"||Re.type==="JsdocTypeJsdocObjectField")Z.elements.push(Re);else throw new c(Re);if(U.lexer.current.startOfLine)ge="linebreak";else if(U.consume(","))ge="comma";else if(U.consume(";"))ge="semicolon";else break;if(U.lexer.current.type==="}")break}if(Z.meta.separator=ge??"comma",!U.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return Z},"parsePrefix")})}L(ve,"createObjectParslet");function he({allowSquaredProperties:x,allowKeyTypes:I,allowReadonly:U,allowOptional:Z}){return oe({name:"objectFieldParslet",precedence:k.KEY_VALUE,accept:L(ge=>ge===":","accept"),parseInfix:L((ge,Ee)=>{var Re;let ct=!1,mt=!1;Z&&Ee.type==="JsdocTypeNullable"&&(ct=!0,Ee=Ee.element),U&&Ee.type==="JsdocTypeReadonlyProperty"&&(mt=!0,Ee=Ee.element);let rr=(Re=ge.baseParser)!==null&&Re!==void 0?Re:ge;if(rr.acceptLexerState(ge),Ee.type==="JsdocTypeNumber"||Ee.type==="JsdocTypeName"||Ee.type==="JsdocTypeStringValue"||M(Ee)){if(M(Ee)&&!x)throw new c(Ee);rr.consume(":");let Bn;Ee.type==="JsdocTypeStringValue"&&(Bn=Ee.meta.quote);let Zr=rr.parseType(k.KEY_VALUE);return ge.acceptLexerState(rr),{type:"JsdocTypeObjectField",key:M(Ee)?Ee:Ee.value.toString(),right:Zr,optional:ct,readonly:mt,meta:{quote:Bn}}}else{if(!I)throw new c(Ee);rr.consume(":");let Bn=rr.parseType(k.KEY_VALUE);return ge.acceptLexerState(rr),{type:"JsdocTypeJsdocObjectField",left:R(Ee),right:Bn}}},"parseInfix")})}L(he,"createObjectFieldParslet");function be({allowOptional:x,allowVariadic:I}){return oe({name:"keyValueParslet",precedence:k.KEY_VALUE,accept:L(U=>U===":","accept"),parseInfix:L((U,Z)=>{let ge=!1,Ee=!1;if(x&&Z.type==="JsdocTypeNullable"&&(ge=!0,Z=Z.element),I&&Z.type==="JsdocTypeVariadic"&&Z.element!==void 0&&(Ee=!0,Z=Z.element),Z.type!=="JsdocTypeName")throw new c(Z);U.consume(":");let Re=U.parseType(k.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:Z.value,right:Re,optional:ge,variadic:Ee}},"parseInfix")})}L(be,"createKeyValueParslet");let Se=[...Te,ue({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),$,V({allowedTypes:["module","external","event"],pathGrammar:re}),ce({allowEnclosingBrackets:!0,allowPostfix:!0}),fe({allowedAdditionalTokens:["keyof"]}),de,ae,K({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:re})],Me=[...Se,ve({objectFieldGrammar:[fe({allowedAdditionalTokens:["module","in"]}),he({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Se],allowKeyTypes:!0}),be({allowOptional:!0,allowVariadic:!0})],Ue=oe({name:"typeOfParslet",accept:L(x=>x==="typeof","accept"),parsePrefix:L(x=>(x.consume("typeof"),{type:"JsdocTypeTypeof",element:R(x.parseType(k.KEY_OF_TYPE_OF))}),"parsePrefix")}),Le=[fe({allowedAdditionalTokens:["module","keyof","event","external","in"]}),pe,q,$,H,he({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Rt=[...Te,ve({allowKeyTypes:!1,objectFieldGrammar:Le}),fe({allowedAdditionalTokens:["event","external","in"]}),Ue,ue({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ce({allowEnclosingBrackets:!1,allowPostfix:!1}),fe({allowedAdditionalTokens:["keyof"]}),V({allowedTypes:["module"],pathGrammar:re}),K({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:re}),be({allowOptional:!1,allowVariadic:!1}),de],ht=oe({name:"assertsParslet",accept:L(x=>x==="asserts","accept"),parsePrefix:L(x=>{x.consume("asserts");let I=x.parseIntermediateType(k.SYMBOL);if(I.type!=="JsdocTypeName")throw new c(I,"A typescript asserts always has to have a name on the left side.");return x.consume("is"),{type:"JsdocTypeAsserts",left:I,right:R(x.parseIntermediateType(k.INFIX))}},"parsePrefix")});function Vt({allowQuestionMark:x}){return oe({name:"tupleParslet",accept:L(I=>I==="[","accept"),parsePrefix:L(I=>{I.consume("[");let U={type:"JsdocTypeTuple",elements:[]};if(I.consume("]"))return U;let Z=I.parseIntermediateType(k.ALL);if(Z.type==="JsdocTypeParameterList"?Z.elements[0].type==="JsdocTypeKeyValue"?U.elements=Z.elements.map(D):U.elements=Z.elements.map(R):Z.type==="JsdocTypeKeyValue"?U.elements=[D(Z)]:U.elements=[R(Z)],!I.consume("]"))throw new Error("Unterminated '['");if(!x&&U.elements.some(ge=>ge.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return U},"parsePrefix")})}L(Vt,"createTupleParslet");let Nt=oe({name:"keyOfParslet",accept:L(x=>x==="keyof","accept"),parsePrefix:L(x=>(x.consume("keyof"),{type:"JsdocTypeKeyof",element:R(x.parseType(k.KEY_OF_TYPE_OF))}),"parsePrefix")}),Qr=oe({name:"importParslet",accept:L(x=>x==="import","accept"),parsePrefix:L(x=>{if(x.consume("import"),!x.consume("("))throw new Error("Missing parenthesis after import keyword");let I=x.parseType(k.PREFIX);if(I.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!x.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:I}},"parsePrefix")}),So=oe({name:"readonlyPropertyParslet",accept:L(x=>x==="readonly","accept"),parsePrefix:L(x=>(x.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:x.parseType(k.KEY_VALUE)}),"parsePrefix")}),It=oe({name:"arrowFunctionParslet",precedence:k.ARROW,accept:L(x=>x==="=>","accept"),parseInfix:L((x,I)=>(x.consume("=>"),{type:"JsdocTypeFunction",parameters:te(I).map(j),arrow:!0,constructor:!1,parenthesis:!0,returnType:x.parseType(k.OBJECT)}),"parseInfix")}),tr=oe({name:"intersectionParslet",accept:L(x=>x==="&","accept"),precedence:k.INTERSECTION,parseInfix:L((x,I)=>{x.consume("&");let U=[];do U.push(x.parseType(k.INTERSECTION));while(x.consume("&"));return{type:"JsdocTypeIntersection",elements:[R(I),...U]}},"parseInfix")}),xo=oe({name:"predicateParslet",precedence:k.INFIX,accept:L(x=>x==="is","accept"),parseInfix:L((x,I)=>{if(I.type!=="JsdocTypeName")throw new c(I,"A typescript predicate always has to have a name on the left side.");return x.consume("is"),{type:"JsdocTypePredicate",left:I,right:R(x.parseIntermediateType(k.INFIX))}},"parseInfix")}),Ga=oe({name:"objectSquareBracketPropertyParslet",accept:L(x=>x==="[","accept"),parsePrefix:L(x=>{if(x.baseParser===void 0)throw new Error("Only allowed inside object grammar");x.consume("[");let I=x.lexer.current.text;x.consume("Identifier");let U;if(x.consume(":")){let Z=x.baseParser;Z.acceptLexerState(x),U={type:"JsdocTypeIndexSignature",key:I,right:Z.parseType(k.INDEX_BRACKETS)},x.acceptLexerState(Z)}else if(x.consume("in")){let Z=x.baseParser;Z.acceptLexerState(x),U={type:"JsdocTypeMappedType",key:I,right:Z.parseType(k.ARRAY_BRACKETS)},x.acceptLexerState(Z)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!x.consume("]"))throw new Error("Unterminated square brackets");return U},"parsePrefix")}),Wa=[So,fe({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),pe,q,$,H,he({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Ga],Ya=[...Te,ve({allowKeyTypes:!1,objectFieldGrammar:Wa}),Ue,Nt,Qr,$,ue({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Vt({allowQuestionMark:!1}),ce({allowEnclosingBrackets:!1,allowPostfix:!1}),ht,fe({allowedAdditionalTokens:["event","external","in"]}),V({allowedTypes:["module"],pathGrammar:re}),ae,It,K({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:re}),tr,xo,be({allowVariadic:!0,allowOptional:!0})];function hi(x,I){switch(I){case"closure":return new J(Rt,x).parse();case"jsdoc":return new J(Me,x).parse();case"typescript":return new J(Ya,x).parse()}}L(hi,"parse");function ms(x,I=["typescript","closure","jsdoc"]){let U;for(let Z of I)try{return hi(x,Z)}catch(ge){U=ge}throw U}L(ms,"tryParse");function mn(x,I){let U=x[I.type];if(U===void 0)throw new Error(`In this set of transform rules exists no rule for type ${I.type}.`);return U(I,Z=>mn(x,Z))}L(mn,"transform");function Tt(x){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}L(Tt,"notAvailableTransform");function mi(x){let I={params:[]};for(let U of x.parameters)U.type==="JsdocTypeKeyValue"?U.key==="this"?I.this=U.right:U.key==="new"?I.new=U.right:I.params.push(U):I.params.push(U);return I}L(mi,"extractSpecialParams");function Dn(x,I,U){return x==="prefix"?U+I:I+U}L(Dn,"applyPosition");function Y(x,I){switch(I){case"double":return`"${x}"`;case"single":return`'${x}'`;case void 0:return x}}L(Y,"quote");function yi(){return{JsdocTypeParenthesis:L((x,I)=>`(${x.element!==void 0?I(x.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:L((x,I)=>`keyof ${I(x.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:L((x,I)=>{if(x.arrow){if(x.returnType===void 0)throw new Error("Arrow function needs a return type.");let U=`(${x.parameters.map(I).join(", ")}) => ${I(x.returnType)}`;return x.constructor&&(U="new "+U),U}else{let U=x.constructor?"new":"function";return x.parenthesis&&(U+=`(${x.parameters.map(I).join(", ")})`,x.returnType!==void 0&&(U+=`: ${I(x.returnType)}`)),U}},"JsdocTypeFunction"),JsdocTypeName:L(x=>x.value,"JsdocTypeName"),JsdocTypeTuple:L((x,I)=>`[${x.elements.map(I).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:L((x,I)=>x.meta.position===void 0?"...":Dn(x.meta.position,I(x.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:L((x,I)=>{let U=I(x.left),Z=I(x.right);switch(x.pathType){case"inner":return`${U}~${Z}`;case"instance":return`${U}#${Z}`;case"property":return`${U}.${Z}`;case"property-brackets":return`${U}[${Z}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:L(x=>Y(x.value,x.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:L(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:L((x,I)=>{if(x.meta.brackets==="square"){let U=x.elements[0],Z=I(U);return U.type==="JsdocTypeUnion"||U.type==="JsdocTypeIntersection"?`(${Z})[]`:`${Z}[]`}else return`${I(x.left)}${x.meta.dot?".":""}<${x.elements.map(I).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:L((x,I)=>`import(${I(x.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:L((x,I)=>{let U="";return x.readonly&&(U+="readonly "),typeof x.key=="string"?U+=Y(x.key,x.meta.quote):U+=I(x.key),x.optional&&(U+="?"),x.right===void 0?U:U+`: ${I(x.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:L((x,I)=>`${I(x.left)}: ${I(x.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:L((x,I)=>{let U=x.key;return x.optional&&(U+="?"),x.variadic&&(U="..."+U),x.right===void 0?U:U+`: ${I(x.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:L(x=>`${x.specialType}:${Y(x.value,x.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:L((x,I)=>Dn(x.meta.position,I(x.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:L(()=>"null","JsdocTypeNull"),JsdocTypeNullable:L((x,I)=>Dn(x.meta.position,I(x.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:L(x=>x.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:L((x,I)=>`{${x.elements.map(I).join((x.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:L((x,I)=>Dn(x.meta.position,I(x.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:L((x,I)=>`${x.value}(${x.element!==void 0?I(x.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:L((x,I)=>`typeof ${I(x.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:L(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:L((x,I)=>x.elements.map(I).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:L(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:L((x,I)=>x.elements.map(I).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:L(x=>Y(x.value,x.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:L((x,I)=>`${I(x.left)} is ${I(x.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:L((x,I)=>`[${x.key}: ${I(x.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:L((x,I)=>`[${x.key} in ${I(x.right)}]`,"JsdocTypeMappedType"),JsdocTypeAsserts:L((x,I)=>`asserts ${I(x.left)} is ${I(x.right)}`,"JsdocTypeAsserts")}}L(yi,"stringifyRules");let To=yi();function gi(x){return mn(To,x)}L(gi,"stringify");let K5=["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 Fn(x){let I={type:"NameExpression",name:x};return K5.includes(x)&&(I.reservedWord=!0),I}L(Fn,"makeName");let G5={JsdocTypeOptional:L((x,I)=>{let U=I(x.element);return U.optional=!0,U},"JsdocTypeOptional"),JsdocTypeNullable:L((x,I)=>{let U=I(x.element);return U.nullable=!0,U},"JsdocTypeNullable"),JsdocTypeNotNullable:L((x,I)=>{let U=I(x.element);return U.nullable=!1,U},"JsdocTypeNotNullable"),JsdocTypeVariadic:L((x,I)=>{if(x.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let U=I(x.element);return U.repeatable=!0,U},"JsdocTypeVariadic"),JsdocTypeAny:L(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:L(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:L(x=>Fn(Y(x.value,x.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:L(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:L(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:L((x,I)=>{let U=mi(x),Z={type:"FunctionType",params:U.params.map(I)};return U.this!==void 0&&(Z.this=I(U.this)),U.new!==void 0&&(Z.new=I(U.new)),x.returnType!==void 0&&(Z.result=I(x.returnType)),Z},"JsdocTypeFunction"),JsdocTypeGeneric:L((x,I)=>({type:"TypeApplication",applications:x.elements.map(U=>I(U)),expression:I(x.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:L(x=>Fn(x.specialType+":"+Y(x.value,x.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:L(x=>x.value!=="function"?Fn(x.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:L(x=>Fn(x.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:L((x,I)=>{let U={type:"RecordType",fields:[]};for(let Z of x.elements)Z.type!=="JsdocTypeObjectField"&&Z.type!=="JsdocTypeJsdocObjectField"?U.fields.push({type:"FieldType",key:I(Z),value:void 0}):U.fields.push(I(Z));return U},"JsdocTypeObject"),JsdocTypeObjectField:L((x,I)=>{if(typeof x.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Fn(Y(x.key,x.meta.quote)),value:x.right===void 0?void 0:I(x.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:L((x,I)=>({type:"FieldType",key:I(x.left),value:I(x.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:L((x,I)=>({type:"TypeUnion",elements:x.elements.map(U=>I(U))}),"JsdocTypeUnion"),JsdocTypeKeyValue:L((x,I)=>({type:"FieldType",key:Fn(x.key),value:x.right===void 0?void 0:I(x.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:L((x,I)=>{let U=I(x.left),Z;x.right.type==="JsdocTypeSpecialNamePath"?Z=I(x.right).name:Z=Y(x.right.value,x.right.meta.quote);let ge=x.pathType==="inner"?"~":x.pathType==="instance"?"#":".";return Fn(`${U.name}${ge}${Z}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:L(x=>{let I="",U=x.element,Z=!1;return(U==null?void 0:U.type)==="JsdocTypeVariadic"&&(U.meta.position==="prefix"?I="...":Z=!0,U=U.element),(U==null?void 0:U.type)==="JsdocTypeName"?I+=U.value:(U==null?void 0:U.type)==="JsdocTypeNumber"&&(I+=U.value.toString()),Z&&(I+="..."),Fn(`${x.value}(${I})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:L((x,I)=>I(R(x.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:Tt,JsdocTypeIndexSignature:Tt,JsdocTypeImport:Tt,JsdocTypeKeyof:Tt,JsdocTypeTuple:Tt,JsdocTypeTypeof:Tt,JsdocTypeIntersection:Tt,JsdocTypeProperty:Tt,JsdocTypePredicate:Tt,JsdocTypeAsserts:Tt};function wT(x){return mn(G5,x)}L(wT,"catharsisTransform");function Co(x){switch(x){case void 0:return"none";case"single":return"single";case"double":return"double"}}L(Co,"getQuoteStyle");function ST(x){switch(x){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}L(ST,"getMemberType");function Tc(x,I){return I.length===2?{type:x,left:I[0],right:I[1]}:{type:x,left:I[0],right:Tc(x,I.slice(1))}}L(Tc,"nestResults");let W5={JsdocTypeOptional:L((x,I)=>({type:"OPTIONAL",value:I(x.element),meta:{syntax:x.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:L((x,I)=>({type:"NULLABLE",value:I(x.element),meta:{syntax:x.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:L((x,I)=>({type:"NOT_NULLABLE",value:I(x.element),meta:{syntax:x.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:L((x,I)=>{let U={type:"VARIADIC",meta:{syntax:x.meta.position==="prefix"?"PREFIX_DOTS":x.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return x.element!==void 0&&(U.value=I(x.element)),U},"JsdocTypeVariadic"),JsdocTypeName:L(x=>({type:"NAME",name:x.value}),"JsdocTypeName"),JsdocTypeTypeof:L((x,I)=>({type:"TYPE_QUERY",name:I(x.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:L((x,I)=>({type:"TUPLE",entries:x.elements.map(I)}),"JsdocTypeTuple"),JsdocTypeKeyof:L((x,I)=>({type:"KEY_QUERY",value:I(x.element)}),"JsdocTypeKeyof"),JsdocTypeImport:L(x=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:Co(x.element.meta.quote),string:x.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:L(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:L(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:L((x,I)=>{let U=mi(x),Z={type:x.arrow?"ARROW":"FUNCTION",params:U.params.map(ge=>{if(ge.type==="JsdocTypeKeyValue"){if(ge.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:ge.key,typeName:I(ge.right)}}else return I(ge)}),new:null,returns:null};return U.this!==void 0?Z.this=I(U.this):x.arrow||(Z.this=null),U.new!==void 0&&(Z.new=I(U.new)),x.returnType!==void 0&&(Z.returns=I(x.returnType)),Z},"JsdocTypeFunction"),JsdocTypeGeneric:L((x,I)=>{let U={type:"GENERIC",subject:I(x.left),objects:x.elements.map(I),meta:{syntax:x.meta.brackets==="square"?"SQUARE_BRACKET":x.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return x.meta.brackets==="square"&&x.elements[0].type==="JsdocTypeFunction"&&!x.elements[0].parenthesis&&(U.objects[0]={type:"NAME",name:"function"}),U},"JsdocTypeGeneric"),JsdocTypeObjectField:L((x,I)=>{if(typeof x.key!="string")throw new Error("Index signatures and mapped types are not supported");if(x.right===void 0)return{type:"RECORD_ENTRY",key:x.key,quoteStyle:Co(x.meta.quote),value:null,readonly:!1};let U=I(x.right);return x.optional&&(U={type:"OPTIONAL",value:U,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:x.key.toString(),quoteStyle:Co(x.meta.quote),value:U,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:L(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:L((x,I)=>{if(x.right===void 0)return{type:"RECORD_ENTRY",key:x.key,quoteStyle:"none",value:null,readonly:!1};let U=I(x.right);return x.optional&&(U={type:"OPTIONAL",value:U,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:x.key,quoteStyle:"none",value:U,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:L((x,I)=>{let U=[];for(let Z of x.elements)(Z.type==="JsdocTypeObjectField"||Z.type==="JsdocTypeJsdocObjectField")&&U.push(I(Z));return{type:"RECORD",entries:U}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:L(x=>{if(x.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${x.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:Co(x.meta.quote),path:x.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:L((x,I)=>{let U=!1,Z,ge;x.right.type==="JsdocTypeSpecialNamePath"&&x.right.specialType==="event"?(U=!0,Z=x.right.value,ge=Co(x.right.meta.quote)):(Z=x.right.value,ge=Co(x.right.meta.quote));let Ee={type:ST(x.pathType),owner:I(x.left),name:Z,quoteStyle:ge,hasEventPrefix:U};if(Ee.owner.type==="MODULE"){let Re=Ee.owner;return Ee.owner=Ee.owner.value,Re.value=Ee,Re}else return Ee},"JsdocTypeNamePath"),JsdocTypeUnion:L((x,I)=>Tc("UNION",x.elements.map(I)),"JsdocTypeUnion"),JsdocTypeParenthesis:L((x,I)=>({type:"PARENTHESIS",value:I(R(x.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:L(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:L(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:L(x=>({type:"STRING_VALUE",quoteStyle:Co(x.meta.quote),string:x.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:L((x,I)=>Tc("INTERSECTION",x.elements.map(I)),"JsdocTypeIntersection"),JsdocTypeNumber:L(x=>({type:"NUMBER_VALUE",number:x.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:Tt,JsdocTypeProperty:Tt,JsdocTypePredicate:Tt,JsdocTypeMappedType:Tt,JsdocTypeIndexSignature:Tt,JsdocTypeAsserts:Tt};function xT(x){return mn(W5,x)}L(xT,"jtpTransform");function TT(){return{JsdocTypeIntersection:L((x,I)=>({type:"JsdocTypeIntersection",elements:x.elements.map(I)}),"JsdocTypeIntersection"),JsdocTypeGeneric:L((x,I)=>({type:"JsdocTypeGeneric",left:I(x.left),elements:x.elements.map(I),meta:{dot:x.meta.dot,brackets:x.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:L(x=>x,"JsdocTypeNullable"),JsdocTypeUnion:L((x,I)=>({type:"JsdocTypeUnion",elements:x.elements.map(I)}),"JsdocTypeUnion"),JsdocTypeUnknown:L(x=>x,"JsdocTypeUnknown"),JsdocTypeUndefined:L(x=>x,"JsdocTypeUndefined"),JsdocTypeTypeof:L((x,I)=>({type:"JsdocTypeTypeof",element:I(x.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:L((x,I)=>{let U={type:"JsdocTypeSymbol",value:x.value};return x.element!==void 0&&(U.element=I(x.element)),U},"JsdocTypeSymbol"),JsdocTypeOptional:L((x,I)=>({type:"JsdocTypeOptional",element:I(x.element),meta:{position:x.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:L((x,I)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:x.elements.map(I)}),"JsdocTypeObject"),JsdocTypeNumber:L(x=>x,"JsdocTypeNumber"),JsdocTypeNull:L(x=>x,"JsdocTypeNull"),JsdocTypeNotNullable:L((x,I)=>({type:"JsdocTypeNotNullable",element:I(x.element),meta:{position:x.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:L(x=>x,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:L((x,I)=>({type:"JsdocTypeObjectField",key:x.key,right:x.right===void 0?void 0:I(x.right),optional:x.optional,readonly:x.readonly,meta:x.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:L((x,I)=>({type:"JsdocTypeJsdocObjectField",left:I(x.left),right:I(x.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:L((x,I)=>({type:"JsdocTypeKeyValue",key:x.key,right:x.right===void 0?void 0:I(x.right),optional:x.optional,variadic:x.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:L((x,I)=>({type:"JsdocTypeImport",element:I(x.element)}),"JsdocTypeImport"),JsdocTypeAny:L(x=>x,"JsdocTypeAny"),JsdocTypeStringValue:L(x=>x,"JsdocTypeStringValue"),JsdocTypeNamePath:L(x=>x,"JsdocTypeNamePath"),JsdocTypeVariadic:L((x,I)=>{let U={type:"JsdocTypeVariadic",meta:{position:x.meta.position,squareBrackets:x.meta.squareBrackets}};return x.element!==void 0&&(U.element=I(x.element)),U},"JsdocTypeVariadic"),JsdocTypeTuple:L((x,I)=>({type:"JsdocTypeTuple",elements:x.elements.map(I)}),"JsdocTypeTuple"),JsdocTypeName:L(x=>x,"JsdocTypeName"),JsdocTypeFunction:L((x,I)=>{let U={type:"JsdocTypeFunction",arrow:x.arrow,parameters:x.parameters.map(I),constructor:x.constructor,parenthesis:x.parenthesis};return x.returnType!==void 0&&(U.returnType=I(x.returnType)),U},"JsdocTypeFunction"),JsdocTypeKeyof:L((x,I)=>({type:"JsdocTypeKeyof",element:I(x.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:L((x,I)=>({type:"JsdocTypeParenthesis",element:I(x.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:L(x=>x,"JsdocTypeProperty"),JsdocTypePredicate:L((x,I)=>({type:"JsdocTypePredicate",left:I(x.left),right:I(x.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:L((x,I)=>({type:"JsdocTypeIndexSignature",key:x.key,right:I(x.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:L((x,I)=>({type:"JsdocTypeMappedType",key:x.key,right:I(x.right)}),"JsdocTypeMappedType"),JsdocTypeAsserts:L((x,I)=>({type:"JsdocTypeAsserts",left:I(x.left),right:I(x.right)}),"JsdocTypeAsserts")}}L(TT,"identityTransformRules");let CT={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function Cc(x,I,U,Z,ge){Z==null||Z(x,I,U);let Ee=CT[x.type];for(let Re of Ee){let ct=x[Re];if(ct!==void 0)if(Array.isArray(ct))for(let mt of ct)Cc(mt,x,Re,Z,ge);else Cc(ct,x,Re,Z,ge)}ge==null||ge(x,I,U)}L(Cc,"_traverse");function _T(x,I,U){Cc(x,void 0,void 0,I,U)}L(_T,"traverse"),r.catharsisTransform=wT,r.identityTransformRules=TT,r.jtpTransform=xT,r.parse=hi,r.stringify=gi,r.stringifyRules=yi,r.transform=mn,r.traverse=_T,r.tryParse=ms,r.visitorKeys=CT})});const{UnknownArgTypesError:Pie}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Aie=L(e=>e.name==="literal","isLiteral"),Rie=L(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),Nie=L(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Ml(r.value)}),{name:"object",value:t};default:throw new Pie({type:e,language:"Flow"})}},"convertSig"),Ml=L(e=>{var o,i,s,a;let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Ml)};case"signature":return{...n,...Nie(e)};case"union":return(o=e.elements)!=null&&o.every(Aie)?{...n,name:"enum",value:(i=e.elements)==null?void 0:i.map(Rie)}:{...n,name:t,value:(s=e.elements)==null?void 0:s.map(Ml)};case"intersection":return{...n,name:t,value:(a=e.elements)==null?void 0:a.map(Ml)};default:return{...n,name:"other",value:t}}},"convert");function dd(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}L(dd,"isPlainObject");function D2(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],s=e[i];r[i]=t(s,i,e)}return r}L(D2,"mapValues");var F2=/^['"]|['"]$/g,Iie=L(e=>e.replace(F2,""),"trimQuotes"),Mie=L(e=>F2.test(e),"includesQuotes"),B2=L(e=>{let t=Iie(e);return Mie(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),kie=/^\(.*\) => /,yl=L(e=>{let{name:t,raw:r,computed:n,value:o}=e,i={};switch(typeof r<"u"&&(i.raw=r),t){case"enum":{let a=n?o:o.map(u=>B2(u.value));return{...i,name:t,value:a}}case"string":case"number":case"symbol":return{...i,name:t};case"func":return{...i,name:"function"};case"bool":case"boolean":return{...i,name:"boolean"};case"arrayOf":case"array":return{...i,name:"array",value:o&&yl(o)};case"object":return{...i,name:t};case"objectOf":return{...i,name:t,value:yl(o)};case"shape":case"exact":let s=D2(o,a=>yl(a));return{...i,name:"object",value:s};case"union":return{...i,name:"union",value:o.map(a=>yl(a))};case"instanceOf":case"element":case"elementType":default:{if((t==null?void 0:t.indexOf("|"))>0)try{let c=t.split("|").map(d=>JSON.parse(d));return{...i,name:"enum",value:c}}catch{}let a=o?`${t}(${o})`:t,u=kie.test(t)?"function":"other";return{...i,name:u,value:a}}}},"convert");const{UnknownArgTypesError:jie}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var qie=L(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=kl(r.value)}),{name:"object",value:t};default:throw new jie({type:e,language:"Typescript"})}},"convertSig"),kl=L(e=>{var o,i,s,a;let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(kl)};case"signature":return{...n,...qie(e)};case"union":let u;return(o=e.elements)!=null&&o.every(c=>c.name==="literal")?u={...n,name:"enum",value:(i=e.elements)==null?void 0:i.map(c=>B2(c.value))}:u={...n,name:t,value:(s=e.elements)==null?void 0:s.map(kl)},u;case"intersection":return{...n,name:t,value:(a=e.elements)==null?void 0:a.map(kl)};default:return{...n,name:"other",value:t}}},"convert"),Fh=L(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return yl(t);if(r!=null)return kl(r);if(n!=null)return Ml(n)}catch(o){console.error(o)}return null},"convert"),Lie=["null","undefined"];function Bh(e){return Lie.some(t=>t===e)}L(Bh,"isDefaultValueBlacklisted");var $ie=L(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function Uh(e){return!!e.__docgenInfo}L(Uh,"hasDocgen");function U2(e){return e!=null&&Object.keys(e).length>0}L(U2,"isValidDocgenSection");function V2(e,t){return Uh(e)?e.__docgenInfo[t]:null}L(V2,"getDocgenSection");function H2(e){return Uh(e)?$ie(e.__docgenInfo.description):""}L(H2,"getDocgenDescription");var Ko;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Ko=Ko||(Ko={}));function J2(e){return/^\s+$/.test(e)}L(J2,"isSpace");function z2(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}L(z2,"splitCR");function $i(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}L($i,"splitSpace");function K2(e){return e.split(/\n/)}L(K2,"splitLines");function G2(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}L(G2,"seedSpec");function W2(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}L(W2,"seedTokens");var Die=/^@\S+/;function Y2({fence:e="```"}={}){let t=X2(e),r=L((n,o)=>t(n)?!o:o,"toggleFence");return L(function(n){let o=[[]],i=!1;for(let s of n)Die.test(s.tokens.description)&&!i?o.push([s]):o[o.length-1].push(s),i=r(s.tokens.description,i);return o},"parseBlock")}L(Y2,"getParser");function X2(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}L(X2,"getFencer");function Q2({startLine:e=0,markers:t=Ko}={}){let r=null,n=e;return L(function(o){let i=o,s=W2();if([s.lineEnd,i]=z2(i),[s.start,i]=$i(i),r===null&&i.startsWith(t.start)&&!i.startsWith(t.nostart)&&(r=[],s.delimiter=i.slice(0,t.start.length),i=i.slice(t.start.length),[s.postDelimiter,i]=$i(i)),r===null)return n++,null;let a=i.trimRight().endsWith(t.end);if(s.delimiter===""&&i.startsWith(t.delim)&&!i.startsWith(t.end)&&(s.delimiter=t.delim,i=i.slice(t.delim.length),[s.postDelimiter,i]=$i(i)),a){let u=i.trimRight();s.end=i.slice(u.length-t.end.length),i=u.slice(0,-t.end.length)}if(s.description=i,r.push({number:n,source:o,tokens:s}),n++,a){let u=r.slice();return r=null,u}return null},"parseSource")}L(Q2,"getParser");function Z2({tokenizers:e}){return L(function(t){var r;let n=G2({source:t});for(let o of e)if(n=o(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}L(Z2,"getParser");function eU(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}L(eU,"tagTokenizer");function tU(e="compact"){let t=rU(e);return r=>{let n=0,o=[];for(let[a,{tokens:u}]of r.source.entries()){let c="";if(a===0&&u.description[0]!=="{")return r;for(let d of u.description)if(d==="{"&&n++,d==="}"&&n--,c+=d,n===0)break;if(o.push([u,c]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let i=[],s=o[0][0].postDelimiter.length;for(let[a,[u,c]]of o.entries())u.type=c,a>0&&(u.type=u.postDelimiter.slice(s)+c,u.postDelimiter=u.postDelimiter.slice(0,s)),[u.postType,u.description]=$i(u.description.slice(c.length)),i.push(u.type);return i[0]=i[0].slice(1),i[i.length-1]=i[i.length-1].slice(0,-1),r.type=t(i),r}}L(tU,"typeTokenizer");var Fie=L(e=>e.trim(),"trim");function rU(e){return e==="compact"?t=>t.map(Fie).join(""):e==="preserve"?t=>t.join(`
|
|
1043
|
+
`):e}L(rU,"getJoiner");var Bie=L(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function nU(){let e=L((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),o=n.split('"');if(o.length>1&&o[0]===""&&o.length%2===1)return t.name=o[1],r.name=`"${o[1]}"`,[r.postName,r.description]=$i(n.slice(r.name.length)),t;let i=0,s="",a=!1,u;for(let d of n){if(i===0&&J2(d))break;d==="["&&i++,d==="]"&&i--,s+=d}if(i!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let c=s;if(s[0]==="["&&s[s.length-1]==="]"){a=!0,s=s.slice(1,-1);let d=s.split("=");if(s=d[0].trim(),d[1]!==void 0&&(u=d.slice(1).join("=").trim()),s==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(u==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!Bie(u)&&/=(?!>)/.test(u))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=a,t.name=s,r.name=c,u!==void 0&&(t.default=u),[r.postName,r.description]=$i(n.slice(r.name.length)),t}}L(nU,"nameTokenizer");function oU(e="compact",t=Ko){let r=VS(e);return n=>(n.description=r(n.source,t),n)}L(oU,"descriptionTokenizer");function VS(e){return e==="compact"?iU:e==="preserve"?sU:e}L(VS,"getJoiner");function iU(e,t=Ko){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}L(iU,"compactJoiner");var Uie=L((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),Vie=L(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function sU(e,t=Ko){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(Uie,0)),e.map(Vie).join(`
|
|
1044
|
+
`)}L(sU,"preserveJoiner");function aU({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=Ko,tokenizers:o=[eU(),tU(r),nU(),oU(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let i=Q2({startLine:e,markers:n}),s=Y2({fence:t}),a=Z2({tokenizers:o}),u=VS(r);return function(c){let d=[];for(let p of K2(c)){let h=i(p);if(h===null)continue;let f=s(h),m=f.slice(1).map(a);d.push({description:u(f[0],n),tags:m,source:h,problems:m.reduce((y,g)=>y.concat(g.problems),[])})}return d}}L(aU,"getParser");function lU(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}L(lU,"join");function Hie(){return e=>e.source.map(({tokens:t})=>lU(t)).join(`
|
|
1045
|
+
`)}L(Hie,"getStringifier");function uU(e,t={}){return aU(t)(e)}L(uU,"parse");var HS=_ie(Oie());function cU(e){return e!=null&&e.includes("@")}L(cU,"containsJsDoc");function dU(e){let t=`/**
|
|
1046
|
+
`+(e??"").split(`
|
|
1047
|
+
`).map(n=>` * ${n}`).join(`
|
|
1048
|
+
`)+`
|
|
1049
|
+
*/`,r=uU(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}L(dU,"parse");var Jie={tags:["param","arg","argument","returns","ignore","deprecated"]},zie=L((e,t=Jie)=>{if(!cU(e))return{includesJsDoc:!1,ignore:!1};let r=dU(e),n=pU(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function pU(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let o=hU(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=mU(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=yU(n);o!=null&&(r.returns=o);break}}return r}L(pU,"extractJsDocTags");function fU(e){return e.replace(/[\.-]$/,"")}L(fU,"normaliseParamName");function hU(e){if(!e.name||e.name==="-")return null;let t=KS(e.type);return{name:e.name,type:t,description:zS(e.description),getPrettyName:L(()=>fU(e.name),"getPrettyName"),getTypeName:L(()=>t?GS(t):null,"getTypeName")}}L(hU,"extractParam");function mU(e){return e.name?JS(e.name,e.description):null}L(mU,"extractDeprecated");function JS(e,t){let r=e===""?t:`${e} ${t}`;return zS(r)}L(JS,"joinNameAndDescription");function zS(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}L(zS,"normaliseDescription");function yU(e){let t=KS(e.type);return t?{type:t,description:JS(e.name,e.description),getTypeName:L(()=>GS(t),"getTypeName")}:null}L(yU,"extractReturns");var di=(0,HS.stringifyRules)(),Kie=di.JsdocTypeObject;di.JsdocTypeAny=()=>"any";di.JsdocTypeObject=(e,t)=>`(${Kie(e,t)})`;di.JsdocTypeOptional=(e,t)=>t(e.element);di.JsdocTypeNullable=(e,t)=>t(e.element);di.JsdocTypeNotNullable=(e,t)=>t(e.element);di.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function KS(e){try{return(0,HS.parse)(e,"typescript")}catch{return null}}L(KS,"extractType");function GS(e){return(0,HS.transform)(di,e)}L(GS,"extractTypeName");function WS(e){return e.length>90}L(WS,"isTooLongForTypeSummary");function gU(e){return e.length>50}L(gU,"isTooLongForDefaultValueSummary");function Bt(e,t){return e===t?{summary:e}:{summary:e,detail:t}}L(Bt,"createSummaryValue");function bU(e,t){if(e!=null){let{value:r}=e;if(!Bh(r))return gU(r)?Bt(t==null?void 0:t.name,r):Bt(r)}return null}L(bU,"createDefaultValue");function YS({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(YS).join(" | "):n??e)}L(YS,"generateUnionElement");function vU({name:e,raw:t,elements:r}){return r!=null?Bt(r.map(YS).join(" | ")):t!=null?Bt(t.replace(/^\|\s*/,"")):Bt(e)}L(vU,"generateUnion");function EU({type:e,raw:t}){return t!=null?Bt(t):Bt(e)}L(EU,"generateFuncSignature");function wU({type:e,raw:t}){return t!=null?WS(t)?Bt(e,t):Bt(t):Bt(e)}L(wU,"generateObjectSignature");function SU(e){let{type:t}=e;return t==="object"?wU(e):EU(e)}L(SU,"generateSignature");function xU({name:e,raw:t}){return t!=null?WS(t)?Bt(e,t):Bt(t):Bt(e)}L(xU,"generateDefault");function TU(e){if(e==null)return null;switch(e.name){case"union":return vU(e);case"signature":return SU(e);default:return xU(e)}}L(TU,"createType");var Gie=L((e,t)=>{let{flowType:r,description:n,required:o,defaultValue:i}=t;return{name:e,type:TU(r),required:o,description:n,defaultValue:bU(i??null,r??null)}},"createFlowPropDef");function CU({defaultValue:e}){if(e!=null){let{value:t}=e;if(!Bh(t))return Bt(t)}return null}L(CU,"createDefaultValue");function _U({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),Bt(["Array","Record","signature"].includes(e.name)?e.raw:r)}L(_U,"createType");var Wie=L((e,t)=>{let{description:r,required:n}=t;return{name:e,type:_U(t),required:n,description:r,defaultValue:CU(t)}},"createTsPropDef");function OU(e){return e!=null?Bt(e.name):null}L(OU,"createType");function PU(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}L(PU,"isReactDocgenTypescript");function AU(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}L(AU,"isStringValued");function RU(e,t){if(e!=null){let{value:r}=e;if(!Bh(r))return PU(e)&&AU(t)?Bt(JSON.stringify(r)):Bt(r)}return null}L(RU,"createDefaultValue");function XS(e,t,r){let{description:n,required:o,defaultValue:i}=r;return{name:e,type:OU(t),required:o,description:n,defaultValue:RU(i,t)}}L(XS,"createBasicPropDef");function sc(e,t){var r;if(t!=null&&t.includesJsDoc){let{description:n,extractedTags:o}=t;n!=null&&(e.description=t.description);let i={...o,params:(r=o==null?void 0:o.params)==null?void 0:r.map(s=>({name:s.getPrettyName(),description:s.description}))};Object.values(i).filter(Boolean).length>0&&(e.jsDocTags=i)}return e}L(sc,"applyJsDocResult");var Yie=L((e,t,r)=>{let n=XS(e,t.type,t);return n.sbType=Fh(t),sc(n,r)},"javaScriptFactory"),Xie=L((e,t,r)=>{let n=Wie(e,t);return n.sbType=Fh(t),sc(n,r)},"tsFactory"),Qie=L((e,t,r)=>{let n=Gie(e,t);return n.sbType=Fh(t),sc(n,r)},"flowFactory"),Zie=L((e,t,r)=>{let n=XS(e,{name:"unknown"},t);return sc(n,r)},"unknownFactory"),NU=L(e=>{switch(e){case"JavaScript":return Yie;case"TypeScript":return Xie;case"Flow":return Qie;default:return Zie}},"getPropDefFactory"),IU=L(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),ese=L(e=>{let t=IU(e[0]),r=NU(t);return e.map(n=>{var i;let o=n;return(i=n.type)!=null&&i.elements&&(o={...n,type:{...n.type,value:n.type.elements}}),QS(o.name,o,t,r)})},"extractComponentSectionArray"),tse=L(e=>{let t=Object.keys(e),r=IU(e[t[0]]),n=NU(r);return t.map(o=>{let i=e[o];return i!=null?QS(o,i,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),rse=L((e,t)=>{let r=V2(e,t);return U2(r)?Array.isArray(r)?ese(r):tse(r):[]},"extractComponentProps");function QS(e,t,r,n){let o=zie(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}L(QS,"extractProp");function MU(e){return e!=null?H2(e):""}L(MU,"extractComponentDescription");var kU=L((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([s,a])=>{let u=o[s];Array.isArray(a)||typeof u>"u"?o[s]=a:dd(a)&&dd(u)?t[s]=!0:typeof a<"u"&&(o[s]=a)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(s=>s[o]).filter(s=>typeof s<"u");i.every(s=>dd(s))?n[o]=kU(...i):n[o]=i[i.length-1]}),n},"combineParameters"),nse=L(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n;if(!o||!t)return r;let i=o(t);return i?kU(i,r):r},"enhanceArgTypes"),Sb=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Sb||{});/**
|
|
1050
|
+
* @vue/shared v3.5.15
|
|
1051
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1052
|
+
* @license MIT
|
|
1053
|
+
**//*! #__NO_SIDE_EFFECTS__ */function ose(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const ise={},sse=()=>{},jU=Object.assign,ase=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},lse=Object.prototype.hasOwnProperty,xp=(e,t)=>lse.call(e,t),uo=Array.isArray,jl=e=>Vh(e)==="[object Map]",use=e=>Vh(e)==="[object Set]",gu=e=>typeof e=="function",cse=e=>typeof e=="string",ac=e=>typeof e=="symbol",Va=e=>e!==null&&typeof e=="object",dse=Object.prototype.toString,Vh=e=>dse.call(e),pse=e=>Vh(e).slice(8,-1),fse=e=>Vh(e)==="[object Object]",ZS=e=>cse(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Go=(e,t)=>!Object.is(e,t),hse=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})};/**
|
|
1054
|
+
* @vue/reactivity v3.5.15
|
|
1055
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1056
|
+
* @license MIT
|
|
1057
|
+
**/let ir;class Hh{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ir,!t&&ir&&(this.index=(ir.scopes||(ir.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=ir;try{return ir=this,t()}finally{ir=r}}}on(){++this._on===1&&(this.prevScope=ir,ir=this)}off(){this._on>0&&--this._on===0&&(ir=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(this.effects.length=0,r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function qU(e){return new Hh(e)}function ex(){return ir}function LU(e,t=!1){ir&&ir.cleanups.push(e)}let et;const Vm=new WeakSet;class ba{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ir&&ir.active&&ir.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Vm.has(this)&&(Vm.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||DU(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,F_(this),FU(this);const t=et,r=un;et=this,un=!0;try{return this.fn()}finally{BU(this),et=t,un=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)nx(t);this.deps=this.depsTail=void 0,F_(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Vm.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xb(this)&&this.run()}get dirty(){return xb(this)}}let $U=0,ql,Ll;function DU(e,t=!1){if(e.flags|=8,t){e.next=Ll,Ll=e;return}e.next=ql,ql=e}function tx(){$U++}function rx(){if(--$U>0)return;if(Ll){let t=Ll;for(Ll=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;ql;){let t=ql;for(ql=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function FU(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function BU(e){let t,r=e.depsTail,n=r;for(;n;){const o=n.prevDep;n.version===-1?(n===r&&(r=o),nx(n),mse(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=r}function xb(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(UU(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function UU(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===bu)||(e.globalVersion=bu,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xb(e))))return;e.flags|=2;const t=e.dep,r=et,n=un;et=e,un=!0;try{FU(e);const o=e.fn(e._value);(t.version===0||Go(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{et=r,un=n,BU(e),e.flags&=-3}}function nx(e,t=!1){const{dep:r,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)nx(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function mse(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}function VU(e,t){e.effect instanceof ba&&(e=e.effect.fn);const r=new ba(e);t&&jU(r,t);try{r.run()}catch(o){throw r.stop(),o}const n=r.run.bind(r);return n.effect=r,n}function HU(e){e.effect.stop()}let un=!0;const JU=[];function mo(){JU.push(un),un=!1}function yo(){const e=JU.pop();un=e===void 0?!0:e}function F_(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=et;et=void 0;try{t()}finally{et=r}}}let bu=0;class yse{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Jh{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!et||!un||et===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==et)r=this.activeLink=new yse(et,this),et.deps?(r.prevDep=et.depsTail,et.depsTail.nextDep=r,et.depsTail=r):et.deps=et.depsTail=r,zU(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=et.depsTail,r.nextDep=void 0,et.depsTail.nextDep=r,et.depsTail=r,et.deps===r&&(et.deps=n)}return r}trigger(t){this.version++,bu++,this.notify(t)}notify(t){tx();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{rx()}}}function zU(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)zU(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const Tp=new WeakMap,Di=Symbol(""),Tb=Symbol(""),vu=Symbol("");function ar(e,t,r){if(un&&et){let n=Tp.get(e);n||Tp.set(e,n=new Map);let o=n.get(r);o||(n.set(r,o=new Jh),o.map=n,o.key=r),o.track()}}function eo(e,t,r,n,o,i){const s=Tp.get(e);if(!s){bu++;return}const a=u=>{u&&u.trigger()};if(tx(),t==="clear")s.forEach(a);else{const u=uo(e),c=u&&ZS(r);if(u&&r==="length"){const d=Number(n);s.forEach((p,h)=>{(h==="length"||h===vu||!ac(h)&&h>=d)&&a(p)})}else switch((r!==void 0||s.has(void 0))&&a(s.get(r)),c&&a(s.get(vu)),t){case"add":u?c&&a(s.get("length")):(a(s.get(Di)),jl(e)&&a(s.get(Tb)));break;case"delete":u||(a(s.get(Di)),jl(e)&&a(s.get(Tb)));break;case"set":jl(e)&&a(s.get(Di));break}}rx()}function gse(e,t){const r=Tp.get(e);return r&&r.get(t)}function bs(e){const t=$e(e);return t===e?t:(ar(t,"iterate",vu),wr(e)?t:t.map(Wt))}function zh(e){return ar(e=$e(e),"iterate",vu),e}const bse={__proto__:null,[Symbol.iterator](){return Hm(this,Symbol.iterator,Wt)},concat(...e){return bs(this).concat(...e.map(t=>uo(t)?bs(t):t))},entries(){return Hm(this,"entries",e=>(e[1]=Wt(e[1]),e))},every(e,t){return Hn(this,"every",e,t,void 0,arguments)},filter(e,t){return Hn(this,"filter",e,t,r=>r.map(Wt),arguments)},find(e,t){return Hn(this,"find",e,t,Wt,arguments)},findIndex(e,t){return Hn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Hn(this,"findLast",e,t,Wt,arguments)},findLastIndex(e,t){return Hn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Hn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Jm(this,"includes",e)},indexOf(...e){return Jm(this,"indexOf",e)},join(e){return bs(this).join(e)},lastIndexOf(...e){return Jm(this,"lastIndexOf",e)},map(e,t){return Hn(this,"map",e,t,void 0,arguments)},pop(){return nl(this,"pop")},push(...e){return nl(this,"push",e)},reduce(e,...t){return B_(this,"reduce",e,t)},reduceRight(e,...t){return B_(this,"reduceRight",e,t)},shift(){return nl(this,"shift")},some(e,t){return Hn(this,"some",e,t,void 0,arguments)},splice(...e){return nl(this,"splice",e)},toReversed(){return bs(this).toReversed()},toSorted(e){return bs(this).toSorted(e)},toSpliced(...e){return bs(this).toSpliced(...e)},unshift(...e){return nl(this,"unshift",e)},values(){return Hm(this,"values",Wt)}};function Hm(e,t,r){const n=zh(e),o=n[t]();return n!==e&&!wr(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=r(i.value)),i}),o}const vse=Array.prototype;function Hn(e,t,r,n,o,i){const s=zh(e),a=s!==e&&!wr(e),u=s[t];if(u!==vse[t]){const p=u.apply(e,i);return a?Wt(p):p}let c=r;s!==e&&(a?c=function(p,h){return r.call(this,Wt(p),h,e)}:r.length>2&&(c=function(p,h){return r.call(this,p,h,e)}));const d=u.call(s,c,n);return a&&o?o(d):d}function B_(e,t,r,n){const o=zh(e);let i=r;return o!==e&&(wr(e)?r.length>3&&(i=function(s,a,u){return r.call(this,s,a,u,e)}):i=function(s,a,u){return r.call(this,s,Wt(a),u,e)}),o[t](i,...n)}function Jm(e,t,r){const n=$e(e);ar(n,"iterate",vu);const o=n[t](...r);return(o===-1||o===!1)&&lc(r[0])?(r[0]=$e(r[0]),n[t](...r)):o}function nl(e,t,r=[]){mo(),tx();const n=$e(e)[t].apply(e,r);return rx(),yo(),n}const Ese=ose("__proto__,__v_isRef,__isVue"),KU=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ac));function wse(e){ac(e)||(e=String(e));const t=$e(this);return ar(t,"has",e),t.hasOwnProperty(e)}class GU{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){if(r==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(o?i?eV:ZU:i?QU:XU).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=uo(t);if(!o){let u;if(s&&(u=bse[r]))return u;if(r==="hasOwnProperty")return wse}const a=Reflect.get(t,r,Ot(t)?t:n);return(ac(r)?KU.has(r):Ese(r))||(o||ar(t,"get",r),i)?a:Ot(a)?s&&ZS(r)?a:a.value:Va(a)?o?Gh(a):oi(a):a}}class WU extends GU{constructor(t=!1){super(!1,t)}set(t,r,n,o){let i=t[r];if(!this._isShallow){const u=Mn(i);if(!wr(n)&&!Mn(n)&&(i=$e(i),n=$e(n)),!uo(t)&&Ot(i)&&!Ot(n))return u?!1:(i.value=n,!0)}const s=uo(t)&&ZS(r)?Number(r)<t.length:xp(t,r),a=Reflect.set(t,r,n,Ot(t)?t:o);return t===$e(o)&&(s?Go(n,i)&&eo(t,"set",r,n):eo(t,"add",r,n)),a}deleteProperty(t,r){const n=xp(t,r);t[r];const o=Reflect.deleteProperty(t,r);return o&&n&&eo(t,"delete",r,void 0),o}has(t,r){const n=Reflect.has(t,r);return(!ac(r)||!KU.has(r))&&ar(t,"has",r),n}ownKeys(t){return ar(t,"iterate",uo(t)?"length":Di),Reflect.ownKeys(t)}}class YU extends GU{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const Sse=new WU,xse=new YU,Tse=new WU(!0),Cse=new YU(!0),Cb=e=>e,Mc=e=>Reflect.getPrototypeOf(e);function _se(e,t,r){return function(...n){const o=this.__v_raw,i=$e(o),s=jl(i),a=e==="entries"||e===Symbol.iterator&&s,u=e==="keys"&&s,c=o[e](...n),d=r?Cb:t?Cp:Wt;return!t&&ar(i,"iterate",u?Tb:Di),{next(){const{value:p,done:h}=c.next();return h?{value:p,done:h}:{value:a?[d(p[0]),d(p[1])]:d(p),done:h}},[Symbol.iterator](){return this}}}}function kc(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ose(e,t){const r={get(o){const i=this.__v_raw,s=$e(i),a=$e(o);e||(Go(o,a)&&ar(s,"get",o),ar(s,"get",a));const{has:u}=Mc(s),c=t?Cb:e?Cp:Wt;if(u.call(s,o))return c(i.get(o));if(u.call(s,a))return c(i.get(a));i!==s&&i.get(o)},get size(){const o=this.__v_raw;return!e&&ar($e(o),"iterate",Di),Reflect.get(o,"size",o)},has(o){const i=this.__v_raw,s=$e(i),a=$e(o);return e||(Go(o,a)&&ar(s,"has",o),ar(s,"has",a)),o===a?i.has(o):i.has(o)||i.has(a)},forEach(o,i){const s=this,a=s.__v_raw,u=$e(a),c=t?Cb:e?Cp:Wt;return!e&&ar(u,"iterate",Di),a.forEach((d,p)=>o.call(i,c(d),c(p),s))}};return jU(r,e?{add:kc("add"),set:kc("set"),delete:kc("delete"),clear:kc("clear")}:{add(o){!t&&!wr(o)&&!Mn(o)&&(o=$e(o));const i=$e(this);return Mc(i).has.call(i,o)||(i.add(o),eo(i,"add",o,o)),this},set(o,i){!t&&!wr(i)&&!Mn(i)&&(i=$e(i));const s=$e(this),{has:a,get:u}=Mc(s);let c=a.call(s,o);c||(o=$e(o),c=a.call(s,o));const d=u.call(s,o);return s.set(o,i),c?Go(i,d)&&eo(s,"set",o,i):eo(s,"add",o,i),this},delete(o){const i=$e(this),{has:s,get:a}=Mc(i);let u=s.call(i,o);u||(o=$e(o),u=s.call(i,o)),a&&a.call(i,o);const c=i.delete(o);return u&&eo(i,"delete",o,void 0),c},clear(){const o=$e(this),i=o.size!==0,s=o.clear();return i&&eo(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{r[o]=_se(o,e,t)}),r}function Kh(e,t){const r=Ose(e,t);return(n,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(xp(r,o)&&o in n?r:n,o,i)}const Pse={get:Kh(!1,!1)},Ase={get:Kh(!1,!0)},Rse={get:Kh(!0,!1)},Nse={get:Kh(!0,!0)},XU=new WeakMap,QU=new WeakMap,ZU=new WeakMap,eV=new WeakMap;function Ise(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Mse(e){return e.__v_skip||!Object.isExtensible(e)?0:Ise(pse(e))}function oi(e){return Mn(e)?e:Wh(e,!1,Sse,Pse,XU)}function ox(e){return Wh(e,!1,Tse,Ase,QU)}function Gh(e){return Wh(e,!0,xse,Rse,ZU)}function tV(e){return Wh(e,!0,Cse,Nse,eV)}function Wh(e,t,r,n,o){if(!Va(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Mse(e);if(i===0)return e;const s=o.get(e);if(s)return s;const a=new Proxy(e,i===2?n:r);return o.set(e,a),a}function Rn(e){return Mn(e)?Rn(e.__v_raw):!!(e&&e.__v_isReactive)}function Mn(e){return!!(e&&e.__v_isReadonly)}function wr(e){return!!(e&&e.__v_isShallow)}function lc(e){return e?!!e.__v_raw:!1}function $e(e){const t=e&&e.__v_raw;return t?$e(t):e}function ix(e){return!xp(e,"__v_skip")&&Object.isExtensible(e)&&hse(e,"__v_skip",!0),e}const Wt=e=>Va(e)?oi(e):e,Cp=e=>Va(e)?Gh(e):e;function Ot(e){return e?e.__v_isRef===!0:!1}function Js(e){return rV(e,!1)}function sx(e){return rV(e,!0)}function rV(e,t){return Ot(e)?e:new kse(e,t)}class kse{constructor(t,r){this.dep=new Jh,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:$e(t),this._value=r?t:Wt(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||wr(t)||Mn(t);t=n?t:$e(t),Go(t,r)&&(this._rawValue=t,this._value=n?t:Wt(t),this.dep.trigger())}}function nV(e){e.dep&&e.dep.trigger()}function uc(e){return Ot(e)?e.value:e}function oV(e){return gu(e)?e():uc(e)}const jse={get:(e,t,r)=>t==="__v_raw"?e:uc(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Ot(o)&&!Ot(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function Yh(e){return Rn(e)?e:new Proxy(e,jse)}class qse{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new Jh,{get:n,set:o}=t(r.track.bind(r),r.trigger.bind(r));this._get=n,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function ax(e){return new qse(e)}function iV(e){const t=uo(e)?new Array(e.length):{};for(const r in e)t[r]=aV(e,r);return t}class Lse{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return gse($e(this._object),this._key)}}class $se{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function sV(e,t,r){return Ot(e)?e:gu(e)?new $se(e):Va(e)&&arguments.length>1?aV(e,t,r):Js(e)}function aV(e,t,r){const n=e[t];return Ot(n)?n:new Lse(e,t,r)}class Dse{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Jh(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=bu-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&et!==this)return DU(this,!0),!0}get value(){const t=this.dep.track();return UU(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Fse(e,t,r=!1){let n,o;return gu(e)?n=e:(n=e.get,o=e.set),new Dse(n,o,r)}const lV={GET:"get",HAS:"has",ITERATE:"iterate"},uV={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},jc={},_p=new WeakMap;let qo;function cV(){return qo}function lx(e,t=!1,r=qo){if(r){let n=_p.get(r);n||_p.set(r,n=[]),n.push(e)}}function Bse(e,t,r=ise){const{immediate:n,deep:o,once:i,scheduler:s,augmentJob:a,call:u}=r,c=T=>o?T:wr(T)||o===!1||o===0?to(T,1):to(T);let d,p,h,f,m=!1,y=!1;if(Ot(e)?(p=()=>e.value,m=wr(e)):Rn(e)?(p=()=>c(e),m=!0):uo(e)?(y=!0,m=e.some(T=>Rn(T)||wr(T)),p=()=>e.map(T=>{if(Ot(T))return T.value;if(Rn(T))return c(T);if(gu(T))return u?u(T,2):T()})):gu(e)?t?p=u?()=>u(e,2):e:p=()=>{if(h){mo();try{h()}finally{yo()}}const T=qo;qo=d;try{return u?u(e,3,[f]):e(f)}finally{qo=T}}:p=sse,t&&o){const T=p,O=o===!0?1/0:o;p=()=>to(T(),O)}const g=ex(),b=()=>{d.stop(),g&&g.active&&ase(g.effects,d)};if(i&&t){const T=t;t=(...O)=>{T(...O),b()}}let v=y?new Array(e.length).fill(jc):jc;const S=T=>{if(!(!(d.flags&1)||!d.dirty&&!T))if(t){const O=d.run();if(o||m||(y?O.some((C,E)=>Go(C,v[E])):Go(O,v))){h&&h();const C=qo;qo=d;try{const E=[O,v===jc?void 0:y&&v[0]===jc?[]:v,f];v=O,u?u(t,3,E):t(...E)}finally{qo=C}}}else d.run()};return a&&a(S),d=new ba(p),d.scheduler=s?()=>s(S,!1):S,f=T=>lx(T,!1,d),h=d.onStop=()=>{const T=_p.get(d);if(T){if(u)u(T,4);else for(const O of T)O();_p.delete(d)}},t?n?S(!0):v=d.run():s?s(S.bind(null,!0),!0):d.run(),b.pause=d.pause.bind(d),b.resume=d.resume.bind(d),b.stop=b,b}function to(e,t=1/0,r){if(t<=0||!Va(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,Ot(e))to(e.value,t,r);else if(uo(e))for(let n=0;n<e.length;n++)to(e[n],t,r);else if(use(e)||jl(e))e.forEach(n=>{to(n,t,r)});else if(fse(e)){for(const n in e)to(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&to(e[n],t,r)}return e}/**
|
|
1058
|
+
* @vue/shared v3.5.15
|
|
1059
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1060
|
+
* @license MIT
|
|
1061
|
+
**//*! #__NO_SIDE_EFFECTS__ */function dV(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const Je={},zs=[],Nn=()=>{},Use=()=>!1,Xh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),pV=e=>e.startsWith("onUpdate:"),Kt=Object.assign,fV=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Vse=Object.prototype.hasOwnProperty,tt=(e,t)=>Vse.call(e,t),Ne=Array.isArray,Hse=e=>Qh(e)==="[object Map]",Jse=e=>Qh(e)==="[object Set]",zse=e=>Qh(e)==="[object RegExp]",Oe=e=>typeof e=="function",Pt=e=>typeof e=="string",ux=e=>typeof e=="symbol",Ut=e=>e!==null&&typeof e=="object",cx=e=>(Ut(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),hV=Object.prototype.toString,Qh=e=>hV.call(e),Kse=e=>Qh(e)==="[object Object]",Ks=dV(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zh=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Gse=/-(\w)/g,Tr=Zh(e=>e.replace(Gse,(t,r)=>r?r.toUpperCase():"")),Wse=/\B([A-Z])/g,Ha=Zh(e=>e.replace(Wse,"-$1").toLowerCase()),cc=Zh(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gs=Zh(e=>e?`on${cc(e)}`:""),xi=(e,t)=>!Object.is(e,t),$l=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Yse=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},Xse=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Qse=e=>{const t=Pt(e)?Number(e):NaN;return isNaN(t)?e:t};let U_;const em=()=>U_||(U_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Zse="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",eae=dV(Zse);function Ja(e){if(Ne(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],o=Pt(n)?oae(n):Ja(n);if(o)for(const i in o)t[i]=o[i]}return t}else if(Pt(e)||Ut(e))return e}const tae=/;(?![^(]*\))/g,rae=/:([^]+)/,nae=/\/\*[^]*?\*\//g;function oae(e){const t={};return e.replace(nae,"").split(tae).forEach(r=>{if(r){const n=r.split(rae);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function za(e){let t="";if(Pt(e))t=e;else if(Ne(e))for(let r=0;r<e.length;r++){const n=za(e[r]);n&&(t+=n+" ")}else if(Ut(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function mV(e){if(!e)return null;let{class:t,style:r}=e;return t&&!Pt(t)&&(e.class=za(t)),r&&(e.style=Ja(r)),e}const yV=e=>!!(e&&e.__v_isRef===!0),dx=e=>Pt(e)?e:e==null?"":Ne(e)||Ut(e)&&(e.toString===hV||!Oe(e.toString))?yV(e)?dx(e.value):JSON.stringify(e,gV,2):String(e),gV=(e,t)=>yV(t)?gV(e,t.value):Hse(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],i)=>(r[zm(n,i)+" =>"]=o,r),{})}:Jse(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>zm(r))}:ux(t)?zm(t):Ut(t)&&!Ne(t)&&!Kse(t)?String(t):t,zm=(e,t="")=>{var r;return ux(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
|
|
1062
|
+
* @vue/runtime-core v3.5.15
|
|
1063
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1064
|
+
* @license MIT
|
|
1065
|
+
**/const bV=[];function iae(e){bV.push(e)}function sae(){bV.pop()}function vV(e,t){}const EV={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},aae={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function fs(e,t,r,n){try{return n?e(...n):e()}catch(o){pi(o,t,r)}}function jr(e,t,r,n){if(Oe(e)){const o=fs(e,t,r,n);return o&&cx(o)&&o.catch(i=>{pi(i,t,r)}),o}if(Ne(e)){const o=[];for(let i=0;i<e.length;i++)o.push(jr(e[i],t,r,n));return o}}function pi(e,t,r,n=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Je;if(t){let a=t.parent;const u=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${r}`;for(;a;){const d=a.ec;if(d){for(let p=0;p<d.length;p++)if(d[p](e,u,c)===!1)return}a=a.parent}if(i){mo(),fs(i,null,10,[e,u,c]),yo();return}}lae(e,r,o,n,s)}function lae(e,t,r,n=!0,o=!1){if(o)throw e;console.error(e)}const fr=[];let wn=-1;const Ws=[];let Lo=null,Ps=0;const wV=Promise.resolve();let Op=null;function dc(e){const t=Op||wV;return e?t.then(this?e.bind(this):e):t}function uae(e){let t=wn+1,r=fr.length;for(;t<r;){const n=t+r>>>1,o=fr[n],i=Eu(o);i<e||i===e&&o.flags&2?t=n+1:r=n}return t}function px(e){if(!(e.flags&1)){const t=Eu(e),r=fr[fr.length-1];!r||!(e.flags&2)&&t>=Eu(r)?fr.push(e):fr.splice(uae(t),0,e),e.flags|=1,SV()}}function SV(){Op||(Op=wV.then(xV))}function va(e){Ne(e)?Ws.push(...e):Lo&&e.id===-1?Lo.splice(Ps+1,0,e):e.flags&1||(Ws.push(e),e.flags|=1),SV()}function V_(e,t,r=wn+1){for(;r<fr.length;r++){const n=fr[r];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;fr.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Pp(e){if(Ws.length){const t=[...new Set(Ws)].sort((r,n)=>Eu(r)-Eu(n));if(Ws.length=0,Lo){Lo.push(...t);return}for(Lo=t,Ps=0;Ps<Lo.length;Ps++){const r=Lo[Ps];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}Lo=null,Ps=0}}const Eu=e=>e.id==null?e.flags&2?-1:1/0:e.id;function xV(e){try{for(wn=0;wn<fr.length;wn++){const t=fr[wn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),fs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;wn<fr.length;wn++){const t=fr[wn];t&&(t.flags&=-2)}wn=-1,fr.length=0,Pp(),Op=null,(fr.length||Ws.length)&&xV()}}let As,qc=[];function TV(e,t){var r,n;As=e,As?(As.enabled=!0,qc.forEach(({event:o,args:i})=>As.emit(o,...i)),qc=[]):typeof window<"u"&&window.HTMLElement&&!((n=(r=window.navigator)==null?void 0:r.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{TV(i,t)}),setTimeout(()=>{As||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,qc=[])},3e3)):qc=[]}let Ft=null,tm=null;function wu(e){const t=Ft;return Ft=e,tm=e&&e.type.__scopeId||null,t}function CV(e){tm=e}function _V(){tm=null}const OV=e=>rm;function rm(e,t=Ft,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&Ip(-1);const i=wu(t);let s;try{s=e(...o)}finally{wu(i),n._d&&Ip(1)}return s};return n._n=!0,n._c=!0,n._d=!0,n}function PV(e,t){if(Ft===null)return e;const r=bc(Ft),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,a,u=Je]=t[o];i&&(Oe(i)&&(i={mounted:i,updated:i}),i.deep&&to(s),n.push({dir:i,instance:r,value:s,oldValue:void 0,arg:a,modifiers:u}))}return e}function Sn(e,t,r,n){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let u=a.dir[n];u&&(mo(),jr(u,r,8,[e.el,a,e,t]),yo())}}const AV=Symbol("_vte"),RV=e=>e.__isTeleport,Dl=e=>e&&(e.disabled||e.disabled===""),H_=e=>e&&(e.defer||e.defer===""),J_=e=>typeof SVGElement<"u"&&e instanceof SVGElement,z_=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,_b=(e,t)=>{const r=e&&e.to;return Pt(r)?t?t(r):null:r},NV={name:"Teleport",__isTeleport:!0,process(e,t,r,n,o,i,s,a,u,c){const{mc:d,pc:p,pbc:h,o:{insert:f,querySelector:m,createText:y,createComment:g}}=c,b=Dl(t.props);let{shapeFlag:v,children:S,dynamicChildren:T}=t;if(e==null){const O=t.el=y(""),C=t.anchor=y("");f(O,r,n),f(C,r,n);const E=(_,R)=>{v&16&&(o&&o.isCE&&(o.ce._teleportTarget=_),d(S,_,R,o,i,s,a,u))},w=()=>{const _=t.target=_b(t.props,m),R=MV(_,t,y,f);_&&(s!=="svg"&&J_(_)?s="svg":s!=="mathml"&&z_(_)&&(s="mathml"),b||(E(_,R),pd(t,!1)))};b&&(E(r,C),pd(t,!0)),H_(t.props)?(t.el.__isMounted=!1,kt(()=>{w(),delete t.el.__isMounted},i)):w()}else{if(H_(t.props)&&e.el.__isMounted===!1){kt(()=>{NV.process(e,t,r,n,o,i,s,a,u,c)},i);return}t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,C=t.target=e.target,E=t.targetAnchor=e.targetAnchor,w=Dl(e.props),_=w?r:C,R=w?O:E;if(s==="svg"||J_(C)?s="svg":(s==="mathml"||z_(C))&&(s="mathml"),T?(h(e.dynamicChildren,T,_,o,i,s,a),Nx(e,t,!0)):u||p(e,t,_,R,o,i,s,a,!1),b)w?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Lc(t,r,O,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=_b(t.props,m);N&&Lc(t,N,null,c,0)}else w&&Lc(t,C,E,c,1);pd(t,b)}},remove(e,t,r,{um:n,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:u,targetStart:c,targetAnchor:d,target:p,props:h}=e;if(p&&(o(c),o(d)),i&&o(u),s&16){const f=i||!Dl(h);for(let m=0;m<a.length;m++){const y=a[m];n(y,t,r,f,!!y.dynamicChildren)}}},move:Lc,hydrate:cae};function Lc(e,t,r,{o:{insert:n},m:o},i=2){i===0&&n(e.targetAnchor,t,r);const{el:s,anchor:a,shapeFlag:u,children:c,props:d}=e,p=i===2;if(p&&n(s,t,r),(!p||Dl(d))&&u&16)for(let h=0;h<c.length;h++)o(c[h],t,r,2);p&&n(a,t,r)}function cae(e,t,r,n,o,i,{o:{nextSibling:s,parentNode:a,querySelector:u,insert:c,createText:d}},p){const h=t.target=_b(t.props,u);if(h){const f=Dl(t.props),m=h._lpa||h.firstChild;if(t.shapeFlag&16)if(f)t.anchor=p(s(e),t,a(e),r,n,o,i),t.targetStart=m,t.targetAnchor=m&&s(m);else{t.anchor=s(e);let y=m;for(;y;){if(y&&y.nodeType===8){if(y.data==="teleport start anchor")t.targetStart=y;else if(y.data==="teleport anchor"){t.targetAnchor=y,h._lpa=t.targetAnchor&&s(t.targetAnchor);break}}y=s(y)}t.targetAnchor||MV(h,t,d,c),p(m&&s(m),t,h,r,n,o,i)}pd(t,f)}return t.anchor&&s(t.anchor)}const IV=NV;function pd(e,t){const r=e.ctx;if(r&&r.ut){let n,o;for(t?(n=e.el,o=e.anchor):(n=e.targetStart,o=e.targetAnchor);n&&n!==o;)n.nodeType===1&&n.setAttribute("data-v-owner",r.uid),n=n.nextSibling;r.ut()}}function MV(e,t,r,n){const o=t.targetStart=r(""),i=t.targetAnchor=r("");return o[AV]=i,e&&(n(o,e),n(i,e)),i}const $o=Symbol("_leaveCb"),$c=Symbol("_enterCb");function nm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ka(()=>{e.isMounted=!0}),mc(()=>{e.isUnmounting=!0}),e}const Br=[Function,Array],om={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Br,onEnter:Br,onAfterEnter:Br,onEnterCancelled:Br,onBeforeLeave:Br,onLeave:Br,onAfterLeave:Br,onLeaveCancelled:Br,onBeforeAppear:Br,onAppear:Br,onAfterAppear:Br,onAppearCancelled:Br},kV=e=>{const t=e.subTree;return t.component?kV(t.component):t},dae={name:"BaseTransition",props:om,setup(e,{slots:t}){const r=$r(),n=nm();return()=>{const o=t.default&&pc(t.default(),!0);if(!o||!o.length)return;const i=jV(o),s=$e(e),{mode:a}=s;if(n.isLeaving)return Km(i);const u=K_(i);if(!u)return Km(i);let c=ts(u,s,n,r,p=>c=p);u.type!==Et&&kn(u,c);let d=r.subTree&&K_(r.subTree);if(d&&d.type!==Et&&!on(u,d)&&kV(r).type!==Et){let p=ts(d,s,n,r);if(kn(d,p),a==="out-in"&&u.type!==Et)return n.isLeaving=!0,p.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete p.afterLeave,d=void 0},Km(i);a==="in-out"&&u.type!==Et?p.delayLeave=(h,f,m)=>{const y=qV(n,d);y[String(d.key)]=d,h[$o]=()=>{f(),h[$o]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return i}}};function jV(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==Et){t=r;break}}return t}const fx=dae;function qV(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function ts(e,t,r,n,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:d,onEnterCancelled:p,onBeforeLeave:h,onLeave:f,onAfterLeave:m,onLeaveCancelled:y,onBeforeAppear:g,onAppear:b,onAfterAppear:v,onAppearCancelled:S}=t,T=String(e.key),O=qV(r,e),C=(_,R)=>{_&&jr(_,n,9,R)},E=(_,R)=>{const N=R[1];C(_,R),Ne(_)?_.every(j=>j.length<=1)&&N():_.length<=1&&N()},w={mode:s,persisted:a,beforeEnter(_){let R=u;if(!r.isMounted)if(i)R=g||u;else return;_[$o]&&_[$o](!0);const N=O[T];N&&on(e,N)&&N.el[$o]&&N.el[$o](),C(R,[_])},enter(_){let R=c,N=d,j=p;if(!r.isMounted)if(i)R=b||c,N=v||d,j=S||p;else return;let D=!1;const P=_[$c]=M=>{D||(D=!0,M?C(j,[_]):C(N,[_]),w.delayedLeave&&w.delayedLeave(),_[$c]=void 0)};R?E(R,[_,P]):P()},leave(_,R){const N=String(e.key);if(_[$c]&&_[$c](!0),r.isUnmounting)return R();C(h,[_]);let j=!1;const D=_[$o]=P=>{j||(j=!0,R(),P?C(y,[_]):C(m,[_]),_[$o]=void 0,O[N]===e&&delete O[N])};O[N]=e,f?E(f,[_,D]):D()},clone(_){const R=ts(_,t,r,n,o);return o&&o(R),R}};return w}function Km(e){if(fc(e))return e=dn(e),e.children=null,e}function K_(e){if(!fc(e))return RV(e.type)&&e.children?jV(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&Oe(r.default))return r.default()}}function kn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,kn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function pc(e,t=!1,r){let n=[],o=0;for(let i=0;i<e.length;i++){let s=e[i];const a=r==null?s.key:String(r)+String(s.key!=null?s.key:i);s.type===qt?(s.patchFlag&128&&o++,n=n.concat(pc(s.children,t,a))):(t||s.type!==Et)&&n.push(a!=null?dn(s,{key:a}):s)}if(o>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function im(e,t){return Oe(e)?Kt({name:e.name},t,{setup:e}):e}function LV(){const e=$r();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function hx(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function $V(e){const t=$r(),r=sx(null);if(t){const o=t.refs===Je?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>r.value,set:i=>r.value=i})}return r}function Su(e,t,r,n,o=!1){if(Ne(e)){e.forEach((m,y)=>Su(m,t&&(Ne(t)?t[y]:t),r,n,o));return}if(Wo(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Su(e,t,r,n.component.subTree);return}const i=n.shapeFlag&4?bc(n.component):n.el,s=o?null:i,{i:a,r:u}=e,c=t&&t.r,d=a.refs===Je?a.refs={}:a.refs,p=a.setupState,h=$e(p),f=p===Je?()=>!1:m=>tt(h,m);if(c!=null&&c!==u&&(Pt(c)?(d[c]=null,f(c)&&(p[c]=null)):Ot(c)&&(c.value=null)),Oe(u))fs(u,a,12,[s,d]);else{const m=Pt(u),y=Ot(u);if(m||y){const g=()=>{if(e.f){const b=m?f(u)?p[u]:d[u]:u.value;o?Ne(b)&&fV(b,i):Ne(b)?b.includes(i)||b.push(i):m?(d[u]=[i],f(u)&&(p[u]=d[u])):(u.value=[i],e.k&&(d[e.k]=u.value))}else m?(d[u]=s,f(u)&&(p[u]=s)):y&&(u.value=s,e.k&&(d[e.k]=s))};s?(g.id=-1,kt(g,r)):g()}}}let G_=!1;const vs=()=>{G_||(console.error("Hydration completed but contains mismatches."),G_=!0)},pae=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",fae=e=>e.namespaceURI.includes("MathML"),Dc=e=>{if(e.nodeType===1){if(pae(e))return"svg";if(fae(e))return"mathml"}},Ls=e=>e.nodeType===8;function hae(e){const{mt:t,p:r,o:{patchProp:n,createText:o,nextSibling:i,parentNode:s,remove:a,insert:u,createComment:c}}=e,d=(S,T)=>{if(!T.hasChildNodes()){r(null,S,T),Pp(),T._vnode=S;return}p(T.firstChild,S,null,null,null),Pp(),T._vnode=S},p=(S,T,O,C,E,w=!1)=>{w=w||!!T.dynamicChildren;const _=Ls(S)&&S.data==="[",R=()=>y(S,T,O,C,E,_),{type:N,ref:j,shapeFlag:D,patchFlag:P}=T;let M=S.nodeType;T.el=S,P===-2&&(w=!1,T.dynamicChildren=null);let k=null;switch(N){case co:M!==3?T.children===""?(u(T.el=o(""),s(S),S),k=S):k=R():(S.data!==T.children&&(vs(),S.data=T.children),k=i(S));break;case Et:v(S)?(k=i(S),b(T.el=S.content.firstChild,S,O)):M!==8||_?k=R():k=i(S);break;case Yo:if(_&&(S=i(S),M=S.nodeType),M===1||M===3){k=S;const z=!T.children.length;for(let J=0;J<T.staticCount;J++)z&&(T.children+=k.nodeType===1?k.outerHTML:k.data),J===T.staticCount-1&&(T.anchor=k),k=i(k);return _?i(k):k}else R();break;case qt:_?k=m(S,T,O,C,E,w):k=R();break;default:if(D&1)(M!==1||T.type.toLowerCase()!==S.tagName.toLowerCase())&&!v(S)?k=R():k=h(S,T,O,C,E,w);else if(D&6){T.slotScopeIds=E;const z=s(S);if(_?k=g(S):Ls(S)&&S.data==="teleport start"?k=g(S,S.data,"teleport end"):k=i(S),t(T,z,null,O,C,Dc(z),w),Wo(T)&&!T.type.__asyncResolved){let J;_?(J=rt(qt),J.anchor=k?k.previousSibling:z.lastChild):J=S.nodeType===3?dm(""):rt("div"),J.el=S,T.component.subTree=J}}else D&64?M!==8?k=R():k=T.type.hydrate(S,T,O,C,E,w,e,f):D&128&&(k=T.type.hydrate(S,T,O,C,Dc(s(S)),E,w,e,p))}return j!=null&&Su(j,null,C,T),k},h=(S,T,O,C,E,w)=>{w=w||!!T.dynamicChildren;const{type:_,props:R,patchFlag:N,shapeFlag:j,dirs:D,transition:P}=T,M=_==="input"||_==="option";if(M||N!==-1){D&&Sn(T,null,O,"created");let k=!1;if(v(S)){k=_H(null,P)&&O&&O.vnode.props&&O.vnode.props.appear;const J=S.content.firstChild;if(k){const ie=J.getAttribute("class");ie&&(J.$cls=ie),P.beforeEnter(J)}b(J,S,O),T.el=S=J}if(j&16&&!(R&&(R.innerHTML||R.textContent))){let J=f(S.firstChild,T,S,O,C,E,w);for(;J;){Fc(S,1)||vs();const ie=J;J=J.nextSibling,a(ie)}}else if(j&8){let J=T.children;J[0]===`
|
|
1066
|
+
`&&(S.tagName==="PRE"||S.tagName==="TEXTAREA")&&(J=J.slice(1)),S.textContent!==J&&(Fc(S,0)||vs(),S.textContent=T.children)}if(R){if(M||!w||N&48){const J=S.tagName.includes("-");for(const ie in R)(M&&(ie.endsWith("value")||ie==="indeterminate")||Xh(ie)&&!Ks(ie)||ie[0]==="."||J)&&n(S,ie,null,R[ie],void 0,O)}else if(R.onClick)n(S,"onClick",null,R.onClick,void 0,O);else if(N&4&&Rn(R.style))for(const J in R.style)R.style[J]}let z;(z=R&&R.onVnodeBeforeMount)&&gr(z,O,T),D&&Sn(T,null,O,"beforeMount"),((z=R&&R.onVnodeMounted)||D||k)&&qH(()=>{z&&gr(z,O,T),k&&P.enter(S),D&&Sn(T,null,O,"mounted")},C)}return S.nextSibling},f=(S,T,O,C,E,w,_)=>{_=_||!!T.dynamicChildren;const R=T.children,N=R.length;for(let j=0;j<N;j++){const D=_?R[j]:R[j]=br(R[j]),P=D.type===co;S?(P&&!_&&j+1<N&&br(R[j+1]).type===co&&(u(o(S.data.slice(D.children.length)),O,i(S)),S.data=D.children),S=p(S,D,C,E,w,_)):P&&!D.children?u(D.el=o(""),O):(Fc(O,1)||vs(),r(null,D,O,null,C,E,Dc(O),w))}return S},m=(S,T,O,C,E,w)=>{const{slotScopeIds:_}=T;_&&(E=E?E.concat(_):_);const R=s(S),N=f(i(S),T,R,O,C,E,w);return N&&Ls(N)&&N.data==="]"?i(T.anchor=N):(vs(),u(T.anchor=c("]"),R,N),N)},y=(S,T,O,C,E,w)=>{if(Fc(S.parentElement,1)||vs(),T.el=null,w){const N=g(S);for(;;){const j=i(S);if(j&&j!==N)a(j);else break}}const _=i(S),R=s(S);return a(S),r(null,T,R,_,O,C,Dc(R),E),O&&(O.vnode.el=T.el,um(O,T.el)),_},g=(S,T="[",O="]")=>{let C=0;for(;S;)if(S=i(S),S&&Ls(S)&&(S.data===T&&C++,S.data===O)){if(C===0)return i(S);C--}return S},b=(S,T,O)=>{const C=T.parentNode;C&&C.replaceChild(S,T);let E=O;for(;E;)E.vnode.el===T&&(E.vnode.el=E.subTree.el=S),E=E.parent},v=S=>S.nodeType===1&&S.tagName==="TEMPLATE";return[d,p]}const W_="data-allow-mismatch",mae={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Fc(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(W_);)e=e.parentElement;const r=e&&e.getAttribute(W_);if(r==null)return!1;if(r==="")return!0;{const n=r.split(",");return t===0&&n.includes("children")?!0:r.split(",").includes(mae[t])}}const yae=em().requestIdleCallback||(e=>setTimeout(e,1)),gae=em().cancelIdleCallback||(e=>clearTimeout(e)),DV=(e=1e4)=>t=>{const r=yae(t,{timeout:e});return()=>gae(r)};function bae(e){const{top:t,left:r,bottom:n,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(t>0&&t<i||n>0&&n<i)&&(r>0&&r<s||o>0&&o<s)}const FV=e=>(t,r)=>{const n=new IntersectionObserver(o=>{for(const i of o)if(i.isIntersecting){n.disconnect(),t();break}},e);return r(o=>{if(o instanceof Element){if(bae(o))return t(),n.disconnect(),!1;n.observe(o)}}),()=>n.disconnect()},BV=e=>t=>{if(e){const r=matchMedia(e);if(r.matches)t();else return r.addEventListener("change",t,{once:!0}),()=>r.removeEventListener("change",t)}},UV=(e=[])=>(t,r)=>{Pt(e)&&(e=[e]);let n=!1;const o=s=>{n||(n=!0,i(),t(),s.target.dispatchEvent(new s.constructor(s.type,s)))},i=()=>{r(s=>{for(const a of e)s.removeEventListener(a,o)})};return r(s=>{for(const a of e)s.addEventListener(a,o,{once:!0})}),i};function vae(e,t){if(Ls(e)&&e.data==="["){let r=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Ls(n))if(n.data==="]"){if(--r===0)break}else n.data==="["&&r++;n=n.nextSibling}}else t(e)}const Wo=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function VV(e){Oe(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:u}=e;let c=null,d,p=0;const h=()=>(p++,c=null,f()),f=()=>{let m;return c||(m=c=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),u)return new Promise((g,b)=>{u(y,()=>g(h()),()=>b(y),p+1)});throw y}).then(y=>m!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),d=y,y)))};return im({name:"AsyncComponentWrapper",__asyncLoader:f,__asyncHydrate(m,y,g){const b=i?()=>{const S=i(()=>{g()},T=>vae(m,T));S&&(y.bum||(y.bum=[])).push(S),(y.u||(y.u=[])).push(()=>!0)}:g;d?b():f().then(()=>!y.isUnmounted&&b())},get __asyncResolved(){return d},setup(){const m=$t;if(hx(m),d)return()=>Gm(d,m);const y=S=>{c=null,pi(S,m,13,!n)};if(a&&m.suspense||wa)return f().then(S=>()=>Gm(S,m)).catch(S=>(y(S),()=>n?rt(n,{error:S}):null));const g=Js(!1),b=Js(),v=Js(!!o);return o&&setTimeout(()=>{v.value=!1},o),s!=null&&setTimeout(()=>{if(!g.value&&!b.value){const S=new Error(`Async component timed out after ${s}ms.`);y(S),b.value=S}},s),f().then(()=>{g.value=!0,m.parent&&fc(m.parent.vnode)&&m.parent.update()}).catch(S=>{y(S),b.value=S}),()=>{if(g.value&&d)return Gm(d,m);if(b.value&&n)return rt(n,{error:b.value});if(r&&!v.value)return rt(r)}}})}function Gm(e,t){const{ref:r,props:n,children:o,ce:i}=t.vnode,s=rt(e,n,o);return s.ref=r,s.ce=i,delete t.vnode.ce,s}const fc=e=>e.type.__isKeepAlive,Eae={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=$r(),n=r.ctx;if(!n.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const o=new Map,i=new Set;let s=null;const a=r.suspense,{renderer:{p:u,m:c,um:d,o:{createElement:p}}}=n,h=p("div");n.activate=(v,S,T,O,C)=>{const E=v.component;c(v,S,T,0,a),u(E.vnode,v,S,T,E,a,O,v.slotScopeIds,C),kt(()=>{E.isDeactivated=!1,E.a&&$l(E.a);const w=v.props&&v.props.onVnodeMounted;w&&gr(w,E.parent,v)},a)},n.deactivate=v=>{const S=v.component;Rp(S.m),Rp(S.a),c(v,h,null,1,a),kt(()=>{S.da&&$l(S.da);const T=v.props&&v.props.onVnodeUnmounted;T&&gr(T,S.parent,v),S.isDeactivated=!0},a)};function f(v){Wm(v),d(v,r,a,!0)}function m(v){o.forEach((S,T)=>{const O=Lb(S.type);O&&!v(O)&&y(T)})}function y(v){const S=o.get(v);S&&(!s||!on(S,s))?f(S):s&&Wm(s),o.delete(v),i.delete(v)}Bi(()=>[e.include,e.exclude],([v,S])=>{v&&m(T=>gl(v,T)),S&&m(T=>!gl(S,T))},{flush:"post",deep:!0});let g=null;const b=()=>{g!=null&&(Np(r.subTree.type)?kt(()=>{o.set(g,Bc(r.subTree))},r.subTree.suspense):o.set(g,Bc(r.subTree)))};return Ka(b),hc(b),mc(()=>{o.forEach(v=>{const{subTree:S,suspense:T}=r,O=Bc(S);if(v.type===O.type&&v.key===O.key){Wm(O);const C=O.component.da;C&&kt(C,T);return}f(v)})}),()=>{if(g=null,!t.default)return s=null;const v=t.default(),S=v[0];if(v.length>1)return s=null,v;if(!Xr(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return s=null,S;let T=Bc(S);if(T.type===Et)return s=null,T;const O=T.type,C=Lb(Wo(T)?T.type.__asyncResolved||{}:O),{include:E,exclude:w,max:_}=e;if(E&&(!C||!gl(E,C))||w&&C&&gl(w,C))return T.shapeFlag&=-257,s=T,S;const R=T.key==null?O:T.key,N=o.get(R);return T.el&&(T=dn(T),S.shapeFlag&128&&(S.ssContent=T)),g=R,N?(T.el=N.el,T.component=N.component,T.transition&&kn(T,T.transition),T.shapeFlag|=512,i.delete(R),i.add(R)):(i.add(R),_&&i.size>parseInt(_,10)&&y(i.values().next().value)),T.shapeFlag|=256,s=T,Np(S.type)?S:T}}},HV=Eae;function gl(e,t){return Ne(e)?e.some(r=>gl(r,t)):Pt(e)?e.split(",").includes(t):zse(e)?(e.lastIndex=0,e.test(t)):!1}function mx(e,t){JV(e,"a",t)}function yx(e,t){JV(e,"da",t)}function JV(e,t,r=$t){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(sm(t,n,r),r){let o=r.parent;for(;o&&o.parent;)fc(o.parent.vnode)&&wae(n,t,r,o),o=o.parent}}function wae(e,t,r,n){const o=sm(t,e,n,!0);yc(()=>{fV(n[t],o)},r)}function Wm(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Bc(e){return e.shapeFlag&128?e.ssContent:e}function sm(e,t,r=$t,n=!1){if(r){const o=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...s)=>{mo();const a=ns(r),u=jr(t,r,e,s);return a(),yo(),u});return n?o.unshift(i):o.push(i),i}}const wo=e=>(t,r=$t)=>{(!wa||e==="sp")&&sm(e,(...n)=>t(...n),r)},gx=wo("bm"),Ka=wo("m"),am=wo("bu"),hc=wo("u"),mc=wo("bum"),yc=wo("um"),bx=wo("sp"),vx=wo("rtg"),Ex=wo("rtc");function wx(e,t=$t){sm("ec",e,t)}const Sx="components",Sae="directives";function zV(e,t){return xx(Sx,e,!0,t)||e}const KV=Symbol.for("v-ndc");function GV(e){return Pt(e)?xx(Sx,e,!1)||e:e||KV}function WV(e){return xx(Sae,e)}function xx(e,t,r=!0,n=!1){const o=Ft||$t;if(o){const i=o.type;if(e===Sx){const a=Lb(i,!1);if(a&&(a===t||a===Tr(t)||a===cc(Tr(t))))return i}const s=Y_(o[e]||i[e],t)||Y_(o.appContext[e],t);return!s&&n?i:s}}function Y_(e,t){return e&&(e[t]||e[Tr(t)]||e[cc(Tr(t))])}function YV(e,t,r,n){let o;const i=r&&r[n],s=Ne(e);if(s||Pt(e)){const a=s&&Rn(e);let u=!1,c=!1;a&&(u=!wr(e),c=Mn(e),e=zh(e)),o=new Array(e.length);for(let d=0,p=e.length;d<p;d++)o[d]=t(u?c?Cp(Wt(e[d])):Wt(e[d]):e[d],d,void 0,i&&i[d])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,i&&i[a])}else if(Ut(e))if(e[Symbol.iterator])o=Array.from(e,(a,u)=>t(a,u,void 0,i&&i[u]));else{const a=Object.keys(e);o=new Array(a.length);for(let u=0,c=a.length;u<c;u++){const d=a[u];o[u]=t(e[d],d,u,i&&i[u])}}else o=[];return r&&(r[n]=o),o}function XV(e,t){for(let r=0;r<t.length;r++){const n=t[r];if(Ne(n))for(let o=0;o<n.length;o++)e[n[o].name]=n[o].fn;else n&&(e[n.name]=n.key?(...o)=>{const i=n.fn(...o);return i&&(i.key=n.key),i}:n.fn)}return e}function QV(e,t,r={},n,o){if(Ft.ce||Ft.parent&&Wo(Ft.parent)&&Ft.parent.ce)return t!=="default"&&(r.name=t),Ea(),Cu(qt,null,[rt("slot",r,n&&n())],64);let i=e[t];i&&i._c&&(i._d=!1),Ea();const s=i&&Tx(i(r)),a=r.key||s&&s.key,u=Cu(qt,{key:(a&&!ux(a)?a:`_${t}`)+(!s&&n?"_fb":"")},s||(n?n():[]),s&&e._===1?64:-2);return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),i&&i._c&&(i._d=!0),u}function Tx(e){return e.some(t=>Xr(t)?!(t.type===Et||t.type===qt&&!Tx(t.children)):!0)?e:null}function ZV(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:Gs(n)]=e[n];return r}const Ob=e=>e?JH(e)?bc(e):Ob(e.parent):null,Fl=Kt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ob(e.parent),$root:e=>Ob(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Cx(e),$forceUpdate:e=>e.f||(e.f=()=>{px(e.update)}),$nextTick:e=>e.n||(e.n=dc.bind(e.proxy)),$watch:e=>$ae.bind(e)}),Ym=(e,t)=>e!==Je&&!e.__isScriptSetup&&tt(e,t),Pb={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:o,props:i,accessCache:s,type:a,appContext:u}=e;let c;if(t[0]!=="$"){const f=s[t];if(f!==void 0)switch(f){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return i[t]}else{if(Ym(n,t))return s[t]=1,n[t];if(o!==Je&&tt(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&tt(c,t))return s[t]=3,i[t];if(r!==Je&&tt(r,t))return s[t]=4,r[t];Ab&&(s[t]=0)}}const d=Fl[t];let p,h;if(d)return t==="$attrs"&&ar(e.attrs,"get",""),d(e);if((p=a.__cssModules)&&(p=p[t]))return p;if(r!==Je&&tt(r,t))return s[t]=4,r[t];if(h=u.config.globalProperties,tt(h,t))return h[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:i}=e;return Ym(o,t)?(o[t]=r,!0):n!==Je&&tt(n,t)?(n[t]=r,!0):tt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:i}},s){let a;return!!r[s]||e!==Je&&tt(e,s)||Ym(t,s)||(a=i[0])&&tt(a,s)||tt(n,s)||tt(Fl,s)||tt(o.config.globalProperties,s)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:tt(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},xae=Kt({},Pb,{get(e,t){if(t!==Symbol.unscopables)return Pb.get(e,t,e)},has(e,t){return t[0]!=="_"&&!eae(t)}});function eH(){return null}function tH(){return null}function rH(e){}function nH(e){}function oH(){return null}function iH(){}function sH(e,t){return null}function aH(){return uH().slots}function lH(){return uH().attrs}function uH(){const e=$r();return e.setupContext||(e.setupContext=WH(e))}function xu(e){return Ne(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function cH(e,t){const r=xu(e);for(const n in t){if(n.startsWith("__skip"))continue;let o=r[n];o?Ne(o)||Oe(o)?o=r[n]={type:o,default:t[n]}:o.default=t[n]:o===null&&(o=r[n]={default:t[n]}),o&&t[`__skip_${n}`]&&(o.skipFactory=!0)}return r}function dH(e,t){return!e||!t?e||t:Ne(e)&&Ne(t)?e.concat(t):Kt({},xu(e),xu(t))}function pH(e,t){const r={};for(const n in e)t.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>e[n]});return r}function fH(e){const t=$r();let r=e();return kb(),cx(r)&&(r=r.catch(n=>{throw ns(t),n})),[r,()=>ns(t)]}let Ab=!0;function Tae(e){const t=Cx(e),r=e.proxy,n=e.ctx;Ab=!1,t.beforeCreate&&X_(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:u,inject:c,created:d,beforeMount:p,mounted:h,beforeUpdate:f,updated:m,activated:y,deactivated:g,beforeDestroy:b,beforeUnmount:v,destroyed:S,unmounted:T,render:O,renderTracked:C,renderTriggered:E,errorCaptured:w,serverPrefetch:_,expose:R,inheritAttrs:N,components:j,directives:D,filters:P}=t;if(c&&Cae(c,n,null),s)for(const z in s){const J=s[z];Oe(J)&&(n[z]=J.bind(r))}if(o){const z=o.call(r,r);Ut(z)&&(e.data=oi(z))}if(Ab=!0,i)for(const z in i){const J=i[z],ie=Oe(J)?J.bind(r,r):Oe(J.get)?J.get.bind(r,r):Nn,pe=!Oe(J)&&Oe(J.set)?J.set.bind(r):Nn,oe=Dx({get:ie,set:pe});Object.defineProperty(n,z,{enumerable:!0,configurable:!0,get:()=>oe.value,set:q=>oe.value=q})}if(a)for(const z in a)hH(a[z],n,r,z);if(u){const z=Oe(u)?u.call(r):u;Reflect.ownKeys(z).forEach(J=>{_x(J,z[J])})}d&&X_(d,e,"c");function k(z,J){Ne(J)?J.forEach(ie=>z(ie.bind(r))):J&&z(J.bind(r))}if(k(gx,p),k(Ka,h),k(am,f),k(hc,m),k(mx,y),k(yx,g),k(wx,w),k(Ex,C),k(vx,E),k(mc,v),k(yc,T),k(bx,_),Ne(R))if(R.length){const z=e.exposed||(e.exposed={});R.forEach(J=>{Object.defineProperty(z,J,{get:()=>r[J],set:ie=>r[J]=ie})})}else e.exposed||(e.exposed={});O&&e.render===Nn&&(e.render=O),N!=null&&(e.inheritAttrs=N),j&&(e.components=j),D&&(e.directives=D),_&&hx(e)}function Cae(e,t,r=Nn){Ne(e)&&(e=Rb(e));for(const n in e){const o=e[n];let i;Ut(o)?"default"in o?i=Ys(o.from||n,o.default,!0):i=Ys(o.from||n):i=Ys(o),Ot(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[n]=i}}function X_(e,t,r){jr(Ne(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function hH(e,t,r,n){let o=n.includes(".")?RH(r,n):()=>r[n];if(Pt(e)){const i=t[e];Oe(i)&&Bi(o,i)}else if(Oe(e))Bi(o,e.bind(r));else if(Ut(e))if(Ne(e))e.forEach(i=>hH(i,t,r,n));else{const i=Oe(e.handler)?e.handler.bind(r):t[e.handler];Oe(i)&&Bi(o,i,e)}}function Cx(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let u;return a?u=a:!o.length&&!r&&!n?u=t:(u={},o.length&&o.forEach(c=>Ap(u,c,s,!0)),Ap(u,t,s)),Ut(t)&&i.set(t,u),u}function Ap(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&Ap(e,i,r,!0),o&&o.forEach(s=>Ap(e,s,r,!0));for(const s in t)if(!(n&&s==="expose")){const a=_ae[s]||r&&r[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const _ae={data:Q_,props:Z_,emits:Z_,methods:bl,computed:bl,beforeCreate:pr,created:pr,beforeMount:pr,mounted:pr,beforeUpdate:pr,updated:pr,beforeDestroy:pr,beforeUnmount:pr,destroyed:pr,unmounted:pr,activated:pr,deactivated:pr,errorCaptured:pr,serverPrefetch:pr,components:bl,directives:bl,watch:Pae,provide:Q_,inject:Oae};function Q_(e,t){return t?e?function(){return Kt(Oe(e)?e.call(this,this):e,Oe(t)?t.call(this,this):t)}:t:e}function Oae(e,t){return bl(Rb(e),Rb(t))}function Rb(e){if(Ne(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function pr(e,t){return e?[...new Set([].concat(e,t))]:t}function bl(e,t){return e?Kt(Object.create(null),e,t):t}function Z_(e,t){return e?Ne(e)&&Ne(t)?[...new Set([...e,...t])]:Kt(Object.create(null),xu(e),xu(t??{})):t}function Pae(e,t){if(!e)return t;if(!t)return e;const r=Kt(Object.create(null),e);for(const n in t)r[n]=pr(e[n],t[n]);return r}function mH(){return{app:null,config:{isNativeTag:Use,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Aae=0;function Rae(e,t){return function(n,o=null){Oe(n)||(n=Kt({},n)),o!=null&&!Ut(o)&&(o=null);const i=mH(),s=new WeakSet,a=[];let u=!1;const c=i.app={_uid:Aae++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:Bx,get config(){return i.config},set config(d){},use(d,...p){return s.has(d)||(d&&Oe(d.install)?(s.add(d),d.install(c,...p)):Oe(d)&&(s.add(d),d(c,...p))),c},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),c},component(d,p){return p?(i.components[d]=p,c):i.components[d]},directive(d,p){return p?(i.directives[d]=p,c):i.directives[d]},mount(d,p,h){if(!u){const f=c._ceVNode||rt(n,o);return f.appContext=i,h===!0?h="svg":h===!1&&(h=void 0),p&&t?t(f,d):e(f,d,h),u=!0,c._container=d,d.__vue_app__=c,bc(f.component)}},onUnmount(d){a.push(d)},unmount(){u&&(jr(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(d,p){return i.provides[d]=p,c},runWithContext(d){const p=Fi;Fi=c;try{return d()}finally{Fi=p}}};return c}}let Fi=null;function _x(e,t){if($t){let r=$t.provides;const n=$t.parent&&$t.parent.provides;n===r&&(r=$t.provides=Object.create(n)),r[e]=t}}function Ys(e,t,r=!1){const n=$t||Ft;if(n||Fi){let o=Fi?Fi._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return r&&Oe(t)?t.call(n&&n.proxy):t}}function yH(){return!!($t||Ft||Fi)}const gH={},bH=()=>Object.create(gH),vH=e=>Object.getPrototypeOf(e)===gH;function Nae(e,t,r,n=!1){const o={},i=bH();e.propsDefaults=Object.create(null),EH(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);r?e.props=n?o:ox(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Iae(e,t,r,n){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=$e(o),[u]=e.propsOptions;let c=!1;if((n||s>0)&&!(s&16)){if(s&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let h=d[p];if(lm(e.emitsOptions,h))continue;const f=t[h];if(u)if(tt(i,h))f!==i[h]&&(i[h]=f,c=!0);else{const m=Tr(h);o[m]=Nb(u,a,m,f,e,!1)}else f!==i[h]&&(i[h]=f,c=!0)}}}else{EH(e,t,o,i)&&(c=!0);let d;for(const p in a)(!t||!tt(t,p)&&((d=Ha(p))===p||!tt(t,d)))&&(u?r&&(r[p]!==void 0||r[d]!==void 0)&&(o[p]=Nb(u,a,p,void 0,e,!0)):delete o[p]);if(i!==a)for(const p in i)(!t||!tt(t,p))&&(delete i[p],c=!0)}c&&eo(e.attrs,"set","")}function EH(e,t,r,n){const[o,i]=e.propsOptions;let s=!1,a;if(t)for(let u in t){if(Ks(u))continue;const c=t[u];let d;o&&tt(o,d=Tr(u))?!i||!i.includes(d)?r[d]=c:(a||(a={}))[d]=c:lm(e.emitsOptions,u)||(!(u in n)||c!==n[u])&&(n[u]=c,s=!0)}if(i){const u=$e(r),c=a||Je;for(let d=0;d<i.length;d++){const p=i[d];r[p]=Nb(o,u,p,c[p],e,!tt(c,p))}}return s}function Nb(e,t,r,n,o,i){const s=e[r];if(s!=null){const a=tt(s,"default");if(a&&n===void 0){const u=s.default;if(s.type!==Function&&!s.skipFactory&&Oe(u)){const{propsDefaults:c}=o;if(r in c)n=c[r];else{const d=ns(o);n=c[r]=u.call(null,t),d()}}else n=u;o.ce&&o.ce._setProp(r,n)}s[0]&&(i&&!a?n=!1:s[1]&&(n===""||n===Ha(r))&&(n=!0))}return n}const Mae=new WeakMap;function wH(e,t,r=!1){const n=r?Mae:t.propsCache,o=n.get(e);if(o)return o;const i=e.props,s={},a=[];let u=!1;if(!Oe(e)){const d=p=>{u=!0;const[h,f]=wH(p,t,!0);Kt(s,h),f&&a.push(...f)};!r&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!u)return Ut(e)&&n.set(e,zs),zs;if(Ne(i))for(let d=0;d<i.length;d++){const p=Tr(i[d]);eO(p)&&(s[p]=Je)}else if(i)for(const d in i){const p=Tr(d);if(eO(p)){const h=i[d],f=s[p]=Ne(h)||Oe(h)?{type:h}:Kt({},h),m=f.type;let y=!1,g=!0;if(Ne(m))for(let b=0;b<m.length;++b){const v=m[b],S=Oe(v)&&v.name;if(S==="Boolean"){y=!0;break}else S==="String"&&(g=!1)}else y=Oe(m)&&m.name==="Boolean";f[0]=y,f[1]=g,(y||tt(f,"default"))&&a.push(p)}}const c=[s,a];return Ut(e)&&n.set(e,c),c}function eO(e){return e[0]!=="$"&&!Ks(e)}const Ox=e=>e[0]==="_"||e==="$stable",Px=e=>Ne(e)?e.map(br):[br(e)],kae=(e,t,r)=>{if(t._n)return t;const n=rm((...o)=>Px(t(...o)),r);return n._c=!1,n},SH=(e,t,r)=>{const n=e._ctx;for(const o in e){if(Ox(o))continue;const i=e[o];if(Oe(i))t[o]=kae(o,i,n);else if(i!=null){const s=Px(i);t[o]=()=>s}}},xH=(e,t)=>{const r=Px(t);e.slots.default=()=>r},TH=(e,t,r)=>{for(const n in t)(r||!Ox(n))&&(e[n]=t[n])},jae=(e,t,r)=>{const n=e.slots=bH();if(e.vnode.shapeFlag&32){const o=t._;o?(TH(n,t,r),r&&Yse(n,"_",o,!0)):SH(t,n)}else t&&xH(e,t)},qae=(e,t,r)=>{const{vnode:n,slots:o}=e;let i=!0,s=Je;if(n.shapeFlag&32){const a=t._;a?r&&a===1?i=!1:TH(o,t,r):(i=!t.$stable,SH(t,o)),s=t}else t&&(xH(e,t),s={default:1});if(i)for(const a in o)!Ox(a)&&s[a]==null&&delete o[a]},kt=qH;function Ax(e){return CH(e)}function Rx(e){return CH(e,hae)}function CH(e,t){const r=em();r.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:s,createText:a,createComment:u,setText:c,setElementText:d,parentNode:p,nextSibling:h,setScopeId:f=Nn,insertStaticContent:m}=e,y=($,V,G,re=null,te=null,se=null,ue=void 0,ce=null,de=!!V.dynamicChildren)=>{if($===V)return;$&&!on($,V)&&(re=le($),q($,te,se,!0),$=null),V.patchFlag===-2&&(de=!1,V.dynamicChildren=null);const{type:ae,ref:ve,shapeFlag:he}=V;switch(ae){case co:g($,V,G,re);break;case Et:b($,V,G,re);break;case Yo:$==null&&v(V,G,re,ue);break;case qt:j($,V,G,re,te,se,ue,ce,de);break;default:he&1?O($,V,G,re,te,se,ue,ce,de):he&6?D($,V,G,re,te,se,ue,ce,de):(he&64||he&128)&&ae.process($,V,G,re,te,se,ue,ce,de,Te)}ve!=null&&te&&Su(ve,$&&$.ref,se,V||$,!V)},g=($,V,G,re)=>{if($==null)n(V.el=a(V.children),G,re);else{const te=V.el=$.el;V.children!==$.children&&c(te,V.children)}},b=($,V,G,re)=>{$==null?n(V.el=u(V.children||""),G,re):V.el=$.el},v=($,V,G,re)=>{[$.el,$.anchor]=m($.children,V,G,re,$.el,$.anchor)},S=({el:$,anchor:V},G,re)=>{let te;for(;$&&$!==V;)te=h($),n($,G,re),$=te;n(V,G,re)},T=({el:$,anchor:V})=>{let G;for(;$&&$!==V;)G=h($),o($),$=G;o(V)},O=($,V,G,re,te,se,ue,ce,de)=>{V.type==="svg"?ue="svg":V.type==="math"&&(ue="mathml"),$==null?C(V,G,re,te,se,ue,ce,de):_($,V,te,se,ue,ce,de)},C=($,V,G,re,te,se,ue,ce)=>{let de,ae;const{props:ve,shapeFlag:he,transition:be,dirs:Se}=$;if(de=$.el=s($.type,se,ve&&ve.is,ve),he&8?d(de,$.children):he&16&&w($.children,de,null,re,te,Xm($,se),ue,ce),Se&&Sn($,null,re,"created"),E(de,$,$.scopeId,ue,re),ve){for(const Ue in ve)Ue!=="value"&&!Ks(Ue)&&i(de,Ue,null,ve[Ue],se,re);"value"in ve&&i(de,"value",null,ve.value,se),(ae=ve.onVnodeBeforeMount)&&gr(ae,re,$)}Se&&Sn($,null,re,"beforeMount");const Me=_H(te,be);Me&&be.beforeEnter(de),n(de,V,G),((ae=ve&&ve.onVnodeMounted)||Me||Se)&&kt(()=>{ae&&gr(ae,re,$),Me&&be.enter(de),Se&&Sn($,null,re,"mounted")},te)},E=($,V,G,re,te)=>{if(G&&f($,G),re)for(let se=0;se<re.length;se++)f($,re[se]);if(te){let se=te.subTree;if(V===se||Np(se.type)&&(se.ssContent===V||se.ssFallback===V)){const ue=te.vnode;E($,ue,ue.scopeId,ue.slotScopeIds,te.parent)}}},w=($,V,G,re,te,se,ue,ce,de=0)=>{for(let ae=de;ae<$.length;ae++){const ve=$[ae]=ce?Do($[ae]):br($[ae]);y(null,ve,V,G,re,te,se,ue,ce)}},_=($,V,G,re,te,se,ue)=>{const ce=V.el=$.el;let{patchFlag:de,dynamicChildren:ae,dirs:ve}=V;de|=$.patchFlag&16;const he=$.props||Je,be=V.props||Je;let Se;if(G&&vi(G,!1),(Se=be.onVnodeBeforeUpdate)&&gr(Se,G,V,$),ve&&Sn(V,$,G,"beforeUpdate"),G&&vi(G,!0),(he.innerHTML&&be.innerHTML==null||he.textContent&&be.textContent==null)&&d(ce,""),ae?R($.dynamicChildren,ae,ce,G,re,Xm(V,te),se):ue||J($,V,ce,null,G,re,Xm(V,te),se,!1),de>0){if(de&16)N(ce,he,be,G,te);else if(de&2&&he.class!==be.class&&i(ce,"class",null,be.class,te),de&4&&i(ce,"style",he.style,be.style,te),de&8){const Me=V.dynamicProps;for(let Ue=0;Ue<Me.length;Ue++){const Le=Me[Ue],Rt=he[Le],ht=be[Le];(ht!==Rt||Le==="value")&&i(ce,Le,Rt,ht,te,G)}}de&1&&$.children!==V.children&&d(ce,V.children)}else!ue&&ae==null&&N(ce,he,be,G,te);((Se=be.onVnodeUpdated)||ve)&&kt(()=>{Se&&gr(Se,G,V,$),ve&&Sn(V,$,G,"updated")},re)},R=($,V,G,re,te,se,ue)=>{for(let ce=0;ce<V.length;ce++){const de=$[ce],ae=V[ce],ve=de.el&&(de.type===qt||!on(de,ae)||de.shapeFlag&198)?p(de.el):G;y(de,ae,ve,null,re,te,se,ue,!0)}},N=($,V,G,re,te)=>{if(V!==G){if(V!==Je)for(const se in V)!Ks(se)&&!(se in G)&&i($,se,V[se],null,te,re);for(const se in G){if(Ks(se))continue;const ue=G[se],ce=V[se];ue!==ce&&se!=="value"&&i($,se,ce,ue,te,re)}"value"in G&&i($,"value",V.value,G.value,te)}},j=($,V,G,re,te,se,ue,ce,de)=>{const ae=V.el=$?$.el:a(""),ve=V.anchor=$?$.anchor:a("");let{patchFlag:he,dynamicChildren:be,slotScopeIds:Se}=V;Se&&(ce=ce?ce.concat(Se):Se),$==null?(n(ae,G,re),n(ve,G,re),w(V.children||[],G,ve,te,se,ue,ce,de)):he>0&&he&64&&be&&$.dynamicChildren?(R($.dynamicChildren,be,G,te,se,ue,ce),(V.key!=null||te&&V===te.subTree)&&Nx($,V,!0)):J($,V,G,ve,te,se,ue,ce,de)},D=($,V,G,re,te,se,ue,ce,de)=>{V.slotScopeIds=ce,$==null?V.shapeFlag&512?te.ctx.activate(V,G,re,ue,de):P(V,G,re,te,se,ue,de):M($,V,de)},P=($,V,G,re,te,se,ue)=>{const ce=$.component=HH($,re,te);if(fc($)&&(ce.ctx.renderer=Te),zH(ce,!1,ue),ce.asyncDep){if(te&&te.registerDep(ce,k,ue),!$.el){const de=ce.subTree=rt(Et);b(null,de,V,G)}}else k(ce,$,V,G,te,se,ue)},M=($,V,G)=>{const re=V.component=$.component;if(Vae($,V,G))if(re.asyncDep&&!re.asyncResolved){z(re,V,G);return}else re.next=V,re.update();else V.el=$.el,re.vnode=V},k=($,V,G,re,te,se,ue)=>{const ce=()=>{if($.isMounted){let{next:he,bu:be,u:Se,parent:Me,vnode:Ue}=$;{const Nt=OH($);if(Nt){he&&(he.el=Ue.el,z($,he,ue)),Nt.asyncDep.then(()=>{$.isUnmounted||ce()});return}}let Le=he,Rt;vi($,!1),he?(he.el=Ue.el,z($,he,ue)):he=Ue,be&&$l(be),(Rt=he.props&&he.props.onVnodeBeforeUpdate)&&gr(Rt,Me,he,Ue),vi($,!0);const ht=fd($),Vt=$.subTree;$.subTree=ht,y(Vt,ht,p(Vt.el),le(Vt),$,te,se),he.el=ht.el,Le===null&&um($,ht.el),Se&&kt(Se,te),(Rt=he.props&&he.props.onVnodeUpdated)&&kt(()=>gr(Rt,Me,he,Ue),te)}else{let he;const{el:be,props:Se}=V,{bm:Me,m:Ue,parent:Le,root:Rt,type:ht}=$,Vt=Wo(V);if(vi($,!1),Me&&$l(Me),!Vt&&(he=Se&&Se.onVnodeBeforeMount)&&gr(he,Le,V),vi($,!0),be&&fe){const Nt=()=>{$.subTree=fd($),fe(be,$.subTree,$,te,null)};Vt&&ht.__asyncHydrate?ht.__asyncHydrate(be,$,Nt):Nt()}else{Rt.ce&&Rt.ce._injectChildStyle(ht);const Nt=$.subTree=fd($);y(null,Nt,G,re,$,te,se),V.el=Nt.el}if(Ue&&kt(Ue,te),!Vt&&(he=Se&&Se.onVnodeMounted)){const Nt=V;kt(()=>gr(he,Le,Nt),te)}(V.shapeFlag&256||Le&&Wo(Le.vnode)&&Le.vnode.shapeFlag&256)&&$.a&&kt($.a,te),$.isMounted=!0,V=G=re=null}};$.scope.on();const de=$.effect=new ba(ce);$.scope.off();const ae=$.update=de.run.bind(de),ve=$.job=de.runIfDirty.bind(de);ve.i=$,ve.id=$.uid,de.scheduler=()=>px(ve),vi($,!0),ae()},z=($,V,G)=>{V.component=$;const re=$.vnode.props;$.vnode=V,$.next=null,Iae($,V.props,re,G),qae($,V.children,G),mo(),V_($),yo()},J=($,V,G,re,te,se,ue,ce,de=!1)=>{const ae=$&&$.children,ve=$?$.shapeFlag:0,he=V.children,{patchFlag:be,shapeFlag:Se}=V;if(be>0){if(be&128){pe(ae,he,G,re,te,se,ue,ce,de);return}else if(be&256){ie(ae,he,G,re,te,se,ue,ce,de);return}}Se&8?(ve&16&&ee(ae,te,se),he!==ae&&d(G,he)):ve&16?Se&16?pe(ae,he,G,re,te,se,ue,ce,de):ee(ae,te,se,!0):(ve&8&&d(G,""),Se&16&&w(he,G,re,te,se,ue,ce,de))},ie=($,V,G,re,te,se,ue,ce,de)=>{$=$||zs,V=V||zs;const ae=$.length,ve=V.length,he=Math.min(ae,ve);let be;for(be=0;be<he;be++){const Se=V[be]=de?Do(V[be]):br(V[be]);y($[be],Se,G,null,te,se,ue,ce,de)}ae>ve?ee($,te,se,!0,!1,he):w(V,G,re,te,se,ue,ce,de,he)},pe=($,V,G,re,te,se,ue,ce,de)=>{let ae=0;const ve=V.length;let he=$.length-1,be=ve-1;for(;ae<=he&&ae<=be;){const Se=$[ae],Me=V[ae]=de?Do(V[ae]):br(V[ae]);if(on(Se,Me))y(Se,Me,G,null,te,se,ue,ce,de);else break;ae++}for(;ae<=he&&ae<=be;){const Se=$[he],Me=V[be]=de?Do(V[be]):br(V[be]);if(on(Se,Me))y(Se,Me,G,null,te,se,ue,ce,de);else break;he--,be--}if(ae>he){if(ae<=be){const Se=be+1,Me=Se<ve?V[Se].el:re;for(;ae<=be;)y(null,V[ae]=de?Do(V[ae]):br(V[ae]),G,Me,te,se,ue,ce,de),ae++}}else if(ae>be)for(;ae<=he;)q($[ae],te,se,!0),ae++;else{const Se=ae,Me=ae,Ue=new Map;for(ae=Me;ae<=be;ae++){const It=V[ae]=de?Do(V[ae]):br(V[ae]);It.key!=null&&Ue.set(It.key,ae)}let Le,Rt=0;const ht=be-Me+1;let Vt=!1,Nt=0;const Qr=new Array(ht);for(ae=0;ae<ht;ae++)Qr[ae]=0;for(ae=Se;ae<=he;ae++){const It=$[ae];if(Rt>=ht){q(It,te,se,!0);continue}let tr;if(It.key!=null)tr=Ue.get(It.key);else for(Le=Me;Le<=be;Le++)if(Qr[Le-Me]===0&&on(It,V[Le])){tr=Le;break}tr===void 0?q(It,te,se,!0):(Qr[tr-Me]=ae+1,tr>=Nt?Nt=tr:Vt=!0,y(It,V[tr],G,null,te,se,ue,ce,de),Rt++)}const So=Vt?Lae(Qr):zs;for(Le=So.length-1,ae=ht-1;ae>=0;ae--){const It=Me+ae,tr=V[It],xo=It+1<ve?V[It+1].el:re;Qr[ae]===0?y(null,tr,G,xo,te,se,ue,ce,de):Vt&&(Le<0||ae!==So[Le]?oe(tr,G,xo,2):Le--)}}},oe=($,V,G,re,te=null)=>{const{el:se,type:ue,transition:ce,children:de,shapeFlag:ae}=$;if(ae&6){oe($.component.subTree,V,G,re);return}if(ae&128){$.suspense.move(V,G,re);return}if(ae&64){ue.move($,V,G,Te);return}if(ue===qt){n(se,V,G);for(let he=0;he<de.length;he++)oe(de[he],V,G,re);n($.anchor,V,G);return}if(ue===Yo){S($,V,G);return}if(re!==2&&ae&1&&ce)if(re===0)ce.beforeEnter(se),n(se,V,G),kt(()=>ce.enter(se),te);else{const{leave:he,delayLeave:be,afterLeave:Se}=ce,Me=()=>{$.ctx.isUnmounted?o(se):n(se,V,G)},Ue=()=>{he(se,()=>{Me(),Se&&Se()})};be?be(se,Me,Ue):Ue()}else n(se,V,G)},q=($,V,G,re=!1,te=!1)=>{const{type:se,props:ue,ref:ce,children:de,dynamicChildren:ae,shapeFlag:ve,patchFlag:he,dirs:be,cacheIndex:Se}=$;if(he===-2&&(te=!1),ce!=null&&(mo(),Su(ce,null,G,$,!0),yo()),Se!=null&&(V.renderCache[Se]=void 0),ve&256){V.ctx.deactivate($);return}const Me=ve&1&&be,Ue=!Wo($);let Le;if(Ue&&(Le=ue&&ue.onVnodeBeforeUnmount)&&gr(Le,V,$),ve&6)ne($.component,G,re);else{if(ve&128){$.suspense.unmount(G,re);return}Me&&Sn($,null,V,"beforeUnmount"),ve&64?$.type.remove($,V,G,Te,re):ae&&!ae.hasOnce&&(se!==qt||he>0&&he&64)?ee(ae,V,G,!1,!0):(se===qt&&he&384||!te&&ve&16)&&ee(de,V,G),re&&H($)}(Ue&&(Le=ue&&ue.onVnodeUnmounted)||Me)&&kt(()=>{Le&&gr(Le,V,$),Me&&Sn($,null,V,"unmounted")},G)},H=$=>{const{type:V,el:G,anchor:re,transition:te}=$;if(V===qt){X(G,re);return}if(V===Yo){T($);return}const se=()=>{o(G),te&&!te.persisted&&te.afterLeave&&te.afterLeave()};if($.shapeFlag&1&&te&&!te.persisted){const{leave:ue,delayLeave:ce}=te,de=()=>ue(G,se);ce?ce($.el,se,de):de()}else se()},X=($,V)=>{let G;for(;$!==V;)G=h($),o($),$=G;o(V)},ne=($,V,G)=>{const{bum:re,scope:te,job:se,subTree:ue,um:ce,m:de,a:ae,parent:ve,slots:{__:he}}=$;Rp(de),Rp(ae),re&&$l(re),ve&&Ne(he)&&he.forEach(be=>{ve.renderCache[be]=void 0}),te.stop(),se&&(se.flags|=8,q(ue,$,V,G)),ce&&kt(ce,V),kt(()=>{$.isUnmounted=!0},V),V&&V.pendingBranch&&!V.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===V.pendingId&&(V.deps--,V.deps===0&&V.resolve())},ee=($,V,G,re=!1,te=!1,se=0)=>{for(let ue=se;ue<$.length;ue++)q($[ue],V,G,re,te)},le=$=>{if($.shapeFlag&6)return le($.component.subTree);if($.shapeFlag&128)return $.suspense.next();const V=h($.anchor||$.el),G=V&&V[AV];return G?h(G):V};let ye=!1;const Ie=($,V,G)=>{$==null?V._vnode&&q(V._vnode,null,null,!0):y(V._vnode||null,$,V,null,null,null,G),V._vnode=$,ye||(ye=!0,V_(),Pp(),ye=!1)},Te={p:y,um:q,m:oe,r:H,mt:P,mc:w,pc:J,pbc:R,n:le,o:e};let K,fe;return t&&([K,fe]=t(Te)),{render:Ie,hydrate:K,createApp:Rae(Ie,K)}}function Xm({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function vi({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function _H(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Nx(e,t,r=!1){const n=e.children,o=t.children;if(Ne(n)&&Ne(o))for(let i=0;i<n.length;i++){const s=n[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=Do(o[i]),a.el=s.el),!r&&a.patchFlag!==-2&&Nx(s,a)),a.type===co&&(a.el=s.el),a.type===Et&&!a.el&&(a.el=s.el)}}function Lae(e){const t=e.slice(),r=[0];let n,o,i,s,a;const u=e.length;for(n=0;n<u;n++){const c=e[n];if(c!==0){if(o=r[r.length-1],e[o]<c){t[n]=o,r.push(n);continue}for(i=0,s=r.length-1;i<s;)a=i+s>>1,e[r[a]]<c?i=a+1:s=a;c<e[r[i]]&&(i>0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,s=r[i-1];i-- >0;)r[i]=s,s=t[s];return r}function OH(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:OH(t)}function Rp(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Ix=Symbol.for("v-scx"),Mx=()=>Ys(Ix);function PH(e,t){return gc(e,null,t)}function AH(e,t){return gc(e,null,{flush:"post"})}function kx(e,t){return gc(e,null,{flush:"sync"})}function Bi(e,t,r){return gc(e,t,r)}function gc(e,t,r=Je){const{immediate:n,deep:o,flush:i,once:s}=r,a=Kt({},r),u=t&&n||!t&&i!=="post";let c;if(wa){if(i==="sync"){const f=Mx();c=f.__watcherHandles||(f.__watcherHandles=[])}else if(!u){const f=()=>{};return f.stop=Nn,f.resume=Nn,f.pause=Nn,f}}const d=$t;a.call=(f,m,y)=>jr(f,d,m,y);let p=!1;i==="post"?a.scheduler=f=>{kt(f,d&&d.suspense)}:i!=="sync"&&(p=!0,a.scheduler=(f,m)=>{m?f():px(f)}),a.augmentJob=f=>{t&&(f.flags|=4),p&&(f.flags|=2,d&&(f.id=d.uid,f.i=d))};const h=Bse(e,t,a);return wa&&(c?c.push(h):u&&h()),h}function $ae(e,t,r){const n=this.proxy,o=Pt(e)?e.includes(".")?RH(n,e):()=>n[e]:e.bind(n,n);let i;Oe(t)?i=t:(i=t.handler,r=t);const s=ns(this),a=gc(o,i.bind(n),r);return s(),a}function RH(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o<r.length&&n;o++)n=n[r[o]];return n}}function NH(e,t,r=Je){const n=$r(),o=Tr(t),i=Ha(t),s=IH(e,o),a=ax((u,c)=>{let d,p=Je,h;return kx(()=>{const f=e[o];xi(d,f)&&(d=f,c())}),{get(){return u(),r.get?r.get(d):d},set(f){const m=r.set?r.set(f):f;if(!xi(m,d)&&!(p!==Je&&xi(f,p)))return;const y=n.vnode.props;y&&(t in y||o in y||i in y)&&(`onUpdate:${t}`in y||`onUpdate:${o}`in y||`onUpdate:${i}`in y)||(d=f,c()),n.emit(`update:${t}`,m),xi(f,m)&&xi(f,p)&&!xi(m,h)&&c(),p=f,h=m}}});return a[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?s||Je:a,done:!1}:{done:!0}}}},a}const IH=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Tr(t)}Modifiers`]||e[`${Ha(t)}Modifiers`];function Dae(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||Je;let o=r;const i=t.startsWith("update:"),s=i&&IH(n,t.slice(7));s&&(s.trim&&(o=r.map(d=>Pt(d)?d.trim():d)),s.number&&(o=r.map(Xse)));let a,u=n[a=Gs(t)]||n[a=Gs(Tr(t))];!u&&i&&(u=n[a=Gs(Ha(t))]),u&&jr(u,e,6,o);const c=n[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,jr(c,e,6,o)}}function MH(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!Oe(e)){const u=c=>{const d=MH(c,t,!0);d&&(a=!0,Kt(s,d))};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!a?(Ut(e)&&n.set(e,null),null):(Ne(i)?i.forEach(u=>s[u]=null):Kt(s,i),Ut(e)&&n.set(e,s),s)}function lm(e,t){return!e||!Xh(t)?!1:(t=t.slice(2).replace(/Once$/,""),tt(e,t[0].toLowerCase()+t.slice(1))||tt(e,Ha(t))||tt(e,t))}function fd(e){const{type:t,vnode:r,proxy:n,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:u,render:c,renderCache:d,props:p,data:h,setupState:f,ctx:m,inheritAttrs:y}=e,g=wu(e);let b,v;try{if(r.shapeFlag&4){const T=o||n,O=T;b=br(c.call(O,T,d,p,f,h,m)),v=a}else{const T=t;b=br(T.length>1?T(p,{attrs:a,slots:s,emit:u}):T(p,null)),v=t.props?a:Bae(a)}}catch(T){Bl.length=0,pi(T,e,1),b=rt(Et)}let S=b;if(v&&y!==!1){const T=Object.keys(v),{shapeFlag:O}=S;T.length&&O&7&&(i&&T.some(pV)&&(v=Uae(v,i)),S=dn(S,v,!1,!0))}return r.dirs&&(S=dn(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(r.dirs):r.dirs),r.transition&&kn(S,r.transition),b=S,wu(g),b}function Fae(e,t=!0){let r;for(let n=0;n<e.length;n++){const o=e[n];if(Xr(o)){if(o.type!==Et||o.children==="v-if"){if(r)return;r=o}}else return}return r}const Bae=e=>{let t;for(const r in e)(r==="class"||r==="style"||Xh(r))&&((t||(t={}))[r]=e[r]);return t},Uae=(e,t)=>{const r={};for(const n in e)(!pV(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function Vae(e,t,r){const{props:n,children:o,component:i}=e,{props:s,children:a,patchFlag:u}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return n?tO(n,s,c):!!s;if(u&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const h=d[p];if(s[h]!==n[h]&&!lm(c,h))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:n===s?!1:n?s?tO(n,s,c):!0:!!s;return!1}function tO(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const i=n[o];if(t[i]!==e[i]&&!lm(r,i))return!0}return!1}function um({vnode:e,parent:t},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=r,t=t.parent;else break}}const Np=e=>e.__isSuspense;let Ib=0;const Hae={name:"Suspense",__isSuspense:!0,process(e,t,r,n,o,i,s,a,u,c){if(e==null)Jae(t,r,n,o,i,s,a,u,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}zae(e,t,r,n,o,s,a,u,c)}},hydrate:Kae,normalize:Gae},kH=Hae;function Tu(e,t){const r=e.props&&e.props[t];Oe(r)&&r()}function Jae(e,t,r,n,o,i,s,a,u){const{p:c,o:{createElement:d}}=u,p=d("div"),h=e.suspense=jH(e,o,n,t,p,r,i,s,a,u);c(null,h.pendingBranch=e.ssContent,p,null,n,h,i,s),h.deps>0?(Tu(e,"onPending"),Tu(e,"onFallback"),c(null,e.ssFallback,t,r,n,null,i,s),Xs(h,e.ssFallback)):h.resolve(!1,!0)}function zae(e,t,r,n,o,i,s,a,{p:u,um:c,o:{createElement:d}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const h=t.ssContent,f=t.ssFallback,{activeBranch:m,pendingBranch:y,isInFallback:g,isHydrating:b}=p;if(y)p.pendingBranch=h,on(h,y)?(u(y,h,p.hiddenContainer,null,o,p,i,s,a),p.deps<=0?p.resolve():g&&(b||(u(m,f,r,n,o,null,i,s,a),Xs(p,f)))):(p.pendingId=Ib++,b?(p.isHydrating=!1,p.activeBranch=y):c(y,o,p),p.deps=0,p.effects.length=0,p.hiddenContainer=d("div"),g?(u(null,h,p.hiddenContainer,null,o,p,i,s,a),p.deps<=0?p.resolve():(u(m,f,r,n,o,null,i,s,a),Xs(p,f))):m&&on(h,m)?(u(m,h,r,n,o,p,i,s,a),p.resolve(!0)):(u(null,h,p.hiddenContainer,null,o,p,i,s,a),p.deps<=0&&p.resolve()));else if(m&&on(h,m))u(m,h,r,n,o,p,i,s,a),Xs(p,h);else if(Tu(t,"onPending"),p.pendingBranch=h,h.shapeFlag&512?p.pendingId=h.component.suspenseId:p.pendingId=Ib++,u(null,h,p.hiddenContainer,null,o,p,i,s,a),p.deps<=0)p.resolve();else{const{timeout:v,pendingId:S}=p;v>0?setTimeout(()=>{p.pendingId===S&&p.fallback(f)},v):v===0&&p.fallback(f)}}function jH(e,t,r,n,o,i,s,a,u,c,d=!1){const{p,m:h,um:f,n:m,o:{parentNode:y,remove:g}}=c;let b;const v=Wae(e);v&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const S=e.props?Qse(e.props.timeout):void 0,T=i,O={vnode:e,parent:t,parentComponent:r,namespace:s,container:n,hiddenContainer:o,deps:0,pendingId:Ib++,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(C=!1,E=!1){const{vnode:w,activeBranch:_,pendingBranch:R,pendingId:N,effects:j,parentComponent:D,container:P}=O;let M=!1;O.isHydrating?O.isHydrating=!1:C||(M=_&&R.transition&&R.transition.mode==="out-in",M&&(_.transition.afterLeave=()=>{N===O.pendingId&&(h(R,P,i===T?m(_):i,0),va(j))}),_&&(y(_.el)===P&&(i=m(_)),f(_,D,O,!0)),M||h(R,P,i,0)),Xs(O,R),O.pendingBranch=null,O.isInFallback=!1;let k=O.parent,z=!1;for(;k;){if(k.pendingBranch){k.effects.push(...j),z=!0;break}k=k.parent}!z&&!M&&va(j),O.effects=[],v&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),Tu(w,"onResolve")},fallback(C){if(!O.pendingBranch)return;const{vnode:E,activeBranch:w,parentComponent:_,container:R,namespace:N}=O;Tu(E,"onFallback");const j=m(w),D=()=>{O.isInFallback&&(p(null,C,R,j,_,null,N,a,u),Xs(O,C))},P=C.transition&&C.transition.mode==="out-in";P&&(w.transition.afterLeave=D),O.isInFallback=!0,f(w,_,null,!0),P||D()},move(C,E,w){O.activeBranch&&h(O.activeBranch,C,E,w),O.container=C},next(){return O.activeBranch&&m(O.activeBranch)},registerDep(C,E,w){const _=!!O.pendingBranch;_&&O.deps++;const R=C.vnode.el;C.asyncDep.catch(N=>{pi(N,C,0)}).then(N=>{if(C.isUnmounted||O.isUnmounted||O.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:j}=C;jb(C,N,!1),R&&(j.el=R);const D=!R&&C.subTree.el;E(C,j,y(R||C.subTree.el),R?null:m(C.subTree),O,s,w),D&&g(D),um(C,j.el),_&&--O.deps===0&&O.resolve()})},unmount(C,E){O.isUnmounted=!0,O.activeBranch&&f(O.activeBranch,r,C,E),O.pendingBranch&&f(O.pendingBranch,r,C,E)}};return O}function Kae(e,t,r,n,o,i,s,a,u){const c=t.suspense=jH(t,n,r,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),d=u(e,c.pendingBranch=t.ssContent,r,c,i,s);return c.deps===0&&c.resolve(!1,!0),d}function Gae(e){const{shapeFlag:t,children:r}=e,n=t&32;e.ssContent=rO(n?r.default:r),e.ssFallback=n?rO(r.fallback):rt(Et)}function rO(e){let t;if(Oe(e)){const r=rs&&e._c;r&&(e._d=!1,Ea()),e=e(),r&&(e._d=!0,t=lr,LH())}return Ne(e)&&(e=Fae(e)),e=br(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function qH(e,t){t&&t.pendingBranch?Ne(e)?t.effects.push(...e):t.effects.push(e):va(e)}function Xs(e,t){e.activeBranch=t;const{vnode:r,parentComponent:n}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;r.el=o,n&&n.subTree===r&&(n.vnode.el=o,um(n,o))}function Wae(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const qt=Symbol.for("v-fgt"),co=Symbol.for("v-txt"),Et=Symbol.for("v-cmt"),Yo=Symbol.for("v-stc"),Bl=[];let lr=null;function Ea(e=!1){Bl.push(lr=e?null:[])}function LH(){Bl.pop(),lr=Bl[Bl.length-1]||null}let rs=1;function Ip(e,t=!1){rs+=e,e<0&&lr&&t&&(lr.hasOnce=!0)}function $H(e){return e.dynamicChildren=rs>0?lr||zs:null,LH(),rs>0&&lr&&lr.push(e),e}function DH(e,t,r,n,o,i){return $H(cm(e,t,r,n,o,i,!0))}function Cu(e,t,r,n,o){return $H(rt(e,t,r,n,o,!0))}function Xr(e){return e?e.__v_isVNode===!0:!1}function on(e,t){return e.type===t.type&&e.key===t.key}function FH(e){}const BH=({key:e})=>e??null,hd=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Pt(e)||Ot(e)||Oe(e)?{i:Ft,r:e,k:t,f:!!r}:e:null);function cm(e,t=null,r=null,n=0,o=null,i=e===qt?0:1,s=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&BH(t),ref:t&&hd(t),scopeId:tm,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ft};return a?(qx(u,r),i&128&&e.normalize(u)):r&&(u.shapeFlag|=Pt(r)?8:16),rs>0&&!s&&lr&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&lr.push(u),u}const rt=Yae;function Yae(e,t=null,r=null,n=0,o=null,i=!1){if((!e||e===KV)&&(e=Et),Xr(e)){const a=dn(e,t,!0);return r&&qx(a,r),rs>0&&!i&&lr&&(a.shapeFlag&6?lr[lr.indexOf(e)]=a:lr.push(a)),a.patchFlag=-2,a}if(tle(e)&&(e=e.__vccOpts),t){t=jx(t);let{class:a,style:u}=t;a&&!Pt(a)&&(t.class=za(a)),Ut(u)&&(lc(u)&&!Ne(u)&&(u=Kt({},u)),t.style=Ja(u))}const s=Pt(e)?1:Np(e)?128:RV(e)?64:Ut(e)?4:Oe(e)?2:0;return cm(e,t,r,n,o,s,i,!0)}function jx(e){return e?lc(e)||vH(e)?Kt({},e):e:null}function dn(e,t,r=!1,n=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:u}=e,c=t?Lx(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&BH(c),ref:t&&t.ref?r&&i?Ne(i)?i.concat(hd(t)):[i,hd(t)]:hd(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==qt?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&dn(e.ssContent),ssFallback:e.ssFallback&&dn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&kn(d,u.clone(d)),d}function dm(e=" ",t=0){return rt(co,null,e,t)}function UH(e,t){const r=rt(Yo,null,e);return r.staticCount=t,r}function VH(e="",t=!1){return t?(Ea(),Cu(Et,null,e)):rt(Et,null,e)}function br(e){return e==null||typeof e=="boolean"?rt(Et):Ne(e)?rt(qt,null,e.slice()):Xr(e)?Do(e):rt(co,null,String(e))}function Do(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:dn(e)}function qx(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ne(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),qx(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!vH(t)?t._ctx=Ft:o===3&&Ft&&(Ft.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Oe(t)?(t={default:t,_ctx:Ft},r=32):(t=String(t),n&64?(r=16,t=[dm(t)]):r=8);e.children=t,e.shapeFlag|=r}function Lx(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=za([t.class,n.class]));else if(o==="style")t.style=Ja([t.style,n.style]);else if(Xh(o)){const i=t[o],s=n[o];s&&i!==s&&!(Ne(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=n[o])}return t}function gr(e,t,r,n=null){jr(e,t,7,[r,n])}const Xae=mH();let Qae=0;function HH(e,t,r){const n=e.type,o=(t?t.appContext:e.appContext)||Xae,i={uid:Qae++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Hh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wH(n,o),emitsOptions:MH(n,o),emit:null,emitted:null,propsDefaults:Je,inheritAttrs:n.inheritAttrs,ctx:Je,data:Je,props:Je,attrs:Je,slots:Je,refs:Je,setupState:Je,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Dae.bind(null,i),e.ce&&e.ce(i),i}let $t=null;const $r=()=>$t||Ft;let Mp,Mb;{const e=em(),t=(r,n)=>{let o;return(o=e[r])||(o=e[r]=[]),o.push(n),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};Mp=t("__VUE_INSTANCE_SETTERS__",r=>$t=r),Mb=t("__VUE_SSR_SETTERS__",r=>wa=r)}const ns=e=>{const t=$t;return Mp(e),e.scope.on(),()=>{e.scope.off(),Mp(t)}},kb=()=>{$t&&$t.scope.off(),Mp(null)};function JH(e){return e.vnode.shapeFlag&4}let wa=!1;function zH(e,t=!1,r=!1){t&&Mb(t);const{props:n,children:o}=e.vnode,i=JH(e);Nae(e,n,i,t),jae(e,o,r||t);const s=i?Zae(e,t):void 0;return t&&Mb(!1),s}function Zae(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Pb);const{setup:n}=r;if(n){mo();const o=e.setupContext=n.length>1?WH(e):null,i=ns(e),s=fs(n,e,0,[e.props,o]),a=cx(s);if(yo(),i(),(a||e.sp)&&!Wo(e)&&hx(e),a){if(s.then(kb,kb),t)return s.then(u=>{jb(e,u,t)}).catch(u=>{pi(u,e,0)});e.asyncDep=s}else jb(e,s,t)}else GH(e,t)}function jb(e,t,r){Oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ut(t)&&(e.setupState=Yh(t)),GH(e,r)}let kp,qb;function $x(e){kp=e,qb=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,xae))}}const KH=()=>!kp;function GH(e,t,r){const n=e.type;if(!e.render){if(!t&&kp&&!n.render){const o=n.template||Cx(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:u}=n,c=Kt(Kt({isCustomElement:i,delimiters:a},s),u);n.render=kp(o,c)}}e.render=n.render||Nn,qb&&qb(e)}{const o=ns(e);mo();try{Tae(e)}finally{yo(),o()}}}const ele={get(e,t){return ar(e,"get",""),e[t]}};function WH(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,ele),slots:e.slots,emit:e.emit,expose:t}}function bc(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yh(ix(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Fl)return Fl[r](e)},has(t,r){return r in t||r in Fl}})):e.proxy}function Lb(e,t=!0){return Oe(e)?e.displayName||e.name:e.name||t&&e.__name}function tle(e){return Oe(e)&&"__vccOpts"in e}const Dx=(e,t)=>Fse(e,t,wa);function fi(e,t,r){const n=arguments.length;return n===2?Ut(t)&&!Ne(t)?Xr(t)?rt(e,null,[t]):rt(e,t):rt(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Xr(r)&&(r=[r]),rt(e,t,r))}function YH(){}function XH(e,t,r,n){const o=r[n];if(o&&Fx(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=n,r[n]=i}function Fx(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let n=0;n<r.length;n++)if(xi(r[n],t[n]))return!1;return rs>0&&lr&&lr.push(e),!0}const Bx="3.5.15",QH=Nn,ZH=aae,e3=As,t3=TV,rle={createComponentInstance:HH,setupComponent:zH,renderComponentRoot:fd,setCurrentRenderingInstance:wu,isVNode:Xr,normalizeVNode:br,getComponentPublicInstance:bc,ensureValidVNode:Tx,pushWarningContext:iae,popWarningContext:sae},r3=rle,n3=null,o3=null,i3=null;/**
|
|
1067
|
+
* @vue/shared v3.5.15
|
|
1068
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1069
|
+
* @license MIT
|
|
1070
|
+
**//*! #__NO_SIDE_EFFECTS__ */function nle(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const Qm={},ole=()=>{},ile=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),sle=e=>e.startsWith("onUpdate:"),os=Object.assign,ale=Object.prototype.hasOwnProperty,lle=(e,t)=>ale.call(e,t),qr=Array.isArray,vc=e=>Ux(e)==="[object Set]",nO=e=>Ux(e)==="[object Date]",s3=e=>typeof e=="function",Sa=e=>typeof e=="string",$b=e=>typeof e=="symbol",Db=e=>e!==null&&typeof e=="object",ule=Object.prototype.toString,Ux=e=>ule.call(e),a3=e=>Ux(e)==="[object Object]",Vx=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},cle=/-(\w)/g,md=Vx(e=>e.replace(cle,(t,r)=>r?r.toUpperCase():"")),dle=/\B([A-Z])/g,Bo=Vx(e=>e.replace(dle,"-$1").toLowerCase()),ple=Vx(e=>e.charAt(0).toUpperCase()+e.slice(1)),fle=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Fb=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bb=e=>{const t=Sa(e)?Number(e):NaN;return isNaN(t)?e:t},hle="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",mle=nle(hle);function l3(e){return!!e||e===""}function yle(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=ii(e[n],t[n]);return r}function ii(e,t){if(e===t)return!0;let r=nO(e),n=nO(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=$b(e),n=$b(t),r||n)return e===t;if(r=qr(e),n=qr(t),r||n)return r&&n?yle(e,t):!1;if(r=Db(e),n=Db(t),r||n){if(!r||!n)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const a=e.hasOwnProperty(s),u=t.hasOwnProperty(s);if(a&&!u||!a&&u||!ii(e[s],t[s]))return!1}}return String(e)===String(t)}function pm(e,t){return e.findIndex(r=>ii(r,t))}/**
|
|
1071
|
+
* @vue/runtime-dom v3.5.15
|
|
1072
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1073
|
+
* @license MIT
|
|
1074
|
+
**/let Ub;const oO=typeof window<"u"&&window.trustedTypes;if(oO)try{Ub=oO.createPolicy("vue",{createHTML:e=>e})}catch{}const u3=Ub?e=>Ub.createHTML(e):e=>e,gle="http://www.w3.org/2000/svg",ble="http://www.w3.org/1998/Math/MathML",Xn=typeof document<"u"?document:null,iO=Xn&&Xn.createElement("template"),vle={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t==="svg"?Xn.createElementNS(gle,e):t==="mathml"?Xn.createElementNS(ble,e):r?Xn.createElement(e,{is:r}):Xn.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Xn.createTextNode(e),createComment:e=>Xn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const s=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===i||!(o=o.nextSibling)););else{iO.innerHTML=u3(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const a=iO.content;if(n==="svg"||n==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,r)}return[s?s.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},_o="transition",ol="animation",xa=Symbol("_vtc"),c3={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},d3=os({},om,c3),Ele=e=>(e.displayName="Transition",e.props=d3,e),p3=Ele((e,{slots:t})=>fi(fx,f3(e),t)),Ei=(e,t=[])=>{qr(e)?e.forEach(r=>r(...t)):e&&e(...t)},sO=e=>e?qr(e)?e.some(t=>t.length>1):e.length>1:!1;function f3(e){const t={};for(const j in e)j in c3||(t[j]=e[j]);if(e.css===!1)return t;const{name:r="v",type:n,duration:o,enterFromClass:i=`${r}-enter-from`,enterActiveClass:s=`${r}-enter-active`,enterToClass:a=`${r}-enter-to`,appearFromClass:u=i,appearActiveClass:c=s,appearToClass:d=a,leaveFromClass:p=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=e,m=wle(o),y=m&&m[0],g=m&&m[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:S,onLeave:T,onLeaveCancelled:O,onBeforeAppear:C=b,onAppear:E=v,onAppearCancelled:w=S}=t,_=(j,D,P,M)=>{j._enterCancelled=M,Io(j,D?d:a),Io(j,D?c:s),P&&P()},R=(j,D)=>{j._isLeaving=!1,Io(j,p),Io(j,f),Io(j,h),D&&D()},N=j=>(D,P)=>{const M=j?E:v,k=()=>_(D,j,P);Ei(M,[D,k]),aO(()=>{Io(D,j?u:i),En(D,j?d:a),sO(M)||lO(D,n,y,k)})};return os(t,{onBeforeEnter(j){Ei(b,[j]),En(j,i),En(j,s)},onBeforeAppear(j){Ei(C,[j]),En(j,u),En(j,c)},onEnter:N(!1),onAppear:N(!0),onLeave(j,D){j._isLeaving=!0;const P=()=>R(j,D);En(j,p),j._enterCancelled?(En(j,h),Vb()):(Vb(),En(j,h)),aO(()=>{j._isLeaving&&(Io(j,p),En(j,f),sO(T)||lO(j,n,g,P))}),Ei(T,[j,P])},onEnterCancelled(j){_(j,!1,void 0,!0),Ei(S,[j])},onAppearCancelled(j){_(j,!0,void 0,!0),Ei(w,[j])},onLeaveCancelled(j){R(j),Ei(O,[j])}})}function wle(e){if(e==null)return null;if(Db(e))return[Zm(e.enter),Zm(e.leave)];{const t=Zm(e);return[t,t]}}function Zm(e){return Bb(e)}function En(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[xa]||(e[xa]=new Set)).add(t)}function Io(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[xa];r&&(r.delete(t),r.size||(e[xa]=void 0))}function aO(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Sle=0;function lO(e,t,r,n){const o=e._endId=++Sle,i=()=>{o===e._endId&&n()};if(r!=null)return setTimeout(i,r);const{type:s,timeout:a,propCount:u}=h3(e,t);if(!s)return n();const c=s+"end";let d=0;const p=()=>{e.removeEventListener(c,h),i()},h=f=>{f.target===e&&++d>=u&&p()};setTimeout(()=>{d<u&&p()},a+1),e.addEventListener(c,h)}function h3(e,t){const r=window.getComputedStyle(e),n=m=>(r[m]||"").split(", "),o=n(`${_o}Delay`),i=n(`${_o}Duration`),s=uO(o,i),a=n(`${ol}Delay`),u=n(`${ol}Duration`),c=uO(a,u);let d=null,p=0,h=0;t===_o?s>0&&(d=_o,p=s,h=i.length):t===ol?c>0&&(d=ol,p=c,h=u.length):(p=Math.max(s,c),d=p>0?s>c?_o:ol:null,h=d?d===_o?i.length:u.length:0);const f=d===_o&&/\b(transform|all)(,|$)/.test(n(`${_o}Property`).toString());return{type:d,timeout:p,propCount:h,hasTransform:f}}function uO(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>cO(r)+cO(e[n])))}function cO(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Vb(){return document.body.offsetHeight}function xle(e,t,r){const n=e[xa];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const jp=Symbol("_vod"),m3=Symbol("_vsh"),Hx={beforeMount(e,{value:t},{transition:r}){e[jp]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):il(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),il(e,!0),n.enter(e)):n.leave(e,()=>{il(e,!1)}):il(e,t))},beforeUnmount(e,{value:t}){il(e,t)}};function il(e,t){e.style.display=t?e[jp]:"none",e[m3]=!t}function Tle(){Hx.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const y3=Symbol("");function g3(e){const t=$r();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>qp(i,o))},n=()=>{const o=e(t.proxy);t.ce?qp(t.ce,o):Hb(t.subTree,o),r(o)};am(()=>{va(n)}),Ka(()=>{Bi(n,ole,{flush:"post"});const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),yc(()=>o.disconnect())})}function Hb(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{Hb(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)qp(e.el,t);else if(e.type===qt)e.children.forEach(r=>Hb(r,t));else if(e.type===Yo){let{el:r,anchor:n}=e;for(;r&&(qp(r,t),r!==n);)r=r.nextSibling}}function qp(e,t){if(e.nodeType===1){const r=e.style;let n="";for(const o in t)r.setProperty(`--${o}`,t[o]),n+=`--${o}: ${t[o]};`;r[y3]=n}}const Cle=/(^|;)\s*display\s*:/;function _le(e,t,r){const n=e.style,o=Sa(r);let i=!1;if(r&&!o){if(t)if(Sa(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();r[a]==null&&yd(n,a,"")}else for(const s in t)r[s]==null&&yd(n,s,"");for(const s in r)s==="display"&&(i=!0),yd(n,s,r[s])}else if(o){if(t!==r){const s=n[y3];s&&(r+=";"+s),n.cssText=r,i=Cle.test(r)}}else t&&e.removeAttribute("style");jp in e&&(e[jp]=i?n.display:"",e[m3]&&(n.display="none"))}const dO=/\s*!important$/;function yd(e,t,r){if(qr(r))r.forEach(n=>yd(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=Ole(e,t);dO.test(r)?e.setProperty(Bo(n),r.replace(dO,""),"important"):e[n]=r}}const pO=["Webkit","Moz","ms"],ey={};function Ole(e,t){const r=ey[t];if(r)return r;let n=Tr(t);if(n!=="filter"&&n in e)return ey[t]=n;n=ple(n);for(let o=0;o<pO.length;o++){const i=pO[o]+n;if(i in e)return ey[t]=i}return t}const fO="http://www.w3.org/1999/xlink";function hO(e,t,r,n,o,i=mle(t)){n&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(fO,t.slice(6,t.length)):e.setAttributeNS(fO,t,r):r==null||i&&!l3(r)?e.removeAttribute(t):e.setAttribute(t,i?"":$b(r)?String(r):r)}function mO(e,t,r,n,o){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?u3(r):r);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,u=r==null?e.type==="checkbox"?"on":"":String(r);(a!==u||!("_value"in e))&&(e.value=u),r==null&&e.removeAttribute(t),e._value=r;return}let s=!1;if(r===""||r==null){const a=typeof e[t];a==="boolean"?r=l3(r):r==null&&a==="string"?(r="",s=!0):a==="number"&&(r=0,s=!0)}try{e[t]=r}catch{}s&&e.removeAttribute(o||t)}function ro(e,t,r,n){e.addEventListener(t,r,n)}function Ple(e,t,r,n){e.removeEventListener(t,r,n)}const yO=Symbol("_vei");function Ale(e,t,r,n,o=null){const i=e[yO]||(e[yO]={}),s=i[t];if(n&&s)s.value=n;else{const[a,u]=Rle(t);if(n){const c=i[t]=Mle(n,o);ro(e,a,c,u)}else s&&(Ple(e,a,s,u),i[t]=void 0)}}const gO=/(?:Once|Passive|Capture)$/;function Rle(e){let t;if(gO.test(e)){t={};let n;for(;n=e.match(gO);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Bo(e.slice(2)),t]}let ty=0;const Nle=Promise.resolve(),Ile=()=>ty||(Nle.then(()=>ty=0),ty=Date.now());function Mle(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;jr(kle(n,r.value),t,5,[n])};return r.value=e,r.attached=Ile(),r}function kle(e,t){if(qr(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const bO=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,jle=(e,t,r,n,o,i)=>{const s=o==="svg";t==="class"?xle(e,n,s):t==="style"?_le(e,r,n):ile(t)?sle(t)||Ale(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qle(e,t,n,s))?(mO(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&hO(e,t,n,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Sa(n))?mO(e,md(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),hO(e,t,n,s))};function qle(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&bO(t)&&s3(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return bO(t)&&Sa(r)?!1:t in e}const vO={};/*! #__NO_SIDE_EFFECTS__ */function Jx(e,t,r){const n=im(e,t);a3(n)&&os(n,t);class o extends Ec{constructor(s){super(n,s,r)}}return o.def=n,o}/*! #__NO_SIDE_EFFECTS__ */const b3=(e,t)=>Jx(e,t,Yx),Lle=typeof HTMLElement<"u"?HTMLElement:class{};class Ec extends Lle{constructor(t,r={},n=Ou){super(),this._def=t,this._props=r,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==Ou?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Ec){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,dc(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const o of n)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:s}=n;let a;if(i&&!qr(i))for(const u in i){const c=i[u];(c===Number||c&&c.type===Number)&&(u in this._props&&(this._props[u]=Bb(this._props[u])),(a||(a=Object.create(null)))[md(u)]=!0)}this._numberProps=a,this._resolveProps(n),this.shadowRoot&&this._applyStyles(s),this._mount(n)},r=this._def.__asyncLoader;r?this._pendingResolve=r().then(n=>t(this._def=n,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const n in r)lle(this,n)||Object.defineProperty(this,n,{get:()=>uc(r[n])})}_resolveProps(t){const{props:r}=t,n=qr(r)?r:Object.keys(r||{});for(const o of Object.keys(this))o[0]!=="_"&&n.includes(o)&&this._setProp(o,this[o]);for(const o of n.map(md))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const r=this.hasAttribute(t);let n=r?this.getAttribute(t):vO;const o=md(t);r&&this._numberProps&&this._numberProps[o]&&(n=Bb(n)),this._setProp(o,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,r,n=!0,o=!1){if(r!==this._props[t]&&(r===vO?delete this._props[t]:(this._props[t]=r,t==="key"&&this._app&&(this._app._ceVNode.key=r)),o&&this._instance&&this._update(),n)){const i=this._ob;i&&i.disconnect(),r===!0?this.setAttribute(Bo(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(Bo(t),r+""):r||this.removeAttribute(Bo(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Wx(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=rt(this._def,os(t,this._props));return this._instance||(r.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const o=(i,s)=>{this.dispatchEvent(new CustomEvent(i,a3(s[0])?os({detail:s},s[0]):{detail:s}))};n.emit=(i,...s)=>{o(i,s),Bo(i)!==i&&o(Bo(i),s)},this._setParent()}),r}_applyStyles(t,r){if(!t)return;if(r){if(r===this._def||this._styleChildren.has(r))return;this._styleChildren.add(r)}const n=this._nonce;for(let o=t.length-1;o>=0;o--){const i=document.createElement("style");n&&i.setAttribute("nonce",n),i.textContent=t[o],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let r;for(;r=this.firstChild;){const n=r.nodeType===1&&r.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(r),this.removeChild(r)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),r=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const o=t[n],i=o.getAttribute("name")||"default",s=this._slots[i],a=o.parentNode;if(s)for(const u of s){if(r&&u.nodeType===1){const c=r+"-s",d=document.createTreeWalker(u,1);u.setAttribute(c,"");let p;for(;p=d.nextNode();)p.setAttribute(c,"")}a.insertBefore(u,o)}else for(;o.firstChild;)a.insertBefore(o.firstChild,o);a.removeChild(o)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function zx(e){const t=$r(),r=t&&t.ce;return r||null}function v3(){const e=zx();return e&&e.shadowRoot}function E3(e="$style"){{const t=$r();if(!t)return Qm;const r=t.type.__cssModules;if(!r)return Qm;const n=r[e];return n||Qm}}const w3=new WeakMap,S3=new WeakMap,Lp=Symbol("_moveCb"),EO=Symbol("_enterCb"),$le=e=>(delete e.props.mode,e),Dle=$le({name:"TransitionGroup",props:os({},d3,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=$r(),n=nm();let o,i;return hc(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!Vle(o[0].el,r.vnode.el,s)){o=[];return}o.forEach(Fle),o.forEach(Ble);const a=o.filter(Ule);Vb(),a.forEach(u=>{const c=u.el,d=c.style;En(c,s),d.transform=d.webkitTransform=d.transitionDuration="";const p=c[Lp]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",p),c[Lp]=null,Io(c,s))};c.addEventListener("transitionend",p)}),o=[]}),()=>{const s=$e(e),a=f3(s);let u=s.tag||qt;if(o=[],i)for(let c=0;c<i.length;c++){const d=i[c];d.el&&d.el instanceof Element&&(o.push(d),kn(d,ts(d,a,n,r)),w3.set(d,d.el.getBoundingClientRect()))}i=t.default?pc(t.default()):[];for(let c=0;c<i.length;c++){const d=i[c];d.key!=null&&kn(d,ts(d,a,n,r))}return rt(u,null,i)}}}),x3=Dle;function Fle(e){const t=e.el;t[Lp]&&t[Lp](),t[EO]&&t[EO]()}function Ble(e){S3.set(e,e.el.getBoundingClientRect())}function Ule(e){const t=w3.get(e),r=S3.get(e),n=t.left-r.left,o=t.top-r.top;if(n||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${n}px,${o}px)`,i.transitionDuration="0s",e}}function Vle(e,t,r){const n=e.cloneNode(),o=e[xa];o&&o.forEach(a=>{a.split(/\s+/).forEach(u=>u&&n.classList.remove(u))}),r.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:s}=h3(n);return i.removeChild(n),s}const si=e=>{const t=e.props["onUpdate:modelValue"]||!1;return qr(t)?r=>fle(t,r):t};function Hle(e){e.target.composing=!0}function wO(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Gr=Symbol("_assign"),_u={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[Gr]=si(o);const i=n||o.props&&o.props.type==="number";ro(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;r&&(a=a.trim()),i&&(a=Fb(a)),e[Gr](a)}),r&&ro(e,"change",()=>{e.value=e.value.trim()}),t||(ro(e,"compositionstart",Hle),ro(e,"compositionend",wO),ro(e,"change",wO))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:o,number:i}},s){if(e[Gr]=si(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Fb(e.value):e.value,u=t??"";a!==u&&(document.activeElement===e&&e.type!=="range"&&(n&&t===r||o&&e.value.trim()===u)||(e.value=u))}},fm={deep:!0,created(e,t,r){e[Gr]=si(r),ro(e,"change",()=>{const n=e._modelValue,o=Ta(e),i=e.checked,s=e[Gr];if(qr(n)){const a=pm(n,o),u=a!==-1;if(i&&!u)s(n.concat(o));else if(!i&&u){const c=[...n];c.splice(a,1),s(c)}}else if(vc(n)){const a=new Set(n);i?a.add(o):a.delete(o),s(a)}else s(T3(e,i))})},mounted:SO,beforeUpdate(e,t,r){e[Gr]=si(r),SO(e,t,r)}};function SO(e,{value:t,oldValue:r},n){e._modelValue=t;let o;if(qr(t))o=pm(t,n.props.value)>-1;else if(vc(t))o=t.has(n.props.value);else{if(t===r)return;o=ii(t,T3(e,!0))}e.checked!==o&&(e.checked=o)}const hm={created(e,{value:t},r){e.checked=ii(t,r.props.value),e[Gr]=si(r),ro(e,"change",()=>{e[Gr](Ta(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e[Gr]=si(n),t!==r&&(e.checked=ii(t,n.props.value))}},Kx={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const o=vc(t);ro(e,"change",()=>{const i=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>r?Fb(Ta(s)):Ta(s));e[Gr](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,dc(()=>{e._assigning=!1})}),e[Gr]=si(n)},mounted(e,{value:t}){xO(e,t)},beforeUpdate(e,t,r){e[Gr]=si(r)},updated(e,{value:t}){e._assigning||xO(e,t)}};function xO(e,t){const r=e.multiple,n=qr(t);if(!(r&&!n&&!vc(t))){for(let o=0,i=e.options.length;o<i;o++){const s=e.options[o],a=Ta(s);if(r)if(n){const u=typeof a;u==="string"||u==="number"?s.selected=t.some(c=>String(c)===String(a)):s.selected=pm(t,a)>-1}else s.selected=t.has(a);else if(ii(Ta(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ta(e){return"_value"in e?e._value:e.value}function T3(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const Gx={created(e,t,r){Uc(e,t,r,null,"created")},mounted(e,t,r){Uc(e,t,r,null,"mounted")},beforeUpdate(e,t,r,n){Uc(e,t,r,n,"beforeUpdate")},updated(e,t,r,n){Uc(e,t,r,n,"updated")}};function C3(e,t){switch(e){case"SELECT":return Kx;case"TEXTAREA":return _u;default:switch(t){case"checkbox":return fm;case"radio":return hm;default:return _u}}}function Uc(e,t,r,n,o){const s=C3(e.tagName,r.props&&r.props.type)[o];s&&s(e,t,r,n)}function Jle(){_u.getSSRProps=({value:e})=>({value:e}),hm.getSSRProps=({value:e},t)=>{if(t.props&&ii(t.props.value,e))return{checked:!0}},fm.getSSRProps=({value:e},t)=>{if(qr(e)){if(t.props&&pm(e,t.props.value)>-1)return{checked:!0}}else if(vc(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Gx.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const r=C3(t.type.toUpperCase(),t.props&&t.props.type);if(r.getSSRProps)return r.getSSRProps(e,t)}}const zle=["ctrl","shift","alt","meta"],Kle={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>zle.some(r=>e[`${r}Key`]&&!t.includes(r))},_3=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=(o,...i)=>{for(let s=0;s<t.length;s++){const a=Kle[t[s]];if(a&&a(o,t))return}return e(o,...i)})},Gle={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},O3=(e,t)=>{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=o=>{if(!("key"in o))return;const i=Bo(o.key);if(t.some(s=>s===i||Gle[s]===i))return e(o)})},P3=os({patchProp:jle},vle);let Ul,TO=!1;function A3(){return Ul||(Ul=Ax(P3))}function R3(){return Ul=TO?Ul:Rx(P3),TO=!0,Ul}const Wx=(...e)=>{A3().render(...e)},N3=(...e)=>{R3().hydrate(...e)},Ou=(...e)=>{const t=A3().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=M3(n);if(!o)return;const i=t._component;!s3(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=r(o,!1,I3(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Yx=(...e)=>{const t=R3().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=M3(n);if(o)return r(o,!0,I3(o))},t};function I3(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function M3(e){return Sa(e)?document.querySelector(e):e}let CO=!1;const k3=()=>{CO||(CO=!0,Jle(),Tle())},Wle=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:fx,BaseTransitionPropsValidators:om,Comment:Et,DeprecationTypes:i3,EffectScope:Hh,ErrorCodes:EV,ErrorTypeStrings:ZH,Fragment:qt,KeepAlive:HV,ReactiveEffect:ba,Static:Yo,Suspense:kH,Teleport:IV,Text:co,TrackOpTypes:lV,Transition:p3,TransitionGroup:x3,TriggerOpTypes:uV,VueElement:Ec,assertNumber:vV,callWithAsyncErrorHandling:jr,callWithErrorHandling:fs,camelize:Tr,capitalize:cc,cloneVNode:dn,compatUtils:o3,computed:Dx,createApp:Ou,createBlock:Cu,createCommentVNode:VH,createElementBlock:DH,createElementVNode:cm,createHydrationRenderer:Rx,createPropsRestProxy:pH,createRenderer:Ax,createSSRApp:Yx,createSlots:XV,createStaticVNode:UH,createTextVNode:dm,createVNode:rt,customRef:ax,defineAsyncComponent:VV,defineComponent:im,defineCustomElement:Jx,defineEmits:tH,defineExpose:rH,defineModel:iH,defineOptions:nH,defineProps:eH,defineSSRCustomElement:b3,defineSlots:oH,devtools:e3,effect:VU,effectScope:qU,getCurrentInstance:$r,getCurrentScope:ex,getCurrentWatcher:cV,getTransitionRawChildren:pc,guardReactiveProps:jx,h:fi,handleError:pi,hasInjectionContext:yH,hydrate:N3,hydrateOnIdle:DV,hydrateOnInteraction:UV,hydrateOnMediaQuery:BV,hydrateOnVisible:FV,initCustomFormatter:YH,initDirectivesForSSR:k3,inject:Ys,isMemoSame:Fx,isProxy:lc,isReactive:Rn,isReadonly:Mn,isRef:Ot,isRuntimeOnly:KH,isShallow:wr,isVNode:Xr,markRaw:ix,mergeDefaults:cH,mergeModels:dH,mergeProps:Lx,nextTick:dc,normalizeClass:za,normalizeProps:mV,normalizeStyle:Ja,onActivated:mx,onBeforeMount:gx,onBeforeUnmount:mc,onBeforeUpdate:am,onDeactivated:yx,onErrorCaptured:wx,onMounted:Ka,onRenderTracked:Ex,onRenderTriggered:vx,onScopeDispose:LU,onServerPrefetch:bx,onUnmounted:yc,onUpdated:hc,onWatcherCleanup:lx,openBlock:Ea,popScopeId:_V,provide:_x,proxyRefs:Yh,pushScopeId:CV,queuePostFlushCb:va,reactive:oi,readonly:Gh,ref:Js,registerRuntimeCompiler:$x,render:Wx,renderList:YV,renderSlot:QV,resolveComponent:zV,resolveDirective:WV,resolveDynamicComponent:GV,resolveFilter:n3,resolveTransitionHooks:ts,setBlockTracking:Ip,setDevtoolsHook:t3,setTransitionHooks:kn,shallowReactive:ox,shallowReadonly:tV,shallowRef:sx,ssrContextKey:Ix,ssrUtils:r3,stop:HU,toDisplayString:dx,toHandlerKey:Gs,toHandlers:ZV,toRaw:$e,toRef:sV,toRefs:iV,toValue:oV,transformVNodeArgs:FH,triggerRef:nV,unref:uc,useAttrs:lH,useCssModule:E3,useCssVars:g3,useHost:zx,useId:LV,useModel:NH,useSSRContext:Mx,useShadowRoot:v3,useSlots:aH,useTemplateRef:$V,useTransitionState:nm,vModelCheckbox:fm,vModelDynamic:Gx,vModelRadio:hm,vModelSelect:Kx,vModelText:_u,vShow:Hx,version:Bx,warn:QH,watch:Bi,watchEffect:PH,watchPostEffect:AH,watchSyncEffect:kx,withAsyncContext:fH,withCtx:rm,withDefaults:sH,withDirectives:PV,withKeys:O3,withMemo:XH,withModifiers:_3,withScopeId:OV},Symbol.toStringTag,{value:"Module"}));/**
|
|
1075
|
+
* @vue/shared v3.5.15
|
|
1076
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1077
|
+
* @license MIT
|
|
1078
|
+
**//*! #__NO_SIDE_EFFECTS__ */function $n(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const Yle={},Vl=()=>{},Vc=()=>!1,j3=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),po=Object.assign,no=Array.isArray,zt=e=>typeof e=="string",Xx=e=>typeof e=="symbol",Xle=e=>e!==null&&typeof e=="object",_O=$n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qle=$n("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Qx=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Zle=/-(\w)/g,Xo=Qx(e=>e.replace(Zle,(t,r)=>r?r.toUpperCase():"")),Zx=Qx(e=>e.charAt(0).toUpperCase()+e.slice(1)),eue=Qx(e=>e?`on${Zx(e)}`:"");function tue(e,t){return e+JSON.stringify(t,(r,n)=>typeof n=="function"?n.toString():n)}const rue=/;(?![^(]*\))/g,nue=/:([^]+)/,oue=/\/\*[^]*?\*\//g;function iue(e){const t={};return e.replace(oue,"").split(rue).forEach(r=>{if(r){const n=r.split(nue);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}const sue="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",aue="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",lue="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",uue="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",cue=$n(sue),due=$n(aue),pue=$n(lue),fue=$n(uue);/**
|
|
1079
|
+
* @vue/compiler-core v3.5.15
|
|
1080
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1081
|
+
* @license MIT
|
|
1082
|
+
**/const Pu=Symbol(""),Hl=Symbol(""),eT=Symbol(""),$p=Symbol(""),q3=Symbol(""),is=Symbol(""),L3=Symbol(""),$3=Symbol(""),tT=Symbol(""),rT=Symbol(""),wc=Symbol(""),nT=Symbol(""),D3=Symbol(""),oT=Symbol(""),iT=Symbol(""),sT=Symbol(""),aT=Symbol(""),lT=Symbol(""),uT=Symbol(""),F3=Symbol(""),B3=Symbol(""),mm=Symbol(""),Dp=Symbol(""),cT=Symbol(""),dT=Symbol(""),Au=Symbol(""),Sc=Symbol(""),pT=Symbol(""),Jb=Symbol(""),hue=Symbol(""),zb=Symbol(""),Fp=Symbol(""),mue=Symbol(""),yue=Symbol(""),fT=Symbol(""),gue=Symbol(""),bue=Symbol(""),hT=Symbol(""),U3=Symbol(""),Ca={[Pu]:"Fragment",[Hl]:"Teleport",[eT]:"Suspense",[$p]:"KeepAlive",[q3]:"BaseTransition",[is]:"openBlock",[L3]:"createBlock",[$3]:"createElementBlock",[tT]:"createVNode",[rT]:"createElementVNode",[wc]:"createCommentVNode",[nT]:"createTextVNode",[D3]:"createStaticVNode",[oT]:"resolveComponent",[iT]:"resolveDynamicComponent",[sT]:"resolveDirective",[aT]:"resolveFilter",[lT]:"withDirectives",[uT]:"renderList",[F3]:"renderSlot",[B3]:"createSlots",[mm]:"toDisplayString",[Dp]:"mergeProps",[cT]:"normalizeClass",[dT]:"normalizeStyle",[Au]:"normalizeProps",[Sc]:"guardReactiveProps",[pT]:"toHandlers",[Jb]:"camelize",[hue]:"capitalize",[zb]:"toHandlerKey",[Fp]:"setBlockTracking",[mue]:"pushScopeId",[yue]:"popScopeId",[fT]:"withCtx",[gue]:"unref",[bue]:"isRef",[hT]:"withMemo",[U3]:"isMemoSame"};function vue(e){Object.getOwnPropertySymbols(e).forEach(t=>{Ca[t]=e[t]})}const Dr={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Eue(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Dr}}function Ru(e,t,r,n,o,i,s,a=!1,u=!1,c=!1,d=Dr){return e&&(a?(e.helper(is),e.helper(Pa(e.inSSR,c))):e.helper(Oa(e.inSSR,c)),s&&e.helper(lT)),{type:13,tag:t,props:r,children:n,patchFlag:o,dynamicProps:i,directives:s,isBlock:a,disableTracking:u,isComponent:c,loc:d}}function Ui(e,t=Dr){return{type:17,loc:t,elements:e}}function zr(e,t=Dr){return{type:15,loc:t,properties:e}}function wt(e,t){return{type:16,loc:Dr,key:zt(e)?Pe(e,!0):e,value:t}}function Pe(e,t=!1,r=Dr,n=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:n}}function cn(e,t=Dr){return{type:8,loc:t,children:e}}function Lt(e,t=[],r=Dr){return{type:14,loc:r,callee:e,arguments:t}}function _a(e,t=void 0,r=!1,n=!1,o=Dr){return{type:18,params:e,returns:t,newline:r,isSlot:n,loc:o}}function Kb(e,t,r,n=!0){return{type:19,test:e,consequent:t,alternate:r,newline:n,loc:Dr}}function wue(e,t,r=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:r,inVOnce:n,needArraySpread:!1,loc:Dr}}function Sue(e){return{type:21,body:e,loc:Dr}}function Oa(e,t){return e||t?tT:rT}function Pa(e,t){return e||t?L3:$3}function mT(e,{helper:t,removeHelper:r,inSSR:n}){e.isBlock||(e.isBlock=!0,r(Oa(n,e.isComponent)),t(is),t(Pa(n,e.isComponent)))}const OO=new Uint8Array([123,123]),PO=new Uint8Array([125,125]);function AO(e){return e>=97&&e<=122||e>=65&&e<=90}function Rr(e){return e===32||e===10||e===9||e===12||e===13}function Oo(e){return e===47||e===62||Rr(e)}function Bp(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}const or={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class xue{constructor(t,r){this.stack=t,this.cbs=r,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=OO,this.delimiterClose=PO,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=OO,this.delimiterClose=PO}getPos(t){let r=1,n=t+1;for(let o=this.newlines.length-1;o>=0;o--){const i=this.newlines[o];if(t>i){r=o+2,n=t-i;break}}return{column:n,line:r,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const r=this.index+1-this.delimiterOpen.length;r>this.sectionStart&&this.cbs.ontext(this.sectionStart,r),this.state=3,this.sectionStart=r}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?Oo(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Rr(t)){const r=this.index-this.currentSequence.length;if(this.sectionStart<r){const n=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=n}this.sectionStart=r+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===or.TitleEnd||this.currentSequence===or.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===or.Cdata[this.sequenceIndex]?++this.sequenceIndex===or.Cdata.length&&(this.state=28,this.currentSequence=or.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);if(r===10&&this.newlines.push(this.index),r===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===or.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,r){this.enterRCDATA(t,r),this.state=31}enterRCDATA(t,r){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=r}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):AO(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Oo(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Oo(t)){const r=this.buffer.slice(this.sectionStart,this.index);r!=="template"&&this.enterRCDATA(Bp("</"+r),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){Rr(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=AO(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||Rr(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Rr(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Rr(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||Oo(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||Oo(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Oo(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Oo(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||Oo(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):Rr(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):Rr(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,r){(t===r||this.fastForwardTo(r))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){Rr(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=or.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===or.ScriptEnd[3]?this.startSpecial(or.ScriptEnd,4):t===or.StyleEnd[3]?this.startSpecial(or.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===or.TitleEnd[3]?this.startSpecial(or.TitleEnd,4):t===or.TextareaEnd[3]?this.startSpecial(or.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);switch(r===10&&this.newlines.push(this.index),this.state){case 1:{this.stateText(r);break}case 2:{this.stateInterpolationOpen(r);break}case 3:{this.stateInterpolation(r);break}case 4:{this.stateInterpolationClose(r);break}case 31:{this.stateSpecialStartSequence(r);break}case 32:{this.stateInRCDATA(r);break}case 26:{this.stateCDATASequence(r);break}case 19:{this.stateInAttrValueDoubleQuotes(r);break}case 12:{this.stateInAttrName(r);break}case 13:{this.stateInDirName(r);break}case 14:{this.stateInDirArg(r);break}case 15:{this.stateInDynamicDirArg(r);break}case 16:{this.stateInDirModifier(r);break}case 28:{this.stateInCommentLike(r);break}case 27:{this.stateInSpecialComment(r);break}case 11:{this.stateBeforeAttrName(r);break}case 6:{this.stateInTagName(r);break}case 34:{this.stateInSFCRootTagName(r);break}case 9:{this.stateInClosingTagName(r);break}case 5:{this.stateBeforeTagName(r);break}case 17:{this.stateAfterAttrName(r);break}case 20:{this.stateInAttrValueSingleQuotes(r);break}case 18:{this.stateBeforeAttrValue(r);break}case 8:{this.stateBeforeClosingTagName(r);break}case 10:{this.stateAfterClosingTagName(r);break}case 29:{this.stateBeforeSpecialS(r);break}case 30:{this.stateBeforeSpecialT(r);break}case 21:{this.stateInAttrValueNoQuotes(r);break}case 7:{this.stateInSelfClosingTag(r);break}case 23:{this.stateInDeclaration(r);break}case 22:{this.stateBeforeDeclaration(r);break}case 25:{this.stateBeforeComment(r);break}case 24:{this.stateInProcessingInstruction(r);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===or.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){}}function RO(e,{compatConfig:t}){const r=t&&t[e];return e==="MODE"?r||3:r}function Vi(e,t){const r=RO("MODE",t),n=RO(e,t);return r===3?n===!0:n!==!1}function Nu(e,t,r,...n){return Vi(e,t)}function yT(e){throw e}function V3(e){}function ut(e,t,r,n){const o=`https://vuejs.org/error-reference/#compiler-${e}`,i=new SyntaxError(String(o));return i.code=e,i.loc=t,i}const Er=e=>e.type===4&&e.isStatic;function H3(e){switch(e){case"Teleport":case"teleport":return Hl;case"Suspense":case"suspense":return eT;case"KeepAlive":case"keep-alive":return $p;case"BaseTransition":case"base-transition":return q3}}const Tue=/^\d|[^\$\w\xA0-\uFFFF]/,gT=e=>!Tue.test(e),Cue=/[A-Za-z_$\xA0-\uFFFF]/,_ue=/[\.\?\w$\xA0-\uFFFF]/,Oue=/\s+[.[]\s*|\s*[.[]\s+/g,J3=e=>e.type===4?e.content:e.loc.source,Pue=e=>{const t=J3(e).trim().replace(Oue,a=>a.trim());let r=0,n=[],o=0,i=0,s=null;for(let a=0;a<t.length;a++){const u=t.charAt(a);switch(r){case 0:if(u==="[")n.push(r),r=1,o++;else if(u==="(")n.push(r),r=2,i++;else if(!(a===0?Cue:_ue).test(u))return!1;break;case 1:u==="'"||u==='"'||u==="`"?(n.push(r),r=3,s=u):u==="["?o++:u==="]"&&(--o||(r=n.pop()));break;case 2:if(u==="'"||u==='"'||u==="`")n.push(r),r=3,s=u;else if(u==="(")i++;else if(u===")"){if(a===t.length-1)return!1;--i||(r=n.pop())}break;case 3:u===s&&(r=n.pop(),s=null);break}}return!o&&!i},z3=Pue,Aue=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Rue=e=>Aue.test(J3(e)),Nue=Rue;function Jr(e,t,r=!1){for(let n=0;n<e.props.length;n++){const o=e.props[n];if(o.type===7&&(r||o.exp)&&(zt(t)?o.name===t:t.test(o.name)))return o}}function ym(e,t,r=!1,n=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(i.type===6){if(r)continue;if(i.name===t&&(i.value||n))return i}else if(i.name==="bind"&&(i.exp||n)&&Ii(i.arg,t))return i}}function Ii(e,t){return!!(e&&Er(e)&&e.content===t)}function Iue(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function ry(e){return e.type===5||e.type===2}function Mue(e){return e.type===7&&e.name==="slot"}function Up(e){return e.type===1&&e.tagType===3}function Vp(e){return e.type===1&&e.tagType===2}const kue=new Set([Au,Sc]);function K3(e,t=[]){if(e&&!zt(e)&&e.type===14){const r=e.callee;if(!zt(r)&&kue.has(r))return K3(e.arguments[0],t.concat(e))}return[e,t]}function Hp(e,t,r){let n,o=e.type===13?e.props:e.arguments[2],i=[],s;if(o&&!zt(o)&&o.type===14){const a=K3(o);o=a[0],i=a[1],s=i[i.length-1]}if(o==null||zt(o))n=zr([t]);else if(o.type===14){const a=o.arguments[0];!zt(a)&&a.type===15?NO(t,a)||a.properties.unshift(t):o.callee===pT?n=Lt(r.helper(Dp),[zr([t]),o]):o.arguments.unshift(zr([t])),!n&&(n=o)}else o.type===15?(NO(t,o)||o.properties.unshift(t),n=o):(n=Lt(r.helper(Dp),[zr([t]),o]),s&&s.callee===Sc&&(s=i[i.length-2]));e.type===13?s?s.arguments[0]=n:e.props=n:s?s.arguments[0]=n:e.arguments[2]=n}function NO(e,t){let r=!1;if(e.key.type===4){const n=e.key.content;r=t.properties.some(o=>o.key.type===4&&o.key.content===n)}return r}function Iu(e,t){return`_${t}_${e.replace(/[^\w]/g,(r,n)=>r==="-"?"_":e.charCodeAt(n).toString())}`}function jue(e){return e.type===14&&e.callee===hT?e.arguments[1].returns:e}const que=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,G3={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Vc,isPreTag:Vc,isIgnoreNewlineTag:Vc,isCustomElement:Vc,onError:yT,onWarn:V3,comments:!1,prefixIdentifiers:!1};let ze=G3,Mu=null,fo="",sr=null,Fe=null,yr="",Yn=-1,Ti=-1,bT=0,Fo=!1,Gb=null;const lt=[],vt=new xue(lt,{onerr:Jn,ontext(e,t){Hc(Gt(e,t),e,t)},ontextentity(e,t,r){Hc(e,t,r)},oninterpolation(e,t){if(Fo)return Hc(Gt(e,t),e,t);let r=e+vt.delimiterOpen.length,n=t-vt.delimiterClose.length;for(;Rr(fo.charCodeAt(r));)r++;for(;Rr(fo.charCodeAt(n-1));)n--;let o=Gt(r,n);o.includes("&")&&(o=ze.decodeEntities(o,!1)),Wb({type:5,content:bd(o,!1,Ct(r,n)),loc:Ct(e,t)})},onopentagname(e,t){const r=Gt(e,t);sr={type:1,tag:r,ns:ze.getNamespace(r,lt[0],ze.ns),tagType:0,props:[],children:[],loc:Ct(e-1,t),codegenNode:void 0}},onopentagend(e){MO(e)},onclosetag(e,t){const r=Gt(e,t);if(!ze.isVoidTag(r)){let n=!1;for(let o=0;o<lt.length;o++)if(lt[o].tag.toLowerCase()===r.toLowerCase()){n=!0,o>0&&Jn(24,lt[0].loc.start.offset);for(let s=0;s<=o;s++){const a=lt.shift();gd(a,t,s<o)}break}n||Jn(23,W3(e,60))}},onselfclosingtag(e){const t=sr.tag;sr.isSelfClosing=!0,MO(e),lt[0]&<[0].tag===t&&gd(lt.shift(),e)},onattribname(e,t){Fe={type:6,name:Gt(e,t),nameLoc:Ct(e,t),value:void 0,loc:Ct(e)}},ondirname(e,t){const r=Gt(e,t),n=r==="."||r===":"?"bind":r==="@"?"on":r==="#"?"slot":r.slice(2);if(!Fo&&n===""&&Jn(26,e),Fo||n==="")Fe={type:6,name:r,nameLoc:Ct(e,t),value:void 0,loc:Ct(e)};else if(Fe={type:7,name:n,rawName:r,exp:void 0,arg:void 0,modifiers:r==="."?[Pe("prop")]:[],loc:Ct(e)},n==="pre"){Fo=vt.inVPre=!0,Gb=sr;const o=sr.props;for(let i=0;i<o.length;i++)o[i].type===7&&(o[i]=Kue(o[i]))}},ondirarg(e,t){if(e===t)return;const r=Gt(e,t);if(Fo)Fe.name+=r,Mi(Fe.nameLoc,t);else{const n=r[0]!=="[";Fe.arg=bd(n?r:r.slice(1,-1),n,Ct(e,t),n?3:0)}},ondirmodifier(e,t){const r=Gt(e,t);if(Fo)Fe.name+="."+r,Mi(Fe.nameLoc,t);else if(Fe.name==="slot"){const n=Fe.arg;n&&(n.content+="."+r,Mi(n.loc,t))}else{const n=Pe(r,!0,Ct(e,t));Fe.modifiers.push(n)}},onattribdata(e,t){yr+=Gt(e,t),Yn<0&&(Yn=e),Ti=t},onattribentity(e,t,r){yr+=e,Yn<0&&(Yn=t),Ti=r},onattribnameend(e){const t=Fe.loc.start.offset,r=Gt(t,e);Fe.type===7&&(Fe.rawName=r),sr.props.some(n=>(n.type===7?n.rawName:n.name)===r)&&Jn(2,t)},onattribend(e,t){if(sr&&Fe){if(Mi(Fe.loc,t),e!==0)if(yr.includes("&")&&(yr=ze.decodeEntities(yr,!0)),Fe.type===6)Fe.name==="class"&&(yr=X3(yr).trim()),e===1&&!yr&&Jn(13,t),Fe.value={type:2,content:yr,loc:e===1?Ct(Yn,Ti):Ct(Yn-1,Ti+1)},vt.inSFCRoot&&sr.tag==="template"&&Fe.name==="lang"&&yr&&yr!=="html"&&vt.enterRCDATA(Bp("</template"),0);else{let r=0;Fe.exp=bd(yr,!1,Ct(Yn,Ti),0,r),Fe.name==="for"&&(Fe.forParseResult=$ue(Fe.exp));let n=-1;Fe.name==="bind"&&(n=Fe.modifiers.findIndex(o=>o.content==="sync"))>-1&&Nu("COMPILER_V_BIND_SYNC",ze,Fe.loc,Fe.arg.loc.source)&&(Fe.name="model",Fe.modifiers.splice(n,1))}(Fe.type!==7||Fe.name!=="pre")&&sr.props.push(Fe)}yr="",Yn=Ti=-1},oncomment(e,t){ze.comments&&Wb({type:3,content:Gt(e,t),loc:Ct(e-4,t+3)})},onend(){const e=fo.length;for(let t=0;t<lt.length;t++)gd(lt[t],e-1),Jn(24,lt[t].loc.start.offset)},oncdata(e,t){lt[0].ns!==0?Hc(Gt(e,t),e,t):Jn(1,e-9)},onprocessinginstruction(e){(lt[0]?lt[0].ns:ze.ns)===0&&Jn(21,e-1)}}),IO=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Lue=/^\(|\)$/g;function $ue(e){const t=e.loc,r=e.content,n=r.match(que);if(!n)return;const[,o,i]=n,s=(p,h,f=!1)=>{const m=t.start.offset+h,y=m+p.length;return bd(p,!1,Ct(m,y),0,f?1:0)},a={source:s(i.trim(),r.indexOf(i,o.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let u=o.trim().replace(Lue,"").trim();const c=o.indexOf(u),d=u.match(IO);if(d){u=u.replace(IO,"").trim();const p=d[1].trim();let h;if(p&&(h=r.indexOf(p,c+u.length),a.key=s(p,h,!0)),d[2]){const f=d[2].trim();f&&(a.index=s(f,r.indexOf(f,a.key?h+p.length:c+u.length),!0))}}return u&&(a.value=s(u,c,!0)),a}function Gt(e,t){return fo.slice(e,t)}function MO(e){vt.inSFCRoot&&(sr.innerLoc=Ct(e+1,e+1)),Wb(sr);const{tag:t,ns:r}=sr;r===0&&ze.isPreTag(t)&&bT++,ze.isVoidTag(t)?gd(sr,e):(lt.unshift(sr),(r===1||r===2)&&(vt.inXML=!0)),sr=null}function Hc(e,t,r){{const i=lt[0]&<[0].tag;i!=="script"&&i!=="style"&&e.includes("&")&&(e=ze.decodeEntities(e,!1))}const n=lt[0]||Mu,o=n.children[n.children.length-1];o&&o.type===2?(o.content+=e,Mi(o.loc,r)):n.children.push({type:2,content:e,loc:Ct(t,r)})}function gd(e,t,r=!1){r?Mi(e.loc,W3(t,60)):Mi(e.loc,Due(t,62)+1),vt.inSFCRoot&&(e.children.length?e.innerLoc.end=po({},e.children[e.children.length-1].loc.end):e.innerLoc.end=po({},e.innerLoc.start),e.innerLoc.source=Gt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:n,ns:o,children:i}=e;if(Fo||(n==="slot"?e.tagType=2:kO(e)?e.tagType=3:Bue(e)&&(e.tagType=1)),vt.inRCDATA||(e.children=Y3(i)),o===0&&ze.isIgnoreNewlineTag(n)){const s=i[0];s&&s.type===2&&(s.content=s.content.replace(/^\r?\n/,""))}o===0&&ze.isPreTag(n)&&bT--,Gb===e&&(Fo=vt.inVPre=!1,Gb=null),vt.inXML&&(lt[0]?lt[0].ns:ze.ns)===0&&(vt.inXML=!1);{const s=e.props;if(!vt.inSFCRoot&&Vi("COMPILER_NATIVE_TEMPLATE",ze)&&e.tag==="template"&&!kO(e)){const u=lt[0]||Mu,c=u.children.indexOf(e);u.children.splice(c,1,...e.children)}const a=s.find(u=>u.type===6&&u.name==="inline-template");a&&Nu("COMPILER_INLINE_TEMPLATE",ze,a.loc)&&e.children.length&&(a.value={type:2,content:Gt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:a.loc})}}function Due(e,t){let r=e;for(;fo.charCodeAt(r)!==t&&r<fo.length-1;)r++;return r}function W3(e,t){let r=e;for(;fo.charCodeAt(r)!==t&&r>=0;)r--;return r}const Fue=new Set(["if","else","else-if","for","slot"]);function kO({tag:e,props:t}){if(e==="template"){for(let r=0;r<t.length;r++)if(t[r].type===7&&Fue.has(t[r].name))return!0}return!1}function Bue({tag:e,props:t}){if(ze.isCustomElement(e))return!1;if(e==="component"||Uue(e.charCodeAt(0))||H3(e)||ze.isBuiltInComponent&&ze.isBuiltInComponent(e)||ze.isNativeTag&&!ze.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const n=t[r];if(n.type===6){if(n.name==="is"&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(Nu("COMPILER_IS_ON_ELEMENT",ze,n.loc))return!0}}else if(n.name==="bind"&&Ii(n.arg,"is")&&Nu("COMPILER_IS_ON_ELEMENT",ze,n.loc))return!0}return!1}function Uue(e){return e>64&&e<91}const Vue=/\r\n/g;function Y3(e,t){const r=ze.whitespace!=="preserve";let n=!1;for(let o=0;o<e.length;o++){const i=e[o];if(i.type===2)if(bT)i.content=i.content.replace(Vue,`
|
|
1083
|
+
`);else if(Hue(i.content)){const s=e[o-1]&&e[o-1].type,a=e[o+1]&&e[o+1].type;!s||!a||r&&(s===3&&(a===3||a===1)||s===1&&(a===3||a===1&&Jue(i.content)))?(n=!0,e[o]=null):i.content=" "}else r&&(i.content=X3(i.content))}return n?e.filter(Boolean):e}function Hue(e){for(let t=0;t<e.length;t++)if(!Rr(e.charCodeAt(t)))return!1;return!0}function Jue(e){for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r===10||r===13)return!0}return!1}function X3(e){let t="",r=!1;for(let n=0;n<e.length;n++)Rr(e.charCodeAt(n))?r||(t+=" ",r=!0):(t+=e[n],r=!1);return t}function Wb(e){(lt[0]||Mu).children.push(e)}function Ct(e,t){return{start:vt.getPos(e),end:t==null?t:vt.getPos(t),source:t==null?t:Gt(e,t)}}function zue(e){return Ct(e.start.offset,e.end.offset)}function Mi(e,t){e.end=vt.getPos(t),e.source=Gt(e.start.offset,t)}function Kue(e){const t={type:6,name:e.rawName,nameLoc:Ct(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const r=e.exp.loc;r.end.offset<e.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),t.value={type:2,content:e.exp.content,loc:r}}return t}function bd(e,t=!1,r,n=0,o=0){return Pe(e,t,r,n)}function Jn(e,t,r){ze.onError(ut(e,Ct(t,t)))}function Gue(){vt.reset(),sr=null,Fe=null,yr="",Yn=-1,Ti=-1,lt.length=0}function Wue(e,t){if(Gue(),fo=e,ze=po({},G3),t){let o;for(o in t)t[o]!=null&&(ze[o]=t[o])}vt.mode=ze.parseMode==="html"?1:ze.parseMode==="sfc"?2:0,vt.inXML=ze.ns===1||ze.ns===2;const r=t&&t.delimiters;r&&(vt.delimiterOpen=Bp(r[0]),vt.delimiterClose=Bp(r[1]));const n=Mu=Eue([],e);return vt.parse(fo),n.loc=Ct(0,e.length),n.children=Y3(n.children),Mu=null,n}function Yue(e,t){vd(e,void 0,t,Q3(e,e.children[0]))}function Q3(e,t){const{children:r}=e;return r.length===1&&t.type===1&&!Vp(t)}function vd(e,t,r,n=!1,o=!1){const{children:i}=e,s=[];for(let p=0;p<i.length;p++){const h=i[p];if(h.type===1&&h.tagType===0){const f=n?0:Ir(h,r);if(f>0){if(f>=2){h.codegenNode.patchFlag=-1,s.push(h);continue}}else{const m=h.codegenNode;if(m.type===13){const y=m.patchFlag;if((y===void 0||y===512||y===1)&&e5(h,r)>=2){const g=t5(h);g&&(m.props=r.hoist(g))}m.dynamicProps&&(m.dynamicProps=r.hoist(m.dynamicProps))}}}else if(h.type===12&&(n?0:Ir(h,r))>=2){s.push(h);continue}if(h.type===1){const f=h.tagType===1;f&&r.scopes.vSlot++,vd(h,e,r,!1,o),f&&r.scopes.vSlot--}else if(h.type===11)vd(h,e,r,h.children.length===1,!0);else if(h.type===9)for(let f=0;f<h.branches.length;f++)vd(h.branches[f],e,r,h.branches[f].children.length===1,o)}let a=!1;const u=[];if(s.length===i.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&no(e.codegenNode.children))e.codegenNode.children=c(Ui(e.codegenNode.children)),a=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!no(e.codegenNode.children)&&e.codegenNode.children.type===15){const p=d(e.codegenNode,"default");p&&(u.push(r.cached.length),p.returns=c(Ui(p.returns)),a=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!no(t.codegenNode.children)&&t.codegenNode.children.type===15){const p=Jr(e,"slot",!0),h=p&&p.arg&&d(t.codegenNode,p.arg);h&&(u.push(r.cached.length),h.returns=c(Ui(h.returns)),a=!0)}}if(!a)for(const p of s)u.push(r.cached.length),p.codegenNode=r.cache(p.codegenNode);u.length&&e.type===1&&e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!no(e.codegenNode.children)&&e.codegenNode.children.type===15&&e.codegenNode.children.properties.push(wt("__",Pe(JSON.stringify(u),!1)));function c(p){const h=r.cache(p);return o&&r.hmr&&(h.needArraySpread=!0),h}function d(p,h){if(p.children&&!no(p.children)&&p.children.type===15){const f=p.children.properties.find(m=>m.key===h||m.key.content===h);return f&&f.value}}s.length&&r.transformHoist&&r.transformHoist(i,r,e)}function Ir(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const n=r.get(e);if(n!==void 0)return n;const o=e.codegenNode;if(o.type!==13||o.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(o.patchFlag===void 0){let s=3;const a=e5(e,t);if(a===0)return r.set(e,0),0;a<s&&(s=a);for(let u=0;u<e.children.length;u++){const c=Ir(e.children[u],t);if(c===0)return r.set(e,0),0;c<s&&(s=c)}if(s>1)for(let u=0;u<e.props.length;u++){const c=e.props[u];if(c.type===7&&c.name==="bind"&&c.exp){const d=Ir(c.exp,t);if(d===0)return r.set(e,0),0;d<s&&(s=d)}}if(o.isBlock){for(let u=0;u<e.props.length;u++)if(e.props[u].type===7)return r.set(e,0),0;t.removeHelper(is),t.removeHelper(Pa(t.inSSR,o.isComponent)),o.isBlock=!1,t.helper(Oa(t.inSSR,o.isComponent))}return r.set(e,s),s}else return r.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Ir(e.content,t);case 4:return e.constType;case 8:let i=3;for(let s=0;s<e.children.length;s++){const a=e.children[s];if(zt(a)||Xx(a))continue;const u=Ir(a,t);if(u===0)return 0;u<i&&(i=u)}return i;case 20:return 2;default:return 0}}const Xue=new Set([cT,dT,Au,Sc]);function Z3(e,t){if(e.type===14&&!zt(e.callee)&&Xue.has(e.callee)){const r=e.arguments[0];if(r.type===4)return Ir(r,t);if(r.type===14)return Z3(r,t)}return 0}function e5(e,t){let r=3;const n=t5(e);if(n&&n.type===15){const{properties:o}=n;for(let i=0;i<o.length;i++){const{key:s,value:a}=o[i],u=Ir(s,t);if(u===0)return u;u<r&&(r=u);let c;if(a.type===4?c=Ir(a,t):a.type===14?c=Z3(a,t):c=0,c===0)return c;c<r&&(r=c)}}return r}function t5(e){const t=e.codegenNode;if(t.type===13)return t.props}function Que(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:n=!1,hmr:o=!1,cacheHandlers:i=!1,nodeTransforms:s=[],directiveTransforms:a={},transformHoist:u=null,isBuiltInComponent:c=Vl,isCustomElement:d=Vl,expressionPlugins:p=[],scopeId:h=null,slotted:f=!0,ssr:m=!1,inSSR:y=!1,ssrCssVars:g="",bindingMetadata:b=Yle,inline:v=!1,isTS:S=!1,onError:T=yT,onWarn:O=V3,compatConfig:C}){const E=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),w={filename:t,selfName:E&&Zx(Xo(E[1])),prefixIdentifiers:r,hoistStatic:n,hmr:o,cacheHandlers:i,nodeTransforms:s,directiveTransforms:a,transformHoist:u,isBuiltInComponent:c,isCustomElement:d,expressionPlugins:p,scopeId:h,slotted:f,ssr:m,inSSR:y,ssrCssVars:g,bindingMetadata:b,inline:v,isTS:S,onError:T,onWarn:O,compatConfig:C,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(_){const R=w.helpers.get(_)||0;return w.helpers.set(_,R+1),_},removeHelper(_){const R=w.helpers.get(_);if(R){const N=R-1;N?w.helpers.set(_,N):w.helpers.delete(_)}},helperString(_){return`_${Ca[w.helper(_)]}`},replaceNode(_){w.parent.children[w.childIndex]=w.currentNode=_},removeNode(_){const R=w.parent.children,N=_?R.indexOf(_):w.currentNode?w.childIndex:-1;!_||_===w.currentNode?(w.currentNode=null,w.onNodeRemoved()):w.childIndex>N&&(w.childIndex--,w.onNodeRemoved()),w.parent.children.splice(N,1)},onNodeRemoved:Vl,addIdentifiers(_){},removeIdentifiers(_){},hoist(_){zt(_)&&(_=Pe(_)),w.hoists.push(_);const R=Pe(`_hoisted_${w.hoists.length}`,!1,_.loc,2);return R.hoisted=_,R},cache(_,R=!1,N=!1){const j=wue(w.cached.length,_,R,N);return w.cached.push(j),j}};return w.filters=new Set,w}function Zue(e,t){const r=Que(e,t);gm(e,r),t.hoistStatic&&Yue(e,r),t.ssr||ece(e,r),e.helpers=new Set([...r.helpers.keys()]),e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached,e.transformed=!0,e.filters=[...r.filters]}function ece(e,t){const{helper:r}=t,{children:n}=e;if(n.length===1){const o=n[0];if(Q3(e,o)&&o.codegenNode){const i=o.codegenNode;i.type===13&&mT(i,t),e.codegenNode=i}else e.codegenNode=o}else if(n.length>1){let o=64;e.codegenNode=Ru(t,r(Pu),void 0,e.children,o,void 0,void 0,!0,void 0,!1)}}function tce(e,t){let r=0;const n=()=>{r--};for(;r<e.children.length;r++){const o=e.children[r];zt(o)||(t.grandParent=t.parent,t.parent=e,t.childIndex=r,t.onNodeRemoved=n,gm(o,t))}}function gm(e,t){t.currentNode=e;const{nodeTransforms:r}=t,n=[];for(let i=0;i<r.length;i++){const s=r[i](e,t);if(s&&(no(s)?n.push(...s):n.push(s)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(wc);break;case 5:t.ssr||t.helper(mm);break;case 9:for(let i=0;i<e.branches.length;i++)gm(e.branches[i],t);break;case 10:case 11:case 1:case 0:tce(e,t);break}t.currentNode=e;let o=n.length;for(;o--;)n[o]()}function r5(e,t){const r=zt(e)?n=>n===e:n=>e.test(n);return(n,o)=>{if(n.type===1){const{props:i}=n;if(n.tagType===3&&i.some(Mue))return;const s=[];for(let a=0;a<i.length;a++){const u=i[a];if(u.type===7&&r(u.name)){i.splice(a,1),a--;const c=t(n,u,o);c&&s.push(c)}}return s}}}const bm="/*@__PURE__*/",n5=e=>`${Ca[e]}: _${Ca[e]}`;function rce(e,{mode:t="function",prefixIdentifiers:r=t==="module",sourceMap:n=!1,filename:o="template.vue.html",scopeId:i=null,optimizeImports:s=!1,runtimeGlobalName:a="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:d=!1,isTS:p=!1,inSSR:h=!1}){const f={mode:t,prefixIdentifiers:r,sourceMap:n,filename:o,scopeId:i,optimizeImports:s,runtimeGlobalName:a,runtimeModuleName:u,ssrRuntimeModuleName:c,ssr:d,isTS:p,inSSR:h,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(y){return`_${Ca[y]}`},push(y,g=-2,b){f.code+=y},indent(){m(++f.indentLevel)},deindent(y=!1){y?--f.indentLevel:m(--f.indentLevel)},newline(){m(f.indentLevel)}};function m(y){f.push(`
|
|
1084
|
+
`+" ".repeat(y),0)}return f}function nce(e,t={}){const r=rce(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:n,push:o,prefixIdentifiers:i,indent:s,deindent:a,newline:u,scopeId:c,ssr:d}=r,p=Array.from(e.helpers),h=p.length>0,f=!i&&n!=="module";oce(e,r);const y=d?"ssrRender":"render",b=(d?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(o(`function ${y}(${b}) {`),s(),f&&(o("with (_ctx) {"),s(),h&&(o(`const { ${p.map(n5).join(", ")} } = _Vue
|
|
1085
|
+
`,-1),u())),e.components.length&&(ny(e.components,"component",r),(e.directives.length||e.temps>0)&&u()),e.directives.length&&(ny(e.directives,"directive",r),e.temps>0&&u()),e.filters&&e.filters.length&&(u(),ny(e.filters,"filter",r),u()),e.temps>0){o("let ");for(let v=0;v<e.temps;v++)o(`${v>0?", ":""}_temp${v}`)}return(e.components.length||e.directives.length||e.temps)&&(o(`
|
|
1086
|
+
`,0),u()),d||o("return "),e.codegenNode?dr(e.codegenNode,r):o("null"),f&&(a(),o("}")),a(),o("}"),{ast:e,code:r.code,preamble:"",map:r.map?r.map.toJSON():void 0}}function oce(e,t){const{ssr:r,prefixIdentifiers:n,push:o,newline:i,runtimeModuleName:s,runtimeGlobalName:a,ssrRuntimeModuleName:u}=t,c=a,d=Array.from(e.helpers);if(d.length>0&&(o(`const _Vue = ${c}
|
|
1087
|
+
`,-1),e.hoists.length)){const p=[tT,rT,wc,nT,D3].filter(h=>d.includes(h)).map(n5).join(", ");o(`const { ${p} } = _Vue
|
|
1088
|
+
`,-1)}ice(e.hoists,t),i(),o("return ")}function ny(e,t,{helper:r,push:n,newline:o,isTS:i}){const s=r(t==="filter"?aT:t==="component"?oT:sT);for(let a=0;a<e.length;a++){let u=e[a];const c=u.endsWith("__self");c&&(u=u.slice(0,-6)),n(`const ${Iu(u,t)} = ${s}(${JSON.stringify(u)}${c?", true":""})${i?"!":""}`),a<e.length-1&&o()}}function ice(e,t){if(!e.length)return;t.pure=!0;const{push:r,newline:n}=t;n();for(let o=0;o<e.length;o++){const i=e[o];i&&(r(`const _hoisted_${o+1} = `),dr(i,t),n())}t.pure=!1}function vT(e,t){const r=e.length>3||!1;t.push("["),r&&t.indent(),xc(e,t,r),r&&t.deindent(),t.push("]")}function xc(e,t,r=!1,n=!0){const{push:o,newline:i}=t;for(let s=0;s<e.length;s++){const a=e[s];zt(a)?o(a,-3):no(a)?vT(a,t):dr(a,t),s<e.length-1&&(r?(n&&o(","),i()):n&&o(", "))}}function dr(e,t){if(zt(e)){t.push(e,-3);return}if(Xx(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:dr(e.codegenNode,t);break;case 2:sce(e,t);break;case 4:o5(e,t);break;case 5:ace(e,t);break;case 12:dr(e.codegenNode,t);break;case 8:i5(e,t);break;case 3:uce(e,t);break;case 13:cce(e,t);break;case 14:pce(e,t);break;case 15:fce(e,t);break;case 17:hce(e,t);break;case 18:mce(e,t);break;case 19:yce(e,t);break;case 20:gce(e,t);break;case 21:xc(e.body,t,!0,!1);break}}function sce(e,t){t.push(JSON.stringify(e.content),-3,e)}function o5(e,t){const{content:r,isStatic:n}=e;t.push(n?JSON.stringify(r):r,-3,e)}function ace(e,t){const{push:r,helper:n,pure:o}=t;o&&r(bm),r(`${n(mm)}(`),dr(e.content,t),r(")")}function i5(e,t){for(let r=0;r<e.children.length;r++){const n=e.children[r];zt(n)?t.push(n,-3):dr(n,t)}}function lce(e,t){const{push:r}=t;if(e.type===8)r("["),i5(e,t),r("]");else if(e.isStatic){const n=gT(e.content)?e.content:JSON.stringify(e.content);r(n,-2,e)}else r(`[${e.content}]`,-3,e)}function uce(e,t){const{push:r,helper:n,pure:o}=t;o&&r(bm),r(`${n(wc)}(${JSON.stringify(e.content)})`,-3,e)}function cce(e,t){const{push:r,helper:n,pure:o}=t,{tag:i,props:s,children:a,patchFlag:u,dynamicProps:c,directives:d,isBlock:p,disableTracking:h,isComponent:f}=e;let m;u&&(m=String(u)),d&&r(n(lT)+"("),p&&r(`(${n(is)}(${h?"true":""}), `),o&&r(bm);const y=p?Pa(t.inSSR,f):Oa(t.inSSR,f);r(n(y)+"(",-2,e),xc(dce([i,s,a,m,c]),t),r(")"),p&&r(")"),d&&(r(", "),dr(d,t),r(")"))}function dce(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(r=>r||"null")}function pce(e,t){const{push:r,helper:n,pure:o}=t,i=zt(e.callee)?e.callee:n(e.callee);o&&r(bm),r(i+"(",-2,e),xc(e.arguments,t),r(")")}function fce(e,t){const{push:r,indent:n,deindent:o,newline:i}=t,{properties:s}=e;if(!s.length){r("{}",-2,e);return}const a=s.length>1||!1;r(a?"{":"{ "),a&&n();for(let u=0;u<s.length;u++){const{key:c,value:d}=s[u];lce(c,t),r(": "),dr(d,t),u<s.length-1&&(r(","),i())}a&&o(),r(a?"}":" }")}function hce(e,t){vT(e.elements,t)}function mce(e,t){const{push:r,indent:n,deindent:o}=t,{params:i,returns:s,body:a,newline:u,isSlot:c}=e;c&&r(`_${Ca[fT]}(`),r("(",-2,e),no(i)?xc(i,t):i&&dr(i,t),r(") => "),(u||a)&&(r("{"),n()),s?(u&&r("return "),no(s)?vT(s,t):dr(s,t)):a&&dr(a,t),(u||a)&&(o(),r("}")),c&&(e.isNonScopedSlot&&r(", undefined, true"),r(")"))}function yce(e,t){const{test:r,consequent:n,alternate:o,newline:i}=e,{push:s,indent:a,deindent:u,newline:c}=t;if(r.type===4){const p=!gT(r.content);p&&s("("),o5(r,t),p&&s(")")}else s("("),dr(r,t),s(")");i&&a(),t.indentLevel++,i||s(" "),s("? "),dr(n,t),t.indentLevel--,i&&c(),i||s(" "),s(": ");const d=o.type===19;d||t.indentLevel++,dr(o,t),d||t.indentLevel--,i&&u(!0)}function gce(e,t){const{push:r,helper:n,indent:o,deindent:i,newline:s}=t,{needPauseTracking:a,needArraySpread:u}=e;u&&r("[...("),r(`_cache[${e.index}] || (`),a&&(o(),r(`${n(Fp)}(-1`),e.inVOnce&&r(", true"),r("),"),s(),r("(")),r(`_cache[${e.index}] = `),dr(e.value,t),a&&(r(`).cacheIndex = ${e.index},`),s(),r(`${n(Fp)}(1),`),s(),r(`_cache[${e.index}]`),i()),r(")"),u&&r(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const bce=r5(/^(if|else|else-if)$/,(e,t,r)=>vce(e,t,r,(n,o,i)=>{const s=r.parent.children;let a=s.indexOf(n),u=0;for(;a-->=0;){const c=s[a];c&&c.type===9&&(u+=c.branches.length)}return()=>{if(i)n.codegenNode=qO(o,u,r);else{const c=Ece(n.codegenNode);c.alternate=qO(o,u+n.branches.length-1,r)}}}));function vce(e,t,r,n){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;r.onError(ut(28,t.loc)),t.exp=Pe("true",!1,o)}if(t.name==="if"){const o=jO(e,t),i={type:9,loc:zue(e.loc),branches:[o]};if(r.replaceNode(i),n)return n(i,o,!0)}else{const o=r.parent.children;let i=o.indexOf(e);for(;i-->=-1;){const s=o[i];if(s&&s.type===3){r.removeNode(s);continue}if(s&&s.type===2&&!s.content.trim().length){r.removeNode(s);continue}if(s&&s.type===9){t.name==="else-if"&&s.branches[s.branches.length-1].condition===void 0&&r.onError(ut(30,e.loc)),r.removeNode();const a=jO(e,t);s.branches.push(a);const u=n&&n(s,a,!1);gm(a,r),u&&u(),r.currentNode=null}else r.onError(ut(30,e.loc));break}}}function jO(e,t){const r=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:r&&!Jr(e,"for")?e.children:[e],userKey:ym(e,"key"),isTemplateIf:r}}function qO(e,t,r){return e.condition?Kb(e.condition,LO(e,t,r),Lt(r.helper(wc),['""',"true"])):LO(e,t,r)}function LO(e,t,r){const{helper:n}=r,o=wt("key",Pe(`${t}`,!1,Dr,2)),{children:i}=e,s=i[0];if(i.length!==1||s.type!==1)if(i.length===1&&s.type===11){const u=s.codegenNode;return Hp(u,o,r),u}else return Ru(r,n(Pu),zr([o]),i,64,void 0,void 0,!0,!1,!1,e.loc);else{const u=s.codegenNode,c=jue(u);return c.type===13&&mT(c,r),Hp(c,o,r),u}}function Ece(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const wce=(e,t,r)=>{const{modifiers:n,loc:o}=e,i=e.arg;let{exp:s}=e;if(s&&s.type===4&&!s.content.trim()&&(s=void 0),!s){if(i.type!==4||!i.isStatic)return r.onError(ut(52,i.loc)),{props:[wt(i,Pe("",!0,o))]};s5(e),s=e.exp}return i.type!==4?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),n.some(a=>a.content==="camel")&&(i.type===4?i.isStatic?i.content=Xo(i.content):i.content=`${r.helperString(Jb)}(${i.content})`:(i.children.unshift(`${r.helperString(Jb)}(`),i.children.push(")"))),r.inSSR||(n.some(a=>a.content==="prop")&&$O(i,"."),n.some(a=>a.content==="attr")&&$O(i,"^")),{props:[wt(i,s)]}},s5=(e,t)=>{const r=e.arg,n=Xo(r.content);e.exp=Pe(n,!1,r.loc)},$O=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Sce=r5("for",(e,t,r)=>{const{helper:n,removeHelper:o}=r;return xce(e,t,r,i=>{const s=Lt(n(uT),[i.source]),a=Up(e),u=Jr(e,"memo"),c=ym(e,"key",!1,!0);c&&c.type===7&&!c.exp&&s5(c);let p=c&&(c.type===6?c.value?Pe(c.value.content,!0):void 0:c.exp);const h=c&&p?wt("key",p):null,f=i.source.type===4&&i.source.constType>0,m=f?64:c?128:256;return i.codegenNode=Ru(r,n(Pu),void 0,s,m,void 0,void 0,!0,!f,!1,e.loc),()=>{let y;const{children:g}=i,b=g.length!==1||g[0].type!==1,v=Vp(e)?e:a&&e.children.length===1&&Vp(e.children[0])?e.children[0]:null;if(v?(y=v.codegenNode,a&&h&&Hp(y,h,r)):b?y=Ru(r,n(Pu),h?zr([h]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(y=g[0].codegenNode,a&&h&&Hp(y,h,r),y.isBlock!==!f&&(y.isBlock?(o(is),o(Pa(r.inSSR,y.isComponent))):o(Oa(r.inSSR,y.isComponent))),y.isBlock=!f,y.isBlock?(n(is),n(Pa(r.inSSR,y.isComponent))):n(Oa(r.inSSR,y.isComponent))),u){const S=_a(Yb(i.parseResult,[Pe("_cached")]));S.body=Sue([cn(["const _memo = (",u.exp,")"]),cn(["if (_cached",...p?[" && _cached.key === ",p]:[],` && ${r.helperString(U3)}(_cached, _memo)) return _cached`]),cn(["const _item = ",y]),Pe("_item.memo = _memo"),Pe("return _item")]),s.arguments.push(S,Pe("_cache"),Pe(String(r.cached.length))),r.cached.push(null)}else s.arguments.push(_a(Yb(i.parseResult),y,!0))}})});function xce(e,t,r,n){if(!t.exp){r.onError(ut(31,t.loc));return}const o=t.forParseResult;if(!o){r.onError(ut(32,t.loc));return}a5(o);const{addIdentifiers:i,removeIdentifiers:s,scopes:a}=r,{source:u,value:c,key:d,index:p}=o,h={type:11,loc:t.loc,source:u,valueAlias:c,keyAlias:d,objectIndexAlias:p,parseResult:o,children:Up(e)?e.children:[e]};r.replaceNode(h),a.vFor++;const f=n&&n(h);return()=>{a.vFor--,f&&f()}}function a5(e,t){e.finalized||(e.finalized=!0)}function Yb({value:e,key:t,index:r},n=[]){return Tce([e,t,r,...n])}function Tce(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((r,n)=>r||Pe("_".repeat(n+1),!1))}const DO=Pe("undefined",!1),Cce=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const r=Jr(e,"slot");if(r)return r.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},_ce=(e,t,r,n)=>_a(e,r,!1,!0,r.length?r[0].loc:n);function Oce(e,t,r=_ce){t.helper(fT);const{children:n,loc:o}=e,i=[],s=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const u=Jr(e,"slot",!0);if(u){const{arg:g,exp:b}=u;g&&!Er(g)&&(a=!0),i.push(wt(g||Pe("default",!0),r(b,void 0,n,o)))}let c=!1,d=!1;const p=[],h=new Set;let f=0;for(let g=0;g<n.length;g++){const b=n[g];let v;if(!Up(b)||!(v=Jr(b,"slot",!0))){b.type!==3&&p.push(b);continue}if(u){t.onError(ut(37,v.loc));break}c=!0;const{children:S,loc:T}=b,{arg:O=Pe("default",!0),exp:C,loc:E}=v;let w;Er(O)?w=O?O.content:"default":a=!0;const _=Jr(b,"for"),R=r(C,_,S,T);let N,j;if(N=Jr(b,"if"))a=!0,s.push(Kb(N.exp,Jc(O,R,f++),DO));else if(j=Jr(b,/^else(-if)?$/,!0)){let D=g,P;for(;D--&&(P=n[D],P.type===3););if(P&&Up(P)&&Jr(P,/^(else-)?if$/)){let M=s[s.length-1];for(;M.alternate.type===19;)M=M.alternate;M.alternate=j.exp?Kb(j.exp,Jc(O,R,f++),DO):Jc(O,R,f++)}else t.onError(ut(30,j.loc))}else if(_){a=!0;const D=_.forParseResult;D?(a5(D),s.push(Lt(t.helper(uT),[D.source,_a(Yb(D),Jc(O,R),!0)]))):t.onError(ut(32,_.loc))}else{if(w){if(h.has(w)){t.onError(ut(38,E));continue}h.add(w),w==="default"&&(d=!0)}i.push(wt(O,R))}}if(!u){const g=(b,v)=>{const S=r(b,void 0,v,o);return t.compatConfig&&(S.isNonScopedSlot=!0),wt("default",S)};c?p.length&&p.some(b=>l5(b))&&(d?t.onError(ut(39,p[0].loc)):i.push(g(void 0,p))):i.push(g(void 0,n))}const m=a?2:Ed(e.children)?3:1;let y=zr(i.concat(wt("_",Pe(m+"",!1))),o);return s.length&&(y=Lt(t.helper(B3),[y,Ui(s)])),{slots:y,hasDynamicSlots:a}}function Jc(e,t,r){const n=[wt("name",e),wt("fn",t)];return r!=null&&n.push(wt("key",Pe(String(r),!0))),zr(n)}function Ed(e){for(let t=0;t<e.length;t++){const r=e[t];switch(r.type){case 1:if(r.tagType===2||Ed(r.children))return!0;break;case 9:if(Ed(r.branches))return!0;break;case 10:case 11:if(Ed(r.children))return!0;break}}return!1}function l5(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():l5(e.content)}const u5=new WeakMap,Pce=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:n,props:o}=e,i=e.tagType===1;let s=i?Ace(e,t):`"${n}"`;const a=Xle(s)&&s.callee===iT;let u,c,d=0,p,h,f,m=a||s===Hl||s===eT||!i&&(n==="svg"||n==="foreignObject"||n==="math");if(o.length>0){const y=c5(e,t,void 0,i,a);u=y.props,d=y.patchFlag,h=y.dynamicPropNames;const g=y.directives;f=g&&g.length?Ui(g.map(b=>Nce(b,t))):void 0,y.shouldUseBlock&&(m=!0)}if(e.children.length>0)if(s===$p&&(m=!0,d|=1024),i&&s!==Hl&&s!==$p){const{slots:g,hasDynamicSlots:b}=Oce(e,t);c=g,b&&(d|=1024)}else if(e.children.length===1&&s!==Hl){const g=e.children[0],b=g.type,v=b===5||b===8;v&&Ir(g,t)===0&&(d|=1),v||b===2?c=g:c=e.children}else c=e.children;h&&h.length&&(p=Ice(h)),e.codegenNode=Ru(t,s,u,c,d===0?void 0:d,p,f,!!m,!1,i,e.loc)};function Ace(e,t,r=!1){let{tag:n}=e;const o=Xb(n),i=ym(e,"is",!1,!0);if(i)if(o||Vi("COMPILER_IS_ON_ELEMENT",t)){let a;if(i.type===6?a=i.value&&Pe(i.value.content,!0):(a=i.exp,a||(a=Pe("is",!1,i.arg.loc))),a)return Lt(t.helper(iT),[a])}else i.type===6&&i.value.content.startsWith("vue:")&&(n=i.value.content.slice(4));const s=H3(n)||t.isBuiltInComponent(n);return s?(r||t.helper(s),s):(t.helper(oT),t.components.add(n),Iu(n,"component"))}function c5(e,t,r=e.props,n,o,i=!1){const{tag:s,loc:a,children:u}=e;let c=[];const d=[],p=[],h=u.length>0;let f=!1,m=0,y=!1,g=!1,b=!1,v=!1,S=!1,T=!1;const O=[],C=R=>{c.length&&(d.push(zr(FO(c),a)),c=[]),R&&d.push(R)},E=()=>{t.scopes.vFor>0&&c.push(wt(Pe("ref_for",!0),Pe("true")))},w=({key:R,value:N})=>{if(Er(R)){const j=R.content,D=j3(j);if(D&&(!n||o)&&j.toLowerCase()!=="onclick"&&j!=="onUpdate:modelValue"&&!_O(j)&&(v=!0),D&&_O(j)&&(T=!0),D&&N.type===14&&(N=N.arguments[0]),N.type===20||(N.type===4||N.type===8)&&Ir(N,t)>0)return;j==="ref"?y=!0:j==="class"?g=!0:j==="style"?b=!0:j!=="key"&&!O.includes(j)&&O.push(j),n&&(j==="class"||j==="style")&&!O.includes(j)&&O.push(j)}else S=!0};for(let R=0;R<r.length;R++){const N=r[R];if(N.type===6){const{loc:j,name:D,nameLoc:P,value:M}=N;let k=!0;if(D==="ref"&&(y=!0,E()),D==="is"&&(Xb(s)||M&&M.content.startsWith("vue:")||Vi("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(wt(Pe(D,!0,P),Pe(M?M.content:"",k,M?M.loc:j)))}else{const{name:j,arg:D,exp:P,loc:M,modifiers:k}=N,z=j==="bind",J=j==="on";if(j==="slot"){n||t.onError(ut(40,M));continue}if(j==="once"||j==="memo"||j==="is"||z&&Ii(D,"is")&&(Xb(s)||Vi("COMPILER_IS_ON_ELEMENT",t))||J&&i)continue;if((z&&Ii(D,"key")||J&&h&&Ii(D,"vue:before-update"))&&(f=!0),z&&Ii(D,"ref")&&E(),!D&&(z||J)){if(S=!0,P)if(z){if(C(),Vi("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(P);continue}E(),C(),d.push(P)}else C({type:14,loc:M,callee:t.helper(pT),arguments:n?[P]:[P,"true"]});else t.onError(ut(z?34:35,M));continue}z&&k.some(pe=>pe.content==="prop")&&(m|=32);const ie=t.directiveTransforms[j];if(ie){const{props:pe,needRuntime:oe}=ie(N,e,t);!i&&pe.forEach(w),J&&D&&!Er(D)?C(zr(pe,a)):c.push(...pe),oe&&(p.push(N),Xx(oe)&&u5.set(N,oe))}else Qle(j)||(p.push(N),h&&(f=!0))}}let _;if(d.length?(C(),d.length>1?_=Lt(t.helper(Dp),d,a):_=d[0]):c.length&&(_=zr(FO(c),a)),S?m|=16:(g&&!n&&(m|=2),b&&!n&&(m|=4),O.length&&(m|=8),v&&(m|=32)),!f&&(m===0||m===32)&&(y||T||p.length>0)&&(m|=512),!t.inSSR&&_)switch(_.type){case 15:let R=-1,N=-1,j=!1;for(let M=0;M<_.properties.length;M++){const k=_.properties[M].key;Er(k)?k.content==="class"?R=M:k.content==="style"&&(N=M):k.isHandlerKey||(j=!0)}const D=_.properties[R],P=_.properties[N];j?_=Lt(t.helper(Au),[_]):(D&&!Er(D.value)&&(D.value=Lt(t.helper(cT),[D.value])),P&&(b||P.value.type===4&&P.value.content.trim()[0]==="["||P.value.type===17)&&(P.value=Lt(t.helper(dT),[P.value])));break;case 14:break;default:_=Lt(t.helper(Au),[Lt(t.helper(Sc),[_])]);break}return{props:_,directives:p,patchFlag:m,dynamicPropNames:O,shouldUseBlock:f}}function FO(e){const t=new Map,r=[];for(let n=0;n<e.length;n++){const o=e[n];if(o.key.type===8||!o.key.isStatic){r.push(o);continue}const i=o.key.content,s=t.get(i);s?(i==="style"||i==="class"||j3(i))&&Rce(s,o):(t.set(i,o),r.push(o))}return r}function Rce(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Ui([e.value,t.value],e.loc)}function Nce(e,t){const r=[],n=u5.get(e);n?r.push(t.helperString(n)):(t.helper(sT),t.directives.add(e.name),r.push(Iu(e.name,"directive")));const{loc:o}=e;if(e.exp&&r.push(e.exp),e.arg&&(e.exp||r.push("void 0"),r.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||r.push("void 0"),r.push("void 0"));const i=Pe("true",!1,o);r.push(zr(e.modifiers.map(s=>wt(s,i)),o))}return Ui(r,e.loc)}function Ice(e){let t="[";for(let r=0,n=e.length;r<n;r++)t+=JSON.stringify(e[r]),r<n-1&&(t+=", ");return t+"]"}function Xb(e){return e==="component"||e==="Component"}const Mce=(e,t)=>{if(Vp(e)){const{children:r,loc:n}=e,{slotName:o,slotProps:i}=kce(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let a=2;i&&(s[2]=i,a=3),r.length&&(s[3]=_a([],r,!1,!1,n),a=4),t.scopeId&&!t.slotted&&(a=5),s.splice(a),e.codegenNode=Lt(t.helper(F3),s,n)}};function kce(e,t){let r='"default"',n;const o=[];for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===6)s.value&&(s.name==="name"?r=JSON.stringify(s.value.content):(s.name=Xo(s.name),o.push(s)));else if(s.name==="bind"&&Ii(s.arg,"name")){if(s.exp)r=s.exp;else if(s.arg&&s.arg.type===4){const a=Xo(s.arg.content);r=s.exp=Pe(a,!1,s.arg.loc)}}else s.name==="bind"&&s.arg&&Er(s.arg)&&(s.arg.content=Xo(s.arg.content)),o.push(s)}if(o.length>0){const{props:i,directives:s}=c5(e,t,o,!1,!1);n=i,s.length&&t.onError(ut(36,s[0].loc))}return{slotName:r,slotProps:n}}const d5=(e,t,r,n)=>{const{loc:o,modifiers:i,arg:s}=e;!e.exp&&!i.length&&r.onError(ut(35,o));let a;if(s.type===4)if(s.isStatic){let p=s.content;p.startsWith("vue:")&&(p=`vnode-${p.slice(4)}`);const h=t.tagType!==0||p.startsWith("vnode")||!/[A-Z]/.test(p)?eue(Xo(p)):`on:${p}`;a=Pe(h,!0,s.loc)}else a=cn([`${r.helperString(zb)}(`,s,")"]);else a=s,a.children.unshift(`${r.helperString(zb)}(`),a.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let c=r.cacheHandlers&&!u&&!r.inVOnce;if(u){const p=z3(u),h=!(p||Nue(u)),f=u.content.includes(";");(h||c&&p)&&(u=cn([`${h?"$event":"(...args)"} => ${f?"{":"("}`,u,f?"}":")"]))}let d={props:[wt(a,u||Pe("() => {}",!1,o))]};return n&&(d=n(d)),c&&(d.props[0].value=r.cache(d.props[0].value)),d.props.forEach(p=>p.key.isHandlerKey=!0),d},jce=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const r=e.children;let n,o=!1;for(let i=0;i<r.length;i++){const s=r[i];if(ry(s)){o=!0;for(let a=i+1;a<r.length;a++){const u=r[a];if(ry(u))n||(n=r[i]=cn([s],s.loc)),n.children.push(" + ",u),r.splice(a,1),a--;else{n=void 0;break}}}}if(!(!o||r.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(i=>i.type===7&&!t.directiveTransforms[i.name])&&e.tag!=="template")))for(let i=0;i<r.length;i++){const s=r[i];if(ry(s)||s.type===8){const a=[];(s.type!==2||s.content!==" ")&&a.push(s),!t.ssr&&Ir(s,t)===0&&a.push("1"),r[i]={type:12,content:s,loc:s.loc,codegenNode:Lt(t.helper(nT),a)}}}}},BO=new WeakSet,qce=(e,t)=>{if(e.type===1&&Jr(e,"once",!0))return BO.has(e)||t.inVOnce||t.inSSR?void 0:(BO.add(e),t.inVOnce=!0,t.helper(Fp),()=>{t.inVOnce=!1;const r=t.currentNode;r.codegenNode&&(r.codegenNode=t.cache(r.codegenNode,!0,!0))})},p5=(e,t,r)=>{const{exp:n,arg:o}=e;if(!n)return r.onError(ut(41,e.loc)),zc();const i=n.loc.source.trim(),s=n.type===4?n.content:i,a=r.bindingMetadata[i];if(a==="props"||a==="props-aliased")return r.onError(ut(44,n.loc)),zc();if(!s.trim()||!z3(n))return r.onError(ut(42,n.loc)),zc();const u=o||Pe("modelValue",!0),c=o?Er(o)?`onUpdate:${Xo(o.content)}`:cn(['"onUpdate:" + ',o]):"onUpdate:modelValue";let d;const p=r.isTS?"($event: any)":"$event";d=cn([`${p} => ((`,n,") = $event)"]);const h=[wt(u,e.exp),wt(c,d)];if(e.modifiers.length&&t.tagType===1){const f=e.modifiers.map(y=>y.content).map(y=>(gT(y)?y:JSON.stringify(y))+": true").join(", "),m=o?Er(o)?`${o.content}Modifiers`:cn([o,' + "Modifiers"']):"modelModifiers";h.push(wt(m,Pe(`{ ${f} }`,!1,e.loc,2)))}return zc(h)};function zc(e=[]){return{props:e}}const Lce=/[\w).+\-_$\]]/,$ce=(e,t)=>{Vi("COMPILER_FILTERS",t)&&(e.type===5?Jp(e.content,t):e.type===1&&e.props.forEach(r=>{r.type===7&&r.name!=="for"&&r.exp&&Jp(r.exp,t)}))};function Jp(e,t){if(e.type===4)UO(e,t);else for(let r=0;r<e.children.length;r++){const n=e.children[r];typeof n=="object"&&(n.type===4?UO(n,t):n.type===8?Jp(e,t):n.type===5&&Jp(n.content,t))}}function UO(e,t){const r=e.content;let n=!1,o=!1,i=!1,s=!1,a=0,u=0,c=0,d=0,p,h,f,m,y=[];for(f=0;f<r.length;f++)if(h=p,p=r.charCodeAt(f),n)p===39&&h!==92&&(n=!1);else if(o)p===34&&h!==92&&(o=!1);else if(i)p===96&&h!==92&&(i=!1);else if(s)p===47&&h!==92&&(s=!1);else if(p===124&&r.charCodeAt(f+1)!==124&&r.charCodeAt(f-1)!==124&&!a&&!u&&!c)m===void 0?(d=f+1,m=r.slice(0,f).trim()):g();else{switch(p){case 34:o=!0;break;case 39:n=!0;break;case 96:i=!0;break;case 40:c++;break;case 41:c--;break;case 91:u++;break;case 93:u--;break;case 123:a++;break;case 125:a--;break}if(p===47){let b=f-1,v;for(;b>=0&&(v=r.charAt(b),v===" ");b--);(!v||!Lce.test(v))&&(s=!0)}}m===void 0?m=r.slice(0,f).trim():d!==0&&g();function g(){y.push(r.slice(d,f).trim()),d=f+1}if(y.length){for(f=0;f<y.length;f++)m=Dce(m,y[f],t);e.content=m,e.ast=void 0}}function Dce(e,t,r){r.helper(aT);const n=t.indexOf("(");if(n<0)return r.filters.add(t),`${Iu(t,"filter")}(${e})`;{const o=t.slice(0,n),i=t.slice(n+1);return r.filters.add(o),`${Iu(o,"filter")}(${e}${i!==")"?","+i:i}`}}const VO=new WeakSet,Fce=(e,t)=>{if(e.type===1){const r=Jr(e,"memo");return!r||VO.has(e)?void 0:(VO.add(e),()=>{const n=e.codegenNode||t.currentNode.codegenNode;n&&n.type===13&&(e.tagType!==1&&mT(n,t),e.codegenNode=Lt(t.helper(hT),[r.exp,_a(void 0,n),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function Bce(e){return[[qce,bce,Fce,Sce,$ce,Mce,Pce,Cce,jce],{on:d5,bind:wce,model:p5}]}function Uce(e,t={}){const r=t.onError||yT,n=t.mode==="module";t.prefixIdentifiers===!0?r(ut(47)):n&&r(ut(48));const o=!1;t.cacheHandlers&&r(ut(49)),t.scopeId&&!n&&r(ut(50));const i=po({},t,{prefixIdentifiers:o}),s=zt(e)?Wue(e,i):e,[a,u]=Bce();return Zue(s,po({},i,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:po({},u,t.directiveTransforms||{})})),nce(s,i)}const Vce=()=>({props:[]});/**
|
|
1089
|
+
* @vue/compiler-dom v3.5.15
|
|
1090
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1091
|
+
* @license MIT
|
|
1092
|
+
**/const f5=Symbol(""),h5=Symbol(""),m5=Symbol(""),y5=Symbol(""),Qb=Symbol(""),g5=Symbol(""),b5=Symbol(""),v5=Symbol(""),E5=Symbol(""),w5=Symbol("");vue({[f5]:"vModelRadio",[h5]:"vModelCheckbox",[m5]:"vModelText",[y5]:"vModelSelect",[Qb]:"vModelDynamic",[g5]:"withModifiers",[b5]:"withKeys",[v5]:"vShow",[E5]:"Transition",[w5]:"TransitionGroup"});let Es;function Hce(e,t=!1){return Es||(Es=document.createElement("div")),t?(Es.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Es.children[0].getAttribute("foo")):(Es.innerHTML=e,Es.textContent)}const Jce={parseMode:"html",isVoidTag:fue,isNativeTag:e=>cue(e)||due(e)||pue(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:Hce,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return E5;if(e==="TransitionGroup"||e==="transition-group")return w5},getNamespace(e,t,r){let n=t?t.ns:r;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(o=>o.type===6&&o.name==="encoding"&&o.value!=null&&(o.value.content==="text/html"||o.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n}},zce=e=>{e.type===1&&e.props.forEach((t,r)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[r]={type:7,name:"bind",arg:Pe("style",!0,t.loc),exp:Kce(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Kce=(e,t)=>{const r=iue(e);return Pe(JSON.stringify(r),!1,t,3)};function Qo(e,t){return ut(e,t)}const Gce=(e,t,r)=>{const{exp:n,loc:o}=e;return n||r.onError(Qo(53,o)),t.children.length&&(r.onError(Qo(54,o)),t.children.length=0),{props:[wt(Pe("innerHTML",!0,o),n||Pe("",!0))]}},Wce=(e,t,r)=>{const{exp:n,loc:o}=e;return n||r.onError(Qo(55,o)),t.children.length&&(r.onError(Qo(56,o)),t.children.length=0),{props:[wt(Pe("textContent",!0),n?Ir(n,r)>0?n:Lt(r.helperString(mm),[n],o):Pe("",!0))]}},Yce=(e,t,r)=>{const n=p5(e,t,r);if(!n.props.length||t.tagType===1)return n;e.arg&&r.onError(Qo(58,e.arg.loc));const{tag:o}=t,i=r.isCustomElement(o);if(o==="input"||o==="textarea"||o==="select"||i){let s=m5,a=!1;if(o==="input"||i){const u=ym(t,"type");if(u){if(u.type===7)s=Qb;else if(u.value)switch(u.value.content){case"radio":s=f5;break;case"checkbox":s=h5;break;case"file":a=!0,r.onError(Qo(59,e.loc));break}}else Iue(t)&&(s=Qb)}else o==="select"&&(s=y5);a||(n.needRuntime=r.helper(s))}else r.onError(Qo(57,e.loc));return n.props=n.props.filter(s=>!(s.key.type===4&&s.key.content==="modelValue")),n},Xce=$n("passive,once,capture"),Qce=$n("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Zce=$n("left,right"),S5=$n("onkeyup,onkeydown,onkeypress"),ede=(e,t,r,n)=>{const o=[],i=[],s=[];for(let a=0;a<t.length;a++){const u=t[a].content;u==="native"&&Nu("COMPILER_V_ON_NATIVE",r)||Xce(u)?s.push(u):Zce(u)?Er(e)?S5(e.content.toLowerCase())?o.push(u):i.push(u):(o.push(u),i.push(u)):Qce(u)?i.push(u):o.push(u)}return{keyModifiers:o,nonKeyModifiers:i,eventOptionModifiers:s}},HO=(e,t)=>Er(e)&&e.content.toLowerCase()==="onclick"?Pe(t,!0):e.type!==4?cn(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,tde=(e,t,r)=>d5(e,t,r,n=>{const{modifiers:o}=e;if(!o.length)return n;let{key:i,value:s}=n.props[0];const{keyModifiers:a,nonKeyModifiers:u,eventOptionModifiers:c}=ede(i,o,r,e.loc);if(u.includes("right")&&(i=HO(i,"onContextmenu")),u.includes("middle")&&(i=HO(i,"onMouseup")),u.length&&(s=Lt(r.helper(g5),[s,JSON.stringify(u)])),a.length&&(!Er(i)||S5(i.content.toLowerCase()))&&(s=Lt(r.helper(b5),[s,JSON.stringify(a)])),c.length){const d=c.map(Zx).join("");i=Er(i)?Pe(`${i.content}${d}`,!0):cn(["(",i,`) + "${d}"`])}return{props:[wt(i,s)]}}),rde=(e,t,r)=>{const{exp:n,loc:o}=e;return n||r.onError(Qo(61,o)),{props:[],needRuntime:r.helper(v5)}},nde=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},ode=[zce],ide={cloak:Vce,html:Gce,text:Wce,model:Yce,on:tde,show:rde};function sde(e,t={}){return Uce(e,po({},Jce,t,{nodeTransforms:[nde,...ode,...t.nodeTransforms||[]],directiveTransforms:po({},ide,t.directiveTransforms||{}),transformHoist:null}))}/**
|
|
1093
|
+
* vue v3.5.15
|
|
1094
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1095
|
+
* @license MIT
|
|
1096
|
+
**/const JO=Object.create(null);function x5(e,t){if(!zt(e))if(e.nodeType)e=e.innerHTML;else return Vl;const r=tue(e,t),n=JO[r];if(n)return n;if(e[0]==="#"){const a=document.querySelector(e);e=a?a.innerHTML:""}const o=po({hoistStatic:!0,onError:void 0,onWarn:Vl},t);!o.isCustomElement&&typeof customElements<"u"&&(o.isCustomElement=a=>!!customElements.get(a));const{code:i}=sde(e,o),s=new Function("Vue",i)(Wle);return s._rc=!0,JO[r]=s}$x(x5);const Phe=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:fx,BaseTransitionPropsValidators:om,Comment:Et,DeprecationTypes:i3,EffectScope:Hh,ErrorCodes:EV,ErrorTypeStrings:ZH,Fragment:qt,KeepAlive:HV,ReactiveEffect:ba,Static:Yo,Suspense:kH,Teleport:IV,Text:co,TrackOpTypes:lV,Transition:p3,TransitionGroup:x3,TriggerOpTypes:uV,VueElement:Ec,assertNumber:vV,callWithAsyncErrorHandling:jr,callWithErrorHandling:fs,camelize:Tr,capitalize:cc,cloneVNode:dn,compatUtils:o3,compile:x5,computed:Dx,createApp:Ou,createBlock:Cu,createCommentVNode:VH,createElementBlock:DH,createElementVNode:cm,createHydrationRenderer:Rx,createPropsRestProxy:pH,createRenderer:Ax,createSSRApp:Yx,createSlots:XV,createStaticVNode:UH,createTextVNode:dm,createVNode:rt,customRef:ax,defineAsyncComponent:VV,defineComponent:im,defineCustomElement:Jx,defineEmits:tH,defineExpose:rH,defineModel:iH,defineOptions:nH,defineProps:eH,defineSSRCustomElement:b3,defineSlots:oH,devtools:e3,effect:VU,effectScope:qU,getCurrentInstance:$r,getCurrentScope:ex,getCurrentWatcher:cV,getTransitionRawChildren:pc,guardReactiveProps:jx,h:fi,handleError:pi,hasInjectionContext:yH,hydrate:N3,hydrateOnIdle:DV,hydrateOnInteraction:UV,hydrateOnMediaQuery:BV,hydrateOnVisible:FV,initCustomFormatter:YH,initDirectivesForSSR:k3,inject:Ys,isMemoSame:Fx,isProxy:lc,isReactive:Rn,isReadonly:Mn,isRef:Ot,isRuntimeOnly:KH,isShallow:wr,isVNode:Xr,markRaw:ix,mergeDefaults:cH,mergeModels:dH,mergeProps:Lx,nextTick:dc,normalizeClass:za,normalizeProps:mV,normalizeStyle:Ja,onActivated:mx,onBeforeMount:gx,onBeforeUnmount:mc,onBeforeUpdate:am,onDeactivated:yx,onErrorCaptured:wx,onMounted:Ka,onRenderTracked:Ex,onRenderTriggered:vx,onScopeDispose:LU,onServerPrefetch:bx,onUnmounted:yc,onUpdated:hc,onWatcherCleanup:lx,openBlock:Ea,popScopeId:_V,provide:_x,proxyRefs:Yh,pushScopeId:CV,queuePostFlushCb:va,reactive:oi,readonly:Gh,ref:Js,registerRuntimeCompiler:$x,render:Wx,renderList:YV,renderSlot:QV,resolveComponent:zV,resolveDirective:WV,resolveDynamicComponent:GV,resolveFilter:n3,resolveTransitionHooks:ts,setBlockTracking:Ip,setDevtoolsHook:t3,setTransitionHooks:kn,shallowReactive:ox,shallowReadonly:tV,shallowRef:sx,ssrContextKey:Ix,ssrUtils:r3,stop:HU,toDisplayString:dx,toHandlerKey:Gs,toHandlers:ZV,toRaw:$e,toRef:sV,toRefs:iV,toValue:oV,transformVNodeArgs:FH,triggerRef:nV,unref:uc,useAttrs:lH,useCssModule:E3,useCssVars:g3,useHost:zx,useId:LV,useModel:NH,useSSRContext:Mx,useShadowRoot:v3,useSlots:aH,useTemplateRef:$V,useTransitionState:nm,vModelCheckbox:fm,vModelDynamic:Gx,vModelRadio:hm,vModelSelect:Kx,vModelText:_u,vShow:Hx,version:Bx,warn:QH,watch:Bi,watchEffect:PH,watchPostEffect:AH,watchSyncEffect:kx,withAsyncContext:fH,withCtx:rm,withDefaults:sH,withDirectives:PV,withKeys:O3,withMemo:XH,withModifiers:_3,withScopeId:OV},Symbol.toStringTag,{value:"Module"})),{sanitizeStoryContextUpdate:ade}=__STORYBOOK_MODULE_PREVIEW_API__;var lde={};bie(lde,{applyDecorators:()=>_5,argTypesEnhancers:()=>A5,mount:()=>O5,parameters:()=>P5,render:()=>T5,renderToCanvas:()=>C5});var ude=["props","events","slots","exposed","expose"],cde=e=>{if(!Uh(e))return null;let t="exposed"in e.__docgenInfo?"vue-component-meta":"vue-docgen-api",r={};return ude.forEach(n=>{rse(e,n).forEach(o=>{let i;if(t==="vue-docgen-api"){let s=o.docgenInfo;i=dde(s,n,o)}else{let s=o.docgenInfo;i=pde(s,n)}!i||r[i.name]||(["events","expose","exposed"].includes(n)&&(i.control={disable:!0}),r[i.name]=i)})}),r},dde=(e,t,r)=>{var s,a,u;let n,o;if(t==="events"&&(n=(s=e.type)==null?void 0:s.names.join(),o={name:"other",value:n??"",required:!1}),t==="slots"){let c=(a=e.bindings)==null?void 0:a.filter(d=>!!d.name).map(d=>{var p;return`${d.name}: ${((p=d.type)==null?void 0:p.name)??"unknown"}`}).join("; ");n=c?`{ ${c} }`:void 0,o={name:"other",value:n??"",required:!1}}if(t==="props"){let c=e;if(n=(u=c.type)==null?void 0:u.name,o=r?Fh(r.docgenInfo):{name:"other",value:n},c.type&&"elements"in c.type&&Array.isArray(c.type.elements)&&c.type.elements.length>0){let d=c.type.elements.map(p=>p.name);n==="Array"&&(n=`${d.length===1?d[0]:`(${d.join(" | ")})`}[]`),n==="union"?n=d.join(" | "):n==="intersection"&&(n=d.join(" & "))}}let i="required"in e?e.required??!1:!1;return{name:e.name,description:e.description,type:o?{...o,required:i}:{name:"other",value:n??""},table:{type:n?{summary:n}:void 0,defaultValue:(r==null?void 0:r.propDef.defaultValue)??void 0,jsDocTags:r==null?void 0:r.propDef.jsDocTags,category:t}}},pde=(e,t)=>{if("global"in e&&e.global)return;let r={summary:e.type.replace(" | undefined","")};if(t==="props"){let n=e,o=n.default?{summary:n.default}:void 0;return{name:n.name,description:fde(n.description,n.tags),defaultValue:o,type:vl(n),table:{type:r,defaultValue:o,category:t}}}else return{name:e.name,description:"description"in e?e.description:"",type:{name:"other",value:e.type},table:{type:r,category:t}}},vl=e=>{var i,s;let t=e.schema,r=e.required,n={name:"other",value:e.type,required:r},o=["string","number","function","boolean","symbol"];if(typeof t=="string")return o.includes(t)?{name:t,required:r}:n;switch(t.kind){case"enum":{let a=((i=t.schema)==null?void 0:i.filter(u=>u!=="undefined"))??[];return yde(a)?{name:"boolean",required:r}:hde(a)||mde(a)?{name:"enum",value:a.map(u=>u.replace(/"/g,"")),required:r}:a.length===1?vl({schema:a[0],type:e.type,required:r}):(a.length>2&&a.includes("true")&&a.includes("false")&&(a=a.filter(u=>u!=="true"&&u!=="false"),a.push("boolean")),{name:"union",value:a.map(u=>vl(typeof u=="object"?{schema:u,type:u.type,required:!1}:{schema:u,type:u,required:!1})),required:r})}case"array":{let a=((s=t.schema)==null?void 0:s.filter(u=>u!=="undefined"))??[];return a.length===0?n:a.length===1?{name:"array",value:vl({schema:a[0],type:e.type,required:!1}),required:r}:{name:"union",value:a.map(u=>vl(typeof u=="object"?{schema:u,type:u.type,required:!1}:{schema:u,type:u,required:!1})),required:r}}case"object":return{name:"object",value:{},required:r};default:return n}},fde=(e,t)=>!(t!=null&&t.length)||!e?e??"":`${t.map(r=>`@${r.name}: ${r.text}`).join("<br>")}<br><br>${e}`,hde=e=>e.every(t=>typeof t=="string"&&t.startsWith('"')&&t.endsWith('"')),mde=e=>e.every(t=>typeof t=="string"&&t.includes(".")),yde=e=>e.length===2&&e.includes("true")&&e.includes("false"),T5=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return()=>fi(n,e,bde(e,t))},gde=async(e,t)=>{globalThis&&globalThis.PLUGINS_SETUP_FUNCTIONS&&await Promise.all([...globalThis.PLUGINS_SETUP_FUNCTIONS].map(r=>r(e,t)))},zp=new Map;async function C5({storyFn:e,forceRemount:t,showMain:r,showException:n,storyContext:o,id:i},s){let a=zp.get(s);if(a&&!t){let c=e(),d=zO(c,o);return vde(a.reactiveArgs,d),()=>{oy(a.vueApp,s)}}a&&t&&oy(a.vueApp,s);let u=Ou({setup(){o.args=oi(o.args);let c=e(),d=zO(c,o),p={vueApp:u,reactiveArgs:oi(d)};return zp.set(s,p),()=>fi(c)}});return u.config.errorHandler=(c,d,p)=>{var h;(h=window.__STORYBOOK_PREVIEW__)!=null&&h.storyRenders.some(f=>f.id===i&&f.phase==="playing")?setTimeout(()=>{throw c},0):n(c)},await gde(u,o),u.mount(s),r(),()=>{oy(u,s)}}function bde(e,t){let{argTypes:r}=t,n=Object.entries(e).filter(([o])=>{var i,s;return((s=(i=r[o])==null?void 0:i.table)==null?void 0:s.category)==="slots"}).map(([o,i])=>[o,typeof i=="function"?i:()=>i]);return Object.fromEntries(n)}function zO(e,t){return e.props&&Xr(e)?e.props:t.args}function vde(e,t){if(Object.keys(t).length===0)return;let r=Rn(e)?e:oi(e);Object.keys(r).forEach(n=>{n in t||delete r[n]}),Object.assign(r,t)}function oy(e,t){e==null||e.unmount(),zp.has(t)&&zp.delete(t)}function Ede(e){return typeof e=="function"?{render:e,name:e.name}:e}function KO(e,t){let r=e;return r===null?null:typeof r=="function"?r:t?{...Ede(r),components:{...r.components||{},story:t}}:{render(){return fi(r)}}}function _5(e,t){return t.reduce((r,n)=>o=>{let i,s=n(a=>{let u=ade(a);return a&&(u.args=Object.assign(o.args,u.args)),i=r({...o,...u}),i},o);return i||(i=r(o)),s===i?i:KO(s,()=>fi(i))},r=>KO(e(r)))}var O5=e=>async(t,r)=>(t&&(e.originalStoryFn=()=>()=>fi(t,r==null?void 0:r.props,r==null?void 0:r.slots)),await e.renderToCanvas(),e.canvas),P5={renderer:"vue3",docs:{story:{inline:!0},extractArgTypes:cde,extractComponentDescription:MU}},A5=[nse];const wde=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:_5,argTypesEnhancers:A5,mount:O5,parameters:P5,render:T5,renderToCanvas:C5},Symbol.toStringTag,{value:"Module"})),{useEffect:Sde,emitTransformCode:xde}=__STORYBOOK_MODULE_PREVIEW_API__;var wd=Symbol("DEEP_ACCESS_SYMBOL"),Tde=e=>!!(e&&typeof e=="object"&&wd in e),Cde=(e,t)=>{let r=e();return Sde(()=>{let n=_de(t);Ode(t)||xde(n,t)}),r},_de=e=>{let t={imports:{},scriptVariables:{}},{displayName:r,slotNames:n,eventNames:o}=Pde(e.component),i=R5(e.args,n,o,t),s=N5(e.args,n,t),a=r||e.title.split("/").at(-1),u=s?`<${a} ${i}> ${s} </${a}>`:`<${a} ${i} />`,c=Object.entries(t.scriptVariables).map(([h,f])=>`const ${h} = ${f};`).join(`
|
|
1097
|
+
|
|
1098
|
+
`),d=Object.entries(t.imports).map(([h,f])=>`import { ${Array.from(f.values()).sort().join(", ")} } from "${h}";`).join(`
|
|
1099
|
+
`),p=`<template>
|
|
1100
|
+
${u}
|
|
1101
|
+
</template>`;return!d&&!c?p:`<script lang="ts" setup>
|
|
1102
|
+
${d?`${d}
|
|
1103
|
+
|
|
1104
|
+
${c}`:c}
|
|
1105
|
+
<\/script>
|
|
1106
|
+
|
|
1107
|
+
${p}`},Ode=e=>{var r;let t=(r=e==null?void 0:e.parameters.docs)==null?void 0:r.source;return(t==null?void 0:t.type)===Sb.DYNAMIC?!1:!(e!=null&&e.parameters.__isArgsStory)||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Sb.CODE},Pde=e=>{if(!e||!("__docgenInfo"in e)||!e.__docgenInfo||typeof e.__docgenInfo!="object")return{displayName:e==null?void 0:e.__name,eventNames:[],slotNames:[]};let t=e.__docgenInfo,r="displayName"in t&&typeof t.displayName=="string"?t.displayName:void 0,n=o=>!(o in t)||!Array.isArray(t[o])?[]:t[o].map(i=>i&&typeof i=="object"&&"name"in i?i.name:void 0).filter(i=>typeof i=="string");return{displayName:r||e.__name,slotNames:n("slots").sort((o,i)=>o==="default"?-1:i==="default"?1:o.localeCompare(i)),eventNames:n("events")}},R5=(e,t,r,n)=>{let o=[];Object.entries(e).forEach(([s,a])=>{if(!t.includes(s)&&a!=null)switch(Tde(a)&&(a=a.toString()),typeof a){case"string":if(a==="")return;o.push({name:s,value:a.includes('"')?`'${a}'`:`"${a}"`,templateFn:(u,c)=>`${u}=${c}`});break;case"number":o.push({name:s,value:a.toString(),templateFn:(u,c)=>`:${u}="${c}"`});break;case"bigint":o.push({name:s,value:`BigInt(${a.toString()})`,templateFn:(u,c)=>`:${u}="${c}"`});break;case"boolean":o.push({name:s,value:a?"true":"false",templateFn:(u,c)=>c==="true"?u:`:${u}="false"`});break;case"symbol":o.push({name:s,value:`Symbol(${a.description?`'${a.description}'`:""})`,templateFn:(u,c)=>`:${u}="${c}"`});break;case"object":{o.push({name:s,value:Ide(a??{}),templateFn:void 0});break}}}),o.sort((s,a)=>s.name.localeCompare(a.name));let i=[];return o.forEach(s=>{let a=r.includes(`update:${s.name}`);if(!a&&s.templateFn){i.push(s.templateFn(s.name,s.value));return}let u=s.name;if(u in n.scriptVariables){let c=1;do u=`${s.name}${c}`,c++;while(u in n.scriptVariables)}if(!a){n.scriptVariables[u]=s.value,i.push(`:${s.name}="${u}"`);return}n.scriptVariables[u]=`ref(${s.value})`,n.imports.vue||(n.imports.vue=new Set),n.imports.vue.add("ref"),s.name==="modelValue"?i.push(`v-model="${u}"`):i.push(`v-model:${s.name}="${u}"`)}),i.join(" ")},N5=(e,t,r)=>{let n=[];return t.forEach(o=>{let i=e[o];if(!i)return;let s=ET([i],r);if(!s)return;let a=typeof i=="function"?I5(i):[];o==="default"&&!a.length?n.push(s):n.push(`<template ${Nde(o,a)}>${s}</template>`)}),n.join(`
|
|
1108
|
+
|
|
1109
|
+
`)},ET=(e,t)=>{let r=[],n=o=>{if(Xr(o))return Ade(o,t);switch(typeof o){case"string":case"number":case"boolean":return o.toString();case"object":return o===null?"":Array.isArray(o)?o.map(n).filter(i=>i!=="").join(`
|
|
1110
|
+
`):JSON.stringify(o);case"function":{let i=I5(o).filter(u=>!["{","}"].includes(u)),s={};i.forEach(u=>{s[u]=new Proxy({[wd]:!0},{get:(c,d)=>d===wd?c[wd]:[Symbol.toPrimitive,Symbol.toStringTag,"toString"].includes(d)?()=>`{{ ${u} }}`:d==="v-bind"?`${u}`:`{{ ${u}.${d.toString()} }}`,ownKeys:()=>["v-bind"],getOwnPropertyDescriptor:()=>({configurable:!0,enumerable:!0,value:u,writable:!0})})});let a=o(s);return ET([a],t).replaceAll(/ (\S+)="{{ (\S+) }}"/g,' :$1="$2"')}case"bigint":return`{{ BigInt(${o.toString()}) }}`;default:return""}};return e.forEach(o=>{let i=n(o);i!==""&&r.push(i)}),r.join(`
|
|
1111
|
+
`)},Ade=(e,t)=>{let r=Rde(e),n="";typeof e.children=="string"?n=e.children:Array.isArray(e.children)?n=ET(e.children,t):e.children&&(n=N5(e.children,Object.keys(e.children).filter(i=>i!=="$stable"),t));let o=e.props?R5(e.props,[],[],t):"";return n?`<${r}${o?` ${o}`:""}>${n}</${r}>`:`<${r}${o?` ${o}`:""} />`},Rde=e=>{if(typeof e.type=="string")return e.type;if(typeof e.type=="object"){if("name"in e.type&&e.type.name)return e.type.name;if("__name"in e.type&&e.type.__name)return e.type.__name}return"component"},I5=e=>{let t=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,r=/([^\s,]+)/g,n=e.toString().replace(t,""),o=n.slice(n.indexOf("(")+1,n.indexOf(")")).match(r);return o?o.flatMap(i=>{if(["{","}"].includes(i))return i;let s=i.split(":")[0].trim();return s.startsWith("{")?["{",s.substring(1)]:i.endsWith("}")&&!s.endsWith("}")?[s,"}"]:s}):[]},Nde=(e,t)=>t.length?t.length===1?`#${e}="${t[0]}"`:`#${e}="{ ${t.filter(r=>!["{","}"].includes(r)).join(", ")} }"`:`#${e}`,Ide=e=>Object.values(e).every(t=>t==null||typeof t!="object")?JSON.stringify(e):JSON.stringify(e,null,2),Mde=[Cde];const kde=Object.freeze(Object.defineProperty({__proto__:null,decorators:Mde},Symbol.toStringTag,{value:"Module"})),{expect:GO}=__STORYBOOK_MODULE_TEST__,{ElementA11yParameterError:jde}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:M5}=__STORYBOOK_MODULE_GLOBAL__,{addons:qde,waitForAnimations:Lde}=__STORYBOOK_MODULE_PREVIEW_API__;var hs="storybook/a11y",$de=`${hs}/panel`,Dde=`${hs}/result`,Fde=`${hs}/request`,Bde=`${hs}/running`,Ude=`${hs}/error`,Vde=`${hs}/manual`,Hde=`${hs}/select`,iy={RESULT:Dde,REQUEST:Fde,RUNNING:Bde,ERROR:Ude,MANUAL:Vde,SELECT:Hde},{document:Jde}=M5,zde=(e,t)=>{let r=Jde.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((s,a)=>{let u=`${o}.${i.id}.${a+1}`,c=`${r}?path=/story/${t}&addonPanel=${$de}&a11ySelection=${u}`;return{id:u,...s,linkPath:c}})})))}),n},{document:sy}=M5,ay=qde.getChannel(),k5={config:{},options:{}},Kde=["region"],Zb=[],ev=!1,j5=async()=>{if(Zb.length===0){ev=!1;return}ev=!0;let e=Zb.shift();e&&await e(),j5()},q5=async(e=k5,t)=>{var a;let r=((a=await we(async()=>{const{default:u}=await import("./axe-CVuRbXyi.js").then(c=>c.a);return{default:u}},__vite__mapDeps([99,70]),import.meta.url))==null?void 0:a.default)||globalThis.axe,{config:n={},options:o={}}=e;if(e.element)throw new jde;let i={include:sy==null?void 0:sy.body,exclude:[".sb-wrapper","#storybook-docs"]};if(e.context){let u=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;u?i.include=e.context.include:!u&&!c&&(i.include=e.context),c&&(i.exclude=i.exclude.concat(e.context.exclude))}r.reset();let s={...n,rules:[...Kde.map(u=>({id:u,enabled:!1})),...(n==null?void 0:n.rules)??[]]};return r.configure(s),new Promise((u,c)=>{let d=async()=>{try{let p=await r.run(i,o),h=zde(p,t);u(h)}catch(p){c(p)}};Zb.push(d),ev||j5()})};ay.on(iy.MANUAL,async(e,t=k5)=>{try{await Lde();let r=await q5(t,e),n=JSON.parse(JSON.stringify(r));ay.emit(iy.RESULT,n,e)}catch(r){ay.emit(iy.ERROR,r)}});function WO(){try{return!1}catch{return!1}}var YO=!1,Gde=async({id:e,reporting:t,parameters:r,globals:n,viewMode:o})=>{let i=r.a11y,s=n.a11y,a=(i==null?void 0:i.disable)!==!0&&(i==null?void 0:i.test)!=="off"&&(s==null?void 0:s.manual)!==!0,u=()=>{switch(i==null?void 0:i.test){case"todo":return"warning";case"error":default:return"failed"}};if(a&&o==="story")try{let c=await q5(i,e);if(c){let d=((c==null?void 0:c.violations.length)??0)>0;if(t.addReport({type:"a11y",version:1,result:c,status:d?u():"passed"}),WO()&&d&&u()==="failed"){if(!YO){let{toHaveNoViolations:p}=await we(async()=>{const{toHaveNoViolations:h}=await import("./matchers-7Z3WT2CE-OIiPHzXs.js");return{toHaveNoViolations:h}},[],import.meta.url);GO.extend({toHaveNoViolations:p}),YO=!0}GO(c).toHaveNoViolations()}}}catch(c){if(t.addReport({type:"a11y",version:1,result:{error:c},status:"failed"}),WO())throw c}},Wde={a11y:{manual:!1}},Yde={a11y:{test:"todo"}};const Xde=Object.freeze(Object.defineProperty({__proto__:null,afterEach:Gde,initialGlobals:Wde,parameters:Yde},Symbol.toStringTag,{value:"Module"})),{makeDecorator:Qde,addons:L5}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_CHANGED:Zde,SELECT_STORY:epe}=__STORYBOOK_MODULE_CORE_EVENTS__,{global:tpe}=__STORYBOOK_MODULE_GLOBAL__;var rpe="links",{document:$5,HTMLElement:npe}=tpe,ope=e=>L5.getChannel().emit(epe,e),D5=e=>{let{target:t}=e;if(!(t instanceof npe))return;let r=t,{sbKind:n,sbStory:o}=r.dataset;(n||o)&&(e.preventDefault(),ope({kind:n,story:o}))},Kp=!1,ipe=()=>{Kp||(Kp=!0,$5.addEventListener("click",D5))},spe=()=>{Kp&&(Kp=!1,$5.removeEventListener("click",D5))},ape=Qde({name:"withLinks",parameterName:rpe,wrapper:(e,t)=>(ipe(),L5.getChannel().once(Zde,spe),e(t))}),lpe=[ape];const upe=Object.freeze(Object.defineProperty({__proto__:null,decorators:lpe},Symbol.toStringTag,{value:"Module"}));var cpe="theme",dpe={[cpe]:""};const ppe=Object.freeze(Object.defineProperty({__proto__:null,initialGlobals:dpe},Symbol.toStringTag,{value:"Module"}));function fpe(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(a,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?a.concat(c.map(function(d){var p,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):a},[]);if(o.length){var i=new RegExp(`
|
|
1112
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(a){return a.replace(i,`
|
|
1113
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(a,u){var c=s.match(/(?:^|\n)( *)$/),d=c?c[1]:"",p=a;typeof a=="string"&&a.includes(`
|
|
1114
|
+
`)&&(p=String(a).split(`
|
|
1115
|
+
`).map(function(h,f){return f===0?h:""+d+h}).join(`
|
|
1116
|
+
`)),s+=p+n[u+1]}),s}var ly={exports:{}},Ce={},XO;function hpe(){if(XO)return Ce;XO=1;var e={client:!0};/**
|
|
1117
|
+
* @license React
|
|
1118
|
+
* react.production.js
|
|
1119
|
+
*
|
|
1120
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1121
|
+
*
|
|
1122
|
+
* This source code is licensed under the MIT license found in the
|
|
1123
|
+
* LICENSE file in the root directory of this source tree.
|
|
1124
|
+
*/var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),f=Symbol.iterator;function m(q){return q===null||typeof q!="object"?null:(q=f&&q[f]||q["@@iterator"],typeof q=="function"?q:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,b={};function v(q,H,X){this.props=q,this.context=H,this.refs=b,this.updater=X||y}v.prototype.isReactComponent={},v.prototype.setState=function(q,H){if(typeof q!="object"&&typeof q!="function"&&q!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,q,H,"setState")},v.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};function S(){}S.prototype=v.prototype;function T(q,H,X){this.props=q,this.context=H,this.refs=b,this.updater=X||y}var O=T.prototype=new S;O.constructor=T,g(O,v.prototype),O.isPureReactComponent=!0;var C=Array.isArray;function E(){}var w={H:null,A:null,T:null,S:null},_=Object.prototype.hasOwnProperty;function R(q,H,X){var ne=X.ref;return{$$typeof:t,type:q,key:H,ref:ne!==void 0?ne:null,props:X}}function N(q,H){return R(q.type,H,q.props)}function j(q){return typeof q=="object"&&q!==null&&q.$$typeof===t}function D(q){var H={"=":"=0",":":"=2"};return"$"+q.replace(/[=:]/g,function(X){return H[X]})}var P=/\/+/g;function M(q,H){return typeof q=="object"&&q!==null&&q.key!=null?D(""+q.key):H.toString(36)}function k(q){switch(q.status){case"fulfilled":return q.value;case"rejected":throw q.reason;default:switch(typeof q.status=="string"?q.then(E,E):(q.status="pending",q.then(function(H){q.status==="pending"&&(q.status="fulfilled",q.value=H)},function(H){q.status==="pending"&&(q.status="rejected",q.reason=H)})),q.status){case"fulfilled":return q.value;case"rejected":throw q.reason}}throw q}function z(q,H,X,ne,ee){var le=typeof q;(le==="undefined"||le==="boolean")&&(q=null);var ye=!1;if(q===null)ye=!0;else switch(le){case"bigint":case"string":case"number":ye=!0;break;case"object":switch(q.$$typeof){case t:case r:ye=!0;break;case p:return ye=q._init,z(ye(q._payload),H,X,ne,ee)}}if(ye)return ee=ee(q),ye=ne===""?"."+M(q,0):ne,C(ee)?(X="",ye!=null&&(X=ye.replace(P,"$&/")+"/"),z(ee,H,X,"",function(K){return K})):ee!=null&&(j(ee)&&(ee=N(ee,X+(ee.key==null||q&&q.key===ee.key?"":(""+ee.key).replace(P,"$&/")+"/")+ye)),H.push(ee)),1;ye=0;var Ie=ne===""?".":ne+":";if(C(q))for(var Te=0;Te<q.length;Te++)ne=q[Te],le=Ie+M(ne,Te),ye+=z(ne,H,X,le,ee);else if(Te=m(q),typeof Te=="function")for(q=Te.call(q),Te=0;!(ne=q.next()).done;)ne=ne.value,le=Ie+M(ne,Te++),ye+=z(ne,H,X,le,ee);else if(le==="object"){if(typeof q.then=="function")return z(k(q),H,X,ne,ee);throw H=String(q),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(q).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return ye}function J(q,H,X){if(q==null)return q;var ne=[],ee=0;return z(q,ne,"","",function(le){return H.call(X,le,ee++)}),ne}function ie(q){if(q._status===-1){var H=q._result;H=H(),H.then(function(X){(q._status===0||q._status===-1)&&(q._status=1,q._result=X)},function(X){(q._status===0||q._status===-1)&&(q._status=2,q._result=X)}),q._status===-1&&(q._status=0,q._result=H)}if(q._status===1)return q._result.default;throw q._result}var pe=typeof reportError=="function"?reportError:function(q){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof q=="object"&&q!==null&&typeof q.message=="string"?String(q.message):String(q),error:q});if(!window.dispatchEvent(H))return}else if(typeof e=="object"&&typeof e.emit=="function"){e.emit("uncaughtException",q);return}console.error(q)},oe={map:J,forEach:function(q,H,X){J(q,function(){H.apply(this,arguments)},X)},count:function(q){var H=0;return J(q,function(){H++}),H},toArray:function(q){return J(q,function(H){return H})||[]},only:function(q){if(!j(q))throw Error("React.Children.only expected to receive a single React element child.");return q}};return Ce.Activity=h,Ce.Children=oe,Ce.Component=v,Ce.Fragment=n,Ce.Profiler=i,Ce.PureComponent=T,Ce.StrictMode=o,Ce.Suspense=c,Ce.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,Ce.__COMPILER_RUNTIME={__proto__:null,c:function(q){return w.H.useMemoCache(q)}},Ce.cache=function(q){return function(){return q.apply(null,arguments)}},Ce.cacheSignal=function(){return null},Ce.cloneElement=function(q,H,X){if(q==null)throw Error("The argument must be a React element, but you passed "+q+".");var ne=g({},q.props),ee=q.key;if(H!=null)for(le in H.key!==void 0&&(ee=""+H.key),H)!_.call(H,le)||le==="key"||le==="__self"||le==="__source"||le==="ref"&&H.ref===void 0||(ne[le]=H[le]);var le=arguments.length-2;if(le===1)ne.children=X;else if(1<le){for(var ye=Array(le),Ie=0;Ie<le;Ie++)ye[Ie]=arguments[Ie+2];ne.children=ye}return R(q.type,ee,ne)},Ce.createContext=function(q){return q={$$typeof:a,_currentValue:q,_currentValue2:q,_threadCount:0,Provider:null,Consumer:null},q.Provider=q,q.Consumer={$$typeof:s,_context:q},q},Ce.createElement=function(q,H,X){var ne,ee={},le=null;if(H!=null)for(ne in H.key!==void 0&&(le=""+H.key),H)_.call(H,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(ee[ne]=H[ne]);var ye=arguments.length-2;if(ye===1)ee.children=X;else if(1<ye){for(var Ie=Array(ye),Te=0;Te<ye;Te++)Ie[Te]=arguments[Te+2];ee.children=Ie}if(q&&q.defaultProps)for(ne in ye=q.defaultProps,ye)ee[ne]===void 0&&(ee[ne]=ye[ne]);return R(q,le,ee)},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(q){return{$$typeof:u,render:q}},Ce.isValidElement=j,Ce.lazy=function(q){return{$$typeof:p,_payload:{_status:-1,_result:q},_init:ie}},Ce.memo=function(q,H){return{$$typeof:d,type:q,compare:H===void 0?null:H}},Ce.startTransition=function(q){var H=w.T,X={};w.T=X;try{var ne=q(),ee=w.S;ee!==null&&ee(X,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(E,pe)}catch(le){pe(le)}finally{H!==null&&X.types!==null&&(H.types=X.types),w.T=H}},Ce.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},Ce.use=function(q){return w.H.use(q)},Ce.useActionState=function(q,H,X){return w.H.useActionState(q,H,X)},Ce.useCallback=function(q,H){return w.H.useCallback(q,H)},Ce.useContext=function(q){return w.H.useContext(q)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(q,H){return w.H.useDeferredValue(q,H)},Ce.useEffect=function(q,H){return w.H.useEffect(q,H)},Ce.useEffectEvent=function(q){return w.H.useEffectEvent(q)},Ce.useId=function(){return w.H.useId()},Ce.useImperativeHandle=function(q,H,X){return w.H.useImperativeHandle(q,H,X)},Ce.useInsertionEffect=function(q,H){return w.H.useInsertionEffect(q,H)},Ce.useLayoutEffect=function(q,H){return w.H.useLayoutEffect(q,H)},Ce.useMemo=function(q,H){return w.H.useMemo(q,H)},Ce.useOptimistic=function(q,H){return w.H.useOptimistic(q,H)},Ce.useReducer=function(q,H,X){return w.H.useReducer(q,H,X)},Ce.useRef=function(q){return w.H.useRef(q)},Ce.useState=function(q){return w.H.useState(q)},Ce.useSyncExternalStore=function(q,H,X){return w.H.useSyncExternalStore(q,H,X)},Ce.useTransition=function(){return w.H.useTransition()},Ce.version="19.2.0",Ce}var QO;function mpe(){return QO||(QO=1,ly.exports=hpe()),ly.exports}mpe();const{useParameter:ype,addons:gpe,useEffect:bpe,useMemo:Ahe,definePreview:Rhe}=__STORYBOOK_MODULE_PREVIEW_API__,{deprecate:vpe}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Epe=Object.defineProperty,F5=(e,t)=>{for(var r in t)Epe(e,r,{get:t[r],enumerable:!0})},wpe={};F5(wpe,{initialGlobals:()=>Tpe});var Gp="themes",Spe=`storybook/${Gp}`,B5="theme",ZO={},xpe={REGISTER_THEMES:`${Spe}/REGISTER_THEMES`},Tpe={[B5]:""},Cpe={};F5(Cpe,{initializeThemeState:()=>V5,pluckThemeFromContext:()=>U5,useThemeParameters:()=>_pe});function U5({globals:e}){return e[B5]||""}function _pe(e){return vpe(fpe`The useThemeParameters function is deprecated. Please access parameters via the context directly instead e.g.
|
|
1125
|
+
- const { themeOverride } = context.parameters.themes ?? {};
|
|
1126
|
+
`),e?e.parameters[Gp]??ZO:ype(Gp,ZO)}function V5(e,t){gpe.getChannel().emit(xpe.REGISTER_THEMES,{defaultTheme:t,themes:e})}var Ope="html",eP=e=>e.split(" ").filter(Boolean),Ppe=({themes:e,defaultTheme:t,parentSelector:r=Ope})=>(V5(Object.keys(e),t),(n,o)=>{let{themeOverride:i}=o.parameters[Gp]??{},s=U5(o);return bpe(()=>{let a=i||s||t,u=document.querySelector(r);if(!u)return;Object.entries(e).filter(([d])=>d!==a).forEach(([d,p])=>{let h=eP(p);h.length>0&&u.classList.remove(...h)});let c=eP(e[a]);c.length>0&&u.classList.add(...c)},[i,s]),n()});const xe=e=>typeof e=="string",sl=()=>{let e,t;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r},tP=e=>e==null?"":""+e,Ape=(e,t,r)=>{e.forEach(n=>{t[n]&&(r[n]=t[n])})},Rpe=/###/g,rP=e=>e&&e.indexOf("###")>-1?e.replace(Rpe,"."):e,nP=e=>!e||xe(e),Jl=(e,t,r)=>{const n=xe(t)?t.split("."):t;let o=0;for(;o<n.length-1;){if(nP(e))return{};const i=rP(n[o]);!e[i]&&r&&(e[i]=new r),Object.prototype.hasOwnProperty.call(e,i)?e=e[i]:e={},++o}return nP(e)?{}:{obj:e,k:rP(n[o])}},oP=(e,t,r)=>{const{obj:n,k:o}=Jl(e,t,Object);if(n!==void 0||t.length===1){n[o]=r;return}let i=t[t.length-1],s=t.slice(0,t.length-1),a=Jl(e,s,Object);for(;a.obj===void 0&&s.length;)i=`${s[s.length-1]}.${i}`,s=s.slice(0,s.length-1),a=Jl(e,s,Object),a!=null&&a.obj&&typeof a.obj[`${a.k}.${i}`]<"u"&&(a.obj=void 0);a.obj[`${a.k}.${i}`]=r},Npe=(e,t,r,n)=>{const{obj:o,k:i}=Jl(e,t,Object);o[i]=o[i]||[],o[i].push(r)},Wp=(e,t)=>{const{obj:r,k:n}=Jl(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},Ipe=(e,t,r)=>{const n=Wp(e,r);return n!==void 0?n:Wp(t,r)},H5=(e,t,r)=>{for(const n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?xe(e[n])||e[n]instanceof String||xe(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):H5(e[n],t[n],r):e[n]=t[n]);return e},ws=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Mpe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const kpe=e=>xe(e)?e.replace(/[&<>"'\/]/g,t=>Mpe[t]):e;class jpe{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const qpe=[" ",",","?","!",";"],Lpe=new jpe(20),$pe=(e,t,r)=>{t=t||"",r=r||"";const n=qpe.filter(s=>t.indexOf(s)<0&&r.indexOf(s)<0);if(n.length===0)return!0;const o=Lpe.getRegExp(`(${n.map(s=>s==="?"?"\\?":s).join("|")})`);let i=!o.test(e);if(!i){const s=e.indexOf(r);s>0&&!o.test(e.substring(0,s))&&(i=!0)}return i},tv=(e,t,r=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const n=t.split(r);let o=e;for(let i=0;i<n.length;){if(!o||typeof o!="object")return;let s,a="";for(let u=i;u<n.length;++u)if(u!==i&&(a+=r),a+=n[u],s=o[a],s!==void 0){if(["string","number","boolean"].indexOf(typeof s)>-1&&u<n.length-1)continue;i+=u-i+1;break}o=s}return o},ku=e=>e==null?void 0:e.replace("_","-"),Dpe={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var r,n;(n=(r=console==null?void 0:console[e])==null?void 0:r.apply)==null||n.call(r,console,t)}};class Yp{constructor(t,r={}){this.init(t,r)}init(t,r={}){this.prefix=r.prefix||"i18next:",this.logger=t||Dpe,this.options=r,this.debug=r.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,o){return o&&!this.debug?null:(xe(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new Yp(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Yp(this.logger,t)}}var _n=new Yp;class vm{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);const o=this.observers[n].get(r)||0;this.observers[n].set(r,o+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t,...r){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([o,i])=>{for(let s=0;s<i;s++)o(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([o,i])=>{for(let s=0;s<i;s++)o.apply(o,[t,...r])})}}class iP extends vm{constructor(t,r={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n,o={}){var c,d;const i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,s=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;t.indexOf(".")>-1?a=t.split("."):(a=[t,r],n&&(Array.isArray(n)?a.push(...n):xe(n)&&i?a.push(...n.split(i)):a.push(n)));const u=Wp(this.data,a);return!u&&!r&&!n&&t.indexOf(".")>-1&&(t=a[0],r=a[1],n=a.slice(2).join(".")),u||!s||!xe(n)?u:tv((d=(c=this.data)==null?void 0:c[t])==null?void 0:d[r],n,i)}addResource(t,r,n,o,i={silent:!1}){const s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let a=[t,r];n&&(a=a.concat(s?n.split(s):n)),t.indexOf(".")>-1&&(a=t.split("."),o=r,r=a[1]),this.addNamespaces(r),oP(this.data,a,o),i.silent||this.emit("added",t,r,n,o)}addResources(t,r,n,o={silent:!1}){for(const i in n)(xe(n[i])||Array.isArray(n[i]))&&this.addResource(t,r,i,n[i],{silent:!0});o.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,o,i,s={silent:!1,skipCopy:!1}){let a=[t,r];t.indexOf(".")>-1&&(a=t.split("."),o=n,n=r,r=a[1]),this.addNamespaces(r);let u=Wp(this.data,a)||{};s.skipCopy||(n=JSON.parse(JSON.stringify(n))),o?H5(u,n,i):u={...u,...n},oP(this.data,a,u),s.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(o=>r[o]&&Object.keys(r[o]).length>0)}toJSON(){return this.data}}var J5={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,o){return e.forEach(i=>{var s;t=((s=this.processors[i])==null?void 0:s.process(t,r,n,o))??t}),t}};const sP={},aP=e=>!xe(e)&&typeof e!="boolean"&&typeof e!="number";class Xp extends vm{constructor(t,r={}){super(),Ape(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=_n.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,r={interpolation:{}}){const n={...r};if(t==null)return!1;const o=this.resolve(t,n);return(o==null?void 0:o.res)!==void 0}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let i=r.ns||this.options.defaultNS||[];const s=n&&t.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!$pe(t,n,o);if(s&&!a){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:xe(i)?[i]:i};const c=t.split(n);(n!==o||n===o&&this.options.ns.indexOf(c[0])>-1)&&(i=c.shift()),t=c.join(o)}return{key:t,namespaces:xe(i)?[i]:i}}translate(t,r,n){let o=typeof r=="object"?{...r}:r;if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof options=="object"&&(o={...o}),o||(o={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:a,namespaces:u}=this.extractFromKey(t[t.length-1],o),c=u[u.length-1];let d=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;d===void 0&&(d=":");const p=o.lng||this.language,h=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((p==null?void 0:p.toLowerCase())==="cimode")return h?i?{res:`${c}${d}${a}`,usedKey:a,exactUsedKey:a,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(o)}:`${c}${d}${a}`:i?{res:a,usedKey:a,exactUsedKey:a,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(o)}:a;const f=this.resolve(t,o);let m=f==null?void 0:f.res;const y=(f==null?void 0:f.usedKey)||a,g=(f==null?void 0:f.exactUsedKey)||a,b=["[object Number]","[object Function]","[object RegExp]"],v=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,T=o.count!==void 0&&!xe(o.count),O=Xp.hasDefaultValue(o),C=T?this.pluralResolver.getSuffix(p,o.count,o):"",E=o.ordinal&&T?this.pluralResolver.getSuffix(p,o.count,{ordinal:!1}):"",w=T&&!o.ordinal&&o.count===0,_=w&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${C}`]||o[`defaultValue${E}`]||o.defaultValue;let R=m;S&&!m&&O&&(R=_);const N=aP(R),j=Object.prototype.toString.apply(R);if(S&&R&&N&&b.indexOf(j)<0&&!(xe(v)&&Array.isArray(R))){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const D=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,R,{...o,ns:u}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(f.res=D,f.usedParams=this.getUsedParamsDetails(o),f):D}if(s){const D=Array.isArray(R),P=D?[]:{},M=D?g:y;for(const k in R)if(Object.prototype.hasOwnProperty.call(R,k)){const z=`${M}${s}${k}`;O&&!m?P[k]=this.translate(z,{...o,defaultValue:aP(_)?_[k]:void 0,joinArrays:!1,ns:u}):P[k]=this.translate(z,{...o,joinArrays:!1,ns:u}),P[k]===z&&(P[k]=R[k])}m=P}}else if(S&&xe(v)&&Array.isArray(m))m=m.join(v),m&&(m=this.extendTranslation(m,t,o,n));else{let D=!1,P=!1;!this.isValidLookup(m)&&O&&(D=!0,m=_),this.isValidLookup(m)||(P=!0,m=a);const k=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:m,z=O&&_!==m&&this.options.updateMissing;if(P||D||z){if(this.logger.log(z?"updateKey":"missingKey",p,c,a,z?_:m),s){const oe=this.resolve(a,{...o,keySeparator:!1});oe&&oe.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let J=[];const ie=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ie&&ie[0])for(let oe=0;oe<ie.length;oe++)J.push(ie[oe]);else this.options.saveMissingTo==="all"?J=this.languageUtils.toResolveHierarchy(o.lng||this.language):J.push(o.lng||this.language);const pe=(oe,q,H)=>{var ne;const X=O&&H!==m?H:k;this.options.missingKeyHandler?this.options.missingKeyHandler(oe,c,q,X,z,o):(ne=this.backendConnector)!=null&&ne.saveMissing&&this.backendConnector.saveMissing(oe,c,q,X,z,o),this.emit("missingKey",oe,c,q,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?J.forEach(oe=>{const q=this.pluralResolver.getSuffixes(oe,o);w&&o[`defaultValue${this.options.pluralSeparator}zero`]&&q.indexOf(`${this.options.pluralSeparator}zero`)<0&&q.push(`${this.options.pluralSeparator}zero`),q.forEach(H=>{pe([oe],a+H,o[`defaultValue${H}`]||_)})}):pe(J,a,_))}m=this.extendTranslation(m,t,o,f,n),P&&m===a&&this.options.appendNamespaceToMissingKey&&(m=`${c}${d}${a}`),(P||D)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}${d}${a}`:a,D?m:void 0,o))}return i?(f.res=m,f.usedParams=this.getUsedParamsDetails(o),f):m}extendTranslation(t,r,n,o,i){var u,c;if((u=this.i18nFormat)!=null&&u.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const d=xe(t)&&(((c=n==null?void 0:n.interpolation)==null?void 0:c.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let p;if(d){const f=t.match(this.interpolator.nestingRegexp);p=f&&f.length}let h=n.replace&&!xe(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),t=this.interpolator.interpolate(t,h,n.lng||this.language||o.usedLng,n),d){const f=t.match(this.interpolator.nestingRegexp),m=f&&f.length;p<m&&(n.nest=!1)}!n.lng&&o&&o.res&&(n.lng=this.language||o.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,(...f)=>(i==null?void 0:i[0])===f[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${r[0]}`),null):this.translate(...f,r),n)),n.interpolation&&this.interpolator.reset()}const s=n.postProcess||this.options.postProcess,a=xe(s)?[s]:s;return t!=null&&(a!=null&&a.length)&&n.applyPostProcessor!==!1&&(t=J5.handle(a,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t,r={}){let n,o,i,s,a;return xe(t)&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(n))return;const c=this.extractFromKey(u,r),d=c.key;o=d;let p=c.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const h=r.count!==void 0&&!xe(r.count),f=h&&!r.ordinal&&r.count===0,m=r.context!==void 0&&(xe(r.context)||typeof r.context=="number")&&r.context!=="",y=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);p.forEach(g=>{var b,v;this.isValidLookup(n)||(a=g,!sP[`${y[0]}-${g}`]&&((b=this.utils)!=null&&b.hasLoadedNamespace)&&!((v=this.utils)!=null&&v.hasLoadedNamespace(a))&&(sP[`${y[0]}-${g}`]=!0,this.logger.warn(`key "${o}" for languages "${y.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(S=>{var C;if(this.isValidLookup(n))return;s=S;const T=[d];if((C=this.i18nFormat)!=null&&C.addLookupKeys)this.i18nFormat.addLookupKeys(T,d,S,g,r);else{let E;h&&(E=this.pluralResolver.getSuffix(S,r.count,r));const w=`${this.options.pluralSeparator}zero`,_=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(h&&(T.push(d+E),r.ordinal&&E.indexOf(_)===0&&T.push(d+E.replace(_,this.options.pluralSeparator)),f&&T.push(d+w)),m){const R=`${d}${this.options.contextSeparator}${r.context}`;T.push(R),h&&(T.push(R+E),r.ordinal&&E.indexOf(_)===0&&T.push(R+E.replace(_,this.options.pluralSeparator)),f&&T.push(R+w))}}let O;for(;O=T.pop();)this.isValidLookup(n)||(i=O,n=this.getResource(S,g,O,r))}))})}),{res:n,usedKey:o,exactUsedKey:i,usedLng:s,usedNS:a}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n,o={}){var i;return(i=this.i18nFormat)!=null&&i.getResource?this.i18nFormat.getResource(t,r,n,o):this.resourceStore.getResource(t,r,n,o)}getUsedParamsDetails(t={}){const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!xe(t.replace);let o=n?t.replace:t;if(n&&typeof t.count<"u"&&(o.count=t.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!n){o={...o};for(const i of r)delete o[i]}return o}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}}class lP{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=_n.create("languageUtils")}getScriptPartFromCode(t){if(t=ku(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=ku(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(xe(t)&&t.indexOf("-")>-1){let r;try{r=Intl.getCanonicalLocales(t)[0]}catch{}return r&&this.options.lowerCaseLng&&(r=r.toLowerCase()),r||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const o=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(o))&&(r=o)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const o=this.getScriptPartFromCode(n);if(this.isSupportedCode(o))return r=o;const i=this.getLanguagePartFromCode(n);if(this.isSupportedCode(i))return r=i;r=this.options.supportedLngs.find(s=>{if(s===i)return s;if(!(s.indexOf("-")<0&&i.indexOf("-")<0)&&(s.indexOf("-")>0&&i.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===i||s.indexOf(i)===0&&i.length>1))return s})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),xe(t)&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes((r===!1?[]:r)||this.options.fallbackLng||[],t),o=[],i=s=>{s&&(this.isSupportedCode(s)?o.push(s):this.logger.warn(`rejecting language code not found in supportedLngs: ${s}`))};return xe(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):xe(t)&&i(this.formatLanguageCode(t)),n.forEach(s=>{o.indexOf(s)<0&&i(this.formatLanguageCode(s))}),o}}const uP={zero:0,one:1,two:2,few:3,many:4,other:5},cP={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Fpe{constructor(t,r={}){this.languageUtils=t,this.options=r,this.logger=_n.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,r){this.rules[t]=r}clearCache(){this.pluralRulesCache={}}getRule(t,r={}){const n=ku(t==="dev"?"en":t),o=r.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:o});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let s;try{s=new Intl.PluralRules(n,{type:o})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),cP;if(!t.match(/-|_/))return cP;const u=this.languageUtils.getLanguagePartFromCode(t);s=this.getRule(u,r)}return this.pluralRulesCache[i]=s,s}needsPlural(t,r={}){let n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),(n==null?void 0:n.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,r,n={}){return this.getSuffixes(t,n).map(o=>`${r}${o}`)}getSuffixes(t,r={}){let n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?n.resolvedOptions().pluralCategories.sort((o,i)=>uP[o]-uP[i]).map(o=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o}`):[]}getSuffix(t,r,n={}){const o=this.getRule(t,n);return o?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o.select(r)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",r,n))}}const dP=(e,t,r,n=".",o=!0)=>{let i=Ipe(e,t,r);return!i&&o&&xe(r)&&(i=tv(e,r,n),i===void 0&&(i=tv(t,r,n))),i},uy=e=>e.replace(/\$/g,"$$$$");class Bpe{constructor(t={}){var r;this.logger=_n.create("interpolator"),this.options=t,this.format=((r=t==null?void 0:t.interpolation)==null?void 0:r.format)||(n=>n),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:n,useRawValueToEscape:o,prefix:i,prefixEscaped:s,suffix:a,suffixEscaped:u,formatSeparator:c,unescapeSuffix:d,unescapePrefix:p,nestingPrefix:h,nestingPrefixEscaped:f,nestingSuffix:m,nestingSuffixEscaped:y,nestingOptionsSeparator:g,maxReplaces:b,alwaysFormat:v}=t.interpolation;this.escape=r!==void 0?r:kpe,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=i?ws(i):s||"{{",this.suffix=a?ws(a):u||"}}",this.formatSeparator=c||",",this.unescapePrefix=d?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=h?ws(h):f||ws("$t("),this.nestingSuffix=m?ws(m):y||ws(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=b||1e3,this.alwaysFormat=v!==void 0?v:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>(r==null?void 0:r.source)===n?(r.lastIndex=0,r):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,n,o){var f;let i,s,a;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=m=>{if(m.indexOf(this.formatSeparator)<0){const v=dP(r,u,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(v,void 0,n,{...o,...r,interpolationkey:m}):v}const y=m.split(this.formatSeparator),g=y.shift().trim(),b=y.join(this.formatSeparator).trim();return this.format(dP(r,u,g,this.options.keySeparator,this.options.ignoreJSONStructure),b,n,{...o,...r,interpolationkey:g})};this.resetRegExp();const d=(o==null?void 0:o.missingInterpolationHandler)||this.options.missingInterpolationHandler,p=((f=o==null?void 0:o.interpolation)==null?void 0:f.skipOnVariables)!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>uy(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?uy(this.escape(m)):uy(m)}].forEach(m=>{for(a=0;i=m.regex.exec(t);){const y=i[1].trim();if(s=c(y),s===void 0)if(typeof d=="function"){const b=d(t,i,o);s=xe(b)?b:""}else if(o&&Object.prototype.hasOwnProperty.call(o,y))s="";else if(p){s=i[0];continue}else this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`),s="";else!xe(s)&&!this.useRawValueToEscape&&(s=tP(s));const g=m.safeValue(s);if(t=t.replace(i[0],g),p?(m.regex.lastIndex+=s.length,m.regex.lastIndex-=i[0].length):m.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),t}nest(t,r,n={}){let o,i,s;const a=(u,c)=>{const d=this.nestingOptionsSeparator;if(u.indexOf(d)<0)return u;const p=u.split(new RegExp(`${d}[ ]*{`));let h=`{${p[1]}`;u=p[0],h=this.interpolate(h,s);const f=h.match(/'/g),m=h.match(/"/g);(((f==null?void 0:f.length)??0)%2===0&&!m||m.length%2!==0)&&(h=h.replace(/'/g,'"'));try{s=JSON.parse(h),c&&(s={...c,...s})}catch(y){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,y),`${u}${d}${h}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,u};for(;o=this.nestingRegexp.exec(t);){let u=[];s={...n},s=s.replace&&!xe(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;let c=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const d=o[1].split(this.formatSeparator).map(p=>p.trim());o[1]=d.shift(),u=d,c=!0}if(i=r(a.call(this,o[1].trim(),s),s),i&&o[0]===t&&!xe(i))return i;xe(i)||(i=tP(i)),i||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`),i=""),c&&(i=u.reduce((d,p)=>this.format(d,p,n.lng,{...n,interpolationkey:o[1].trim()}),i.trim())),t=t.replace(o[0],i),this.regexp.lastIndex=0}return t}}const Upe=e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const o=n[1].substring(0,n[1].length-1);t==="currency"&&o.indexOf(":")<0?r.currency||(r.currency=o.trim()):t==="relativetime"&&o.indexOf(":")<0?r.range||(r.range=o.trim()):o.split(";").forEach(s=>{if(s){const[a,...u]=s.split(":"),c=u.join(":").trim().replace(/^'+|'+$/g,""),d=a.trim();r[d]||(r[d]=c),c==="false"&&(r[d]=!1),c==="true"&&(r[d]=!0),isNaN(c)||(r[d]=parseInt(c,10))}})}return{formatName:t,formatOptions:r}},pP=e=>{const t={};return(r,n,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i={...i,[o.interpolationkey]:void 0});const s=n+JSON.stringify(i);let a=t[s];return a||(a=e(ku(n),o),t[s]=a),a(r)}},Vpe=e=>(t,r,n)=>e(ku(r),n)(t);class Hpe{constructor(t={}){this.logger=_n.create("formatter"),this.options=t,this.init(t)}init(t,r={interpolation:{}}){this.formatSeparator=r.interpolation.formatSeparator||",";const n=r.cacheInBuiltFormats?pP:Vpe;this.formats={number:n((o,i)=>{const s=new Intl.NumberFormat(o,{...i});return a=>s.format(a)}),currency:n((o,i)=>{const s=new Intl.NumberFormat(o,{...i,style:"currency"});return a=>s.format(a)}),datetime:n((o,i)=>{const s=new Intl.DateTimeFormat(o,{...i});return a=>s.format(a)}),relativetime:n((o,i)=>{const s=new Intl.RelativeTimeFormat(o,{...i});return a=>s.format(a,i.range||"day")}),list:n((o,i)=>{const s=new Intl.ListFormat(o,{...i});return a=>s.format(a)})}}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=pP(r)}format(t,r,n,o={}){const i=r.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(a=>a.indexOf(")")>-1)){const a=i.findIndex(u=>u.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,a)].join(this.formatSeparator)}return i.reduce((a,u)=>{var p;const{formatName:c,formatOptions:d}=Upe(u);if(this.formats[c]){let h=a;try{const f=((p=o==null?void 0:o.formatParams)==null?void 0:p[o.interpolationkey])||{},m=f.locale||f.lng||o.locale||o.lng||n;h=this.formats[c](a,m,{...d,...o,...f})}catch(f){this.logger.warn(f)}return h}else this.logger.warn(`there was no format function for ${c}`);return a},t)}}const Jpe=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class zpe extends vm{constructor(t,r,n,o={}){var i,s;super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=o,this.logger=_n.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],(s=(i=this.backend)==null?void 0:i.init)==null||s.call(i,n,o.backend,o)}queueLoad(t,r,n,o){const i={},s={},a={},u={};return t.forEach(c=>{let d=!0;r.forEach(p=>{const h=`${c}|${p}`;!n.reload&&this.store.hasResourceBundle(c,p)?this.state[h]=2:this.state[h]<0||(this.state[h]===1?s[h]===void 0&&(s[h]=!0):(this.state[h]=1,d=!1,s[h]===void 0&&(s[h]=!0),i[h]===void 0&&(i[h]=!0),u[p]===void 0&&(u[p]=!0)))}),d||(a[c]=!0)}),(Object.keys(i).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(i),pending:Object.keys(s),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(u)}}loaded(t,r,n){const o=t.split("|"),i=o[0],s=o[1];r&&this.emit("failedLoading",i,s,r),!r&&n&&this.store.addResourceBundle(i,s,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);const a={};this.queue.forEach(u=>{Npe(u.loaded,[i],s),Jpe(u,t),r&&u.errors.push(r),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(c=>{a[c]||(a[c]={});const d=u.loaded[c];d.length&&d.forEach(p=>{a[c][p]===void 0&&(a[c][p]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(u=>!u.done)}read(t,r,n,o=0,i=this.retryTimeout,s){if(!t.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:o,wait:i,callback:s});return}this.readingCalls++;const a=(c,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(c&&d&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,o+1,i*2,s)},i);return}s(c,d)},u=this.backend[n].bind(this.backend);if(u.length===2){try{const c=u(t,r);c&&typeof c.then=="function"?c.then(d=>a(null,d)).catch(a):a(null,c)}catch(c){a(c)}return}return u(t,r,a)}prepareLoading(t,r,n={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();xe(t)&&(t=this.languageUtils.toResolveHierarchy(t)),xe(r)&&(r=[r]);const i=this.queueLoad(t,r,n,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(s=>{this.loadOne(s)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t,r=""){const n=t.split("|"),o=n[0],i=n[1];this.read(o,i,"read",void 0,void 0,(s,a)=>{s&&this.logger.warn(`${r}loading namespace ${i} for language ${o} failed`,s),!s&&a&&this.logger.log(`${r}loaded namespace ${i} for language ${o}`,a),this.loaded(t,s,a)})}saveMissing(t,r,n,o,i,s={},a=()=>{}){var u,c,d,p,h;if((c=(u=this.services)==null?void 0:u.utils)!=null&&c.hasLoadedNamespace&&!((p=(d=this.services)==null?void 0:d.utils)!=null&&p.hasLoadedNamespace(r))){this.logger.warn(`did not save key "${n}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if((h=this.backend)!=null&&h.create){const f={...s,isUpdate:i},m=this.backend.create.bind(this.backend);if(m.length<6)try{let y;m.length===5?y=m(t,r,n,o,f):y=m(t,r,n,o),y&&typeof y.then=="function"?y.then(g=>a(null,g)).catch(a):a(null,y)}catch(y){a(y)}else m(t,r,n,o,a,f)}!t||!t[0]||this.store.addResource(t[0],r,n,o)}}}const fP=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),xe(e[1])&&(t.defaultValue=e[1]),xe(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(n=>{t[n]=r[n]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),hP=e=>{var t,r;return xe(e.ns)&&(e.ns=[e.ns]),xe(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),xe(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),((r=(t=e.supportedLngs)==null?void 0:t.indexOf)==null?void 0:r.call(t,"cimode"))<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e},Kc=()=>{},Kpe=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})};class ju extends vm{constructor(t={},r){if(super(),this.options=hP(t),this.services={},this.logger=_n,this.modules={external:[]},Kpe(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(t={},r){this.isInitializing=!0,typeof t=="function"&&(r=t,t={}),t.defaultNS==null&&t.ns&&(xe(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=fP();this.options={...n,...this.options,...hP(t)},this.options.interpolation={...n.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const o=c=>c?typeof c=="function"?new c:c:null;if(!this.options.isClone){this.modules.logger?_n.init(o(this.modules.logger),this.options):_n.init(null,this.options);let c;this.modules.formatter?c=this.modules.formatter:c=Hpe;const d=new lP(this.options);this.store=new iP(this.options.resources,this.options);const p=this.services;p.logger=_n,p.resourceStore=this.store,p.languageUtils=d,p.pluralResolver=new Fpe(d,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),c&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(p.formatter=o(c),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new Bpe(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new zpe(o(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",(h,...f)=>{this.emit(h,...f)}),this.modules.languageDetector&&(p.languageDetector=o(this.modules.languageDetector),p.languageDetector.init&&p.languageDetector.init(p,this.options.detection,this.options)),this.modules.i18nFormat&&(p.i18nFormat=o(this.modules.i18nFormat),p.i18nFormat.init&&p.i18nFormat.init(this)),this.translator=new Xp(this.services,this.options),this.translator.on("*",(h,...f)=>{this.emit(h,...f)}),this.modules.external.forEach(h=>{h.init&&h.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Kc),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&c[0]!=="dev"&&(this.options.lng=c[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(c=>{this[c]=(...d)=>this.store[c](...d)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(c=>{this[c]=(...d)=>(this.store[c](...d),this)});const a=sl(),u=()=>{const c=(d,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(p),r(d,p)};if(this.languages&&!this.isInitialized)return c(null,this.t.bind(this));this.changeLanguage(this.options.lng,c)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),a}loadResources(t,r=Kc){var i,s;let n=r;const o=xe(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if((o==null?void 0:o.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const a=[],u=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(p=>{p!=="cimode"&&a.indexOf(p)<0&&a.push(p)})};o?u(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(d=>u(d)),(s=(i=this.options.preload)==null?void 0:i.forEach)==null||s.call(i,c=>u(c)),this.services.backendConnector.load(a,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(c)})}else n(null)}reloadResources(t,r,n){const o=sl();return typeof t=="function"&&(n=t,t=void 0),typeof r=="function"&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=Kc),this.services.backendConnector.reload(t,r,i=>{o.resolve(),n(i)}),o}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&J5.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1)){for(let r=0;r<this.languages.length;r++){const n=this.languages[r];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,r){this.isLanguageChangingTo=t;const n=sl();this.emit("languageChanging",t);const o=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},i=(a,u)=>{u?this.isLanguageChangingTo===t&&(o(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,n.resolve((...c)=>this.t(...c)),r&&r(a,(...c)=>this.t(...c))},s=a=>{var d,p;!t&&!a&&this.services.languageDetector&&(a=[]);const u=xe(a)?a:a&&a[0],c=this.store.hasLanguageSomeTranslations(u)?u:this.services.languageUtils.getBestMatchFromCodes(xe(a)?[a]:a);c&&(this.language||o(c),this.translator.language||this.translator.changeLanguage(c),(p=(d=this.services.languageDetector)==null?void 0:d.cacheUserLanguage)==null||p.call(d,c)),this.loadResources(c,h=>{i(h,c)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),n}getFixedT(t,r,n){const o=(i,s,...a)=>{let u;typeof s!="object"?u=this.options.overloadTranslationOptionHandler([i,s].concat(a)):u={...s},u.lng=u.lng||o.lng,u.lngs=u.lngs||o.lngs,u.ns=u.ns||o.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||n||o.keyPrefix);const c=this.options.keySeparator||".";let d;return u.keyPrefix&&Array.isArray(i)?d=i.map(p=>`${u.keyPrefix}${c}${p}`):d=u.keyPrefix?`${u.keyPrefix}${c}${i}`:i,this.t(d,u)};return xe(t)?o.lng=t:o.lngs=t,o.ns=r,o.keyPrefix=n,o}t(...t){var r;return(r=this.translator)==null?void 0:r.translate(...t)}exists(...t){var r;return(r=this.translator)==null?void 0:r.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,r={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=r.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const s=(a,u)=>{const c=this.services.backendConnector.state[`${a}|${u}`];return c===-1||c===0||c===2};if(r.precheck){const a=r.precheck(this,s);if(a!==void 0)return a}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(n,t)&&(!o||s(i,t)))}loadNamespaces(t,r){const n=sl();return this.options.ns?(xe(t)&&(t=[t]),t.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{n.resolve(),r&&r(o)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=sl();xe(t)&&(t=[t]);const o=this.options.preload||[],i=t.filter(s=>o.indexOf(s)<0&&this.services.languageUtils.isSupportedCode(s));return i.length?(this.options.preload=o.concat(i),this.loadResources(s=>{n.resolve(),r&&r(s)}),n):(r&&r(),Promise.resolve())}dir(t){var o,i;if(t||(t=this.resolvedLanguage||(((o=this.languages)==null?void 0:o.length)>0?this.languages[0]:this.language)),!t)return"rtl";const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=((i=this.services)==null?void 0:i.languageUtils)||new lP(fP());return r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},r){return new ju(t,r)}cloneInstance(t={},r=Kc){const n=t.forkResourceStore;n&&delete t.forkResourceStore;const o={...this.options,...t,isClone:!0},i=new ju(o);if((t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(a=>{i[a]=this[a]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n){const a=Object.keys(this.store.data).reduce((u,c)=>(u[c]={...this.store.data[c]},u[c]=Object.keys(u[c]).reduce((d,p)=>(d[p]={...u[c][p]},d),u[c]),u),{});i.store=new iP(a,o),i.services.resourceStore=i.store}return i.translator=new Xp(i.services,o),i.translator.on("*",(a,...u)=>{i.emit(a,...u)}),i.init(o,r),i.translator.options=o,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const St=ju.createInstance();St.createInstance=ju.createInstance;St.createInstance;St.dir;St.init;St.loadResources;St.reloadResources;St.use;St.changeLanguage;St.getFixedT;St.t;St.exists;St.setDefaultNamespace;St.hasLoadedNamespace;St.loadNamespaces;St.loadLanguages;const Gpe="en-US",Wpe={"en-US":()=>we(()=>import("./bundled-translations-BoWhEDU_.js"),[],import.meta.url),"de-DE":()=>we(()=>import("./bundled-translations.de-DE-C4lqla4O.js"),[],import.meta.url),"fr-FR":()=>we(()=>import("./bundled-translations.fr-FR-N7UPCZVr.js"),[],import.meta.url),"fr-CA":()=>we(()=>import("./bundled-translations.fr-CA-MxZpyz0w.js"),[],import.meta.url),"es-ES":()=>we(()=>import("./bundled-translations.es-ES-BxMIllUH.js"),[],import.meta.url),"pt-PT":()=>we(()=>import("./bundled-translations.pt-PT-Dszj5Xfa.js"),[],import.meta.url),"pt-BR":()=>we(()=>import("./bundled-translations.pt-BR-C8tscYuG.js"),[],import.meta.url)},z5=async(e="en-US")=>{const t=e||"en-US";St.isInitialized||await St.init({debug:!1,fallbackLng:Gpe,lng:t});const r=(await Wpe[t]()).default;await St.addResourceBundle(t,"fe-shared-lib",{...r}),await St.changeLanguage(t)},hn=(e,t={})=>St.t(e,{ns:"fe-shared-lib",...t}),Nhe=(e,t={})=>hn(`uploadYourLogo.${e}`,t),Ihe=(e,t={})=>hn(`publishBrandPageModal.${e}`,t),Mhe=(e,t={})=>hn(`sellDomainNameWidget.${e}`,t),khe=(e,t={})=>hn(`sellDomainNameListSearchResult.${e}`,t),jhe=(e,t={})=>hn(`sellDomainNameSearch.${e}`,t),qhe=(e,t={})=>hn(`sellDomainNameListModal.${e}`,t),Lhe=(e,t={})=>hn(`sellDomainNameList.${e}`,t),$he=(e,t={})=>hn(`sharedPaymentConfig.${e}`,t),Dhe=(e,t={})=>hn(`price.${e}`,t),Fhe=(e,t={})=>hn(`uploadLogoSearchResultCard.${e}`,t),Bhe=(e,t={})=>hn(`websiteContextualUpgradeModal.${e}`,t),Uhe=()=>St.language||"en-US",Vhe=(e,t,r,n=0,o=!1)=>{let i=St.t("{{val, currency}}",{ns:"fe-shared-lib",val:e,currency:r.iso4127Code,locale:t,maximumFractionDigits:n,useGrouping:!1});const s=r.abbreviation.trim(),a=r.symbol.trim();if(i.includes(r.iso4127Code)&&(i=i.replace(r.iso4127Code,a)),r.symbol.trim()!=="$")return i;const u="AU";return o&&!i.includes(s)?i.replace(a,`${s}${a}`):!o&&i.includes(u)?i.replace(u,""):!o&&i.includes(s)?i.replace(s,""):i};z5("en-US");const Ype={"en-US":"🇺🇸 English (US)","fr-FR":"🇫🇷 Français (France)","es-ES":"🇪🇸 Español (Spain)","pt-PT":"🇵🇹 Português (Portugal)","de-DE":"🇩🇪 Deutsch (Germany)","fr-CA":"🇨🇦 Français (Canada)","pt-BR":"🇧🇷 Português (Brazil)"},Xpe=async e=>{const t=e.globals.locale||"en-US";return await z5(t),{locale:t}},Qpe={locale:{name:"Locale",description:"Internationalization locale",defaultValue:"en-US",toolbar:{icon:"globe",items:Object.entries(Ype).map(([e,t])=>({value:e,title:t})),showName:!0,dynamicTitle:!0}}},Zpe=[Ppe({themes:{designCom:"theme-designCom",brandCrowd:"theme-brandCrowd",crazyDomain:"theme-crazyDomains",designCrowd:"theme-designCrowd",brandPage:"theme-brandPage"},defaultTheme:"brandCrowd"})],efe=[Xpe],tfe=Object.freeze(Object.defineProperty({__proto__:null,decorators:Zpe,globalTypes:Qpe,loaders:efe},Symbol.toStringTag,{value:"Module"}));FS();const{composeConfigs:rfe,PreviewWeb:nfe}=__STORYBOOK_MODULE_PREVIEW_API__,ofe=(e=[])=>{const t=[e[0]??wde,e[1]??kde,e[2]??Xde,e[3]??upe,e[4]??ppe,e[5]??tfe];return rfe(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new nfe(yie,ofe);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{Bhe as $,PV as A,Hx as B,_3 as C,WV as D,Ys as E,qt as F,O3 as G,z5 as H,yc as I,GV as J,UH as K,Vhe as L,Dhe as M,_u as N,Uhe as O,$he as P,Ihe as Q,qhe as R,jhe as S,p3 as T,Lhe as U,khe as V,Mhe as W,Nhe as X,Phe as Y,Fhe as Z,uc as _,zV as a,za as b,DH as c,im as d,cm as e,VH as f,QV as g,rt as h,Js as i,Ka as j,am as k,hc as l,Lx as m,Ja as n,Ea as o,mc as p,Dx as q,YV as r,fi as s,dx as t,dc as u,_x as v,Bi as w,rm as x,Cu as y,dm as z};
|