@scattered-light/loomiere-base-ui 0.6.0 → 0.7.0
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/README.md +135 -5
- package/dist/chunk-JUUPOOQQ.js +3723 -0
- package/dist/chunk-JUUPOOQQ.js.map +1 -0
- package/dist/chunk-M7KJASGK.js +802 -0
- package/dist/chunk-M7KJASGK.js.map +1 -0
- package/dist/chunk-Y2CPBMFJ.js +147 -0
- package/dist/chunk-Y2CPBMFJ.js.map +1 -0
- package/dist/custom/collection/index.d.ts +534 -0
- package/dist/custom/collection/index.js +1471 -0
- package/dist/custom/collection/index.js.map +1 -0
- package/dist/custom/index.d.ts +5 -0
- package/dist/custom/index.js +4 -0
- package/dist/custom/index.js.map +1 -0
- package/dist/design-system/components/Badge/README.md +35 -0
- package/dist/design-system/components/Badge/preview.html +19 -0
- package/dist/design-system/components/Collection/README.md +14 -0
- package/dist/design-system/components/CollectionPagination/README.md +15 -0
- package/dist/design-system/components/CollectionToolbar/README.md +24 -0
- package/dist/design-system/components/DataList/README.md +39 -0
- package/dist/design-system/components/DataList/preview.html +475 -0
- package/dist/design-system/components/DataTable/README.md +41 -0
- package/dist/design-system/components/DataTable/preview.html +475 -0
- package/dist/design-system/components/DatePicker/README.md +55 -0
- package/dist/design-system/components/DatePicker/preview.html +475 -0
- package/dist/design-system/components/EditableList/README.md +33 -0
- package/dist/design-system/components/EditableList/preview.html +475 -0
- package/dist/design-system/components/EmptyState/README.md +60 -0
- package/dist/design-system/components/EmptyState/preview.html +475 -0
- package/dist/design-system/components/ListDetail/README.md +43 -0
- package/dist/design-system/components/ListDetail/preview.html +475 -0
- package/dist/design-system/components/MoneyField/README.md +52 -0
- package/dist/design-system/components/MoneyField/preview.html +475 -0
- package/dist/design-system/components/Splitter/README.md +42 -0
- package/dist/design-system/components/Splitter/preview.html +475 -0
- package/dist/design-system/components/Table/README.md +2 -1
- package/dist/design-system/components/Table/preview.html +1 -1
- package/dist/design-system/components/bundle.js +7 -5
- package/dist/design-system/components/index.d.ts +3 -21
- package/dist/design-system/components/styles.css +2266 -186
- package/dist/index-ChJXlxzq.d.ts +809 -0
- package/dist/index.d.ts +3 -21
- package/dist/index.js +176 -891
- package/dist/index.js.map +1 -1
- package/dist/styles/components/Accordion.css +1 -1
- package/dist/styles/components/AlertDialog.css +1 -1
- package/dist/styles/components/Autocomplete.css +1 -1
- package/dist/styles/components/Avatar.css +1 -1
- package/dist/styles/components/Button.css +1 -1
- package/dist/styles/components/Checkbox.css +1 -1
- package/dist/styles/components/CheckboxGroup.css +1 -1
- package/dist/styles/components/Collapsible.css +1 -1
- package/dist/styles/components/Combobox.css +1 -1
- package/dist/styles/components/ContextMenu.css +1 -1
- package/dist/styles/components/Dialog.css +1 -1
- package/dist/styles/components/Drawer.css +1 -1
- package/dist/styles/components/Field.css +1 -1
- package/dist/styles/components/Fieldset.css +1 -1
- package/dist/styles/components/Form.css +1 -1
- package/dist/styles/components/Input.css +1 -1
- package/dist/styles/components/Menu.css +1 -1
- package/dist/styles/components/Menubar.css +1 -1
- package/dist/styles/components/Meter.css +1 -1
- package/dist/styles/components/NavigationMenu.css +1 -1
- package/dist/styles/components/NumberField.css +1 -1
- package/dist/styles/components/OTPField.css +1 -1
- package/dist/styles/components/Popover.css +1 -1
- package/dist/styles/components/PreviewCard.css +1 -1
- package/dist/styles/components/Progress.css +1 -1
- package/dist/styles/components/Radio.css +1 -1
- package/dist/styles/components/ScrollArea.css +1 -1
- package/dist/styles/components/Select.css +1 -1
- package/dist/styles/components/Separator.css +1 -1
- package/dist/styles/components/Slider.css +1 -1
- package/dist/styles/components/Switch.css +1 -1
- package/dist/styles/components/Tabs.css +1 -1
- package/dist/styles/components/Toast.css +1 -1
- package/dist/styles/components/Toggle.css +1 -1
- package/dist/styles/components/ToggleGroup.css +1 -1
- package/dist/styles/components/Toolbar.css +1 -1
- package/dist/styles/components/Tooltip.css +1 -1
- package/dist/styles/custom/Badge.css +104 -0
- package/dist/styles/custom/Collection.css +15 -0
- package/dist/styles/custom/CollectionPagination.css +24 -0
- package/dist/styles/custom/CollectionToolbar.css +57 -0
- package/dist/styles/custom/DataList.css +123 -0
- package/dist/styles/custom/DataTable.css +120 -0
- package/dist/styles/custom/DatePicker.css +572 -0
- package/dist/styles/custom/EditableList.css +98 -0
- package/dist/styles/custom/EmptyState.css +255 -0
- package/dist/styles/custom/ListDetail.css +126 -0
- package/dist/styles/custom/MoneyField.css +344 -0
- package/dist/styles/custom/Splitter.css +207 -0
- package/dist/styles/{components → custom}/Table.css +31 -4
- package/dist/styles/index.css +12 -2
- package/dist/styles/reset/accessibility.css +1 -1
- package/dist/styles/reset/reset-accessibility.css +1 -1
- package/dist/styles/reset/reset-tailwind.css +1 -1
- package/dist/styles/reset/reset.css +1 -1
- package/dist/styles/tailwind.css +12 -2
- package/package.json +36 -8
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
<!-- @dsCard group="Forms" height=480 subtitle="Balanced / Under / Over / SourceFields" -->
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<style>
|
|
7
|
+
body { margin: 0; padding: var(--sl-space-4, 16px); background: var(--sl-surface-canvas); color: var(--sl-text-primary); }
|
|
8
|
+
#root { display: grid; gap: var(--sl-space-5, 20px); }
|
|
9
|
+
.ds-story-name { margin: 0 0 var(--sl-space-2, 8px); font: var(--sl-font-label-minimize-font, 500 10px sans-serif); color: var(--sl-text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; }
|
|
10
|
+
</style>
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<div id="root"></div>
|
|
14
|
+
<script>
|
|
15
|
+
(()=>{var Y_=Object.create;var zo=Object.defineProperty;var W_=Object.getOwnPropertyDescriptor;var K_=Object.getOwnPropertyNames;var X_=Object.getPrototypeOf,J_=Object.prototype.hasOwnProperty;var Q_=(e,t,r)=>t in e?zo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ee=(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')});var Hd=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Vd=(e,t)=>{for(var r in t)zo(e,r,{get:t[r],enumerable:!0})},Z_=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of K_(t))!J_.call(e,o)&&o!==r&&zo(e,o,{get:()=>t[o],enumerable:!(n=W_(t,o))||n.enumerable});return e};var Gd=(e,t,r)=>(r=e!=null?Y_(X_(e)):{},Z_(t||!e||!e.__esModule?zo(r,"default",{value:e,enumerable:!0}):r,e));var Ae=(e,t,r)=>Q_(e,typeof t!="symbol"?t+"":t,r);var Yd=Hd((X9,zd)=>{zd.exports=window.React});var G_=Hd((dG,V_)=>{V_.exports=window.Loomiere});var Ud={};Vd(Ud,{AddAndRemove:()=>G9,Balanced:()=>D9,InAForm:()=>U9,Over:()=>L9,RemoveKeepsTheNextValue:()=>V9,RowErrors:()=>k9,SourceFields:()=>B9,Stacked:()=>$9,Under:()=>F9,default:()=>$d});var kd=Gd(Yd(),1);var Ie=(()=>{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})();var eR=Object.defineProperty,rr=(e,t)=>eR(e,"name",{value:t,configurable:!0}),tR=(()=>{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})(),{LOGLEVEL:rR}=tR,nr={trace:1,debug:2,info:3,warn:4,error:5,silent:10},nR=rR,Qr=nr[nR]||nr.info,se={trace:rr((e,...t)=>{Qr<=nr.trace&&console.trace(e,...t)},"trace"),debug:rr((e,...t)=>{Qr<=nr.debug&&console.debug(e,...t)},"debug"),info:rr((e,...t)=>{Qr<=nr.info&&console.info(e,...t)},"info"),warn:rr((e,...t)=>{Qr<=nr.warn&&console.warn(e,...t)},"warn"),error:rr((e,...t)=>{Qr<=nr.error&&console.error(e,...t)},"error"),log:rr((e,...t)=>{Qr<nr.silent&&console.log(e,...t)},"log")},ps=new Set,we=rr(e=>(t,...r)=>{if(!ps.has(t))return ps.add(t),se[e](t,...r)},"once");we.clear=()=>ps.clear();we.trace=we("trace");we.debug=we("debug");we.info=we("info");we.warn=we("warn");we.error=we("error");we.log=we("log");var Ft=we("warn"),lt=rr(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,a;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));a=n.exec(t[0]);)r.push(a[2]),r.push("");for(let i=1;i<t.length;i++)r.push(t[i])}se[e].apply(se,r)},"pretty");lt.trace=lt("trace");lt.debug=lt("debug");lt.info=lt("info");lt.warn=lt("warn");lt.error=lt("error");var Jo={};Vd(Jo,{ARGTYPES_INFO_REQUEST:()=>xs,ARGTYPES_INFO_RESPONSE:()=>Xo,CHANNEL_CREATED:()=>aR,CHANNEL_WS_DISCONNECT:()=>ms,CONFIG_ERROR:()=>hs,CREATE_NEW_STORYFILE_REQUEST:()=>iR,CREATE_NEW_STORYFILE_RESPONSE:()=>sR,CURRENT_STORY_WAS_SET:()=>Yo,DOCS_PREPARED:()=>ys,DOCS_RENDERED:()=>Gn,FILE_COMPONENT_SEARCH_REQUEST:()=>lR,FILE_COMPONENT_SEARCH_RESPONSE:()=>uR,FORCE_REMOUNT:()=>Zr,FORCE_RE_RENDER:()=>zn,GLOBALS_UPDATED:()=>Cr,NAVIGATE_URL:()=>cR,PLAY_FUNCTION_THREW_EXCEPTION:()=>bs,PRELOAD_ENTRIES:()=>vs,PREVIEW_BUILDER_PROGRESS:()=>dR,PREVIEW_KEYDOWN:()=>Es,REGISTER_SUBSCRIPTION:()=>pR,REQUEST_WHATS_NEW_DATA:()=>RR,RESET_STORY_ARGS:()=>Yn,RESULT_WHATS_NEW_DATA:()=>wR,SAVE_STORY_REQUEST:()=>TR,SAVE_STORY_RESPONSE:()=>PR,SELECT_STORY:()=>fR,SET_CONFIG:()=>mR,SET_CURRENT_STORY:()=>Wn,SET_FILTER:()=>hR,SET_GLOBALS:()=>_s,SET_INDEX:()=>yR,SET_STORIES:()=>bR,SET_WHATS_NEW_CACHE:()=>CR,SHARED_STATE_CHANGED:()=>gR,SHARED_STATE_SET:()=>vR,STORIES_COLLAPSE_ALL:()=>ER,STORIES_EXPAND_ALL:()=>_R,STORY_ARGS_UPDATED:()=>Rs,STORY_CHANGED:()=>ws,STORY_ERRORED:()=>Cs,STORY_FINISHED:()=>Ko,STORY_INDEX_INVALIDATED:()=>Ss,STORY_MISSING:()=>Wo,STORY_PREPARED:()=>As,STORY_RENDERED:()=>en,STORY_RENDER_PHASE_CHANGED:()=>Lt,STORY_SPECIFIED:()=>Ts,STORY_THREW_EXCEPTION:()=>Ps,STORY_UNCHANGED:()=>Os,TELEMETRY_ERROR:()=>AR,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>NR,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>jR,TESTING_MODULE_CRASH_REPORT:()=>OR,TESTING_MODULE_PROGRESS_REPORT:()=>qR,TESTING_MODULE_RUN_ALL_REQUEST:()=>MR,TESTING_MODULE_RUN_REQUEST:()=>xR,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>SR,UNHANDLED_ERRORS_WHILE_PLAYING:()=>gs,UPDATE_GLOBALS:()=>Kn,UPDATE_QUERY_PARAMS:()=>qs,UPDATE_STORY_ARGS:()=>Xn,default:()=>oR});var fs=(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.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.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",e.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",e.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",e.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",e))(fs||{}),oR=fs,{CHANNEL_WS_DISCONNECT:ms,CHANNEL_CREATED:aR,CONFIG_ERROR:hs,CREATE_NEW_STORYFILE_REQUEST:iR,CREATE_NEW_STORYFILE_RESPONSE:sR,CURRENT_STORY_WAS_SET:Yo,DOCS_PREPARED:ys,DOCS_RENDERED:Gn,FILE_COMPONENT_SEARCH_REQUEST:lR,FILE_COMPONENT_SEARCH_RESPONSE:uR,FORCE_RE_RENDER:zn,FORCE_REMOUNT:Zr,GLOBALS_UPDATED:Cr,NAVIGATE_URL:cR,PLAY_FUNCTION_THREW_EXCEPTION:bs,UNHANDLED_ERRORS_WHILE_PLAYING:gs,PRELOAD_ENTRIES:vs,PREVIEW_BUILDER_PROGRESS:dR,PREVIEW_KEYDOWN:Es,REGISTER_SUBSCRIPTION:pR,RESET_STORY_ARGS:Yn,SELECT_STORY:fR,SET_CONFIG:mR,SET_CURRENT_STORY:Wn,SET_FILTER:hR,SET_GLOBALS:_s,SET_INDEX:yR,SET_STORIES:bR,SHARED_STATE_CHANGED:gR,SHARED_STATE_SET:vR,STORIES_COLLAPSE_ALL:ER,STORIES_EXPAND_ALL:_R,STORY_ARGS_UPDATED:Rs,STORY_CHANGED:ws,STORY_ERRORED:Cs,STORY_INDEX_INVALIDATED:Ss,STORY_MISSING:Wo,STORY_PREPARED:As,STORY_RENDER_PHASE_CHANGED:Lt,STORY_RENDERED:en,STORY_FINISHED:Ko,STORY_SPECIFIED:Ts,STORY_THREW_EXCEPTION:Ps,STORY_UNCHANGED:Os,UPDATE_GLOBALS:Kn,UPDATE_QUERY_PARAMS:qs,UPDATE_STORY_ARGS:Xn,REQUEST_WHATS_NEW_DATA:RR,RESULT_WHATS_NEW_DATA:wR,SET_WHATS_NEW_CACHE:CR,TOGGLE_WHATS_NEW_NOTIFICATIONS:SR,TELEMETRY_ERROR:AR,SAVE_STORY_REQUEST:TR,SAVE_STORY_RESPONSE:PR,ARGTYPES_INFO_REQUEST:xs,ARGTYPES_INFO_RESPONSE:Xo,TESTING_MODULE_CRASH_REPORT:OR,TESTING_MODULE_PROGRESS_REPORT:qR,TESTING_MODULE_RUN_REQUEST:xR,TESTING_MODULE_RUN_ALL_REQUEST:MR,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:NR,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:jR}=fs;var IR=Object.create,Fs=Object.defineProperty,DR=Object.getOwnPropertyDescriptor,FR=Object.getOwnPropertyNames,LR=Object.getPrototypeOf,BR=Object.prototype.hasOwnProperty,V=(e,t)=>Fs(e,"name",{value:t,configurable:!0}),Qo=(e=>typeof Ee<"u"?Ee:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ee<"u"?Ee:t)[r]}):e)(function(e){if(typeof Ee<"u")return Ee.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),kR=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$R=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of FR(t))!BR.call(e,o)&&o!==r&&Fs(e,o,{get:()=>t[o],enumerable:!(n=DR(t,o))||n.enumerable});return e},UR=(e,t,r)=>(r=e!=null?IR(LR(e)):{},$R(t||!e||!e.__esModule?Fs(r,"default",{value:e,enumerable:!0}):r,e)),HR=kR((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(){var r,n,o;return V(function a(i,s,l){function c(m,p){if(!s[m]){if(!i[m]){var h=typeof Qo=="function"&&Qo;if(!p&&h)return h(m,!0);if(u)return u(m,!0);var g=new Error("Cannot find module '"+m+"'");throw g.code="MODULE_NOT_FOUND",g}var y=s[m]={exports:{}};i[m][0].call(y.exports,function(b){var v=i[m][1][b];return c(v||b)},y,y.exports,a,i,s,l)}return s[m].exports}V(c,"s");for(var u=typeof Qo=="function"&&Qo,d=0;d<l.length;d++)c(l[d]);return c},"e")({1:[function(a,i,s){i.exports=function(l){if(typeof Map!="function"||l){var c=a("./similar");return new c}else return new Map}},{"./similar":2}],2:[function(a,i,s){function l(){return this.list=[],this.lastItem=void 0,this.size=0,this}V(l,"Similar"),l.prototype.get=function(c){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,c))return this.lastItem.val;if(u=this.indexOf(c),u>=0)return this.lastItem=this.list[u],this.list[u].val},l.prototype.set=function(c,u){var d;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=u,this):(d=this.indexOf(c),d>=0?(this.lastItem=this.list[d],this.list[d].val=u,this):(this.lastItem={key:c,val:u},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(c){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),u=this.indexOf(c),u>=0)return this.size--,this.list.splice(u,1)[0]},l.prototype.has=function(c){var u;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(u=this.indexOf(c),u>=0?(this.lastItem=this.list[u],!0):!1)},l.prototype.forEach=function(c,u){var d;for(d=0;d<this.size;d++)c.call(u||this,this.list[d].val,this.list[d].key,this)},l.prototype.indexOf=function(c){var u;for(u=0;u<this.size;u++)if(this.isEqual(this.list[u].key,c))return u;return-1},l.prototype.isEqual=function(c,u){return c===u||c!==c&&u!==u},i.exports=l},{}],3:[function(a,i,s){var l=a("map-or-similar");i.exports=function(m){var p=new l(!1),h=[];return function(g){var y=V(function(){var b=p,v,C,S=arguments.length-1,A=Array(S+1),_=!0,E;if((y.numArgs||y.numArgs===0)&&y.numArgs!==S+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(E=0;E<S;E++){if(A[E]={cacheItem:b,arg:arguments[E]},b.has(arguments[E])){b=b.get(arguments[E]);continue}_=!1,v=new l(!1),b.set(arguments[E],v),b=v}return _&&(b.has(arguments[S])?C=b.get(arguments[S]):_=!1),_||(C=g.apply(null,arguments),b.set(arguments[S],C)),m>0&&(A[S]={cacheItem:b,arg:arguments[S]},_?c(h,A):h.push(A),h.length>m&&u(h.shift())),y.wasMemoized=_,y.numArgs=S+1,C},"memoizerific");return y.limit=m,y.wasMemoized=!1,y.cache=p,y.lru=h,y}};function c(m,p){var h=m.length,g=p.length,y,b,v;for(b=0;b<h;b++){for(y=!0,v=0;v<g;v++)if(!d(m[b][v].arg,p[v].arg)){y=!1;break}if(y)break}m.push(m.splice(b,1)[0])}V(c,"moveToMostRecentLru");function u(m){var p=m.length,h=m[p-1],g,y;for(h.cacheItem.delete(h.arg),y=p-2;y>=0&&(h=m[y],g=h.cacheItem.get(h.arg),!g||!g.size);y--)h.cacheItem.delete(h.arg)}V(u,"removeCachedResult");function d(m,p){return m===p||m!==m&&p!==p}V(d,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),De=(()=>{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})();function Sr(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(s,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(u){var d,m;return(m=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&m!==void 0?m:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
16
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
17
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,l){var c=i.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
|
18
|
+
`)&&(d=String(s).split(`
|
|
19
|
+
`).map(function(m,p){return p===0?m:""+u+m}).join(`
|
|
20
|
+
`)),i+=d+n[l+1]}),i}V(Sr,"dedent");var Wd=new Map,VR="UNIVERSAL_STORE:",pt={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},or=class re{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=V(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=V((n,o)=>{let a=typeof n=="function",i=a?"*":n,s=a?n:o;if(this.debug("subscribe",{eventType:i,listener:s}),!s)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(i)||this.listeners.set(i,new Set),this.listeners.get(i).add(s),()=>{this.debug("unsubscribe",{eventType:i,listener:s}),this.listeners.has(i)&&(this.listeners.get(i).delete(s),this.listeners.get(i)?.size===0&&this.listeners.delete(i))}},"subscribe"),this.send=V(n=>{if(this.debug("send",{event:n}),this.status!==re.Status.READY)throw new TypeError(Sr`Cannot send event before store is ready. You can get the current status with store.status,
|
|
21
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
22
|
+
${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,!re.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(re.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?re.ActorType.LEADER:re.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${VR}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===re.ActorType.LEADER)this.syncing={state:pt.RESOLVED,promise:Promise.resolve()};else{let n,o,a=new Promise((i,s)=>{n=V(()=>{this.syncing.state===pt.PENDING&&(this.syncing.state=pt.RESOLVED,i())},"syncingResolve"),o=V(l=>{this.syncing.state===pt.PENDING&&(this.syncing.state=pt.REJECTED,s(l))},"syncingReject")});this.syncing={state:pt.PENDING,promise:a,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?.channel??re.preparation.channel,this.environment=r?.environment??re.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):re.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,a)=>{t=V(i=>{o(i)},"resolveRef"),r=V((...i)=>{a(i)},"rejectRef")});re.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??re.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return re.Status.UNPREPARED;switch(this.syncing?.state){case pt.PENDING:case void 0:return re.Status.SYNCING;case pt.REJECTED:return re.Status.ERROR;case pt.RESOLVED:default:return re.Status.READY}}untilReady(){return Promise.all([re.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(Sr`[UniversalStore]
|
|
23
|
+
create`,{options:t});let r=Wd.get(t.id);if(r)return console.warn(Sr`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
|
|
24
|
+
You should reuse the existing instance instead of trying to create a new one.`),r;re.isInternalConstructing=!0;let n=new re(t);return Wd.set(t.id,n),n}static __prepare(t,r){re.preparation.channel=t,re.preparation.environment=r,re.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!==re.Status.READY)throw new TypeError(Sr`Cannot set state before store is ready. You can get the current status with store.status,
|
|
25
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
26
|
+
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:re.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(re.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:this.channel}),this.channel?.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===re.ActorType.LEADER?this.emitToChannel({type:re.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:re.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:re.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(a=>a(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===pt.PENDING&&r.type!==re.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===re.ActorType.LEADER){let o=!0;switch(r.type){case re.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let a={type:re.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:a}),this.emitToChannel(a,{actor:this.actor});break;case re.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=pt.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(Sr`Detected multiple UniversalStore leaders created with the same id "${this.id}".
|
|
27
|
+
Only one leader can exists at a time, your stores are now in an invalid state.
|
|
28
|
+
Leaders detected:
|
|
29
|
+
this: ${JSON.stringify(this.actor,null,2)}
|
|
30
|
+
other: ${JSON.stringify(n.actor,null,2)}`);break}o&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===re.ActorType.FOLLOWER)switch(r.type){case re.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==pt.PENDING)break;this.syncing.resolve?.();let o={type:re.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case re.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(Sr`[UniversalStore::${this.id}::${this.environment??re.Environment.UNKNOWN}]
|
|
31
|
+
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){re.preparation.reject(new Error("reset")),re.setupPreparationPromise(),re.isInternalConstructing=!1}};V(or,"UniversalStore"),or.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},or.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},or.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"},or.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},or.isInternalConstructing=!1,or.setupPreparationPromise();var Ms=or,GR=V(e=>e.transports!==void 0,"isMulti"),zR=V(()=>Math.random().toString(16).slice(2),"generateRandomId"),tp=class{constructor(t={}){this.sender=zR(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,GR(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 a=V(()=>{this.transports.forEach(i=>{i.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(a):a()}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=V((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}};V(tp,"Channel");var rn=tp,YR=Object.create,rp=Object.defineProperty,WR=Object.getOwnPropertyDescriptor,np=Object.getOwnPropertyNames,KR=Object.getPrototypeOf,XR=Object.prototype.hasOwnProperty,ft=V((e,t)=>V(function(){return t||(0,e[np(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),JR=V((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of np(t))!XR.call(e,o)&&o!==r&&rp(e,o,{get:V(()=>t[o],"get"),enumerable:!(n=WR(t,o))||n.enumerable});return e},"__copyProps"),Ls=V((e,t,r)=>(r=e!=null?YR(KR(e)):{},JR(t||!e||!e.__esModule?rp(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),QR=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],ZR=["detail"];function op(e){let t=QR.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&ZR.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}V(op,"extractEventHiddenProperties");var ew=UR(HR(),1),ap=ft({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=V(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 a=42;r[n]=a;for(n 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 i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==a||s.enumerable!==!0)return!1}return!0},"hasSymbols")}}),ip=ft({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=ap();t.exports=V(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),tw=ft({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=V(function(i){var s=this;if(typeof s!="function"||o.call(s)!==a)throw new TypeError(r+s);for(var l=n.call(arguments,1),c,u=V(function(){if(this instanceof c){var g=s.apply(this,l.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,l.concat(n.call(arguments)))},"binder"),d=Math.max(0,s.length-l.length),m=[],p=0;p<d;p++)m.push("$"+p);if(c=Function("binder","return function ("+m.join(",")+"){ return binder.apply(this,arguments); }")(u),s.prototype){var h=V(function(){},"Empty2");h.prototype=s.prototype,c.prototype=new h,h.prototype=null}return c},"bind")}}),Bs=ft({"node_modules/function-bind/index.js"(e,t){"use strict";var r=tw();t.exports=Function.prototype.bind||r}}),rw=ft({"node_modules/has/src/index.js"(e,t){"use strict";var r=Bs();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),sp=ft({"node_modules/get-intrinsic/index.js"(e,t){"use strict";var r,n=SyntaxError,o=Function,a=TypeError,i=V(function(j){try{return o('"use strict"; return ('+j+").constructor;")()}catch{}},"getEvalledConstructor"),s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch{s=null}var l=V(function(){throw new a},"throwTypeError"),c=s?(function(){try{return arguments.callee,l}catch{try{return s(arguments,"callee").get}catch{return l}}})():l,u=ip()(),d=Object.getPrototypeOf||function(j){return j.__proto__},m={},p=typeof Uint8Array>"u"?r:d(Uint8Array),h={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":u?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":m,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?d(d([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!u?r:d(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!u?r:d(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?d(""[Symbol.iterator]()):r,"%Symbol%":u?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=V(function j(F){var T;if(F==="%AsyncFunction%")T=i("async function () {}");else if(F==="%GeneratorFunction%")T=i("function* () {}");else if(F==="%AsyncGeneratorFunction%")T=i("async function* () {}");else if(F==="%AsyncGenerator%"){var M=j("%AsyncGeneratorFunction%");M&&(T=M.prototype)}else if(F==="%AsyncIteratorPrototype%"){var D=j("%AsyncGenerator%");D&&(T=d(D.prototype))}return h[F]=T,T},"doEval2"),y={"%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"]},b=Bs(),v=rw(),C=b.call(Function.call,Array.prototype.concat),S=b.call(Function.apply,Array.prototype.splice),A=b.call(Function.call,String.prototype.replace),_=b.call(Function.call,String.prototype.slice),E=b.call(Function.call,RegExp.prototype.exec),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,N=V(function(j){var F=_(j,0,1),T=_(j,-1);if(F==="%"&&T!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(T==="%"&&F!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return A(j,R,function(D,Y,z,J){M[M.length]=z?A(J,P,"$1"):Y||D}),M},"stringToPath3"),B=V(function(j,F){var T=j,M;if(v(y,T)&&(M=y[T],T="%"+M[0]+"%"),v(h,T)){var D=h[T];if(D===m&&(D=g(T)),typeof D>"u"&&!F)throw new a("intrinsic "+j+" exists, but is not available. Please file an issue!");return{alias:M,name:T,value:D}}throw new n("intrinsic "+j+" does not exist!")},"getBaseIntrinsic2");t.exports=V(function(j,F){if(typeof j!="string"||j.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new a('"allowMissing" argument must be a boolean');if(E(/^%?[^%]*%?$/,j)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var T=N(j),M=T.length>0?T[0]:"",D=B("%"+M+"%",F),Y=D.name,z=D.value,J=!1,te=D.alias;te&&(M=te[0],S(T,C([0,1],te)));for(var ee=1,H=!0;ee<T.length;ee+=1){var U=T[ee],G=_(U,0,1),K=_(U,-1);if((G==='"'||G==="'"||G==="`"||K==='"'||K==="'"||K==="`")&&G!==K)throw new n("property names with quotes must have matching quotes");if((U==="constructor"||!H)&&(J=!0),M+="."+U,Y="%"+M+"%",v(h,Y))z=h[Y];else if(z!=null){if(!(U in z)){if(!F)throw new a("base intrinsic for "+j+" exists, but the property is not available.");return}if(s&&ee+1>=T.length){var W=s(z,U);H=!!W,H&&"get"in W&&!("originalValue"in W.get)?z=W.get:z=z[U]}else H=v(z,U),z=z[U];H&&!J&&(h[Y]=z)}}return z},"GetIntrinsic")}}),nw=ft({"node_modules/call-bind/index.js"(e,t){"use strict";var r=Bs(),n=sp(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(a,o),s=n("%Object.getOwnPropertyDescriptor%",!0),l=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}t.exports=V(function(d){var m=i(r,a,arguments);if(s&&l){var p=s(m,"length");p.configurable&&l(m,"length",{value:1+c(0,d.length-(arguments.length-1))})}return m},"callBind");var u=V(function(){return i(r,o,arguments)},"applyBind2");l?l(t.exports,"apply",{value:u}):t.exports.apply=u}}),ow=ft({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=sp(),n=nw(),o=n(r("String.prototype.indexOf"));t.exports=V(function(a,i){var s=r(a,!!i);return typeof s=="function"&&o(a,".prototype.")>-1?n(s):s},"callBoundIntrinsic")}}),aw=ft({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=ap();t.exports=V(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),iw=ft({"node_modules/is-regex/index.js"(e,t){"use strict";var r=ow(),n=aw()(),o,a,i,s;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),i={},l=V(function(){throw i},"throwRegexMarker"),s={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=l));var l,c=r("Object.prototype.toString"),u=Object.getOwnPropertyDescriptor,d="[object RegExp]";t.exports=V(n?function(m){if(!m||typeof m!="object")return!1;var p=u(m,"lastIndex"),h=p&&o(p,"value");if(!h)return!1;try{a(m,s)}catch(g){return g===i}}:function(m){return!m||typeof m!="object"&&typeof m!="function"?!1:c(m)===d},"isRegex")}}),sw=ft({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}V(n,"isFunction3")}}),lw=ft({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,n=ip()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,i=V(function(s){return typeof s.valueOf()!="symbol"?!1:a.test(o.call(s))},"isRealSymbolObject"),t.exports=V(function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}},"isSymbol3")):t.exports=V(function(s){return!1},"isSymbol3");var o,a,i}}),uw=Ls(iw()),cw=Ls(sw()),dw=Ls(lw());function lp(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}V(lp,"isObject");var pw=typeof global=="object"&&global&&global.Object===Object&&global,fw=pw,mw=typeof self=="object"&&self&&self.Object===Object&&self,hw=fw||mw||Function("return this")(),ks=hw,yw=ks.Symbol,tn=yw,up=Object.prototype,bw=up.hasOwnProperty,gw=up.toString,Jn=tn?tn.toStringTag:void 0;function cp(e){var t=bw.call(e,Jn),r=e[Jn];try{e[Jn]=void 0;var n=!0}catch{}var o=gw.call(e);return n&&(t?e[Jn]=r:delete e[Jn]),o}V(cp,"getRawTag");var vw=cp,Ew=Object.prototype,_w=Ew.toString;function dp(e){return _w.call(e)}V(dp,"objectToString");var Rw=dp,ww="[object Null]",Cw="[object Undefined]",Kd=tn?tn.toStringTag:void 0;function pp(e){return e==null?e===void 0?Cw:ww:Kd&&Kd in Object(e)?vw(e):Rw(e)}V(pp,"baseGetTag");var fp=pp;function mp(e){return e!=null&&typeof e=="object"}V(mp,"isObjectLike");var Sw=mp,Aw="[object Symbol]";function hp(e){return typeof e=="symbol"||Sw(e)&&fp(e)==Aw}V(hp,"isSymbol");var $s=hp;function yp(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}V(yp,"arrayMap");var Tw=yp,Pw=Array.isArray,Us=Pw,Ow=1/0,Xd=tn?tn.prototype:void 0,Jd=Xd?Xd.toString:void 0;function Hs(e){if(typeof e=="string")return e;if(Us(e))return Tw(e,Hs)+"";if($s(e))return Jd?Jd.call(e):"";var t=e+"";return t=="0"&&1/e==-Ow?"-0":t}V(Hs,"baseToString");var qw=Hs;function bp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}V(bp,"isObject2");var gp=bp,xw="[object AsyncFunction]",Mw="[object Function]",Nw="[object GeneratorFunction]",jw="[object Proxy]";function vp(e){if(!gp(e))return!1;var t=fp(e);return t==Mw||t==Nw||t==xw||t==jw}V(vp,"isFunction");var Iw=vp,Dw=ks["__core-js_shared__"],Ns=Dw,Qd=(function(){var e=/[^.]+$/.exec(Ns&&Ns.keys&&Ns.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Ep(e){return!!Qd&&Qd in e}V(Ep,"isMasked");var Fw=Ep,Lw=Function.prototype,Bw=Lw.toString;function _p(e){if(e!=null){try{return Bw.call(e)}catch{}try{return e+""}catch{}}return""}V(_p,"toSource");var kw=_p,$w=/[\\^$.*+?()[\]{}|]/g,Uw=/^\[object .+?Constructor\]$/,Hw=Function.prototype,Vw=Object.prototype,Gw=Hw.toString,zw=Vw.hasOwnProperty,Yw=RegExp("^"+Gw.call(zw).replace($w,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Rp(e){if(!gp(e)||Fw(e))return!1;var t=Iw(e)?Yw:Uw;return t.test(kw(e))}V(Rp,"baseIsNative");var Ww=Rp;function wp(e,t){return e?.[t]}V(wp,"getValue");var Kw=wp;function Cp(e,t){var r=Kw(e,t);return Ww(r)?r:void 0}V(Cp,"getNative");var Sp=Cp;function Ap(e,t){return e===t||e!==e&&t!==t}V(Ap,"eq");var Xw=Ap,Jw=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qw=/^\w*$/;function Tp(e,t){if(Us(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||$s(e)?!0:Qw.test(e)||!Jw.test(e)||t!=null&&e in Object(t)}V(Tp,"isKey");var Zw=Tp,eC=Sp(Object,"create"),Qn=eC;function Pp(){this.__data__=Qn?Qn(null):{},this.size=0}V(Pp,"hashClear");var tC=Pp;function Op(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}V(Op,"hashDelete");var rC=Op,nC="__lodash_hash_undefined__",oC=Object.prototype,aC=oC.hasOwnProperty;function qp(e){var t=this.__data__;if(Qn){var r=t[e];return r===nC?void 0:r}return aC.call(t,e)?t[e]:void 0}V(qp,"hashGet");var iC=qp,sC=Object.prototype,lC=sC.hasOwnProperty;function xp(e){var t=this.__data__;return Qn?t[e]!==void 0:lC.call(t,e)}V(xp,"hashHas");var uC=xp,cC="__lodash_hash_undefined__";function Mp(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Qn&&t===void 0?cC:t,this}V(Mp,"hashSet");var dC=Mp;function Ar(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])}}V(Ar,"Hash");Ar.prototype.clear=tC;Ar.prototype.delete=rC;Ar.prototype.get=iC;Ar.prototype.has=uC;Ar.prototype.set=dC;var Zd=Ar;function Np(){this.__data__=[],this.size=0}V(Np,"listCacheClear");var pC=Np;function jp(e,t){for(var r=e.length;r--;)if(Xw(e[r][0],t))return r;return-1}V(jp,"assocIndexOf");var ta=jp,fC=Array.prototype,mC=fC.splice;function Ip(e){var t=this.__data__,r=ta(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():mC.call(t,r,1),--this.size,!0}V(Ip,"listCacheDelete");var hC=Ip;function Dp(e){var t=this.__data__,r=ta(t,e);return r<0?void 0:t[r][1]}V(Dp,"listCacheGet");var yC=Dp;function Fp(e){return ta(this.__data__,e)>-1}V(Fp,"listCacheHas");var bC=Fp;function Lp(e,t){var r=this.__data__,n=ta(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}V(Lp,"listCacheSet");var gC=Lp;function Tr(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])}}V(Tr,"ListCache");Tr.prototype.clear=pC;Tr.prototype.delete=hC;Tr.prototype.get=yC;Tr.prototype.has=bC;Tr.prototype.set=gC;var vC=Tr,EC=Sp(ks,"Map"),_C=EC;function Bp(){this.size=0,this.__data__={hash:new Zd,map:new(_C||vC),string:new Zd}}V(Bp,"mapCacheClear");var RC=Bp;function kp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}V(kp,"isKeyable");var wC=kp;function $p(e,t){var r=e.__data__;return wC(t)?r[typeof t=="string"?"string":"hash"]:r.map}V($p,"getMapData");var ra=$p;function Up(e){var t=ra(this,e).delete(e);return this.size-=t?1:0,t}V(Up,"mapCacheDelete");var CC=Up;function Hp(e){return ra(this,e).get(e)}V(Hp,"mapCacheGet");var SC=Hp;function Vp(e){return ra(this,e).has(e)}V(Vp,"mapCacheHas");var AC=Vp;function Gp(e,t){var r=ra(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}V(Gp,"mapCacheSet");var TC=Gp;function Pr(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])}}V(Pr,"MapCache");Pr.prototype.clear=RC;Pr.prototype.delete=CC;Pr.prototype.get=SC;Pr.prototype.has=AC;Pr.prototype.set=TC;var zp=Pr,PC="Expected a function";function na(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(PC);var r=V(function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i},"memoized");return r.cache=new(na.Cache||zp),r}V(na,"memoize");na.Cache=zp;var OC=na,qC=500;function Yp(e){var t=OC(e,function(n){return r.size===qC&&r.clear(),n}),r=t.cache;return t}V(Yp,"memoizeCapped");var xC=Yp,MC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NC=/\\(\\)?/g,jC=xC(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(MC,function(r,n,o,a){t.push(o?a.replace(NC,"$1"):n||r)}),t}),IC=jC;function Wp(e){return e==null?"":qw(e)}V(Wp,"toString");var DC=Wp;function Kp(e,t){return Us(e)?e:Zw(e,t)?[e]:IC(DC(e))}V(Kp,"castPath");var FC=Kp,LC=1/0;function Xp(e){if(typeof e=="string"||$s(e))return e;var t=e+"";return t=="0"&&1/e==-LC?"-0":t}V(Xp,"toKey");var BC=Xp;function Jp(e,t){t=FC(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[BC(t[r++])];return r&&r==n?e:void 0}V(Jp,"baseGet");var kC=Jp;function Qp(e,t,r){var n=e==null?void 0:kC(e,t);return n===void 0?r:n}V(Qp,"get");var $C=Qp,Zo=lp,UC=V(e=>{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;i<e.length;i+=1)!t&&!r&&!n&&!o?e[i]==='"'||e[i]==="'"||e[i]==="`"?t=e[i]:e[i]==="/"&&e[i+1]==="*"?r=!0:e[i]==="/"&&e[i+1]==="/"?n=!0:e[i]==="/"&&e[i+1]!=="/"&&(o=!0):(t&&(e[i]===t&&e[i-1]!=="\\"||e[i]===`
|
|
32
|
+
`&&t!=="`")&&(t=null),o&&(e[i]==="/"&&e[i-1]!=="\\"||e[i]===`
|
|
33
|
+
`)&&(o=!1),r&&e[i-1]==="/"&&e[i-2]==="*"&&(r=!1),n&&e[i]===`
|
|
34
|
+
`&&(n=!1)),!r&&!n&&(a+=e[i]);else a=e;return a},"removeCodeComments"),HC=(0,ew.default)(1e4)(e=>UC(e).replace(/\n\s*/g,"").trim()),VC=V(function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},"convertShorthandMethods2"),GC=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Vs=V(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function Gs(e){if(!Zo(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=op(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}V(Gs,"convertUnconventionalData");var zC=V(function(e){let t,r,n,o;return V(function(a,i){try{if(a==="")return o=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),o.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===-1/0?"_-Infinity_":i===1/0?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return GC.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,uw.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,cw.default)(i)){if(!e.allowFunction)return;let{name:c}=i,u=i.toString();return u.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${c}|${(()=>{}).toString()}`:`_function_${c}|${HC(VC(a,u))}`}if((0,dw.default)(i)){if(!e.allowSymbol)return;let c=Symbol.keyFor(i);return c!==void 0?`_gsymbol_${c}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(o)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&!e.allowClass)return;let l=t.get(i);if(!l){let c=Array.isArray(i)?i:Gs(i);if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&e.allowClass)try{Object.assign(c,{"_constructor-name_":i.constructor.name})}catch{}return o.push(a),n.unshift(c),t.set(i,JSON.stringify(o)),i!==c&&r.set(i,c),c}return`_duplicate_${l}`}catch{return}},"replace")},"replacer2"),YC=V(function reviver(options){let refs=[],root;return V(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=Vs(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=$C(root,n)})),key==="_constructor-name_")return value;if(Zo(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(Zo(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=V((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:V(()=>sourceSanitized,"value")}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value},"revive")},"reviver"),Zp={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},ef=V((e,t={})=>{let r={...Zp,...t};return JSON.stringify(Gs(e),zC(r),t.space)},"stringify"),WC=V(()=>{let e=new Map;return V(function t(r){Zo(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"),tf=V((e,t={})=>{let r={...Zp,...t},n=JSON.parse(e,YC(r));return WC()(n),n},"parse"),KC=!1,js="Invariant failed";function ea(e,t){if(!e){if(KC)throw new Error(js);var r=typeof t=="function"?t():t,n=r?"".concat(js,": ").concat(r):js;throw new Error(n)}}V(ea,"invariant");var XC=V(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(a=>{try{return a.contentWindow?.location.origin===e.source.location.origin&&a.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return a.contentWindow===e.source}catch{}let i=a.getAttribute("src"),s;try{if(!i)return!1;({origin:s}=new URL(i,document.location.toString()))}catch{return!1}return s===e.origin}),o=r?.getAttribute("src");if(o&&n.length===0){let{protocol:a,host:i,pathname:s}=new URL(o,document.location.toString());return`${a}//${i}${s}`}return n.length>0&&se.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:Is,location:Ds}=De,ep="storybook-channel",JC={allowFunction:!1,maxDepth:25},rf=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof De?.addEventListener=="function"&&De.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,allowFunction:a,allowSymbol:i,allowDate:s,allowError:l,allowUndefined:c,allowClass:u,maxDepth:d,space:m,lazyEval:p}=r||{},h=Object.fromEntries(Object.entries({allowRegExp:o,allowFunction:a,allowSymbol:i,allowDate:s,allowError:l,allowUndefined:c,allowClass:u,maxDepth:d,space:m,lazyEval:p}).filter(([C,S])=>typeof S<"u")),g={...JC,...De.CHANNEL_OPTIONS||{},...h},y=this.getFrames(n),b=new URLSearchParams(Ds?.search||""),v=ef({key:ep,event:t,refId:b.get("refId")},g);return y.length?(this.buffer.length&&this.flush(),y.forEach(C=>{try{C.postMessage(v,"*")}catch{se.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((C,S)=>{this.buffer.push({event:t,resolve:C,reject:S})})}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(Is.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?.length?r:this.getCurrentFrames()}return De&&De.parent&&De.parent!==De.self?[De.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Is.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):De&&De.parent?[De.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Is.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):De&&De.parent?[De.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:o,refId:a}=typeof r=="string"&&Vs(r)?tf(r,De.CHANNEL_OPTIONS||{}):r;if(n===ep){let i=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',s=Object.values(Jo).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(a&&(o.refId=a),o.source=this.config.page==="preview"?t.origin:XC(t),!o.source){lt.error(`${i} received ${s} but was unable to determine the source of the event`);return}let l=`${i} received ${s} (${r.length})`;lt.debug(Ds.origin!==o.source?l:`${l} <span style="color: gray">(on ${Ds.origin} from ${o.source})</span>`,...o.args),ea(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){se.error(r)}}};V(rf,"PostMessageTransport");var QC=rf,{WebSocket:ZC}=De,e2=15e3,t2=5e3,nf=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new ZC(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:o})=>{let a=typeof o=="string"&&Vs(o)?tf(o):o;ea(this.handler,"WebsocketTransport handler should be set"),this.handler(a),a.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=o=>{ea(this.handler,"WebsocketTransport handler should be set"),this.handler({type:ms,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")},e2+t2)}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=ef(t,{maxDepth:15,allowFunction:!1,...De.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};V(nf,"WebsocketTransport");var r2=nf,{CHANNEL_OPTIONS:n2,CONFIG_TYPE:o2}=De,l6=rn;function a2({page:e,extraTransports:t=[]}){let r=[new QC({page:e}),...t];if(o2==="DEVELOPMENT"){let o=window.location.protocol==="http:"?"ws":"wss",{hostname:a,port:i}=window.location,{wsToken:s}=n2||{},l=`${o}://${a}:${i}/storybook-server-channel?token=${s}`;r.push(new r2({url:l,onError:V(()=>{},"onError"),page:e}))}let n=new rn({transports:r});return Ms.__prepare(n,e==="manager"?Ms.Environment.MANAGER:Ms.Environment.PREVIEW),n}V(a2,"createBrowserChannel");var i2=Object.defineProperty,Ne=(e,t)=>i2(e,"name",{value:t,configurable:!0});function Fe(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(s,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(u){var d,m;return(m=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&m!==void 0?m:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
35
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
36
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,l){var c=i.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
|
37
|
+
`)&&(d=String(s).split(`
|
|
38
|
+
`).map(function(m,p){return p===0?m:""+u+m}).join(`
|
|
39
|
+
`)),i+=d+n[l+1]}),i}Ne(Fe,"dedent");function zs({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}Ne(zs,"parseErrorCode");var of=class af extends Error{constructor(t){super(af.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return zs({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 a;return t===!0?a=`https://storybook.js.org/error/${zs({code:r,category:n})}`:typeof t=="string"?a=t:Array.isArray(t)&&(a=`
|
|
40
|
+
${t.map(i=>` - ${i}`).join(`
|
|
41
|
+
`)}`),`${o}${a!=null?`
|
|
42
|
+
|
|
43
|
+
More info: ${a}
|
|
44
|
+
`:""}`}};Ne(of,"StorybookError");var Le=of;var sf=class extends Le{constructor(t){super({category:"PREVIEW_API",code:1,message:Fe`
|
|
45
|
+
Couldn't find story matching id '${t.storyId}' after HMR.
|
|
46
|
+
- Did you just rename a story?
|
|
47
|
+
- Did you remove it from your CSF file?
|
|
48
|
+
- Are you sure a story with the id '${t.storyId}' exists?
|
|
49
|
+
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
|
50
|
+
- Also check the browser console and terminal for potential error messages.`}),this.data=t}};Ne(sf,"MissingStoryAfterHmrError");var lf=sf,s2=class extends Le{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:Fe`
|
|
51
|
+
We detected that you use an implicit action arg while ${t.phase} of your story.
|
|
52
|
+
${t.deprecated?`
|
|
53
|
+
This is deprecated and won't work in Storybook 8 anymore.
|
|
54
|
+
`:""}
|
|
55
|
+
Please provide an explicit spy to your args like this:
|
|
56
|
+
import { fn } from '@storybook/test';
|
|
57
|
+
...
|
|
58
|
+
args: {
|
|
59
|
+
${t.name}: fn()
|
|
60
|
+
}`}),this.data=t}};Ne(s2,"ImplicitActionsDuringRendering");var uf=class extends Le{constructor(){super({category:"PREVIEW_API",code:3,message:Fe`
|
|
61
|
+
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
|
62
|
+
|
|
63
|
+
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};Ne(uf,"CalledExtractOnStoreError");var cf=uf,df=class extends Le{constructor(){super({category:"PREVIEW_API",code:4,message:Fe`
|
|
64
|
+
Expected your framework's preset to export a \`renderToCanvas\` field.
|
|
65
|
+
|
|
66
|
+
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};Ne(df,"MissingRenderToCanvasError");var pf=df,ff=class extends Le{constructor(t){super({category:"PREVIEW_API",code:5,message:Fe`
|
|
67
|
+
Called \`Preview.${t.methodName}()\` before initialization.
|
|
68
|
+
|
|
69
|
+
The preview needs to load the story index before most methods can be called. If you want
|
|
70
|
+
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
|
|
71
|
+
|
|
72
|
+
If you didn't call the above code, then likely it was called by an addon that needs to
|
|
73
|
+
do the above.`}),this.data=t}};Ne(ff,"CalledPreviewMethodBeforeInitializationError");var at=ff,mf=class extends Le{constructor(t){super({category:"PREVIEW_API",code:6,message:Fe`
|
|
74
|
+
Error fetching \`/index.json\`:
|
|
75
|
+
|
|
76
|
+
${t.text}
|
|
77
|
+
|
|
78
|
+
If you are in development, this likely indicates a problem with your Storybook process,
|
|
79
|
+
check the terminal for errors.
|
|
80
|
+
|
|
81
|
+
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
|
82
|
+
build.`}),this.data=t}};Ne(mf,"StoryIndexFetchError");var hf=mf,yf=class extends Le{constructor(t){super({category:"PREVIEW_API",code:7,message:Fe`
|
|
83
|
+
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
|
|
84
|
+
references, or autodocs for a CSF file that some doesn't refer to itself.
|
|
85
|
+
|
|
86
|
+
This likely is an internal error in Storybook's indexing, or you've attached the
|
|
87
|
+
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};Ne(yf,"MdxFileWithNoCsfReferencesError");var bf=yf,gf=class extends Le{constructor(){super({category:"PREVIEW_API",code:8,message:Fe`
|
|
88
|
+
Couldn't find any stories in your Storybook.
|
|
89
|
+
|
|
90
|
+
- Please check your stories field of your main.js config: does it match correctly?
|
|
91
|
+
- Also check the browser console and terminal for error messages.`})}};Ne(gf,"EmptyIndexError");var vf=gf,Ef=class extends Le{constructor(t){super({category:"PREVIEW_API",code:9,message:Fe`
|
|
92
|
+
Couldn't find story matching '${t.storySpecifier}'.
|
|
93
|
+
|
|
94
|
+
- Are you sure a story with that id exists?
|
|
95
|
+
- Please check your stories field of your main.js config.
|
|
96
|
+
- Also check the browser console and terminal for error messages.`}),this.data=t}};Ne(Ef,"NoStoryMatchError");var _f=Ef,Rf=class extends Le{constructor(t){super({category:"PREVIEW_API",code:10,message:Fe`
|
|
97
|
+
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
|
|
98
|
+
|
|
99
|
+
The file was indexed as if the story was there, but then after importing the file in the browser
|
|
100
|
+
we didn't find the story. Possible reasons:
|
|
101
|
+
- You are using a custom story indexer that is misbehaving.
|
|
102
|
+
- You have a custom file loader that is removing or renaming exports.
|
|
103
|
+
|
|
104
|
+
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};Ne(Rf,"MissingStoryFromCsfFileError");var wf=Rf,Cf=class extends Le{constructor(){super({category:"PREVIEW_API",code:11,message:Fe`
|
|
105
|
+
Cannot access the Story Store until the index is ready.
|
|
106
|
+
|
|
107
|
+
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
|
108
|
+
remove access to the store entirely`})}};Ne(Cf,"StoryStoreAccessedBeforeInitializationError");var Sf=Cf,Af=class extends Le{constructor(t){super({category:"PREVIEW_API",code:12,message:Fe`
|
|
109
|
+
Incorrect use of mount in the play function.
|
|
110
|
+
|
|
111
|
+
To use mount in the play function, you must satisfy the following two requirements:
|
|
112
|
+
|
|
113
|
+
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
|
114
|
+
This makes sure that Storybook does not start rendering the story before the play function begins.
|
|
115
|
+
|
|
116
|
+
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
|
117
|
+
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
|
118
|
+
which prevents Storybook from recognizing your usage of \`mount\`.
|
|
119
|
+
|
|
120
|
+
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
|
121
|
+
|
|
122
|
+
More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
|
|
123
|
+
|
|
124
|
+
Received the following play function:
|
|
125
|
+
${t.playFunction}`}),this.data=t}};Ne(Af,"MountMustBeDestructuredError");var oa=Af,Tf=class extends Le{constructor(t){super({category:"PREVIEW_API",code:14,message:Fe`
|
|
126
|
+
No render function available for storyId '${t.id}'
|
|
127
|
+
`}),this.data=t}};Ne(Tf,"NoRenderFunctionError");var Pf=Tf,Of=class extends Le{constructor(){super({category:"PREVIEW_API",code:15,message:Fe`
|
|
128
|
+
No component is mounted in your story.
|
|
129
|
+
|
|
130
|
+
This usually occurs when you destructure mount in the play function, but forget to call it.
|
|
131
|
+
|
|
132
|
+
For example:
|
|
133
|
+
|
|
134
|
+
async play({ mount, canvasElement }) {
|
|
135
|
+
// 👈 mount should be called: await mount();
|
|
136
|
+
const canvas = within(canvasElement);
|
|
137
|
+
const button = await canvas.findByRole('button');
|
|
138
|
+
await userEvent.click(button);
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
Make sure to either remove it or call mount in your play function.
|
|
142
|
+
`})}};Ne(Of,"NoStoryMountedError");var qf=Of,l2=class extends Le{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:Fe`
|
|
143
|
+
You are importing avif images, but you don't have sharp installed.
|
|
144
|
+
|
|
145
|
+
You have to install sharp in order to use image optimization features in Next.js.
|
|
146
|
+
`})}};Ne(l2,"NextJsSharpError");var u2=class extends Le{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:Fe`
|
|
147
|
+
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
|
148
|
+
`}),this.data=t}};Ne(u2,"NextjsRouterMocksNotAvailable");var c2=class extends Le{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:Fe`
|
|
149
|
+
There was a failure when generating detailed ArgTypes in ${t.language} for:
|
|
150
|
+
${JSON.stringify(t.type,null,2)}
|
|
151
|
+
|
|
152
|
+
Storybook will fall back to use a generic type description instead.
|
|
153
|
+
|
|
154
|
+
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
|
155
|
+
If you think this is a bug, please detail it as much as possible in the Github issue.
|
|
156
|
+
`}),this.data=t}};Ne(c2,"UnknownArgTypesError");var d2=class extends Le{constructor(t){super({category:"ADDON_VITEST",code:1,message:Fe`
|
|
157
|
+
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
|
|
158
|
+
|
|
159
|
+
The Storybook plugin only supports values in the following units:
|
|
160
|
+
- px, vh, vw, em, rem and %.
|
|
161
|
+
|
|
162
|
+
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
|
|
163
|
+
`}),this.data=t}};Ne(d2,"UnsupportedViewportDimensionError");var p2=Object.create,Ws=Object.defineProperty,f2=Object.getOwnPropertyDescriptor,m2=Object.getOwnPropertyNames,h2=Object.getPrototypeOf,y2=Object.prototype.hasOwnProperty,Be=(e,t)=>Ws(e,"name",{value:t,configurable:!0}),b2=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),g2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of m2(t))!y2.call(e,o)&&o!==r&&Ws(e,o,{get:()=>t[o],enumerable:!(n=f2(t,o))||n.enumerable});return e},v2=(e,t,r)=>(r=e!=null?p2(h2(e)):{},g2(t||!e||!e.__esModule?Ws(r,"default",{value:e,enumerable:!0}):r,e)),E2=b2(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,a){return Be(function i(s,l,c){var u,d,m,p=t.call(s),h=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(c.indexOf(s)>-1&&c.indexOf(l)>-1)return!0;if(c.push(s,l),p!=h||(u=n(s),d=n(l),u.length!=d.length||u.some(function(g){return!i(s[g],l[g],c)})))return!1;switch(p.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":u=s.entries(),d=l.entries();do if(!i((m=u.next()).value,d.next().value,c))return!1;while(!m.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(m=0;m<s.length;m++)if((m in s||m in l)&&(m in s!=m in l||!i(s[m],l[m],c)))return!1;return!0;case"Object":return i(r(s),r(l),c);default:return!1}},"n")(o,a,[])}})()});function Nf(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()}Be(Nf,"toStartCaseStr");var xf=v2(E2(),1),jf=Be(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),_2=Be((e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(jf([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,xf.isEqual)(t,n);if(typeof o<"u")return!(0,xf.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},"testValue"),If=Be((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(jf([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return _2(e.if,a)},"includeConditionalArg");function R2(e){let t,r={_tag:"Preview",input:e,get composed(){if(t)return t;let{addons:n,...o}=e;return t=on(qr([...n??[],o])),t},meta(n){return Df(n,this)}};return globalThis.globalProjectAnnotations=r.composed,r}Be(R2,"__definePreview");function w2(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Preview"}Be(w2,"isPreview");function C2(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}Be(C2,"isMeta");function Df(e,t){return{_tag:"Meta",input:e,preview:t,get composed(){throw new Error("Not implemented")},story(r){return Ff(r,this)}}}Be(Df,"defineMeta");function Ff(e,t){return{_tag:"Story",input:e,meta:t,get composed(){throw new Error("Not implemented")}}}Be(Ff,"defineStory");function Or(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}Be(Or,"isStory");var Ks=Be(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),Mf=Be((e,t)=>{let r=Ks(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),Lf=Be((e,t)=>`${Mf(e,"kind")}${t?`--${Mf(t,"name")}`:""}`,"toId"),Bf=Be(e=>Nf(e),"storyNameFromExport");function Ys(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}Be(Ys,"matches");function nn(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Ys(e,t))&&(!r||!Ys(e,r))}Be(nn,"isExportStory");var kf=Be((...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");var S2=Object.create,yl=Object.defineProperty,A2=Object.getOwnPropertyDescriptor,T2=Object.getOwnPropertyNames,P2=Object.getPrototypeOf,O2=Object.prototype.hasOwnProperty,O=(e,t)=>yl(e,"name",{value:t,configurable:!0}),aa=(e=>typeof Ee<"u"?Ee:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ee<"u"?Ee:t)[r]}):e)(function(e){if(typeof Ee<"u")return Ee.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ge=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),q2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of T2(t))!O2.call(e,o)&&o!==r&&yl(e,o,{get:()=>t[o],enumerable:!(n=A2(t,o))||n.enumerable});return e},un=(e,t,r)=>(r=e!=null?S2(P2(e)):{},q2(t||!e||!e.__esModule?yl(r,"default",{value:e,enumerable:!0}):r,e)),tm=Ge((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(){var r,n,o;return O(function a(i,s,l){function c(m,p){if(!s[m]){if(!i[m]){var h=typeof aa=="function"&&aa;if(!p&&h)return h(m,!0);if(u)return u(m,!0);var g=new Error("Cannot find module '"+m+"'");throw g.code="MODULE_NOT_FOUND",g}var y=s[m]={exports:{}};i[m][0].call(y.exports,function(b){var v=i[m][1][b];return c(v||b)},y,y.exports,a,i,s,l)}return s[m].exports}O(c,"s");for(var u=typeof aa=="function"&&aa,d=0;d<l.length;d++)c(l[d]);return c},"e")({1:[function(a,i,s){i.exports=function(l){if(typeof Map!="function"||l){var c=a("./similar");return new c}else return new Map}},{"./similar":2}],2:[function(a,i,s){function l(){return this.list=[],this.lastItem=void 0,this.size=0,this}O(l,"Similar"),l.prototype.get=function(c){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,c))return this.lastItem.val;if(u=this.indexOf(c),u>=0)return this.lastItem=this.list[u],this.list[u].val},l.prototype.set=function(c,u){var d;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=u,this):(d=this.indexOf(c),d>=0?(this.lastItem=this.list[d],this.list[d].val=u,this):(this.lastItem={key:c,val:u},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(c){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),u=this.indexOf(c),u>=0)return this.size--,this.list.splice(u,1)[0]},l.prototype.has=function(c){var u;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(u=this.indexOf(c),u>=0?(this.lastItem=this.list[u],!0):!1)},l.prototype.forEach=function(c,u){var d;for(d=0;d<this.size;d++)c.call(u||this,this.list[d].val,this.list[d].key,this)},l.prototype.indexOf=function(c){var u;for(u=0;u<this.size;u++)if(this.isEqual(this.list[u].key,c))return u;return-1},l.prototype.isEqual=function(c,u){return c===u||c!==c&&u!==u},i.exports=l},{}],3:[function(a,i,s){var l=a("map-or-similar");i.exports=function(m){var p=new l(!1),h=[];return function(g){var y=O(function(){var b=p,v,C,S=arguments.length-1,A=Array(S+1),_=!0,E;if((y.numArgs||y.numArgs===0)&&y.numArgs!==S+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(E=0;E<S;E++){if(A[E]={cacheItem:b,arg:arguments[E]},b.has(arguments[E])){b=b.get(arguments[E]);continue}_=!1,v=new l(!1),b.set(arguments[E],v),b=v}return _&&(b.has(arguments[S])?C=b.get(arguments[S]):_=!1),_||(C=g.apply(null,arguments),b.set(arguments[S],C)),m>0&&(A[S]={cacheItem:b,arg:arguments[S]},_?c(h,A):h.push(A),h.length>m&&u(h.shift())),y.wasMemoized=_,y.numArgs=S+1,C},"memoizerific");return y.limit=m,y.wasMemoized=!1,y.cache=p,y.lru=h,y}};function c(m,p){var h=m.length,g=p.length,y,b,v;for(b=0;b<h;b++){for(y=!0,v=0;v<g;v++)if(!d(m[b][v].arg,p[v].arg)){y=!1;break}if(y)break}m.push(m.splice(b,1)[0])}O(c,"moveToMostRecentLru");function u(m){var p=m.length,h=m[p-1],g,y;for(h.cacheItem.delete(h.arg),y=p-2;y>=0&&(h=m[y],g=h.cacheItem.get(h.arg),!g||!g.size);y--)h.cacheItem.delete(h.arg)}O(u,"removeCachedResult");function d(m,p){return m===p||m!==m&&p!==p}O(d,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),rm=Ge(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,a)=>"%"+((a<16?"0":"")+a.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 a=o.length;if(a===0)return"";let i="",s=0,l=0;e:for(;l<a;l++){let c=o.charCodeAt(l);for(;c<128;){if(r[c]!==1&&(s<l&&(i+=o.slice(s,l)),s=l+1,i+=t[c]),++l===a)break e;c=o.charCodeAt(l)}if(s<l&&(i+=o.slice(s,l)),c<2048){s=l+1,i+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){s=l+1,i+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++l,l>=a)throw new Error("URI malformed");let u=o.charCodeAt(l)&1023;s=l+1,c=65536+((c&1023)<<10|u),i+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return s===0?o:s<a?i+o.slice(s):i}O(n,"encodeString")}),bl=Ge(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=rm(),r=O(a=>{switch(typeof a){case"string":return(0,t.encodeString)(a);case"bigint":case"boolean":return""+a;case"number":if(Number.isFinite(a))return a<1e21?""+a:(0,t.encodeString)(""+a);break}return a instanceof Date?(0,t.encodeString)(a.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=O(a=>a instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=O(a=>a,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),nm=Ge(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=u;var t=bl(),r=rm();function n(d){return d==="__proto__"||d==="constructor"||d==="prototype"}O(n,"isPrototypeKey");function o(d,m,p,h,g){if(n(m))return d;let y=d[m];return typeof y=="object"&&y!==null?y:!h&&(g||typeof p=="number"||typeof p=="string"&&p*0===0&&p.indexOf(".")===-1)?d[m]=[]:d[m]={}}O(o,"getDeepObject");var a=20,i="[]",s="[",l="]",c=".";function u(d,m,p=0,h,g){let{nestingSyntax:y=t.defaultOptions.nestingSyntax,arrayRepeat:b=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:v=t.defaultOptions.arrayRepeatSyntax,nesting:C=t.defaultOptions.nesting,delimiter:S=t.defaultOptions.delimiter,valueSerializer:A=t.defaultOptions.valueSerializer,shouldSerializeObject:_=t.defaultOptions.shouldSerializeObject}=m,E=typeof S=="number"?String.fromCharCode(S):S,R=g===!0&&b,P=y==="dot"||y==="js"&&!g;if(p>a)return"";let N="",B=!0,j=!1;for(let F in d){let T=d[F],M;h?(M=h,R?v==="bracket"&&(M+=i):P?(M+=c,M+=F):(M+=s,M+=F,M+=l)):M=F,B||(N+=E),typeof T=="object"&&T!==null&&!_(T)?(j=T.pop!==void 0,(C||b&&j)&&(N+=u(T,m,p+1,M,j))):(N+=(0,r.encodeString)(M),N+="=",N+=A(T,F)),B&&(B=!1)}return N}O(u,"stringifyObject")}),x2=Ge((e,t)=>{"use strict";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 a(l){var c=l.indexOf("%");if(c===-1)return l;for(var u=l.length,d="",m=0,p=0,h=c,g=r;c>-1&&c<u;){var y=s(l[c+1],4),b=s(l[c+2],0),v=y|b,C=o[v];if(g=o[256+g+C],p=p<<6|v&o[364+C],g===r)d+=l.slice(m,h),d+=p<=65535?String.fromCharCode(p):String.fromCharCode(55232+(p>>10),56320+(p&1023)),p=0,m=c+3,c=h=l.indexOf("%",m);else{if(g===n)return null;if(c+=3,c<u&&l.charCodeAt(c)===37)continue;return null}}return d+l.slice(m)}O(a,"decodeURIComponent");var i={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function s(l,c){var u=i[l];return u===void 0?255:u<<c}O(s,"hexCodeToInt"),t.exports=a}),M2=Ge(e=>{"use strict";var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=u;var r=nm(),n=bl(),o=t(x2()),a=O(d=>{let m=Number(d);return Number.isNaN(m)?d:m},"numberKeyDeserializer");e.numberKeyDeserializer=a;var i=O(d=>{let m=Number(d);return Number.isNaN(m)?d:m},"numberValueDeserializer");e.numberValueDeserializer=i;var s=/\+/g,l=O(function(){},"Empty");l.prototype=Object.create(null);function c(d,m,p,h,g){let y=d.substring(m,p);return h&&(y=y.replace(s," ")),g&&(y=(0,o.default)(y)||y),y}O(c,"computeKeySlice");function u(d,m){let{valueDeserializer:p=n.defaultOptions.valueDeserializer,keyDeserializer:h=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:g=n.defaultOptions.arrayRepeatSyntax,nesting:y=n.defaultOptions.nesting,arrayRepeat:b=n.defaultOptions.arrayRepeat,nestingSyntax:v=n.defaultOptions.nestingSyntax,delimiter:C=n.defaultOptions.delimiter}=m??{},S=typeof C=="string"?C.charCodeAt(0):C,A=v==="js",_=new l;if(typeof d!="string")return _;let E=d.length,R="",P=-1,N=-1,B=-1,j=_,F,T="",M="",D=!1,Y=!1,z=!1,J=!1,te=!1,ee=!1,H=!1,U=0,G=-1,K=-1,W=-1;for(let Z=0;Z<E+1;Z++){if(U=Z!==E?d.charCodeAt(Z):S,U===S){if(H=N>P,H||(N=Z),B!==N-1&&(M=c(d,B+1,G>-1?G:N,z,D),T=h(M),F!==void 0&&(j=(0,r.getDeepObject)(j,F,T,A&&te,A&&ee))),H||T!==""){H&&(R=d.slice(N+1,Z),J&&(R=R.replace(s," ")),Y&&(R=(0,o.default)(R)||R));let ie=p(R,T);if(b){let He=j[T];He===void 0?G>-1?j[T]=[ie]:j[T]=ie:He.pop?He.push(ie):j[T]=[He,ie]}else j[T]=ie}R="",P=Z,N=Z,D=!1,Y=!1,z=!1,J=!1,te=!1,ee=!1,G=-1,B=Z,j=_,F=void 0,T=""}else U===93?(b&&g==="bracket"&&W===91&&(G=K),y&&(v==="index"||A)&&N<=P&&(B!==K&&(M=c(d,B+1,Z,z,D),T=h(M),F!==void 0&&(j=(0,r.getDeepObject)(j,F,T,void 0,A)),F=T,z=!1,D=!1),B=Z,ee=!0,te=!1)):U===46?y&&(v==="dot"||A)&&N<=P&&(B!==K&&(M=c(d,B+1,Z,z,D),T=h(M),F!==void 0&&(j=(0,r.getDeepObject)(j,F,T,A)),F=T,z=!1,D=!1),te=!0,ee=!1,B=Z):U===91?y&&(v==="index"||A)&&N<=P&&(B!==K&&(M=c(d,B+1,Z,z,D),T=h(M),A&&F!==void 0&&(j=(0,r.getDeepObject)(j,F,T,A)),F=T,z=!1,D=!1,te=!1,ee=!0),B=Z):U===61?N<=P?N=Z:Y=!0:U===43?N>P?J=!0:z=!0:U===37&&(N>P?Y=!0:D=!0);K=Z,W=U}return _}O(u,"parse")}),N2=Ge(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=nm();function r(n,o){if(n===null||typeof n!="object")return"";let a=o??{};return(0,t.stringifyObject)(n,a)}O(r,"stringify")}),gl=Ge(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(a,i,s,l){l===void 0&&(l=s);var c=Object.getOwnPropertyDescriptor(i,s);(!c||("get"in c?!i.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:O(function(){return i[s]},"get")}),Object.defineProperty(a,l,c)}:function(a,i,s,l){l===void 0&&(l=s),a[l]=i[s]}),r=e&&e.__exportStar||function(a,i){for(var s in a)s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s)&&t(i,a,s)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=M2();Object.defineProperty(e,"parse",{enumerable:!0,get:O(function(){return n.parse},"get")});var o=N2();Object.defineProperty(e,"stringify",{enumerable:!0,get:O(function(){return o.stringify},"get")}),r(bl(),e)}),om=Ge((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
164
|
+
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),j2=Ge((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),am=Ge((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),I2=Ge((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}}),D2=Ge(e=>{"use strict";var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(I2()),n=String.fromCodePoint||function(a){var i="";return a>65535&&(a-=65536,i+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),i+=String.fromCharCode(a),i};function o(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),n(a))}O(o,"decodeCodePoint"),e.default=o}),$f=Ge(e=>{"use strict";var t=e&&e.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(om()),n=t(j2()),o=t(am()),a=t(D2()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(o.default),e.decodeHTMLStrict=s(r.default);function s(u){var d=c(u);return function(m){return String(m).replace(i,d)}}O(s,"getStrictDecoder");var l=O(function(u,d){return u<d?1:-1},"sorter");e.decodeHTML=(function(){for(var u=Object.keys(n.default).sort(l),d=Object.keys(r.default).sort(l),m=0,p=0;m<d.length;m++)u[p]===d[m]?(d[m]+=";?",p++):d[m]+=";";var h=new RegExp("&(?:"+d.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),g=c(r.default);function y(b){return b.substr(-1)!==";"&&(b+=";"),g(b)}return O(y,"replacer"),function(b){return String(b).replace(h,y)}})();function c(u){return O(function(d){if(d.charAt(1)==="#"){var m=d.charAt(2);return m==="X"||m==="x"?a.default(parseInt(d.substr(3),16)):a.default(parseInt(d.substr(2),10))}return u[d.slice(1,-1)]||d},"replace")}O(c,"getReplacer")}),Uf=Ge(e=>{"use strict";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(am()),n=l(r.default),o=c(n);e.encodeXML=b(n);var a=t(om()),i=l(a.default),s=c(i);e.encodeHTML=p(i,s),e.encodeNonAsciiHTML=b(i);function l(v){return Object.keys(v).sort().reduce(function(C,S){return C[v[S]]="&"+S+";",C},{})}O(l,"getInverseObj");function c(v){for(var C=[],S=[],A=0,_=Object.keys(v);A<_.length;A++){var E=_[A];E.length===1?C.push("\\"+E):S.push(E)}C.sort();for(var R=0;R<C.length-1;R++){for(var P=R;P<C.length-1&&C[P].charCodeAt(1)+1===C[P+1].charCodeAt(1);)P+=1;var N=1+P-R;N<3||C.splice(R,N,C[R]+"-"+C[P])}return S.unshift("["+C.join("")+"]"),new RegExp(S.join("|"),"g")}O(c,"getInverseReplacer");var u=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=String.prototype.codePointAt!=null?(function(v){return v.codePointAt(0)}):(function(v){return(v.charCodeAt(0)-55296)*1024+v.charCodeAt(1)-56320+65536});function m(v){return"&#x"+(v.length>1?d(v):v.charCodeAt(0)).toString(16).toUpperCase()+";"}O(m,"singleCharReplacer");function p(v,C){return function(S){return S.replace(C,function(A){return v[A]}).replace(u,m)}}O(p,"getInverse");var h=new RegExp(o.source+"|"+u.source,"g");function g(v){return v.replace(h,m)}O(g,"escape"),e.escape=g;function y(v){return v.replace(o,m)}O(y,"escapeUTF8"),e.escapeUTF8=y;function b(v){return function(C){return C.replace(h,function(S){return v[S]||m(S)})}}O(b,"getASCIIEncoder")}),F2=Ge(e=>{"use strict";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=$f(),r=Uf();function n(l,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(l)}O(n,"decode"),e.decode=n;function o(l,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(l)}O(o,"decodeStrict"),e.decodeStrict=o;function a(l,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(l)}O(a,"encode"),e.encode=a;var i=Uf();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:O(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:O(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:O(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:O(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:O(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:O(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:O(function(){return i.encodeHTML},"get")});var s=$f();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:O(function(){return s.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:O(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:O(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:O(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:O(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:O(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:O(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:O(function(){return s.decodeXML},"get")})}),L2=Ge((e,t)=>{"use strict";function r(T,M){if(!(T instanceof M))throw new TypeError("Cannot call a class as a function")}O(r,"_classCallCheck");function n(T,M){for(var D=0;D<M.length;D++){var Y=M[D];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(T,Y.key,Y)}}O(n,"_defineProperties");function o(T,M,D){return M&&n(T.prototype,M),D&&n(T,D),T}O(o,"_createClass");function a(T,M){var D=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!D){if(Array.isArray(T)||(D=i(T))||M&&T&&typeof T.length=="number"){D&&(T=D);var Y=0,z=O(function(){},"F");return{s:z,n:O(function(){return Y>=T.length?{done:!0}:{done:!1,value:T[Y++]}},"n"),e:O(function(H){throw H},"e"),f:z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
165
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var J=!0,te=!1,ee;return{s:O(function(){D=D.call(T)},"s"),n:O(function(){var H=D.next();return J=H.done,H},"n"),e:O(function(H){te=!0,ee=H},"e"),f:O(function(){try{!J&&D.return!=null&&D.return()}finally{if(te)throw ee}},"f")}}O(a,"_createForOfIteratorHelper");function i(T,M){if(T){if(typeof T=="string")return s(T,M);var D=Object.prototype.toString.call(T).slice(8,-1);if(D==="Object"&&T.constructor&&(D=T.constructor.name),D==="Map"||D==="Set")return Array.from(T);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return s(T,M)}}O(i,"_unsupportedIterableToArray");function s(T,M){(M==null||M>T.length)&&(M=T.length);for(var D=0,Y=new Array(M);D<M;D++)Y[D]=T[D];return Y}O(s,"_arrayLikeToArray");var l=F2(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:u()};function u(){var T={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(D){v(0,5).forEach(function(Y){return d(M,D,Y,T)})})}),v(0,23).forEach(function(M){var D=M+232,Y=m(M*10+8);T[D]="#"+Y+Y+Y}),T}O(u,"getDefaultColors");function d(T,M,D,Y){var z=16+T*36+M*6+D,J=T>0?T*40+55:0,te=M>0?M*40+55:0,ee=D>0?D*40+55:0;Y[z]=p([J,te,ee])}O(d,"setStyleColor");function m(T){for(var M=T.toString(16);M.length<2;)M="0"+M;return M}O(m,"toHexString");function p(T){var M=[],D=a(T),Y;try{for(D.s();!(Y=D.n()).done;){var z=Y.value;M.push(m(z))}}catch(J){D.e(J)}finally{D.f()}return"#"+M.join("")}O(p,"toColorHexString");function h(T,M,D,Y){var z;return M==="text"?z=A(D,Y):M==="display"?z=y(T,D,Y):M==="xterm256Foreground"?z=R(T,Y.colors[D]):M==="xterm256Background"?z=P(T,Y.colors[D]):M==="rgb"&&(z=g(T,D)),z}O(h,"generateOutput");function g(T,M){M=M.substring(2).slice(0,-1);var D=+M.substr(0,2),Y=M.substring(5).split(";"),z=Y.map(function(J){return("0"+Number(J).toString(16)).substr(-2)}).join("");return E(T,(D===38?"color:#":"background-color:#")+z)}O(g,"handleRgb");function y(T,M,D){M=parseInt(M,10);var Y={"-1":O(function(){return"<br/>"},"_"),0:O(function(){return T.length&&b(T)},"_"),1:O(function(){return _(T,"b")},"_"),3:O(function(){return _(T,"i")},"_"),4:O(function(){return _(T,"u")},"_"),8:O(function(){return E(T,"display:none")},"_"),9:O(function(){return _(T,"strike")},"_"),22:O(function(){return E(T,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:O(function(){return N(T,"i")},"_"),24:O(function(){return N(T,"u")},"_"),39:O(function(){return R(T,D.fg)},"_"),49:O(function(){return P(T,D.bg)},"_"),53:O(function(){return E(T,"text-decoration:overline")},"_")},z;return Y[M]?z=Y[M]():4<M&&M<7?z=_(T,"blink"):29<M&&M<38?z=R(T,D.colors[M-30]):39<M&&M<48?z=P(T,D.colors[M-40]):89<M&&M<98?z=R(T,D.colors[8+(M-90)]):99<M&&M<108&&(z=P(T,D.colors[8+(M-100)])),z}O(y,"handleDisplay");function b(T){var M=T.slice(0);return T.length=0,M.reverse().map(function(D){return"</"+D+">"}).join("")}O(b,"resetStyles");function v(T,M){for(var D=[],Y=T;Y<=M;Y++)D.push(Y);return D}O(v,"range");function C(T){return function(M){return(T===null||M.category!==T)&&T!=="all"}}O(C,"notCategory");function S(T){T=parseInt(T,10);var M=null;return T===0?M="all":T===1?M="bold":2<T&&T<5?M="underline":4<T&&T<7?M="blink":T===8?M="hide":T===9?M="strike":29<T&&T<38||T===39||89<T&&T<98?M="foreground-color":(39<T&&T<48||T===49||99<T&&T<108)&&(M="background-color"),M}O(S,"categoryForCode");function A(T,M){return M.escapeXML?l.encodeXML(T):T}O(A,"pushText");function _(T,M,D){return D||(D=""),T.push(M),"<".concat(M).concat(D?' style="'.concat(D,'"'):"",">")}O(_,"pushTag");function E(T,M){return _(T,"span",M)}O(E,"pushStyle");function R(T,M){return _(T,"span","color:"+M)}O(R,"pushForegroundColor");function P(T,M){return _(T,"span","background-color:"+M)}O(P,"pushBackgroundColor");function N(T,M){var D;if(T.slice(-1)[0]===M&&(D=T.pop()),D)return"</"+M+">"}O(N,"closeTag");function B(T,M,D){var Y=!1,z=3;function J(){return""}O(J,"remove");function te(pe,he){return D("xterm256Foreground",he),""}O(te,"removeXterm256Foreground");function ee(pe,he){return D("xterm256Background",he),""}O(ee,"removeXterm256Background");function H(pe){return M.newline?D("display",-1):D("text",pe),""}O(H,"newline");function U(pe,he){Y=!0,he.trim().length===0&&(he="0"),he=he.trimRight(";").split(";");var Oe=a(he),ot;try{for(Oe.s();!(ot=Oe.n()).done;){var Hn=ot.value;D("display",Hn)}}catch(Vn){Oe.e(Vn)}finally{Oe.f()}return""}O(U,"ansiMess");function G(pe){return D("text",pe),""}O(G,"realText");function K(pe){return D("rgb",pe),""}O(K,"rgb");var W=[{pattern:/^\x08+/,sub:J},{pattern:/^\x1b\[[012]?K/,sub:J},{pattern:/^\x1b\[\(B/,sub:J},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:K},{pattern:/^\x1b\[38;5;(\d+)m/,sub:te},{pattern:/^\x1b\[48;5;(\d+)m/,sub:ee},{pattern:/^\n/,sub:H},{pattern:/^\r+\n/,sub:H},{pattern:/^\r/,sub:H},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:U},{pattern:/^\x1b\[\d?J/,sub:J},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:J},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:J},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:G}];function Z(pe,he){he>z&&Y||(Y=!1,T=T.replace(pe.pattern,pe.sub))}O(Z,"process");var ie=[],He=T,L=He.length;e:for(;L>0;){for(var X=0,Q=0,ce=W.length;Q<ce;X=++Q){var le=W[X];if(Z(le,X),T.length!==L){L=T.length;continue e}}if(T.length===L)break;ie.push(0),L=T.length}return ie}O(B,"tokenize");function j(T,M,D){return M!=="text"&&(T=T.filter(C(S(D))),T.push({token:M,data:D,category:S(D)})),T}O(j,"updateStickyStack");var F=(function(){function T(M){r(this,T),M=M||{},M.colors&&(M.colors=Object.assign({},c.colors,M.colors)),this.options=Object.assign({},c,M),this.stack=[],this.stickyStack=[]}return O(T,"Filter"),o(T,[{key:"toHtml",value:O(function(M){var D=this;M=typeof M=="string"?[M]:M;var Y=this.stack,z=this.options,J=[];return this.stickyStack.forEach(function(te){var ee=h(Y,te.token,te.data,z);ee&&J.push(ee)}),B(M.join(""),z,function(te,ee){var H=h(Y,te,ee,z);H&&J.push(H),z.stream&&(D.stickyStack=j(D.stickyStack,te,ee))}),Y.length&&J.push(b(Y)),J.join("")},"toHtml")}]),T})();t.exports=F}),ke=(()=>{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})();function im(){let e={setHandler:O(()=>{},"setHandler"),send:O(()=>{},"send")};return new rn({transport:e})}O(im,"mockChannel");var sm=class{constructor(){this.getChannel=O(()=>{if(!this.channel){let t=im();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=O(()=>this.promise,"ready"),this.hasChannel=O(()=>!!this.channel,"hasChannel"),this.setChannel=O(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};O(sm,"AddonStore");var B2=sm,Xs="__STORYBOOK_ADDONS_PREVIEW";function lm(){return ke[Xs]||(ke[Xs]=new B2),ke[Xs]}O(lm,"getAddonsStore");var kt=lm();function k2(e){return e}O(k2,"definePreview");var um=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=O(t=>{t===this.currentContext?.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(),kt.getChannel().on(en,this.renderListener)}removeRenderListeners(){kt.getChannel().removeListener(en,this.renderListener)}};O(um,"HooksContext");var cm=um;function nl(e){let t=O((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,a=n.currentHooks,i=n.nextHookIndex,s=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 l=ke.STORYBOOK_HOOKS_CONTEXT;ke.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(ke.STORYBOOK_HOOKS_CONTEXT=l,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=a,n.nextHookIndex=i,n.currentDecoratorName=s,c},"hookified");return t.originalFn=e,t}O(nl,"hookify");var Js=0,$2=25,U2=O(e=>(t,r)=>{let n=e(nl(t),r.map(o=>nl(o)));return o=>{let{hooks:a}=o;a.prevMountedDecorators??(a.prevMountedDecorators=new Set),a.mountedDecorators=new Set([t,...r]),a.currentContext=o,a.hasUpdates=!1;let i=n(o);for(Js=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=n(o),Js+=1,Js>$2)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks"),H2=O((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),vl=O(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function El(){return ke.STORYBOOK_HOOKS_CONTEXT||null}O(El,"getHooksContextOrNull");function ma(){let e=El();if(e==null)throw vl();return e}O(ma,"getHooksContextOrThrow");function dm(e,t,r){let n=ma();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&se.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&&se.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&&se.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&&se.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
166
|
+
Previous: ${o.deps}
|
|
167
|
+
Incoming: ${r}`),(r==null||o.deps==null||!H2(r,o.deps))&&(t(o),o.deps=r),o}throw vl()}O(dm,"useHook");function ro(e,t,r){let{memoizedState:n}=dm(e,o=>{o.memoizedState=t()},r);return n}O(ro,"useMemoLike");function V2(e,t){return ro("useMemo",e,t)}O(V2,"useMemo");function to(e,t){return ro("useCallback",()=>e,t)}O(to,"useCallback");function _l(e,t){return ro(e,()=>({current:t}),[])}O(_l,"useRefLike");function G2(e){return _l("useRef",e)}O(G2,"useRef");function pm(){let e=El();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{kt.getChannel().emit(zn)}catch{se.warn("State updates of Storybook preview hooks work only in browser")}}O(pm,"triggerUpdate");function Rl(e,t){let r=_l(e,typeof t=="function"?t():t),n=O(o=>{r.current=typeof o=="function"?o(r.current):o,pm()},"setState");return[r.current,n]}O(Rl,"useStateLike");function z2(e){return Rl("useState",e)}O(z2,"useState");function Y2(e,t,r){let n=r!=null?()=>r(t):t,[o,a]=Rl("useReducer",n);return[o,O(i=>a(s=>e(s,i)),"dispatch")]}O(Y2,"useReducer");function fm(e,t){let r=ma(),n=ro("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}O(fm,"useEffect");function W2(e,t=[]){let r=kt.getChannel();return fm(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),to(r.emit.bind(r),[r])}O(W2,"useChannel");function ha(){let{currentContext:e}=ma();if(e==null)throw vl();return e}O(ha,"useStoryContext");function K2(e,t){let{parameters:r}=ha();if(e)return r[e]??t}O(K2,"useParameter");function X2(){let e=kt.getChannel(),{id:t,args:r}=ha(),n=to(a=>e.emit(Xn,{storyId:t,updatedArgs:a}),[e,t]),o=to(a=>e.emit(Yn,{storyId:t,argNames:a}),[e,t]);return[r,n,o]}O(X2,"useArgs");function J2(){let e=kt.getChannel(),{globals:t}=ha(),r=to(n=>e.emit(Kn,{globals:n}),[e]);return[t,r]}O(J2,"useGlobals");function Ve(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(s,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(u){var d,m;return(m=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&m!==void 0?m:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
168
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
169
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,l){var c=i.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
|
170
|
+
`)&&(d=String(s).split(`
|
|
171
|
+
`).map(function(m,p){return p===0?m:""+u+m}).join(`
|
|
172
|
+
`)),i+=d+n[l+1]}),i}O(Ve,"dedent");var Q2=Ve,Hf=new Map,Z2="UNIVERSAL_STORE:",mt={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},ar=class ne{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=O(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=O((n,o)=>{let a=typeof n=="function",i=a?"*":n,s=a?n:o;if(this.debug("subscribe",{eventType:i,listener:s}),!s)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(i)||this.listeners.set(i,new Set),this.listeners.get(i).add(s),()=>{this.debug("unsubscribe",{eventType:i,listener:s}),this.listeners.has(i)&&(this.listeners.get(i).delete(s),this.listeners.get(i)?.size===0&&this.listeners.delete(i))}},"subscribe"),this.send=O(n=>{if(this.debug("send",{event:n}),this.status!==ne.Status.READY)throw new TypeError(Ve`Cannot send event before store is ready. You can get the current status with store.status,
|
|
173
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
174
|
+
${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,!ne.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(ne.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?ne.ActorType.LEADER:ne.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${Z2}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===ne.ActorType.LEADER)this.syncing={state:mt.RESOLVED,promise:Promise.resolve()};else{let n,o,a=new Promise((i,s)=>{n=O(()=>{this.syncing.state===mt.PENDING&&(this.syncing.state=mt.RESOLVED,i())},"syncingResolve"),o=O(l=>{this.syncing.state===mt.PENDING&&(this.syncing.state=mt.REJECTED,s(l))},"syncingReject")});this.syncing={state:mt.PENDING,promise:a,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?.channel??ne.preparation.channel,this.environment=r?.environment??ne.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):ne.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,a)=>{t=O(i=>{o(i)},"resolveRef"),r=O((...i)=>{a(i)},"rejectRef")});ne.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??ne.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return ne.Status.UNPREPARED;switch(this.syncing?.state){case mt.PENDING:case void 0:return ne.Status.SYNCING;case mt.REJECTED:return ne.Status.ERROR;case mt.RESOLVED:default:return ne.Status.READY}}untilReady(){return Promise.all([ne.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(Ve`[UniversalStore]
|
|
175
|
+
create`,{options:t});let r=Hf.get(t.id);if(r)return console.warn(Ve`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
|
|
176
|
+
You should reuse the existing instance instead of trying to create a new one.`),r;ne.isInternalConstructing=!0;let n=new ne(t);return Hf.set(t.id,n),n}static __prepare(t,r){ne.preparation.channel=t,ne.preparation.environment=r,ne.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!==ne.Status.READY)throw new TypeError(Ve`Cannot set state before store is ready. You can get the current status with store.status,
|
|
177
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
178
|
+
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:ne.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(ne.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:this.channel}),this.channel?.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===ne.ActorType.LEADER?this.emitToChannel({type:ne.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:ne.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:ne.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(a=>a(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===mt.PENDING&&r.type!==ne.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===ne.ActorType.LEADER){let o=!0;switch(r.type){case ne.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let a={type:ne.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:a}),this.emitToChannel(a,{actor:this.actor});break;case ne.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=mt.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(Ve`Detected multiple UniversalStore leaders created with the same id "${this.id}".
|
|
179
|
+
Only one leader can exists at a time, your stores are now in an invalid state.
|
|
180
|
+
Leaders detected:
|
|
181
|
+
this: ${JSON.stringify(this.actor,null,2)}
|
|
182
|
+
other: ${JSON.stringify(n.actor,null,2)}`);break}o&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===ne.ActorType.FOLLOWER)switch(r.type){case ne.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==mt.PENDING)break;this.syncing.resolve?.();let o={type:ne.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case ne.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(Ve`[UniversalStore::${this.id}::${this.environment??ne.Environment.UNKNOWN}]
|
|
183
|
+
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){ne.preparation.reject(new Error("reset")),ne.setupPreparationPromise(),ne.isInternalConstructing=!1}};O(ar,"UniversalStore"),ar.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},ar.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},ar.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"},ar.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},ar.isInternalConstructing=!1,ar.setupPreparationPromise();var ia=ar;function mm(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[a,i]=n[o];t(i,a)||(r[a]=i)}return r}O(mm,"omitBy");function hm(e,t){let r={};for(let n=0;n<t.length;n++){let o=t[n];Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r}O(hm,"pick");function ym(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[a,i]=n[o];t(i,a)&&(r[a]=i)}return r}O(ym,"pickBy");function Et(e){if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(e.toString()!=="[object Object]")return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}O(Et,"isPlainObject");function Nr(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let a=n[o],i=e[a];r[a]=t(i,a,e)}return r}O(Nr,"mapValues");var eS="[object RegExp]",tS="[object String]",rS="[object Number]",nS="[object Boolean]",Vf="[object Arguments]",oS="[object Symbol]",aS="[object Date]",iS="[object Map]",sS="[object Set]",lS="[object Array]",uS="[object Function]",cS="[object ArrayBuffer]",Qs="[object Object]",dS="[object Error]",pS="[object DataView]",fS="[object Uint8Array]",mS="[object Uint8ClampedArray]",hS="[object Uint16Array]",yS="[object Uint32Array]",bS="[object BigUint64Array]",gS="[object Int8Array]",vS="[object Int16Array]",ES="[object Int32Array]",_S="[object BigInt64Array]",RS="[object Float32Array]",wS="[object Float64Array]";function ol(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}O(ol,"getSymbols");function al(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}O(al,"getTag");function bm(e,t){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 Ot(e,t)}return Ot(e,t)}O(bm,"isEqual");function Ot(e,t,r){if(Object.is(e,t))return!0;let n=al(e),o=al(t);if(n===Vf&&(n=Qs),o===Vf&&(o=Qs),n!==o)return!1;switch(n){case tS:return e.toString()===t.toString();case rS:{let s=e.valueOf(),l=t.valueOf();return s===l||Number.isNaN(s)&&Number.isNaN(l)}case nS:case aS:case oS:return Object.is(e.valueOf(),t.valueOf());case eS:return e.source===t.source&&e.flags===t.flags;case uS:return e===t}r=r??new Map;let a=r.get(e),i=r.get(t);if(a!=null&&i!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(n){case iS:{if(e.size!==t.size)return!1;for(let[s,l]of e.entries())if(!t.has(s)||!Ot(l,t.get(s),r))return!1;return!0}case sS:{if(e.size!==t.size)return!1;let s=Array.from(e.values()),l=Array.from(t.values());for(let c=0;c<s.length;c++){let u=s[c],d=l.findIndex(m=>Ot(u,m,r));if(d===-1)return!1;l.splice(d,1)}return!0}case lS:case fS:case mS:case hS:case yS:case bS:case gS:case vS:case ES:case _S:case RS:case wS:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let s=0;s<e.length;s++)if(!Ot(e[s],t[s],r))return!1;return!0}case cS:return e.byteLength!==t.byteLength?!1:Ot(new Uint8Array(e),new Uint8Array(t),r);case pS:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Ot(e.buffer,t.buffer,r);case dS:return e.name===t.name&&e.message===t.message;case Qs:{if(!(Ot(e.constructor,t.constructor,r)||Et(e)&&Et(t)))return!1;let s=[...Object.keys(e),...ol(e)],l=[...Object.keys(t),...ol(t)];if(s.length!==l.length)return!1;for(let c=0;c<s.length;c++){let u=s[c],d=e[u];if(!Object.prototype.hasOwnProperty.call(t,u))return!1;let m=t[u];if(!Ot(d,m,r))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}O(Ot,"areObjectsEqual");var CS=class gm extends ia{constructor(t,r){ia.isInternalConstructing=!0,super({...t,leader:!0},{channel:new rn({}),environment:ia.Environment.MOCK}),ia.isInternalConstructing=!1,typeof r?.fn=="function"&&(this.testUtils=r,this.getState=r.fn(this.getState),this.setState=r.fn(this.setState),this.subscribe=r.fn(this.subscribe),this.onStateChange=r.fn(this.onStateChange),this.send=r.fn(this.send))}static create(t,r){return new gm(t,r)}unsubscribeAll(){if(!this.testUtils)throw new Error(Q2`Cannot call unsubscribeAll on a store that does not have testUtils.
|
|
184
|
+
Please provide testUtils as the second argument when creating the store.`);let t=O(r=>{try{r.value()}catch{}},"callReturnedUnsubscribeFn");this.subscribe.mock?.results.forEach(t),this.onStateChange.mock?.results.forEach(t)}};O(CS,"MockUniversalStore");var Zs=un(tm(),1),an=Symbol("incompatible"),il=O((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)?an:e.reduce((n,o,a)=>{let i=il(o,{type:r.value});return i!==an&&(n[a]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?an:Object.entries(e).reduce((n,[o,a])=>{let i=il(a,{type:r.value[o]});return i===an?n:Object.assign(n,{[o]:i})},{});default:return an}},"map"),SS=O((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let a=il(o,t[n]);return a===an?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),sl=O((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=sl(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!Et(e)||!Et(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=sl(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),AS=O((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(O(a,"allowArg"),!o)return a();if(!Array.isArray(o))return we.error(Ve`
|
|
185
|
+
Invalid argType: '${n}.options' should be an array.
|
|
186
|
+
|
|
187
|
+
More info: https://storybook.js.org/docs/api/arg-types
|
|
188
|
+
`),a();if(o.some(d=>d&&["object","function"].includes(typeof d)))return we.error(Ve`
|
|
189
|
+
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
190
|
+
|
|
191
|
+
More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
192
|
+
`),a();let i=Array.isArray(e[n]),s=i&&e[n].findIndex(d=>!o.includes(d)),l=i&&s===-1;if(e[n]===void 0||o.includes(e[n])||l)return a();let c=i?`${n}[${s}]`:n,u=o.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return we.warn(`Received illegal value for '${c}'. Supported options: ${u}`),r},{}),"validateOptions"),Zn=Symbol("Deeply equal"),ca=O((e,t)=>{if(typeof e!=typeof t)return t;if(bm(e,t))return Zn;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,a)=>{let i=ca(e[a],o);return i!==Zn&&(n[a]=i),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Et(e)&&Et(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=ca(e?.[n],t?.[n]);return o===Zn?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),vm="UNTARGETED";function Em({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=vm}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}O(Em,"groupArgsByTarget");function _m(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}O(_m,"deleteUndefined");var Rm=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=ca(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==Zn&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=AS(r,t.argTypes);this.argsByStoryId[t.id]=sl(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=SS(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]=_m({...this.argsByStoryId[t],...r})}};O(Rm,"ArgsStore");var TS=Rm,wm=O((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),Cm=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&ca(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=wm(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==Zn&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:se.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)}}};O(Cm,"GlobalsStore");var PS=Cm,OS=un(tm(),1),qS=(0,OS.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),Sm=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(a=>a.id.startsWith(t));let{name:n,title:o}=t;return r.find(a=>a.name===n&&a.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new lf({storyId:t});return r}importPathToEntry(t){return qS(this.entries)[t]}};O(Sm,"StoryIndexStore");var xS=Sm,MS=O(e=>typeof e=="string"?{name:e}:e,"normalizeType"),NS=O(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),jS=O((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=MS(r)),n?a.control=NS(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),da=O(e=>Nr(e,jS),"normalizeInputTypes"),Re=O(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),IS=Ve`
|
|
193
|
+
CSF .story annotations deprecated; annotate story functions directly:
|
|
194
|
+
- StoryFn.story.name => StoryFn.storyName
|
|
195
|
+
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
196
|
+
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
197
|
+
`;function pa(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(se.debug("deprecated story",a),Ft(IS));let i=Bf(e),s=typeof n!="function"&&n.name||n.storyName||a?.name||i,l=[...Re(n.decorators),...Re(a?.decorators)],c={...a?.parameters,...n.parameters},u={...a?.args,...n.args},d={...a?.argTypes,...n.argTypes},m=[...Re(n.loaders),...Re(a?.loaders)],p=[...Re(n.beforeEach),...Re(a?.beforeEach)],h=[...Re(n.experimental_afterEach),...Re(a?.experimental_afterEach)],{render:g,play:y,tags:b=[],globals:v={}}=n,C=c.__id||Lf(r.id,i);return{moduleExport:t,id:C,name:s,tags:b,decorators:l,parameters:c,args:u,argTypes:da(d),loaders:m,beforeEach:p,experimental_afterEach:h,globals:v,...g&&{render:g},...o&&{userStoryFn:o},...y&&{play:y}}}O(pa,"normalizeStory");function fa(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Ks(n||t),...e,title:t,...o&&{argTypes:da(o)},parameters:{fileName:r,...e.parameters}}}O(fa,"normalizeComponentAnnotations");var DS=O(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&se.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),FS=O(e=>{let{options:t}=e;t?.storySort&&se.error("The storySort option parameter can only be set globally")},"checkStorySort"),sa=O(e=>{e&&(DS(e),FS(e))},"checkDisallowedParameters");function Am(e,t,r){let{default:n,__namedExportsOrder:o,...a}=e,i=Object.values(a)[0];if(Or(i)){let c=fa(i.meta.input,r,t);sa(c.parameters);let u={meta:c,stories:{},moduleExports:e};return Object.keys(a).forEach(d=>{if(nn(d,c)){let m=pa(d,a[d].input,c);sa(m.parameters),u.stories[m.id]=m}}),u.projectAnnotations=i.meta.preview.composed,u}let s=fa(n,r,t);sa(s.parameters);let l={meta:s,stories:{},moduleExports:e};return Object.keys(a).forEach(c=>{if(nn(c,s)){let u=pa(c,a[c],s);sa(u.parameters),l.stories[u.id]=u}}),l}O(Am,"processCSFFile");function Tm(e){return e!=null&&Pm(e).includes("mount")}O(Tm,"mountDestructured");function Pm(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=ll(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?ll(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}O(Pm,"getUsedProps");function ll(e){let t=[],r=[],n=0;for(let a=0;a<e.length;a++)if(e[a]==="{"||e[a]==="[")r.push(e[a]==="{"?"}":"]");else if(e[a]===r[r.length-1])r.pop();else if(!r.length&&e[a]===","){let i=e.substring(n,a).trim();i&&t.push(i),n=a+1}let o=e.substring(n).trim();return o&&t.push(o),t}O(ll,"splitByComma");function Om(e,t,r){let n=r(e);return o=>t(n,o)}O(Om,"decorateStory");function qm({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:i,initialArgs:s,argTypes:l,...c}={}){return c}O(qm,"sanitizeStoryContextUpdate");function xm(e,t){let r={},n=O(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...qm(i)},a(r.value)},"bindWithContext"),o=t.reduce((a,i)=>Om(a,i,n),e);return a=>(r.value=a,o(a))}O(xm,"defaultDecorateStory");var jr=O((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([i,s])=>{let l=o[i];Array.isArray(s)||typeof l>"u"?o[i]=s:Et(s)&&Et(l)?t[i]=!0:typeof s<"u"&&(o[i]=s)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(i=>i[o]).filter(i=>typeof i<"u");a.every(i=>Et(i))?n[o]=jr(...a):n[o]=a[a.length-1]}),n},"combineParameters");function wl(e,t,r){let{moduleExport:n,id:o,name:a}=e||{},i=Cl(e,t,r),s=O(async _=>{let E={};for(let R of[..."__STORYBOOK_TEST_LOADERS__"in ke&&Array.isArray(ke.__STORYBOOK_TEST_LOADERS__)?[ke.__STORYBOOK_TEST_LOADERS__]:[],Re(r.loaders),Re(t.loaders),Re(e.loaders)]){if(_.abortSignal.aborted)return E;let P=await Promise.all(R.map(N=>N(_)));Object.assign(E,...P)}return E},"applyLoaders"),l=O(async _=>{let E=new Array;for(let R of[...Re(r.beforeEach),...Re(t.beforeEach),...Re(e.beforeEach)]){if(_.abortSignal.aborted)return E;let P=await R(_);P&&E.push(P)}return E},"applyBeforeEach"),c=O(async _=>{let E=[...Re(r.experimental_afterEach),...Re(t.experimental_afterEach),...Re(e.experimental_afterEach)].reverse();for(let R of E){if(_.abortSignal.aborted)return;await R(_)}},"applyAfterEach"),u=O(_=>_.originalStoryFn(_.args,_),"undecoratedStoryFn"),{applyDecorators:d=xm,runStep:m}=r,p=[...Re(e?.decorators),...Re(t?.decorators),...Re(r?.decorators)],h=e?.userStoryFn||e?.render||t.render||r.render,g=U2(d)(u,p),y=O(_=>g(_),"unboundStoryFn"),b=e?.play??t?.play,v=Tm(b);if(!h&&!v)throw new Pf({id:o});let C=O(_=>async()=>(await _.renderToCanvas(),_.canvas),"defaultMount"),S=e.mount??t.mount??r.mount??C,A=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:o,name:a,story:a,originalStoryFn:h,undecoratedStoryFn:u,unboundStoryFn:y,applyLoaders:s,applyBeforeEach:l,applyAfterEach:c,playFunction:b,runStep:m,mount:S,testingLibraryRender:A,renderToCanvas:r.renderToCanvas,usesMount:v}}O(wl,"prepareStory");function Mm(e,t,r){return{...Cl(void 0,e,t),moduleExport:r}}O(Mm,"prepareMeta");function Cl(e,t,r){let n=["dev","test"],o=ke.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],a=kf(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),i=jr(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:s=[],argsEnhancers:l=[]}=r,c=jr(r.argTypes,t.argTypes,e?.argTypes);if(e){let b=e?.userStoryFn||e?.render||t.render||r.render;i.__isArgsStory=b&&b.length>0}let u={...r.args,...t.args,...e?.args},d={...t.globals,...e?.globals},m={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:i,initialArgs:u,argTypes:c,storyGlobals:d};m.argTypes=s.reduce((b,v)=>v({...m,argTypes:b}),m.argTypes);let p={...u};m.initialArgs=l.reduce((b,v)=>({...b,...v({...m,initialArgs:b})}),p);let{name:h,story:g,...y}=m;return y}O(Cl,"preparePartialAnnotations");function Sl(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(ke.FEATURES?.argTypeTargetsV7){let a=Em(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[vm]||{}}}let n=Object.entries(r.args).reduce((a,[i,s])=>{if(!r.argTypes[i]?.mapping)return a[i]=s,a;let l=O(c=>{let u=r.argTypes[i].mapping;return u&&c in u?u[c]:c},"mappingFn");return a[i]=Array.isArray(s)?s.map(l):l(s),a},{}),o=Object.entries(n).reduce((a,[i,s])=>{let l=r.argTypes[i]||{};return If(l,n,r.globals)&&(a[i]=s),a},{});return{...r,unmappedArgs:t,args:o}}O(Sl,"prepareContext");var ul=O((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(se.warn(Ve`
|
|
198
|
+
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
199
|
+
|
|
200
|
+
Consider using the mapping feature or fully custom args:
|
|
201
|
+
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
202
|
+
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
203
|
+
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?ul(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Nr(e,o=>ul(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),Nm=O(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Nr(n,(i,s)=>({name:s,type:ul(i,`${t}.${s}`,new Set)})),a=Nr(r,(i,s)=>({name:s}));return jr(o,a,r)},"inferArgTypes");Nm.secondPass=!0;var Gf=O((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),LS=O((e,t,r)=>!t&&!r?e:e&&ym(e,(n,o)=>{let a=n.name||o.toString();return!!(!t||Gf(a,t))&&(!r||!Gf(a,r))}),"filterArgTypes"),BS=O((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&se.warn(`Addon controls: Control of type color only supports string, received "${a}" 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:a}=n;return{control:{type:a?.length<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),jm=O(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let i=LS(t,n,o),s=Nr(i,(l,c)=>l?.type&&BS(l,c.toString(),a));return jr(s,i)},"inferControls");jm.secondPass=!0;function on({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,experimental_afterEach:i,globals:s,initialGlobals:l,...c}){return s&&Object.keys(s).length>0&&Ft(Ve`
|
|
204
|
+
The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0.
|
|
205
|
+
Please use 'initialGlobals' instead. Learn more:
|
|
206
|
+
|
|
207
|
+
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals
|
|
208
|
+
`),{...e&&{argTypes:da(e)},...t&&{globalTypes:da(t)},decorators:Re(n),loaders:Re(o),beforeEach:Re(a),experimental_afterEach:Re(i),argTypesEnhancers:[...r||[],Nm,jm],initialGlobals:jr(l,s),...c}}O(on,"normalizeProjectAnnotations");var kS=O(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 Im(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}O(Im,"composeStepRunners");function ln(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}O(ln,"getField");function Bt(e,t,r={}){return ln(e,t).reduce((n,o)=>{let a=Re(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}O(Bt,"getArrayField");function sn(e,t){return Object.assign({},...ln(e,t))}O(sn,"getObjectField");function xr(e,t){return ln(e,t).pop()}O(xr,"getSingletonField");function qr(e){let t=Bt(e,"argTypesEnhancers"),r=ln(e,"runStep"),n=Bt(e,"beforeAll");return{parameters:jr(...ln(e,"parameters")),decorators:Bt(e,"decorators",{reverseFileOrder:!(ke.FEATURES?.legacyDecoratorFileOrder??!1)}),args:sn(e,"args"),argsEnhancers:Bt(e,"argsEnhancers"),argTypes:sn(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:sn(e,"globals"),initialGlobals:sn(e,"initialGlobals"),globalTypes:sn(e,"globalTypes"),loaders:Bt(e,"loaders"),beforeAll:kS(n),beforeEach:Bt(e,"beforeEach"),experimental_afterEach:Bt(e,"experimental_afterEach"),render:xr(e,"render"),renderToCanvas:xr(e,"renderToCanvas"),renderToDOM:xr(e,"renderToDOM"),applyDecorators:xr(e,"applyDecorators"),runStep:Im(r),tags:Bt(e,"tags"),mount:xr(e,"mount"),testingLibraryRender:xr(e,"testingLibraryRender")}}O(qr,"composeConfigs");var Dm=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};O(Dm,"ReporterAPI");var Fm=Dm;function Lm(e,t,r){return Or(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}O(Lm,"getCsfFactoryAnnotations");function $S(e){globalThis.defaultProjectAnnotations=e}O($S,"setDefaultProjectAnnotations");var US="ComposedStory",HS="Unnamed Story";function Bm(e){return e?qr([e]):{}}O(Bm,"extractAnnotation");function VS(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=qr([globalThis.defaultProjectAnnotations??{},qr(t.map(Bm))]),globalThis.globalProjectAnnotations??{}}O(VS,"setProjectAnnotations");var ir=[];function km(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??US;let a=fa(t),i=o||e.storyName||e.story?.name||e.name||HS,s=pa(i,e,a),l=on(qr([n??globalThis.globalProjectAnnotations??{},r??{}])),c=wl(s,a,l),u={...wm(l.globalTypes),...l.initialGlobals,...c.storyGlobals},d=new Fm,m=O(()=>{let b=Sl({hooks:new cm,globals:u,args:{...c.initialArgs},viewMode:"story",reporting:d,loaded:{},abortSignal:new AbortController().signal,step:O((v,C)=>c.runStep(v,C,b),"step"),canvasElement:null,canvas:{},globalTypes:l.globalTypes,...c,context:null,mount:null});return b.parameters.__isPortableStory=!0,b.context=b,c.renderToCanvas&&(b.renderToCanvas=async()=>{let v=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:O(()=>{},"showMain"),showError:O(C=>{throw new Error(`${C.title}
|
|
209
|
+
${C.description}`)},"showError"),showException:O(C=>{throw C},"showException"),forceRemount:!0,storyContext:b,storyFn:O(()=>c.unboundStoryFn(b),"storyFn"),unboundStoryFn:c.unboundStoryFn},b.canvasElement);v&&ir.push(v)}),b.mount=c.mount(b),b},"initializeContext"),p,h=O(async b=>{let v=m();return v.canvasElement??(v.canvasElement=globalThis?.document?.body),p&&(v.loaded=p.loaded),Object.assign(v,b),c.playFunction(v)},"play"),g=O(b=>{let v=m();return Object.assign(v,b),$m(c,v)},"run"),y=c.playFunction?h:void 0;return Object.assign(O(function(b){let v=m();return p&&(v.loaded=p.loaded),v.args={...v.initialArgs,...b},c.unboundStoryFn(v)},"storyFn"),{id:c.id,storyName:i,load:O(async()=>{for(let v of[...ir].reverse())await v();ir.length=0;let b=m();b.loaded=await c.applyLoaders(b),ir.push(...(await c.applyBeforeEach(b)).filter(Boolean)),p=b},"load"),globals:u,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:y,run:g,reporting:d,tags:c.tags})}O(km,"composeStory");var GS=O((e,t,r,n)=>km(e,t,r,{},n),"defaultComposeStory");function zS(e,t,r=GS){let{default:n,__esModule:o,__namedExportsOrder:a,...i}=e,s=n;return Object.entries(i).reduce((l,[c,u])=>{let{story:d,meta:m}=Lm(u);return!s&&m&&(s=m),nn(c,s)?Object.assign(l,{[c]:r(d,s,t,c)}):l},{})}O(zS,"composeStories");function YS(e){return e.extend({mount:O(async({mount:t,page:r},n)=>{await n(async(o,...a)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(Ve`
|
|
210
|
+
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
211
|
+
Please use JSX format for your components such as:
|
|
212
|
+
|
|
213
|
+
instead of:
|
|
214
|
+
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
215
|
+
|
|
216
|
+
do:
|
|
217
|
+
await mount(<MyComponent foo="bar"/>)
|
|
218
|
+
|
|
219
|
+
More info: https://storybook.js.org/docs/api/portable-stories-playwright
|
|
220
|
+
`);await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s);return("__pw_type"in l?l.type:l)?.load?.()},o);let i=await t(o,...a);return await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s),c="__pw_type"in l?l.type:l,u=document.querySelector("#root");return c?.play?.({canvasElement:u})},o),i})},"mount")})}O(YS,"createPlaywrightTest");async function $m(e,t){for(let o of[...ir].reverse())await o();if(ir.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,ir.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;ir.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&(r&&(n||(t.mount=async()=>{throw new oa({playFunction:r.toString()})}),await r(t)),await e.applyAfterEach(t))}O($m,"runStory");function cl(e,t){return mm(hm(e,t),r=>r===void 0)}O(cl,"picky");var zf=1e3,WS=1e4,Um=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=O(()=>{let i=this.getSetStoriesPayload(),s=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Nr(i.stories,l=>{let{importPath:c}=this.storyIndex.entries[l.id];return{...cl(l,["id","name","title"]),importPath:c,kind:l.title,story:l.name,parameters:{...cl(l.parameters,s),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new xS(t),this.projectAnnotations=on(n);let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new TS,this.userGlobals=new PS({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Zs.default)(zf)(Am),this.prepareMetaWithCache=(0,Zs.default)(zf)(Mm),this.prepareStoryWithCache=(0,Zs.default)(WS)(wl)}setProjectAnnotations(t){this.projectAnnotations=on(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 wf({storyId:t});let o=r.meta,a=this.prepareStoryWithCache(n,o,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new cm,a}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,...a]=await Promise.all([this.importFn(r.importPath),...n.map(i=>{let s=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(s.id)})]);return{entryExports:o,csfFiles:a}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,a=new Fm;return Sl({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:a,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=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 cf;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:a,importPath:i}])=>{if(a==="docs")return n;let s=r[i],l=this.storyFromCSFFile({storyId:o,csfFile:s});return!t.includeDocsOnly&&l.parameters.docsOnly||(n[o]=Object.entries(l).reduce((c,[u,d])=>u==="moduleExport"||typeof d=="function"?c:Array.isArray(d)?Object.assign(c,{[u]:d.slice().sort()}):Object.assign(c,{[u]:d}),{args:l.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...l.storyGlobals}})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return Ft("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if(Ft("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:O(a=>{let i={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:O((s,l)=>o.runStep(s,l,i),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...i,...a})},"storyFn")}}};O(Um,"StoryStore");var KS=Um;function XS(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}O(XS,"slash");function JS(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}O(JS,"pathJoin");var ya=new Error("prepareAborted"),{AbortController:Yf}=globalThis;function dl(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)}}}O(dl,"serializeError");var Hm=class{constructor(t,r,n,o,a,i,s={autoplay:!0,forceInitialArgs:!1},l){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=a,this.viewMode=i,this.renderOptions=s,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=O(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Yf,l&&(this.story=l,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(Lt,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(Lt,{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),ya}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}={}){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:a,componentId:i,title:s,name:l,tags:c,applyLoaders:u,applyBeforeEach:d,applyAfterEach:m,unboundStoryFn:p,playFunction:h,runStep:g}=o;r&&!t&&(this.cancelRender(),this.abortController=new Yf);let y=this.abortController.signal,b=!1,v=o.usesMount;try{let C={...this.storyContext(),viewMode:this.viewMode,abortSignal:y,canvasElement:n,loaded:{},step:O((j,F)=>g(j,F,C),"step"),context:null,canvas:{},renderToCanvas:O(async()=>{let j=await this.renderToScreen(S,n);this.teardownRender=j||(()=>{}),b=!0},"renderToCanvas"),mount:O(async(...j)=>{this.callbacks.showStoryDuringRender?.();let F=null;return await this.runPhase(y,"rendering",async()=>{F=await o.mount(C)(...j)}),v&&await this.runPhase(y,"playing"),F},"mount")};C.context=C;let S={componentId:i,title:s,kind:s,id:a,name:l,story:l,tags:c,...this.callbacks,showError:O(j=>(this.phase="errored",this.callbacks.showError(j)),"showError"),showException:O(j=>(this.phase="errored",this.callbacks.showException(j)),"showException"),forceRemount:r||this.notYetRendered,storyContext:C,storyFn:O(()=>p(C),"storyFn"),unboundStoryFn:p};if(await this.runPhase(y,"loading",async()=>{C.loaded=await u(C)}),y.aborted)return;let A=await d(C);if(this.store.addCleanupCallbacks(o,A),this.checkIfAborted(y)||(!b&&!v&&await C.mount(),this.notYetRendered=!1,y.aborted))return;let _=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,E=new Set,R=O(j=>E.add("error"in j?j.error:j.reason),"onError");if(this.renderOptions.autoplay&&r&&h&&this.phase!=="errored"){window.addEventListener("error",R),window.addEventListener("unhandledrejection",R),this.disableKeyListeners=!0;try{if(v?await h(C):(C.mount=async()=>{throw new oa({playFunction:h.toString()})},await this.runPhase(y,"playing",async()=>h(C))),!b)throw new qf;this.checkIfAborted(y),!_&&E.size>0?await this.runPhase(y,"errored"):await this.runPhase(y,"played")}catch(j){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(y,"errored",async()=>{this.channel.emit(bs,dl(j))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw j;console.error(j)}if(!_&&E.size>0&&this.channel.emit(gs,Array.from(E).map(dl)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",R),window.removeEventListener("error",R),y.aborted)return}await this.runPhase(y,"completed",async()=>this.channel.emit(en,a)),this.phase!=="errored"&&await this.runPhase(y,"afterEach",async()=>{await m(C)});let P=!_&&E.size>0,N=C.reporting.reports.some(j=>j.status==="failed"),B=P||N;await this.runPhase(y,"finished",async()=>this.channel.emit(Ko,{storyId:a,status:B?"error":"success",reporters:C.reporting.reports}))}catch(C){this.phase="errored",this.callbacks.showException(C),await this.runPhase(y,"finished",async()=>this.channel.emit(Ko,{storyId:a,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}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(()=>{})}};O(Hm,"StoryRender");var pl=Hm,{fetch:QS}=ke,ZS="./index.json",Vm=class{constructor(t,r,n=kt.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((a,i)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=i}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:O((t,r)=>{if(this.storyStoreValue)return Ft("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new Sf},"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(Ss,this.onStoryIndexChanged.bind(this)),this.channel.on(Kn,this.onUpdateGlobals.bind(this)),this.channel.on(Xn,this.onUpdateArgs.bind(this)),this.channel.on(xs,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Yn,this.onResetArgs.bind(this)),this.channel.on(zn,this.onForceReRender.bind(this)),this.channel.on(Zr,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new pf;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){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await QS(ZS);if(t.status===200)return t.json();throw new hf({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new KS(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new at({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(_s,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 at({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 at({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:a,globals:i}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Cr,{initialGlobals:n,userGlobals:a,storyGlobals:o,globals:i})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(Cr,{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 at({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(Rs,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(Xo,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(Xo,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new at({methodName:"onResetArgs"});let n=this.storyRenders.find(a=>a.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((a,i)=>(a[i]=n.initialArgs[i],a),{});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 at({methodName:"renderStoryToElement"});let a=new pl(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return a.renderToElement(r),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new at({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new at({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new at({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,se.error(t),se.error(r),this.channel.emit(hs,r)}};O(Vm,"Preview");var eA=Vm,tA=!1,el="Invariant failed";function la(e,t){if(!e){if(tA)throw new Error(el);var r=typeof t=="function"?t():t,n=r?"".concat(el,": ").concat(r):el;throw new Error(n)}}O(la,"invariant");var Gm=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=O(a=>{let i=this.nameToStoryId.get(a);if(i)return i;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=O(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=O(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=O(a=>{if(!a){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let i=this.storyIdToCSFFile.get(a);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${a}`);return this.store.storyFromCSFFile({storyId:a,csfFile:i})},"storyById"),this.getStoryContext=O(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=O(a=>this.store.loadStory({storyId:a}),"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((a,i)=>{this.referenceCSFFile(a)})}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(Or(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(Ve`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(", ")}.
|
|
221
|
+
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
222
|
+
- ... or vice versa?
|
|
223
|
+
- 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}}};O(Gm,"DocsContext");var zm=Gm,Ym=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 ya;let{importPath:n,title:o}=this.entry,a=this.store.processCSFFileWithCache(t,n,o),i=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:a}),this.csfFiles=[a,...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 zm(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 a=await o.renderer(),{render:i}=a,s=O(async()=>{try{await i(n,o,t),this.channel.emit(Gn,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l})=>{!l||!t||a.unmount(t)},s()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};O(Ym,"CsfDocsRender");var Wf=Ym,Wm=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 ya;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 zm(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 a={...o,page:this.exports.default},i=await o.renderer(),{render:s}=i,l=O(async()=>{try{await s(n,a,t),this.channel.emit(Gn,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(i.unmount(t),this.torndown=!0)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};O(Wm,"MdxDocsRender");var Kf=Wm,rA=globalThis;function Km(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}O(Km,"focusInInput");var Xm="attached-mdx",nA="unattached-mdx";function Jm({tags:e}){return e?.includes(nA)||e?.includes(Xm)}O(Jm,"isMdxEntry");function ua(e){return e.type==="story"}O(ua,"isStoryRender");function Qm(e){return e.type==="docs"}O(Qm,"isDocsRender");function Zm(e){return Qm(e)&&e.subtype==="csf"}O(Zm,"isCsfDocsRender");var eh=class extends eA{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(),rA.onkeydown=this.onKeydown.bind(this),this.channel.on(Wn,this.onSetCurrentStory.bind(this)),this.channel.on(qs,this.onUpdateQueryParams.bind(this)),this.channel.on(vs,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new at({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 at({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 vf):this.renderStoryLoadingException(t,new _f({storySpecifier:t.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(Ts,this.selectionStore.selection),this.channel.emit(Yo,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)&&!Km(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}=t;this.channel.emit(Es,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Yo,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof pl&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof Kf||this.currentRender instanceof Wf)&&await this.currentRender.rerender?.()}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=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new at({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,a;try{a=await this.storyStoreValue.storyIdToEntry(o)}catch(m){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,m);return}let i=this.currentSelection?.storyId!==o,s=this.currentRender?.type!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:s}):this.view.showPreparingDocs({immediate:s}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let l;a.type==="story"?l=new pl(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):Jm(a)?l=new Kf(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):l=new Wf(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let u=this.currentRender;this.currentRender=l;try{await l.prepare()}catch(m){u&&await this.teardownRender(u),m!==ya&&this.renderStoryLoadingException(o,m);return}let d=!i&&u&&!l.isEqual(u);if(t&&ua(l)&&(la(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,t)),u&&!u.torndown&&!i&&!d&&!s){this.currentRender=u,this.channel.emit(Os,o),this.view.showMain();return}if(u&&await this.teardownRender(u,{viewModeChanged:s}),c&&(i||s)&&this.channel.emit(ws,o),ua(l)){la(!!l.story);let{parameters:m,initialArgs:p,argTypes:h,unmappedArgs:g,initialGlobals:y,userGlobals:b,storyGlobals:v,globals:C}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(As,{id:o,parameters:m,initialArgs:p,argTypes:h,args:g}),this.channel.emit(Cr,{userGlobals:b,storyGlobals:v,globals:C,initialGlobals:y})}else{let{parameters:m}=this.storyStoreValue.projectAnnotations,{initialGlobals:p,globals:h}=this.storyStoreValue.userGlobals;if(this.channel.emit(Cr,{globals:h,initialGlobals:p,storyGlobals:{},userGlobals:h}),Zm(l)||l.entry.tags?.includes(Xm)){if(!l.csfFiles)throw new bf({storyId:o});({parameters:m}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(ys,{id:o,parameters:m})}ua(l)?(la(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:O(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:O(()=>this.view.showMain(),"showMain"),showError:O(r=>this.renderError(t,r),"showError"),showException:O(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Wo)}renderStoryLoadingException(t,r){se.error(r),this.view.showErrorDisplay(r),this.channel.emit(Wo,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:a}=r;this.channel.emit(Ps,{name:n,message:o,stack:a}),this.channel.emit(Lt,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),se.error(`Error rendering story '${t}':`),se.error(r)}renderError(t,{title:r,description:n}){se.error(`Error rendering story ${r}: ${n}`),this.channel.emit(Cs,{title:r,description:n}),this.channel.emit(Lt,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};O(eh,"PreviewWithSelection");var oA=eh,fl=un(gl(),1),aA=un(gl(),1),Xf=/^[a-zA-Z0-9 _-]*$/,th=/^-?[0-9]+(\.[0-9]+)?$/,iA=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,rh=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,ml=O((e="",t)=>e===null||e===""||!Xf.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Xf.test(t)||th.test(t)||iA.test(t)||rh.test(t):Array.isArray(t)?t.every(r=>ml(e,r)):Et(t)?Object.entries(t).every(([r,n])=>ml(r,n)):!1,"validateArgs"),sA={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(rh);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 th.test(e)?Number(e):e}},Jf=O(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,aA.parse)(t.join(";"),sA)).reduce((r,[n,o])=>ml(n,o)?Object.assign(r,{[n]:o}):(we.warn(Ve`
|
|
224
|
+
Omitted potentially unsafe URL args.
|
|
225
|
+
|
|
226
|
+
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
|
|
227
|
+
`),r),{})},"parseArgsParam"),{history:nh,document:sr}=ke;function oh(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}O(oh,"pathToId");var ah=O(({selection:e,extraParams:t})=>{let r=sr?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:a,...i}=(0,fl.parse)(r);return`?${(0,fl.stringify)({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),lA=O(e=>{if(!e)return;let t=ah({selection:e}),{hash:r=""}=sr.location;sr.title=e.storyId,nh.replaceState({},"",`${sr.location.pathname}${t}${r}`)},"setPath"),uA=O(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),eo=O(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return eo(e[0]);if(uA(e))return eo(Object.values(e).filter(Boolean))}},"getFirstString"),cA=O(()=>{if(typeof sr<"u"){let e=sr.location.search.slice(1),t=(0,fl.parse)(e),r=typeof t.args=="string"?Jf(t.args):void 0,n=typeof t.globals=="string"?Jf(t.globals):void 0,o=eo(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let a=eo(t.path),i=a?oh(a):eo(t.id);if(i)return{storySpecifier:i,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),ih=class{constructor(){this.selectionSpecifier=cA()}setSelection(t){this.selection=t,lA(this.selection)}setQueryParams(t){let r=ah({extraParams:t}),{hash:n=""}=sr.location;nh.replaceState({},"",`${sr.location.pathname}${r}${n}`)}};O(ih,"UrlStore");var dA=ih,pA=un(L2(),1),fA=un(gl(),1),{document:We}=ke,Qf=100,sh=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(sh||{}),tl={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},rl={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Zf=new pA.default({escapeXML:!0}),lh=class{constructor(){if(this.testing=!1,typeof We<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,fA.parse)(We.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),We.documentElement.scrollTop=0,We.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return We.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),We.documentElement.scrollTop=0,We.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return We.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){We.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=rl[t];We.body.classList.remove(this.currentLayoutClass),We.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){rl[t]||se.warn(Ve`
|
|
228
|
+
The desired layout: ${t} is not a valid option.
|
|
229
|
+
The possible options are: ${Object.keys(rl).join(", ")}, none.
|
|
230
|
+
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(sh).forEach(r=>{r===t?We.body.classList.add(tl[r]):We.body.classList.remove(tl[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,a=t.split(`
|
|
231
|
+
`);a.length>1&&([n]=a,o=a.slice(1).join(`
|
|
232
|
+
`).replace(/^\n/,"")),We.getElementById("error-message").innerHTML=Zf.toHtml(n),We.getElementById("error-stack").innerHTML=Zf.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Qf)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Qf)}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(){We.body.classList.add(tl.MAIN)}};O(lh,"WebView");var mA=lh,hA=class extends oA{constructor(t,r){super(t,r,new dA,new mA),this.importFn=t,this.getProjectAnnotations=r,ke.__STORYBOOK_PREVIEW__=this}};O(hA,"PreviewWeb");var{document:Mr}=ke,yA=["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"],bA="script",em="scripts-root";function hl(){let e=Mr.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Mr.dispatchEvent(e)}O(hl,"simulateDOMContentLoaded");function uh(e,t,r){let n=Mr.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):Mr.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}O(uh,"insertScript");function Al(e,t,r=0){e[r](()=>{r++,r===e.length?t():Al(e,t,r)})}O(Al,"insertScriptsSequentially");function gA(e){let t=Mr.getElementById(em);t?t.innerHTML="":(t=Mr.createElement("div"),t.id=em,Mr.body.appendChild(t));let r=Array.from(e.querySelectorAll(bA));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||yA.includes(a))&&n.push(i=>uh(o,i,t))}),n.length&&Al(n,hl,void 0)}else hl()}O(gA,"simulatePageLoad");var vA=(e=>typeof Ee<"u"?Ee:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ee<"u"?Ee:t)[r]}):e)(function(e){if(typeof Ee<"u")return Ee.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),EA={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]},_A=Object.entries(EA);function Hl(e){return String(e)}Hl.open="";Hl.close="";function RA(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function wA(e=!1){let t=RA(e),r=(i,s,l,c)=>{let u="",d=0;do u+=i.substring(d,c)+l,d=c+s.length,c=i.indexOf(s,d);while(~c);return u+i.substring(d)},n=(i,s,l=i)=>{let c=u=>{let d=String(u),m=d.indexOf(s,i.length);return~m?i+r(d,s,l,m)+s:i+d+s};return c.open=i,c.close=s,c},o={isColorSupported:t},a=i=>`\x1B[${i}m`;for(let[i,s]of _A)o[i]=t?n(a(s[0]),a(s[1]),s[2]):Hl;return o}var Ht=wA(!1);function CA(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function _a(e,t,r,n,o,a,i=": "){let s="",l=0,c=e.next();if(!c.done){s+=t.spacingOuter;let u=r+t.indent;for(;!c.done;){if(s+=u,l++===t.maxWidth){s+="\u2026";break}let d=a(c.value[0],t,u,n,o),m=a(c.value[1],t,u,n,o);s+=d+i+m,c=e.next(),c.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Vl(e,t,r,n,o,a){let i="",s=0,l=e.next();if(!l.done){i+=t.spacingOuter;let c=r+t.indent;for(;!l.done;){if(i+=c,s++===t.maxWidth){i+="\u2026";break}i+=a(l.value,t,c,n,o),l=e.next(),l.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function Ea(e,t,r,n,o,a){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let s=c=>c instanceof DataView,l=s(e)?e.byteLength:e.length;if(l>0){i+=t.spacingOuter;let c=r+t.indent;for(let u=0;u<l;u++){if(i+=c,u===t.maxWidth){i+="\u2026";break}(s(e)||u in e)&&(i+=a(s(e)?e.getInt8(u):e[u],t,c,n,o)),u<l-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}function Gl(e,t,r,n,o,a){let i="",s=CA(e,t.compareKeys);if(s.length>0){i+=t.spacingOuter;let l=r+t.indent;for(let c=0;c<s.length;c++){let u=s[c],d=a(u,t,l,n,o),m=a(e[u],t,l,n,o);i+=`${l+d}: ${m}`,c<s.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}var SA=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Tl=" ",AA=(e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+Tl}[${Ea(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+Tl}{${Gl(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+Tl+a(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()},TA=e=>e&&e.$$typeof===SA,PA={serialize:AA,test:TA},OA=" ",Zh=new Set(["DOMStringMap","NamedNodeMap"]),qA=/^(?:HTML\w*Collection|NodeList)$/;function xA(e){return Zh.has(e)||qA.test(e)}var MA=e=>e&&e.constructor&&!!e.constructor.name&&xA(e.constructor.name);function NA(e){return e.constructor.name==="NamedNodeMap"}var jA=(e,t,r,n,o,a)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+OA)+(Zh.has(i)?`{${Gl(NA(e)?[...e].reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,a)}}`:`[${Ea([...e],t,r,n,o,a)}]`)},IA={serialize:jA,test:MA};function ey(e){return e.replaceAll("<","<").replaceAll(">",">")}function zl(e,t,r,n,o,a,i){let s=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=i(u,r,s,o,a);return typeof u!="string"&&(d.includes(`
|
|
233
|
+
`)&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+l.prop.open+c+l.prop.close}=${l.value.open}${d}${l.value.close}`}).join("")}function Yl(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?ty(i,t):a(i,t,r,n,o))).join("")}function ty(e,t){let r=t.colors.content;return r.open+ey(e)+r.close}function DA(e,t){let r=t.colors.comment;return`${r.open}<\!--${ey(e)}-->${r.close}`}function Wl(e,t,r,n,o){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+o+a.open}${r?`>${a.close}${r}${n.spacingOuter}${o}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}function Kl(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var FA=1,ry=3,ny=8,oy=11,LA=/^(?:(?:HTML|SVG)\w*)?Element$/;function BA(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function kA(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||BA(e);return r===FA&&(LA.test(t)||o)||r===ry&&t==="Text"||r===ny&&t==="Comment"||r===oy&&t==="DocumentFragment"}var $A=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&kA(e)};function UA(e){return e.nodeType===ry}function HA(e){return e.nodeType===ny}function Pl(e){return e.nodeType===oy}var VA=(e,t,r,n,o,a)=>{if(UA(e))return ty(e.data,t);if(HA(e))return DA(e.data,t);let i=Pl(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Kl(i,t):Wl(i,zl(Pl(e)?[]:Array.from(e.attributes,s=>s.name).sort(),Pl(e)?{}:[...e.attributes].reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,a),Yl(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},GA={serialize:VA,test:$A},zA="@@__IMMUTABLE_ITERABLE__@@",YA="@@__IMMUTABLE_LIST__@@",WA="@@__IMMUTABLE_KEYED__@@",KA="@@__IMMUTABLE_MAP__@@",ch="@@__IMMUTABLE_ORDERED__@@",XA="@@__IMMUTABLE_RECORD__@@",JA="@@__IMMUTABLE_SEQ__@@",QA="@@__IMMUTABLE_SET__@@",ZA="@@__IMMUTABLE_STACK__@@",fn=e=>`Immutable.${e}`,Ra=e=>`[${e}]`,oo=" ",dh="\u2026";function eT(e,t,r,n,o,a,i){return++n>t.maxDepth?Ra(fn(i)):`${fn(i)+oo}{${_a(e.entries(),t,r,n,o,a)}}`}function tT(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function rT(e,t,r,n,o,a){let i=fn(e._name||"Record");return++n>t.maxDepth?Ra(i):`${i+oo}{${_a(tT(e),t,r,n,o,a)}}`}function nT(e,t,r,n,o,a){let i=fn("Seq");return++n>t.maxDepth?Ra(i):e[WA]?`${i+oo}{${e._iter||e._object?_a(e.entries(),t,r,n,o,a):dh}}`:`${i+oo}[${e._iter||e._array||e._collection||e._iterable?Vl(e.values(),t,r,n,o,a):dh}]`}function Ol(e,t,r,n,o,a,i){return++n>t.maxDepth?Ra(fn(i)):`${fn(i)+oo}[${Vl(e.values(),t,r,n,o,a)}]`}var oT=(e,t,r,n,o,a)=>e[KA]?eT(e,t,r,n,o,a,e[ch]?"OrderedMap":"Map"):e[YA]?Ol(e,t,r,n,o,a,"List"):e[QA]?Ol(e,t,r,n,o,a,e[ch]?"OrderedSet":"Set"):e[ZA]?Ol(e,t,r,n,o,a,"Stack"):e[JA]?nT(e,t,r,n,o,a):rT(e,t,r,n,o,a),aT=e=>e&&(e[zA]===!0||e[XA]===!0),iT={serialize:oT,test:aT},ph={exports:{}},ye={},fh;function sT(){if(fh)return ye;fh=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"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),h;h=Symbol.for("react.module.reference");function g(y){if(typeof y=="object"&&y!==null){var b=y.$$typeof;switch(b){case e:switch(y=y.type,y){case r:case o:case n:case c:case u:return y;default:switch(y=y&&y.$$typeof,y){case s:case i:case l:case m:case d:case a:return y;default:return b}}case t:return b}}}return ye.ContextConsumer=i,ye.ContextProvider=a,ye.Element=e,ye.ForwardRef=l,ye.Fragment=r,ye.Lazy=m,ye.Memo=d,ye.Portal=t,ye.Profiler=o,ye.StrictMode=n,ye.Suspense=c,ye.SuspenseList=u,ye.isAsyncMode=function(){return!1},ye.isConcurrentMode=function(){return!1},ye.isContextConsumer=function(y){return g(y)===i},ye.isContextProvider=function(y){return g(y)===a},ye.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},ye.isForwardRef=function(y){return g(y)===l},ye.isFragment=function(y){return g(y)===r},ye.isLazy=function(y){return g(y)===m},ye.isMemo=function(y){return g(y)===d},ye.isPortal=function(y){return g(y)===t},ye.isProfiler=function(y){return g(y)===o},ye.isStrictMode=function(y){return g(y)===n},ye.isSuspense=function(y){return g(y)===c},ye.isSuspenseList=function(y){return g(y)===u},ye.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===c||y===u||y===p||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===d||y.$$typeof===a||y.$$typeof===i||y.$$typeof===l||y.$$typeof===h||y.getModuleId!==void 0)},ye.typeOf=g,ye}var mh;function lT(){return mh||(mh=1,ph.exports=sT()),ph.exports}var Ir=lT();function ay(e,t=[]){if(Array.isArray(e))for(let r of e)ay(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function hh(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ir.isFragment(e))return"React.Fragment";if(Ir.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ir.isContextProvider(e))return"Context.Provider";if(Ir.isContextConsumer(e))return"Context.Consumer";if(Ir.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ir.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function uT(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var cT=(e,t,r,n,o,a)=>++n>t.maxDepth?Kl(hh(e),t):Wl(hh(e),zl(uT(e),e.props,t,r+t.indent,n,o,a),Yl(ay(e.props.children),t,r+t.indent,n,o,a),t,r),dT=e=>e!=null&&Ir.isElement(e),pT={serialize:cT,test:dT},fT=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function mT(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var hT=(e,t,r,n,o,a)=>++n>t.maxDepth?Kl(e.type,t):Wl(e.type,e.props?zl(mT(e),e.props,t,r+t.indent,n,o,a):"",e.children?Yl(e.children,t,r+t.indent,n,o,a):"",t,r),yT=e=>e&&e.$$typeof===fT,bT={serialize:hT,test:yT},iy=Object.prototype.toString,gT=Date.prototype.toISOString,vT=Error.prototype.toString,yh=RegExp.prototype.toString;function ql(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function ET(e){return typeof window<"u"&&e===window}var _T=/^Symbol\((.*)\)(.*)$/,RT=/\n/g,sy=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function wT(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function CT(e){return Object.is(e,-0)?"-0":String(e)}function ST(e){return`${e}n`}function bh(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function gh(e){return String(e).replace(_T,"Symbol($1)")}function vh(e){return`[${vT.call(e)}]`}function ly(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 CT(e);if(o==="bigint")return ST(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return bh(e,t);if(o==="symbol")return gh(e);let a=iy.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?bh(e,t):a==="[object Symbol]"?gh(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":gT.call(e):a==="[object Error]"?vh(e):a==="[object RegExp]"?r?yh.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):yh.call(e):e instanceof Error?vh(e):null}function uy(e,t,r,n,o,a){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let i=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!a)return lr(e.toJSON(),t,r,n,o,!0);let l=iy.call(e);return l==="[object Arguments]"?i?"[Arguments]":`${s?"":"Arguments "}[${Ea(e,t,r,n,o,lr)}]`:wT(l)?i?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Ea(e,t,r,n,o,lr)}]`:l==="[object Map]"?i?"[Map]":`Map {${_a(e.entries(),t,r,n,o,lr," => ")}}`:l==="[object Set]"?i?"[Set]":`Set {${Vl(e.values(),t,r,n,o,lr)}}`:i||ET(e)?`[${ql(e)}]`:`${s||!t.printBasicPrototype&&ql(e)==="Object"?"":`${ql(e)} `}{${Gl(e,t,r,n,o,lr)}}`}function AT(e){return e.serialize!=null}function cy(e,t,r,n,o,a){let i;try{i=AT(e)?e.serialize(t,r,n,o,a,lr):e.print(t,s=>lr(s,r,n,o,a),s=>{let l=n+r.indent;return l+s.replaceAll(RT,`
|
|
234
|
+
${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new sy(s.message,s.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}function dy(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new sy(n.message,n.stack)}return null}function lr(e,t,r,n,o,a){let i=dy(t.plugins,e);if(i!==null)return cy(i,e,t,r,n,o);let s=ly(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:uy(e,t,r,n,o,a)}var Xl={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},py=Object.keys(Xl),_t={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:Xl};function TT(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(_t,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function PT(){return py.reduce((e,t)=>{let r=Xl[t],n=r&&Ht[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function OT(){return py.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function fy(e){return e?.printFunctionName??_t.printFunctionName}function my(e){return e?.escapeRegex??_t.escapeRegex}function hy(e){return e?.escapeString??_t.escapeString}function Eh(e){return{callToJSON:e?.callToJSON??_t.callToJSON,colors:e?.highlight?PT():OT(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:_t.compareKeys,escapeRegex:my(e),escapeString:hy(e),indent:e?.min?"":qT(e?.indent??_t.indent),maxDepth:e?.maxDepth??_t.maxDepth,maxWidth:e?.maxWidth??_t.maxWidth,min:e?.min??_t.min,plugins:e?.plugins??_t.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:fy(e),spacingInner:e?.min?" ":`
|
|
235
|
+
`,spacingOuter:e?.min?"":`
|
|
236
|
+
`}}function qT(e){return Array.from({length:e+1}).join(" ")}function qt(e,t){if(t&&(TT(t),t.plugins)){let n=dy(t.plugins,e);if(n!==null)return cy(n,e,Eh(t),"",0,[])}let r=ly(e,fy(t),my(t),hy(t));return r!==null?r:uy(e,Eh(t),"",0,[])}var yy={AsymmetricMatcher:PA,DOMCollection:IA,DOMElement:GA,Immutable:iT,ReactElement:pT,ReactTestComponent:bT},_h={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"]},xT={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},mn="\u2026";function MT(e,t){let r=_h[xT[t]]||_h[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function NT({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:s=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(l),seen:s,inspect:u,stylize:c};return d.colors&&(d.stylize=MT),d}function jT(e){return e>="\uD800"&&e<="\uDBFF"}function ur(e,t,r=mn){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&jT(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}function Rt(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",s="",l="";for(let c=0;c<o;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${mn}(${e.length-c})`;let m=e[c];t.truncate=a-i.length-(u?0:n.length);let p=s||r(m,t)+(u?"":n),h=i.length+p.length,g=h+l.length;if(u&&h>a&&i.length+l.length<=a||!u&&!d&&g>a||(s=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&h+s.length>a))break;if(i+=p,!u&&!d&&h+s.length>=a){l=`${mn}(${e.length-c-1})`;break}l=""}return`${i}${l}`}function IT(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function ao([e,t],r){return r.truncate-=2,typeof e=="string"?e=IT(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function DT(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Rt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Rt(r.map(a=>[a,e[a]]),t,ao)),`[ ${n}${o?`, ${o}`:""} ]`}var FT=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function $t(e,t){let r=FT(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 i=0;i<e.length;i++){let s=`${t.stylize(ur(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${mn}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=Rt(n.map(i=>[i,e[i]]),t,ao)),`${r}[ ${o}${a?`, ${a}`:""} ]`}function LT(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${ur(n[1],t.truncate-o.length-1)}`,"date")}function Rh(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${ur(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function BT([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function kT(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function $T(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Rt(kT(e),t,BT)} }`)}var UT=Number.isNaN||(e=>e!==e);function wh(e,t){return UT(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(ur(String(e),t.truncate),"number")}function Ch(e,t){let r=ur(e.toString(),t.truncate-1);return r!==mn&&(r+="n"),t.stylize(r,"bigint")}function HT(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${ur(o,n)}/${r}`,"regexp")}function VT(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function GT(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Rt(VT(e),t)} }`)}var Sh=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),zT={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},YT=16,WT=4;function KT(e){return zT[e]||`\\u${`0000${e.charCodeAt(0).toString(YT)}`.slice(-WT)}`}function Ah(e,t){return Sh.test(e)&&(e=e.replace(Sh,KT)),t.stylize(`'${ur(e,t.truncate-2)}'`,"string")}function Th(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var by=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(by=(n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`})}catch{}var XT=by;function va(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=Rt(r.map(s=>[s,e[s]]),t,ao),a=Rt(n.map(s=>[s,e[s]]),t,ao);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}var xl=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function JT(e,t){let r="";return xl&&xl in e&&(r=e[xl]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${va(e,t)}`}function QT(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Rt(e,t)} ]`)}var ZT=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function eP(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>ZT.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=ur(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 a=Rt(r.map(i=>[i,e[i]]),t,ao);return`${n}${o}${a?` { ${a} }`:""}`}function tP([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Dl(e,t){return Rt(e,t,gy,`
|
|
237
|
+
`)}function gy(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=Rt(r.map(u=>[u,e.getAttribute(u)]),t,tP," ")),t.truncate-=s.length;let l=t.truncate,c=Dl(e.children,t);return c&&c.length>l&&(c=`${mn}(${e.children.length})`),`${o}${s}${a}${c}${i}`}var rP=typeof Symbol=="function"&&typeof Symbol.for=="function",Ml=rP?Symbol.for("chai/inspect"):"@@chai/inspect",cn=!1;try{let e=vA("util");cn=e.inspect?e.inspect.custom:!1}catch{cn=!1}var Ph=new WeakMap,Oh={},qh={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:wh,Number:wh,bigint:Ch,BigInt:Ch,string:Ah,String:Ah,function:Rh,Function:Rh,symbol:Th,Symbol:Th,Array:DT,Date:LT,Map:$T,Set:GT,RegExp:HT,Promise:XT,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:QT,Int8Array:$t,Uint8Array:$t,Uint8ClampedArray:$t,Int16Array:$t,Uint16Array:$t,Int32Array:$t,Uint32Array:$t,Float32Array:$t,Float64Array:$t,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:eP,HTMLCollection:Dl,NodeList:Dl},nP=(e,t,r)=>Ml in e&&typeof e[Ml]=="function"?e[Ml](t):cn&&cn in e&&typeof e[cn]=="function"?e[cn](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Ph.has(e.constructor)?Ph.get(e.constructor)(e,t):Oh[r]?Oh[r](e,t):"",oP=Object.prototype.toString;function Fl(e,t={}){let r=NT(t,Fl),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=oP.call(e).slice(8,-1)),o in qh)return qh[o](e,r);if(n&&e){let i=nP(e,r,o);if(i)return typeof i=="string"?i:Fl(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?va(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?gy(e,r):"constructor"in e?e.constructor!==Object?JT(e,r):va(e,r):e===Object(e)?va(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:aP,DOMCollection:iP,DOMElement:sP,Immutable:lP,ReactElement:uP,ReactTestComponent:cP}=yy,xh=[cP,uP,sP,iP,lP,aP];function io(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,a;try{a=qt(e,{maxDepth:t,escapeString:!1,plugins:xh,...n})}catch{a=qt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:xh,...n})}return a.length>=o&&t>1?io(e,Math.floor(t/2)):a}var dP=/%[sdjifoOc%]/g;function pP(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push(no(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(dP,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?no(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return no(e[r++],{showHidden:!0,showProxy:!0});case"%O":return no(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let s=i.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw i}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?o+=` ${a}`:o+=` ${no(a)}`;return o}function no(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Fl(e,t)}function fP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function mP(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Ll(e){return Object.prototype.toString.apply(e).slice(8,-1)}function hP(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function vy(e){let t=new Set;return mP(e)?[]:(hP(e,t),Array.from(t))}var Ey={forceWritable:!1};function Mh(e,t=Ey){return Bl(e,new WeakMap,t)}function Bl(e,t,r=Ey){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]=Bl(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 a=vy(e);for(let i of a){let s=Object.getOwnPropertyDescriptor(e,i);if(!s)continue;let l=Bl(e[i],t,r);r.forceWritable?Object.defineProperty(o,i,{enumerable:s.enumerable,configurable:!0,writable:!0,value:l}):"get"in s?Object.defineProperty(o,i,{...s,get(){return l}}):Object.defineProperty(o,i,{...s,value:l})}return o}return e}function Nh(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}`)}var Ke=-1,ze=1,qe=0,Te=class{constructor(e,t){Ae(this,0);Ae(this,1);this[0]=e,this[1]=t}},yP=function(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,a=0;for(;r<o;)e.substring(a,o)===t.substring(a,o)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},_y=function(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,a=0;for(;r<o;)e.substring(e.length-o,e.length-a)===t.substring(t.length-o,t.length-a)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},jh=function(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 a=0,i=1;for(;;){let s=e.substring(o-i),l=t.indexOf(s);if(l===-1)return a;i+=l,(l===0||e.substring(o-i)===t.substring(0,i))&&(a=i,i++)}},bP=function(e){let t=!1,r=[],n=0,o=null,a=0,i=0,s=0,l=0,c=0;for(;a<e.length;)e[a][0]===qe?(r[n++]=a,i=l,s=c,l=0,c=0,o=e[a][1]):(e[a][0]===ze?l+=e[a][1].length:c+=e[a][1].length,o&&o.length<=Math.max(i,s)&&o.length<=Math.max(l,c)&&(e.splice(r[n-1],0,new Te(Ke,o)),e[r[n-1]+1][0]=ze,n--,n--,a=n>0?r[n-1]:-1,i=0,s=0,l=0,c=0,o=null,t=!0)),a++;for(t&&Ry(e),EP(e),a=1;a<e.length;){if(e[a-1][0]===Ke&&e[a][0]===ze){let u=e[a-1][1],d=e[a][1],m=jh(u,d),p=jh(d,u);m>=p?(m>=u.length/2||m>=d.length/2)&&(e.splice(a,0,new Te(qe,d.substring(0,m))),e[a-1][1]=u.substring(0,u.length-m),e[a+1][1]=d.substring(m),a++):(p>=u.length/2||p>=d.length/2)&&(e.splice(a,0,new Te(qe,u.substring(0,p))),e[a-1][0]=ze,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=Ke,e[a+1][1]=u.substring(p),a++),a++}a++}},Ih=/[^a-z0-9]/i,Dh=/\s/,Fh=/[\r\n]/,gP=/\n\r?\n$/,vP=/^\r?\n\r?\n/;function EP(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===qe&&e[t+1][0]===qe){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],a=_y(r,n);if(a){let u=n.substring(n.length-a);r=r.substring(0,r.length-a),n=u+n.substring(0,n.length-a),o=u+o}let i=r,s=n,l=o,c=ba(r,n)+ba(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 u=ba(r,n)+ba(n,o);u>=c&&(c=u,i=r,s=n,l=o)}e[t-1][1]!==i&&(i?e[t-1][1]=i:(e.splice(t-1,1),t--),e[t][1]=s,l?e[t+1][1]=l:(e.splice(t+1,1),t--))}t++}}function Ry(e){e.push(new Te(qe,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case ze:n++,a+=e[t][1],t++;break;case Ke:r++,o+=e[t][1],t++;break;case qe:r+n>1?(r!==0&&n!==0&&(i=yP(a,o),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===qe?e[t-r-n-1][1]+=a.substring(0,i):(e.splice(0,0,new Te(qe,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=_y(a,o),i!==0&&(e[t][1]=a.substring(a.length-i)+e[t][1],a=a.substring(0,a.length-i),o=o.substring(0,o.length-i))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Te(Ke,o)),t++),a.length&&(e.splice(t,0,new Te(ze,a)),t++),t++):t!==0&&e[t-1][0]===qe?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",a="";break}e[e.length-1][1]===""&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===qe&&e[t+1][0]===qe&&(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),s=!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),s=!0)),t++;s&&Ry(e)}function ba(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(Ih),a=n.match(Ih),i=o&&r.match(Dh),s=a&&n.match(Dh),l=i&&r.match(Fh),c=s&&n.match(Fh),u=l&&e.match(gP),d=c&&t.match(vP);return u||d?5:l||c?4:o&&!i&&s?3:i||s?2:o||a?1:0}var wy="Compared values have no visual difference.",_P="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",ga={},Lh;function RP(){if(Lh)return ga;Lh=1,Object.defineProperty(ga,"__esModule",{value:!0}),ga.default=m;let e="diff-sequences",t=0,r=(p,h,g,y,b)=>{let v=0;for(;p<h&&g<y&&b(p,g);)p+=1,g+=1,v+=1;return v},n=(p,h,g,y,b)=>{let v=0;for(;p<=h&&g<=y&&b(h,y);)h-=1,y-=1,v+=1;return v},o=(p,h,g,y,b,v,C)=>{let S=0,A=-p,_=v[S],E=_;v[S]+=r(_+1,h,y+_-A+1,g,b);let R=p<C?p:C;for(S+=1,A+=2;S<=R;S+=1,A+=2){if(S!==p&&E<v[S])_=v[S];else if(_=E+1,h<=_)return S-1;E=v[S],v[S]=_+r(_+1,h,y+_-A+1,g,b)}return C},a=(p,h,g,y,b,v,C)=>{let S=0,A=p,_=v[S],E=_;v[S]-=n(h,_-1,g,y+_-A-1,b);let R=p<C?p:C;for(S+=1,A-=2;S<=R;S+=1,A-=2){if(S!==p&&v[S]<E)_=v[S];else if(_=E-1,_<h)return S-1;E=v[S],v[S]=_-n(h,_-1,g,y+_-A-1,b)}return C},i=(p,h,g,y,b,v,C,S,A,_,E)=>{let R=y-h,P=g-h,N=b-y-P,B=-N-(p-1),j=-N+(p-1),F=t,T=p<S?p:S;for(let M=0,D=-p;M<=T;M+=1,D+=2){let Y=M===0||M!==p&&F<C[M],z=Y?C[M]:F,J=Y?z:z+1,te=R+J-D,ee=r(J+1,g,te+1,b,v),H=J+ee;if(F=C[M],C[M]=H,B<=D&&D<=j){let U=(p-1-(D+N))/2;if(U<=_&&A[U]-1<=H){let G=R+z-(Y?D+1:D-1),K=n(h,z,y,G,v),W=z-K,Z=G-K,ie=W+1,He=Z+1;E.nChangePreceding=p-1,p-1===ie+He-h-y?(E.aEndPreceding=h,E.bEndPreceding=y):(E.aEndPreceding=ie,E.bEndPreceding=He),E.nCommonPreceding=K,K!==0&&(E.aCommonPreceding=ie,E.bCommonPreceding=He),E.nCommonFollowing=ee,ee!==0&&(E.aCommonFollowing=J+1,E.bCommonFollowing=te+1);let L=H+1,X=te+ee+1;return E.nChangeFollowing=p-1,p-1===g+b-L-X?(E.aStartFollowing=g,E.bStartFollowing=b):(E.aStartFollowing=L,E.bStartFollowing=X),!0}}}return!1},s=(p,h,g,y,b,v,C,S,A,_,E)=>{let R=b-g,P=g-h,N=b-y-P,B=N-p,j=N+p,F=t,T=p<_?p:_;for(let M=0,D=p;M<=T;M+=1,D-=2){let Y=M===0||M!==p&&A[M]<F,z=Y?A[M]:F,J=Y?z:z-1,te=R+J-D,ee=n(h,J-1,y,te-1,v),H=J-ee;if(F=A[M],A[M]=H,B<=D&&D<=j){let U=(p+(D-N))/2;if(U<=S&&H-1<=C[U]){let G=te-ee;if(E.nChangePreceding=p,p===H+G-h-y?(E.aEndPreceding=h,E.bEndPreceding=y):(E.aEndPreceding=H,E.bEndPreceding=G),E.nCommonPreceding=ee,ee!==0&&(E.aCommonPreceding=H,E.bCommonPreceding=G),E.nChangeFollowing=p-1,p===1)E.nCommonFollowing=0,E.aStartFollowing=g,E.bStartFollowing=b;else{let K=R+z-(Y?D-1:D+1),W=r(z,g,K,b,v);E.nCommonFollowing=W,W!==0&&(E.aCommonFollowing=z,E.bCommonFollowing=K);let Z=z+W,ie=K+W;p-1===g+b-Z-ie?(E.aStartFollowing=g,E.bStartFollowing=b):(E.aStartFollowing=Z,E.bStartFollowing=ie)}return!0}}}return!1},l=(p,h,g,y,b,v,C,S,A)=>{let _=y-h,E=b-g,R=g-h,P=b-y,N=P-R,B=R,j=R;if(C[0]=h-1,S[0]=g,N%2===0){let F=(p||N)/2,T=(R+P)/2;for(let M=1;M<=T;M+=1)if(B=o(M,g,b,_,v,C,B),M<F)j=a(M,h,y,E,v,S,j);else if(s(M,h,g,y,b,v,C,B,S,j,A))return}else{let F=((p||N)+1)/2,T=(R+P+1)/2,M=1;for(B=o(M,g,b,_,v,C,B),M+=1;M<=T;M+=1)if(j=a(M-1,h,y,E,v,S,j),M<F)B=o(M,g,b,_,v,C,B);else if(i(M,h,g,y,b,v,C,B,S,j,A))return}throw new Error(`${e}: no overlap aStart=${h} aEnd=${g} bStart=${y} bEnd=${b}`)},c=(p,h,g,y,b,v,C,S,A,_)=>{if(b-y<g-h){if(v=!v,v&&C.length===1){let{foundSubsequence:U,isCommon:G}=C[0];C[1]={foundSubsequence:(K,W,Z)=>{U(K,Z,W)},isCommon:(K,W)=>G(W,K)}}let ee=h,H=g;h=y,g=b,y=ee,b=H}let{foundSubsequence:E,isCommon:R}=C[v?1:0];l(p,h,g,y,b,R,S,A,_);let{nChangePreceding:P,aEndPreceding:N,bEndPreceding:B,nCommonPreceding:j,aCommonPreceding:F,bCommonPreceding:T,nCommonFollowing:M,aCommonFollowing:D,bCommonFollowing:Y,nChangeFollowing:z,aStartFollowing:J,bStartFollowing:te}=_;h<N&&y<B&&c(P,h,N,y,B,v,C,S,A,_),j!==0&&E(j,F,T),M!==0&&E(M,D,Y),J<g&&te<b&&c(z,J,g,te,b,v,C,S,A,_)},u=(p,h)=>{if(typeof h!="number")throw new TypeError(`${e}: ${p} typeof ${typeof h} is not a number`);if(!Number.isSafeInteger(h))throw new RangeError(`${e}: ${p} value ${h} is not a safe integer`);if(h<0)throw new RangeError(`${e}: ${p} value ${h} is a negative integer`)},d=(p,h)=>{let g=typeof h;if(g!=="function")throw new TypeError(`${e}: ${p} typeof ${g} is not a function`)};function m(p,h,g,y){u("aLength",p),u("bLength",h),d("isCommon",g),d("foundSubsequence",y);let b=r(0,p,0,h,g);if(b!==0&&y(b,0,0),p!==b||h!==b){let v=b,C=b,S=n(v,p-1,C,h-1,g),A=p-S,_=h-S,E=b+S;p!==E&&h!==E&&c(0,v,A,C,_,!1,[{foundSubsequence:y,isCommon:g}],[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}),S!==0&&y(S,A,_)}}return ga}var wP=RP(),Cy=fP(wP);function CP(e,t){return e.replace(/\s+$/,r=>t(r))}function Jl(e,t,r,n,o,a){return e.length!==0?r(`${n} ${CP(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}function Sy(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return Jl(e,t,r,n,o,a)}function Ay(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return Jl(e,t,r,n,o,a)}function Ty(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return Jl(e,t,r,n,o,a)}function Bh(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function SP(e,t){let r=e.length,n=t.contextLines,o=n+n,a=r,i=!1,s=0,l=0;for(;l!==r;){let S=l;for(;l!==r&&e[l][0]===qe;)l+=1;if(S!==l)if(S===0)l>n&&(a-=l-n,i=!0);else if(l===r){let A=l-S;A>n&&(a-=A-n,i=!0)}else{let A=l-S;A>o&&(a-=A-o,s+=1)}for(;l!==r&&e[l][0]!==qe;)l+=1}let c=s!==0||i;s!==0?a+=s+1:i&&(a+=1);let u=a-1,d=[],m=0;c&&d.push("");let p=0,h=0,g=0,y=0,b=S=>{let A=d.length;d.push(Ty(S,A===0||A===u,t)),g+=1,y+=1},v=S=>{let A=d.length;d.push(Sy(S,A===0||A===u,t)),g+=1},C=S=>{let A=d.length;d.push(Ay(S,A===0||A===u,t)),y+=1};for(l=0;l!==r;){let S=l;for(;l!==r&&e[l][0]===qe;)l+=1;if(S!==l)if(S===0){l>n&&(S=l-n,p=S,h=S,g=p,y=h);for(let A=S;A!==l;A+=1)b(e[A][1])}else if(l===r){let A=l-S>n?S+n:l;for(let _=S;_!==A;_+=1)b(e[_][1])}else{let A=l-S;if(A>o){let _=S+n;for(let R=S;R!==_;R+=1)b(e[R][1]);d[m]=Bh(p,g,h,y,t),m=d.length,d.push("");let E=A-o;p=g+E,h=y+E,g=p,y=h;for(let R=l-n;R!==l;R+=1)b(e[R][1])}else for(let _=S;_!==l;_+=1)b(e[_][1])}for(;l!==r&&e[l][0]===Ke;)v(e[l][1]),l+=1;for(;l!==r&&e[l][0]===ze;)C(e[l][1]),l+=1}return c&&(d[m]=Bh(p,g,h,y,t)),d.join(`
|
|
238
|
+
`)}function AP(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case Ke:return Sy(a,i,t);case ze:return Ay(a,i,t);default:return Ty(a,i,t)}}).join(`
|
|
239
|
+
`)}var Nl=e=>e,Py=5,TP=0;function PP(){return{aAnnotation:"Expected",aColor:Ht.green,aIndicator:"-",bAnnotation:"Received",bColor:Ht.red,bIndicator:"+",changeColor:Ht.inverse,changeLineTrailingSpaceColor:Nl,commonColor:Ht.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Nl,compareKeys:void 0,contextLines:Py,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Ht.yellow,truncateThreshold:TP,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Nl}}function OP(e){return e&&typeof e=="function"?e:void 0}function qP(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Py}function Dr(e={}){return{...PP(),...e,compareKeys:OP(e.compareKeys),contextLines:qP(e.contextLines)}}function dn(e){return e.length===1&&e[0].length===0}function xP(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Ke:t+=1;break;case ze:r+=1;break}}),{a:t,b:r}}function MP({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:a,includeChangeCounts:i,omitAnnotationLines:s},l){if(s)return"";let c="",u="";if(i){let p=String(l.a),h=String(l.b),g=n.length-e.length,y=" ".repeat(Math.max(0,g)),b=" ".repeat(Math.max(0,-g)),v=h.length-p.length,C=" ".repeat(Math.max(0,v)),S=" ".repeat(Math.max(0,-v));c=`${y} ${r} ${C}${p}`,u=`${b} ${a} ${S}${h}`}let d=`${r} ${e}${c}`,m=`${a} ${n}${u}`;return`${t(d)}
|
|
240
|
+
${o(m)}
|
|
241
|
+
|
|
242
|
+
`}function Ql(e,t,r){return MP(r,xP(e))+(r.expand?AP(e,r):SP(e,r))+(t?r.truncateAnnotationColor(`
|
|
243
|
+
${r.truncateAnnotation}`):"")}function wa(e,t,r){let n=Dr(r),[o,a]=Oy(dn(e)?[]:e,dn(t)?[]:t,n);return Ql(o,a,n)}function NP(e,t,r,n,o){if(dn(e)&&dn(r)&&(e=[],r=[]),dn(t)&&dn(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return wa(e,t,o);let[a,i]=Oy(r,n,o),s=0,l=0;return a.forEach(c=>{switch(c[0]){case Ke:c[1]=e[s],s+=1;break;case ze:c[1]=t[l],l+=1;break;default:c[1]=t[l],s+=1,l+=1}}),Ql(a,i,Dr(o))}function Oy(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=n?Math.min(e.length,o):e.length,i=n?Math.min(t.length,o):t.length,s=a!==e.length||i!==t.length,l=(m,p)=>e[m]===t[p],c=[],u=0,d=0;for(Cy(a,i,l,(m,p,h)=>{for(;u!==p;u+=1)c.push(new Te(Ke,e[u]));for(;d!==h;d+=1)c.push(new Te(ze,t[d]));for(;m!==0;m-=1,u+=1,d+=1)c.push(new Te(qe,t[d]))});u!==a;u+=1)c.push(new Te(Ke,e[u]));for(;d!==i;d+=1)c.push(new Te(ze,t[d]));return[c,s]}function kh(e){return e.includes(`\r
|
|
244
|
+
`)?`\r
|
|
245
|
+
`:`
|
|
246
|
+
`}function jP(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=e.length,i=t.length;if(n){let m=e.includes(`
|
|
247
|
+
`),p=t.includes(`
|
|
248
|
+
`),h=kh(e),g=kh(t),y=m?`${e.split(h,o).join(h)}
|
|
249
|
+
`:e,b=p?`${t.split(g,o).join(g)}
|
|
250
|
+
`:t;a=y.length,i=b.length}let s=a!==e.length||i!==t.length,l=(m,p)=>e[m]===t[p],c=0,u=0,d=[];return Cy(a,i,l,(m,p,h)=>{c!==p&&d.push(new Te(Ke,e.slice(c,p))),u!==h&&d.push(new Te(ze,t.slice(u,h))),c=p+m,u=h+m,d.push(new Te(qe,t.slice(h,u)))}),c!==a&&d.push(new Te(Ke,e.slice(c))),u!==i&&d.push(new Te(ze,t.slice(u))),[d,s]}function IP(e,t,r){return t.reduce((n,o)=>n+(o[0]===qe?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var $h=class{constructor(e,t){Ae(this,"op");Ae(this,"line");Ae(this,"lines");Ae(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Te(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Te(this.op,IP(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Te(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
251
|
+
`)){let r=t.split(`
|
|
252
|
+
`),n=r.length-1;r.forEach((o,a)=>{a<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},DP=class{constructor(e,t){Ae(this,"deleteBuffer");Ae(this,"insertBuffer");Ae(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
253
|
+
`)){let n=r.split(`
|
|
254
|
+
`),o=n.length-1;n.forEach((a,i)=>{if(i===0){let s=new Te(t,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(s)):(this.pushDiffChangeLines(s),this.flushChangeLines())}else i<o?this.pushDiffCommonLine(new Te(t,a)):a.length!==0&&this.pushDiffChangeLines(new Te(t,a))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function FP(e,t){let r=new $h(Ke,t),n=new $h(ze,t),o=new DP(r,n);return e.forEach(a=>{switch(a[0]){case Ke:r.align(a);break;case ze:n.align(a);break;default:o.align(a)}}),o.getLines()}function LP(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===qe&&(o!==r||n[1]!==`
|
|
255
|
+
`))}return e.some(r=>r[0]===qe)}function BP(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
256
|
+
`)||t.includes(`
|
|
257
|
+
`),[o,a]=qy(n?`${e}
|
|
258
|
+
`:e,n?`${t}
|
|
259
|
+
`:t,!0,r);if(LP(o,n)){let i=Dr(r),s=FP(o,i.changeColor);return Ql(s,a,i)}}return wa(e.split(`
|
|
260
|
+
`),t.split(`
|
|
261
|
+
`),r)}function qy(e,t,r,n){let[o,a]=jP(e,t,n);return r&&bP(o),[o,a]}function kl(e,t){let{commonColor:r}=Dr(t);return r(e)}var{AsymmetricMatcher:kP,DOMCollection:$P,DOMElement:UP,Immutable:HP,ReactElement:VP,ReactTestComponent:GP}=yy,xy=[GP,VP,UP,$P,HP,kP],$l={plugins:xy},My={callToJSON:!1,maxDepth:10,plugins:xy};function zP(e,t,r){if(Object.is(e,t))return"";let n=Nh(e),o=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),a=o==="string"}if(o!==Nh(t)){let{aAnnotation:i,aColor:s,aIndicator:l,bAnnotation:c,bColor:u,bIndicator:d}=Dr(r),m=Ul(My,r),p=qt(e,m),h=qt(t,m),g=`${s(`${l} ${i}:`)}
|
|
262
|
+
${p}`,y=`${u(`${d} ${c}:`)}
|
|
263
|
+
${h}`;return`${g}
|
|
264
|
+
|
|
265
|
+
${y}`}if(!a)switch(n){case"string":return wa(e.split(`
|
|
266
|
+
`),t.split(`
|
|
267
|
+
`),r);case"boolean":case"number":return YP(e,t,r);case"map":return jl(Uh(e),Uh(t),r);case"set":return jl(Hh(e),Hh(t),r);default:return jl(e,t,r)}}function YP(e,t,r){let n=qt(e,$l),o=qt(t,$l);return n===o?"":wa(n.split(`
|
|
268
|
+
`),o.split(`
|
|
269
|
+
`),r)}function Uh(e){return new Map(Array.from(e.entries()).sort())}function Hh(e){return new Set(Array.from(e.values()).sort())}function jl(e,t,r){let n,o=!1;try{let i=Ul($l,r);n=Vh(e,t,i,r)}catch{o=!0}let a=kl(wy,r);if(n===void 0||n===a){let i=Ul(My,r);n=Vh(e,t,i,r),n!==a&&!o&&(n=`${kl(_P,r)}
|
|
270
|
+
|
|
271
|
+
${n}`)}return n}function Ul(e,t){let{compareKeys:r}=Dr(t);return{...e,compareKeys:r}}function Vh(e,t,r,n){let o={...r,indent:0},a=qt(e,o),i=qt(t,o);if(a===i)return kl(wy,n);{let s=qt(e,r),l=qt(t,r);return NP(s.split(`
|
|
272
|
+
`),l.split(`
|
|
273
|
+
`),a.split(`
|
|
274
|
+
`),i.split(`
|
|
275
|
+
`),n)}}var Gh=2e4;function zh(e){return Ll(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Yh(e,t){let r=Ll(e),n=Ll(t);return r===n&&(r==="Object"||r==="Array")}function WP(e,t,r){let{aAnnotation:n,bAnnotation:o}=Dr(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=Gh&&t.length<=Gh&&e!==t){if(e.includes(`
|
|
276
|
+
`)||t.includes(`
|
|
277
|
+
`))return BP(t,e,r);let[c]=qy(t,e,!0),u=c.some(h=>h[0]===qe),d=KP(n,o),m=d(n)+QP(Wh(c,Ke,u)),p=d(o)+JP(Wh(c,ze,u));return`${m}
|
|
278
|
+
${p}`}let a=Mh(e,{forceWritable:!0}),i=Mh(t,{forceWritable:!0}),{replacedExpected:s,replacedActual:l}=Ny(a,i);return zP(s,l,r)}function Ny(e,t,r=new WeakSet,n=new WeakSet){return Yh(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),vy(t).forEach(o=>{let a=t[o],i=e[o];if(zh(a))a.asymmetricMatch(i)&&(e[o]=a);else if(zh(i))i.asymmetricMatch(a)&&(t[o]=i);else if(Yh(i,a)){let s=Ny(i,a,r,n);e[o]=s.replacedActual,t[o]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function KP(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var XP="\xB7";function jy(e){return e.replace(/\s+$/gm,t=>XP.repeat(t.length))}function JP(e){return Ht.red(jy(io(e)))}function QP(e){return Ht.green(jy(io(e)))}function Wh(e,t,r){return e.reduce((n,o)=>n+(o[0]===qe?o[1]:o[0]===t?r?Ht.inverse(o[1]):o[1]:""),"")}var ZP="@@__IMMUTABLE_RECORD__@@",eO="@@__IMMUTABLE_ITERABLE__@@";function tO(e){return e&&(e[eO]||e[ZP])}var rO=Object.getPrototypeOf({});function Kh(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function pn(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(tO(e))return pn(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()} ${pP(e.sample)}`;if(typeof e.toJSON=="function")return pn(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]=pn(n,t)}catch(a){r[o]=Kh(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==rO;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=pn(e[o],t)}catch(a){delete r[o],r[o]=Kh(a)}}),n=Object.getPrototypeOf(n);return r}}function nO(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Iy(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=WP(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=io(n.expected,10)),typeof n.actual!="string"&&(n.actual=io(n.actual,10));try{typeof n.message=="string"&&(n.message=nO(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Iy(n.cause,t,r))}catch{}try{return pn(n)}catch(o){return pn(new Error(`Failed to fully serialize error: ${o?.message}
|
|
279
|
+
Inner error message: ${n?.message}`))}}var oO=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(oO||{}),Ut={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"},Xh={start:!1,back:!1,goto:!1,next:!1,end:!1},aO=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Jh=e=>Object.prototype.toString.call(e)==="[object Object]",iO=e=>Object.prototype.toString.call(e)==="[object Module]",sO=e=>{if(!Jh(e)&&!iO(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Jh(t)},lO=e=>{try{return new e.constructor}catch{return{}}},Il=()=>({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}),Qh=(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}},uO=class{constructor(){this.initialized=!1,this.channel=kt.getChannel(),this.state=Ie.window?.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let e=({storyId:i,isPlaying:s=!0,isDebugging:l=!1})=>{let c=this.getState(i);this.setState(i,{...Il(),...Qh(c,l),shadowCalls:l?c.shadowCalls:[],chainedCallIds:l?c.chainedCallIds:new Set,playUntil:l?c.playUntil:void 0,isPlaying:s,isDebugging:l}),this.sync(i)};this.channel.on(Zr,e),this.channel.on(Lt,({storyId:i,newPhase:s})=>{let{isDebugging:l}=this.getState(i);this.setState(i,{renderPhase:s}),s==="preparing"&&l&&e({storyId:i}),s==="playing"&&e({storyId:i,isDebugging:l}),s==="played"&&this.setState(i,{isLocked:!1,isPlaying:!1,isDebugging:!1}),s==="errored"&&this.setState(i,{isLocked:!1,isPlaying:!1})}),this.channel.on(Wn,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:i,playUntil:s})=>{this.getState(i).isDebugging||this.setState(i,({calls:c})=>({calls:[],shadowCalls:c.map(u=>({...u,status:"waiting"})),isDebugging:!0}));let l=this.getLog(i);this.setState(i,({shadowCalls:c})=>{if(s||!l.length)return{playUntil:s};let u=c.findIndex(d=>d.id===l[0].callId);return{playUntil:c.slice(0,u).filter(d=>d.interceptable&&!d.ancestors?.length).slice(-1)[0]?.id}}),this.channel.emit(Zr,{storyId:i,isDebugging:!0})},r=({storyId:i})=>{let s=this.getLog(i).filter(c=>!c.ancestors?.length),l=s.reduceRight((c,u,d)=>c>=0||u.status==="waiting"?c:d,-1);t({storyId:i,playUntil:s[l-1]?.callId})},n=({storyId:i,callId:s})=>{let{calls:l,shadowCalls:c,resolvers:u}=this.getState(i),d=l.find(({id:p})=>p===s),m=c.find(({id:p})=>p===s);if(!d&&m&&Object.values(u).length>0){let p=this.getLog(i).find(h=>h.status==="waiting")?.callId;m.id!==p&&this.setState(i,{playUntil:m.id}),Object.values(u).forEach(h=>h())}else t({storyId:i,playUntil:s})},o=({storyId:i})=>{let{resolvers:s}=this.getState(i);if(Object.values(s).length>0)Object.values(s).forEach(l=>l());else{let l=this.getLog(i).find(c=>c.status==="waiting")?.callId;l?t({storyId:i,playUntil:l}):a({storyId:i})}},a=({storyId:i})=>{this.setState(i,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(i).resolvers).forEach(s=>s())};this.channel.on(Ut.START,t),this.channel.on(Ut.BACK,r),this.channel.on(Ut.GOTO,n),this.channel.on(Ut.NEXT,o),this.channel.on(Ut.END,a)}getState(e){return this.state[e]||Il()}setState(e,t){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},Ie.window?.parent&&(Ie.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let o=Qh(n);return o&&(t[r]=Object.assign(Il(),o)),t},{});let e={controlStates:Xh,logItems:[]};this.channel.emit(Ut.SYNC,e),Ie.window?.parent&&(Ie.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((a,i)=>{n[i]=a});let o=new Set;return n.reduceRight((a,i)=>(i.args.forEach(s=>{s?.__callId__&&o.add(s.__callId__)}),i.path.forEach(s=>{s.__callId__&&o.add(s.__callId__)}),(i.interceptable||i.exception)&&!o.has(i.id)&&(a.unshift({callId:i.id,status:i.status,ancestors:i.ancestors}),o.add(i.id)),a),[])}instrument(e,t,r=0){if(!sO(e))return e;let{mutate:n=!1,path:o=[]}=t,a=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,a.reduce((i,s)=>{let l=cO(e,s);if(typeof l?.get=="function"){let u=()=>l?.get?.bind(e)?.();return Object.defineProperty(i,s,{get:()=>this.instrument(u(),{...t,path:o.concat(s)},r)}),i}let c=e[s];return typeof c!="function"?(i[s]=this.instrument(c,{...t,path:o.concat(s)},r),i):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(i[s]=c,i):(i[s]=(...u)=>this.track(s,c,e,u,t),i[s].__originalFn__=c,Object.defineProperty(i[s],"name",{value:s,writable:!1}),Object.keys(c).length>0&&Object.assign(i[s],this.instrument({...c},{...t,path:o.concat(s)},r)),i)},n?e:lO(e))}track(e,t,r,n,o){let a=n?.[0]?.__storyId__||Ie.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:i,ancestors:s}=this.getState(a);this.setState(a,{cursor:i+1});let l=`${s.slice(-1)[0]||a} [${i}] ${e}`,{path:c=[],intercept:u=!1,retain:d=!1}=o,m=typeof u=="function"?u(e,c):u,p={id:l,cursor:i,storyId:a,ancestors:s,path:c,method:e,args:n,interceptable:m,retain:d},h=(m&&!s.length?this.intercept:this.invoke).call(this,t,r,p,o);return this.instrument(h,{...o,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,n){let{chainedCallIds:o,isDebugging:a,playUntil:i}=this.getState(r.storyId),s=o.has(r.id);return!a||s||i?(i===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(l=>{this.setState(r.storyId,({resolvers:c})=>({isLocked:!1,resolvers:{...c,[r.id]:l}}))}).then(()=>(this.setState(r.storyId,l=>{let{[r.id]:c,...u}=l.resolvers;return{isLocked:!0,resolvers:u}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:o,renderPhase:a}=this.getState(r.storyId),i=25,s=(u,d,m)=>{if(m.includes(u))return"[Circular]";if(m=[...m,u],d>i)return"...";if(o.has(u))return o.get(u);if(u instanceof Array)return u.map(p=>s(p,++d,m));if(u instanceof Date)return{__date__:{value:u.toISOString()}};if(u instanceof Error){let{name:p,message:h,stack:g}=u;return{__error__:{name:p,message:h,stack:g}}}if(u instanceof RegExp){let{flags:p,source:h}=u;return{__regexp__:{flags:p,source:h}}}if(u instanceof Ie.window?.HTMLElement){let{prefix:p,localName:h,id:g,classList:y,innerText:b}=u,v=Array.from(y);return{__element__:{prefix:p,localName:h,id:g,classNames:v,innerText:b}}}return typeof u=="function"?{__function__:{name:"getMockName"in u?u.getMockName():u.name}}:typeof u=="symbol"?{__symbol__:{description:u.description}}:typeof u=="object"&&u?.constructor?.name&&u?.constructor?.name!=="Object"?{__class__:{name:u.constructor.name}}:Object.prototype.toString.call(u)==="[object Object]"?Object.fromEntries(Object.entries(u).map(([p,h])=>[p,s(h,++d,m)])):u},l={...r,args:r.args.map(u=>s(u,0,[]))};r.path.forEach(u=>{u?.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(u.__callId__))}))});let c=u=>{if(u instanceof Error){let{name:d,message:m,stack:p,callId:h=r.id}=u,{showDiff:g=void 0,diff:y=void 0,actual:b=void 0,expected:v=void 0}=u.name==="AssertionError"?Iy(u):u,C={name:d,message:m,stack:p,callId:h,showDiff:g,diff:y,actual:b,expected:v};if(this.update({...l,status:"error",exception:C}),this.setState(r.storyId,S=>({callRefsByResult:new Map([...Array.from(S.callRefsByResult.entries()),[u,{__callId__:r.id,retain:r.retain}]])})),r.ancestors?.length)throw Object.prototype.hasOwnProperty.call(u,"callId")||Object.defineProperty(u,"callId",{value:r.id}),u}throw u};try{if(a==="played"&&!r.retain)throw aO;let u=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(m=>typeof m!="function"||Object.keys(m).length?m:(...p)=>{let{cursor:h,ancestors:g}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...g,r.id]});let y=()=>this.setState(r.storyId,{cursor:h,ancestors:g}),b=!1;try{let v=m(...p);return v instanceof Promise?(b=!0,v.finally(y)):v}finally{b||y()}}),d=e.apply(t,u);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,m=>({callRefsByResult:new Map([...Array.from(m.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...l,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(m=>(this.update({...l,status:"done"}),m),c):d}catch(u){return c(u)}}update(e){this.channel.emit(Ut.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,o)=>Object.assign(n,{[o.id]:o}),{});return{calls:Object.values(r).sort((n,o)=>n.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),o=this.getLog(e),a=o.filter(({ancestors:c})=>!c.length).find(c=>c.status==="waiting")?.callId,i=o.some(c=>c.status==="active");if(r||i||o.length===0){let c={controlStates:Xh,logItems:o};this.channel.emit(Ut.SYNC,c);return}let s=o.some(c=>c.status==="done"||c.status==="error"),l={controlStates:{start:s,back:s,goto:!0,next:n,end:n},logItems:o,pausedAt:a};this.channel.emit(Ut.SYNC,l)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function Ca(e,t={}){try{let r=!1,n=!1;return Ie.window?.location?.search?.includes("instrument=true")?r=!0:Ie.window?.location?.search?.includes("instrument=false")&&(n=!0),Ie.window?.parent===Ie.window&&!r||n?e:(Ie.window&&!Ie.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(Ie.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new uO),(Ie.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return we.warn(r),e}}function cO(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}var dO=Object.create,yc=Object.defineProperty,pO=Object.getOwnPropertyDescriptor,Ug=Object.getOwnPropertyNames,fO=Object.getPrototypeOf,mO=Object.prototype.hasOwnProperty,hO=(e=>typeof Ee<"u"?Ee:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ee<"u"?Ee:t)[r]}):e)(function(e){if(typeof Ee<"u")return Ee.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),w=(e,t)=>function(){return t||(0,e[Ug(e)[0]])((t={exports:{}}).exports,t),t.exports},bc=(e,t)=>{for(var r in t)yc(e,r,{get:t[r],enumerable:!0})},yO=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ug(t))!mO.call(e,o)&&o!==r&&yc(e,o,{get:()=>t[o],enumerable:!(n=pO(t,o))||n.enumerable});return e},dt=(e,t,r)=>(r=e!=null?dO(fO(e)):{},yO(t||!e||!e.__esModule?yc(r,"default",{value:e,enumerable:!0}):r,e)),bO=w({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,a)=>Math.min(o,a.length),1/0):0}}}),gO=w({"../../node_modules/strip-indent/index.js"(e,t){var r=bO();t.exports=n=>{let o=r(n);if(o===0)return n;let a=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(a,"")}}}),vO=w({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let a=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(a,o.indent.repeat(n))}}}),Hg=w({"../../node_modules/redent/index.js"(e,t){var r=gO(),n=vO();t.exports=(o,a=0,i)=>n(r(o),a,i)}}),EO=w({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}}};return o}e.default=t}}),jo=w({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(EO());function r(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(a)}function o(a,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(i)}),a}}}),_O=w({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(jo());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,m){return l(d)||s(d,m)||a(d,m)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
280
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(d,m){if(d){if(typeof d=="string")return i(d,m);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?i(d,m):void 0}}function i(d,m){(m==null||m>d.length)&&(m=d.length);for(var p=0,h=Array(m);p<m;p++)h[p]=d[p];return h}function s(d,m){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var h,g,y,b,v=[],C=!0,S=!1;try{if(y=(p=p.call(d)).next,m===0){if(Object(p)!==p)return;C=!1}else for(;!(C=(h=y.call(p)).done)&&(v.push(h.value),v.length!==m);C=!0);}catch(A){S=!0,g=A}finally{try{if(!C&&p.return!=null&&(b=p.return(),Object(b)!==b))return}finally{if(S)throw g}}return v}}function l(d){if(Array.isArray(d))return d}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"}]],u={entries:function(){return c},forEach:function(d){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,h=c;p<h.length;p++){var g=n(h[p],2),y=g[0],b=g[1];d.call(m,b,y,c)}},get:function(d){var m=c.filter(function(p){return p[0]===d})[0];return m&&m[1]},has:function(d){return!!u.get(d)},keys:function(){return c.map(function(d){var m=n(d,1),p=m[0];return p})},values:function(){return c.map(function(d){var m=n(d,2),p=m[1];return p})}};e.default=(0,t.default)(u,u.entries())}}),RO=w({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(jo());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,m){return l(d)||s(d,m)||a(d,m)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
281
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(d,m){if(d){if(typeof d=="string")return i(d,m);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?i(d,m):void 0}}function i(d,m){(m==null||m>d.length)&&(m=d.length);for(var p=0,h=Array(m);p<m;p++)h[p]=d[p];return h}function s(d,m){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var h,g,y,b,v=[],C=!0,S=!1;try{if(y=(p=p.call(d)).next,m===0){if(Object(p)!==p)return;C=!1}else for(;!(C=(h=y.call(p)).done)&&(v.push(h.value),v.length!==m);C=!0);}catch(A){S=!0,g=A}finally{try{if(!C&&p.return!=null&&(b=p.return(),Object(b)!==b))return}finally{if(S)throw g}}return v}}function l(d){if(Array.isArray(d))return d}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}]],u={entries:function(){return c},forEach:function(d){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,h=c;p<h.length;p++){var g=n(h[p],2),y=g[0],b=g[1];d.call(m,b,y,c)}},get:function(d){var m=c.filter(function(p){return p[0]===d})[0];return m&&m[1]},has:function(d){return!!u.get(d)},keys:function(){return c.map(function(d){var m=n(d,1),p=m[0];return p})},values:function(){return c.map(function(d){var m=n(d,2),p=m[1];return p})}};e.default=(0,t.default)(u,u.entries())}}),wO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),CO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),SO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),AO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),TO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),PO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),OO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),qO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),xO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),MO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),NO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),jO=w({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),IO=w({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(wO()),r=p(CO()),n=p(SO()),o=p(AO()),a=p(TO()),i=p(PO()),s=p(OO()),l=p(qO()),c=p(xO()),u=p(MO()),d=p(NO()),m=p(jO());function p(g){return g&&g.__esModule?g:{default:g}}var h=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",a.default],["roletype",i.default],["section",s.default],["sectionhead",l.default],["select",c.default],["structure",u.default],["widget",d.default],["window",m.default]];e.default=h}}),DO=w({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),FO=w({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),LO=w({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),BO=w({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),kO=w({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),$O=w({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),UO=w({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),HO=w({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),VO=w({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),GO=w({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),zO=w({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),YO=w({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),WO=w({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),KO=w({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),XO=w({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),JO=w({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),QO=w({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ZO=w({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),eq=w({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),tq=w({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),rq=w({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),nq=w({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),oq=w({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),aq=w({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),iq=w({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),sq=w({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),lq=w({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),uq=w({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),cq=w({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),dq=w({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),pq=w({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),fq=w({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),mq=w({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),hq=w({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),yq=w({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bq=w({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gq=w({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),vq=w({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Eq=w({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),_q=w({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Rq=w({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),wq=w({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),Cq=w({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),Sq=w({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),Aq=w({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),Tq=w({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),Pq=w({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Oq=w({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),qq=w({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),xq=w({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),Mq=w({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Nq=w({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),jq=w({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),Iq=w({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),Dq=w({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Fq=w({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Lq=w({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),Bq=w({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),kq=w({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),$q=w({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),Uq=w({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Hq=w({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),Vq=w({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Gq=w({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),zq=w({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),Yq=w({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Wq=w({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Kq=w({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Xq=w({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Jq=w({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),Qq=w({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),Zq=w({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ex=w({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),tx=w({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),rx=w({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),nx=w({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),ox=w({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ax=w({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),ix=w({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),sx=w({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),lx=w({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),ux=w({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),cx=w({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),dx=w({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=k(DO()),r=k(FO()),n=k(LO()),o=k(BO()),a=k(kO()),i=k($O()),s=k(UO()),l=k(HO()),c=k(VO()),u=k(GO()),d=k(zO()),m=k(YO()),p=k(WO()),h=k(KO()),g=k(XO()),y=k(JO()),b=k(QO()),v=k(ZO()),C=k(eq()),S=k(tq()),A=k(rq()),_=k(nq()),E=k(oq()),R=k(aq()),P=k(iq()),N=k(sq()),B=k(lq()),j=k(uq()),F=k(cq()),T=k(dq()),M=k(pq()),D=k(fq()),Y=k(mq()),z=k(hq()),J=k(yq()),te=k(bq()),ee=k(gq()),H=k(vq()),U=k(Eq()),G=k(_q()),K=k(Rq()),W=k(wq()),Z=k(Cq()),ie=k(Sq()),He=k(Aq()),L=k(Tq()),X=k(Pq()),Q=k(Oq()),ce=k(qq()),le=k(xq()),pe=k(Mq()),he=k(Nq()),Oe=k(jq()),ot=k(Iq()),Hn=k(Dq()),Vn=k(Fq()),Li=k(Lq()),Bi=k(Bq()),ki=k(kq()),$i=k($q()),Ui=k(Uq()),Hi=k(Hq()),Vi=k(Vq()),Gi=k(Gq()),zi=k(zq()),Yi=k(Yq()),Wi=k(Wq()),Ki=k(Kq()),Xi=k(Xq()),Ji=k(Jq()),Qi=k(Qq()),Zi=k(Zq()),es=k(ex()),ts=k(tx()),rs=k(rx()),ns=k(nx()),os=k(ox()),as=k(ax()),is=k(ix()),ss=k(sx()),ls=k(lx()),us=k(ux()),cs=k(cx());function k(Jr){return Jr&&Jr.__esModule?Jr:{default:Jr}}var ds=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",a.default],["blockquote",i.default],["button",s.default],["caption",l.default],["cell",c.default],["checkbox",u.default],["code",d.default],["columnheader",m.default],["combobox",p.default],["complementary",h.default],["contentinfo",g.default],["definition",y.default],["deletion",b.default],["dialog",v.default],["directory",C.default],["document",S.default],["emphasis",A.default],["feed",_.default],["figure",E.default],["form",R.default],["generic",P.default],["grid",N.default],["gridcell",B.default],["group",j.default],["heading",F.default],["img",T.default],["insertion",M.default],["link",D.default],["list",Y.default],["listbox",z.default],["listitem",J.default],["log",te.default],["main",ee.default],["mark",H.default],["marquee",U.default],["math",G.default],["menu",K.default],["menubar",W.default],["menuitem",Z.default],["menuitemcheckbox",ie.default],["menuitemradio",He.default],["meter",L.default],["navigation",X.default],["none",Q.default],["note",ce.default],["option",le.default],["paragraph",pe.default],["presentation",he.default],["progressbar",Oe.default],["radio",ot.default],["radiogroup",Hn.default],["region",Vn.default],["row",Li.default],["rowgroup",Bi.default],["rowheader",ki.default],["scrollbar",$i.default],["search",Ui.default],["searchbox",Hi.default],["separator",Vi.default],["slider",Gi.default],["spinbutton",zi.default],["status",Yi.default],["strong",Wi.default],["subscript",Ki.default],["superscript",Xi.default],["switch",Ji.default],["tab",Qi.default],["table",Zi.default],["tablist",es.default],["tabpanel",ts.default],["term",rs.default],["textbox",ns.default],["time",os.default],["timer",as.default],["toolbar",is.default],["tooltip",ss.default],["tree",ls.default],["treegrid",us.default],["treeitem",cs.default]];e.default=ds}}),px=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),fx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),mx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),hx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),yx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),bx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),gx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),vx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Ex=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),_x=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Rx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),wx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),Cx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Sx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Ax=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Tx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),Px=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Ox=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),qx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),xx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Mx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Nx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),jx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Ix=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Dx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Fx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Lx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Bx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),kx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),$x=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),Ux=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Hx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Vx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Gx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Yx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Wx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),Kx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Xx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),Jx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),Qx=w({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Zx=w({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=W(px()),r=W(fx()),n=W(mx()),o=W(hx()),a=W(yx()),i=W(bx()),s=W(gx()),l=W(vx()),c=W(Ex()),u=W(_x()),d=W(Rx()),m=W(wx()),p=W(Cx()),h=W(Sx()),g=W(Ax()),y=W(Tx()),b=W(Px()),v=W(Ox()),C=W(qx()),S=W(xx()),A=W(Mx()),_=W(Nx()),E=W(jx()),R=W(Ix()),P=W(Dx()),N=W(Fx()),B=W(Lx()),j=W(Bx()),F=W(kx()),T=W($x()),M=W(Ux()),D=W(Hx()),Y=W(Vx()),z=W(Gx()),J=W(zx()),te=W(Yx()),ee=W(Wx()),H=W(Kx()),U=W(Xx()),G=W(Jx()),K=W(Qx());function W(ie){return ie&&ie.__esModule?ie:{default:ie}}var Z=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",a.default],["doc-biblioentry",i.default],["doc-bibliography",s.default],["doc-biblioref",l.default],["doc-chapter",c.default],["doc-colophon",u.default],["doc-conclusion",d.default],["doc-cover",m.default],["doc-credit",p.default],["doc-credits",h.default],["doc-dedication",g.default],["doc-endnote",y.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",C.default],["doc-errata",S.default],["doc-example",A.default],["doc-footnote",_.default],["doc-foreword",E.default],["doc-glossary",R.default],["doc-glossref",P.default],["doc-index",N.default],["doc-introduction",B.default],["doc-noteref",j.default],["doc-notice",F.default],["doc-pagebreak",T.default],["doc-pagefooter",M.default],["doc-pageheader",D.default],["doc-pagelist",Y.default],["doc-part",z.default],["doc-preface",J.default],["doc-prologue",te.default],["doc-pullquote",ee.default],["doc-qna",H.default],["doc-subtitle",U.default],["doc-tip",G.default],["doc-toc",K.default]];e.default=Z}}),eM=w({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),tM=w({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),rM=w({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),nM=w({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(eM()),r=o(tM()),n=o(rM());function o(i){return i&&i.__esModule?i:{default:i}}var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=a}}),gc=w({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(IO()),r=i(dx()),n=i(Zx()),o=i(nM()),a=i(jo());function i(y){return y&&y.__esModule?y:{default:y}}function s(y,b){var v=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!v){if(Array.isArray(y)||(v=u(y))||b&&y&&typeof y.length=="number"){v&&(y=v);var C=0,S=function(){};return{s:S,n:function(){return C>=y.length?{done:!0}:{done:!1,value:y[C++]}},e:function(R){throw R},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
282
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var A,_=!0,E=!1;return{s:function(){v=v.call(y)},n:function(){var R=v.next();return _=R.done,R},e:function(R){E=!0,A=R},f:function(){try{_||v.return==null||v.return()}finally{if(E)throw A}}}}function l(y,b){return p(y)||m(y,b)||u(y,b)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
283
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(y,b){if(y){if(typeof y=="string")return d(y,b);var v={}.toString.call(y).slice(8,-1);return v==="Object"&&y.constructor&&(v=y.constructor.name),v==="Map"||v==="Set"?Array.from(y):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?d(y,b):void 0}}function d(y,b){(b==null||b>y.length)&&(b=y.length);for(var v=0,C=Array(b);v<b;v++)C[v]=y[v];return C}function m(y,b){var v=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(v!=null){var C,S,A,_,E=[],R=!0,P=!1;try{if(A=(v=v.call(y)).next,b===0){if(Object(v)!==v)return;R=!1}else for(;!(R=(C=A.call(v)).done)&&(E.push(C.value),E.length!==b);R=!0);}catch(N){P=!0,S=N}finally{try{if(!R&&v.return!=null&&(_=v.return(),Object(_)!==_))return}finally{if(P)throw S}}return E}}function p(y){if(Array.isArray(y))return y}var h=[].concat(t.default,r.default,n.default,o.default);h.forEach(function(y){var b=l(y,2),v=b[1],C=s(v.superClass),S;try{for(C.s();!(S=C.n()).done;){var A=S.value,_=s(A),E;try{var R=function(){var P=E.value,N=h.filter(function(M){var D=l(M,1),Y=D[0];return Y===P})[0];if(N)for(var B=N[1],j=0,F=Object.keys(B.props);j<F.length;j++){var T=F[j];Object.prototype.hasOwnProperty.call(v.props,T)||(v.props[T]=B.props[T])}};for(_.s();!(E=_.n()).done;)R()}catch(P){_.e(P)}finally{_.f()}}}catch(P){C.e(P)}finally{C.f()}});var g={entries:function(){return h},forEach:function(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=s(h),C;try{for(v.s();!(C=v.n()).done;){var S=l(C.value,2),A=S[0],_=S[1];y.call(b,_,A,h)}}catch(E){v.e(E)}finally{v.f()}},get:function(y){var b=h.filter(function(v){return v[0]===y})[0];return b&&b[1]},has:function(y){return!!g.get(y)},keys:function(){return h.map(function(y){var b=l(y,1),v=b[0];return v})},values:function(){return h.map(function(y){var b=l(y,2),v=b[1];return v})}};e.default=(0,a.default)(g,g.entries())}}),oM=w({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(jo()),r=n(gc());function n(_){return _&&_.__esModule?_:{default:_}}function o(_,E){return c(_)||l(_,E)||i(_,E)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
284
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(_,E){if(_){if(typeof _=="string")return s(_,E);var R={}.toString.call(_).slice(8,-1);return R==="Object"&&_.constructor&&(R=_.constructor.name),R==="Map"||R==="Set"?Array.from(_):R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R)?s(_,E):void 0}}function s(_,E){(E==null||E>_.length)&&(E=_.length);for(var R=0,P=Array(E);R<E;R++)P[R]=_[R];return P}function l(_,E){var R=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(R!=null){var P,N,B,j,F=[],T=!0,M=!1;try{if(B=(R=R.call(_)).next,E===0){if(Object(R)!==R)return;T=!1}else for(;!(T=(P=B.call(R)).done)&&(F.push(P.value),F.length!==E);T=!0);}catch(D){M=!0,N=D}finally{try{if(!T&&R.return!=null&&(j=R.return(),Object(j)!==j))return}finally{if(M)throw N}}return F}}function c(_){if(Array.isArray(_))return _}var u=[],d=r.default.keys();for(b=0;b<d.length;b++)if(m=d[b],p=r.default.get(m),p)for(h=[].concat(p.baseConcepts,p.relatedConcepts),g=function(){var _=h[y];if(_.module==="HTML"){var E=_.concept;if(E){var R=u.filter(function(j){return C(j[0],E)})[0],P;R?P=R[1]:P=[];for(var N=!0,B=0;B<P.length;B++)if(P[B]===m){N=!1;break}N&&P.push(m),R||u.push([E,P])}}},y=0;y<h.length;y++)g();var m,p,h,g,y,b,v={entries:function(){return u},forEach:function(_){for(var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=0,P=u;R<P.length;R++){var N=o(P[R],2),B=N[0],j=N[1];_.call(E,j,B,u)}},get:function(_){var E=u.filter(function(R){return _.name===R[0].name&&A(_.attributes,R[0].attributes)})[0];return E&&E[1]},has:function(_){return!!v.get(_)},keys:function(){return u.map(function(_){var E=o(_,1),R=E[0];return R})},values:function(){return u.map(function(_){var E=o(_,2),R=E[1];return R})}};function C(_,E){return _.name===E.name&&S(_.constraints,E.constraints)&&A(_.attributes,E.attributes)}function S(_,E){if(_===void 0&&E!==void 0||_!==void 0&&E===void 0)return!1;if(_!==void 0&&E!==void 0){if(_.length!==E.length)return!1;for(var R=0;R<_.length;R++)if(_[R]!==E[R])return!1}return!0}function A(_,E){if(_===void 0&&E!==void 0||_!==void 0&&E===void 0)return!1;if(_!==void 0&&E!==void 0){if(_.length!==E.length)return!1;for(var R=0;R<_.length;R++){if(_[R].name!==E[R].name||_[R].value!==E[R].value||_[R].constraints===void 0&&E[R].constraints!==void 0||_[R].constraints!==void 0&&E[R].constraints===void 0)return!1;if(_[R].constraints!==void 0&&E[R].constraints!==void 0){if(_[R].constraints.length!==E[R].constraints.length)return!1;for(var P=0;P<_[R].constraints.length;P++)if(_[R].constraints[P]!==E[R].constraints[P])return!1}}}return!0}e.default=(0,t.default)(v,v.entries())}}),aM=w({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(jo()),r=n(gc());function n(A){return A&&A.__esModule?A:{default:A}}function o(A,_){return c(A)||l(A,_)||i(A,_)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
285
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(A,_){if(A){if(typeof A=="string")return s(A,_);var E={}.toString.call(A).slice(8,-1);return E==="Object"&&A.constructor&&(E=A.constructor.name),E==="Map"||E==="Set"?Array.from(A):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?s(A,_):void 0}}function s(A,_){(_==null||_>A.length)&&(_=A.length);for(var E=0,R=Array(_);E<_;E++)R[E]=A[E];return R}function l(A,_){var E=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(E!=null){var R,P,N,B,j=[],F=!0,T=!1;try{if(N=(E=E.call(A)).next,_===0){if(Object(E)!==E)return;F=!1}else for(;!(F=(R=N.call(E)).done)&&(j.push(R.value),j.length!==_);F=!0);}catch(M){T=!0,P=M}finally{try{if(!F&&E.return!=null&&(B=E.return(),Object(B)!==B))return}finally{if(T)throw P}}return j}}function c(A){if(Array.isArray(A))return A}var u=[],d=r.default.keys();for(C=0;C<d.length;C++)if(m=d[C],p=r.default.get(m),h=[],p){for(g=[].concat(p.baseConcepts,p.relatedConcepts),v=0;v<g.length;v++)y=g[v],y.module==="HTML"&&(b=y.concept,b!=null&&h.push(b));h.length>0&&u.push([m,h])}var m,p,h,g,y,b,v,C,S={entries:function(){return u},forEach:function(A){for(var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=0,R=u;E<R.length;E++){var P=o(R[E],2),N=P[0],B=P[1];A.call(_,B,N,u)}},get:function(A){var _=u.filter(function(E){return E[0]===A})[0];return _&&_[1]},has:function(A){return!!S.get(A)},keys:function(){return u.map(function(A){var _=o(A,1),E=_[0];return E})},values:function(){return u.map(function(A){var _=o(A,2),E=_[1];return E})}};e.default=(0,t.default)(S,S.entries())}}),Vg=w({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(_O()),r=i(RO()),n=i(gc()),o=i(oM()),a=i(aM());function i(s){return s&&s.__esModule?s:{default:s}}e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=o.default,e.roleElements=a.default}}),iM=w({"../../node_modules/color-name/index.js"(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]}}}),Gg=w({"../../node_modules/color-convert/conversions.js"(e,t){var r=iM(),n={};for(let i of Object.keys(r))n[r[i]]=i;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 i of Object.keys(o)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:s,labels:l}=o[i];delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:s}),Object.defineProperty(o[i],"labels",{value:l})}o.rgb.hsl=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,u=Math.min(s,l,c),d=Math.max(s,l,c),m=d-u,p,h;d===u?p=0:s===d?p=(l-c)/m:l===d?p=2+(c-s)/m:c===d&&(p=4+(s-l)/m),p=Math.min(p*60,360),p<0&&(p+=360);let g=(u+d)/2;return d===u?h=0:g<=.5?h=m/(d+u):h=m/(2-d-u),[p,h*100,g*100]},o.rgb.hsv=function(i){let s,l,c,u,d,m=i[0]/255,p=i[1]/255,h=i[2]/255,g=Math.max(m,p,h),y=g-Math.min(m,p,h),b=function(v){return(g-v)/6/y+1/2};return y===0?(u=0,d=0):(d=y/g,s=b(m),l=b(p),c=b(h),m===g?u=c-l:p===g?u=1/3+s-c:h===g&&(u=2/3+l-s),u<0?u+=1:u>1&&(u-=1)),[u*360,d*100,g*100]},o.rgb.hwb=function(i){let s=i[0],l=i[1],c=i[2],u=o.rgb.hsl(i)[0],d=1/255*Math.min(s,Math.min(l,c));return c=1-1/255*Math.max(s,Math.max(l,c)),[u,d*100,c*100]},o.rgb.cmyk=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,u=Math.min(1-s,1-l,1-c),d=(1-s-u)/(1-u)||0,m=(1-l-u)/(1-u)||0,p=(1-c-u)/(1-u)||0;return[d*100,m*100,p*100,u*100]};function a(i,s){return(i[0]-s[0])**2+(i[1]-s[1])**2+(i[2]-s[2])**2}o.rgb.keyword=function(i){let s=n[i];if(s)return s;let l=1/0,c;for(let u of Object.keys(r)){let d=r[u],m=a(i,d);m<l&&(l=m,c=u)}return c},o.keyword.rgb=function(i){return r[i]},o.rgb.xyz=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255;s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let u=s*.4124+l*.3576+c*.1805,d=s*.2126+l*.7152+c*.0722,m=s*.0193+l*.1192+c*.9505;return[u*100,d*100,m*100]},o.rgb.lab=function(i){let s=o.rgb.xyz(i),l=s[0],c=s[1],u=s[2];l/=95.047,c/=100,u/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let d=116*c-16,m=500*(l-c),p=200*(c-u);return[d,m,p]},o.hsl.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100,u,d,m;if(l===0)return m=c*255,[m,m,m];c<.5?u=c*(1+l):u=c+l-c*l;let p=2*c-u,h=[0,0,0];for(let g=0;g<3;g++)d=s+1/3*-(g-1),d<0&&d++,d>1&&d--,6*d<1?m=p+(u-p)*6*d:2*d<1?m=u:3*d<2?m=p+(u-p)*(2/3-d)*6:m=p,h[g]=m*255;return h},o.hsl.hsv=function(i){let s=i[0],l=i[1]/100,c=i[2]/100,u=l,d=Math.max(c,.01);c*=2,l*=c<=1?c:2-c,u*=d<=1?d:2-d;let m=(c+l)/2,p=c===0?2*u/(d+u):2*l/(c+l);return[s,p*100,m*100]},o.hsv.rgb=function(i){let s=i[0]/60,l=i[1]/100,c=i[2]/100,u=Math.floor(s)%6,d=s-Math.floor(s),m=255*c*(1-l),p=255*c*(1-l*d),h=255*c*(1-l*(1-d));switch(c*=255,u){case 0:return[c,h,m];case 1:return[p,c,m];case 2:return[m,c,h];case 3:return[m,p,c];case 4:return[h,m,c];case 5:return[c,m,p]}},o.hsv.hsl=function(i){let s=i[0],l=i[1]/100,c=i[2]/100,u=Math.max(c,.01),d,m;m=(2-l)*c;let p=(2-l)*u;return d=l*u,d/=p<=1?p:2-p,d=d||0,m/=2,[s,d*100,m*100]},o.hwb.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100,u=l+c,d;u>1&&(l/=u,c/=u);let m=Math.floor(6*s),p=1-c;d=6*s-m,(m&1)!==0&&(d=1-d);let h=l+d*(p-l),g,y,b;switch(m){default:case 6:case 0:g=p,y=h,b=l;break;case 1:g=h,y=p,b=l;break;case 2:g=l,y=p,b=h;break;case 3:g=l,y=h,b=p;break;case 4:g=h,y=l,b=p;break;case 5:g=p,y=l,b=h;break}return[g*255,y*255,b*255]},o.cmyk.rgb=function(i){let s=i[0]/100,l=i[1]/100,c=i[2]/100,u=i[3]/100,d=1-Math.min(1,s*(1-u)+u),m=1-Math.min(1,l*(1-u)+u),p=1-Math.min(1,c*(1-u)+u);return[d*255,m*255,p*255]},o.xyz.rgb=function(i){let s=i[0]/100,l=i[1]/100,c=i[2]/100,u,d,m;return u=s*3.2406+l*-1.5372+c*-.4986,d=s*-.9689+l*1.8758+c*.0415,m=s*.0557+l*-.204+c*1.057,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,m=m>.0031308?1.055*m**(1/2.4)-.055:m*12.92,u=Math.min(Math.max(0,u),1),d=Math.min(Math.max(0,d),1),m=Math.min(Math.max(0,m),1),[u*255,d*255,m*255]},o.xyz.lab=function(i){let s=i[0],l=i[1],c=i[2];s/=95.047,l/=100,c/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let u=116*l-16,d=500*(s-l),m=200*(l-c);return[u,d,m]},o.lab.xyz=function(i){let s=i[0],l=i[1],c=i[2],u,d,m;d=(s+16)/116,u=l/500+d,m=d-c/200;let p=d**3,h=u**3,g=m**3;return d=p>.008856?p:(d-16/116)/7.787,u=h>.008856?h:(u-16/116)/7.787,m=g>.008856?g:(m-16/116)/7.787,u*=95.047,d*=100,m*=108.883,[u,d,m]},o.lab.lch=function(i){let s=i[0],l=i[1],c=i[2],u;u=Math.atan2(c,l)*360/2/Math.PI,u<0&&(u+=360);let d=Math.sqrt(l*l+c*c);return[s,d,u]},o.lch.lab=function(i){let s=i[0],l=i[1],c=i[2]/360*2*Math.PI,u=l*Math.cos(c),d=l*Math.sin(c);return[s,u,d]},o.rgb.ansi16=function(i,s=null){let[l,c,u]=i,d=s===null?o.rgb.hsv(i)[2]:s;if(d=Math.round(d/50),d===0)return 30;let m=30+(Math.round(u/255)<<2|Math.round(c/255)<<1|Math.round(l/255));return d===2&&(m+=60),m},o.hsv.ansi16=function(i){return o.rgb.ansi16(o.hsv.rgb(i),i[2])},o.rgb.ansi256=function(i){let s=i[0],l=i[1],c=i[2];return s===l&&l===c?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(i){let s=i%10;if(s===0||s===7)return i>50&&(s+=3.5),s=s/10.5*255,[s,s,s];let l=(~~(i>50)+1)*.5,c=(s&1)*l*255,u=(s>>1&1)*l*255,d=(s>>2&1)*l*255;return[c,u,d]},o.ansi256.rgb=function(i){if(i>=232){let d=(i-232)*10+8;return[d,d,d]}i-=16;let s,l=Math.floor(i/36)/5*255,c=Math.floor((s=i%36)/6)/5*255,u=s%6/5*255;return[l,c,u]},o.rgb.hex=function(i){let s=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},o.hex.rgb=function(i){let s=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];let l=s[0];s[0].length===3&&(l=l.split("").map(p=>p+p).join(""));let c=parseInt(l,16),u=c>>16&255,d=c>>8&255,m=c&255;return[u,d,m]},o.rgb.hcg=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,u=Math.max(Math.max(s,l),c),d=Math.min(Math.min(s,l),c),m=u-d,p,h;return m<1?p=d/(1-m):p=0,m<=0?h=0:u===s?h=(l-c)/m%6:u===l?h=2+(c-s)/m:h=4+(s-l)/m,h/=6,h%=1,[h*360,m*100,p*100]},o.hsl.hcg=function(i){let s=i[1]/100,l=i[2]/100,c=l<.5?2*s*l:2*s*(1-l),u=0;return c<1&&(u=(l-.5*c)/(1-c)),[i[0],c*100,u*100]},o.hsv.hcg=function(i){let s=i[1]/100,l=i[2]/100,c=s*l,u=0;return c<1&&(u=(l-c)/(1-c)),[i[0],c*100,u*100]},o.hcg.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100;if(l===0)return[c*255,c*255,c*255];let u=[0,0,0],d=s%1*6,m=d%1,p=1-m,h=0;switch(Math.floor(d)){case 0:u[0]=1,u[1]=m,u[2]=0;break;case 1:u[0]=p,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=m;break;case 3:u[0]=0,u[1]=p,u[2]=1;break;case 4:u[0]=m,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=p}return h=(1-l)*c,[(l*u[0]+h)*255,(l*u[1]+h)*255,(l*u[2]+h)*255]},o.hcg.hsv=function(i){let s=i[1]/100,l=i[2]/100,c=s+l*(1-s),u=0;return c>0&&(u=s/c),[i[0],u*100,c*100]},o.hcg.hsl=function(i){let s=i[1]/100,l=i[2]/100*(1-s)+.5*s,c=0;return l>0&&l<.5?c=s/(2*l):l>=.5&&l<1&&(c=s/(2*(1-l))),[i[0],c*100,l*100]},o.hcg.hwb=function(i){let s=i[1]/100,l=i[2]/100,c=s+l*(1-s);return[i[0],(c-s)*100,(1-c)*100]},o.hwb.hcg=function(i){let s=i[1]/100,l=1-i[2]/100,c=l-s,u=0;return c<1&&(u=(l-c)/(1-c)),[i[0],c*100,u*100]},o.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},o.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},o.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},o.gray.hsl=function(i){return[0,0,i[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(i){return[0,100,i[0]]},o.gray.cmyk=function(i){return[0,0,0,i[0]]},o.gray.lab=function(i){return[i[0],0,0]},o.gray.hex=function(i){let s=Math.round(i[0]/100*255)&255,l=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}}),sM=w({"../../node_modules/color-convert/route.js"(e,t){var r=Gg();function n(){let s={},l=Object.keys(r);for(let c=l.length,u=0;u<c;u++)s[l[u]]={distance:-1,parent:null};return s}function o(s){let l=n(),c=[s];for(l[s].distance=0;c.length;){let u=c.pop(),d=Object.keys(r[u]);for(let m=d.length,p=0;p<m;p++){let h=d[p],g=l[h];g.distance===-1&&(g.distance=l[u].distance+1,g.parent=u,c.unshift(h))}}return l}function a(s,l){return function(c){return l(s(c))}}function i(s,l){let c=[l[s].parent,s],u=r[l[s].parent][s],d=l[s].parent;for(;l[d].parent;)c.unshift(l[d].parent),u=a(r[l[d].parent][d],u),d=l[d].parent;return u.conversion=c,u}t.exports=function(s){let l=o(s),c={},u=Object.keys(l);for(let d=u.length,m=0;m<d;m++){let p=u[m];l[p].parent!==null&&(c[p]=i(p,l))}return c}}}),lM=w({"../../node_modules/color-convert/index.js"(e,t){var r=Gg(),n=sM(),o={},a=Object.keys(r);function i(l){let c=function(...u){let d=u[0];return d==null?d:(d.length>1&&(u=d),l(u))};return"conversion"in l&&(c.conversion=l.conversion),c}function s(l){let c=function(...u){let d=u[0];if(d==null)return d;d.length>1&&(u=d);let m=l(u);if(typeof m=="object")for(let p=m.length,h=0;h<p;h++)m[h]=Math.round(m[h]);return m};return"conversion"in l&&(c.conversion=l.conversion),c}a.forEach(l=>{o[l]={},Object.defineProperty(o[l],"channels",{value:r[l].channels}),Object.defineProperty(o[l],"labels",{value:r[l].labels});let c=n(l);Object.keys(c).forEach(u=>{let d=c[u];o[l][u]=s(d),o[l][u].raw=i(d)})}),t.exports=o}}),uM=w({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,m)=>(...p)=>`\x1B[${d(...p)+m}m`,n=(d,m)=>(...p)=>{let h=d(...p);return`\x1B[${38+m};5;${h}m`},o=(d,m)=>(...p)=>{let h=d(...p);return`\x1B[${38+m};2;${h[0]};${h[1]};${h[2]}m`},a=d=>d,i=(d,m,p)=>[d,m,p],s=(d,m,p)=>{Object.defineProperty(d,m,{get:()=>{let h=p();return Object.defineProperty(d,m,{value:h,enumerable:!0,configurable:!0}),h},enumerable:!0,configurable:!0})},l,c=(d,m,p,h)=>{l===void 0&&(l=lM());let g=h?10:0,y={};for(let[b,v]of Object.entries(l)){let C=b==="ansi16"?"ansi":b;b===m?y[C]=d(p,g):typeof v=="object"&&(y[C]=d(v[m],g))}return y};function u(){let d=new Map,m={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]}};m.color.gray=m.color.blackBright,m.bgColor.bgGray=m.bgColor.bgBlackBright,m.color.grey=m.color.blackBright,m.bgColor.bgGrey=m.bgColor.bgBlackBright;for(let[p,h]of Object.entries(m)){for(let[g,y]of Object.entries(h))m[g]={open:`\x1B[${y[0]}m`,close:`\x1B[${y[1]}m`},h[g]=m[g],d.set(y[0],y[1]);Object.defineProperty(m,p,{value:h,enumerable:!1})}return Object.defineProperty(m,"codes",{value:d,enumerable:!1}),m.color.close="\x1B[39m",m.bgColor.close="\x1B[49m",s(m.color,"ansi",()=>c(r,"ansi16",a,!1)),s(m.color,"ansi256",()=>c(n,"ansi256",a,!1)),s(m.color,"ansi16m",()=>c(o,"rgb",i,!1)),s(m.bgColor,"ansi",()=>c(r,"ansi16",a,!0)),s(m.bgColor,"ansi256",()=>c(n,"ansi256",a,!0)),s(m.bgColor,"ansi16m",()=>c(o,"rgb",i,!0)),m}Object.defineProperty(t,"exports",{enumerable:!0,get:u})}}),cM=w({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),dM=w({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(o,a,i)=>{let s=o.indexOf(a);if(s===-1)return o;let l=a.length,c=0,u="";do u+=o.substr(c,s-c)+a+i,c=s+l,s=o.indexOf(a,c);while(s!==-1);return u+=o.substr(c),u},n=(o,a,i,s)=>{let l=0,c="";do{let u=o[s-1]==="\r";c+=o.substr(l,(u?s-1:s)-l)+a+(u?`\r
|
|
286
|
+
`:`
|
|
287
|
+
`)+i,l=s+1,s=o.indexOf(`
|
|
288
|
+
`,l)}while(s!==-1);return c+=o.substr(l),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),pM=w({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(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$/,a=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n",`
|
|
289
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function s(d){let m=d[0]==="u",p=d[1]==="{";return m&&!p&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):m&&p?String.fromCodePoint(parseInt(d.slice(2,-1),16)):i.get(d)||d}function l(d,m){let p=[],h=m.trim().split(/\s*,\s*/g),g;for(let y of h){let b=Number(y);if(!Number.isNaN(b))p.push(b);else if(g=y.match(o))p.push(g[2].replace(a,(v,C,S)=>C?s(C):S));else throw new Error(`Invalid Chalk template style argument: ${y} (in style '${d}')`)}return p}function c(d){n.lastIndex=0;let m=[],p;for(;(p=n.exec(d))!==null;){let h=p[1];if(p[2]){let g=l(h,p[2]);m.push([h].concat(g))}else m.push([h])}return m}function u(d,m){let p={};for(let g of m)for(let y of g.styles)p[y[0]]=g.inverse?null:y.slice(1);let h=d;for(let[g,y]of Object.entries(p))if(Array.isArray(y)){if(!(g in h))throw new Error(`Unknown Chalk style: ${g}`);h=y.length>0?h[g](...y):h[g]}return h}t.exports=(d,m)=>{let p=[],h=[],g=[];if(m.replace(r,(y,b,v,C,S,A)=>{if(b)g.push(s(b));else if(C){let _=g.join("");g=[],h.push(p.length===0?_:u(d,p)(_)),p.push({inverse:v,styles:c(C)})}else if(S){if(p.length===0)throw new Error("Found extraneous } in Chalk template literal");h.push(u(d,p)(g.join(""))),g=[],p.pop()}else g.push(A)}),h.push(g.join("")),p.length>0){let y=`Chalk template literal is missing ${p.length} closing bracket${p.length===1?"":"s"} (\`}\`)`;throw new Error(y)}return h.join("")}}}),zg=w({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=uM(),{stdout:n,stderr:o}=cM(),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:i}=dM(),s=["ansi","ansi","ansi256","ansi16m"],l=Object.create(null),c=(A,_={})=>{if(_.level>3||_.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let E=n?n.level:0;A.level=_.level===void 0?E:_.level},u=class{constructor(A){return d(A)}},d=A=>{let _={};return c(_,A),_.template=(...E)=>C(_.template,...E),Object.setPrototypeOf(_,m.prototype),Object.setPrototypeOf(_.template,_),_.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},_.template.Instance=u,_.template};function m(A){return d(A)}for(let[A,_]of Object.entries(r))l[A]={get(){let E=y(this,g(_.open,_.close,this._styler),this._isEmpty);return Object.defineProperty(this,A,{value:E}),E}};l.visible={get(){let A=y(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:A}),A}};var p=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let A of p)l[A]={get(){let{level:_}=this;return function(...E){let R=g(r.color[s[_]][A](...E),r.color.close,this._styler);return y(this,R,this._isEmpty)}}};for(let A of p){let _="bg"+A[0].toUpperCase()+A.slice(1);l[_]={get(){let{level:E}=this;return function(...R){let P=g(r.bgColor[s[E]][A](...R),r.bgColor.close,this._styler);return y(this,P,this._isEmpty)}}}}var h=Object.defineProperties(()=>{},{...l,level:{enumerable:!0,get(){return this._generator.level},set(A){this._generator.level=A}}}),g=(A,_,E)=>{let R,P;return E===void 0?(R=A,P=_):(R=E.openAll+A,P=_+E.closeAll),{open:A,close:_,openAll:R,closeAll:P,parent:E}},y=(A,_,E)=>{let R=(...P)=>b(R,P.length===1?""+P[0]:P.join(" "));return R.__proto__=h,R._generator=A,R._styler=_,R._isEmpty=E,R},b=(A,_)=>{if(A.level<=0||!_)return A._isEmpty?"":_;let E=A._styler;if(E===void 0)return _;let{openAll:R,closeAll:P}=E;if(_.indexOf("\x1B")!==-1)for(;E!==void 0;)_=a(_,E.close,E.open),E=E.parent;let N=_.indexOf(`
|
|
290
|
+
`);return N!==-1&&(_=i(_,P,R,N)),R+_+P},v,C=(A,..._)=>{let[E]=_;if(!Array.isArray(E))return _.join(" ");let R=_.slice(1),P=[E.raw[0]];for(let N=1;N<E.length;N++)P.push(String(R[N-1]).replace(/[{}\\]/g,"\\$&"),String(E.raw[N]));return v===void 0&&(v=pM()),v(A,P.join(""))};Object.defineProperties(m.prototype,l);var S=m();S.supportsColor=n,S.stderr=m({level:o?o.level:0}),S.stderr.supportsColor=o,S.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=S}}),fM=w({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0}t.exports=r}}),Yg=w({"../../node_modules/lodash/eq.js"(e,t){function r(n,o){return n===o||n!==n&&o!==o}t.exports=r}}),ii=w({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=Yg();function n(o,a){for(var i=o.length;i--;)if(r(o[i][0],a))return i;return-1}t.exports=n}}),mM=w({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=ii(),n=Array.prototype,o=n.splice;function a(i){var s=this.__data__,l=r(s,i);if(l<0)return!1;var c=s.length-1;return l==c?s.pop():o.call(s,l,1),--this.size,!0}t.exports=a}}),hM=w({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=ii();function n(o){var a=this.__data__,i=r(a,o);return i<0?void 0:a[i][1]}t.exports=n}}),yM=w({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=ii();function n(o){return r(this.__data__,o)>-1}t.exports=n}}),bM=w({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=ii();function n(o,a){var i=this.__data__,s=r(i,o);return s<0?(++this.size,i.push([o,a])):i[s][1]=a,this}t.exports=n}}),si=w({"../../node_modules/lodash/_ListCache.js"(e,t){var r=fM(),n=mM(),o=hM(),a=yM(),i=bM();function s(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=a,s.prototype.set=i,t.exports=s}}),gM=w({"../../node_modules/lodash/_stackClear.js"(e,t){var r=si();function n(){this.__data__=new r,this.size=0}t.exports=n}}),vM=w({"../../node_modules/lodash/_stackDelete.js"(e,t){function r(n){var o=this.__data__,a=o.delete(n);return this.size=o.size,a}t.exports=r}}),EM=w({"../../node_modules/lodash/_stackGet.js"(e,t){function r(n){return this.__data__.get(n)}t.exports=r}}),_M=w({"../../node_modules/lodash/_stackHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),Wg=w({"../../node_modules/lodash/_freeGlobal.js"(e,t){var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),Jt=w({"../../node_modules/lodash/_root.js"(e,t){var r=Wg(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}}),vc=w({"../../node_modules/lodash/_Symbol.js"(e,t){var r=Jt(),n=r.Symbol;t.exports=n}}),RM=w({"../../node_modules/lodash/_getRawTag.js"(e,t){var r=vc(),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,i=r?r.toStringTag:void 0;function s(l){var c=o.call(l,i),u=l[i];try{l[i]=void 0;var d=!0}catch{}var m=a.call(l);return d&&(c?l[i]=u:delete l[i]),m}t.exports=s}}),wM=w({"../../node_modules/lodash/_objectToString.js"(e,t){var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}t.exports=o}}),li=w({"../../node_modules/lodash/_baseGetTag.js"(e,t){var r=vc(),n=RM(),o=wM(),a="[object Null]",i="[object Undefined]",s=r?r.toStringTag:void 0;function l(c){return c==null?c===void 0?i:a:s&&s in Object(c)?n(c):o(c)}t.exports=l}}),Kg=w({"../../node_modules/lodash/isObject.js"(e,t){function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}t.exports=r}}),Xg=w({"../../node_modules/lodash/isFunction.js"(e,t){var r=li(),n=Kg(),o="[object AsyncFunction]",a="[object Function]",i="[object GeneratorFunction]",s="[object Proxy]";function l(c){if(!n(c))return!1;var u=r(c);return u==a||u==i||u==o||u==s}t.exports=l}}),CM=w({"../../node_modules/lodash/_coreJsData.js"(e,t){var r=Jt(),n=r["__core-js_shared__"];t.exports=n}}),SM=w({"../../node_modules/lodash/_isMasked.js"(e,t){var r=CM(),n=(function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})();function o(a){return!!n&&n in a}t.exports=o}}),Jg=w({"../../node_modules/lodash/_toSource.js"(e,t){var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return""}t.exports=o}}),AM=w({"../../node_modules/lodash/_baseIsNative.js"(e,t){var r=Xg(),n=SM(),o=Kg(),a=Jg(),i=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,m=RegExp("^"+u.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(h){if(!o(h)||n(h))return!1;var g=r(h)?m:s;return g.test(a(h))}t.exports=p}}),TM=w({"../../node_modules/lodash/_getValue.js"(e,t){function r(n,o){return n?.[o]}t.exports=r}}),Bn=w({"../../node_modules/lodash/_getNative.js"(e,t){var r=AM(),n=TM();function o(a,i){var s=n(a,i);return r(s)?s:void 0}t.exports=o}}),Ec=w({"../../node_modules/lodash/_Map.js"(e,t){var r=Bn(),n=Jt(),o=r(n,"Map");t.exports=o}}),ui=w({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=Bn(),n=r(Object,"create");t.exports=n}}),PM=w({"../../node_modules/lodash/_hashClear.js"(e,t){var r=ui();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),OM=w({"../../node_modules/lodash/_hashDelete.js"(e,t){function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}t.exports=r}}),qM=w({"../../node_modules/lodash/_hashGet.js"(e,t){var r=ui(),n="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function i(s){var l=this.__data__;if(r){var c=l[s];return c===n?void 0:c}return a.call(l,s)?l[s]:void 0}t.exports=i}}),xM=w({"../../node_modules/lodash/_hashHas.js"(e,t){var r=ui(),n=Object.prototype,o=n.hasOwnProperty;function a(i){var s=this.__data__;return r?s[i]!==void 0:o.call(s,i)}t.exports=a}}),MM=w({"../../node_modules/lodash/_hashSet.js"(e,t){var r=ui(),n="__lodash_hash_undefined__";function o(a,i){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=r&&i===void 0?n:i,this}t.exports=o}}),NM=w({"../../node_modules/lodash/_Hash.js"(e,t){var r=PM(),n=OM(),o=qM(),a=xM(),i=MM();function s(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=a,s.prototype.set=i,t.exports=s}}),jM=w({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=NM(),n=si(),o=Ec();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}t.exports=a}}),IM=w({"../../node_modules/lodash/_isKeyable.js"(e,t){function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}t.exports=r}}),ci=w({"../../node_modules/lodash/_getMapData.js"(e,t){var r=IM();function n(o,a){var i=o.__data__;return r(a)?i[typeof a=="string"?"string":"hash"]:i.map}t.exports=n}}),DM=w({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var r=ci();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}t.exports=n}}),FM=w({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var r=ci();function n(o){return r(this,o).get(o)}t.exports=n}}),LM=w({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var r=ci();function n(o){return r(this,o).has(o)}t.exports=n}}),BM=w({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var r=ci();function n(o,a){var i=r(this,o),s=i.size;return i.set(o,a),this.size+=i.size==s?0:1,this}t.exports=n}}),Qg=w({"../../node_modules/lodash/_MapCache.js"(e,t){var r=jM(),n=DM(),o=FM(),a=LM(),i=BM();function s(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=a,s.prototype.set=i,t.exports=s}}),kM=w({"../../node_modules/lodash/_stackSet.js"(e,t){var r=si(),n=Ec(),o=Qg(),a=200;function i(s,l){var c=this.__data__;if(c instanceof r){var u=c.__data__;if(!n||u.length<a-1)return u.push([s,l]),this.size=++c.size,this;c=this.__data__=new o(u)}return c.set(s,l),this.size=c.size,this}t.exports=i}}),$M=w({"../../node_modules/lodash/_Stack.js"(e,t){var r=si(),n=gM(),o=vM(),a=EM(),i=_M(),s=kM();function l(c){var u=this.__data__=new r(c);this.size=u.size}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),UM=w({"../../node_modules/lodash/_setCacheAdd.js"(e,t){var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}t.exports=n}}),HM=w({"../../node_modules/lodash/_setCacheHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),VM=w({"../../node_modules/lodash/_SetCache.js"(e,t){var r=Qg(),n=UM(),o=HM();function a(i){var s=-1,l=i==null?0:i.length;for(this.__data__=new r;++s<l;)this.add(i[s])}a.prototype.add=a.prototype.push=n,a.prototype.has=o,t.exports=a}}),GM=w({"../../node_modules/lodash/_arraySome.js"(e,t){function r(n,o){for(var a=-1,i=n==null?0:n.length;++a<i;)if(o(n[a],a,n))return!0;return!1}t.exports=r}}),zM=w({"../../node_modules/lodash/_cacheHas.js"(e,t){function r(n,o){return n.has(o)}t.exports=r}}),Zg=w({"../../node_modules/lodash/_equalArrays.js"(e,t){var r=VM(),n=GM(),o=zM(),a=1,i=2;function s(l,c,u,d,m,p){var h=u&a,g=l.length,y=c.length;if(g!=y&&!(h&&y>g))return!1;var b=p.get(l),v=p.get(c);if(b&&v)return b==c&&v==l;var C=-1,S=!0,A=u&i?new r:void 0;for(p.set(l,c),p.set(c,l);++C<g;){var _=l[C],E=c[C];if(d)var R=h?d(E,_,C,c,l,p):d(_,E,C,l,c,p);if(R!==void 0){if(R)continue;S=!1;break}if(A){if(!n(c,function(P,N){if(!o(A,N)&&(_===P||m(_,P,u,d,p)))return A.push(N)})){S=!1;break}}else if(!(_===E||m(_,E,u,d,p))){S=!1;break}}return p.delete(l),p.delete(c),S}t.exports=s}}),YM=w({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=Jt(),n=r.Uint8Array;t.exports=n}}),WM=w({"../../node_modules/lodash/_mapToArray.js"(e,t){function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i,s){a[++o]=[s,i]}),a}t.exports=r}}),KM=w({"../../node_modules/lodash/_setToArray.js"(e,t){function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i){a[++o]=i}),a}t.exports=r}}),XM=w({"../../node_modules/lodash/_equalByTag.js"(e,t){var r=vc(),n=YM(),o=Yg(),a=Zg(),i=WM(),s=KM(),l=1,c=2,u="[object Boolean]",d="[object Date]",m="[object Error]",p="[object Map]",h="[object Number]",g="[object RegExp]",y="[object Set]",b="[object String]",v="[object Symbol]",C="[object ArrayBuffer]",S="[object DataView]",A=r?r.prototype:void 0,_=A?A.valueOf:void 0;function E(R,P,N,B,j,F,T){switch(N){case S:if(R.byteLength!=P.byteLength||R.byteOffset!=P.byteOffset)return!1;R=R.buffer,P=P.buffer;case C:return!(R.byteLength!=P.byteLength||!F(new n(R),new n(P)));case u:case d:case h:return o(+R,+P);case m:return R.name==P.name&&R.message==P.message;case g:case b:return R==P+"";case p:var M=i;case y:var D=B&l;if(M||(M=s),R.size!=P.size&&!D)return!1;var Y=T.get(R);if(Y)return Y==P;B|=c,T.set(R,P);var z=a(M(R),M(P),B,j,F,T);return T.delete(R),z;case v:if(_)return _.call(R)==_.call(P)}return!1}t.exports=E}}),JM=w({"../../node_modules/lodash/_arrayPush.js"(e,t){function r(n,o){for(var a=-1,i=o.length,s=n.length;++a<i;)n[s+a]=o[a];return n}t.exports=r}}),_c=w({"../../node_modules/lodash/isArray.js"(e,t){var r=Array.isArray;t.exports=r}}),QM=w({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=JM(),n=_c();function o(a,i,s){var l=i(a);return n(a)?l:r(l,s(a))}t.exports=o}}),ZM=w({"../../node_modules/lodash/_arrayFilter.js"(e,t){function r(n,o){for(var a=-1,i=n==null?0:n.length,s=0,l=[];++a<i;){var c=n[a];o(c,a,n)&&(l[s++]=c)}return l}t.exports=r}}),eN=w({"../../node_modules/lodash/stubArray.js"(e,t){function r(){return[]}t.exports=r}}),tN=w({"../../node_modules/lodash/_getSymbols.js"(e,t){var r=ZM(),n=eN(),o=Object.prototype,a=o.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(l){return l==null?[]:(l=Object(l),r(i(l),function(c){return a.call(l,c)}))}:n;t.exports=s}}),rN=w({"../../node_modules/lodash/_baseTimes.js"(e,t){function r(n,o){for(var a=-1,i=Array(n);++a<n;)i[a]=o(a);return i}t.exports=r}}),di=w({"../../node_modules/lodash/isObjectLike.js"(e,t){function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),nN=w({"../../node_modules/lodash/_baseIsArguments.js"(e,t){var r=li(),n=di(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}t.exports=a}}),oN=w({"../../node_modules/lodash/isArguments.js"(e,t){var r=nN(),n=di(),o=Object.prototype,a=o.hasOwnProperty,i=o.propertyIsEnumerable,s=r((function(){return arguments})())?r:function(l){return n(l)&&a.call(l,"callee")&&!i.call(l,"callee")};t.exports=s}}),aN=w({"../../node_modules/lodash/stubFalse.js"(e,t){function r(){return!1}t.exports=r}}),ev=w({"../../node_modules/lodash/isBuffer.js"(e,t){var r=Jt(),n=aN(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i?r.Buffer:void 0,l=s?s.isBuffer:void 0,c=l||n;t.exports=c}}),iN=w({"../../node_modules/lodash/_isIndex.js"(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var s=typeof a;return i=i??r,!!i&&(s=="number"||s!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a<i}t.exports=o}}),tv=w({"../../node_modules/lodash/isLength.js"(e,t){var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}t.exports=n}}),sN=w({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=li(),n=tv(),o=di(),a="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",m="[object Number]",p="[object Object]",h="[object RegExp]",g="[object Set]",y="[object String]",b="[object WeakMap]",v="[object ArrayBuffer]",C="[object DataView]",S="[object Float32Array]",A="[object Float64Array]",_="[object Int8Array]",E="[object Int16Array]",R="[object Int32Array]",P="[object Uint8Array]",N="[object Uint8ClampedArray]",B="[object Uint16Array]",j="[object Uint32Array]",F={};F[S]=F[A]=F[_]=F[E]=F[R]=F[P]=F[N]=F[B]=F[j]=!0,F[a]=F[i]=F[v]=F[s]=F[C]=F[l]=F[c]=F[u]=F[d]=F[m]=F[p]=F[h]=F[g]=F[y]=F[b]=!1;function T(M){return o(M)&&n(M.length)&&!!F[r(M)]}t.exports=T}}),lN=w({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(o){return n(o)}}t.exports=r}}),uN=w({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=Wg(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a&&r.process,s=(function(){try{var l=o&&o.require&&o.require("util").types;return l||i&&i.binding&&i.binding("util")}catch{}})();t.exports=s}}),rv=w({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=sN(),n=lN(),o=uN(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i}}),cN=w({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=rN(),n=oN(),o=_c(),a=ev(),i=iN(),s=rv(),l=Object.prototype,c=l.hasOwnProperty;function u(d,m){var p=o(d),h=!p&&n(d),g=!p&&!h&&a(d),y=!p&&!h&&!g&&s(d),b=p||h||g||y,v=b?r(d.length,String):[],C=v.length;for(var S in d)(m||c.call(d,S))&&!(b&&(S=="length"||g&&(S=="offset"||S=="parent")||y&&(S=="buffer"||S=="byteLength"||S=="byteOffset")||i(S,C)))&&v.push(S);return v}t.exports=u}}),dN=w({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(o){var a=o&&o.constructor,i=typeof a=="function"&&a.prototype||r;return o===i}t.exports=n}}),pN=w({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,o){return function(a){return n(o(a))}}t.exports=r}}),fN=w({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=pN(),n=r(Object.keys,Object);t.exports=n}}),mN=w({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=dN(),n=fN(),o=Object.prototype,a=o.hasOwnProperty;function i(s){if(!r(s))return n(s);var l=[];for(var c in Object(s))a.call(s,c)&&c!="constructor"&&l.push(c);return l}t.exports=i}}),hN=w({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=Xg(),n=tv();function o(a){return a!=null&&n(a.length)&&!r(a)}t.exports=o}}),yN=w({"../../node_modules/lodash/keys.js"(e,t){var r=cN(),n=mN(),o=hN();function a(i){return o(i)?r(i):n(i)}t.exports=a}}),bN=w({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=QM(),n=tN(),o=yN();function a(i){return r(i,o,n)}t.exports=a}}),gN=w({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=bN(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(s,l,c,u,d,m){var p=c&n,h=r(s),g=h.length,y=r(l),b=y.length;if(g!=b&&!p)return!1;for(var v=g;v--;){var C=h[v];if(!(p?C in l:a.call(l,C)))return!1}var S=m.get(s),A=m.get(l);if(S&&A)return S==l&&A==s;var _=!0;m.set(s,l),m.set(l,s);for(var E=p;++v<g;){C=h[v];var R=s[C],P=l[C];if(u)var N=p?u(P,R,C,l,s,m):u(R,P,C,s,l,m);if(!(N===void 0?R===P||d(R,P,c,u,m):N)){_=!1;break}E||(E=C=="constructor")}if(_&&!E){var B=s.constructor,j=l.constructor;B!=j&&"constructor"in s&&"constructor"in l&&!(typeof B=="function"&&B instanceof B&&typeof j=="function"&&j instanceof j)&&(_=!1)}return m.delete(s),m.delete(l),_}t.exports=i}}),vN=w({"../../node_modules/lodash/_DataView.js"(e,t){var r=Bn(),n=Jt(),o=r(n,"DataView");t.exports=o}}),EN=w({"../../node_modules/lodash/_Promise.js"(e,t){var r=Bn(),n=Jt(),o=r(n,"Promise");t.exports=o}}),_N=w({"../../node_modules/lodash/_Set.js"(e,t){var r=Bn(),n=Jt(),o=r(n,"Set");t.exports=o}}),RN=w({"../../node_modules/lodash/_WeakMap.js"(e,t){var r=Bn(),n=Jt(),o=r(n,"WeakMap");t.exports=o}}),wN=w({"../../node_modules/lodash/_getTag.js"(e,t){var r=vN(),n=Ec(),o=EN(),a=_N(),i=RN(),s=li(),l=Jg(),c="[object Map]",u="[object Object]",d="[object Promise]",m="[object Set]",p="[object WeakMap]",h="[object DataView]",g=l(r),y=l(n),b=l(o),v=l(a),C=l(i),S=s;(r&&S(new r(new ArrayBuffer(1)))!=h||n&&S(new n)!=c||o&&S(o.resolve())!=d||a&&S(new a)!=m||i&&S(new i)!=p)&&(S=function(A){var _=s(A),E=_==u?A.constructor:void 0,R=E?l(E):"";if(R)switch(R){case g:return h;case y:return c;case b:return d;case v:return m;case C:return p}return _}),t.exports=S}}),CN=w({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){var r=$M(),n=Zg(),o=XM(),a=gN(),i=wN(),s=_c(),l=ev(),c=rv(),u=1,d="[object Arguments]",m="[object Array]",p="[object Object]",h=Object.prototype,g=h.hasOwnProperty;function y(b,v,C,S,A,_){var E=s(b),R=s(v),P=E?m:i(b),N=R?m:i(v);P=P==d?p:P,N=N==d?p:N;var B=P==p,j=N==p,F=P==N;if(F&&l(b)){if(!l(v))return!1;E=!0,B=!1}if(F&&!B)return _||(_=new r),E||c(b)?n(b,v,C,S,A,_):o(b,v,P,C,S,A,_);if(!(C&u)){var T=B&&g.call(b,"__wrapped__"),M=j&&g.call(v,"__wrapped__");if(T||M){var D=T?b.value():b,Y=M?v.value():v;return _||(_=new r),A(D,Y,C,S,_)}}return F?(_||(_=new r),a(b,v,C,S,A,_)):!1}t.exports=y}}),SN=w({"../../node_modules/lodash/_baseIsEqual.js"(e,t){var r=CN(),n=di();function o(a,i,s,l,c){return a===i?!0:a==null||i==null||!n(a)&&!n(i)?a!==a&&i!==i:r(a,i,s,l,o,c)}t.exports=o}}),nv=w({"../../node_modules/lodash/isEqualWith.js"(e,t){var r=SN();function n(o,a,i){i=typeof i=="function"?i:void 0;var s=i?i(o,a):void 0;return s===void 0?r(o,a,void 0,i):!!s}t.exports=n}}),ov=w({"../../node_modules/css.escape/css.escape.js"(e,t){(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var a=String(o),i=a.length,s=-1,l,c="",u=a.charCodeAt(0);++s<i;){if(l=a.charCodeAt(s),l==0){c+="\uFFFD";continue}if(l>=1&&l<=31||l==127||s==0&&l>=48&&l<=57||s==1&&l>=48&&l<=57&&u==45){c+="\\"+l.toString(16)+" ";continue}if(s==0&&i==1&&l==45){c+="\\"+a.charAt(s);continue}if(l>=128||l==45||l==95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){c+=a.charAt(s);continue}c+="\\"+a.charAt(s)}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),av=w({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var r=(a=0)=>i=>`\x1B[${38+a};5;${i}m`,n=(a=0)=>(i,s,l)=>`\x1B[${38+a};2;${i};${s};${l}m`;function o(){let a=new Map,i={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]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(let[s,l]of Object.entries(i)){for(let[c,u]of Object.entries(l))i[c]={open:`\x1B[${u[0]}m`,close:`\x1B[${u[1]}m`},l[c]=i[c],a.set(u[0],u[1]);Object.defineProperty(i,s,{value:l,enumerable:!1})}return Object.defineProperty(i,"codes",{value:a,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:(s,l,c)=>s===l&&l===c?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:s=>{let l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!l)return[0,0,0];let{colorString:c}=l.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let u=Number.parseInt(c,16);return[u>>16&255,u>>8&255,u&255]},enumerable:!1},hexToAnsi256:{value:s=>i.rgbToAnsi256(...i.hexToRgb(s)),enumerable:!1}}),i}Object.defineProperty(t,"exports",{enumerable:!0,get:o})}}),pi=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=a;var t=(i,s)=>{let l=Object.keys(i).sort(s);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(c=>{Object.getOwnPropertyDescriptor(i,c).enumerable&&l.push(c)}),l};function r(i,s,l,c,u,d,m=": "){let p="",h=i.next();if(!h.done){p+=s.spacingOuter;let g=l+s.indent;for(;!h.done;){let y=d(h.value[0],s,g,c,u),b=d(h.value[1],s,g,c,u);p+=g+y+m+b,h=i.next(),h.done?s.min||(p+=","):p+=","+s.spacingInner}p+=s.spacingOuter+l}return p}function n(i,s,l,c,u,d){let m="",p=i.next();if(!p.done){m+=s.spacingOuter;let h=l+s.indent;for(;!p.done;)m+=h+d(p.value,s,h,c,u),p=i.next(),p.done?s.min||(m+=","):m+=","+s.spacingInner;m+=s.spacingOuter+l}return m}function o(i,s,l,c,u,d){let m="";if(i.length){m+=s.spacingOuter;let p=l+s.indent;for(let h=0;h<i.length;h++)m+=p,h in i&&(m+=d(i[h],s,p,c,u)),h<i.length-1?m+=","+s.spacingInner:s.min||(m+=",");m+=s.spacingOuter+l}return m}function a(i,s,l,c,u,d){let m="",p=t(i,s.compareKeys);if(p.length){m+=s.spacingOuter;let h=l+s.indent;for(let g=0;g<p.length;g++){let y=p[g],b=d(y,s,h,c,u),v=d(i[y],s,h,c,u);m+=h+b+": "+v,g<p.length-1?m+=","+s.spacingInner:s.min||(m+=",")}m+=s.spacingOuter+l}return m}}}),AN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=pi(),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,a=" ",i=(u,d,m,p,h,g)=>{let y=u.toString();return y==="ArrayContaining"||y==="ArrayNotContaining"?++p>d.maxDepth?"["+y+"]":y+a+"["+(0,t.printListItems)(u.sample,d,m,p,h,g)+"]":y==="ObjectContaining"||y==="ObjectNotContaining"?++p>d.maxDepth?"["+y+"]":y+a+"{"+(0,t.printObjectProperties)(u.sample,d,m,p,h,g)+"}":y==="StringMatching"||y==="StringNotMatching"||y==="StringContaining"||y==="StringNotContaining"?y+a+g(u.sample,d,m,p,h):u.toAsymmetricMatcher()};e.serialize=i;var s=u=>u&&u.$$typeof===o;e.test=s;var l={serialize:i,test:s},c=l;e.default=c}}),TN=w({"../../node_modules/@testing-library/dom/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),PN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(TN()),r=n(av());function n(c){return c&&c.__esModule?c:{default:c}}var o=c=>c.replace((0,t.default)(),u=>{switch(u){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""}}),a=c=>typeof c=="string"&&!!c.match((0,t.default)());e.test=a;var i=(c,u,d,m,p,h)=>h(o(c),u,d,m,p);e.serialize=i;var s={serialize:i,test:a},l=s;e.default=l}}),ON=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=pi(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,a=d=>n.indexOf(d)!==-1||o.test(d),i=d=>d&&d.constructor&&!!d.constructor.name&&a(d.constructor.name);e.test=i;var s=d=>d.constructor.name==="NamedNodeMap",l=(d,m,p,h,g,y)=>{let b=d.constructor.name;return++h>m.maxDepth?"["+b+"]":(m.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(s(d)?Array.from(d).reduce((v,C)=>(v[C.name]=C.value,v),{}):{...d},m,p,h,g,y)+"}":"["+(0,t.printListItems)(Array.from(d),m,p,h,g,y)+"]")};e.serialize=l;var c={serialize:l,test:i},u=c;e.default=u}}),qN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}}}),Rc=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(qN());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,u,d,m,p,h,g)=>{let y=m+d.indent,b=d.colors;return c.map(v=>{let C=u[v],S=g(C,d,y,p,h);return typeof C!="string"&&(S.indexOf(`
|
|
291
|
+
`)!==-1&&(S=d.spacingOuter+y+S+d.spacingOuter+m),S="{"+S+"}"),d.spacingInner+m+b.prop.open+v+b.prop.close+"="+b.value.open+S+b.value.close}).join("")};e.printProps=n;var o=(c,u,d,m,p,h)=>c.map(g=>u.spacingOuter+d+(typeof g=="string"?a(g,u):h(g,u,d,m,p))).join("");e.printChildren=o;var a=(c,u)=>{let d=u.colors.content;return d.open+(0,t.default)(c)+d.close};e.printText=a;var i=(c,u)=>{let d=u.colors.comment;return d.open+"<\!--"+(0,t.default)(c)+"-->"+d.close};e.printComment=i;var s=(c,u,d,m,p)=>{let h=m.colors.tag;return h.open+"<"+c+(u&&h.close+u+m.spacingOuter+p+h.open)+(d?">"+h.close+d+m.spacingOuter+p+h.open+"</"+c:(u&&!m.min?"":" ")+"/")+">"+h.close};e.printElement=s;var l=(c,u)=>{let d=u.colors.tag;return d.open+"<"+c+d.close+" \u2026"+d.open+" />"+d.close};e.printElementAsLeaf=l}}),xN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Rc(),r=1,n=3,o=8,a=11,i=/^((HTML|SVG)\w*)?Element$/,s=y=>{try{return typeof y.hasAttribute=="function"&&y.hasAttribute("is")}catch{return!1}},l=y=>{let b=y.constructor.name,{nodeType:v,tagName:C}=y,S=typeof C=="string"&&C.includes("-")||s(y);return v===r&&(i.test(b)||S)||v===n&&b==="Text"||v===o&&b==="Comment"||v===a&&b==="DocumentFragment"},c=y=>{var b;return(y==null||(b=y.constructor)===null||b===void 0?void 0:b.name)&&l(y)};e.test=c;function u(y){return y.nodeType===n}function d(y){return y.nodeType===o}function m(y){return y.nodeType===a}var p=(y,b,v,C,S,A)=>{if(u(y))return(0,t.printText)(y.data,b);if(d(y))return(0,t.printComment)(y.data,b);let _=m(y)?"DocumentFragment":y.tagName.toLowerCase();return++C>b.maxDepth?(0,t.printElementAsLeaf)(_,b):(0,t.printElement)(_,(0,t.printProps)(m(y)?[]:Array.from(y.attributes).map(E=>E.name).sort(),m(y)?{}:Array.from(y.attributes).reduce((E,R)=>(E[R.name]=R.value,E),{}),b,v+b.indent,C,S,A),(0,t.printChildren)(Array.prototype.slice.call(y.childNodes||y.children),b,v+b.indent,C,S,A),b,v)};e.serialize=p;var h={serialize:p,test:c},g=h;e.default=g}}),MN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=pi(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",a="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",s="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",u="@@__IMMUTABLE_STACK__@@",d=R=>"Immutable."+R,m=R=>"["+R+"]",p=" ",h="\u2026",g=(R,P,N,B,j,F,T)=>++B>P.maxDepth?m(d(T)):d(T)+p+"{"+(0,t.printIteratorEntries)(R.entries(),P,N,B,j,F)+"}";function y(R){let P=0;return{next(){if(P<R._keys.length){let N=R._keys[P++];return{done:!1,value:[N,R.get(N)]}}return{done:!0,value:void 0}}}}var b=(R,P,N,B,j,F)=>{let T=d(R._name||"Record");return++B>P.maxDepth?m(T):T+p+"{"+(0,t.printIteratorEntries)(y(R),P,N,B,j,F)+"}"},v=(R,P,N,B,j,F)=>{let T=d("Seq");return++B>P.maxDepth?m(T):R[o]?T+p+"{"+(R._iter||R._object?(0,t.printIteratorEntries)(R.entries(),P,N,B,j,F):h)+"}":T+p+"["+(R._iter||R._array||R._collection||R._iterable?(0,t.printIteratorValues)(R.values(),P,N,B,j,F):h)+"]"},C=(R,P,N,B,j,F,T)=>++B>P.maxDepth?m(d(T)):d(T)+p+"["+(0,t.printIteratorValues)(R.values(),P,N,B,j,F)+"]",S=(R,P,N,B,j,F)=>R[a]?g(R,P,N,B,j,F,R[i]?"OrderedMap":"Map"):R[n]?C(R,P,N,B,j,F,"List"):R[c]?C(R,P,N,B,j,F,R[i]?"OrderedSet":"Set"):R[u]?C(R,P,N,B,j,F,"Stack"):R[l]?v(R,P,N,B,j,F):b(R,P,N,B,j,F);e.serialize=S;var A=R=>R&&(R[r]===!0||R[s]===!0);e.test=A;var _={serialize:S,test:A},E=_;e.default=E}}),NN=w({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,o=60108,a=60114,i=60109,s=60110,l=60112,c=60113,u=60120,d=60115,m=60116,p=60121,h=60122,g=60117,y=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"),a=v("react.profiler"),i=v("react.provider"),s=v("react.context"),l=v("react.forward_ref"),c=v("react.suspense"),u=v("react.suspense_list"),d=v("react.memo"),m=v("react.lazy"),p=v("react.block"),h=v("react.server.block"),g=v("react.fundamental"),y=v("react.debug_trace_mode"),b=v("react.legacy_hidden"));var v;function C(T){if(typeof T=="object"&&T!==null){var M=T.$$typeof;switch(M){case t:switch(T=T.type,T){case n:case a:case o:case c:case u:return T;default:switch(T=T&&T.$$typeof,T){case s:case l:case m:case d:case i:return T;default:return M}}case r:return M}}}var S=i,A=t,_=l,E=n,R=m,P=d,N=r,B=a,j=o,F=c;e.ContextConsumer=s,e.ContextProvider=S,e.Element=A,e.ForwardRef=_,e.Fragment=E,e.Lazy=R,e.Memo=P,e.Portal=N,e.Profiler=B,e.StrictMode=j,e.Suspense=F,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(T){return C(T)===s},e.isContextProvider=function(T){return C(T)===i},e.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===t},e.isForwardRef=function(T){return C(T)===l},e.isFragment=function(T){return C(T)===n},e.isLazy=function(T){return C(T)===m},e.isMemo=function(T){return C(T)===d},e.isPortal=function(T){return C(T)===r},e.isProfiler=function(T){return C(T)===a},e.isStrictMode=function(T){return C(T)===o},e.isSuspense=function(T){return C(T)===c},e.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===n||T===a||T===y||T===o||T===c||T===u||T===b||typeof T=="object"&&T!==null&&(T.$$typeof===m||T.$$typeof===d||T.$$typeof===i||T.$$typeof===s||T.$$typeof===l||T.$$typeof===g||T.$$typeof===p||T[0]===h)},e.typeOf=C}}),YH=w({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.development.js"(e){}}),jN=w({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=NN()}}),IN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(jN()),r=Rc();function n(m){if(typeof WeakMap!="function")return null;var p=new WeakMap,h=new WeakMap;return(n=function(g){return g?h:p})(m)}function o(m,p){if(!p&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var h=n(p);if(h&&h.has(m))return h.get(m);var g={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in m)if(b!=="default"&&Object.prototype.hasOwnProperty.call(m,b)){var v=y?Object.getOwnPropertyDescriptor(m,b):null;v&&(v.get||v.set)?Object.defineProperty(g,b,v):g[b]=m[b]}return g.default=m,h&&h.set(m,g),g}var a=(m,p=[])=>(Array.isArray(m)?m.forEach(h=>{a(h,p)}):m!=null&&m!==!1&&p.push(m),p),i=m=>{let p=m.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(m))return"React.Fragment";if(t.isSuspense(m))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(m))return"Context.Provider";if(t.isContextConsumer(m))return"Context.Consumer";if(t.isForwardRef(m)){if(p.displayName)return p.displayName;let h=p.render.displayName||p.render.name||"";return h!==""?"ForwardRef("+h+")":"ForwardRef"}if(t.isMemo(m)){let h=p.displayName||p.type.displayName||p.type.name||"";return h!==""?"Memo("+h+")":"Memo"}}return"UNDEFINED"},s=m=>{let{props:p}=m;return Object.keys(p).filter(h=>h!=="children"&&p[h]!==void 0).sort()},l=(m,p,h,g,y,b)=>++g>p.maxDepth?(0,r.printElementAsLeaf)(i(m),p):(0,r.printElement)(i(m),(0,r.printProps)(s(m),m.props,p,h+p.indent,g,y,b),(0,r.printChildren)(a(m.props.children),p,h+p.indent,g,y,b),p,h);e.serialize=l;var c=m=>m!=null&&t.isElement(m);e.test=c;var u={serialize:l,test:c},d=u;e.default=d}}),DN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Rc(),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,a=u=>{let{props:d}=u;return d?Object.keys(d).filter(m=>d[m]!==void 0).sort():[]},i=(u,d,m,p,h,g)=>++p>d.maxDepth?(0,t.printElementAsLeaf)(u.type,d):(0,t.printElement)(u.type,u.props?(0,t.printProps)(a(u),u.props,d,m+d.indent,p,h,g):"",u.children?(0,t.printChildren)(u.children,d,m+d.indent,p,h,g):"",d,m);e.serialize=i;var s=u=>u&&u.$$typeof===o;e.test=s;var l={serialize:i,test:s},c=l;e.default=c}}),FN=w({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=Z,e.plugins=void 0;var t=u(av()),r=pi(),n=u(AN()),o=u(PN()),a=u(ON()),i=u(xN()),s=u(MN()),l=u(IN()),c=u(DN());function u(L){return L&&L.__esModule?L:{default:L}}var d=Object.prototype.toString,m=Date.prototype.toISOString,p=Error.prototype.toString,h=RegExp.prototype.toString,g=L=>typeof L.constructor=="function"&&L.constructor.name||"Object",y=L=>typeof window<"u"&&L===window,b=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,C=class extends Error{constructor(L,X){super(L),this.stack=X,this.name=this.constructor.name}};function S(L){return L==="[object Array]"||L==="[object ArrayBuffer]"||L==="[object DataView]"||L==="[object Float32Array]"||L==="[object Float64Array]"||L==="[object Int8Array]"||L==="[object Int16Array]"||L==="[object Int32Array]"||L==="[object Uint8Array]"||L==="[object Uint8ClampedArray]"||L==="[object Uint16Array]"||L==="[object Uint32Array]"}function A(L){return Object.is(L,-0)?"-0":String(L)}function _(L){return`${L}n`}function E(L,X){return X?"[Function "+(L.name||"anonymous")+"]":"[Function]"}function R(L){return String(L).replace(b,"Symbol($1)")}function P(L){return"["+p.call(L)+"]"}function N(L,X,Q,ce){if(L===!0||L===!1)return""+L;if(L===void 0)return"undefined";if(L===null)return"null";let le=typeof L;if(le==="number")return A(L);if(le==="bigint")return _(L);if(le==="string")return ce?'"'+L.replace(/"|\\/g,"\\$&")+'"':'"'+L+'"';if(le==="function")return E(L,X);if(le==="symbol")return R(L);let pe=d.call(L);return pe==="[object WeakMap]"?"WeakMap {}":pe==="[object WeakSet]"?"WeakSet {}":pe==="[object Function]"||pe==="[object GeneratorFunction]"?E(L,X):pe==="[object Symbol]"?R(L):pe==="[object Date]"?isNaN(+L)?"Date { NaN }":m.call(L):pe==="[object Error]"?P(L):pe==="[object RegExp]"?Q?h.call(L).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):h.call(L):L instanceof Error?P(L):null}function B(L,X,Q,ce,le,pe){if(le.indexOf(L)!==-1)return"[Circular]";le=le.slice(),le.push(L);let he=++ce>X.maxDepth,Oe=X.min;if(X.callToJSON&&!he&&L.toJSON&&typeof L.toJSON=="function"&&!pe)return M(L.toJSON(),X,Q,ce,le,!0);let ot=d.call(L);return ot==="[object Arguments]"?he?"[Arguments]":(Oe?"":"Arguments ")+"["+(0,r.printListItems)(L,X,Q,ce,le,M)+"]":S(ot)?he?"["+L.constructor.name+"]":(Oe||!X.printBasicPrototype&&L.constructor.name==="Array"?"":L.constructor.name+" ")+"["+(0,r.printListItems)(L,X,Q,ce,le,M)+"]":ot==="[object Map]"?he?"[Map]":"Map {"+(0,r.printIteratorEntries)(L.entries(),X,Q,ce,le,M," => ")+"}":ot==="[object Set]"?he?"[Set]":"Set {"+(0,r.printIteratorValues)(L.values(),X,Q,ce,le,M)+"}":he||y(L)?"["+g(L)+"]":(Oe||!X.printBasicPrototype&&g(L)==="Object"?"":g(L)+" ")+"{"+(0,r.printObjectProperties)(L,X,Q,ce,le,M)+"}"}function j(L){return L.serialize!=null}function F(L,X,Q,ce,le,pe){let he;try{he=j(L)?L.serialize(X,Q,ce,le,pe,M):L.print(X,Oe=>M(Oe,Q,ce,le,pe),Oe=>{let ot=ce+Q.indent;return ot+Oe.replace(v,`
|
|
292
|
+
`+ot)},{edgeSpacing:Q.spacingOuter,min:Q.min,spacing:Q.spacingInner},Q.colors)}catch(Oe){throw new C(Oe.message,Oe.stack)}if(typeof he!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof he}".`);return he}function T(L,X){for(let Q=0;Q<L.length;Q++)try{if(L[Q].test(X))return L[Q]}catch(ce){throw new C(ce.message,ce.stack)}return null}function M(L,X,Q,ce,le,pe){let he=T(X.plugins,L);if(he!==null)return F(he,L,X,Q,ce,le);let Oe=N(L,X.printFunctionName,X.escapeRegex,X.escapeString);return Oe!==null?Oe:B(L,X,Q,ce,le,pe)}var D={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Y=Object.keys(D),z={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:D};e.DEFAULT_OPTIONS=z;function J(L){if(Object.keys(L).forEach(X=>{if(!z.hasOwnProperty(X))throw new Error(`pretty-format: Unknown option "${X}".`)}),L.min&&L.indent!==void 0&&L.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(L.theme!==void 0){if(L.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof L.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof L.theme}".`)}}var te=L=>Y.reduce((X,Q)=>{let ce=L.theme&&L.theme[Q]!==void 0?L.theme[Q]:D[Q],le=ce&&t.default[ce];if(le&&typeof le.close=="string"&&typeof le.open=="string")X[Q]=le;else throw new Error(`pretty-format: Option "theme" has a key "${Q}" whose value "${ce}" is undefined in ansi-styles.`);return X},Object.create(null)),ee=()=>Y.reduce((L,X)=>(L[X]={close:"",open:""},L),Object.create(null)),H=L=>L&&L.printFunctionName!==void 0?L.printFunctionName:z.printFunctionName,U=L=>L&&L.escapeRegex!==void 0?L.escapeRegex:z.escapeRegex,G=L=>L&&L.escapeString!==void 0?L.escapeString:z.escapeString,K=L=>{var X;return{callToJSON:L&&L.callToJSON!==void 0?L.callToJSON:z.callToJSON,colors:L&&L.highlight?te(L):ee(),compareKeys:L&&typeof L.compareKeys=="function"?L.compareKeys:z.compareKeys,escapeRegex:U(L),escapeString:G(L),indent:L&&L.min?"":W(L&&L.indent!==void 0?L.indent:z.indent),maxDepth:L&&L.maxDepth!==void 0?L.maxDepth:z.maxDepth,min:L&&L.min!==void 0?L.min:z.min,plugins:L&&L.plugins!==void 0?L.plugins:z.plugins,printBasicPrototype:(X=L?.printBasicPrototype)!==null&&X!==void 0?X:!0,printFunctionName:H(L),spacingInner:L&&L.min?" ":`
|
|
293
|
+
`,spacingOuter:L&&L.min?"":`
|
|
294
|
+
`}};function W(L){return new Array(L+1).join(" ")}function Z(L,X){if(X&&(J(X),X.plugins)){let ce=T(X.plugins,L);if(ce!==null)return F(ce,L,K(X),"",0,[])}let Q=N(L,H(X),U(X),G(X));return Q!==null?Q:B(L,K(X),"",0,[])}var ie={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:a.default,DOMElement:i.default,Immutable:s.default,ReactElement:l.default,ReactTestComponent:c.default};e.plugins=ie;var He=Z;e.default=He}}),LN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,a={"@@iterator":function(){return a},next:function(){if(o<n.length){var i=n[o];return o=o+1,{done:!1,value:i}}else return{done:!0}}};return a}var r=t;e.default=r}}),Io=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(LN());function r(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(a)}function o(a,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(i)}),a}}}),BN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Io());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,h){return i(p)||a(p,h)||l(p,h)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
295
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(p,h){var g=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(g!=null){var y=[],b=!0,v=!1,C,S;try{for(g=g.call(p);!(b=(C=g.next()).done)&&(y.push(C.value),!(h&&y.length===h));b=!0);}catch(A){v=!0,S=A}finally{try{!b&&g.return!=null&&g.return()}finally{if(v)throw S}}return y}}function i(p){if(Array.isArray(p))return p}function s(p,h){var g=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!g){if(Array.isArray(p)||(g=l(p))||h&&p&&typeof p.length=="number"){g&&(p=g);var y=0,b=function(){};return{s:b,n:function(){return y>=p.length?{done:!0}:{done:!1,value:p[y++]}},e:function(A){throw A},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
296
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,C=!1,S;return{s:function(){g=g.call(p)},n:function(){var A=g.next();return v=A.done,A},e:function(A){C=!0,S=A},f:function(){try{!v&&g.return!=null&&g.return()}finally{if(C)throw S}}}}function l(p,h){if(p){if(typeof p=="string")return c(p,h);var g=Object.prototype.toString.call(p).slice(8,-1);if(g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set")return Array.from(p);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(p,h)}}function c(p,h){(h==null||h>p.length)&&(h=p.length);for(var g=0,y=new Array(h);g<h;g++)y[g]=p[g];return y}var u=[["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:function(){return u},forEach:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=s(u),y;try{for(g.s();!(y=g.n()).done;){var b=n(y.value,2),v=b[0],C=b[1];p.call(h,C,v,u)}}catch(S){g.e(S)}finally{g.f()}},get:function(p){var h=u.find(function(g){return g[0]===p});return h&&h[1]},has:function(p){return!!d.get(p)},keys:function(){return u.map(function(p){var h=n(p,1),g=h[0];return g})},values:function(){return u.map(function(p){var h=n(p,2),g=h[1];return g})}},m=(0,t.default)(d,d.entries());e.default=m}}),kN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Io());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,h){return i(p)||a(p,h)||l(p,h)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
297
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(p,h){var g=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(g!=null){var y=[],b=!0,v=!1,C,S;try{for(g=g.call(p);!(b=(C=g.next()).done)&&(y.push(C.value),!(h&&y.length===h));b=!0);}catch(A){v=!0,S=A}finally{try{!b&&g.return!=null&&g.return()}finally{if(v)throw S}}return y}}function i(p){if(Array.isArray(p))return p}function s(p,h){var g=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!g){if(Array.isArray(p)||(g=l(p))||h&&p&&typeof p.length=="number"){g&&(p=g);var y=0,b=function(){};return{s:b,n:function(){return y>=p.length?{done:!0}:{done:!1,value:p[y++]}},e:function(A){throw A},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
298
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,C=!1,S;return{s:function(){g=g.call(p)},n:function(){var A=g.next();return v=A.done,A},e:function(A){C=!0,S=A},f:function(){try{!v&&g.return!=null&&g.return()}finally{if(C)throw S}}}}function l(p,h){if(p){if(typeof p=="string")return c(p,h);var g=Object.prototype.toString.call(p).slice(8,-1);if(g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set")return Array.from(p);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(p,h)}}function c(p,h){(h==null||h>p.length)&&(h=p.length);for(var g=0,y=new Array(h);g<h;g++)y[g]=p[g];return y}var u=[["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:function(){return u},forEach:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=s(u),y;try{for(g.s();!(y=g.n()).done;){var b=n(y.value,2),v=b[0],C=b[1];p.call(h,C,v,u)}}catch(S){g.e(S)}finally{g.f()}},get:function(p){var h=u.find(function(g){return g[0]===p});return h&&h[1]},has:function(p){return!!d.get(p)},keys:function(){return u.map(function(p){var h=n(p,1),g=h[0];return g})},values:function(){return u.map(function(p){var h=n(p,2),g=h[1];return g})}},m=(0,t.default)(d,d.entries());e.default=m}}),$N=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),UN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),HN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),VN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),GN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),zN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),YN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),WN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),KN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),XN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),JN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),QN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),ZN=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p($N()),r=p(UN()),n=p(HN()),o=p(VN()),a=p(GN()),i=p(zN()),s=p(YN()),l=p(WN()),c=p(KN()),u=p(XN()),d=p(JN()),m=p(QN());function p(y){return y&&y.__esModule?y:{default:y}}var h=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",a.default],["roletype",i.default],["section",s.default],["sectionhead",l.default],["select",c.default],["structure",u.default],["widget",d.default],["window",m.default]],g=h;e.default=g}}),ej=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),tj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),rj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),nj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),oj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),aj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ij=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),sj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),lj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),uj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),cj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),dj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),pj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),fj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{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}}),mj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),hj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),yj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),bj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),gj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),vj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Ej=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_j=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),Rj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),wj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Cj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Sj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),Aj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),Tj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Pj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),Oj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),qj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),xj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),Mj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Nj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),jj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ij=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Dj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Fj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Lj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Bj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),kj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),$j=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),Uj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),Hj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),Vj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),Gj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),zj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Yj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),Wj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Kj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Xj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Jj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Qj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),Zj=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),eI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),tI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),rI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),nI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),oI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),aI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),iI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),sI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),lI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),uI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),cI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),dI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),pI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),fI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),mI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),hI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),yI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),bI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),gI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),vI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),EI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_I=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),RI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),wI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),CI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),SI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),AI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),TI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),PI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),OI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=k(ej()),r=k(tj()),n=k(rj()),o=k(nj()),a=k(oj()),i=k(aj()),s=k(ij()),l=k(sj()),c=k(lj()),u=k(uj()),d=k(cj()),m=k(dj()),p=k(pj()),h=k(fj()),g=k(mj()),y=k(hj()),b=k(yj()),v=k(bj()),C=k(gj()),S=k(vj()),A=k(Ej()),_=k(_j()),E=k(Rj()),R=k(wj()),P=k(Cj()),N=k(Sj()),B=k(Aj()),j=k(Tj()),F=k(Pj()),T=k(Oj()),M=k(qj()),D=k(xj()),Y=k(Mj()),z=k(Nj()),J=k(jj()),te=k(Ij()),ee=k(Dj()),H=k(Fj()),U=k(Lj()),G=k(Bj()),K=k(kj()),W=k($j()),Z=k(Uj()),ie=k(Hj()),He=k(Vj()),L=k(Gj()),X=k(zj()),Q=k(Yj()),ce=k(Wj()),le=k(Kj()),pe=k(Xj()),he=k(Jj()),Oe=k(Qj()),ot=k(Zj()),Hn=k(eI()),Vn=k(tI()),Li=k(rI()),Bi=k(nI()),ki=k(oI()),$i=k(aI()),Ui=k(iI()),Hi=k(sI()),Vi=k(lI()),Gi=k(uI()),zi=k(cI()),Yi=k(dI()),Wi=k(pI()),Ki=k(fI()),Xi=k(mI()),Ji=k(hI()),Qi=k(yI()),Zi=k(bI()),es=k(gI()),ts=k(vI()),rs=k(EI()),ns=k(_I()),os=k(RI()),as=k(wI()),is=k(CI()),ss=k(SI()),ls=k(AI()),us=k(TI()),cs=k(PI());function k(Go){return Go&&Go.__esModule?Go:{default:Go}}var ds=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",a.default],["blockquote",i.default],["button",s.default],["caption",l.default],["cell",c.default],["checkbox",u.default],["code",d.default],["columnheader",m.default],["combobox",p.default],["complementary",h.default],["contentinfo",g.default],["definition",y.default],["deletion",b.default],["dialog",v.default],["directory",C.default],["document",S.default],["emphasis",A.default],["feed",_.default],["figure",E.default],["form",R.default],["generic",P.default],["grid",N.default],["gridcell",B.default],["group",j.default],["heading",F.default],["img",T.default],["insertion",M.default],["link",D.default],["list",Y.default],["listbox",z.default],["listitem",J.default],["log",te.default],["main",ee.default],["mark",H.default],["marquee",U.default],["math",G.default],["menu",K.default],["menubar",W.default],["menuitem",Z.default],["menuitemcheckbox",ie.default],["menuitemradio",He.default],["meter",L.default],["navigation",X.default],["none",Q.default],["note",ce.default],["option",le.default],["paragraph",pe.default],["presentation",he.default],["progressbar",Oe.default],["radio",ot.default],["radiogroup",Hn.default],["region",Vn.default],["row",Li.default],["rowgroup",Bi.default],["rowheader",ki.default],["scrollbar",$i.default],["search",Ui.default],["searchbox",Hi.default],["separator",Vi.default],["slider",Gi.default],["spinbutton",zi.default],["status",Yi.default],["strong",Wi.default],["subscript",Ki.default],["superscript",Xi.default],["switch",Ji.default],["tab",Qi.default],["table",Zi.default],["tablist",es.default],["tabpanel",ts.default],["term",rs.default],["textbox",ns.default],["time",os.default],["timer",as.default],["toolbar",is.default],["tooltip",ss.default],["tree",ls.default],["treegrid",us.default],["treeitem",cs.default]],Jr=ds;e.default=Jr}}),qI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),xI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),MI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),NI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),jI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),II=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),DI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),FI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),LI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),BI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),kI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),$I=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),UI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),HI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),VI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),GI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),zI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),YI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),WI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),KI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),XI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),JI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),QI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),ZI=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),eD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),tD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),rD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),nD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),oD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),aD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),iD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),sD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),lD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),uD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),cD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),dD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),pD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),fD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),mD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),hD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=G(qI()),r=G(xI()),n=G(MI()),o=G(NI()),a=G(jI()),i=G(II()),s=G(DI()),l=G(FI()),c=G(LI()),u=G(BI()),d=G(kI()),m=G($I()),p=G(UI()),h=G(HI()),g=G(VI()),y=G(GI()),b=G(zI()),v=G(YI()),C=G(WI()),S=G(KI()),A=G(XI()),_=G(JI()),E=G(QI()),R=G(ZI()),P=G(eD()),N=G(tD()),B=G(rD()),j=G(nD()),F=G(oD()),T=G(aD()),M=G(iD()),D=G(sD()),Y=G(lD()),z=G(uD()),J=G(cD()),te=G(dD()),ee=G(pD()),H=G(fD()),U=G(mD());function G(Z){return Z&&Z.__esModule?Z:{default:Z}}var K=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",a.default],["doc-biblioentry",i.default],["doc-bibliography",s.default],["doc-biblioref",l.default],["doc-chapter",c.default],["doc-colophon",u.default],["doc-conclusion",d.default],["doc-cover",m.default],["doc-credit",p.default],["doc-credits",h.default],["doc-dedication",g.default],["doc-endnote",y.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",C.default],["doc-errata",S.default],["doc-example",A.default],["doc-footnote",_.default],["doc-foreword",E.default],["doc-glossary",R.default],["doc-glossref",P.default],["doc-index",N.default],["doc-introduction",B.default],["doc-noteref",j.default],["doc-notice",F.default],["doc-pagebreak",T.default],["doc-pagelist",M.default],["doc-part",D.default],["doc-preface",Y.default],["doc-prologue",z.default],["doc-pullquote",J.default],["doc-qna",te.default],["doc-subtitle",ee.default],["doc-tip",H.default],["doc-toc",U.default]],W=K;e.default=W}}),yD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),bD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),gD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),vD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(yD()),r=o(bD()),n=o(gD());function o(s){return s&&s.__esModule?s:{default:s}}var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],i=a;e.default=i}}),wc=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(ZN()),r=i(OI()),n=i(hD()),o=i(vD()),a=i(Io());function i(v){return v&&v.__esModule?v:{default:v}}function s(v,C,S){return C in v?Object.defineProperty(v,C,{value:S,enumerable:!0,configurable:!0,writable:!0}):v[C]=S,v}function l(v,C){var S=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!S){if(Array.isArray(v)||(S=d(v))||C&&v&&typeof v.length=="number"){S&&(v=S);var A=0,_=function(){};return{s:_,n:function(){return A>=v.length?{done:!0}:{done:!1,value:v[A++]}},e:function(N){throw N},f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
299
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,R=!1,P;return{s:function(){S=S.call(v)},n:function(){var N=S.next();return E=N.done,N},e:function(N){R=!0,P=N},f:function(){try{!E&&S.return!=null&&S.return()}finally{if(R)throw P}}}}function c(v,C){return h(v)||p(v,C)||d(v,C)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
300
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(v,C){if(v){if(typeof v=="string")return m(v,C);var S=Object.prototype.toString.call(v).slice(8,-1);if(S==="Object"&&v.constructor&&(S=v.constructor.name),S==="Map"||S==="Set")return Array.from(v);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return m(v,C)}}function m(v,C){(C==null||C>v.length)&&(C=v.length);for(var S=0,A=new Array(C);S<C;S++)A[S]=v[S];return A}function p(v,C){var S=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(S!=null){var A=[],_=!0,E=!1,R,P;try{for(S=S.call(v);!(_=(R=S.next()).done)&&(A.push(R.value),!(C&&A.length===C));_=!0);}catch(N){E=!0,P=N}finally{try{!_&&S.return!=null&&S.return()}finally{if(E)throw P}}return A}}function h(v){if(Array.isArray(v))return v}var g=[].concat(t.default,r.default,n.default,o.default);g.forEach(function(v){var C=c(v,2),S=C[1],A=l(S.superClass),_;try{for(A.s();!(_=A.n()).done;){var E=_.value,R=l(E),P;try{var N=function(){var B=P.value,j=g.find(function(Y){var z=c(Y,1),J=z[0];return J===B});if(j)for(var F=j[1],T=0,M=Object.keys(F.props);T<M.length;T++){var D=M[T];Object.prototype.hasOwnProperty.call(S.props,D)||Object.assign(S.props,s({},D,F.props[D]))}};for(R.s();!(P=R.n()).done;)N()}catch(B){R.e(B)}finally{R.f()}}}catch(B){A.e(B)}finally{A.f()}});var y={entries:function(){return g},forEach:function(v){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=l(g),A;try{for(S.s();!(A=S.n()).done;){var _=c(A.value,2),E=_[0],R=_[1];v.call(C,R,E,g)}}catch(P){S.e(P)}finally{S.f()}},get:function(v){var C=g.find(function(S){return S[0]===v});return C&&C[1]},has:function(v){return!!y.get(v)},keys:function(){return g.map(function(v){var C=c(v,1),S=C[0];return S})},values:function(){return g.map(function(v){var C=c(v,2),S=C[1];return S})}},b=(0,a.default)(y,y.entries());e.default=b}}),ED=w({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,o){var a,i;if(n===o)return!0;if(n&&o&&(a=n.constructor)===o.constructor){if(a===Date)return n.getTime()===o.getTime();if(a===RegExp)return n.toString()===o.toString();if(a===Array){if((i=n.length)===o.length)for(;i--&&r(n[i],o[i]););return i===-1}if(!a||typeof n=="object"){i=0;for(a in n)if(t.call(n,a)&&++i&&!t.call(o,a)||!(a in o)||!r(n[a],o[a]))return!1;return Object.keys(o).length===i}}return n!==n&&o!==o}e.dequal=r}}),_D=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ED(),r=o(Io()),n=o(wc());function o(_){return _&&_.__esModule?_:{default:_}}function a(_,E){return l(_)||s(_,E)||u(_,E)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
301
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(_,E){var R=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(R!=null){var P=[],N=!0,B=!1,j,F;try{for(R=R.call(_);!(N=(j=R.next()).done)&&(P.push(j.value),!(E&&P.length===E));N=!0);}catch(T){B=!0,F=T}finally{try{!N&&R.return!=null&&R.return()}finally{if(B)throw F}}return P}}function l(_){if(Array.isArray(_))return _}function c(_,E){var R=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!R){if(Array.isArray(_)||(R=u(_))||E&&_&&typeof _.length=="number"){R&&(_=R);var P=0,N=function(){};return{s:N,n:function(){return P>=_.length?{done:!0}:{done:!1,value:_[P++]}},e:function(T){throw T},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
302
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,j=!1,F;return{s:function(){R=R.call(_)},n:function(){var T=R.next();return B=T.done,T},e:function(T){j=!0,F=T},f:function(){try{!B&&R.return!=null&&R.return()}finally{if(j)throw F}}}}function u(_,E){if(_){if(typeof _=="string")return d(_,E);var R=Object.prototype.toString.call(_).slice(8,-1);if(R==="Object"&&_.constructor&&(R=_.constructor.name),R==="Map"||R==="Set")return Array.from(_);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return d(_,E)}}function d(_,E){(E==null||E>_.length)&&(E=_.length);for(var R=0,P=new Array(E);R<E;R++)P[R]=_[R];return P}var m=[],p=n.default.keys();for(C=0;C<p.length;C++)if(h=p[C],g=n.default.get(h),g)for(y=[].concat(g.baseConcepts,g.relatedConcepts),v=0;v<y.length;v++)b=y[v],b.module==="HTML"&&(function(){var _=b.concept;if(_){var E=m.find(function(B){return(0,t.dequal)(B,_)}),R;E?R=E[1]:R=[];for(var P=!0,N=0;N<R.length;N++)if(R[N]===h){P=!1;break}P&&R.push(h),m.push([_,R])}})();var h,g,y,b,v,C,S={entries:function(){return m},forEach:function(_){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=c(m),P;try{for(R.s();!(P=R.n()).done;){var N=a(P.value,2),B=N[0],j=N[1];_.call(E,j,B,m)}}catch(F){R.e(F)}finally{R.f()}},get:function(_){var E=m.find(function(R){return _.name===R[0].name&&(0,t.dequal)(_.attributes,R[0].attributes)});return E&&E[1]},has:function(_){return!!S.get(_)},keys:function(){return m.map(function(_){var E=a(_,1),R=E[0];return R})},values:function(){return m.map(function(_){var E=a(_,2),R=E[1];return R})}},A=(0,r.default)(S,S.entries());e.default=A}}),RD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Io()),r=n(wc());function n(E){return E&&E.__esModule?E:{default:E}}function o(E,R){return s(E)||i(E,R)||c(E,R)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
303
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(E,R){var P=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(P!=null){var N=[],B=!0,j=!1,F,T;try{for(P=P.call(E);!(B=(F=P.next()).done)&&(N.push(F.value),!(R&&N.length===R));B=!0);}catch(M){j=!0,T=M}finally{try{!B&&P.return!=null&&P.return()}finally{if(j)throw T}}return N}}function s(E){if(Array.isArray(E))return E}function l(E,R){var P=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!P){if(Array.isArray(E)||(P=c(E))||R&&E&&typeof E.length=="number"){P&&(E=P);var N=0,B=function(){};return{s:B,n:function(){return N>=E.length?{done:!0}:{done:!1,value:E[N++]}},e:function(M){throw M},f:B}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
304
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=!0,F=!1,T;return{s:function(){P=P.call(E)},n:function(){var M=P.next();return j=M.done,M},e:function(M){F=!0,T=M},f:function(){try{!j&&P.return!=null&&P.return()}finally{if(F)throw T}}}}function c(E,R){if(E){if(typeof E=="string")return u(E,R);var P=Object.prototype.toString.call(E).slice(8,-1);if(P==="Object"&&E.constructor&&(P=E.constructor.name),P==="Map"||P==="Set")return Array.from(E);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return u(E,R)}}function u(E,R){(R==null||R>E.length)&&(R=E.length);for(var P=0,N=new Array(R);P<R;P++)N[P]=E[P];return N}var d=[],m=r.default.keys();for(S=0;S<m.length;S++)if(p=m[S],h=r.default.get(p),g=[],h){for(y=[].concat(h.baseConcepts,h.relatedConcepts),C=0;C<y.length;C++)b=y[C],b.module==="HTML"&&(v=b.concept,v!=null&&g.push(v));g.length>0&&d.push([p,g])}var p,h,g,y,b,v,C,S,A={entries:function(){return d},forEach:function(E){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,P=l(d),N;try{for(P.s();!(N=P.n()).done;){var B=o(N.value,2),j=B[0],F=B[1];E.call(R,F,j,d)}}catch(T){P.e(T)}finally{P.f()}},get:function(E){var R=d.find(function(P){return P[0]===E});return R&&R[1]},has:function(E){return!!A.get(E)},keys:function(){return d.map(function(E){var R=o(E,1),P=R[0];return P})},values:function(){return d.map(function(E){var R=o(E,2),P=R[1];return P})}},_=(0,t.default)(A,A.entries());e.default=_}}),wD=w({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(BN()),r=i(kN()),n=i(wc()),o=i(_D()),a=i(RD());function i(m){return m&&m.__esModule?m:{default:m}}var s=t.default;e.aria=s;var l=r.default;e.dom=l;var c=n.default;e.roles=c;var u=o.default;e.elementRoles=u;var d=a.default;e.roleElements=d}}),CD=w({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=(function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function s(c,u){if(!i[c]){i[c]={};for(var d=0;d<c.length;d++)i[c][c.charAt(d)]=d}return i[c][u]}var l={compressToBase64:function(c){if(c==null)return"";var u=l._compress(c,6,function(d){return o.charAt(d)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:l._decompress(c.length,32,function(u){return s(o,c.charAt(u))})},compressToUTF16:function(c){return c==null?"":l._compress(c,15,function(u){return n(u+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:l._decompress(c.length,16384,function(u){return c.charCodeAt(u)-32})},compressToUint8Array:function(c){for(var u=l.compress(c),d=new Uint8Array(u.length*2),m=0,p=u.length;m<p;m++){var h=u.charCodeAt(m);d[m*2]=h>>>8,d[m*2+1]=h%256}return d},decompressFromUint8Array:function(c){if(c==null)return l.decompress(c);for(var u=new Array(c.length/2),d=0,m=u.length;d<m;d++)u[d]=c[d*2]*256+c[d*2+1];var p=[];return u.forEach(function(h){p.push(n(h))}),l.decompress(p.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":l._compress(c,6,function(u){return a.charAt(u)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),l._decompress(c.length,32,function(u){return s(a,c.charAt(u))}))},compress:function(c){return l._compress(c,16,function(u){return n(u)})},_compress:function(c,u,d){if(c==null)return"";var m,p,h={},g={},y="",b="",v="",C=2,S=3,A=2,_=[],E=0,R=0,P;for(P=0;P<c.length;P+=1)if(y=c.charAt(P),Object.prototype.hasOwnProperty.call(h,y)||(h[y]=S++,g[y]=!0),b=v+y,Object.prototype.hasOwnProperty.call(h,b))v=b;else{if(Object.prototype.hasOwnProperty.call(g,v)){if(v.charCodeAt(0)<256){for(m=0;m<A;m++)E=E<<1,R==u-1?(R=0,_.push(d(E)),E=0):R++;for(p=v.charCodeAt(0),m=0;m<8;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1}else{for(p=1,m=0;m<A;m++)E=E<<1|p,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=0;for(p=v.charCodeAt(0),m=0;m<16;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1}C--,C==0&&(C=Math.pow(2,A),A++),delete g[v]}else for(p=h[v],m=0;m<A;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1;C--,C==0&&(C=Math.pow(2,A),A++),h[b]=S++,v=String(y)}if(v!==""){if(Object.prototype.hasOwnProperty.call(g,v)){if(v.charCodeAt(0)<256){for(m=0;m<A;m++)E=E<<1,R==u-1?(R=0,_.push(d(E)),E=0):R++;for(p=v.charCodeAt(0),m=0;m<8;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1}else{for(p=1,m=0;m<A;m++)E=E<<1|p,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=0;for(p=v.charCodeAt(0),m=0;m<16;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1}C--,C==0&&(C=Math.pow(2,A),A++),delete g[v]}else for(p=h[v],m=0;m<A;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1;C--,C==0&&(C=Math.pow(2,A),A++)}for(p=2,m=0;m<A;m++)E=E<<1|p&1,R==u-1?(R=0,_.push(d(E)),E=0):R++,p=p>>1;for(;;)if(E=E<<1,R==u-1){_.push(d(E));break}else R++;return _.join("")},decompress:function(c){return c==null?"":c==""?null:l._decompress(c.length,32768,function(u){return c.charCodeAt(u)})},_decompress:function(c,u,d){var m=[],p=4,h=4,g=3,y="",b=[],v,C,S,A,_,E,R,P={val:d(0),position:u,index:1};for(v=0;v<3;v+=1)m[v]=v;for(S=0,_=Math.pow(2,2),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;switch(S){case 0:for(S=0,_=Math.pow(2,8),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;R=n(S);break;case 1:for(S=0,_=Math.pow(2,16),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;R=n(S);break;case 2:return""}for(m[3]=R,C=R,b.push(R);;){if(P.index>c)return"";for(S=0,_=Math.pow(2,g),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;switch(R=S){case 0:for(S=0,_=Math.pow(2,8),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;m[h++]=n(S),R=h-1,p--;break;case 1:for(S=0,_=Math.pow(2,16),E=1;E!=_;)A=P.val&P.position,P.position>>=1,P.position==0&&(P.position=u,P.val=d(P.index++)),S|=(A>0?1:0)*E,E<<=1;m[h++]=n(S),R=h-1,p--;break;case 2:return b.join("")}if(p==0&&(p=Math.pow(2,g),g++),m[R])y=m[R];else if(R===h)y=C+C.charAt(0);else return null;b.push(y),m[h++]=C+y.charAt(0),p--,C=y,p==0&&(p=Math.pow(2,g),g++)}}};return l})();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})}}),iv=Object.defineProperty,SD=Object.getOwnPropertyNames,$=(e,t)=>iv(e,"name",{value:t,configurable:!0}),AD=(e,t)=>function(){return t||(0,e[SD(e)[0]])((t={exports:{}}).exports,t),t.exports},Cc=(e,t)=>{for(var r in t)iv(e,r,{get:t[r],enumerable:!0})},TD=AD({"(disabled):util"(){}}),Mt={};Cc(Mt,{addChainableMethod:()=>Dc,addLengthGuard:()=>Lo,addMethod:()=>Nc,addProperty:()=>Mc,checkError:()=>ut,compareByInspect:()=>Ha,eql:()=>Nv,expectTypes:()=>fv,flag:()=>oe,getActual:()=>mi,getMessage:()=>Tc,getName:()=>yi,getOperator:()=>kc,getOwnEnumerableProperties:()=>Bc,getOwnEnumerablePropertySymbols:()=>Lc,getPathInfo:()=>xc,hasProperty:()=>hi,inspect:()=>de,isNaN:()=>Va,isNumeric:()=>Ue,isProxyEnabled:()=>Fo,isRegExp:()=>Ga,objDisplay:()=>Br,overwriteChainableMethod:()=>Fc,overwriteMethod:()=>Ic,overwriteProperty:()=>jc,proxify:()=>kn,test:()=>Sc,transferFlags:()=>Tt,type:()=>_e});var ut={};Cc(ut,{compatibleConstructor:()=>uv,compatibleInstance:()=>lv,compatibleMessage:()=>cv,getConstructorName:()=>dv,getMessage:()=>pv});function fi(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}$(fi,"isErrorInstance");function sv(e){return Object.prototype.toString.call(e)==="[object RegExp]"}$(sv,"isRegExp");function lv(e,t){return fi(t)&&e===t}$(lv,"compatibleInstance");function uv(e,t){return fi(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}$(uv,"compatibleConstructor");function cv(e,t){let r=typeof e=="string"?e:e.message;return sv(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}$(cv,"compatibleMessage");function dv(e){let t=e;return fi(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}$(dv,"getConstructorName");function pv(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}$(pv,"getMessage");function oe(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}$(oe,"flag");function Sc(e,t){var r=oe(e,"negate"),n=t[0];return r?!n:n}$(Sc,"test");function _e(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)}$(_e,"type");var PD="captureStackTrace"in Error,Sa,me=(Sa=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);Ae(this,"message");this.message=t,PD&&Error.captureStackTrace(this,n||Sa);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}}},$(Sa,"AssertionError"),Sa);function fv(e,t){var r=oe(e,"message"),n=oe(e,"ssfi");r=r?r+": ":"",e=oe(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();var o=t.map(function(i,s){var l=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a",c=t.length>1&&s===t.length-1?"or ":"";return c+l+" "+i}).join(", "),a=_e(e).toLowerCase();if(!t.some(function(i){return a===i}))throw new me(r+"object tested must be "+o+", but "+a+" given",void 0,n)}$(fv,"expectTypes");function mi(e,t){return t.length>4?t[4]:e._obj}$(mi,"getActual");var Dy={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"]},OD={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},An="\u2026";function mv(e,t){let r=Dy[OD[t]]||Dy[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}$(mv,"colorise");function hv({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:s=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(l),seen:s,inspect:u,stylize:c};return d.colors&&(d.stylize=mv),d}$(hv,"normaliseOptions");function yv(e){return e>="\uD800"&&e<="\uDBFF"}$(yv,"isHighSurrogate");function Qt(e,t,r=An){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&yv(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}$(Qt,"truncate");function gt(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",s="",l="";for(let c=0;c<o;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${An}(${e.length-c})`;let m=e[c];t.truncate=a-i.length-(u?0:n.length);let p=s||r(m,t)+(u?"":n),h=i.length+p.length,g=h+l.length;if(u&&h>a&&i.length+l.length<=a||!u&&!d&&g>a||(s=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&h+s.length>a))break;if(i+=p,!u&&!d&&h+s.length>=a){l=`${An}(${e.length-c-1})`;break}l=""}return`${i}${l}`}$(gt,"inspectList");function bv(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}$(bv,"quoteComplexKey");function Tn([e,t],r){return r.truncate-=2,typeof e=="string"?e=bv(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}$(Tn,"inspectProperty");function gv(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=gt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=gt(r.map(a=>[a,e[a]]),t,Tn)),`[ ${n}${o?`, ${o}`:""} ]`}$(gv,"inspectArray");var qD=$(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function xt(e,t){let r=qD(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 i=0;i<e.length;i++){let s=`${t.stylize(Qt(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${An}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=gt(n.map(i=>[i,e[i]]),t,Tn)),`${r}[ ${o}${a?`, ${a}`:""} ]`}$(xt,"inspectTypedArray");function vv(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${Qt(n[1],t.truncate-o.length-1)}`,"date")}$(vv,"inspectDate");function vu(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Qt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}$(vu,"inspectFunction");function Ev([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}$(Ev,"inspectMapEntry");function _v(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}$(_v,"mapToEntries");function Rv(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${gt(_v(e),t,Ev)} }`)}$(Rv,"inspectMap");var xD=Number.isNaN||(e=>e!==e);function Eu(e,t){return xD(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(Qt(String(e),t.truncate),"number")}$(Eu,"inspectNumber");function _u(e,t){let r=Qt(e.toString(),t.truncate-1);return r!==An&&(r+="n"),t.stylize(r,"bigint")}$(_u,"inspectBigInt");function wv(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Qt(o,n)}/${r}`,"regexp")}$(wv,"inspectRegExp");function Cv(e){let t=[];return e.forEach(r=>{t.push(r)}),t}$(Cv,"arrayFromSet");function Sv(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${gt(Cv(e),t)} }`)}$(Sv,"inspectSet");var Fy=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),MD={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},ND=16,jD=4;function Av(e){return MD[e]||`\\u${`0000${e.charCodeAt(0).toString(ND)}`.slice(-jD)}`}$(Av,"escape");function Ru(e,t){return Fy.test(e)&&(e=e.replace(Fy,Av)),t.stylize(`'${Qt(e,t.truncate-2)}'`,"string")}$(Ru,"inspectString");function wu(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}$(wu,"inspectSymbol");var Tv=$(()=>"Promise{\u2026}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Tv=$((n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`},"getPromiseValue"))}catch{}var ID=Tv;function mo(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=gt(r.map(s=>[s,e[s]]),t,Tn),a=gt(n.map(s=>[s,e[s]]),t,Tn);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}$(mo,"inspectObject");var Zl=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Pv(e,t){let r="";return Zl&&Zl in e&&(r=e[Zl]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${mo(e,t)}`}$(Pv,"inspectClass");function Ov(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${gt(e,t)} ]`)}$(Ov,"inspectArguments");var DD=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function qv(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>DD.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Qt(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 a=gt(r.map(i=>[i,e[i]]),t,Tn);return`${n}${o}${a?` { ${a} }`:""}`}$(qv,"inspectObject");function xv([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}$(xv,"inspectAttribute");function ka(e,t){return gt(e,t,Ac,`
|
|
305
|
+
`)}$(ka,"inspectHTMLCollection");function Ac(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=gt(r.map(u=>[u,e.getAttribute(u)]),t,xv," ")),t.truncate-=s.length;let l=t.truncate,c=ka(e.children,t);return c&&c.length>l&&(c=`${An}(${e.children.length})`),`${o}${s}${a}${c}${i}`}$(Ac,"inspectHTML");var FD=typeof Symbol=="function"&&typeof Symbol.for=="function",eu=FD?Symbol.for("chai/inspect"):"@@chai/inspect",yn=!1;try{let e=TD();yn=e.inspect?e.inspect.custom:!1}catch{yn=!1}var Ly=new WeakMap,By={},ky={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Eu,Number:Eu,bigint:_u,BigInt:_u,string:Ru,String:Ru,function:vu,Function:vu,symbol:wu,Symbol:wu,Array:gv,Date:vv,Map:Rv,Set:Sv,RegExp:wv,Promise:ID,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:Ov,Int8Array:xt,Uint8Array:xt,Uint8ClampedArray:xt,Int16Array:xt,Uint16Array:xt,Int32Array:xt,Uint32Array:xt,Float32Array:xt,Float64Array:xt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:qv,HTMLCollection:ka,NodeList:ka},LD=$((e,t,r)=>eu in e&&typeof e[eu]=="function"?e[eu](t):yn&&yn in e&&typeof e[yn]=="function"?e[yn](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Ly.has(e.constructor)?Ly.get(e.constructor)(e,t):By[r]?By[r](e,t):"","inspectCustom"),BD=Object.prototype.toString;function $a(e,t={}){let r=hv(t,$a),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=BD.call(e).slice(8,-1)),o in ky)return ky[o](e,r);if(n&&e){let i=LD(e,r,o);if(i)return typeof i=="string"?i:$a(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?mo(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ac(e,r):"constructor"in e?e.constructor!==Object?Pv(e,r):mo(e,r):e===Object(e)?mo(e,r):r.stylize(String(e),o)}$($a,"inspect");var nt={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function de(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:nt.truncateThreshold?nt.truncateThreshold:1/0};return $a(e,o)}$(de,"inspect");function Br(e){var t=de(e),r=Object.prototype.toString.call(e);if(nt.truncateThreshold&&t.length>=nt.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}$(Br,"objDisplay");function Tc(e,t){var r=oe(e,"negate"),n=oe(e,"object"),o=t[3],a=mi(e,t),i=r?t[2]:t[1],s=oe(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Br(n)}).replace(/#\{act\}/g,function(){return Br(a)}).replace(/#\{exp\}/g,function(){return Br(o)}),s?s+": "+i:i}$(Tc,"getMessage");function Tt(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])}$(Tt,"transferFlags");function Cu(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)}$(Cu,"type");function Pc(){this._key="chai/deep-eql__"+Math.random()+Date.now()}$(Pc,"FakeMap");Pc.prototype={get:$(function(e){return e[this._key]},"get"),set:$(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var Mv=typeof WeakMap=="function"?WeakMap:Pc;function Su(e,t,r){if(!r||Ur(e)||Ur(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}$(Su,"memoizeCompare");function uo(e,t,r,n){if(!(!r||Ur(e)||Ur(t))){var o=r.get(e);o?o.set(t,n):(o=new Mv,o.set(t,n),r.set(e,o))}}$(uo,"memoizeSet");var Nv=Do;function Do(e,t,r){if(r&&r.comparator)return Au(e,t,r);var n=Oc(e,t);return n!==null?n:Au(e,t,r)}$(Do,"deepEqual");function Oc(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Ur(e)||Ur(t)?!1:null}$(Oc,"simpleEqual");function Au(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Mv;var n=r&&r.comparator,o=Su(e,t,r.memoize);if(o!==null)return o;var a=Su(t,e,r.memoize);if(a!==null)return a;if(n){var i=n(e,t);if(i===!1||i===!0)return uo(e,t,r.memoize,i),i;var s=Oc(e,t);if(s!==null)return s}var l=Cu(e);if(l!==Cu(t))return uo(e,t,r.memoize,!1),!1;uo(e,t,r.memoize,!0);var c=jv(e,t,l,r);return uo(e,t,r.memoize,c),c}$(Au,"extensiveDeepEqual");function jv(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Do(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return qc(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 br(e,t,n);case"RegExp":return Iv(e,t);case"Generator":return Dv(e,t,n);case"DataView":return br(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return br(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Tu(e,t,n);case"Map":return Tu(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 Lv(e,t,n)}}$(jv,"extensiveDeepEqualByType");function Iv(e,t){return e.toString()===t.toString()}$(Iv,"regexpEqual");function Tu(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($(function(a,i){n.push([a,i])},"gatherEntries")),t.forEach($(function(a,i){o.push([a,i])},"gatherEntries")),br(n.sort(),o.sort(),r)}$(Tu,"entriesEqual");function br(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(Do(e[o],t[o],r)===!1)return!1;return!0}$(br,"iterableEqual");function Dv(e,t,r){return br(Ua(e),Ua(t),r)}$(Dv,"generatorEqual");function Fv(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}$(Fv,"hasIteratorFunction");function Pu(e){if(Fv(e))try{return Ua(e[Symbol.iterator]())}catch{return[]}return[]}$(Pu,"getIteratorEntries");function Ua(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}$(Ua,"getGeneratorEntries");function Ou(e){var t=[];for(var r in e)t.push(r);return t}$(Ou,"getEnumerableKeys");function qu(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}$(qu,"getEnumerableSymbols");function qc(e,t,r,n){var o=r.length;if(o===0)return!0;for(var a=0;a<o;a+=1)if(Do(e[r[a]],t[r[a]],n)===!1)return!1;return!0}$(qc,"keysEqual");function Lv(e,t,r){var n=Ou(e),o=Ou(t),a=qu(e),i=qu(t);if(n=n.concat(a),o=o.concat(i),n.length&&n.length===o.length)return br(xu(n).sort(),xu(o).sort())===!1?!1:qc(e,t,n,r);var s=Pu(e),l=Pu(t);return s.length&&s.length===l.length?(s.sort(),l.sort(),br(s,l,r)):n.length===0&&s.length===0&&o.length===0&&l.length===0}$(Lv,"objectEqual");function Ur(e){return e===null||typeof e!="object"}$(Ur,"isPrimitive");function xu(e){return e.map($(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}$(xu,"mapSymbols");function hi(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}$(hi,"hasProperty");function Bv(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})}$(Bv,"parsePath");function Mu(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let a=0;a<r;a++){let i=t[a];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],a===r-1&&(o=n))}return o}$(Mu,"internalGetPathValue");function xc(e,t){let r=Bv(t),n=r[r.length-1],o={parent:r.length>1?Mu(e,r,r.length-1):e,name:n.p||n.i,value:Mu(e,r)};return o.exists=hi(o.parent,o.name),o}$(xc,"getPathInfo");function x(e,t,r,n){return oe(this,"ssfi",r||x),oe(this,"lockSsfi",n),oe(this,"object",e),oe(this,"message",t),oe(this,"eql",nt.deepEqual||Nv),kn(this)}$(x,"Assertion");Object.defineProperty(x,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),nt.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),nt.includeStack=e}});Object.defineProperty(x,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),nt.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),nt.showDiff=e}});x.addProperty=function(e,t){Mc(this.prototype,e,t)};x.addMethod=function(e,t){Nc(this.prototype,e,t)};x.addChainableMethod=function(e,t,r){Dc(this.prototype,e,t,r)};x.overwriteProperty=function(e,t){jc(this.prototype,e,t)};x.overwriteMethod=function(e,t){Ic(this.prototype,e,t)};x.overwriteChainableMethod=function(e,t,r){Fc(this.prototype,e,t,r)};x.prototype.assert=function(e,t,r,n,o,a){var i=Sc(this,arguments);if(a!==!1&&(a=!0),n===void 0&&o===void 0&&(a=!1),nt.showDiff!==!0&&(a=!1),!i){t=Tc(this,arguments);var s=mi(this,arguments),l={actual:s,expected:n,showDiff:a},c=kc(this,arguments);throw c&&(l.operator=c),new me(t,l,nt.includeStack?this.assert:oe(this,"ssfi"))}};Object.defineProperty(x.prototype,"_obj",{get:function(){return oe(this,"object")},set:function(e){oe(this,"object",e)}});function Fo(){return nt.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}$(Fo,"isProxyEnabled");function Mc(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:$(function n(){!Fo()&&!oe(this,"lockSsfi")&&oe(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var a=new x;return Tt(this,a),a},"propertyGetter"),configurable:!0})}$(Mc,"addProperty");var kD=Object.getOwnPropertyDescriptor(function(){},"length");function Lo(e,t,r){return kD.configurable&&Object.defineProperty(e,"length",{get: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+'".')}}),e}$(Lo,"addLengthGuard");function kv(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}$(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}$(kv,"getProperties");var $y=["__flags","__methods","_obj","assert"];function kn(e,t){return Fo()?new Proxy(e,{get:$(function r(n,o){if(typeof o=="string"&&nt.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 a=null,i=4;throw kv(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&$y.indexOf(s)===-1){var l=$v(o,s,i);l<i&&(a=s,i=l)}}),Error(a!==null?"Invalid Chai property: "+o+'. Did you mean "'+a+'"?':"Invalid Chai property: "+o)}return $y.indexOf(o)===-1&&!oe(n,"lockSsfi")&&oe(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}$(kn,"proxify");function $v(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(let a=0;a<t.length;a++)n[0][a]=a;for(let a=1;a<=e.length;a++){var o=e.charCodeAt(a-1);for(let i=1;i<=t.length;i++){if(Math.abs(a-i)>=r){n[a][i]=r;continue}n[a][i]=Math.min(n[a-1][i]+1,n[a][i-1]+1,n[a-1][i-1]+(o===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}$($v,"stringDistanceCapped");function Nc(e,t,r){var n=$(function(){oe(this,"lockSsfi")||oe(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var a=new x;return Tt(this,a),a},"methodWrapper");Lo(n,t,!1),e[t]=kn(n,t)}$(Nc,"addMethod");function jc(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=$(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:$(function a(){!Fo()&&!oe(this,"lockSsfi")&&oe(this,"ssfi",a);var i=oe(this,"lockSsfi");oe(this,"lockSsfi",!0);var s=r(o).call(this);if(oe(this,"lockSsfi",i),s!==void 0)return s;var l=new x;return Tt(this,l),l},"overwritingPropertyGetter"),configurable:!0})}$(jc,"overwriteProperty");function Ic(e,t,r){var n=e[t],o=$(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var a=$(function(){oe(this,"lockSsfi")||oe(this,"ssfi",a);var i=oe(this,"lockSsfi");oe(this,"lockSsfi",!0);var s=r(o).apply(this,arguments);if(oe(this,"lockSsfi",i),s!==void 0)return s;var l=new x;return Tt(this,l),l},"overwritingMethodWrapper");Lo(a,t,!1),e[t]=kn(a,t)}$(Ic,"overwriteMethod");var $D=typeof Object.setPrototypeOf=="function",Uy=$(function(){},"testFn"),UD=Object.getOwnPropertyNames(Uy).filter(function(e){var t=Object.getOwnPropertyDescriptor(Uy,e);return typeof t!="object"?!0:!t.configurable}),HD=Function.prototype.call,VD=Function.prototype.apply;function Dc(e,t,r,n){typeof n!="function"&&(n=$(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:$(function(){o.chainingBehavior.call(this);var a=$(function(){oe(this,"lockSsfi")||oe(this,"ssfi",a);var l=o.method.apply(this,arguments);if(l!==void 0)return l;var c=new x;return Tt(this,c),c},"chainableMethodWrapper");if(Lo(a,t,!0),$D){var i=Object.create(this);i.call=HD,i.apply=VD,Object.setPrototypeOf(a,i)}else{var s=Object.getOwnPropertyNames(e);s.forEach(function(l){if(UD.indexOf(l)===-1){var c=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,c)}})}return Tt(this,a),kn(a)},"chainableMethodGetter"),configurable:!0})}$(Dc,"addChainableMethod");function Fc(e,t,r,n){var o=e.__methods[t],a=o.chainingBehavior;o.chainingBehavior=$(function(){var s=n(a).call(this);if(s!==void 0)return s;var l=new x;return Tt(this,l),l},"overwritingChainableMethodGetter");var i=o.method;o.method=$(function(){var s=r(i).apply(this,arguments);if(s!==void 0)return s;var l=new x;return Tt(this,l),l},"overwritingChainableMethodWrapper")}$(Fc,"overwriteChainableMethod");function Ha(e,t){return de(e)<de(t)?-1:1}$(Ha,"compareByInspect");function Lc(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}$(Lc,"getOwnEnumerablePropertySymbols");function Bc(e){return Object.keys(e).concat(Lc(e))}$(Bc,"getOwnEnumerableProperties");var Va=Number.isNaN;function Uv(e){var t=_e(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}$(Uv,"isObjectType");function kc(e,t){var r=oe(e,"operator"),n=oe(e,"negate"),o=t[3],a=n?t[2]:t[1];if(r)return r;if(typeof a=="function"&&(a=a()),a=a||"",!!a&&!/\shave\s/.test(a)){var i=Uv(o);return/\snot\s/.test(a)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}}$(kc,"getOperator");function yi(e){return e.name}$(yi,"getName");function Ga(e){return Object.prototype.toString.call(e)==="[object RegExp]"}$(Ga,"isRegExp");function Ue(e){return["Number","BigInt"].includes(_e(e))}$(Ue,"isNumeric");var{flag:I}=Mt;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){x.addProperty(e)});x.addProperty("not",function(){I(this,"negate",!0)});x.addProperty("deep",function(){I(this,"deep",!0)});x.addProperty("nested",function(){I(this,"nested",!0)});x.addProperty("own",function(){I(this,"own",!0)});x.addProperty("ordered",function(){I(this,"ordered",!0)});x.addProperty("any",function(){I(this,"any",!0),I(this,"all",!1)});x.addProperty("all",function(){I(this,"all",!0),I(this,"any",!1)});var Hy={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function $c(e,t){t&&I(this,"message",t),e=e.toLowerCase();var r=I(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=_e(r).toLowerCase();Hy.function.includes(e)?this.assert(Hy[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)}$($c,"an");x.addChainableMethod("an",$c);x.addChainableMethod("a",$c);function Hv(e,t){return Va(e)&&Va(t)||e===t}$(Hv,"SameValueZero");function Bo(){I(this,"contains",!0)}$(Bo,"includeChainingBehavior");function ko(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=_e(r).toLowerCase(),o=I(this,"message"),a=I(this,"negate"),i=I(this,"ssfi"),s=I(this,"deep"),l=s?"deep ":"",c=s?I(this,"eql"):Hv;o=o?o+": ":"";var u=!1;switch(n){case"string":u=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new me(o+"unable to use .deep.include with WeakSet",void 0,i);u=r.has(e);break;case"map":r.forEach(function(h){u=u||c(h,e)});break;case"set":s?r.forEach(function(h){u=u||c(h,e)}):u=r.has(e);break;case"array":s?u=r.some(function(h){return c(h,e)}):u=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new me(o+"the given combination of arguments ("+n+" and "+_e(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 "+_e(e).toLowerCase(),void 0,i);var d=Object.keys(e),m=null,p=0;if(d.forEach(function(h){var g=new x(r);if(Tt(this,g,!0),I(g,"lockSsfi",!0),!a||d.length===1){g.property(h,e[h]);return}try{g.property(h,e[h])}catch(y){if(!ut.compatibleConstructor(y,me))throw y;m===null&&(m=y),p++}},this),a&&d.length>1&&p===d.length)throw m;return}this.assert(u,"expected #{this} to "+l+"include "+de(e),"expected #{this} to not "+l+"include "+de(e))}$(ko,"include");x.addChainableMethod("include",ko,Bo);x.addChainableMethod("contain",ko,Bo);x.addChainableMethod("contains",ko,Bo);x.addChainableMethod("includes",ko,Bo);x.addProperty("ok",function(){this.assert(I(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});x.addProperty("true",function(){this.assert(I(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!I(this,"negate"))});x.addProperty("numeric",function(){let e=I(this,"object");this.assert(["Number","BigInt"].includes(_e(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!I(this,"negate"))});x.addProperty("callable",function(){let e=I(this,"object"),t=I(this,"ssfi"),r=I(this,"message"),n=r?`${r}: `:"",o=I(this,"negate"),a=o?`${n}expected ${de(e)} not to be a callable function`:`${n}expected ${de(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(_e(e));if(i&&o||!i&&!o)throw new me(a,void 0,t)});x.addProperty("false",function(){this.assert(I(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!I(this,"negate"))});x.addProperty("null",function(){this.assert(I(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});x.addProperty("undefined",function(){this.assert(I(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});x.addProperty("NaN",function(){this.assert(Va(I(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Uc(){var e=I(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}$(Uc,"assertExist");x.addProperty("exist",Uc);x.addProperty("exists",Uc);x.addProperty("empty",function(){var e=I(this,"object"),t=I(this,"ssfi"),r=I(this,"message"),n;switch(r=r?r+": ":"",_e(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new me(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+yi(e);throw new me(o.trim(),void 0,t);default:if(e!==Object(e))throw new me(r+".empty was passed non-string primitive "+de(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 Hc(){var e=I(this,"object"),t=_e(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}$(Hc,"checkArguments");x.addProperty("arguments",Hc);x.addProperty("Arguments",Hc);function bi(e,t){t&&I(this,"message",t);var r=I(this,"object");if(I(this,"deep")){var n=I(this,"lockSsfi");I(this,"lockSsfi",!0),this.eql(e),I(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}$(bi,"assertEqual");x.addMethod("equal",bi);x.addMethod("equals",bi);x.addMethod("eq",bi);function Vc(e,t){t&&I(this,"message",t);var r=I(this,"eql");this.assert(r(e,I(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}$(Vc,"assertEql");x.addMethod("eql",Vc);x.addMethod("eqls",Vc);function gi(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"doLength"),o=I(this,"message"),a=o?o+": ":"",i=I(this,"ssfi"),s=_e(r).toLowerCase(),l=_e(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new x(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")throw new me(a+"the argument to above must be a date",void 0,i);if(!Ue(e)&&(n||Ue(r)))throw new me(a+"the argument to above must be a number",void 0,i);if(!n&&s!=="date"&&!Ue(r)){var c=s==="string"?"'"+r+"'":r;throw new me(a+"expected "+c+" to be a number or a date",void 0,i)}if(n){var u="length",d;s==="map"||s==="set"?(u="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}$(gi,"assertAbove");x.addMethod("above",gi);x.addMethod("gt",gi);x.addMethod("greaterThan",gi);function vi(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"doLength"),o=I(this,"message"),a=o?o+": ":"",i=I(this,"ssfi"),s=_e(r).toLowerCase(),l=_e(e).toLowerCase(),c,u=!0;if(n&&s!=="map"&&s!=="set"&&new x(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")c=a+"the argument to least must be a date";else if(!Ue(e)&&(n||Ue(r)))c=a+"the argument to least must be a number";else if(!n&&s!=="date"&&!Ue(r)){var d=s==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new me(c,void 0,i);if(n){var m="length",p;s==="map"||s==="set"?(m="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+m+" at least #{exp} but got #{act}","expected #{this} to have a "+m+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}$(vi,"assertLeast");x.addMethod("least",vi);x.addMethod("gte",vi);x.addMethod("greaterThanOrEqual",vi);function Ei(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"doLength"),o=I(this,"message"),a=o?o+": ":"",i=I(this,"ssfi"),s=_e(r).toLowerCase(),l=_e(e).toLowerCase(),c,u=!0;if(n&&s!=="map"&&s!=="set"&&new x(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")c=a+"the argument to below must be a date";else if(!Ue(e)&&(n||Ue(r)))c=a+"the argument to below must be a number";else if(!n&&s!=="date"&&!Ue(r)){var d=s==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new me(c,void 0,i);if(n){var m="length",p;s==="map"||s==="set"?(m="size",p=r.size):p=r.length,this.assert(p<e,"expected #{this} to have a "+m+" below #{exp} but got #{act}","expected #{this} to not have a "+m+" below #{exp}",e,p)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}$(Ei,"assertBelow");x.addMethod("below",Ei);x.addMethod("lt",Ei);x.addMethod("lessThan",Ei);function _i(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"doLength"),o=I(this,"message"),a=o?o+": ":"",i=I(this,"ssfi"),s=_e(r).toLowerCase(),l=_e(e).toLowerCase(),c,u=!0;if(n&&s!=="map"&&s!=="set"&&new x(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")c=a+"the argument to most must be a date";else if(!Ue(e)&&(n||Ue(r)))c=a+"the argument to most must be a number";else if(!n&&s!=="date"&&!Ue(r)){var d=s==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new me(c,void 0,i);if(n){var m="length",p;s==="map"||s==="set"?(m="size",p=r.size):p=r.length,this.assert(p<=e,"expected #{this} to have a "+m+" at most #{exp} but got #{act}","expected #{this} to have a "+m+" above #{exp}",e,p)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}$(_i,"assertMost");x.addMethod("most",_i);x.addMethod("lte",_i);x.addMethod("lessThanOrEqual",_i);x.addMethod("within",function(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"doLength"),a=I(this,"message"),i=a?a+": ":"",s=I(this,"ssfi"),l=_e(n).toLowerCase(),c=_e(e).toLowerCase(),u=_e(t).toLowerCase(),d,m=!0,p=c==="date"&&u==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&l!=="map"&&l!=="set"&&new x(n,a,s,!0).to.have.property("length"),!o&&l==="date"&&(c!=="date"||u!=="date"))d=i+"the arguments to within must be dates";else if((!Ue(e)||!Ue(t))&&(o||Ue(n)))d=i+"the arguments to within must be numbers";else if(!o&&l!=="date"&&!Ue(n)){var h=l==="string"?"'"+n+"'":n;d=i+"expected "+h+" to be a number or a date"}else m=!1;if(m)throw new me(d,void 0,s);if(o){var g="length",y;l==="map"||l==="set"?(g="size",y=n.size):y=n.length,this.assert(y>=e&&y<=t,"expected #{this} to have a "+g+" within "+p,"expected #{this} to not have a "+g+" within "+p)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+p,"expected #{this} to not be within "+p)});function Gc(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"ssfi"),o=I(this,"message");try{var a=r instanceof e}catch(s){throw s instanceof TypeError?(o=o?o+": ":"",new me(o+"The instanceof assertion needs a constructor but "+_e(e)+" was given.",void 0,n)):s}var i=yi(e);i==null&&(i="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}$(Gc,"assertInstanceOf");x.addMethod("instanceof",Gc);x.addMethod("instanceOf",Gc);function zc(e,t,r){r&&I(this,"message",r);var n=I(this,"nested"),o=I(this,"own"),a=I(this,"message"),i=I(this,"object"),s=I(this,"ssfi"),l=typeof e;if(a=a?a+": ":"",n){if(l!=="string")throw new me(a+"the argument to property must be a string when using nested syntax",void 0,s)}else if(l!=="string"&&l!=="number"&&l!=="symbol")throw new me(a+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&o)throw new me(a+'The "nested" and "own" flags cannot be combined.',void 0,s);if(i==null)throw new me(a+"Target cannot be null or undefined.",void 0,s);var c=I(this,"deep"),u=I(this,"negate"),d=n?xc(i,e):null,m=n?d.value:i[e],p=c?I(this,"eql"):(y,b)=>y===b,h="";c&&(h+="deep "),o&&(h+="own "),n&&(h+="nested "),h+="property ";var g;o?g=Object.prototype.hasOwnProperty.call(i,e):n?g=d.exists:g=hi(i,e),(!u||arguments.length===1)&&this.assert(g,"expected #{this} to have "+h+de(e),"expected #{this} to not have "+h+de(e)),arguments.length>1&&this.assert(g&&p(t,m),"expected #{this} to have "+h+de(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+h+de(e)+" of #{act}",t,m),I(this,"object",m)}$(zc,"assertProperty");x.addMethod("property",zc);function Yc(e,t,r){I(this,"own",!0),zc.apply(this,arguments)}$(Yc,"assertOwnProperty");x.addMethod("ownProperty",Yc);x.addMethod("haveOwnProperty",Yc);function Wc(e,t,r){typeof t=="string"&&(r=t,t=null),r&&I(this,"message",r);var n=I(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),a=I(this,"eql");o&&t?this.assert(a(t,o),"expected the own property descriptor for "+de(e)+" on #{this} to match "+de(t)+", got "+de(o),"expected the own property descriptor for "+de(e)+" on #{this} to not match "+de(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+de(e),"expected #{this} to not have an own property descriptor for "+de(e)),I(this,"object",o)}$(Wc,"assertOwnPropertyDescriptor");x.addMethod("ownPropertyDescriptor",Wc);x.addMethod("haveOwnPropertyDescriptor",Wc);function Kc(){I(this,"doLength",!0)}$(Kc,"assertLengthChain");function Xc(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=_e(r).toLowerCase(),o=I(this,"message"),a=I(this,"ssfi"),i="length",s;switch(n){case"map":case"set":i="size",s=r.size;break;default:new x(r,o,a,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,s)}$(Xc,"assertLength");x.addChainableMethod("length",Xc,Kc);x.addChainableMethod("lengthOf",Xc,Kc);function Jc(e,t){t&&I(this,"message",t);var r=I(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}$(Jc,"assertMatch");x.addMethod("match",Jc);x.addMethod("matches",Jc);x.addMethod("string",function(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"message"),o=I(this,"ssfi");new x(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+de(e),"expected #{this} to not contain "+de(e))});function Qc(e){var t=I(this,"object"),r=_e(t),n=_e(e),o=I(this,"ssfi"),a=I(this,"deep"),i,s="",l,c=!0,u=I(this,"message");u=u?u+": ":"";var d=u+"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")s=a?"deeply ":"",l=[],t.forEach(function(v,C){l.push(C)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(l=Bc(t),n){case"Array":if(arguments.length>1)throw new me(d,void 0,o);break;case"Object":if(arguments.length>1)throw new me(d,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 me(u+"keys required",void 0,o);var m=e.length,p=I(this,"any"),h=I(this,"all"),g=e,y=a?I(this,"eql"):(v,C)=>v===C;if(!p&&!h&&(h=!0),p&&(c=g.some(function(v){return l.some(function(C){return y(v,C)})})),h&&(c=g.every(function(v){return l.some(function(C){return y(v,C)})}),I(this,"contains")||(c=c&&e.length==l.length)),m>1){e=e.map(function(v){return de(v)});var b=e.pop();h&&(i=e.join(", ")+", and "+b),p&&(i=e.join(", ")+", or "+b)}else i=de(e[0]);i=(m>1?"keys ":"key ")+i,i=(I(this,"contains")?"contain ":"have ")+i,this.assert(c,"expected #{this} to "+s+i,"expected #{this} to not "+s+i,g.slice(0).sort(Ha),l.sort(Ha),!0)}$(Qc,"assertKeys");x.addMethod("keys",Qc);x.addMethod("key",Qc);function Ri(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"ssfi"),a=I(this,"message"),i=I(this,"negate")||!1;new x(n,a,o,!0).is.a("function"),(Ga(e)||typeof e=="string")&&(t=e,e=null);let s,l=!1;try{n()}catch(v){l=!0,s=v}var c=e===void 0&&t===void 0,u=!!(e&&t),d=!1,m=!1;if(c||!c&&!i){var p="an error";e instanceof Error?p="#{exp}":e&&(p=ut.getConstructorName(e));let v=s;if(s instanceof Error)v=s.toString();else if(typeof s=="string")v=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{v=ut.getConstructorName(s)}catch{}this.assert(l,"expected #{this} to throw "+p,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&s){if(e instanceof Error){var h=ut.compatibleInstance(s,e);h===i&&(u&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!i?" but #{act} was thrown":""),e.toString(),s.toString()))}var g=ut.compatibleConstructor(s,e);g===i&&(u&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ut.getConstructorName(e),s instanceof Error?s.toString():s&&ut.getConstructorName(s)))}if(s&&t!==void 0&&t!==null){var y="including";Ga(t)&&(y="matching");var b=ut.compatibleMessage(s,t);b===i&&(u&&i?m=!0:this.assert(i,"expected #{this} to throw error "+y+" #{exp} but got #{act}","expected #{this} to throw error not "+y+" #{exp}",t,ut.getMessage(s)))}d&&m&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ut.getConstructorName(e),s instanceof Error?s.toString():s&&ut.getConstructorName(s)),I(this,"object",s)}$(Ri,"assertThrows");x.addMethod("throw",Ri);x.addMethod("throws",Ri);x.addMethod("Throw",Ri);function Zc(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+de(e),"expected #{this} to not respond to "+de(e))}$(Zc,"respondTo");x.addMethod("respondTo",Zc);x.addMethod("respondsTo",Zc);x.addProperty("itself",function(){I(this,"itself",!0)});function ed(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Br(e),"expected #{this} to not satisfy"+Br(e),!I(this,"negate"),n)}$(ed,"satisfy");x.addMethod("satisfy",ed);x.addMethod("satisfies",ed);function td(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"message"),a=I(this,"ssfi");new x(n,o,a,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new me(o?`${o}: ${i}`:i,void 0,a);if(new x(t,o,a,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new me(o?`${o}: ${i}`:i,void 0,a);new x(e,o,a,!0).is.numeric;let s=$(c=>c<0n?-c:c,"abs"),l=$(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(l(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}$(td,"closeTo");x.addMethod("closeTo",td);x.addMethod("approximately",td);function Vv(e,t,r,n,o){let a=Array.from(t),i=Array.from(e);if(!n){if(i.length!==a.length)return!1;a=a.slice()}return i.every(function(s,l){if(o)return r?r(s,a[l]):s===a[l];if(!r){var c=a.indexOf(s);return c===-1?!1:(n||a.splice(c,1),!0)}return a.some(function(u,d){return r(s,u)?(n||a.splice(d,1),!0):!1})})}$(Vv,"isSubsetOf");x.addMethod("members",function(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"message"),o=I(this,"ssfi");new x(r,n,o,!0).to.be.iterable,new x(e,n,o,!0).to.be.iterable;var a=I(this,"contains"),i=I(this,"ordered"),s,l,c;a?(s=i?"an ordered superset":"a superset",l="expected #{this} to be "+s+" of #{exp}",c="expected #{this} to not be "+s+" of #{exp}"):(s=i?"ordered members":"members",l="expected #{this} to have the same "+s+" as #{exp}",c="expected #{this} to not have the same "+s+" as #{exp}");var u=I(this,"deep")?I(this,"eql"):void 0;this.assert(Vv(e,r,u,a,i),l,c,e,r,!0)});x.addProperty("iterable",function(e){e&&I(this,"message",e);var t=I(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function Gv(e,t){t&&I(this,"message",t);var r=I(this,"object"),n=I(this,"message"),o=I(this,"ssfi"),a=I(this,"contains"),i=I(this,"deep"),s=I(this,"eql");new x(e,n,o,!0).to.be.an("array"),a?this.assert(e.some(function(l){return r.indexOf(l)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(l){return s(r,l)}),"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)}$(Gv,"oneOf");x.addMethod("oneOf",Gv);function rd(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"message"),a=I(this,"ssfi");new x(n,o,a,!0).is.a("function");var i;t?(new x(e,o,a,!0).to.have.property(t),i=e[t]):(new x(e,o,a,!0).is.a("function"),i=e()),n();var s=t==null?e():e[t],l=t==null?i:"."+t;I(this,"deltaMsgObj",l),I(this,"initialDeltaValue",i),I(this,"finalDeltaValue",s),I(this,"deltaBehavior","change"),I(this,"realDelta",s!==i),this.assert(i!==s,"expected "+l+" to change","expected "+l+" to not change")}$(rd,"assertChanges");x.addMethod("change",rd);x.addMethod("changes",rd);function nd(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"message"),a=I(this,"ssfi");new x(n,o,a,!0).is.a("function");var i;t?(new x(e,o,a,!0).to.have.property(t),i=e[t]):(new x(e,o,a,!0).is.a("function"),i=e()),new x(i,o,a,!0).is.a("number"),n();var s=t==null?e():e[t],l=t==null?i:"."+t;I(this,"deltaMsgObj",l),I(this,"initialDeltaValue",i),I(this,"finalDeltaValue",s),I(this,"deltaBehavior","increase"),I(this,"realDelta",s-i),this.assert(s-i>0,"expected "+l+" to increase","expected "+l+" to not increase")}$(nd,"assertIncreases");x.addMethod("increase",nd);x.addMethod("increases",nd);function od(e,t,r){r&&I(this,"message",r);var n=I(this,"object"),o=I(this,"message"),a=I(this,"ssfi");new x(n,o,a,!0).is.a("function");var i;t?(new x(e,o,a,!0).to.have.property(t),i=e[t]):(new x(e,o,a,!0).is.a("function"),i=e()),new x(i,o,a,!0).is.a("number"),n();var s=t==null?e():e[t],l=t==null?i:"."+t;I(this,"deltaMsgObj",l),I(this,"initialDeltaValue",i),I(this,"finalDeltaValue",s),I(this,"deltaBehavior","decrease"),I(this,"realDelta",i-s),this.assert(s-i<0,"expected "+l+" to decrease","expected "+l+" to not decrease")}$(od,"assertDecreases");x.addMethod("decrease",od);x.addMethod("decreases",od);function zv(e,t){t&&I(this,"message",t);var r=I(this,"deltaMsgObj"),n=I(this,"initialDeltaValue"),o=I(this,"finalDeltaValue"),a=I(this,"deltaBehavior"),i=I(this,"realDelta"),s;a==="change"?s=Math.abs(o-n)===Math.abs(e):s=i===Math.abs(e),this.assert(s,"expected "+r+" to "+a+" by "+e,"expected "+r+" to not "+a+" by "+e)}$(zv,"assertDelta");x.addMethod("by",zv);x.addProperty("extensible",function(){var e=I(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});x.addProperty("sealed",function(){var e=I(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});x.addProperty("frozen",function(){var e=I(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});x.addProperty("finite",function(e){var t=I(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 za(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 za(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?za(n,o):typeof n=="function"?n(o):o===n}):!1}$(za,"compareSubset");x.addMethod("containSubset",function(e){let t=oe(this,"object"),r=nt.showDiff;this.assert(za(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function kr(e,t){return new x(e,t)}$(kr,"expect");kr.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new me(r,{actual:e,expected:t,operator:n},kr.fail)};var Yv={};Cc(Yv,{Should:()=>zD,should:()=>GD});function ad(){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 x(this.valueOf(),null,e):new x(this,null,e)}$(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}$(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,o,a,i){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new me(a,{actual:n,expected:o,operator:i},r.fail)},r.equal=function(n,o,a){new x(n,a).to.equal(o)},r.Throw=function(n,o,a,i){new x(n,i).to.Throw(o,a)},r.exist=function(n,o){new x(n,o).to.exist},r.not={},r.not.equal=function(n,o,a){new x(n,a).to.not.equal(o)},r.not.Throw=function(n,o,a,i){new x(n,i).to.not.Throw(o,a)},r.not.exist=function(n,o){new x(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}$(ad,"loadShould");var GD=ad,zD=ad;function q(e,t){var r=new x(null,null,q,!0);r.assert(e,t,"[ negation message unavailable ]")}$(q,"assert");q.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new me(r,{actual:e,expected:t,operator:n},q.fail)};q.isOk=function(e,t){new x(e,t,q.isOk,!0).is.ok};q.isNotOk=function(e,t){new x(e,t,q.isNotOk,!0).is.not.ok};q.equal=function(e,t,r){var n=new x(e,r,q.equal,!0);n.assert(t==oe(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};q.notEqual=function(e,t,r){var n=new x(e,r,q.notEqual,!0);n.assert(t!=oe(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};q.strictEqual=function(e,t,r){new x(e,r,q.strictEqual,!0).to.equal(t)};q.notStrictEqual=function(e,t,r){new x(e,r,q.notStrictEqual,!0).to.not.equal(t)};q.deepEqual=q.deepStrictEqual=function(e,t,r){new x(e,r,q.deepEqual,!0).to.eql(t)};q.notDeepEqual=function(e,t,r){new x(e,r,q.notDeepEqual,!0).to.not.eql(t)};q.isAbove=function(e,t,r){new x(e,r,q.isAbove,!0).to.be.above(t)};q.isAtLeast=function(e,t,r){new x(e,r,q.isAtLeast,!0).to.be.least(t)};q.isBelow=function(e,t,r){new x(e,r,q.isBelow,!0).to.be.below(t)};q.isAtMost=function(e,t,r){new x(e,r,q.isAtMost,!0).to.be.most(t)};q.isTrue=function(e,t){new x(e,t,q.isTrue,!0).is.true};q.isNotTrue=function(e,t){new x(e,t,q.isNotTrue,!0).to.not.equal(!0)};q.isFalse=function(e,t){new x(e,t,q.isFalse,!0).is.false};q.isNotFalse=function(e,t){new x(e,t,q.isNotFalse,!0).to.not.equal(!1)};q.isNull=function(e,t){new x(e,t,q.isNull,!0).to.equal(null)};q.isNotNull=function(e,t){new x(e,t,q.isNotNull,!0).to.not.equal(null)};q.isNaN=function(e,t){new x(e,t,q.isNaN,!0).to.be.NaN};q.isNotNaN=function(e,t){new x(e,t,q.isNotNaN,!0).not.to.be.NaN};q.exists=function(e,t){new x(e,t,q.exists,!0).to.exist};q.notExists=function(e,t){new x(e,t,q.notExists,!0).to.not.exist};q.isUndefined=function(e,t){new x(e,t,q.isUndefined,!0).to.equal(void 0)};q.isDefined=function(e,t){new x(e,t,q.isDefined,!0).to.not.equal(void 0)};q.isCallable=function(e,t){new x(e,t,q.isCallable,!0).is.callable};q.isNotCallable=function(e,t){new x(e,t,q.isNotCallable,!0).is.not.callable};q.isObject=function(e,t){new x(e,t,q.isObject,!0).to.be.a("object")};q.isNotObject=function(e,t){new x(e,t,q.isNotObject,!0).to.not.be.a("object")};q.isArray=function(e,t){new x(e,t,q.isArray,!0).to.be.an("array")};q.isNotArray=function(e,t){new x(e,t,q.isNotArray,!0).to.not.be.an("array")};q.isString=function(e,t){new x(e,t,q.isString,!0).to.be.a("string")};q.isNotString=function(e,t){new x(e,t,q.isNotString,!0).to.not.be.a("string")};q.isNumber=function(e,t){new x(e,t,q.isNumber,!0).to.be.a("number")};q.isNotNumber=function(e,t){new x(e,t,q.isNotNumber,!0).to.not.be.a("number")};q.isNumeric=function(e,t){new x(e,t,q.isNumeric,!0).is.numeric};q.isNotNumeric=function(e,t){new x(e,t,q.isNotNumeric,!0).is.not.numeric};q.isFinite=function(e,t){new x(e,t,q.isFinite,!0).to.be.finite};q.isBoolean=function(e,t){new x(e,t,q.isBoolean,!0).to.be.a("boolean")};q.isNotBoolean=function(e,t){new x(e,t,q.isNotBoolean,!0).to.not.be.a("boolean")};q.typeOf=function(e,t,r){new x(e,r,q.typeOf,!0).to.be.a(t)};q.notTypeOf=function(e,t,r){new x(e,r,q.notTypeOf,!0).to.not.be.a(t)};q.instanceOf=function(e,t,r){new x(e,r,q.instanceOf,!0).to.be.instanceOf(t)};q.notInstanceOf=function(e,t,r){new x(e,r,q.notInstanceOf,!0).to.not.be.instanceOf(t)};q.include=function(e,t,r){new x(e,r,q.include,!0).include(t)};q.notInclude=function(e,t,r){new x(e,r,q.notInclude,!0).not.include(t)};q.deepInclude=function(e,t,r){new x(e,r,q.deepInclude,!0).deep.include(t)};q.notDeepInclude=function(e,t,r){new x(e,r,q.notDeepInclude,!0).not.deep.include(t)};q.nestedInclude=function(e,t,r){new x(e,r,q.nestedInclude,!0).nested.include(t)};q.notNestedInclude=function(e,t,r){new x(e,r,q.notNestedInclude,!0).not.nested.include(t)};q.deepNestedInclude=function(e,t,r){new x(e,r,q.deepNestedInclude,!0).deep.nested.include(t)};q.notDeepNestedInclude=function(e,t,r){new x(e,r,q.notDeepNestedInclude,!0).not.deep.nested.include(t)};q.ownInclude=function(e,t,r){new x(e,r,q.ownInclude,!0).own.include(t)};q.notOwnInclude=function(e,t,r){new x(e,r,q.notOwnInclude,!0).not.own.include(t)};q.deepOwnInclude=function(e,t,r){new x(e,r,q.deepOwnInclude,!0).deep.own.include(t)};q.notDeepOwnInclude=function(e,t,r){new x(e,r,q.notDeepOwnInclude,!0).not.deep.own.include(t)};q.match=function(e,t,r){new x(e,r,q.match,!0).to.match(t)};q.notMatch=function(e,t,r){new x(e,r,q.notMatch,!0).to.not.match(t)};q.property=function(e,t,r){new x(e,r,q.property,!0).to.have.property(t)};q.notProperty=function(e,t,r){new x(e,r,q.notProperty,!0).to.not.have.property(t)};q.propertyVal=function(e,t,r,n){new x(e,n,q.propertyVal,!0).to.have.property(t,r)};q.notPropertyVal=function(e,t,r,n){new x(e,n,q.notPropertyVal,!0).to.not.have.property(t,r)};q.deepPropertyVal=function(e,t,r,n){new x(e,n,q.deepPropertyVal,!0).to.have.deep.property(t,r)};q.notDeepPropertyVal=function(e,t,r,n){new x(e,n,q.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};q.ownProperty=function(e,t,r){new x(e,r,q.ownProperty,!0).to.have.own.property(t)};q.notOwnProperty=function(e,t,r){new x(e,r,q.notOwnProperty,!0).to.not.have.own.property(t)};q.ownPropertyVal=function(e,t,r,n){new x(e,n,q.ownPropertyVal,!0).to.have.own.property(t,r)};q.notOwnPropertyVal=function(e,t,r,n){new x(e,n,q.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};q.deepOwnPropertyVal=function(e,t,r,n){new x(e,n,q.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};q.notDeepOwnPropertyVal=function(e,t,r,n){new x(e,n,q.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};q.nestedProperty=function(e,t,r){new x(e,r,q.nestedProperty,!0).to.have.nested.property(t)};q.notNestedProperty=function(e,t,r){new x(e,r,q.notNestedProperty,!0).to.not.have.nested.property(t)};q.nestedPropertyVal=function(e,t,r,n){new x(e,n,q.nestedPropertyVal,!0).to.have.nested.property(t,r)};q.notNestedPropertyVal=function(e,t,r,n){new x(e,n,q.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};q.deepNestedPropertyVal=function(e,t,r,n){new x(e,n,q.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};q.notDeepNestedPropertyVal=function(e,t,r,n){new x(e,n,q.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};q.lengthOf=function(e,t,r){new x(e,r,q.lengthOf,!0).to.have.lengthOf(t)};q.hasAnyKeys=function(e,t,r){new x(e,r,q.hasAnyKeys,!0).to.have.any.keys(t)};q.hasAllKeys=function(e,t,r){new x(e,r,q.hasAllKeys,!0).to.have.all.keys(t)};q.containsAllKeys=function(e,t,r){new x(e,r,q.containsAllKeys,!0).to.contain.all.keys(t)};q.doesNotHaveAnyKeys=function(e,t,r){new x(e,r,q.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};q.doesNotHaveAllKeys=function(e,t,r){new x(e,r,q.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};q.hasAnyDeepKeys=function(e,t,r){new x(e,r,q.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};q.hasAllDeepKeys=function(e,t,r){new x(e,r,q.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};q.containsAllDeepKeys=function(e,t,r){new x(e,r,q.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};q.doesNotHaveAnyDeepKeys=function(e,t,r){new x(e,r,q.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};q.doesNotHaveAllDeepKeys=function(e,t,r){new x(e,r,q.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};q.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new x(e,n,q.throws,!0).to.throw(t,r);return oe(o,"object")};q.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new x(e,n,q.doesNotThrow,!0).to.not.throw(t,r)};q.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 me(n+'Invalid operator "'+t+'"',void 0,q.operator)}var a=new x(o,n,q.operator,!0);a.assert(oe(a,"object")===!0,"expected "+de(e)+" to be "+t+" "+de(r),"expected "+de(e)+" to not be "+t+" "+de(r))};q.closeTo=function(e,t,r,n){new x(e,n,q.closeTo,!0).to.be.closeTo(t,r)};q.approximately=function(e,t,r,n){new x(e,n,q.approximately,!0).to.be.approximately(t,r)};q.sameMembers=function(e,t,r){new x(e,r,q.sameMembers,!0).to.have.same.members(t)};q.notSameMembers=function(e,t,r){new x(e,r,q.notSameMembers,!0).to.not.have.same.members(t)};q.sameDeepMembers=function(e,t,r){new x(e,r,q.sameDeepMembers,!0).to.have.same.deep.members(t)};q.notSameDeepMembers=function(e,t,r){new x(e,r,q.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};q.sameOrderedMembers=function(e,t,r){new x(e,r,q.sameOrderedMembers,!0).to.have.same.ordered.members(t)};q.notSameOrderedMembers=function(e,t,r){new x(e,r,q.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};q.sameDeepOrderedMembers=function(e,t,r){new x(e,r,q.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};q.notSameDeepOrderedMembers=function(e,t,r){new x(e,r,q.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};q.includeMembers=function(e,t,r){new x(e,r,q.includeMembers,!0).to.include.members(t)};q.notIncludeMembers=function(e,t,r){new x(e,r,q.notIncludeMembers,!0).to.not.include.members(t)};q.includeDeepMembers=function(e,t,r){new x(e,r,q.includeDeepMembers,!0).to.include.deep.members(t)};q.notIncludeDeepMembers=function(e,t,r){new x(e,r,q.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};q.includeOrderedMembers=function(e,t,r){new x(e,r,q.includeOrderedMembers,!0).to.include.ordered.members(t)};q.notIncludeOrderedMembers=function(e,t,r){new x(e,r,q.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};q.includeDeepOrderedMembers=function(e,t,r){new x(e,r,q.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};q.notIncludeDeepOrderedMembers=function(e,t,r){new x(e,r,q.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};q.oneOf=function(e,t,r){new x(e,r,q.oneOf,!0).to.be.oneOf(t)};q.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${de(e)} to be an iterable`:`expected ${de(e)} to be an iterable`,new me(t,void 0,q.isIterable)};q.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.changes,!0).to.change(t,r)};q.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.changesBy,!0).to.change(t,r).by(n)};q.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.doesNotChange,!0).to.not.change(t,r)};q.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.changesButNotBy,!0).to.change(t,r).but.not.by(n)};q.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.increases,!0).to.increase(t,r)};q.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.increasesBy,!0).to.increase(t,r).by(n)};q.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.doesNotIncrease,!0).to.not.increase(t,r)};q.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};q.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.decreases,!0).to.decrease(t,r)};q.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.decreasesBy,!0).to.decrease(t,r).by(n)};q.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new x(e,n,q.doesNotDecrease,!0).to.not.decrease(t,r)};q.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);return new x(e,o,q.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};q.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new x(e,o,q.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};q.ifError=function(e){if(e)throw e};q.isExtensible=function(e,t){new x(e,t,q.isExtensible,!0).to.be.extensible};q.isNotExtensible=function(e,t){new x(e,t,q.isNotExtensible,!0).to.not.be.extensible};q.isSealed=function(e,t){new x(e,t,q.isSealed,!0).to.be.sealed};q.isNotSealed=function(e,t){new x(e,t,q.isNotSealed,!0).to.not.be.sealed};q.isFrozen=function(e,t){new x(e,t,q.isFrozen,!0).to.be.frozen};q.isNotFrozen=function(e,t){new x(e,t,q.isNotFrozen,!0).to.not.be.frozen};q.isEmpty=function(e,t){new x(e,t,q.isEmpty,!0).to.be.empty};q.isNotEmpty=function(e,t){new x(e,t,q.isNotEmpty,!0).to.not.be.empty};q.containsSubset=function(e,t,r){new x(e,r).to.containSubset(t)};q.doesNotContainSubset=function(e,t,r){new x(e,r).to.not.containSubset(t)};var YD=[["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 YD)q[t]=q[e];var Vy=[];function Rn(e){let t={use:Rn,AssertionError:me,util:Mt,config:nt,expect:kr,assert:q,Assertion:x,...Yv};return~Vy.indexOf(e)||(e(t,Mt),Vy.push(e)),t}$(Rn,"use");var Wv={};bc(Wv,{toBeChecked:()=>D0,toBeDisabled:()=>P0,toBeEmpty:()=>f0,toBeEmptyDOMElement:()=>m0,toBeEnabled:()=>O0,toBeInTheDOM:()=>Iu,toBeInTheDocument:()=>p0,toBeInvalid:()=>M0,toBePartiallyChecked:()=>L0,toBeRequired:()=>q0,toBeValid:()=>N0,toBeVisible:()=>w0,toContainElement:()=>Du,toContainHTML:()=>h0,toHaveAccessibleDescription:()=>Fu,toHaveAccessibleErrorMessage:()=>b0,toHaveAccessibleName:()=>Bu,toHaveAttribute:()=>g0,toHaveClass:()=>v0,toHaveDescription:()=>B0,toHaveDisplayValue:()=>I0,toHaveErrorMessage:()=>k0,toHaveFocus:()=>E0,toHaveFormValues:()=>_0,toHaveRole:()=>Lu,toHaveStyle:()=>ku,toHaveTextContent:()=>y0,toHaveValue:()=>j0});var Gy=dt(Hg(),1);function Kv(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function id(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Xv={};Kv(Xv);id(Xv,"default",()=>Jv);var Jv=class extends Error{constructor(e,t,r,n,o){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=o}},Qv={};Kv(Qv);id(Qv,"default",()=>Zv);var Zv=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},WD={};id(WD,"CssTypes",()=>je);var je;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(je||(je={}));var tu=/\/\*[^]*?(?:\*\/|$)/g,KD=(e,t)=>{t=t||{};let r=1,n=1;function o(H){let U=H.match(/\n/g);U&&(r+=U.length);let G=H.lastIndexOf(`
|
|
306
|
+
`);n=~G?H.length-G:n+H.length}function a(){let H={line:r,column:n};return function(U){return U.position=new Zv(H,{line:r,column:n},t?.source||""),p(),U}}let i=[];function s(H){let U=new Jv(t?.source||"",H,r,n,e);if(t?.silent)i.push(U);else throw U}function l(){let H=d();return{type:je.stylesheet,stylesheet:{source:t?.source,rules:H,parsingErrors:i}}}function c(){return m(/^{\s*/)}function u(){return m(/^}/)}function d(){let H,U=[];for(p(),h(U);e.length&&e.charAt(0)!=="}"&&(H=te()||ee());)H&&(U.push(H),h(U));return U}function m(H){let U=H.exec(e);if(!U)return;let G=U[0];return o(G),e=e.slice(G.length),U}function p(){m(/^\s*/)}function h(H){let U;for(H=H||[];U=g();)U&&H.push(U);return H}function g(){let H=a();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let U=m(/^\/\*[^]*?\*\//);return U?H({type:je.comment,comment:U[0].slice(2,-2)}):s("End of comment missing")}function y(H,U,G){let K=U+1,W=!1,Z=H.indexOf(")",K);for(;!W&&Z!==-1;){let ie=H.indexOf("(",K);ie!==-1&&ie<Z?(K=y(H,ie+1)+1,Z=H.indexOf(")",K)):W=!0}return W&&Z!==-1?Z:-1}function b(){let H=m(/^([^{]+)/);if(!H)return;let U=ht(H[0]).replace(tu,"");if(U.indexOf(",")===-1)return[U];let G=0,K=U.indexOf("(",G);for(;K!==-1;){let W=y(U,K);if(W===-1)break;G=W+1,U=U.substring(0,K)+U.substring(K,W).replace(/,/g,"\u200C")+U.substring(W),K=U.indexOf("(",G)}return U=U.replace(/("|')(?:\\\1|.)*?\1/g,W=>W.replace(/,/g,"\u200C")),U.split(",").map(W=>ht(W.replace(/\u200C/g,",")))}function v(){let H=a(),U=m(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!U)return;let G=ht(U[0]);if(!m(/^:\s*/))return s("property missing ':'");let K=m(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),W=H({type:je.declaration,property:G.replace(tu,""),value:K?ht(K[0]).replace(tu,""):""});return m(/^[;\s]*/),W}function C(){let H=[];if(!c())return s("missing '{'");h(H);let U;for(;U=v();)U&&(H.push(U),h(H));return u()?H:s("missing '}'")}function S(){let H,U=[],G=a();for(;H=m(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)U.push(H[1]),m(/^,\s*/);if(U.length)return G({type:je.keyframe,values:U,declarations:C()||[]})}function A(){let H=a(),U=m(/^@([-\w]+)?keyframes\s*/);if(!U)return;let G=U[1],K=m(/^([-\w]+)\s*/);if(!K)return s("@keyframes missing name");let W=K[1];if(!c())return s("@keyframes missing '{'");let Z,ie=h();for(;Z=S();)ie.push(Z),ie=ie.concat(h());return u()?H({type:je.keyframes,name:W,vendor:G,keyframes:ie}):s("@keyframes missing '}'")}function _(){let H=a(),U=m(/^@supports *([^{]+)/);if(!U)return;let G=ht(U[1]);if(!c())return s("@supports missing '{'");let K=h().concat(d());return u()?H({type:je.supports,supports:G,rules:K}):s("@supports missing '}'")}function E(){let H=a();if(!m(/^@host\s*/))return;if(!c())return s("@host missing '{'");let U=h().concat(d());return u()?H({type:je.host,rules:U}):s("@host missing '}'")}function R(){let H=a(),U=m(/^@container *([^{]+)/);if(!U)return;let G=ht(U[1]);if(!c())return s("@container missing '{'");let K=h().concat(d());return u()?H({type:je.container,container:G,rules:K}):s("@container missing '}'")}function P(){let H=a(),U=m(/^@layer *([^{;@]+)/);if(!U)return;let G=ht(U[1]);if(!c())return m(/^[;\s]*/),H({type:je.layer,layer:G});let K=h().concat(d());return u()?H({type:je.layer,layer:G,rules:K}):s("@layer missing '}'")}function N(){let H=a(),U=m(/^@media *([^{]+)/);if(!U)return;let G=ht(U[1]);if(!c())return s("@media missing '{'");let K=h().concat(d());return u()?H({type:je.media,media:G,rules:K}):s("@media missing '}'")}function B(){let H=a(),U=m(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(U)return H({type:je.customMedia,name:ht(U[1]),media:ht(U[2])})}function j(){let H=a();if(!m(/^@page */))return;let U=b()||[];if(!c())return s("@page missing '{'");let G=h(),K;for(;K=v();)G.push(K),G=G.concat(h());return u()?H({type:je.page,selectors:U,declarations:G}):s("@page missing '}'")}function F(){let H=a(),U=m(/^@([-\w]+)?document *([^{]+)/);if(!U)return;let G=ht(U[1]),K=ht(U[2]);if(!c())return s("@document missing '{'");let W=h().concat(d());return u()?H({type:je.document,document:K,vendor:G,rules:W}):s("@document missing '}'")}function T(){let H=a();if(!m(/^@font-face\s*/))return;if(!c())return s("@font-face missing '{'");let U=h(),G;for(;G=v();)U.push(G),U=U.concat(h());return u()?H({type:je.fontFace,declarations:U}):s("@font-face missing '}'")}function M(){let H=a();if(!m(/^@starting-style\s*/))return;if(!c())return s("@starting-style missing '{'");let U=h().concat(d());return u()?H({type:je.startingStyle,rules:U}):s("@starting-style missing '}'")}let D=J("import"),Y=J("charset"),z=J("namespace");function J(H){let U=new RegExp("^@"+H+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let G=a(),K=m(U);if(!K)return;let W={type:H};return W[H]=K[1].trim(),G(W)}}function te(){if(e[0]==="@")return A()||N()||B()||_()||D()||Y()||z()||F()||j()||E()||T()||R()||M()||P()}function ee(){let H=a(),U=b();return U?(h(),H({type:je.rule,selectors:U,declarations:C()||[]})):s("selector missing")}return Nu(l())};function ht(e){return e?e.trim():""}function Nu(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let a=e[o];Array.isArray(a)?a.forEach(i=>{Nu(i,n)}):a&&typeof a=="object"&&Nu(a,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var XD=KD,JD=XD,QD=Object.prototype.toString;function zy(e){return typeof e=="function"||QD.call(e)==="[object Function]"}function ZD(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var eF=Math.pow(2,53)-1;function tF(e){var t=ZD(e);return Math.min(Math.max(t,0),eF)}function Ct(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"&&!zy(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=tF(n.length),a=zy(r)?Object(new r(o)):new Array(o),i=0,s;i<o;)s=n[i],t?a[i]=t(s,i):a[i]=s,i+=1;return a.length=o,a}function go(e){"@babel/helpers - typeof";return go=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},go(e)}function rF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yy(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,e0(n.key),n)}}function nF(e,t,r){return t&&Yy(e.prototype,t),r&&Yy(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function oF(e,t,r){return t=e0(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e0(e){var t=aF(e,"string");return go(t)==="symbol"?t:String(t)}function aF(e,t){if(go(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(go(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var iF=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];rF(this,e),oF(this,"items",void 0),this.items=t}return nF(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),sF=typeof Set>"u"?Set:iF;function Ze(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var lF={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"},uF={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 cF(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=uF[t])!==null&&n!==void 0&&n.has(r))})}function t0(e,t){return cF(e,t)}function dF(e){var t=fF(e);if(t===null||ju.indexOf(t)!==-1){var r=pF(e);if(ju.indexOf(t||"")===-1||t0(e,r||""))return r}return t}function pF(e){var t=lF[Ze(e)];if(t!==void 0)return t;switch(Ze(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!t0(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function fF(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var ju=["presentation","none"];function Ce(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function r0(e){return Ce(e)&&Ze(e)==="caption"}function Ma(e){return Ce(e)&&Ze(e)==="input"}function mF(e){return Ce(e)&&Ze(e)==="optgroup"}function hF(e){return Ce(e)&&Ze(e)==="select"}function yF(e){return Ce(e)&&Ze(e)==="table"}function bF(e){return Ce(e)&&Ze(e)==="textarea"}function gF(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function vF(e){return Ce(e)&&Ze(e)==="fieldset"}function EF(e){return Ce(e)&&Ze(e)==="legend"}function _F(e){return Ce(e)&&Ze(e)==="slot"}function RF(e){return Ce(e)&&e.ownerSVGElement!==void 0}function wF(e){return Ce(e)&&Ze(e)==="svg"}function CF(e){return RF(e)&&Ze(e)==="title"}function Ya(e,t){if(Ce(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function zt(e,t){return Ce(e)?t.indexOf(dF(e))!==-1:!1}function SF(e){return e.trim().replace(/\s\s+/g," ")}function AF(e,t){if(!Ce(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function TF(e){return zt(e,["button","combobox","listbox","textbox"])||n0(e,"range")}function n0(e,t){if(!Ce(e))return!1;switch(t){case"range":return zt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Wy(e,t){var r=Ct(e.querySelectorAll(t));return Ya(e,"aria-owns").forEach(function(n){r.push.apply(r,Ct(n.querySelectorAll(t)))}),r}function PF(e){return hF(e)?e.selectedOptions||Wy(e,"[selected]"):Wy(e,'[aria-selected="true"]')}function OF(e){return zt(e,ju)}function qF(e){return r0(e)}function xF(e){return zt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function MF(e){return!1}function NF(e){return Ma(e)||bF(e)?e.value:e.textContent||""}function Ky(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function o0(e){var t=Ze(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function a0(e){if(o0(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Ce(r)){var n=a0(r);n!==null&&(t=n)}}),t}function jF(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):a0(e)}function IF(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ct(t);if(!o0(e))return null;var r=e.ownerDocument;return Ct(r.querySelectorAll("label")).filter(function(n){return jF(n)===e})}function DF(e){var t=e.assignedNodes();return t.length===0?Ct(e.childNodes):t}function i0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new sF,n=gF(e),o=t.compute,a=o===void 0?"name":o,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,l=t.getComputedStyle,c=l===void 0?n.getComputedStyle.bind(n):l,u=t.hidden,d=u===void 0?!1:u;function m(b,v){var C="";if(Ce(b)&&s){var S=c(b,"::before"),A=Ky(S);C="".concat(A," ").concat(C)}var _=_F(b)?DF(b):Ct(b.childNodes).concat(Ya(b,"aria-owns"));if(_.forEach(function(P){var N=y(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),B=Ce(P)?c(P).getPropertyValue("display"):"inline",j=B!=="inline"?" ":"";C+="".concat(j).concat(N).concat(j)}),Ce(b)&&s){var E=c(b,"::after"),R=Ky(E);C="".concat(C," ").concat(R)}return C.trim()}function p(b,v){var C=b.getAttributeNode(v);return C!==null&&!r.has(C)&&C.value.trim()!==""?(r.add(C),C.value):null}function h(b){return Ce(b)?p(b,"title"):null}function g(b){if(!Ce(b))return null;if(vF(b)){r.add(b);for(var v=Ct(b.childNodes),C=0;C<v.length;C+=1){var S=v[C];if(EF(S))return y(S,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(yF(b)){r.add(b);for(var A=Ct(b.childNodes),_=0;_<A.length;_+=1){var E=A[_];if(r0(E))return y(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(wF(b)){r.add(b);for(var R=Ct(b.childNodes),P=0;P<R.length;P+=1){var N=R[P];if(CF(N))return N.textContent}return null}else if(Ze(b)==="img"||Ze(b)==="area"){var B=p(b,"alt");if(B!==null)return B}else if(mF(b)){var j=p(b,"label");if(j!==null)return j}if(Ma(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var F=p(b,"value");if(F!==null)return F;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var T=IF(b);if(T!==null&&T.length!==0)return r.add(b),Ct(T).map(function(z){return y(z,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(z){return z.length>0}).join(" ");if(Ma(b)&&b.type==="image"){var M=p(b,"alt");if(M!==null)return M;var D=p(b,"title");return D!==null?D:"Submit Query"}if(zt(b,["button"])){var Y=m(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(Y!=="")return Y}return null}function y(b,v){if(r.has(b))return"";if(!d&&AF(b,c)&&!v.isReferenced)return r.add(b),"";var C=Ce(b)?b.getAttributeNode("aria-labelledby"):null,S=C!==null&&!r.has(C)?Ya(b,"aria-labelledby"):[];if(a==="name"&&!v.isReferenced&&S.length>0)return r.add(C),S.map(function(B){return y(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var A=v.recursion&&TF(b)&&a==="name";if(!A){var _=(Ce(b)&&b.getAttribute("aria-label")||"").trim();if(_!==""&&a==="name")return r.add(b),_;if(!OF(b)){var E=g(b);if(E!==null)return r.add(b),E}}if(zt(b,["menu"]))return r.add(b),"";if(A||v.isEmbeddedInLabel||v.isReferenced){if(zt(b,["combobox","listbox"])){r.add(b);var R=PF(b);return R.length===0?Ma(b)?b.value:"":Ct(R).map(function(B){return y(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(n0(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(zt(b,["textbox"]))return r.add(b),NF(b)}if(xF(b)||Ce(b)&&v.isReferenced||qF(b)||MF()){var P=m(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});if(P!=="")return r.add(b),P}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),m(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});var N=h(b);return N!==null?(r.add(b),N):(r.add(b),"")}return SF(y(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function vo(e){"@babel/helpers - typeof";return vo=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},vo(e)}function Xy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Jy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Xy(Object(r),!0).forEach(function(n){FF(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function FF(e,t,r){return t=LF(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function LF(e){var t=BF(e,"string");return vo(t)==="symbol"?t:String(t)}function BF(e,t){if(vo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(vo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ya(e,"aria-describedby").map(function(a){return i0(a,Jy(Jy({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function $F(e){return zt(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function UF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return $F(e)?"":i0(e,t)}var sd=dt(Vg(),1),HF=dt(zg(),1),s0=dt(nv(),1),VF=dt(ov(),1),l0=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(`
|
|
307
|
+
`)}},Qy=class extends l0{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},Zy=class extends l0{constructor(...e){super("be a Node",...e)}};function u0(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function GF(e,...t){u0(e,Zy,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Zy(e,...t)}function ve(e,...t){u0(e,Qy,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Qy(e,...t)}var zF=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
|
|
308
|
+
`)}};function YF(e,...t){let r=JD(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new zF({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:a})=>Object.assign(n,{[o]:a}),{})}function eb(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Je(e,t,r,n,o,a){return[`${t}
|
|
309
|
+
`,`${r}:
|
|
310
|
+
${e.utils.EXPECTED_COLOR((0,Gy.default)(eb(e,n),2))}`,`${o}:
|
|
311
|
+
${e.utils.RECEIVED_COLOR((0,Gy.default)(eb(e,a),2))}`].join(`
|
|
312
|
+
`)}function WF(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function wi(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function Ci(e){return e.replace(/\s+/g," ").trim()}function gr(e){return e.tagName&&e.tagName.toLowerCase()}function KF({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function XF(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var JF=["meter","progressbar","slider","spinbutton"];function QF(e){if(JF.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function c0(e){if(e)switch(e.tagName.toLowerCase()){case"input":return XF(e);case"select":return KF(e);default:return e.value??QF(e)}}function ZF(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function d0(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function Iu(e,t){return wi("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&ve(e,Iu,this),t&&ve(t,Iu,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
|
|
313
|
+
`)}}function p0(e){(e!==null||!this.isNot)&&ve(e,p0,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
|
|
314
|
+
`)}}function f0(e){return wi("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),ve(e,f0,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
315
|
+
`)}}function m0(e){return ve(e,m0,this),{pass:eL(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
316
|
+
`)}}function eL(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function Du(e,t){return ve(e,Du,this),t!==null&&ve(t,Du,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
|
|
317
|
+
`)].join(`
|
|
318
|
+
`)}}function tL(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function h0(e,t){if(ve(e,h0,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(tL(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
|
|
319
|
+
`)}}function y0(e,t,r={normalizeWhitespace:!0}){GF(e,y0,this);let n=r.normalizeWhitespace?Ci(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&WF(n,t),message:()=>{let a=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${a} have text content`,t,"Received",n)}}}function Fu(e,t){ve(e,Fu,this);let r=kF(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let a=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Fu.name}`,"element",""),`Expected element ${a} have accessible description`,t,"Received",r)}}}var so="aria-invalid",rL=["false"];function b0(e,t){ve(e,b0,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:()=>Je(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let a=e.getAttribute(so);if(!e.hasAttribute(so)||rL.includes(a))return{pass:!1,message:()=>Je(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${so}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${so}="${e.getAttribute(so)}`:null)};let i=Ci(e.ownerDocument.getElementById(o)?.textContent??"");return{pass:t===void 0?!!i:t instanceof RegExp?t.test(i):this.equals(i,t),message:()=>Je(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",i)}}var nL=iL(sd.elementRoles);function Lu(e,t){ve(e,Lu,this);let r=oL(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Lu.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function oL(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):aL(e)}function aL(e){for(let{match:t,roles:r}of nL)if(t(e))return[...r];return[]}function iL(e){function t({name:i,attributes:s}){return`${i}${s.map(({name:l,value:c,constraints:u=[]})=>u.indexOf("undefined")!==-1?`:not([${l}])`:c?`[${l}="${c}"]`:`[${l}]`).join("")}`}function r({attributes:i=[]}){return i.length}function n({specificity:i},{specificity:s}){return s-i}function o(i){let{attributes:s=[]}=i,l=s.findIndex(u=>u.value&&u.name==="type"&&u.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);let c=t({...i,attributes:s});return u=>l>=0&&u.type!=="text"?!1:u.matches(c)}let a=[];for(let[i,s]of e.entries())a=[...a,{match:o(i),roles:Array.from(s),specificity:r(i)}];return a.sort(n)}function Bu(e,t){ve(e,Bu,this);let r=UF(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let a=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Bu.name}`,"element",""),`Expected element ${a} have accessible name`,t,"Received",r)}}}function tb(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function sL(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function g0(e,t,r){ve(e,g0,this);let n=r!==void 0,o=e.hasAttribute(t),a=e.getAttribute(t);return{pass:n?o&&this.equals(a,r):o,message:()=>{let i=this.isNot?"not to":"to",s=o?tb(this.utils.stringify,t,a):null,l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:sL(this.utils.stringify,t,r)});return Je(this,l,`Expected the element ${i} have attribute`,tb(this.utils.stringify,t,r),"Received",s)}}}function lL(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function rb(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function nb(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function v0(e,...t){ve(e,v0,this);let{expectedClassNames:r,options:n}=lL(t),o=rb(e.getAttribute("class")),a=r.reduce((s,l)=>s.concat(typeof l=="string"||!l?rb(l):l),[]),i=a.some(s=>s instanceof RegExp);if(n.exact&&i)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:nb(a,o)&&a.length===o.length,message:()=>{let s=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${s} have EXACTLY defined classes`,a.join(" "),"Received",o.join(" "))}}:a.length>0?{pass:nb(a,o),message:()=>{let s=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${s} have class`,a.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?Je(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(`
|
|
320
|
+
`)}}function uL(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o]}),r}function cL(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),a=[r];return o||a.push(r.toLowerCase()),a.some(i=>t[i]===n||t.getPropertyValue(i)===n)})}function ob(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
321
|
+
`)}function dL(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,a)=>Object.assign(o,{[a]:r.getPropertyValue(a)}),{});return e(ob(t),ob(n)).replace(`${HF.default.red("+ Received")}
|
|
322
|
+
`,"")}function ku(e,t){ve(e,ku,this);let r=typeof t=="object"?t:YF(t,ku,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=uL(e.ownerDocument,r),a=n(e);return{pass:cL(o,a),message:()=>{let i=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(i,"element",""),dL(this.utils.diff,o,a)].join(`
|
|
323
|
+
|
|
324
|
+
`)}}}function E0(e){return ve(e,E0,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
|
|
325
|
+
`)}}function pL(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function fL(e,t){let r=[...e.querySelectorAll(`[name="${(0,VF.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return c0(r[0]);default:return pL(r)}}function mL(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function hL(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[mL(r)]:fL(e,r)}),{})}function _0(e,t){if(ve(e,_0,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=hL(e);return{pass:Object.entries(t).every(([n,o])=>(0,s0.default)(r[n],o,d0)),message:()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,a=Object.keys(r).filter(i=>t.hasOwnProperty(i)).reduce((i,s)=>({...i,[s]:r[s]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,a)].join(`
|
|
326
|
+
|
|
327
|
+
`)}}}function yL(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}function bL(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function R0(e,t){return yL(e)&&bL(e,t)&&(!e.parentElement||R0(e.parentElement,e))}function w0(e){ve(e,w0,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&R0(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
328
|
+
`)}}}var gL=["fieldset","input","select","optgroup","option","button","textarea"];function vL(e,t){return gr(e)==="legend"&&gr(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>gr(r)==="legend"))}function EL(e,t){return S0(t)&&!vL(e,t)}function _L(e){return e.includes("-")}function C0(e){let t=gr(e);return gL.includes(t)||_L(t)}function S0(e){return C0(e)&&e.hasAttribute("disabled")}function A0(e){let t=e.parentElement;return!!t&&(EL(e,t)||A0(t))}function T0(e){return C0(e)&&(S0(e)||A0(e))}function P0(e){ve(e,P0,this);let t=T0(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
329
|
+
`)}}}function O0(e){ve(e,O0,this);let t=!T0(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
330
|
+
`)}}}var RL=["select","textarea"],wL=["input","select","textarea"],CL=["color","hidden","range","submit","image","reset"],SL=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function AL(e){return RL.includes(gr(e))&&e.hasAttribute("required")}function TL(e){return gr(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!CL.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function PL(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(wL.includes(gr(e))||e.hasAttribute("role")&&SL.includes(e.getAttribute("role")))}function q0(e){ve(e,q0,this);let t=AL(e)||TL(e)||PL(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
331
|
+
`)}}}var OL=["form","input","select","textarea"];function qL(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function xL(e){return OL.includes(gr(e))}function x0(e){let t=qL(e);return xL(e)?t||!e.checkValidity():t}function M0(e){ve(e,M0,this);let t=x0(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
332
|
+
`)}}}function N0(e){ve(e,N0,this);let t=!x0(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
333
|
+
`)}}}function j0(e,t){if(ve(e,j0,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=c0(e),n=t!==void 0,o=t,a=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,a=`${r} (${typeof r})`),{pass:n?(0,s0.default)(r,t,d0):!!r,message:()=>{let i=this.isNot?"not to":"to",s=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Je(this,s,`Expected the element ${i} have value`,n?o:"(any)","Received",a)}}}function I0(e,t){ve(e,I0,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=ML(r,e),o=NL(t),a=o.filter(l=>n.some(c=>l instanceof RegExp?l.test(c):this.equals(c,String(l)))).length,i=a===n.length,s=a===o.length;return{pass:i&&s,message:()=>Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function ML(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function NL(e){return e instanceof Array?e:[e]}function D0(e){ve(e,D0,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>F0(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${jL()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
334
|
+
`)}}}function jL(){return ZF(IL().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function IL(){return sd.roles.keys().filter(F0)}function F0(e){return sd.roles.get(e)?.props["aria-checked"]!==void 0}function L0(e){ve(e,L0,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
335
|
+
`)}}}function B0(e,t){wi("toHaveDescription","Please use toHaveAccessibleDescription."),ve(e,B0,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let a=e.ownerDocument,i=n.map(s=>a.getElementById(s)).filter(Boolean);o=Ci(i.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let a=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${a} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function k0(e,t){if(wi("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),ve(e,k0,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let a=this.isNot?".not":"";return{pass:!1,message:()=>Je(this,this.utils.matcherHint(`${a}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let a=e.ownerDocument,i=n.map(s=>a.getElementById(s)).filter(Boolean);o=Ci(i.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let a=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${a} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}dt(Hg(),1);dt(Vg(),1);dt(zg(),1);dt(nv(),1);dt(ov(),1);function Vt(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function Na(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function DL(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function $u(e){return Object.prototype.toString.apply(e).slice(8,-1)}function FL(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function $0(e){let t=new Set;return DL(e)?[]:(FL(e,t),Array.from(t))}var U0={forceWritable:!1};function ab(e,t=U0){return Uu(e,new WeakMap,t)}function Uu(e,t,r=U0){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array(n=e.length),t.set(e,o);n--;)o[n]=Uu(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 a=$0(e);for(let i of a){let s=Object.getOwnPropertyDescriptor(e,i);if(!s)continue;let l=Uu(e[i],t,r);r.forceWritable?Object.defineProperty(o,i,{enumerable:s.enumerable,configurable:!0,writable:!0,value:l}):"get"in s?Object.defineProperty(o,i,{...s,get(){return l}}):Object.defineProperty(o,i,{...s,value:l})}return o}return e}var ib={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"]},LL={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Pn="\u2026";function BL(e,t){let r=ib[LL[t]]||ib[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function kL({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:s=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(l),seen:s,inspect:u,stylize:c};return d.colors&&(d.stylize=BL),d}function $L(e){return e>="\uD800"&&e<="\uDBFF"}function Rr(e,t,r=Pn){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&$L(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}function Pt(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",s="",l="";for(let c=0;c<o;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${Pn}(${e.length-c})`;let m=e[c];t.truncate=a-i.length-(u?0:n.length);let p=s||r(m,t)+(u?"":n),h=i.length+p.length,g=h+l.length;if(u&&h>a&&i.length+l.length<=a||!u&&!d&&g>a||(s=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&h+s.length>a))break;if(i+=p,!u&&!d&&h+s.length>=a){l=`${Pn}(${e.length-c-1})`;break}l=""}return`${i}${l}`}function UL(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Eo([e,t],r){return r.truncate-=2,typeof e=="string"?e=UL(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function HL(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Pt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Pt(r.map(a=>[a,e[a]]),t,Eo)),`[ ${n}${o?`, ${o}`:""} ]`}var VL=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function Gt(e,t){let r=VL(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 i=0;i<e.length;i++){let s=`${t.stylize(Rr(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${Pn}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=Pt(n.map(i=>[i,e[i]]),t,Eo)),`${r}[ ${o}${a?`, ${a}`:""} ]`}function GL(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${Rr(n[1],t.truncate-o.length-1)}`,"date")}function sb(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Rr(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function zL([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function YL(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function WL(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Pt(YL(e),t,zL)} }`)}var KL=Number.isNaN||(e=>e!==e);function lb(e,t){return KL(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(Rr(String(e),t.truncate),"number")}function ub(e,t){let r=Rr(e.toString(),t.truncate-1);return r!==Pn&&(r+="n"),t.stylize(r,"bigint")}function XL(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Rr(o,n)}/${r}`,"regexp")}function JL(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function QL(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Pt(JL(e),t)} }`)}var cb=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),ZL={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},eB=16,tB=4;function rB(e){return ZL[e]||`\\u${`0000${e.charCodeAt(0).toString(eB)}`.slice(-tB)}`}function db(e,t){return cb.test(e)&&(e=e.replace(cb,rB)),t.stylize(`'${Rr(e,t.truncate-2)}'`,"string")}function pb(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var H0=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(H0=(n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`})}catch{}var nB=H0;function ja(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=Pt(r.map(s=>[s,e[s]]),t,Eo),a=Pt(n.map(s=>[s,e[s]]),t,Eo);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}var ru=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function oB(e,t){let r="";return ru&&ru in e&&(r=e[ru]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ja(e,t)}`}function aB(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Pt(e,t)} ]`)}var iB=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function sB(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>iB.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Rr(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 a=Pt(r.map(i=>[i,e[i]]),t,Eo);return`${n}${o}${a?` { ${a} }`:""}`}function lB([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Hu(e,t){return Pt(e,t,V0,`
|
|
336
|
+
`)}function V0(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=Pt(r.map(u=>[u,e.getAttribute(u)]),t,lB," ")),t.truncate-=s.length;let l=t.truncate,c=Hu(e.children,t);return c&&c.length>l&&(c=`${Pn}(${e.children.length})`),`${o}${s}${a}${c}${i}`}var uB=typeof Symbol=="function"&&typeof Symbol.for=="function",nu=uB?Symbol.for("chai/inspect"):"@@chai/inspect",bn=!1;try{let e=hO("util");bn=e.inspect?e.inspect.custom:!1}catch{bn=!1}var fb=new WeakMap,mb={},hb={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:lb,Number:lb,bigint:ub,BigInt:ub,string:db,String:db,function:sb,Function:sb,symbol:pb,Symbol:pb,Array:HL,Date:GL,Map:WL,Set:QL,RegExp:XL,Promise:nB,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:aB,Int8Array:Gt,Uint8Array:Gt,Uint8ClampedArray:Gt,Int16Array:Gt,Uint16Array:Gt,Int32Array:Gt,Uint32Array:Gt,Float32Array:Gt,Float64Array:Gt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:sB,HTMLCollection:Hu,NodeList:Hu},cB=(e,t,r)=>nu in e&&typeof e[nu]=="function"?e[nu](t):bn&&bn in e&&typeof e[bn]=="function"?e[bn](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&fb.has(e.constructor)?fb.get(e.constructor)(e,t):mb[r]?mb[r](e,t):"",dB=Object.prototype.toString;function Vu(e,t={}){let r=kL(t,Vu),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=dB.call(e).slice(8,-1)),o in hb)return hb[o](e,r);if(n&&e){let i=cB(e,r,o);if(i)return typeof i=="string"?i:Vu(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?ja(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?V0(e,r):"constructor"in e?e.constructor!==Object?oB(e,r):ja(e,r):e===Object(e)?ja(e,r):r.stylize(String(e),o)}var pB={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]},fB=Object.entries(pB);function ld(e){return String(e)}ld.open="";ld.close="";function mB(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function hB(e=!1){let t=mB(e),r=(i,s,l,c)=>{let u="",d=0;do u+=i.substring(d,c)+l,d=c+s.length,c=i.indexOf(s,d);while(~c);return u+i.substring(d)},n=(i,s,l=i)=>{let c=u=>{let d=String(u),m=d.indexOf(s,i.length);return~m?i+r(d,s,l,m)+s:i+d+s};return c.open=i,c.close=s,c},o={isColorSupported:t},a=i=>`\x1B[${i}m`;for(let[i,s]of fB)o[i]=t?n(a(s[0]),a(s[1]),s[2]):ld;return o}var xe=hB(!1);function yB(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function Si(e,t,r,n,o,a,i=": "){let s="",l=0,c=e.next();if(!c.done){s+=t.spacingOuter;let u=r+t.indent;for(;!c.done;){if(s+=u,l++===t.maxWidth){s+="\u2026";break}let d=a(c.value[0],t,u,n,o),m=a(c.value[1],t,u,n,o);s+=d+i+m,c=e.next(),c.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function ud(e,t,r,n,o,a){let i="",s=0,l=e.next();if(!l.done){i+=t.spacingOuter;let c=r+t.indent;for(;!l.done;){if(i+=c,s++===t.maxWidth){i+="\u2026";break}i+=a(l.value,t,c,n,o),l=e.next(),l.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function Wa(e,t,r,n,o,a){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let s=c=>c instanceof DataView,l=s(e)?e.byteLength:e.length;if(l>0){i+=t.spacingOuter;let c=r+t.indent;for(let u=0;u<l;u++){if(i+=c,u===t.maxWidth){i+="\u2026";break}(s(e)||u in e)&&(i+=a(s(e)?e.getInt8(u):e[u],t,c,n,o)),u<l-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}function cd(e,t,r,n,o,a){let i="",s=yB(e,t.compareKeys);if(s.length>0){i+=t.spacingOuter;let l=r+t.indent;for(let c=0;c<s.length;c++){let u=s[c],d=a(u,t,l,n,o),m=a(e[u],t,l,n,o);i+=`${l+d}: ${m}`,c<s.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}var bB=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,ou=" ",gB=(e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+ou}[${Wa(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+ou}{${cd(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+ou+a(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()},vB=e=>e&&e.$$typeof===bB,EB={serialize:gB,test:vB},_B=" ",G0=new Set(["DOMStringMap","NamedNodeMap"]),RB=/^(?:HTML\w*Collection|NodeList)$/;function wB(e){return G0.has(e)||RB.test(e)}var CB=e=>e&&e.constructor&&!!e.constructor.name&&wB(e.constructor.name);function SB(e){return e.constructor.name==="NamedNodeMap"}var AB=(e,t,r,n,o,a)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+_B)+(G0.has(i)?`{${cd(SB(e)?[...e].reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,a)}}`:`[${Wa([...e],t,r,n,o,a)}]`)},TB={serialize:AB,test:CB};function z0(e){return e.replaceAll("<","<").replaceAll(">",">")}function dd(e,t,r,n,o,a,i){let s=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=i(u,r,s,o,a);return typeof u!="string"&&(d.includes(`
|
|
337
|
+
`)&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+l.prop.open+c+l.prop.close}=${l.value.open}${d}${l.value.close}`}).join("")}function pd(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?Y0(i,t):a(i,t,r,n,o))).join("")}function Y0(e,t){let r=t.colors.content;return r.open+z0(e)+r.close}function PB(e,t){let r=t.colors.comment;return`${r.open}<\!--${z0(e)}-->${r.close}`}function fd(e,t,r,n,o){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+o+a.open}${r?`>${a.close}${r}${n.spacingOuter}${o}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}function md(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var OB=1,W0=3,K0=8,X0=11,qB=/^(?:(?:HTML|SVG)\w*)?Element$/;function xB(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function MB(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||xB(e);return r===OB&&(qB.test(t)||o)||r===W0&&t==="Text"||r===K0&&t==="Comment"||r===X0&&t==="DocumentFragment"}var NB=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&MB(e)};function jB(e){return e.nodeType===W0}function IB(e){return e.nodeType===K0}function au(e){return e.nodeType===X0}var DB=(e,t,r,n,o,a)=>{if(jB(e))return Y0(e.data,t);if(IB(e))return PB(e.data,t);let i=au(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?md(i,t):fd(i,dd(au(e)?[]:Array.from(e.attributes,s=>s.name).sort(),au(e)?{}:[...e.attributes].reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,a),pd(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},FB={serialize:DB,test:NB},LB="@@__IMMUTABLE_ITERABLE__@@",BB="@@__IMMUTABLE_LIST__@@",kB="@@__IMMUTABLE_KEYED__@@",$B="@@__IMMUTABLE_MAP__@@",yb="@@__IMMUTABLE_ORDERED__@@",UB="@@__IMMUTABLE_RECORD__@@",HB="@@__IMMUTABLE_SEQ__@@",VB="@@__IMMUTABLE_SET__@@",GB="@@__IMMUTABLE_STACK__@@",On=e=>`Immutable.${e}`,Ai=e=>`[${e}]`,_o=" ",bb="\u2026";function zB(e,t,r,n,o,a,i){return++n>t.maxDepth?Ai(On(i)):`${On(i)+_o}{${Si(e.entries(),t,r,n,o,a)}}`}function YB(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function WB(e,t,r,n,o,a){let i=On(e._name||"Record");return++n>t.maxDepth?Ai(i):`${i+_o}{${Si(YB(e),t,r,n,o,a)}}`}function KB(e,t,r,n,o,a){let i=On("Seq");return++n>t.maxDepth?Ai(i):e[kB]?`${i+_o}{${e._iter||e._object?Si(e.entries(),t,r,n,o,a):bb}}`:`${i+_o}[${e._iter||e._array||e._collection||e._iterable?ud(e.values(),t,r,n,o,a):bb}]`}function iu(e,t,r,n,o,a,i){return++n>t.maxDepth?Ai(On(i)):`${On(i)+_o}[${ud(e.values(),t,r,n,o,a)}]`}var XB=(e,t,r,n,o,a)=>e[$B]?zB(e,t,r,n,o,a,e[yb]?"OrderedMap":"Map"):e[BB]?iu(e,t,r,n,o,a,"List"):e[VB]?iu(e,t,r,n,o,a,e[yb]?"OrderedSet":"Set"):e[GB]?iu(e,t,r,n,o,a,"Stack"):e[HB]?KB(e,t,r,n,o,a):WB(e,t,r,n,o,a),JB=e=>e&&(e[LB]===!0||e[UB]===!0),QB={serialize:XB,test:JB},J0={exports:{}},be={},gb;function ZB(){if(gb)return be;gb=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"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),h;h=Symbol.for("react.module.reference");function g(y){if(typeof y=="object"&&y!==null){var b=y.$$typeof;switch(b){case e:switch(y=y.type,y){case r:case o:case n:case c:case u:return y;default:switch(y=y&&y.$$typeof,y){case s:case i:case l:case m:case d:case a:return y;default:return b}}case t:return b}}}return be.ContextConsumer=i,be.ContextProvider=a,be.Element=e,be.ForwardRef=l,be.Fragment=r,be.Lazy=m,be.Memo=d,be.Portal=t,be.Profiler=o,be.StrictMode=n,be.Suspense=c,be.SuspenseList=u,be.isAsyncMode=function(){return!1},be.isConcurrentMode=function(){return!1},be.isContextConsumer=function(y){return g(y)===i},be.isContextProvider=function(y){return g(y)===a},be.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},be.isForwardRef=function(y){return g(y)===l},be.isFragment=function(y){return g(y)===r},be.isLazy=function(y){return g(y)===m},be.isMemo=function(y){return g(y)===d},be.isPortal=function(y){return g(y)===t},be.isProfiler=function(y){return g(y)===o},be.isStrictMode=function(y){return g(y)===n},be.isSuspense=function(y){return g(y)===c},be.isSuspenseList=function(y){return g(y)===u},be.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===c||y===u||y===p||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===d||y.$$typeof===a||y.$$typeof===i||y.$$typeof===l||y.$$typeof===h||y.getModuleId!==void 0)},be.typeOf=g,be}J0.exports=ZB();var Lr=J0.exports;function Q0(e,t=[]){if(Array.isArray(e))for(let r of e)Q0(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function vb(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Lr.isFragment(e))return"React.Fragment";if(Lr.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Lr.isContextProvider(e))return"Context.Provider";if(Lr.isContextConsumer(e))return"Context.Consumer";if(Lr.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Lr.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function ek(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var tk=(e,t,r,n,o,a)=>++n>t.maxDepth?md(vb(e),t):fd(vb(e),dd(ek(e),e.props,t,r+t.indent,n,o,a),pd(Q0(e.props.children),t,r+t.indent,n,o,a),t,r),rk=e=>e!=null&&Lr.isElement(e),nk={serialize:tk,test:rk},ok=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function ak(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var ik=(e,t,r,n,o,a)=>++n>t.maxDepth?md(e.type,t):fd(e.type,e.props?dd(ak(e),e.props,t,r+t.indent,n,o,a):"",e.children?pd(e.children,t,r+t.indent,n,o,a):"",t,r),sk=e=>e&&e.$$typeof===ok,lk={serialize:ik,test:sk},Z0=Object.prototype.toString,uk=Date.prototype.toISOString,ck=Error.prototype.toString,Eb=RegExp.prototype.toString;function su(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function dk(e){return typeof window<"u"&&e===window}var pk=/^Symbol\((.*)\)(.*)$/,fk=/\n/g,eE=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function mk(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function hk(e){return Object.is(e,-0)?"-0":String(e)}function yk(e){return`${e}n`}function _b(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Rb(e){return String(e).replace(pk,"Symbol($1)")}function wb(e){return`[${ck.call(e)}]`}function tE(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 hk(e);if(o==="bigint")return yk(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return _b(e,t);if(o==="symbol")return Rb(e);let a=Z0.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?_b(e,t):a==="[object Symbol]"?Rb(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":uk.call(e):a==="[object Error]"?wb(e):a==="[object RegExp]"?r?Eb.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Eb.call(e):e instanceof Error?wb(e):null}function rE(e,t,r,n,o,a){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let i=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!a)return hr(e.toJSON(),t,r,n,o,!0);let l=Z0.call(e);return l==="[object Arguments]"?i?"[Arguments]":`${s?"":"Arguments "}[${Wa(e,t,r,n,o,hr)}]`:mk(l)?i?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Wa(e,t,r,n,o,hr)}]`:l==="[object Map]"?i?"[Map]":`Map {${Si(e.entries(),t,r,n,o,hr," => ")}}`:l==="[object Set]"?i?"[Set]":`Set {${ud(e.values(),t,r,n,o,hr)}}`:i||dk(e)?`[${su(e)}]`:`${s||!t.printBasicPrototype&&su(e)==="Object"?"":`${su(e)} `}{${cd(e,t,r,n,o,hr)}}`}function bk(e){return e.serialize!=null}function nE(e,t,r,n,o,a){let i;try{i=bk(e)?e.serialize(t,r,n,o,a,hr):e.print(t,s=>hr(s,r,n,o,a),s=>{let l=n+r.indent;return l+s.replaceAll(fk,`
|
|
338
|
+
${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new eE(s.message,s.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}function oE(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new eE(n.message,n.stack)}return null}function hr(e,t,r,n,o,a){let i=oE(t.plugins,e);if(i!==null)return nE(i,e,t,r,n,o);let s=tE(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:rE(e,t,r,n,o,a)}var hd={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},aE=Object.keys(hd),wt={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:hd};function gk(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(wt,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function vk(){return aE.reduce((e,t)=>{let r=hd[t],n=r&&xe[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function Ek(){return aE.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function iE(e){return e?.printFunctionName??wt.printFunctionName}function sE(e){return e?.escapeRegex??wt.escapeRegex}function lE(e){return e?.escapeString??wt.escapeString}function Cb(e){return{callToJSON:e?.callToJSON??wt.callToJSON,colors:e?.highlight?vk():Ek(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:wt.compareKeys,escapeRegex:sE(e),escapeString:lE(e),indent:e?.min?"":_k(e?.indent??wt.indent),maxDepth:e?.maxDepth??wt.maxDepth,maxWidth:e?.maxWidth??wt.maxWidth,min:e?.min??wt.min,plugins:e?.plugins??wt.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:iE(e),spacingInner:e?.min?" ":`
|
|
339
|
+
`,spacingOuter:e?.min?"":`
|
|
340
|
+
`}}function _k(e){return Array.from({length:e+1}).join(" ")}function Nt(e,t){if(t&&(gk(t),t.plugins)){let n=oE(t.plugins,e);if(n!==null)return nE(n,e,Cb(t),"",0,[])}let r=tE(e,iE(t),sE(t),lE(t));return r!==null?r:rE(e,Cb(t),"",0,[])}var uE={AsymmetricMatcher:EB,DOMCollection:TB,DOMElement:FB,Immutable:QB,ReactElement:nk,ReactTestComponent:lk},{AsymmetricMatcher:Rk,DOMCollection:wk,DOMElement:Ck,Immutable:Sk,ReactElement:Ak,ReactTestComponent:Tk}=uE,Sb=[Tk,Ak,Ck,wk,Sk,Rk];function vt(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,a;try{a=Nt(e,{maxDepth:t,escapeString:!1,plugins:Sb,...n})}catch{a=Nt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Sb,...n})}return a.length>=o&&t>1?vt(e,Math.floor(t/2)):a}var Pk=/%[sdjifoOc%]/g;function Ok(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push(lo(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(Pk,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?lo(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return lo(e[r++],{showHidden:!0,showProxy:!0});case"%O":return lo(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let s=i.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw i}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?o+=` ${a}`:o+=` ${lo(a)}`;return o}function lo(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Vu(e,t)}var cE;cE=/\r?\n|[\r\u2028\u2029]/y;RegExp(cE.source);var dE={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(dE.keyword);new Set(dE.strict);function Ab(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}`)}var Qe=-1,Ye=1,Me=0,Pe=class{constructor(e,t){Ae(this,0);Ae(this,1);this[0]=e,this[1]=t}},qk=function(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,a=0;for(;r<o;)e.substring(a,o)===t.substring(a,o)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},pE=function(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,a=0;for(;r<o;)e.substring(e.length-o,e.length-a)===t.substring(t.length-o,t.length-a)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},Tb=function(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 a=0,i=1;for(;;){let s=e.substring(o-i),l=t.indexOf(s);if(l===-1)return a;i+=l,(l===0||e.substring(o-i)===t.substring(0,i))&&(a=i,i++)}},xk=function(e){let t=!1,r=[],n=0,o=null,a=0,i=0,s=0,l=0,c=0;for(;a<e.length;)e[a][0]===Me?(r[n++]=a,i=l,s=c,l=0,c=0,o=e[a][1]):(e[a][0]===Ye?l+=e[a][1].length:c+=e[a][1].length,o&&o.length<=Math.max(i,s)&&o.length<=Math.max(l,c)&&(e.splice(r[n-1],0,new Pe(Qe,o)),e[r[n-1]+1][0]=Ye,n--,n--,a=n>0?r[n-1]:-1,i=0,s=0,l=0,c=0,o=null,t=!0)),a++;for(t&&fE(e),jk(e),a=1;a<e.length;){if(e[a-1][0]===Qe&&e[a][0]===Ye){let u=e[a-1][1],d=e[a][1],m=Tb(u,d),p=Tb(d,u);m>=p?(m>=u.length/2||m>=d.length/2)&&(e.splice(a,0,new Pe(Me,d.substring(0,m))),e[a-1][1]=u.substring(0,u.length-m),e[a+1][1]=d.substring(m),a++):(p>=u.length/2||p>=d.length/2)&&(e.splice(a,0,new Pe(Me,u.substring(0,p))),e[a-1][0]=Ye,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=Qe,e[a+1][1]=u.substring(p),a++),a++}a++}},Pb=/[^a-z0-9]/i,Ob=/\s/,qb=/[\r\n]/,Mk=/\n\r?\n$/,Nk=/^\r?\n\r?\n/;function jk(e){function t(n,o){if(!n||!o)return 6;let a=n.charAt(n.length-1),i=o.charAt(0),s=a.match(Pb),l=i.match(Pb),c=s&&a.match(Ob),u=l&&i.match(Ob),d=c&&a.match(qb),m=u&&i.match(qb),p=d&&n.match(Mk),h=m&&o.match(Nk);return p||h?5:d||m?4:s&&!c&&u?3:c||u?2:s||l?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Me&&e[r+1][0]===Me){let n=e[r-1][1],o=e[r][1],a=e[r+1][1],i=pE(n,o);if(i){let d=o.substring(o.length-i);n=n.substring(0,n.length-i),o=d+o.substring(0,o.length-i),a=d+a}let s=n,l=o,c=a,u=t(n,o)+t(o,a);for(;o.charAt(0)===a.charAt(0);){n+=o.charAt(0),o=o.substring(1)+a.charAt(0),a=a.substring(1);let d=t(n,o)+t(o,a);d>=u&&(u=d,s=n,l=o,c=a)}e[r-1][1]!==s&&(s?e[r-1][1]=s:(e.splice(r-1,1),r--),e[r][1]=l,c?e[r+1][1]=c:(e.splice(r+1,1),r--))}r++}}function fE(e){e.push(new Pe(Me,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case Ye:n++,a+=e[t][1],t++;break;case Qe:r++,o+=e[t][1],t++;break;case Me:r+n>1?(r!==0&&n!==0&&(i=qk(a,o),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===Me?e[t-r-n-1][1]+=a.substring(0,i):(e.splice(0,0,new Pe(Me,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=pE(a,o),i!==0&&(e[t][1]=a.substring(a.length-i)+e[t][1],a=a.substring(0,a.length-i),o=o.substring(0,o.length-i))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Pe(Qe,o)),t++),a.length&&(e.splice(t,0,new Pe(Ye,a)),t++),t++):t!==0&&e[t-1][0]===Me?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",a="";break}e[e.length-1][1]===""&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===Me&&e[t+1][0]===Me&&(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),s=!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),s=!0)),t++;s&&fE(e)}var mE="Compared values have no visual difference.",Ik="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",hE={};Object.defineProperty(hE,"__esModule",{value:!0});var yE=hE.default=Bk,ho="diff-sequences",Xe=0,Ro=(e,t,r,n,o)=>{let a=0;for(;e<t&&r<n&&o(e,r);)e+=1,r+=1,a+=1;return a},wo=(e,t,r,n,o)=>{let a=0;for(;e<=t&&r<=n&&o(t,n);)t-=1,n-=1,a+=1;return a},lu=(e,t,r,n,o,a,i)=>{let s=0,l=-e,c=a[s],u=c;a[s]+=Ro(c+1,t,n+c-l+1,r,o);let d=e<i?e:i;for(s+=1,l+=2;s<=d;s+=1,l+=2){if(s!==e&&u<a[s])c=a[s];else if(c=u+1,t<=c)return s-1;u=a[s],a[s]=c+Ro(c+1,t,n+c-l+1,r,o)}return i},xb=(e,t,r,n,o,a,i)=>{let s=0,l=e,c=a[s],u=c;a[s]-=wo(t,c-1,r,n+c-l-1,o);let d=e<i?e:i;for(s+=1,l-=2;s<=d;s+=1,l-=2){if(s!==e&&a[s]<u)c=a[s];else if(c=u-1,c<t)return s-1;u=a[s],a[s]=c-wo(t,c-1,r,n+c-l-1,o)}return i},Dk=(e,t,r,n,o,a,i,s,l,c,u)=>{let d=n-t,m=r-t,p=o-n-m,h=-p-(e-1),g=-p+(e-1),y=Xe,b=e<s?e:s;for(let v=0,C=-e;v<=b;v+=1,C+=2){let S=v===0||v!==e&&y<i[v],A=S?i[v]:y,_=S?A:A+1,E=d+_-C,R=Ro(_+1,r,E+1,o,a),P=_+R;if(y=i[v],i[v]=P,h<=C&&C<=g){let N=(e-1-(C+p))/2;if(N<=c&&l[N]-1<=P){let B=d+A-(S?C+1:C-1),j=wo(t,A,n,B,a),F=A-j,T=B-j,M=F+1,D=T+1;u.nChangePreceding=e-1,e-1===M+D-t-n?(u.aEndPreceding=t,u.bEndPreceding=n):(u.aEndPreceding=M,u.bEndPreceding=D),u.nCommonPreceding=j,j!==0&&(u.aCommonPreceding=M,u.bCommonPreceding=D),u.nCommonFollowing=R,R!==0&&(u.aCommonFollowing=_+1,u.bCommonFollowing=E+1);let Y=P+1,z=E+R+1;return u.nChangeFollowing=e-1,e-1===r+o-Y-z?(u.aStartFollowing=r,u.bStartFollowing=o):(u.aStartFollowing=Y,u.bStartFollowing=z),!0}}}return!1},Fk=(e,t,r,n,o,a,i,s,l,c,u)=>{let d=o-r,m=r-t,p=o-n-m,h=p-e,g=p+e,y=Xe,b=e<c?e:c;for(let v=0,C=e;v<=b;v+=1,C-=2){let S=v===0||v!==e&&l[v]<y,A=S?l[v]:y,_=S?A:A-1,E=d+_-C,R=wo(t,_-1,n,E-1,a),P=_-R;if(y=l[v],l[v]=P,h<=C&&C<=g){let N=(e+(C-p))/2;if(N<=s&&P-1<=i[N]){let B=E-R;if(u.nChangePreceding=e,e===P+B-t-n?(u.aEndPreceding=t,u.bEndPreceding=n):(u.aEndPreceding=P,u.bEndPreceding=B),u.nCommonPreceding=R,R!==0&&(u.aCommonPreceding=P,u.bCommonPreceding=B),u.nChangeFollowing=e-1,e===1)u.nCommonFollowing=0,u.aStartFollowing=r,u.bStartFollowing=o;else{let j=d+A-(S?C-1:C+1),F=Ro(A,r,j,o,a);u.nCommonFollowing=F,F!==0&&(u.aCommonFollowing=A,u.bCommonFollowing=j);let T=A+F,M=j+F;e-1===r+o-T-M?(u.aStartFollowing=r,u.bStartFollowing=o):(u.aStartFollowing=T,u.bStartFollowing=M)}return!0}}}return!1},Lk=(e,t,r,n,o,a,i,s,l)=>{let c=n-t,u=o-r,d=r-t,m=o-n,p=m-d,h=d,g=d;if(i[0]=t-1,s[0]=r,p%2===0){let y=(e||p)/2,b=(d+m)/2;for(let v=1;v<=b;v+=1)if(h=lu(v,r,o,c,a,i,h),v<y)g=xb(v,t,n,u,a,s,g);else if(Fk(v,t,r,n,o,a,i,h,s,g,l))return}else{let y=((e||p)+1)/2,b=(d+m+1)/2,v=1;for(h=lu(v,r,o,c,a,i,h),v+=1;v<=b;v+=1)if(g=xb(v-1,t,n,u,a,s,g),v<y)h=lu(v,r,o,c,a,i,h);else if(Dk(v,t,r,n,o,a,i,h,s,g,l))return}throw new Error(`${ho}: no overlap aStart=${t} aEnd=${r} bStart=${n} bEnd=${o}`)},Gu=(e,t,r,n,o,a,i,s,l,c)=>{if(o-n<r-t){if(a=!a,a&&i.length===1){let{foundSubsequence:N,isCommon:B}=i[0];i[1]={foundSubsequence:(j,F,T)=>{N(j,T,F)},isCommon:(j,F)=>B(F,j)}}let R=t,P=r;t=n,r=o,n=R,o=P}let{foundSubsequence:u,isCommon:d}=i[a?1:0];Lk(e,t,r,n,o,d,s,l,c);let{nChangePreceding:m,aEndPreceding:p,bEndPreceding:h,nCommonPreceding:g,aCommonPreceding:y,bCommonPreceding:b,nCommonFollowing:v,aCommonFollowing:C,bCommonFollowing:S,nChangeFollowing:A,aStartFollowing:_,bStartFollowing:E}=c;t<p&&n<h&&Gu(m,t,p,n,h,a,i,s,l,c),g!==0&&u(g,y,b),v!==0&&u(v,C,S),_<r&&E<o&&Gu(A,_,r,E,o,a,i,s,l,c)},Mb=(e,t)=>{if(typeof t!="number")throw new TypeError(`${ho}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${ho}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${ho}: ${e} value ${t} is a negative integer`)},Nb=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${ho}: ${e} typeof ${r} is not a function`)};function Bk(e,t,r,n){Mb("aLength",e),Mb("bLength",t),Nb("isCommon",r),Nb("foundSubsequence",n);let o=Ro(0,e,0,t,r);if(o!==0&&n(o,0,0),e!==o||t!==o){let a=o,i=o,s=wo(a,e-1,i,t-1,r),l=e-s,c=t-s,u=o+s;e!==u&&t!==u&&Gu(0,a,l,i,c,!1,[{foundSubsequence:n,isCommon:r}],[Xe],[Xe],{aCommonFollowing:Xe,aCommonPreceding:Xe,aEndPreceding:Xe,aStartFollowing:Xe,bCommonFollowing:Xe,bCommonPreceding:Xe,bEndPreceding:Xe,bStartFollowing:Xe,nChangeFollowing:Xe,nChangePreceding:Xe,nCommonFollowing:Xe,nCommonPreceding:Xe}),s!==0&&n(s,l,c)}}function kk(e,t){return e.replace(/\s+$/,r=>t(r))}function yd(e,t,r,n,o,a){return e.length!==0?r(`${n} ${kk(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}function bE(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return yd(e,t,r,n,o,a)}function gE(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return yd(e,t,r,n,o,a)}function vE(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return yd(e,t,r,n,o,a)}function jb(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function $k(e,t){let r=e.length,n=t.contextLines,o=n+n,a=r,i=!1,s=0,l=0;for(;l!==r;){let S=l;for(;l!==r&&e[l][0]===Me;)l+=1;if(S!==l)if(S===0)l>n&&(a-=l-n,i=!0);else if(l===r){let A=l-S;A>n&&(a-=A-n,i=!0)}else{let A=l-S;A>o&&(a-=A-o,s+=1)}for(;l!==r&&e[l][0]!==Me;)l+=1}let c=s!==0||i;s!==0?a+=s+1:i&&(a+=1);let u=a-1,d=[],m=0;c&&d.push("");let p=0,h=0,g=0,y=0,b=S=>{let A=d.length;d.push(vE(S,A===0||A===u,t)),g+=1,y+=1},v=S=>{let A=d.length;d.push(bE(S,A===0||A===u,t)),g+=1},C=S=>{let A=d.length;d.push(gE(S,A===0||A===u,t)),y+=1};for(l=0;l!==r;){let S=l;for(;l!==r&&e[l][0]===Me;)l+=1;if(S!==l)if(S===0){l>n&&(S=l-n,p=S,h=S,g=p,y=h);for(let A=S;A!==l;A+=1)b(e[A][1])}else if(l===r){let A=l-S>n?S+n:l;for(let _=S;_!==A;_+=1)b(e[_][1])}else{let A=l-S;if(A>o){let _=S+n;for(let R=S;R!==_;R+=1)b(e[R][1]);d[m]=jb(p,g,h,y,t),m=d.length,d.push("");let E=A-o;p=g+E,h=y+E,g=p,y=h;for(let R=l-n;R!==l;R+=1)b(e[R][1])}else for(let _=S;_!==l;_+=1)b(e[_][1])}for(;l!==r&&e[l][0]===Qe;)v(e[l][1]),l+=1;for(;l!==r&&e[l][0]===Ye;)C(e[l][1]),l+=1}return c&&(d[m]=jb(p,g,h,y,t)),d.join(`
|
|
341
|
+
`)}function Uk(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case Qe:return bE(a,i,t);case Ye:return gE(a,i,t);default:return vE(a,i,t)}}).join(`
|
|
342
|
+
`)}var uu=e=>e,EE=5,Hk=0;function Vk(){return{aAnnotation:"Expected",aColor:xe.green,aIndicator:"-",bAnnotation:"Received",bColor:xe.red,bIndicator:"+",changeColor:xe.inverse,changeLineTrailingSpaceColor:uu,commonColor:xe.dim,commonIndicator:" ",commonLineTrailingSpaceColor:uu,compareKeys:void 0,contextLines:EE,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:xe.yellow,truncateThreshold:Hk,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:uu}}function Gk(e){return e&&typeof e=="function"?e:void 0}function zk(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:EE}function zr(e={}){return{...Vk(),...e,compareKeys:Gk(e.compareKeys),contextLines:zk(e.contextLines)}}function gn(e){return e.length===1&&e[0].length===0}function Yk(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Qe:t+=1;break;case Ye:r+=1;break}}),{a:t,b:r}}function Wk({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:a,includeChangeCounts:i,omitAnnotationLines:s},l){if(s)return"";let c="",u="";if(i){let p=String(l.a),h=String(l.b),g=n.length-e.length,y=" ".repeat(Math.max(0,g)),b=" ".repeat(Math.max(0,-g)),v=h.length-p.length,C=" ".repeat(Math.max(0,v)),S=" ".repeat(Math.max(0,-v));c=`${y} ${r} ${C}${p}`,u=`${b} ${a} ${S}${h}`}let d=`${r} ${e}${c}`,m=`${a} ${n}${u}`;return`${t(d)}
|
|
343
|
+
${o(m)}
|
|
344
|
+
|
|
345
|
+
`}function bd(e,t,r){return Wk(r,Yk(e))+(r.expand?Uk(e,r):$k(e,r))+(t?r.truncateAnnotationColor(`
|
|
346
|
+
${r.truncateAnnotation}`):"")}function Ti(e,t,r){let n=zr(r),[o,a]=_E(gn(e)?[]:e,gn(t)?[]:t,n);return bd(o,a,n)}function Kk(e,t,r,n,o){if(gn(e)&&gn(r)&&(e=[],r=[]),gn(t)&&gn(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Ti(e,t,o);let[a,i]=_E(r,n,o),s=0,l=0;return a.forEach(c=>{switch(c[0]){case Qe:c[1]=e[s],s+=1;break;case Ye:c[1]=t[l],l+=1;break;default:c[1]=t[l],s+=1,l+=1}}),bd(a,i,zr(o))}function _E(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=n?Math.min(e.length,o):e.length,i=n?Math.min(t.length,o):t.length,s=a!==e.length||i!==t.length,l=(m,p)=>e[m]===t[p],c=[],u=0,d=0;for(yE(a,i,l,(m,p,h)=>{for(;u!==p;u+=1)c.push(new Pe(Qe,e[u]));for(;d!==h;d+=1)c.push(new Pe(Ye,t[d]));for(;m!==0;m-=1,u+=1,d+=1)c.push(new Pe(Me,t[d]))});u!==a;u+=1)c.push(new Pe(Qe,e[u]));for(;d!==i;d+=1)c.push(new Pe(Ye,t[d]));return[c,s]}function Ib(e){return e.includes(`\r
|
|
347
|
+
`)?`\r
|
|
348
|
+
`:`
|
|
349
|
+
`}function Xk(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=e.length,i=t.length;if(n){let m=e.includes(`
|
|
350
|
+
`),p=t.includes(`
|
|
351
|
+
`),h=Ib(e),g=Ib(t),y=m?`${e.split(h,o).join(h)}
|
|
352
|
+
`:e,b=p?`${t.split(g,o).join(g)}
|
|
353
|
+
`:t;a=y.length,i=b.length}let s=a!==e.length||i!==t.length,l=(m,p)=>e[m]===t[p],c=0,u=0,d=[];return yE(a,i,l,(m,p,h)=>{c!==p&&d.push(new Pe(Qe,e.slice(c,p))),u!==h&&d.push(new Pe(Ye,t.slice(u,h))),c=p+m,u=h+m,d.push(new Pe(Me,t.slice(h,u)))}),c!==a&&d.push(new Pe(Qe,e.slice(c))),u!==i&&d.push(new Pe(Ye,t.slice(u))),[d,s]}function Jk(e,t,r){return t.reduce((n,o)=>n+(o[0]===Me?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var Db=class{constructor(e,t){Ae(this,"op");Ae(this,"line");Ae(this,"lines");Ae(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Pe(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Pe(this.op,Jk(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Pe(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
354
|
+
`)){let r=t.split(`
|
|
355
|
+
`),n=r.length-1;r.forEach((o,a)=>{a<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},Qk=class{constructor(e,t){Ae(this,"deleteBuffer");Ae(this,"insertBuffer");Ae(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
356
|
+
`)){let n=r.split(`
|
|
357
|
+
`),o=n.length-1;n.forEach((a,i)=>{if(i===0){let s=new Pe(t,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(s)):(this.pushDiffChangeLines(s),this.flushChangeLines())}else i<o?this.pushDiffCommonLine(new Pe(t,a)):a.length!==0&&this.pushDiffChangeLines(new Pe(t,a))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function Zk(e,t){let r=new Db(Qe,t),n=new Db(Ye,t),o=new Qk(r,n);return e.forEach(a=>{switch(a[0]){case Qe:r.align(a);break;case Ye:n.align(a);break;default:o.align(a)}}),o.getLines()}function e$(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Me&&(o!==r||n[1]!==`
|
|
358
|
+
`))}return e.some(r=>r[0]===Me)}function t$(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
359
|
+
`)||t.includes(`
|
|
360
|
+
`),[o,a]=RE(n?`${e}
|
|
361
|
+
`:e,n?`${t}
|
|
362
|
+
`:t,!0,r);if(e$(o,n)){let i=zr(r),s=Zk(o,i.changeColor);return bd(s,a,i)}}return Ti(e.split(`
|
|
363
|
+
`),t.split(`
|
|
364
|
+
`),r)}function RE(e,t,r,n){let[o,a]=Xk(e,t,n);return r&&xk(o),[o,a]}function zu(e,t){let{commonColor:r}=zr(t);return r(e)}var{AsymmetricMatcher:r$,DOMCollection:n$,DOMElement:o$,Immutable:a$,ReactElement:i$,ReactTestComponent:s$}=uE,wE=[s$,i$,o$,n$,a$,r$],Yu={plugins:wE},CE={callToJSON:!1,maxDepth:10,plugins:wE};function qn(e,t,r){if(Object.is(e,t))return"";let n=Ab(e),o=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),a=o==="string"}if(o!==Ab(t)){let{aAnnotation:i,aColor:s,aIndicator:l,bAnnotation:c,bColor:u,bIndicator:d}=zr(r),m=Wu(CE,r),p=Nt(e,m),h=Nt(t,m),g=`${s(`${l} ${i}:`)}
|
|
365
|
+
${p}`,y=`${u(`${d} ${c}:`)}
|
|
366
|
+
${h}`;return`${g}
|
|
367
|
+
|
|
368
|
+
${y}`}if(!a)switch(n){case"string":return Ti(e.split(`
|
|
369
|
+
`),t.split(`
|
|
370
|
+
`),r);case"boolean":case"number":return l$(e,t,r);case"map":return cu(Fb(e),Fb(t),r);case"set":return cu(Lb(e),Lb(t),r);default:return cu(e,t,r)}}function l$(e,t,r){let n=Nt(e,Yu),o=Nt(t,Yu);return n===o?"":Ti(n.split(`
|
|
371
|
+
`),o.split(`
|
|
372
|
+
`),r)}function Fb(e){return new Map(Array.from(e.entries()).sort())}function Lb(e){return new Set(Array.from(e.values()).sort())}function cu(e,t,r){let n,o=!1;try{let i=Wu(Yu,r);n=Bb(e,t,i,r)}catch{o=!0}let a=zu(mE,r);if(n===void 0||n===a){let i=Wu(CE,r);n=Bb(e,t,i,r),n!==a&&!o&&(n=`${zu(Ik,r)}
|
|
373
|
+
|
|
374
|
+
${n}`)}return n}function Wu(e,t){let{compareKeys:r}=zr(t);return{...e,compareKeys:r}}function Bb(e,t,r,n){let o={...r,indent:0},a=Nt(e,o),i=Nt(t,o);if(a===i)return zu(mE,n);{let s=Nt(e,r),l=Nt(t,r);return Kk(s.split(`
|
|
375
|
+
`),l.split(`
|
|
376
|
+
`),a.split(`
|
|
377
|
+
`),i.split(`
|
|
378
|
+
`),n)}}var kb=2e4;function $b(e){return $u(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Ub(e,t){let r=$u(e),n=$u(t);return r===n&&(r==="Object"||r==="Array")}function SE(e,t,r){let{aAnnotation:n,bAnnotation:o}=zr(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=kb&&t.length<=kb&&e!==t){if(e.includes(`
|
|
379
|
+
`)||t.includes(`
|
|
380
|
+
`))return t$(t,e,r);let[c]=RE(t,e,!0),u=c.some(h=>h[0]===Me),d=u$(n,o),m=d(n)+p$(Hb(c,Qe,u)),p=d(o)+d$(Hb(c,Ye,u));return`${m}
|
|
381
|
+
${p}`}let a=ab(e,{forceWritable:!0}),i=ab(t,{forceWritable:!0}),{replacedExpected:s,replacedActual:l}=AE(a,i);return qn(s,l,r)}function AE(e,t,r=new WeakSet,n=new WeakSet){return Ub(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),$0(t).forEach(o=>{let a=t[o],i=e[o];if($b(a))a.asymmetricMatch(i)&&(e[o]=a);else if($b(i))i.asymmetricMatch(a)&&(t[o]=i);else if(Ub(i,a)){let s=AE(i,a,r,n);e[o]=s.replacedActual,t[o]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function u$(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var c$="\xB7";function TE(e){return e.replace(/\s+$/gm,t=>c$.repeat(t.length))}function d$(e){return xe.red(TE(vt(e)))}function p$(e){return xe.green(TE(vt(e)))}function Hb(e,t,r){return e.reduce((n,o)=>n+(o[0]===Me?o[1]:o[0]===t?r?xe.inverse(o[1]):o[1]:""),"")}function Ia(e,t){if(!e)throw new Error(t)}function vn(e,t){return typeof t===e}function f$(e){return e instanceof Promise}function Ku(e,t,r){Object.defineProperty(e,t,r)}function wn(e,t,r){Object.defineProperty(e,t,{value:r})}var yo=Symbol.for("tinyspy:spy"),m$=new Set,h$=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},y$=e=>(Ku(e,yo,{value:{reset:()=>h$(e[yo])}}),e[yo]),Ka=e=>e[yo]||y$(e);function b$(e){Ia(vn("function",e)||vn("undefined",e),"cannot spy on a non-function value");let t=function(...n){let o=Ka(t);o.called=!0,o.callCount++,o.calls.push(n);let a=o.next.shift();if(a){o.results.push(a);let[u,d]=a;if(u==="ok")return d;throw d}let i,s="ok",l=o.results.length;if(o.impl)try{new.target?i=Reflect.construct(o.impl,n,new.target):i=o.impl.apply(this,n),s="ok"}catch(u){throw i=u,s="error",o.results.push([s,u]),u}let c=[s,i];return f$(i)&&i.then(u=>o.resolves[l]=["ok",u],u=>o.resolves[l]=["error",u]),o.results.push(c),i};wn(t,"_isMockFunction",!0),wn(t,"length",e?e.length:0),wn(t,"name",e&&e.name||"spy");let r=Ka(t);return r.reset(),r.impl=e,t}var Vb=(e,t)=>Object.getOwnPropertyDescriptor(e,t),Gb=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function g$(e,t,r){Ia(!vn("undefined",e),"spyOn could not find an object to spy upon"),Ia(vn("object",e)||vn("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!vn("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")})(),a=Vb(e,n),i=Object.getPrototypeOf(e),s=i&&Vb(i,n),l=a||s;Ia(l||n in e,`${String(n)} does not exist`);let c=!1;o==="value"&&l&&!l.value&&l.get&&(o="get",c=!0,r=l.get());let u;l?u=l[o]:o!=="value"?u=()=>e[n]:u=e[n];let d=g=>{let{value:y,...b}=l||{configurable:!0,writable:!0};o!=="value"&&delete b.writable,b[o]=g,Ku(e,n,b)},m=()=>l?Ku(e,n,l):d(u);r||(r=u);let p=b$(r);o==="value"&&Gb(p,u);let h=p[yo];return wn(h,"restore",m),wn(h,"getOriginal",()=>c?u():u),wn(h,"willCall",g=>(h.impl=g,p)),d(c?()=>(Gb(p,r),p):p),m$.add(p),p}var Pi=new Set;function PE(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var v$=0;function E$(e){let t=e,r,n=[],o=[],a=[],i=Ka(e),s={get calls(){return i.calls},get contexts(){return o},get instances(){return n},get invocationCallOrder(){return a},get results(){return i.results.map(([p,h])=>({type:p==="error"?"throw":"return",value:h}))},get settledResults(){return i.resolves.map(([p,h])=>({type:p==="error"?"rejected":"fulfilled",value:h}))},get lastCall(){return i.calls[i.calls.length-1]}},l=[],c=!1;function u(...p){return n.push(this),o.push(this),a.push(++v$),(c?r:l.shift()||r||i.getOriginal()||(()=>{})).apply(this,p)}let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=p=>(d=p,t),t.mockClear=()=>(i.reset(),n=[],o=[],a=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},l=[],t),t.mockRestore=()=>(t.mockReset(),i.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=p=>(r=p,i.willCall(u),t),t.mockImplementationOnce=p=>(l.push(p),t);function m(p,h){let g=r;r=p,i.willCall(u),c=!0;let y=()=>{r=g,c=!1},b=h();return b instanceof Promise?b.then(()=>(y(),t)):(y(),t)}return t.withImplementation=m,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=p=>t.mockImplementation(()=>p),t.mockReturnValueOnce=p=>t.mockImplementationOnce(()=>p),t.mockResolvedValue=p=>t.mockImplementation(()=>Promise.resolve(p)),t.mockResolvedValueOnce=p=>t.mockImplementationOnce(()=>Promise.resolve(p)),t.mockRejectedValue=p=>t.mockImplementation(()=>Promise.reject(p)),t.mockRejectedValueOnce=p=>t.mockImplementationOnce(()=>Promise.reject(p)),Object.defineProperty(t,"mock",{get:()=>s}),i.willCall(u),Pi.add(t),t}function zb(e){let t=E$(g$({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var _$="@@__IMMUTABLE_RECORD__@@",R$="@@__IMMUTABLE_ITERABLE__@@";function w$(e){return e&&(e[R$]||e[_$])}var C$=Object.getPrototypeOf({});function Yb(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function En(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(w$(e))return En(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()} ${Ok(e.sample)}`;if(typeof e.toJSON=="function")return En(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]=En(n,t)}catch(a){r[o]=Yb(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==C$;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=En(e[o],t)}catch(a){delete r[o],r[o]=Yb(a)}}),n=Object.getPrototypeOf(n);return r}}function S$(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function OE(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=SE(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=vt(n.expected,10)),typeof n.actual!="string"&&(n.actual=vt(n.actual,10));try{typeof n.message=="string"&&(n.message=S$(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=OE(n.cause,t,r))}catch{}try{return En(n)}catch(o){return En(new Error(`Failed to fully serialize error: ${o?.message}
|
|
382
|
+
Inner error message: ${n?.message}`))}}var Co=Symbol.for("matchers-object"),So=Symbol.for("$$jest-matchers-object-storybook"),gd=Symbol.for("expect-global"),Xu=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,Co)){let e=new WeakMap;Object.defineProperty(globalThis,Co,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,So)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,So,{configurable:!0,get:()=>({state:globalThis[Co].get(globalThis[gd]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Xu)){let e=Object.create(null);Object.defineProperty(globalThis,Xu,{get:()=>e})}function Xa(e){return globalThis[Co].get(e)}function du(e,t){let r=globalThis[Co],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var Ja=xe.green,vd=xe.red,A$=xe.inverse,T$=xe.bold,mr=xe.dim;function P$(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:a=!1,isNot:i=!1,promise:s="",secondArgument:l="",expectedColor:c=Ja,receivedColor:u=vd,secondArgumentColor:d=Ja}=n,m="",p="expect";return!a&&t!==""&&(m+=mr(`${p}(`)+u(t),p=")"),s!==""&&(m+=mr(`${p}.`)+s,p=""),i&&(m+=`${mr(`${p}.`)}not`,p=""),e.includes(".")?p+=e:(m+=mr(`${p}.`)+e,p=""),r===""?p+="()":(m+=mr(`${p}(`)+c(r),l&&(m+=mr(", ")+d(l)),p=")"),o!==""&&(p+=` // ${o}`),p!==""&&(m+=mr(p)),m}var O$="\xB7";function qE(e){return e.replace(/\s+$/gm,t=>O$.repeat(t.length))}function q$(e){return vd(qE(vt(e)))}function x$(e){return Ja(qE(vt(e)))}function xE(){return{EXPECTED_COLOR:Ja,RECEIVED_COLOR:vd,INVERTED_COLOR:A$,BOLD_WEIGHT:T$,DIM_COLOR:mr,diff:qn,matcherHint:P$,printReceived:q$,printExpected:x$,printDiffOrStringify:SE}}function Ed(){return globalThis[So].customEqualityTesters}function fe(e,t,r,n){return r=r||[],ME(e,t,[],[],r,n?NE:N$)}function Wb(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&At("Function",e.asymmetricMatch)}function M$(e,t){let r=Wb(e),n=Wb(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function ME(e,t,r,n,o,a){let i=!0,s=M$(e,t);if(s!==void 0)return s;let l={equals:fe};for(let h=0;h<o.length;h++){let g=o[h].call(l,e,t,o);if(g!==void 0)return g}if(e instanceof Error&&t instanceof Error)return e.message===t.message;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 h=+e,g=+t;return h===g||Number.isNaN(h)&&Number.isNaN(g)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(Xb(e)&&Xb(t))return e.isEqualNode(t);let u=r.length;for(;u--;){if(r[u]===e)return n[u]===t;if(n[u]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;let d=Kb(e,a),m,p=d.length;if(Kb(t,a).length!==p)return!1;for(;p--;)if(m=d[p],i=a(t,m)&&ME(e[m],t[m],r,n,o,a),!i)return!1;return r.pop(),n.pop(),i}function Kb(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function N$(e,t){return NE(e,t)&&e[t]!==void 0}function NE(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function At(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function Xb(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var jE="@@__IMMUTABLE_KEYED__@@",IE="@@__IMMUTABLE_SET__@@",j$="@@__IMMUTABLE_LIST__@@",Oi="@@__IMMUTABLE_ORDERED__@@",I$="@@__IMMUTABLE_RECORD__@@";function D$(e){return!!(e&&e[jE]&&!e[Oi])}function F$(e){return!!(e&&e[IE]&&!e[Oi])}function qi(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function L$(e){return!!(e&&qi(e)&&e[j$])}function B$(e){return!!(e&&qi(e)&&e[jE]&&e[Oi])}function k$(e){return!!(e&&qi(e)&&e[IE]&&e[Oi])}function $$(e){return!!(e&&qi(e)&&e[I$])}var DE=Symbol.iterator;function Jb(e){return!!(e!=null&&e[DE])}function ct(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Jb(e)||!Jb(t))return;if(e.constructor!==t.constructor)return!1;let a=n.length;for(;a--;)if(n[a]===e)return o[a]===t;n.push(e),o.push(t);let i=[...r.filter(c=>c!==ct),s];function s(c,u){return ct(c,u,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(At("Set",e)||F$(e)){let c=!0;for(let u of e)if(!t.has(u)){let d=!1;for(let m of t)fe(u,m,i)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),o.pop(),c}else if(At("Map",e)||D$(e)){let c=!0;for(let u of e)if(!t.has(u[0])||!fe(u[1],t.get(u[0]),i)){let d=!1;for(let m of t){let p=fe(u[0],m[0],i),h=!1;p===!0&&(h=fe(u[1],m[1],i)),h===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),o.pop(),c}}let l=t[DE]();for(let c of e){let u=l.next();if(u.done||!fe(c,u.value,i))return!1}if(!l.next().done)return!1;if(!L$(e)&&!B$(e)&&!k$(e)&&!$$(e)){let c=Object.entries(e),u=Object.entries(t);if(!fe(c,u))return!1}return n.pop(),o.pop(),!0}function _d(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||_d(Object.getPrototypeOf(e),t)}function U$(e){return Na(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function $o(e,t,r=[]){let n=r.filter(a=>a!==$o),o=(a=new WeakMap)=>(i,s)=>{if(U$(s))return Object.keys(s).every(l=>{if(s[l]!=null&&typeof s[l]=="object"){if(a.has(s[l]))return fe(i[l],s[l],n);a.set(s[l],!0)}let c=i!=null&&_d(i,l)&&fe(i[l],s[l],[...n,o(a)]);return a.delete(s[l]),c})};return o()(e,t)}function Qb(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function Zb(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}function Ju(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),a=r.filter(i=>i!==Ju);return fe(e,t,a,!0)&&fe(n,o)}function H$(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
383
|
+
|
|
384
|
+
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
385
|
+
|
|
386
|
+
Expected: ${t}
|
|
387
|
+
Received: serializes to the same string
|
|
388
|
+
`:n}function V$(e,t){return`${t} ${e}${t===1?"":"s"}`}function pu(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function G$(e,t,r=[]){let n=0,o=(a=new WeakMap)=>(i,s)=>{if(Array.isArray(i)){if(Array.isArray(s)&&s.length===i.length)return s.map((l,c)=>o(a)(i[c],l))}else{if(i instanceof Date)return i;if(Na(i)&&Na(s)){if(fe(i,s,[...r,ct,$o]))return s;let l={};a.set(i,l);for(let c of pu(i))_d(s,c)?l[c]=a.has(i[c])?a.get(i[c]):o(a)(i[c],s[c]):a.has(i[c])||(n+=1,Na(i[c])&&(n+=pu(i[c]).length),o(a)(i[c],s[c]));if(pu(l).length>0)return l}}return i};return{subset:o()(e,t),stripped:n}}var wr=class{constructor(e,t=!1){Ae(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...Xa(e||globalThis[gd]),equals:fe,isNot:this.inverse,customTesters:Ed(),utils:{...xE(),diff:qn,stringify:vt,iterableEquality:ct,subsetEquality:$o}}}[Symbol.for("chai/inspect")](e){let t=vt(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{\u2026}`}},eg=class extends wr{constructor(e,t=!1){if(!At("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=At("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},z$=class extends wr{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},tg=class extends wr{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!fe(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},rg=class extends wr{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(o=>fe(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},Y$=class extends wr{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},ng=class extends wr{constructor(e,t=!1){if(!At("String",e)&&!At("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=At("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},og=class extends wr{constructor(t,r=2,n=!1){if(!At("Number",t))throw new Error("Expected is not a Number");if(!At("Number",r))throw new Error("Precision is not a Number");super(t);Ae(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!At("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${V$("digit",this.precision)})`].join(" ")}},W$=(e,t)=>{t.addMethod(e.expect,"anything",()=>new z$),t.addMethod(e.expect,"any",r=>new Y$(r)),t.addMethod(e.expect,"stringContaining",r=>new eg(r)),t.addMethod(e.expect,"objectContaining",r=>new tg(r)),t.addMethod(e.expect,"arrayContaining",r=>new rg(r)),t.addMethod(e.expect,"stringMatching",r=>new ng(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new og(r,n)),e.expect.not={stringContaining:r=>new eg(r,!0),objectContaining:r=>new tg(r,!0),arrayContaining:r=>new rg(r,!0),stringMatching:r=>new ng(r,!0),closeTo:(r,n)=>new og(r,n,!0)}};function ag(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function FE(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(a){o.result||(o.result={state:"fail"}),o.result.state="fail",(n=o.result).errors||(n.errors=[]),o.result.errors.push(OE(a))}}}var K$=(e,t)=>{let{AssertionError:r}=e,n=Ed();function o(u,d){let m=p=>{let h=FE(t,d);t.addMethod(e.Assertion.prototype,p,h),t.addMethod(globalThis[So].matchers,p,h)};Array.isArray(u)?u.forEach(p=>m(p)):m(u)}["throw","throws","Throw"].forEach(u=>{t.overwriteMethod(e.Assertion.prototype,u,d=>function(...m){let p=t.flag(this,"promise"),h=t.flag(this,"object"),g=t.flag(this,"negate");if(p==="rejects")t.flag(this,"object",()=>{throw h});else if(p==="resolves"&&typeof h!="function"){if(g)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(y,b,t.flag(this,"ssfi"))}}d.apply(this,m)})}),o("withTest",function(u){return t.flag(this,"vitest-test",u),this}),o("toEqual",function(u){let d=t.flag(this,"object"),m=fe(d,u,[...n,ct]);return this.assert(m,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",u,d)}),o("toStrictEqual",function(u){let d=t.flag(this,"object"),m=fe(d,u,[...n,ct,Qb,Ju,Zb],!0);return this.assert(m,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",u,d)}),o("toBe",function(u){let d=this._obj,m=Object.is(d,u),p="";return m||(fe(d,u,[...n,ct,Qb,Ju,Zb],!0)?p="toStrictEqual":fe(d,u,[...n,ct])&&(p="toEqual")),this.assert(m,H$(p),"expected #{this} not to be #{exp} // Object.is equality",u,d)}),o("toMatchObject",function(u){let d=this._obj,m=fe(d,u,[...n,ct,$o]),p=t.flag(this,"negate"),{subset:h,stripped:g}=G$(d,u);if(m&&p||!m&&!p){let y=t.getMessage(this,[m,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",u,h,!1]),b=g===0?y:`${y}
|
|
389
|
+
(${g} matching ${g===1?"property":"properties"} omitted from actual)`;throw new r(b,{showDiff:!0,expected:u,actual:h})}}),o("toMatch",function(u){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 u=="string"?d.includes(u):d.match(u),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",u,d)}),o("toContain",function(u){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(u instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof u}`);return this.assert(d.contains(u),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",u,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){Vt(u,"class name",["string"]);let m=t.flag(this,"negate")?d.value.replace(u,"").trim():`${d.value} ${u}`;return this.assert(d.contains(u),`expected "${d.value}" to contain "${u}"`,`expected "${d.value}" not to contain "${u}"`,m,d.value)}return typeof d=="string"&&typeof u=="string"?this.assert(d.includes(u),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",u,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(u))}),o("toContainEqual",function(u){let d=t.flag(this,"object"),m=Array.from(d).findIndex(p=>fe(p,u,n));this.assert(m!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",u)}),o("toBeTruthy",function(){let u=t.flag(this,"object");this.assert(!!u,"expected #{this} to be truthy","expected #{this} to not be truthy",u,!1)}),o("toBeFalsy",function(){let u=t.flag(this,"object");this.assert(!u,"expected #{this} to be falsy","expected #{this} to not be falsy",u,!1)}),o("toBeGreaterThan",function(u){let d=this._obj;return Vt(d,"actual",["number","bigint"]),Vt(u,"expected",["number","bigint"]),this.assert(d>u,`expected ${d} to be greater than ${u}`,`expected ${d} to be not greater than ${u}`,d,u,!1)}),o("toBeGreaterThanOrEqual",function(u){let d=this._obj;return Vt(d,"actual",["number","bigint"]),Vt(u,"expected",["number","bigint"]),this.assert(d>=u,`expected ${d} to be greater than or equal to ${u}`,`expected ${d} to be not greater than or equal to ${u}`,d,u,!1)}),o("toBeLessThan",function(u){let d=this._obj;return Vt(d,"actual",["number","bigint"]),Vt(u,"expected",["number","bigint"]),this.assert(d<u,`expected ${d} to be less than ${u}`,`expected ${d} to be not less than ${u}`,d,u,!1)}),o("toBeLessThanOrEqual",function(u){let d=this._obj;return Vt(d,"actual",["number","bigint"]),Vt(u,"expected",["number","bigint"]),this.assert(d<=u,`expected ${d} to be less than or equal to ${u}`,`expected ${d} to be not less than or equal to ${u}`,d,u,!1)}),o("toBeNaN",function(){return this.be.NaN}),o("toBeUndefined",function(){return this.be.undefined}),o("toBeNull",function(){return this.be.null}),o("toBeDefined",function(){let u=t.flag(this,"negate");return t.flag(this,"negate",!1),u?this.be.undefined:this.not.be.undefined}),o("toBeTypeOf",function(u){let d=typeof this._obj,m=u===d;return this.assert(m,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",u,d)}),o("toBeInstanceOf",function(u){return this.instanceOf(u)}),o("toHaveLength",function(u){return this.have.length(u)}),o("toHaveProperty",function(...u){Array.isArray(u[0])&&(u[0]=u[0].map(C=>String(C).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[m,p]=u,h=()=>Object.prototype.hasOwnProperty.call(d,m)?{value:d[m],exists:!0}:t.getPathInfo(d,m),{value:g,exists:y}=h(),b=y&&(u.length===1||fe(p,g,n)),v=u.length===1?"":` with value ${t.objDisplay(p)}`;return this.assert(b,`expected #{this} to have property "${m}"${v}`,`expected #{this} to not have property "${m}"${v}`,p,y?g:void 0)}),o("toBeCloseTo",function(u,d=2){let m=this._obj,p=!1,h=0,g=0;return u===Number.POSITIVE_INFINITY&&m===Number.POSITIVE_INFINITY||u===Number.NEGATIVE_INFINITY&&m===Number.NEGATIVE_INFINITY?p=!0:(h=10**-d/2,g=Math.abs(m-u),p=g<h),this.assert(p,`expected #{this} to be close to #{exp}, received difference is ${g}, but expected ${h}`,`expected #{this} to not be close to #{exp}, received difference is ${g}, but expected ${h}`,u,m,!1)});let a=u=>{if(!PE(u._obj))throw new TypeError(`${t.inspect(u._obj)} is not a spy or a call to a spy!`)},i=u=>(a(u),u._obj),s=u=>{let d=u%10,m=u%100;return d===1&&m!==11?`${u}st`:d===2&&m!==12?`${u}nd`:d===3&&m!==13?`${u}rd`:`${u}th`},l=(u,d,m)=>(u.mock.calls&&(d+=xe.gray(`
|
|
390
|
+
|
|
391
|
+
Received:
|
|
392
|
+
|
|
393
|
+
${u.mock.calls.map((p,h)=>{let g=xe.bold(` ${s(h+1)} ${u.getMockName()} call:
|
|
394
|
+
|
|
395
|
+
`);return m?g+=qn(m,p,{omitAnnotationLines:!0}):g+=vt(p).split(`
|
|
396
|
+
`).map(y=>` ${y}`).join(`
|
|
397
|
+
`),g+=`
|
|
398
|
+
`,g}).join(`
|
|
399
|
+
`)}`)),d+=xe.gray(`
|
|
400
|
+
|
|
401
|
+
Number of calls: ${xe.bold(u.mock.calls.length)}
|
|
402
|
+
`),d),c=(u,d,m,p)=>(m+=xe.gray(`
|
|
403
|
+
|
|
404
|
+
Received:
|
|
405
|
+
|
|
406
|
+
${d.map((h,g)=>{let y=xe.bold(` ${s(g+1)} ${u.getMockName()} call return:
|
|
407
|
+
|
|
408
|
+
`);return p?y+=qn(p,h.value,{omitAnnotationLines:!0}):y+=vt(h).split(`
|
|
409
|
+
`).map(b=>` ${b}`).join(`
|
|
410
|
+
`),y+=`
|
|
411
|
+
`,y}).join(`
|
|
412
|
+
`)}`),m+=xe.gray(`
|
|
413
|
+
|
|
414
|
+
Number of calls: ${xe.bold(u.mock.calls.length)}
|
|
415
|
+
`),m);o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(u){let d=i(this),m=d.getMockName(),p=d.mock.calls.length;return this.assert(p===u,`expected "${m}" to be called #{exp} times, but got ${p} times`,`expected "${m}" to not be called #{exp} times`,u,p,!1)}),o("toHaveBeenCalledOnce",function(){let u=i(this),d=u.getMockName(),m=u.mock.calls.length;return this.assert(m===1,`expected "${d}" to be called once, but got ${m} times`,`expected "${d}" to not be called once`,1,m,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let u=i(this),d=u.getMockName(),m=u.mock.calls.length,p=m>0,h=t.flag(this,"negate"),g=t.getMessage(this,[p,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${m} times`,!0,p]);if(p&&h&&(g=l(u,g)),p&&h||!p&&!h)throw new r(g)}),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...u){let d=i(this),m=d.getMockName(),p=d.mock.calls.some(y=>fe(y,u,[...n,ct])),h=t.flag(this,"negate"),g=t.getMessage(this,[p,`expected "${m}" to be called with arguments: #{exp}`,`expected "${m}" to not be called with arguments: #{exp}`,u]);if(p&&h||!p&&!h)throw new r(l(d,g,u))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(u,...d){let m=i(this),p=m.getMockName(),h=m.mock.calls[u-1],g=m.mock.calls.length,y=u<=g;this.assert(fe(h,d,[...n,ct]),`expected ${s(u)} "${p}" call to have been called with #{exp}${y?"":`, but called only ${g} times`}`,`expected ${s(u)} "${p}" call to not have been called with #{exp}`,d,h,y)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...u){let d=i(this),m=d.getMockName(),p=d.mock.calls[d.mock.calls.length-1];this.assert(fe(p,u,[...n,ct]),`expected last "${m}" call to have been called with #{exp}`,`expected last "${m}" call to not have been called with #{exp}`,u,p)}),o(["toThrow","toThrowError"],function(u){if(typeof u=="string"||typeof u>"u"||u instanceof RegExp)return this.throws(u);let d=this._obj,m=t.flag(this,"promise"),p=t.flag(this,"negate"),h=null;if(m==="rejects")h=d;else if(m==="resolves"&&typeof d!="function"){if(p)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(g,y,t.flag(this,"ssfi"))}}else{let g=!1;try{d()}catch(y){g=!0,h=y}if(!g&&!p){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",b={showDiff:!1};throw new r(y,b,t.flag(this,"ssfi"))}}if(typeof u=="function"){let g=u.name||u.prototype.constructor.name;return this.assert(h&&h instanceof u,`expected error to be instance of ${g}`,`expected error not to be instance of ${g}`,u,h)}if(u instanceof Error)return this.assert(h&&u.message===h.message,`expected error to have message: ${u.message}`,`expected error not to have message: ${u.message}`,u.message,h&&h.message);if(typeof u=="object"&&"asymmetricMatch"in u&&typeof u.asymmetricMatch=="function"){let g=u;return this.assert(h&&g.asymmetricMatch(h),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",g,h)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof u}"`)}),[{name:"toHaveResolved",condition:u=>u.mock.settledResults.length>0&&u.mock.settledResults.some(({type:d})=>d==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:u=>u.mock.calls.length>0&&u.mock.results.some(({type:d})=>d!=="throw"),action:"called"}].forEach(({name:u,condition:d,action:m})=>{o(u,function(){let p=i(this),h=p.getMockName(),g=d(p);this.assert(g,`expected "${h}" to be successfully ${m} at least once`,`expected "${h}" to not be successfully ${m}`,g,!g,!1)})}),[{name:"toHaveResolvedTimes",condition:(u,d)=>u.mock.settledResults.reduce((m,{type:p})=>p==="fulfilled"?++m:m,0)===d,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(u,d)=>u.mock.results.reduce((m,{type:p})=>p==="throw"?m:++m,0)===d,action:"called"}].forEach(({name:u,condition:d,action:m})=>{o(u,function(p){let h=i(this),g=h.getMockName(),y=d(h,p);this.assert(y,`expected "${g}" to be successfully ${m} ${p} times`,`expected "${g}" to not be successfully ${m} ${p} times`,`expected resolved times: ${p}`,`received resolved times: ${y}`,!1)})}),[{name:"toHaveResolvedWith",condition:(u,d)=>u.mock.settledResults.some(({type:m,value:p})=>m==="fulfilled"&&fe(d,p)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(u,d)=>u.mock.results.some(({type:m,value:p})=>m==="return"&&fe(d,p)),action:"return"}].forEach(({name:u,condition:d,action:m})=>{o(u,function(p){let h=i(this),g=d(h,p),y=t.flag(this,"negate");if(g&&y||!g&&!y){let b=h.getMockName(),v=t.getMessage(this,[g,`expected "${b}" to ${m} with: #{exp} at least once`,`expected "${b}" to not ${m} with: #{exp}`,p]),C=m==="return"?h.mock.results:h.mock.settledResults;throw new r(c(h,C,v,p))}})}),[{name:"toHaveLastResolvedWith",condition:(u,d)=>{let m=u.mock.settledResults[u.mock.settledResults.length-1];return m&&m.type==="fulfilled"&&fe(m.value,d)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(u,d)=>{let m=u.mock.results[u.mock.results.length-1];return m&&m.type==="return"&&fe(m.value,d)},action:"return"}].forEach(({name:u,condition:d,action:m})=>{o(u,function(p){let h=i(this),g=m==="return"?h.mock.results:h.mock.settledResults,y=g[g.length-1],b=h.getMockName();this.assert(d(h,p),`expected last "${b}" call to ${m} #{exp}`,`expected last "${b}" call to not ${m} #{exp}`,p,y?.value)})}),[{name:"toHaveNthResolvedWith",condition:(u,d,m)=>{let p=u.mock.settledResults[d-1];return p&&p.type==="fulfilled"&&fe(p.value,m)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(u,d,m)=>{let p=u.mock.results[d-1];return p&&p.type==="return"&&fe(p.value,m)},action:"return"}].forEach(({name:u,condition:d,action:m})=>{o(u,function(p,h){let g=i(this),y=g.getMockName(),b=(m==="return"?g.mock.results:g.mock.settledResults)[p-1],v=`${s(p)} call`;this.assert(d(g,p,h),`expected ${v} "${y}" call to ${m} #{exp}`,`expected ${v} "${y}" call to not ${m} #{exp}`,h,b?.value)})}),o("toSatisfy",function(u,d){return this.be.satisfy(u,d)}),o("withContext",function(u){for(let d in u)t.flag(this,d,u[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let u=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),m=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof m?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof m}'.`);let p=new Proxy(this,{get:(h,g,y)=>{let b=Reflect.get(h,g,y);return typeof b!="function"?b instanceof e.Assertion?p:b:async(...v)=>{let C=m.then(S=>(t.flag(this,"object",S),b.call(this,...v)),S=>{let A=new r(`promise rejected "${t.inspect(S)}" instead of resolving`,{showDiff:!1});throw A.cause=S,A.stack=u.stack.replace(u.message,A.message),A});return ag(d,C)}}});return p}),t.addProperty(e.Assertion.prototype,"rejects",function(){let u=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),m=t.flag(this,"object"),p=typeof m=="function"?m():m;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof p?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof p}'.`);let h=new Proxy(this,{get:(g,y,b)=>{let v=Reflect.get(g,y,b);return typeof v!="function"?v instanceof e.Assertion?h:v:async(...C)=>{let S=p.then(A=>{let _=new r(`promise resolved "${t.inspect(A)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:A});throw _.stack=u.stack.replace(u.message,_.message),_},A=>(t.flag(this,"object",A),v.call(this,...C)));return ag(d,S)}}});return h})};function X$(e,t){let r=e._obj,n=Mt.flag(e,"negate"),o=Mt.flag(e,"promise")||"",a={...xE(),diff:qn,stringify:vt,iterableEquality:ct,subsetEquality:$o};return{state:{...Xa(t),customTesters:Ed(),isNot:n,utils:a,promise:o,equals:fe,suppressedErrors:[],soft:Mt.flag(e,"soft"),poll:Mt.flag(e,"poll")},isNot:n,obj:r}}var ig=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function J$(e,t,r){return(n,o)=>{Object.entries(r).forEach(([a,i])=>{function s(...d){let{state:m,isNot:p,obj:h}=X$(this,t),g=i.call(m,h,...d);if(g&&typeof g=="object"&&g instanceof Promise)return g.then(({pass:S,message:A,actual:_,expected:E})=>{if(S&&p||!S&&!p)throw new ig(A(),_,E)});let{pass:y,message:b,actual:v,expected:C}=g;if(y&&p||!y&&!p)throw new ig(b(),v,C)}let l=FE(o,s);o.addMethod(globalThis[So].matchers,a,l),o.addMethod(e.Assertion.prototype,a,l);class c extends wr{constructor(m=!1,...p){super(p,m)}asymmetricMatch(m){let{pass:p}=i.call(this.getMatcherContext(t),m,...this.sample);return this.inverse?!p:p}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let u=(...d)=>new c(!1,...d);Object.defineProperty(t,a,{configurable:!0,enumerable:!0,value:u,writable:!0}),Object.defineProperty(t.not,a,{configurable:!0,enumerable:!0,value:(...d)=>new c(!0,...d),writable:!0}),Object.defineProperty(globalThis[Xu],a,{configurable:!0,enumerable:!0,value:u,writable:!0})})}}var Q$=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Rn(J$(e,r,n))})};function Z$(){Rn(Q$),Rn(K$),Rn(W$);let e=(n,o)=>{let{assertionCalls:a}=Xa(e);return du({assertionCalls:a+1,soft:!1},e),kr(n,o)};Object.assign(e,kr),e.getState=()=>Xa(e),e.setState=n=>du(n,e),e.extend=n=>kr.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.unreachable=n=>{q.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return du({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Mt.addMethod(e,"assertions",t),Mt.addMethod(e,"hasAssertions",r),e.extend(Wv),e}var LE=Z$();Object.defineProperty(globalThis,gd,{value:LE,writable:!0,configurable:!0});var Qu=new Set;function e5(e){return Qu.add(e),()=>void Qu.delete(e)}function t5(e){let t=e?zb(e):zb();return r5(t)}function r5(e){let t=sg(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>sg(r(n)),t}function sg(e){let t=Ka(e),r=t.impl;return t.willCall(function(...n){return Qu.forEach(o=>o(e,n)),r?.apply(this,n)}),e}function n5(){Pi.forEach(e=>e.mockClear())}function o5(){Pi.forEach(e=>e.mockReset())}function a5(){Pi.forEach(e=>e.mockRestore())}var BE={};bc(BE,{buildQueries:()=>er,configure:()=>y3,createEvent:()=>Fa,findAllByAltText:()=>H1,findAllByDisplayValue:()=>F1,findAllByLabelText:()=>y1,findAllByPlaceholderText:()=>S1,findAllByRole:()=>r_,findAllByTestId:()=>l_,findAllByText:()=>x1,findAllByTitle:()=>K1,findByAltText:()=>V1,findByDisplayValue:()=>L1,findByLabelText:()=>b1,findByPlaceholderText:()=>A1,findByRole:()=>n_,findByTestId:()=>u_,findByText:()=>M1,findByTitle:()=>X1,fireEvent:()=>qo,getAllByAltText:()=>$1,getAllByDisplayValue:()=>I1,getAllByLabelText:()=>g1,getAllByPlaceholderText:()=>w1,getAllByRole:()=>e_,getAllByTestId:()=>i_,getAllByText:()=>O1,getAllByTitle:()=>Y1,getByAltText:()=>U1,getByDisplayValue:()=>D1,getByLabelText:()=>v1,getByPlaceholderText:()=>C1,getByRole:()=>t_,getByTestId:()=>s_,getByText:()=>q1,getByTitle:()=>W1,getConfig:()=>ue,getDefaultNormalizer:()=>Td,getElementError:()=>Mi,getMultipleElementsFoundError:()=>Ni,getNodeText:()=>Uo,getQueriesForElement:()=>lc,getRoles:()=>u1,getSuggestedQuery:()=>Za,isInaccessible:()=>xi,logDOM:()=>Zu,logRoles:()=>_3,makeFindQuery:()=>Mn,makeGetAllQuery:()=>qd,makeSingleQuery:()=>xn,prettyDOM:()=>Po,prettyFormat:()=>Rd,queries:()=>ei,queryAllByAltText:()=>B1,queryAllByAttribute:()=>Wr,queryAllByDisplayValue:()=>N1,queryAllByLabelText:()=>E1,queryAllByPlaceholderText:()=>_1,queryAllByRole:()=>Q1,queryAllByTestId:()=>o_,queryAllByText:()=>T1,queryAllByTitle:()=>G1,queryByAltText:()=>k1,queryByAttribute:()=>d1,queryByDisplayValue:()=>j1,queryByLabelText:()=>m1,queryByPlaceholderText:()=>R1,queryByRole:()=>Z1,queryByTestId:()=>a_,queryByText:()=>P1,queryByTitle:()=>z1,queryHelpers:()=>I3,screen:()=>uU,waitFor:()=>Od,waitForElementToBeRemoved:()=>rU,within:()=>lc,wrapAllByQueryWithSuggestion:()=>it,wrapSingleQueryWithSuggestion:()=>vr});var Rd=dt(FN()),i5=Object.prototype.toString;function lg(e){return typeof e=="function"||i5.call(e)==="[object Function]"}function s5(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var l5=Math.pow(2,53)-1;function u5(e){var t=s5(e);return Math.min(Math.max(t,0),l5)}function St(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"&&!lg(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=u5(n.length),a=lg(r)?Object(new r(o)):new Array(o),i=0,s;i<o;)s=n[i],t?a[i]=t(s,i):a[i]=s,i+=1;return a.length=o,a}function Ao(e){"@babel/helpers - typeof";return Ao=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},Ao(e)}function c5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ug(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,kE(n.key),n)}}function d5(e,t,r){return t&&ug(e.prototype,t),r&&ug(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p5(e,t,r){return t=kE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kE(e){var t=f5(e,"string");return Ao(t)==="symbol"?t:String(t)}function f5(e,t){if(Ao(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ao(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var m5=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];c5(this,e),p5(this,"items",void 0),this.items=t}return d5(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),h5=typeof Set>"u"?Set:m5;function et(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var y5={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"},b5={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 g5(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=b5[t])!==null&&n!==void 0&&n.has(r))})}function $E(e,t){return g5(e,t)}function v5(e){var t=_5(e);if(t===null||t==="presentation"){var r=E5(e);if(t!=="presentation"||$E(e,r||""))return r}return t}function E5(e){var t=y5[et(e)];if(t!==void 0)return t;switch(et(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!$E(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function _5(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Se(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function UE(e){return Se(e)&&et(e)==="caption"}function Da(e){return Se(e)&&et(e)==="input"}function R5(e){return Se(e)&&et(e)==="optgroup"}function w5(e){return Se(e)&&et(e)==="select"}function C5(e){return Se(e)&&et(e)==="table"}function S5(e){return Se(e)&&et(e)==="textarea"}function A5(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function T5(e){return Se(e)&&et(e)==="fieldset"}function P5(e){return Se(e)&&et(e)==="legend"}function O5(e){return Se(e)&&et(e)==="slot"}function q5(e){return Se(e)&&e.ownerSVGElement!==void 0}function x5(e){return Se(e)&&et(e)==="svg"}function M5(e){return q5(e)&&et(e)==="title"}function Qa(e,t){if(Se(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function Yt(e,t){return Se(e)?t.indexOf(v5(e))!==-1:!1}function N5(e){return e.trim().replace(/\s\s+/g," ")}function j5(e,t){if(!Se(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function I5(e){return Yt(e,["button","combobox","listbox","textbox"])||HE(e,"range")}function HE(e,t){if(!Se(e))return!1;switch(t){case"range":return Yt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function cg(e,t){var r=St(e.querySelectorAll(t));return Qa(e,"aria-owns").forEach(function(n){r.push.apply(r,St(n.querySelectorAll(t)))}),r}function D5(e){return w5(e)?e.selectedOptions||cg(e,"[selected]"):cg(e,'[aria-selected="true"]')}function F5(e){return Yt(e,["none","presentation"])}function L5(e){return UE(e)}function B5(e){return Yt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function k5(e){return!1}function $5(e){return Da(e)||S5(e)?e.value:e.textContent||""}function dg(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function VE(e){var t=et(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function GE(e){if(VE(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Se(r)){var n=GE(r);n!==null&&(t=n)}}),t}function U5(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):GE(e)}function H5(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return St(t);if(!VE(e))return null;var r=e.ownerDocument;return St(r.querySelectorAll("label")).filter(function(n){return U5(n)===e})}function V5(e){var t=e.assignedNodes();return t.length===0?St(e.childNodes):t}function zE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new h5,n=A5(e),o=t.compute,a=o===void 0?"name":o,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,l=t.getComputedStyle,c=l===void 0?n.getComputedStyle.bind(n):l,u=t.hidden,d=u===void 0?!1:u;function m(b,v){var C="";if(Se(b)&&s){var S=c(b,"::before"),A=dg(S);C="".concat(A," ").concat(C)}var _=O5(b)?V5(b):St(b.childNodes).concat(Qa(b,"aria-owns"));if(_.forEach(function(P){var N=y(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),B=Se(P)?c(P).getPropertyValue("display"):"inline",j=B!=="inline"?" ":"";C+="".concat(j).concat(N).concat(j)}),Se(b)&&s){var E=c(b,"::after"),R=dg(E);C="".concat(C," ").concat(R)}return C.trim()}function p(b,v){var C=b.getAttributeNode(v);return C!==null&&!r.has(C)&&C.value.trim()!==""?(r.add(C),C.value):null}function h(b){return Se(b)?p(b,"title"):null}function g(b){if(!Se(b))return null;if(T5(b)){r.add(b);for(var v=St(b.childNodes),C=0;C<v.length;C+=1){var S=v[C];if(P5(S))return y(S,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(C5(b)){r.add(b);for(var A=St(b.childNodes),_=0;_<A.length;_+=1){var E=A[_];if(UE(E))return y(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(x5(b)){r.add(b);for(var R=St(b.childNodes),P=0;P<R.length;P+=1){var N=R[P];if(M5(N))return N.textContent}return null}else if(et(b)==="img"||et(b)==="area"){var B=p(b,"alt");if(B!==null)return B}else if(R5(b)){var j=p(b,"label");if(j!==null)return j}if(Da(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var F=p(b,"value");if(F!==null)return F;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var T=H5(b);if(T!==null&&T.length!==0)return r.add(b),St(T).map(function(z){return y(z,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(z){return z.length>0}).join(" ");if(Da(b)&&b.type==="image"){var M=p(b,"alt");if(M!==null)return M;var D=p(b,"title");return D!==null?D:"Submit Query"}if(Yt(b,["button"])){var Y=m(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(Y!=="")return Y}return null}function y(b,v){if(r.has(b))return"";if(!d&&j5(b,c)&&!v.isReferenced)return r.add(b),"";var C=Se(b)?b.getAttributeNode("aria-labelledby"):null,S=C!==null&&!r.has(C)?Qa(b,"aria-labelledby"):[];if(a==="name"&&!v.isReferenced&&S.length>0)return r.add(C),S.map(function(B){return y(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var A=v.recursion&&I5(b)&&a==="name";if(!A){var _=(Se(b)&&b.getAttribute("aria-label")||"").trim();if(_!==""&&a==="name")return r.add(b),_;if(!F5(b)){var E=g(b);if(E!==null)return r.add(b),E}}if(Yt(b,["menu"]))return r.add(b),"";if(A||v.isEmbeddedInLabel||v.isReferenced){if(Yt(b,["combobox","listbox"])){r.add(b);var R=D5(b);return R.length===0?Da(b)?b.value:"":St(R).map(function(B){return y(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(HE(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(Yt(b,["textbox"]))return r.add(b),$5(b)}if(B5(b)||Se(b)&&v.isReferenced||L5(b)||k5()){var P=m(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});if(P!=="")return r.add(b),P}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),m(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});var N=h(b);return N!==null?(r.add(b),N):(r.add(b),"")}return N5(y(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function To(e){"@babel/helpers - typeof";return To=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},To(e)}function pg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function fg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pg(Object(r),!0).forEach(function(n){G5(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function G5(e,t,r){return t=z5(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z5(e){var t=Y5(e,"string");return To(t)==="symbol"?t:String(t)}function Y5(e,t){if(To(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(To(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function YE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Qa(e,"aria-describedby").map(function(o){return zE(o,fg(fg({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function W5(e){return Yt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function wd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return W5(e)?"":zE(e,t)}var yt=dt(wD()),K5=dt(CD());function WE(e){return e.replace(/</g,"<").replace(/>/g,">")}var X5=(e,t,r,n,o,a,i)=>{let s=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=i(u,r,s,o,a);return typeof u!="string"&&(d.indexOf(`
|
|
416
|
+
`)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+c+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},J5=3,Q5=(e,t,r,n,o,a)=>e.map(i=>{let s=typeof i=="string"?KE(i,t):a(i,t,r,n,o);return s===""&&typeof i=="object"&&i!==null&&i.nodeType!==J5?"":t.spacingOuter+r+s}).join(""),KE=(e,t)=>{let r=t.colors.content;return r.open+WE(e)+r.close},Z5=(e,t)=>{let r=t.colors.comment;return r.open+"<\!--"+WE(e)+"-->"+r.close},e3=(e,t,r,n,o)=>{let a=n.colors.tag;return a.open+"<"+e+(t&&a.close+t+n.spacingOuter+o+a.open)+(r?">"+a.close+r+n.spacingOuter+o+a.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+a.close},t3=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},r3=1,XE=3,JE=8,QE=11,n3=/^((HTML|SVG)\w*)?Element$/,ZE=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},o3=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===r3&&(n3.test(t)||ZE(e))||r===XE&&t==="Text"||r===JE&&t==="Comment"||r===QE&&t==="DocumentFragment"};function a3(e){return e.nodeType===XE}function i3(e){return e.nodeType===JE}function fu(e){return e.nodeType===QE}function s3(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||ZE(t))&&o3(t)},serialize:(t,r,n,o,a,i)=>{if(a3(t))return KE(t.data,r);if(i3(t))return Z5(t.data,r);let s=fu(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?t3(s,r):e3(s,X5(fu(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),fu(t)?{}:Array.from(t.attributes).reduce((l,c)=>(l[c.name]=c.value,l),{}),r,n+r.indent,o,a,i),Q5(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,a,i),r,n)}}}var e1=null,Cd=null,Sd=null;try{let e=module&&module.require;Cd=e.call(module,"fs").readFileSync,Sd=e.call(module,"@babel/code-frame").codeFrameColumns,e1=e.call(module,"chalk")}catch{}function l3(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[a,i,s]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],l="";try{l=Cd(a,"utf-8")}catch{return""}let c=Sd(l,{start:{line:i,column:s}},{highlightCode:!0,linesBelow:0});return e1.dim(n)+`
|
|
417
|
+
`+c+`
|
|
418
|
+
`}function u3(){if(!Cd||!Sd)return"";let e=new Error().stack.split(`
|
|
419
|
+
`).slice(1).find(t=>!t.includes("node_modules/"));return l3(e)}var t1=3;function mu(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Ad(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function r1(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Zt(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var c3=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=process.env)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:d3}=Rd.plugins,p3=1,f3=8;function m3(e){return e.nodeType!==f3&&(e.nodeType!==p3||!e.matches(ue().defaultIgnore))}function Po(e,t,r){if(r===void 0&&(r={}),e||(e=Ad().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"u"&&process.env.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=m3,...a}=r,i=Rd.format(e,{plugins:[s3(o),d3],printFunctionName:!1,highlight:c3(),...a});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}var Zu=function(){let e=u3();console.log(e?Po(...arguments)+`
|
|
420
|
+
|
|
421
|
+
`+e:Po(...arguments))},$r={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Po(t),n=new Error([e,"Ignored nodes: comments, "+$r.defaultIgnore+`
|
|
422
|
+
`+r].filter(Boolean).join(`
|
|
423
|
+
|
|
424
|
+
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function h3(e){try{return $r._disableExpensiveErrorDiagnostics=!0,e()}finally{$r._disableExpensiveErrorDiagnostics=!1}}function y3(e){typeof e=="function"&&(e=e($r)),$r={...$r,...e}}function ue(){return $r}var b3=["button","meter","output","progress","select","textarea","input"];function n1(e){return b3.includes(e.nodeName.toLowerCase())?"":e.nodeType===t1?e.textContent:Array.from(e.childNodes).map(t=>n1(t)).join("")}function ec(e){let t;return e.tagName.toLowerCase()==="label"?t=n1(e):t=e.value||e.textContent,t}function o1(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!g3(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function g3(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function a1(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),a=o?o.split(" "):[];return a.length?a.map(i=>{let s=e.querySelector('[id="'+i+'"]');return s?{content:ec(s),formControl:null}:{content:"",formControl:null}}):Array.from(o1(t)).map(i=>{let s=ec(i),l=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:s,formControl:l}})}function i1(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function $n(e,t,r,n){if(typeof e!="string")return!1;i1(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):s1(r,o)}function Kt(e,t,r,n){if(typeof e!="string")return!1;i1(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?s1(r,o):o===String(r)}function Td(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function Yr(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Td({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function s1(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function Uo(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===t1&&!!t.textContent).map(t=>t.textContent).join("")}var v3=E3(yt.elementRoles);function l1(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function xi(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=l1}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function Pd(e){for(let{match:t,roles:r}of v3)if(t(e))return[...r];return[]}function E3(e){function t(i){let{name:s,attributes:l}=i;return""+s+l.map(c=>{let{name:u,value:d,constraints:m=[]}=c,p=m.indexOf("undefined")!==-1,h=m.indexOf("set")!==-1;return typeof d<"u"?"["+u+'="'+d+'"]':p?":not(["+u+"])":h?"["+u+"]:not(["+u+'=""])':"["+u+"]"}).join("")}function r(i){let{attributes:s=[]}=i;return s.length}function n(i,s){let{specificity:l}=i,{specificity:c}=s;return c-l}function o(i){let{attributes:s=[]}=i,l=s.findIndex(u=>u.value&&u.name==="type"&&u.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);let c=t({...i,attributes:s});return u=>l>=0&&u.type!=="text"?!1:u.matches(c)}let a=[];for(let[i,s]of e.entries())a=[...a,{match:o(i),roles:Array.from(s),specificity:r(i)}];return a.sort(n)}function u1(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((a,i)=>[...a,...n(i)],[])]}return n(e).filter(o=>r===!1?xi(o)===!1:!0).reduce((o,a)=>{let i=[];return a.hasAttribute("role")?i=a.getAttribute("role").split(" ").slice(0,1):i=Pd(a),i.reduce((s,l)=>Array.isArray(s[l])?{...s,[l]:[...s[l],a]}:{...s,[l]:[a]},o)},{})}function c1(e,t){let{hidden:r,includeDescription:n}=t,o=u1(e,{hidden:r});return Object.entries(o).filter(a=>{let[i]=a;return i!=="generic"}).map(a=>{let[i,s]=a,l="-".repeat(50),c=s.map(u=>{let d='Name "'+wd(u,{computedStyleSupportsPseudoElements:ue().computedStyleSupportsPseudoElements})+`":
|
|
425
|
+
`,m=Po(u.cloneNode(!1));if(n){let p='Description "'+YE(u,{computedStyleSupportsPseudoElements:ue().computedStyleSupportsPseudoElements})+`":
|
|
426
|
+
`;return""+d+p+m}return""+d+m}).join(`
|
|
427
|
+
|
|
428
|
+
`);return i+`:
|
|
429
|
+
|
|
430
|
+
`+c+`
|
|
431
|
+
|
|
432
|
+
`+l}).join(`
|
|
433
|
+
`)}var _3=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(c1(e,{hidden:r}))};function R3(e){return e.tagName==="OPTION"?e.selected:Ho(e,"aria-selected")}function w3(e){return e.getAttribute("aria-busy")==="true"}function C3(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Ho(e,"aria-checked")}function S3(e){return Ho(e,"aria-pressed")}function A3(e){var t,r;return(t=(r=Ho(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function T3(e){return Ho(e,"aria-expanded")}function Ho(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function P3(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function O3(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function q3(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function x3(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function M3(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var mg=Td();function N3(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function hg(e){return new RegExp(N3(e.toLowerCase()),"i")}function cr(e,t,r,n){let{variant:o,name:a}=n,i="",s={},l=[["Role","TestId"].includes(e)?r:hg(r)];a&&(s.name=hg(a)),e==="Role"&&xi(t)&&(s.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
434
|
+
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
435
|
+
`),Object.keys(s).length>0&&l.push(s);let c=o+"By"+e;return{queryName:e,queryMethod:c,queryArgs:l,variant:o,warning:i,toString(){i&&console.warn(i);let[u,d]=l;return u=typeof u=="string"?"'"+u+"'":u,d=d?", { "+Object.entries(d).map(m=>{let[p,h]=m;return p+": "+h}).join(", ")+" }":"",c+"("+u+d+")"}}}function dr(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Za(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(ue().defaultIgnore))return;let a=(n=e.getAttribute("role"))!=null?n:(o=Pd(e))==null?void 0:o[0];if(a!=="generic"&&dr("Role",r,a))return cr("Role",e,a,{variant:t,name:wd(e,{computedStyleSupportsPseudoElements:ue().computedStyleSupportsPseudoElements})});let i=a1(document,e).map(m=>m.content).join(" ");if(dr("LabelText",r,i))return cr("LabelText",e,i,{variant:t});let s=e.getAttribute("placeholder");if(dr("PlaceholderText",r,s))return cr("PlaceholderText",e,s,{variant:t});let l=mg(Uo(e));if(dr("Text",r,l))return cr("Text",e,l,{variant:t});if(dr("DisplayValue",r,e.value))return cr("DisplayValue",e,mg(e.value),{variant:t});let c=e.getAttribute("alt");if(dr("AltText",r,c))return cr("AltText",e,c,{variant:t});let u=e.getAttribute("title");if(dr("Title",r,u))return cr("Title",e,u,{variant:t});let d=e.getAttribute(ue().testIdAttribute);if(dr("TestId",r,d))return cr("TestId",e,d,{variant:t})}function Aa(e,t){e.stack=t.stack.replace(t.message,e.message)}function j3(e,t){let{container:r=Ad(),timeout:n=ue().asyncUtilTimeout,showOriginalStackTrace:o=ue().showOriginalStackTrace,stackTraceError:a,interval:i=50,onTimeout:s=c=>(Object.defineProperty(c,"message",{value:ue().getElementError(c.message,r).message}),c),mutationObserverOptions:l={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,u)=>{let d,m,p,h=!1,g="idle",y=setTimeout(A,n),b=mu();if(b){let{unstable_advanceTimersWrapper:_}=ue();for(S();!h;){if(!mu()){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||Aa(E,a),u(E);return}if(await _(async()=>{jest.advanceTimersByTime(i)}),h)break;S()}}else{try{Zt(r)}catch(E){u(E);return}m=setInterval(C,i);let{MutationObserver:_}=r1(r);p=new _(C),p.observe(r,l),S()}function v(_,E){h=!0,clearTimeout(y),b||(clearInterval(m),p.disconnect()),_?u(_):c(E)}function C(){if(mu()){let _=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||Aa(_,a),u(_)}else return S()}function S(){if(g!=="pending")try{let _=h3(e);typeof _?.then=="function"?(g="pending",_.then(E=>{g="resolved",v(null,E)},E=>{g="rejected",d=E})):v(null,_)}catch(_){d=_}}function A(){let _;d?(_=d,!o&&_.name==="TestingLibraryElementError"&&Aa(_,a)):(_=new Error("Timed out in waitFor."),o||Aa(_,a)),v(s(_),null)}})}function Od(e,t){let r=new Error("STACK_TRACE_MESSAGE");return ue().asyncWrapper(()=>j3(e,{stackTraceError:r,...t}))}function Mi(e,t){return ue().getElementError(e,t)}function Ni(e,t){return Mi(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Wr(e,t,r,n){let{exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=n===void 0?{}:n,l=o?Kt:$n,c=Yr({collapseWhitespace:a,trim:i,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(u=>l(u.getAttribute(e),u,r,c))}function d1(e,t,r,n){let o=Wr(e,t,r,n);if(o.length>1)throw Ni("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function xn(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];let i=e(r,...o);if(i.length>1){let s=i.map(l=>Mi(null,l).message).join(`
|
|
436
|
+
|
|
437
|
+
`);throw Ni(t(r,...o)+`
|
|
438
|
+
|
|
439
|
+
Here are the matching elements:
|
|
440
|
+
|
|
441
|
+
`+s,r)}return i[0]||null}}function p1(e,t){return ue().getElementError(`A better query is available, try this:
|
|
442
|
+
`+e.toString()+`
|
|
443
|
+
`,t)}function qd(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];let i=e(r,...o);if(!i.length)throw ue().getElementError(t(r,...o),r);return i}}function Mn(e){return(t,r,n,o)=>Od(()=>e(t,r,n),{container:t,...o})}var vr=(e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];let s=e(n,...a),[{suggest:l=ue().throwSuggestions}={}]=a.slice(-1);if(s&&l){let c=Za(s,r);if(c&&!t.endsWith(c.queryName))throw p1(c.toString(),n)}return s},it=(e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];let s=e(n,...a),[{suggest:l=ue().throwSuggestions}={}]=a.slice(-1);if(s.length&&l){let c=[...new Set(s.map(u=>{var d;return(d=Za(u,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(Za(s[0],r).queryName))throw p1(c[0],n)}return s};function er(e,t,r){let n=vr(xn(e,t),e.name,"query"),o=qd(e,r),a=xn(o,t),i=vr(a,e.name,"get"),s=it(o,e.name.replace("query","get"),"getAll"),l=Mn(it(o,e.name,"findAll")),c=Mn(vr(a,e.name,"find"));return[n,s,i,l,c]}var I3=Object.freeze({__proto__:null,getElementError:Mi,wrapAllByQueryWithSuggestion:it,wrapSingleQueryWithSuggestion:vr,getMultipleElementsFoundError:Ni,queryAllByAttribute:Wr,queryByAttribute:d1,makeSingleQuery:xn,makeGetAllQuery:qd,makeFindQuery:Mn,buildQueries:er});function D3(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:ec(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var F3=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:a,normalizer:i}=r===void 0?{}:r,s=n?Kt:$n,l=Yr({collapseWhitespace:a,trim:o,normalizer:i});return D3(e).filter(c=>{let{node:u,textToMatch:d}=c;return s(d,u,t,l)}).map(c=>{let{node:u}=c;return u})},Oo=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=r===void 0?{}:r;Zt(e);let l=o?Kt:$n,c=Yr({collapseWhitespace:a,trim:i,normalizer:s}),u=Array.from(e.querySelectorAll("*")).filter(d=>o1(d).length||d.hasAttribute("aria-labelledby")).reduce((d,m)=>{let p=a1(e,m,{selector:n});p.filter(g=>!!g.formControl).forEach(g=>{l(g.content,g.formControl,t,c)&&g.formControl&&d.push(g.formControl)});let h=p.filter(g=>!!g.content).map(g=>g.content);return l(h.join(" "),m,t,c)&&d.push(m),h.length>1&&h.forEach((g,y)=>{l(g,m,t,c)&&d.push(m);let b=[...h];b.splice(y,1),b.length>1&&l(b.join(" "),m,t,c)&&d.push(m)}),d},[]).concat(Wr("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(u)).filter(d=>d.matches(n))},Hr=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 a=Oo(e,t,...n);if(!a.length){let i=F3(e,t,...n);if(i.length){let s=i.map(l=>L3(e,l)).filter(l=>!!l);throw s.length?ue().getElementError(s.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
444
|
+
|
|
445
|
+
`),e):ue().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 ue().getElementError("Unable to find a label with the text of: "+t,e)}return a};function L3(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var f1=(e,t)=>"Found multiple elements with the text of: "+t,m1=vr(xn(Oo,f1),Oo.name,"query"),h1=xn(Hr,f1),y1=Mn(it(Hr,Hr.name,"findAll")),b1=Mn(vr(h1,Hr.name,"find")),g1=it(Hr,Hr.name,"getAll"),v1=vr(h1,Hr.name,"get"),E1=it(Oo,Oo.name,"queryAll"),tc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Zt(t[0]),Wr("placeholder",...t)},B3=(e,t)=>"Found multiple elements with the placeholder text of: "+t,k3=(e,t)=>"Unable to find an element with the placeholder text of: "+t,_1=it(tc,tc.name,"queryAll"),[R1,w1,C1,S1,A1]=er(tc,B3,k3),rc=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,ignore:s=ue().defaultIgnore,normalizer:l}=r===void 0?{}:r;Zt(e);let c=o?Kt:$n,u=Yr({collapseWhitespace:a,trim:i,normalizer:l}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(m=>!s||!m.matches(s)).filter(m=>c(Uo(m),m,t,u))},$3=(e,t)=>"Found multiple elements with the text: "+t,U3=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:a,selector:i}=r,s=Yr({collapseWhitespace:n,trim:o,normalizer:a})(t.toString()),l=s!==t.toString(),c=(i??"*")!=="*";return"Unable to find an element with the text: "+(l?s+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+i+"'":"")+". 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."},T1=it(rc,rc.name,"queryAll"),[P1,O1,q1,x1,M1]=er(rc,$3,U3),nc=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;Zt(e);let s=n?Kt:$n,l=Yr({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(u=>u.selected).some(u=>s(Uo(u),u,t,l)):s(c.value,c,t,l))},H3=(e,t)=>"Found multiple elements with the display value: "+t+".",V3=(e,t)=>"Unable to find an element with the display value: "+t+".",N1=it(nc,nc.name,"queryAll"),[j1,I1,D1,F1,L1]=er(nc,H3,V3),G3=/^(img|input|area|.+-.+)$/i,oc=function(e,t,r){return r===void 0&&(r={}),Zt(e),Wr("alt",e,t,r).filter(n=>G3.test(n.tagName))},z3=(e,t)=>"Found multiple elements with the alt text: "+t,Y3=(e,t)=>"Unable to find an element with the alt text: "+t,B1=it(oc,oc.name,"queryAll"),[k1,$1,U1,H1,V1]=er(oc,z3,Y3),W3=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},ac=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;Zt(e);let s=n?Kt:$n,l=Yr({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>s(c.getAttribute("title"),c,t,l)||W3(c)&&s(Uo(c),c,t,l))},K3=(e,t)=>"Found multiple elements with the title: "+t+".",X3=(e,t)=>"Unable to find an element with the title: "+t+".",G1=it(ac,ac.name,"queryAll"),[z1,Y1,W1,K1,X1]=er(ac,K3,X3),ic=function(e,t,r){let{hidden:n=ue().defaultHidden,name:o,description:a,queryFallbacks:i=!1,selected:s,busy:l,checked:c,pressed:u,current:d,level:m,expanded:p,value:{now:h,min:g,max:y,text:b}={}}=r===void 0?{}:r;if(Zt(e),s!==void 0){var v;if(((v=yt.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var C;if(((C=yt.roles.get(t))==null?void 0:C.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var S;if(((S=yt.roles.get(t))==null?void 0:S.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(u!==void 0){var A;if(((A=yt.roles.get(t))==null?void 0:A.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var _;if(((_=yt.roles.get(t))==null?void 0:_.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(m!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(h!==void 0){var E;if(((E=yt.roles.get(t))==null?void 0:E.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(y!==void 0){var R;if(((R=yt.roles.get(t))==null?void 0:R.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(g!==void 0){var P;if(((P=yt.roles.get(t))==null?void 0:P.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var N;if(((N=yt.roles.get(t))==null?void 0:N.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(p!==void 0){var B;if(((B=yt.roles.get(t))==null?void 0:B.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let j=new WeakMap;function F(T){return j.has(T)||j.set(T,l1(T)),j.get(T)}return Array.from(e.querySelectorAll(J3(t))).filter(T=>{if(T.hasAttribute("role")){let M=T.getAttribute("role");if(i)return M.split(" ").filter(Boolean).some(Y=>Y===t);let[D]=M.split(" ");return D===t}return Pd(T).some(M=>M===t)}).filter(T=>{if(s!==void 0)return s===R3(T);if(l!==void 0)return l===w3(T);if(c!==void 0)return c===C3(T);if(u!==void 0)return u===S3(T);if(d!==void 0)return d===A3(T);if(p!==void 0)return p===T3(T);if(m!==void 0)return m===P3(T);if(h!==void 0||y!==void 0||g!==void 0||b!==void 0){let D=!0;if(h!==void 0&&D&&(D=h===O3(T)),y!==void 0&&D&&(D=y===q3(T)),g!==void 0&&D&&(D=g===x3(T)),b!==void 0){var M;D&&(D=Kt((M=M3(T))!=null?M:null,T,b,Y=>Y))}return D}return!0}).filter(T=>o===void 0?!0:Kt(wd(T,{computedStyleSupportsPseudoElements:ue().computedStyleSupportsPseudoElements}),T,o,M=>M)).filter(T=>a===void 0?!0:Kt(YE(T,{computedStyleSupportsPseudoElements:ue().computedStyleSupportsPseudoElements}),T,a,M=>M)).filter(T=>n===!1?xi(T,{isSubtreeInaccessible:F})===!1:!0)};function J3(e){var t;let r='*[role~="'+e+'"]',n=(t=yt.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(a=>{let{name:i}=a;return i}));return[r].concat(Array.from(o)).join(",")}var J1=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Q3=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+J1(n)},Z3=function(e,t,r){let{hidden:n=ue().defaultHidden,name:o,description:a}=r===void 0?{}:r;if(ue()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+J1(o);let i="";Array.from(e.children).forEach(u=>{i+=c1(u,{hidden:n,includeDescription:a!==void 0})});let s;i.length===0?n===!1?s="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":s="There are no available roles.":s=(`
|
|
446
|
+
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
447
|
+
|
|
448
|
+
`+i.replace(/\n/g,`
|
|
449
|
+
`).replace(/\n\s\s\n/g,`
|
|
450
|
+
|
|
451
|
+
`)+`
|
|
452
|
+
`).trim();let l="";o===void 0?l="":typeof o=="string"?l=' and name "'+o+'"':l=" and name `"+o+"`";let c="";return a===void 0?c="":typeof a=="string"?c=' and description "'+a+'"':c=" and description `"+a+"`",(`
|
|
453
|
+
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+c+`
|
|
454
|
+
|
|
455
|
+
`+s).trim()},Q1=it(ic,ic.name,"queryAll"),[Z1,e_,t_,r_,n_]=er(ic,Q3,Z3),xd=()=>ue().testIdAttribute,sc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Zt(t[0]),Wr(xd(),...t)},eU=(e,t)=>"Found multiple elements by: ["+xd()+'="'+t+'"]',tU=(e,t)=>"Unable to find an element by: ["+xd()+'="'+t+'"]',o_=it(sc,sc.name,"queryAll"),[a_,i_,s_,l_,u_]=er(sc,eU,tU),ei=Object.freeze({__proto__:null,queryAllByLabelText:E1,queryByLabelText:m1,getAllByLabelText:g1,getByLabelText:v1,findAllByLabelText:y1,findByLabelText:b1,queryByPlaceholderText:R1,queryAllByPlaceholderText:_1,getByPlaceholderText:C1,getAllByPlaceholderText:w1,findAllByPlaceholderText:S1,findByPlaceholderText:A1,queryByText:P1,queryAllByText:T1,getByText:q1,getAllByText:O1,findAllByText:x1,findByText:M1,queryByDisplayValue:j1,queryAllByDisplayValue:N1,getByDisplayValue:D1,getAllByDisplayValue:I1,findAllByDisplayValue:F1,findByDisplayValue:L1,queryByAltText:k1,queryAllByAltText:B1,getByAltText:U1,getAllByAltText:$1,findAllByAltText:H1,findByAltText:V1,queryByTitle:z1,queryAllByTitle:G1,getByTitle:W1,getAllByTitle:Y1,findAllByTitle:K1,findByTitle:X1,queryByRole:Z1,queryAllByRole:Q1,getAllByRole:e_,getByRole:t_,findAllByRole:r_,findByRole:n_,queryByTestId:a_,queryAllByTestId:o_,getByTestId:s_,getAllByTestId:i_,findAllByTestId:l_,findByTestId:u_});function lc(e,t,r){return t===void 0&&(t=ei),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let a=t[o];return n[o]=a.bind(null,e),n},r)}var c_=e=>!e||Array.isArray(e)&&!e.length;function yg(e){if(c_(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function rU(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){yg(e);let n=(Array.isArray(e)?e:[e]).map(o=>{let a=o.parentElement;if(a===null)return()=>null;for(;a.parentElement;)a=a.parentElement;return()=>a.contains(o)?o:null});e=()=>n.map(o=>o()).filter(Boolean)}return yg(e()),Od(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!c_(n))throw r},t)}var bg={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}}},gg={doubleClick:"dblClick"};function qo(e,t){return ue().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Fa(e,t,r,n){let{EventType:o="Event",defaultInit:a={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let i={...a,...r},{target:{value:s,files:l,...c}={}}=i;s!==void 0&&nU(t,s),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,c);let u=r1(t),d=u[o]||u.Event,m;if(typeof d=="function")m=new d(e,i);else{m=u.document.createEvent(o);let{bubbles:p,cancelable:h,detail:g,...y}=i;m.initEvent(e,p,h,g),Object.keys(y).forEach(b=>{m[b]=y[b]})}return["dataTransfer","clipboardData"].forEach(p=>{let h=i[p];typeof h=="object"&&(typeof u.DataTransfer=="function"?Object.defineProperty(m,p,{value:Object.getOwnPropertyNames(h).reduce((g,y)=>(Object.defineProperty(g,y,{value:h[y]}),g),new u.DataTransfer)}):Object.defineProperty(m,p,{value:h}))}),m}Object.keys(bg).forEach(e=>{let{EventType:t,defaultInit:r}=bg[e],n=e.toLowerCase();Fa[e]=(o,a)=>Fa(n,o,a,{EventType:t,defaultInit:r}),qo[e]=(o,a)=>qo(o,Fa[e](o,a))});function nU(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(gg).forEach(e=>{let t=gg[e];qo[e]=function(){return qo[t](...arguments)}});function oU(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
456
|
+
`)}function aU(e){return K5.default.compressToEncodedURIComponent(oU(e))}function iU(e){return"https://testing-playground.com/#markup="+aU(e)}var sU=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Zu(n,t,r)):Zu(e,t,r),lU=function(e){if(e===void 0&&(e=Ad().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=iU(e.innerHTML);return console.log(`Open this URL in your browser
|
|
457
|
+
|
|
458
|
+
`+t),t},vg={debug:sU,logTestingPlaygroundURL:lU},uU=typeof document<"u"&&document.body?lc(document.body,ei,vg):Object.keys(ei).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),vg);function ae(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}var uc;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(uc||(uc={}));function d_(e){return ae(e,"button")||ae(e,"input")&&e.type in uc}function jt(e){var t;if(cU(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 ${dU(e)}`)}function cU(e){return e.nodeType===9}function dU(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function p_(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function Md(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f_=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){yr(this,"kind",void 0),yr(this,"type",void 0),yr(this,"file",null),yr(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},pU=class extends Array{add(...e){let t=new f_(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function Ta(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return a=>t?a.type===(o?r:e):o?a.type.startsWith(`${r}/`):a.type===r}function fU(e){return new class{getData(t){var r;let n=(r=this.items.find(Ta(t,!0)))!==null&&r!==void 0?r:this.items.find(Ta(t,!1)),o="";return n?.getAsString(a=>{o=a}),o}setData(t,r){let n=this.items.findIndex(Ta(t,!0)),o=new f_(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(Ta(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){yr(this,"dropEffect","none"),yr(this,"effectAllowed","uninitialized"),yr(this,"items",new pU),yr(this,"files",Md(e,[]))}}}function Nd(e,t=[]){let r=typeof e.DataTransfer>"u"?fU(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Md(e,t)}),r}function mU(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function m_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h_(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let o=await this.data[n];if(!o)throw new Error(`${n} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:n})}constructor(n){m_(this,"data",void 0),this.data=n}}(r)}var Nn=Symbol("Manage ClipboardSub");function Eg(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let o=n.types.includes("text/plain")?"text/plain":n.types.find(a=>a.startsWith("text/"));o&&(r+=await n.getType(o).then(a=>p_(a,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[h_(e,r)]}constructor(...r){super(...r),m_(this,"items",[])}},{[Nn]:t})}function jd(e){return!!e?.[Nn]}function hU(e){if(jd(e.navigator.clipboard))return e.navigator.clipboard[Nn];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Eg(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Eg(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[Nn]}function yU(e){jd(e.navigator.clipboard)&&e.navigator.clipboard[Nn].resetClipboardStub()}function bU(e){jd(e.navigator.clipboard)&&e.navigator.clipboard[Nn].detachClipboardStub()}async function gU(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=Nd(t);for(let a of n)for(let i of a.types)o.setData(i,await a.getType(i).then(s=>p_(s,t.FileReader)));return o}async function y_(e,t){let r=jt(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let i=t.items[a],s=mU(r,i);o.push(h_(r,s))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var ti=globalThis;typeof ti.afterEach=="function"&&ti.afterEach(()=>yU(globalThis.window));typeof ti.afterAll=="function"&&ti.afterAll(()=>bU(globalThis.window));function Vr(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function xo(e){let t=vU(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function vU(e){return e.nodeType===1?e:e.parentElement}function jn(e){return b_(e)&&!e.readOnly||Vr(e)}var cc;(function(e){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"})(cc||(cc={}));function b_(e){return ae(e,"textarea")||ae(e,"input")&&e.type in cc}var dc;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(dc||(dc={}));function EU(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function _U(e){return ae(e,"textarea")||ae(e,"input")&&e.type in dc}var g_=["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 Id(e){return e.matches(g_)}var ri;(function(e){e["{"]="}",e["["]="]"})(ri||(ri={}));function v_(e,t){let r=0,n=e[r]in ri?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?RU(e,r,t):wU(e,r,o,t)}}function RU(e,t,r){let n=e[t];return E_(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function wU(e,t,r,n){var o,a;let i=e[t]==="/"?"/":"";t+=i.length;let s=r==="{"&&e[t]==="\\";t+=Number(s);let l=s?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];E_(l,e,t,n),t+=l.length;var c;let u=(c=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&c!==void 0?c:"";t+=u.length;let d=e[t]==="/"||!u&&e[t]===">"?e[t]:"";t+=d.length;let m=ri[r],p=e[t]===m?m:"";if(!p)throw new Error(__([!u&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:l,releasePrevious:!!i,repeat:u?Math.max(Number(u.substr(1)),1):1,releaseSelf:CU(d,u)}}function E_(e,t,r,n){if(!e)throw new Error(__("key descriptor",t[r],t,n))}function CU(e,t){if(e)return e==="/";if(t)return!1}function __(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
459
|
+
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"}
|
|
460
|
+
for more information about how userEvent parses your input.`}function SU(e){return new e.constructor(e.type,e)}var rt;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(rt||(rt={}));function co(e,t){e.levelRefs[t]={}}function Pa(e,t){return e.levelRefs[t]}var Cn;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(Cn||(Cn={}));function Xt(e){for(let r=e;r;r=r.parentElement)if(ae(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(ae(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function ji(e){let t=e.activeElement;return t?.shadowRoot?ji(t.shadowRoot):Xt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function hu(e){var t;return(t=ji(e))!==null&&t!==void 0?t:e.body}function AU(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function It(e){return R_(e)&&b_(e)}function TU(e){return R_(e)&&d_(e)}function R_(e){return e.nodeType===1}function PU(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&It(e)){let n=xo(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function In(e,t){return ue().eventWrapper(e)}function Er(e){let t=AU(e,Id),r=ji(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(In(t?()=>t.focus():()=>r?.blur()),PU(t??e.ownerDocument.body))}function OU(e){!Id(e)||ji(e.ownerDocument)!==e||In(()=>e.blur())}var _r={};_r.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&ae(n,"label")&&n.control;if(o)return()=>{Id(o)&&Er(o),r.dispatchEvent(o,SU(e))};if(ae(t,"input",{type:"file"}))return()=>{OU(t),t.dispatchEvent(new(jt(t)).Event("fileDialog")),Er(t)}};var Dn=Symbol("Displayed value in UI"),Wt=Symbol("Displayed selection in UI"),ni=Symbol("Initial value to compare on blur");function qU(e){return typeof e=="object"&&Dn in e}function xU(e){return!!e&&typeof e=="object"&&Wt in e}function MU(e,t){e[ni]===void 0&&(e[ni]=e.value),e[Dn]=t,e.value=Object.assign(new String(t),{[Dn]:!0})}function Dt(e){return e[Dn]===void 0?e.value:String(e[Dn])}function Dd(e){e[Dn]=void 0}function w_(e){e[ni]=void 0}function NU(e){return e[ni]}function jU(e,t){e[Wt]=t}function Un(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Dt(e).length,a=d=>Math.max(0,Math.min(o,d)),i=n==="replace"||e[Wt]===void 0?a(r):e[Wt].anchorOffset,s=a(t),l=Math.min(i,s),c=Math.max(i,s);if(e[Wt]={anchorOffset:i,focusOffset:s},e.selectionStart===l&&e.selectionEnd===c)return;let u=Object.assign(new Number(l),{[Wt]:!0});try{e.setSelectionRange(u,c)}catch{}}function Mo(e){var t,r,n;let o=(n=e[Wt])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function IU(e){return!!e[Wt]}function La(e){e[Wt]=void 0}var oi=globalThis.parseInt;function DU(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=oi(t[0],10),n=oi(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,_g(t,o)}return e.length===2?e:_g(t,2)}function _g(e,t){let r=e.slice(0,t),n=Math.min(oi(r,10),23),o=e.slice(t),a=oi(o,10),i=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}function C_(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function S_(e,t,r,n){if(Ba(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=Rg(e,t,r);if(o){if(Ba(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(ae(o,"br")){let a=Rg(o,void 0,r);return a?Ba(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&ae(a,"br")?{node:o.parentNode,offset:Oa(o)}:{node:a.parentNode,offset:Oa(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:Oa(o)}:void 0}else return{node:o.parentNode,offset:Oa(o)+(r>0?1:0)}}}function Rg(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Fd(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),LU(e,r===1?"next":"previous",FU)}function FU(e){if(Ba(e))return!0;if(Fd(e)){if(ae(e,["input","textarea"]))return e.type!=="hidden";if(ae(e,"br"))return!0}return!1}function Oa(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Fd(e){return e.nodeType===1}function Ba(e){return e.nodeType===3}function LU(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=BU(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Fd(e.parentNode)||!Vr(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function BU(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var No=Symbol("Track programmatic changes for React workaround");function kU(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&jt(e).REACT_VERSION===17}function $U(e){kU(e)&&(e[No]={previousValue:String(e.value),tracked:[]})}function UU(e,t){var r,n;(n=e[No])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[No]||(Dd(e),Un(e,{focusOffset:t.length}))}function HU(e,t){var r;let n=e[No];if(e[No]=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||Dd(e),IU(e)&&Un(e,{focusOffset:o?t:e.value.length})}function A_(e){let t=VU(e);if(t&&It(t))return{type:"input",selection:Mo(t)};let r=t?.ownerDocument.getSelection();return{type:xo(e)&&r?.anchorNode&&xo(r.anchorNode)?"contenteditable":"default",selection:r}}function VU(e){return e.nodeType===1?e:e.parentElement}function GU(e){let t=A_(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Gr({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,a;if(A_(e).type==="input")return Un(e,{anchorOffset:n,focusOffset:t});(a=r.ownerDocument)===null||a===void 0||(o=a.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function T_(e){return ae(e,"input")&&["date","time"].includes(e.type)}function Fn(e,t,r,n="insertText"){let o=GU(t);o&&(!T_(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?zU(e,t,o,r,n):YU(e,t,o,r,n)))}function zU(e,t,r,n,o){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let i=S_(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(i){a=!0;let s=r.cloneRange();s.comparePoint(i.node,i.offset)<0?s.setStart(i.node,i.offset):s.setEnd(i.node,i.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length)}else{let i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length)}(a||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function YU(e,t,r,n,o){let a=n;if(_U(t)){let c=EU(t);if(c!==void 0&&n.length>0){let u=c-t.value.length;if(u>0)a=n.substring(0,u);else return}}let{newValue:i,newOffset:s,oldValue:l}=WU(a,t,r,o);i===l&&s===r.startOffset&&s===r.endOffset||ae(t,"input",{type:"number"})&&!KU(i)||(MU(t,i),Gr({focusNode:t,anchorOffset:s,focusOffset:s}),T_(t)?C_(t,i)&&(wg(e,t,s,{}),e.dispatchUIEvent(t,"change"),w_(t)):wg(e,t,s,{data:n,inputType:o}))}function WU(e,t,{startOffset:r,endOffset:n},o){let a=Dt(t),i=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=a.substring(0,i),l=Math.min(a.length,r===n&&o==="deleteContentForward"?r+1:n),c=a.substring(l,a.length),u=`${s}${e}${c}`,d=i+e.length;if(ae(t,"input",{type:"time"})){let m=DU(u);m!==""&&C_(t,m)&&(u=m,d=m.length)}return{oldValue:a,newValue:u,newOffset:d}}function wg(e,t,r,n){e.dispatchUIEvent(t,"input",n),HU(t,r)}function KU(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]))}_r.cut=(e,t,r)=>()=>{jn(t)&&Fn(r,t,"","deleteByCut")};function XU(e){return e?Vr(e)?e.textContent:Dt(e):null}function JU(e){let t=jt(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function QU(e,t){let r=e.ownerDocument,n=r.querySelectorAll(g_),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||Xt(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,c)=>{let u=Number(l.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return u===d?0:u===0?1:d===0?-1:u-d});let a={},i=[r.body],s=ae(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let c=l;if(ae(c,"input",{type:"radio"})&&c.name){if(c===e){i.push(c);return}else if(c.name===s)return;if(c.checked){i=i.filter(u=>!ae(u,"input",{type:"radio",name:c.name})),i.push(c),a[c.name]=c;return}if(typeof a[c.name]<"u")return}i.push(c)});for(let l=i.findIndex(c=>c===e);;)if(l+=t?-1:1,l===i.length?l=0:l===-1&&(l=i.length-1),i[l]===e||i[l]===r.body||JU(i[l]))return i[l]}function Cg(e,t){if(It(e)){let r=Mo(e);Gr({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=S_(r.focusNode,r.focusOffset,t);n&&Gr({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function P_(e){if(It(e))return Gr({focusNode:e,anchorOffset:0,focusOffset:Dt(e).length});var t;let r=(t=xo(e))!==null&&t!==void 0?t:e.ownerDocument.body;Gr({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function ZU(e){if(It(e))return Mo(e).startOffset===0&&Mo(e).endOffset===Dt(e).length;var t;let r=(t=xo(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function po(e,t,r){var n;if(It(e))return Gr({focusNode:e,anchorOffset:t,focusOffset:r});if(Vr(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Gr({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function qa(e,t,r){let n=jt(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 a=o.findIndex(i=>i===t)+r;;a+=r){if(o[a]||(a=r>0?0:o.length-1),o[a]===t)return;Xt(o[a])||(Er(o[a]),e.dispatchUIEvent(o[a],"click"))}}_r.keydown=(e,t,r)=>{var n,o;return(o=(n=Sg[e.key])===null||n===void 0?void 0:n.call(Sg,e,t,r))!==null&&o!==void 0?o:e4(e,t,r)};var Sg={ArrowDown:(e,t,r)=>{if(ae(t,"input",{type:"radio"}))return()=>qa(r,t,-1)},ArrowLeft:(e,t,r)=>ae(t,"input",{type:"radio"})?()=>qa(r,t,-1):()=>Cg(t,-1),ArrowRight:(e,t,r)=>ae(t,"input",{type:"radio"})?()=>qa(r,t,1):()=>Cg(t,1),ArrowUp:(e,t,r)=>{if(ae(t,"input",{type:"radio"}))return()=>qa(r,t,1)},Backspace:(e,t,r)=>{if(jn(t))return()=>{Fn(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(jn(t))return()=>{Fn(r,t,"","deleteContentForward")}},End:(e,t)=>{if(ae(t,["input","textarea"])||Vr(t))return()=>{var r,n;let o=(n=(r=XU(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;po(t,o,o)}},Home:(e,t)=>{if(ae(t,["input","textarea"])||Vr(t))return()=>{po(t,0,0)}},PageDown:(e,t)=>{if(ae(t,["input"]))return()=>{let r=Dt(t).length;po(t,r,r)}},PageUp:(e,t)=>{if(ae(t,["input"]))return()=>{po(t,0,0)}},Tab:(e,t,r)=>()=>{let n=QU(t,r.system.keyboard.modifiers.Shift);Er(n),It(n)&&Un(n,{anchorOffset:0,focusOffset:n.value.length})}},e4=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>P_(t)};_r.keypress=(e,t,r)=>{if(e.key==="Enter"){if(ae(t,"button")||ae(t,"input")&&t4.includes(t.type)||ae(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(ae(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&r4.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(jn(t)){let n=e.key==="Enter"?Vr(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
|
|
461
|
+
`:e.key;return()=>Fn(r,t,o,n)}};var t4=["button","color","file","image","reset","submit"],r4=["email","month","password","search","tel","text","url","week"];_r.keyup=(e,t,r)=>{var n;return(n=Ag[e.key])===null||n===void 0?void 0:n.call(Ag,e,t,r)};var Ag={" ":(e,t,r)=>{if(d_(t))return()=>r.dispatchUIEvent(t,"click")}};_r.paste=(e,t,r)=>{if(jn(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Fn(r,t,o,"insertFromPaste")}};var O_={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,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}},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 q_(e){return O_[e].EventType}var n4=["MouseEvent","PointerEvent"];function o4(e){return n4.includes(q_(e))}function a4(e){return q_(e)==="KeyboardEvent"}var i4={ClipboardEvent:[l4],Event:[],InputEvent:[xa,u4],MouseEvent:[xa,yu,Tg],PointerEvent:[xa,yu,Tg,d4],KeyboardEvent:[xa,yu,c4]};function x_(e,t,r){let n=jt(t),{EventType:o,defaultInit:a}=O_[e],i=new(s4(n))[o](e,a);return i4[o].forEach(s=>s(i,r??{})),i}function s4(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let o=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var a;let i=(a=e.ClipboardEvent)!==null&&a!==void 0?a:class extends r{};var s;let l=(s=e.PopStateEvent)!==null&&s!==void 0?s:class extends r{};var c;let u=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var d;let m=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var p;let h=(p=e.UIEvent)!==null&&p!==void 0?p:class extends r{};var g;let y=(g=e.CompositionEvent)!==null&&g!==void 0?g:class extends h{};var b;let v=(b=e.FocusEvent)!==null&&b!==void 0?b:class extends h{};var C;let S=(C=e.InputEvent)!==null&&C!==void 0?C:class extends h{};var A;let _=(A=e.KeyboardEvent)!==null&&A!==void 0?A:class extends h{};var E;let R=(E=e.MouseEvent)!==null&&E!==void 0?E:class extends h{};var P;let N=(P=e.DragEvent)!==null&&P!==void 0?P:class extends R{};var B;let j=(B=e.PointerEvent)!==null&&B!==void 0?B:class extends R{};var F;let T=(F=e.TouchEvent)!==null&&F!==void 0?F:class extends h{};return{Event:r,AnimationEvent:o,ClipboardEvent:i,PopStateEvent:l,ProgressEvent:u,TransitionEvent:m,UIEvent:h,CompositionEvent:y,FocusEvent:v,InputEvent:S,KeyboardEvent:_,MouseEvent:R,DragEvent:N,PointerEvent:j,TouchEvent:T}}function Kr(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function $e(e){return Number(e??0)}function l4(e,{clipboardData:t}){Kr(e,{clipboardData:t})}function u4(e,{data:t,inputType:r,isComposing:n}){Kr(e,{data:t,isComposing:!!n,inputType:String(r)})}function xa(e,{view:t,detail:r}){Kr(e,{view:t,detail:$e(r??0)})}function yu(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:a,modifierCapsLock:i,modifierFn:s,modifierFnLock:l,modifierNumLock:c,modifierScrollLock:u,modifierSymbol:d,modifierSymbolLock:m}){Kr(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(p){return!!{Alt:t,AltGraph:a,CapsLock:i,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:c,ScrollLock:u,Shift:o,Symbol:d,SymbolLock:m}[p]}})}function c4(e,{key:t,code:r,location:n,repeat:o,isComposing:a,charCode:i}){Kr(e,{key:String(t),code:String(r),location:$e(n),repeat:!!o,isComposing:!!a,charCode:i})}function Tg(e,{x:t,y:r,screenX:n,screenY:o,clientX:a=t,clientY:i=r,button:s,buttons:l,relatedTarget:c}){Kr(e,{screenX:$e(n),screenY:$e(o),clientX:$e(a),x:$e(a),clientY:$e(i),y:$e(i),button:$e(s),buttons:$e(l),relatedTarget:c})}function d4(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:a,tiltX:i,tiltY:s,twist:l,pointerType:c,isPrimary:u}){Kr(e,{pointerId:$e(t),width:$e(r),height:$e(n),pressure:$e(o),tangentialPressure:$e(a),tiltX:$e(i),tiltY:$e(s),twist:$e(l),pointerType:String(c),isPrimary:!!u})}function p4(e,t,r,n=!1){(o4(t)||a4(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=x_(t,e,r);return M_.call(this,e,o,n)}function M_(e,t,r=!1){var n;let o=t.type,a=r?()=>{}:(n=_r[o])===null||n===void 0?void 0:n.call(_r,t,e,this);if(a){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>i}),Object.defineProperty(t,"preventDefault",{value:()=>{i=t.cancelable}}),In(()=>e.dispatchEvent(t)),i||a(),!i}return In(()=>e.dispatchEvent(t))}function f4(e,t,r){let n=x_(t,e,r);In(()=>e.dispatchEvent(n))}var bu=Symbol("Interceptor for programmatical calls");function _n(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),a=n?.set?"set":"value";if(typeof n?.[a]!="function"||n[a][bu])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...s){let{applyNative:l=!1,realArgs:c,then:u}=r.call(this,...s),d=(!l&&o||n)[a];a==="set"?d.call(this,c):d.call(this,...c),u?.()}i[bu]=bu,Object.defineProperty(e,t,{...o??n,[a]:i})}function m4(e){_n(e,"value",function(t){let r=qU(t);return r&&$U(this),{applyNative:!!r,realArgs:h4(this,t),then:r?void 0:()=>UU(this,String(t))}})}function h4(e,t){return ae(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function y4(e){_n(e,"setSelectionRange",function(t,...r){let n=xU(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:La(e)}}),_n(e,"selectionStart",function(t){return{realArgs:t,then:()=>La(e)}}),_n(e,"selectionEnd",function(t){return{realArgs:t,then:()=>La(e)}}),_n(e,"select",function(){return{realArgs:[],then:()=>jU(e,{anchorOffset:0,focusOffset:Dt(e).length})}})}function b4(e){_n(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Dd(e),La(e)}}})}var Sn=Symbol("Node prepared with document state workarounds");function N_(e){e[Sn]||(e.addEventListener("focus",t=>{let r=t.target;Pg(r)},{capture:!0,passive:!0}),e.activeElement&&Pg(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=NU(r);n!==void 0&&(r.value!==n&&f4(r,"change"),w_(r))},{capture:!0,passive:!0}),e[Sn]=Sn)}function Pg(e){e[Sn]||(ae(e,["input","textarea"])&&(m4(e),y4(e),b4(e)),e[Sn]=Sn)}function g4(e){return v4(e)?e:e.ownerDocument}function v4(e){return e.nodeType===9}function Ln(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var bt;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(bt||(bt={}));var E4=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Og(e){return E4.includes(e)}var _4=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function qg(e){return _4.includes(e)}var R4=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,o;let a=String(t.key),i=String(t.code),s=hu(e.config.document);this.setKeydownTarget(s);var l;(l=(r=this.pressed)[n=i])!==null&&l!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),Og(a)&&(this.modifiers[a]=!0);let c=e.dispatchUIEvent(s,"keydown",{key:a,code:i});qg(a)&&!this.modifiers[a]&&(this.modifiers[a]=!0,this.modifierLockStart[a]=!0),(o=this.pressed[i]).unpreventedDefault||(o.unpreventedDefault=c),c&&this.hasKeyPress(a)&&e.dispatchUIEvent(hu(e.config.document),"keypress",{key:a,code:i,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),o=this.pressed[n].unpreventedDefault;delete this.pressed[n],Og(r)&&!Object.values(this.pressed).find(a=>a.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(hu(e.config.document),"keyup",{key:r,code:n},!o),qg(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){hn(this,"system",void 0),hn(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}),hn(this,"pressed",{}),hn(this,"carryChar",""),hn(this,"lastKeydownTarget",void 0),hn(this,"modifierLockStart",{}),this.system=e}},w4=[..."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:"Space",key:" "},{code:"AltLeft",key:"Alt",location:bt.LEFT},{code:"AltRight",key:"Alt",location:bt.RIGHT},{code:"ShiftLeft",key:"Shift",location:bt.LEFT},{code:"ShiftRight",key:"Shift",location:bt.RIGHT},{code:"ControlLeft",key:"Control",location:bt.LEFT},{code:"ControlRight",key:"Control",location:bt.RIGHT},{code:"MetaLeft",key:"Meta",location:bt.LEFT},{code:"MetaRight",key:"Meta",location:bt.RIGHT},{code:"OSLeft",key:"OS",location:bt.LEFT},{code:"OSRight",key:"OS",location:bt.RIGHT},{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"}],C4=[{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 S4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j_=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=pc(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=pc(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){S4(this,"pressed",{})}},xg={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function pc(e=0){return e in xg?xg[e]:Number(e)}var Mg={1:2,2:1};function Ng(e){return e=pc(e),e in Mg?Mg[e]:e}function A4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var T4=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){A4(this,"pressedKeys",new Set)}};function bo(e,t){let r=[];for(let a=e;a;a=a.parentElement)r.push(a);let n=[];for(let a=t;a;a=a.parentElement)n.push(a);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function fc({target:e,node:t,offset:r}){return It(e)?{node:e,offset:r??Dt(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:I_(e,r)}function I_(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 a=e.childNodes.item(n),i=String(a.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(a.nodeType===1)return I_(a,t,!1);if(a.nodeType===3)return{node:a,offset:t??a.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function P4({document:e,target:t,clickCount:r,node:n,offset:o}){if(TU(t))return;let a=It(t),i=String(a?Dt(t):t.textContent),[s,l]=n?[o,o]:O4(i,o,r);if(a)return Un(t,{anchorOffset:s??i.length,focusOffset:l??i.length}),{node:t,start:s??0,end:l??i.length};{let{node:c,offset:u}=fc({target:t,node:n,offset:s}),{node:d,offset:m}=fc({target:t,node:n,offset:l}),p=t.ownerDocument.createRange();try{p.setStart(c,u),p.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let h=e.getSelection();return h?.removeAllRanges(),h?.addRange(p.cloneRange()),p}}function O4(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function q4(e,{document:t,target:r,node:n,offset:o}){let a=fc({target:r,node:n,offset:o});if("node"in e){if(a.node===e.node){let i=a.offset<e.start?e.end:e.start,s=a.offset>e.end||a.offset<e.start?a.offset:e.end;Un(e.node,{anchorOffset:i,focusOffset:s})}}else{let i=e.cloneRange(),s=i.comparePoint(a.node,a.offset);s<0?i.setStart(a.node,a.offset):s>0&&i.setEnd(a.node,a.offset);let l=t.getSelection();l?.removeAllRanges(),l?.addRange(i.cloneRange())}}function D_(e,t){var r,n,o,a,i,s,l,c;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.y)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((a=t.coords)===null||a===void 0?void 0:a.y)||((i=e.caret)===null||i===void 0?void 0:i.node)!==((s=t.caret)===null||s===void 0?void 0:s.node)||((l=e.caret)===null||l===void 0?void 0:l.offset)!==((c=t.caret)===null||c===void 0?void 0:c.offset)}function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var x4=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!D_(r,t))return;let o=this.getTarget(e),a=this.getEventInit("mousemove"),[i,s]=bo(n,o);return{leave:()=>{n!==o&&(e.dispatchUIEvent(n,"mouseout",a),i.forEach(l=>e.dispatchUIEvent(l,"mouseleave",a)))},enter:()=>{n!==o&&(e.dispatchUIEvent(o,"mouseover",a),s.forEach(l=>e.dispatchUIEvent(l,"mouseenter",a)))},move:()=>{e.dispatchUIEvent(o,"mousemove",a),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[n]=o;let a=Xt(o),i=this.getEventInit("mousedown",t.button);(a||e.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(e,i.detail),Er(o)),!a&&Ng(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let o=this.getTarget(e);if(!Xt(o)){e.dispatchUIEvent(o,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let a=bo(this.buttonDownTarget[n],o)[2][0];if(a){let i=this.getEventInit("click",t.button,r);i.detail&&(e.dispatchUIEvent(a,i.button===0?"click":"auxclick",i),i.button===0&&i.detail===2&&e.dispatchUIEvent(a,"dblclick",{...this.getEventInit("dblclick",t.button),detail:i.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=Ng(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=P4({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&q4(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){Fr(this,"position",{}),Fr(this,"buttons",new j_),Fr(this,"selecting",void 0),Fr(this,"buttonDownTarget",{}),Fr(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){Fr(this,"down",{}),Fr(this,"count",{})}})}};function ai(e,t){var r;return((r=F_(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function M4(e){let t=jt(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var jg=Symbol("Last check for pointer-events");function F_(e,t){let r=t[jg];if(!(e.config.pointerEventsCheck!==Cn.Never&&(!r||Ig(e.config.pointerEventsCheck,Cn.EachApiCall)&&r[rt.Call]!==Pa(e,rt.Call)||Ig(e.config.pointerEventsCheck,Cn.EachTrigger)&&r[rt.Trigger]!==Pa(e,rt.Trigger))))return r?.result;let n=M4(t);return t[jg]={[rt.Call]:Pa(e,rt.Call),[rt.Trigger]:Pa(e,rt.Trigger),result:n},n}function fo(e,t){let r=F_(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",N4(r.tree)].join(`
|
|
462
|
+
`))}function N4(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,j4(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(`
|
|
463
|
+
`)}function j4(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(ae(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(i=>{var s;return(s=i.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(ae(e,"button")){var a;r=(a=e.textContent)===null||a===void 0?void 0:a.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}\u2026`),r?`(label=${r})`:""}function Ig(e,t){return(e&t)>0}function pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Dg=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=bo(null,r),o=this.getEventInit();return fo(e,r),e.dispatchUIEvent(r,"pointerover",o),n.forEach(a=>e.dispatchUIEvent(a,"pointerenter",o)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!D_(r,t))return;let o=this.getTarget(e),a=this.getEventInit(),[i,s]=bo(n,o);return{leave:()=>{ai(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",a),i.forEach(l=>e.dispatchUIEvent(l,"pointerleave",a)))},enter:()=>{fo(e,o),n!==o&&(e.dispatchUIEvent(o,"pointerover",a),s.forEach(l=>e.dispatchUIEvent(l,"pointerenter",a)))},move:()=>{e.dispatchUIEvent(o,"pointermove",a)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);fo(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);fo(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=bo(t,null),n=this.getEventInit();ai(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){pr(this,"pointerId",void 0),pr(this,"pointerType",void 0),pr(this,"isPrimary",void 0),pr(this,"isMultitouch",!1),pr(this,"isCancelled",!1),pr(this,"isDown",!1),pr(this,"isPrevented",!1),pr(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var I4=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),o.down(e,t),o.pointerType!=="touch"&&!o.isPrevented&&this.mouse.down(e,t,o)}async move(e,t,r){let n=this.pointers.get(t),o=n.move(e,r),a=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);o?.leave(),a?.leave(),o?.enter(),a?.enter(),o?.move(),a?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let o=this.pointers.get(this.getPointerName(t));if(o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&o.up(e,t),o.pointerType==="touch"&&o.release(e),!o.isPrevented){if(o.pointerType==="touch"&&!o.isMultitouch){let a=this.mouse.move(e,o.position);a?.leave(),a?.enter(),a?.move(),this.mouse.down(e,t,o)}if(!o.isMultitouch){let a=this.mouse.move(e,o.position);a?.leave(),a?.enter(),a?.move(),this.mouse.up(e,t,o)}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){fr(this,"system",void 0),fr(this,"mouse",void 0),fr(this,"buttons",void 0),fr(this,"devices",new class{get(t){var r,n,o;return(o=(r=this.registry)[n=t])!==null&&o!==void 0||(r[n]=new T4),this.registry[t]}constructor(){fr(this,"registry",{})}}),fr(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return n||Object.values(this.registry).forEach(o=>{o.pointerType===r.pointerType&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new Dg({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:n}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){fr(this,"registry",{mouse:new Dg({pointerId:1,pointerType:"mouse",isPrimary:!0})}),fr(this,"nextId",2)}}),this.system=e,this.buttons=new j_,this.mouse=new x4}};function Fg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var L_=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(){Fg(this,"keyboard",new R4(this)),Fg(this,"pointer",new I4(this))}};async function D4(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function F4(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function L4(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function B4(e){return this.pointer({target:e})}async function k4(e){return fo(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function $4({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function U4(e,t){let r=[];do{let{type:o,descriptor:a,consumedLength:i,releasePrevious:s,releaseSelf:l=!0,repeat:c}=v_(t,"keyboard");var n;let u=(n=e.find(d=>{if(o==="["){var m;return((m=d.code)===null||m===void 0?void 0:m.toLowerCase())===a.toLowerCase()}else if(o==="{"){var p;return((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===a.toLowerCase()}return d.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:a};r.push({keyDef:u,releasePrevious:s,releaseSelf:l,repeat:c}),t=t.slice(i)}while(t);return r}async function H4(e){let t=U4(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Ln(this.config),await V4(this,t[r])}async function V4(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:a}=e;if(a.keyboard.isKeyPressed(t)&&await a.keyboard.keyup(e,t),!r){for(let i=1;i<=o;i++)await a.keyboard.keydown(e,t),i<o&&await Ln(e.config);n&&await a.keyboard.keyup(e,t)}}async function G4(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function B_(e){let t=It(e)?{"text/plain":z4(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Nd(jt(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function z4(e){let t=Mo(e);return Dt(e).substring(t.startOffset,t.endOffset)}async function Y4(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=B_(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await y_(e,n),n}async function W4(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=B_(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await y_(r.ownerDocument,n),n}async function K4(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let a=(o=typeof e=="string"?X4(t,e):e)!==null&&o!==void 0?o:await gU(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}function X4(e,t){let r=Nd(jt(e));return r.setData("text",t),r}function Lg(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:a,releaseSelf:i=!0}=v_(t,"pointer"),s=e.find(l=>l.name===n);s&&r.push({keyDef:s,releasePrevious:a,releaseSelf:i}),t=t.slice(o)}while(t);return r}async function J4(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Lg(t,n)):"keys"in n?r.push(...Lg(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Ln(this.config),await Q4(this,r[n]);this.system.pointer.resetClickCount()}async function Q4(e,t){var r,n;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",a=e.system.pointer.getPreviousPosition(o);var i,s,l,c;let u={target:(i=t.target)!==null&&i!==void 0?i:Z4(e,a),coords:(s=t.coords)!==null&&s!==void 0?s:a?.coords,caret:{node:(l=t.node)!==null&&l!==void 0?l:Bg(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:Bg(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(co(e,rt.Trigger),await e.system.pointer.release(e,t.keyDef,u)),t.releasePrevious||(co(e,rt.Trigger),await e.system.pointer.press(e,t.keyDef,u),t.releaseSelf&&(co(e,rt.Trigger),await e.system.pointer.release(e,t.keyDef,u)))):(co(e,rt.Trigger),await e.system.pointer.move(e,o,u))}function Bg(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function Z4(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function e9(e){if(!jn(e)||Xt(e))throw new Error("clear()` is only supported on editable elements.");if(Er(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(P_(e),!ZU(e))throw new Error("The element content to be cleared could not be selected.");Fn(this,e,"","deleteContentBackward")}async function t9(e,t){return k_.call(this,!0,e,t)}async function r9(e,t){return k_.call(this,!1,e,t)}async function k_(e,t,r){if(!e&&!t.multiple)throw ue().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"]')),a=n.map(s=>{if(typeof s!="string"&&o.includes(s))return s;{let l=o.find(c=>c.value===s||c.innerHTML===s);if(l)return l;throw ue().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Xt(s));if(Xt(t)||!a.length)return;let i=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(ae(t,"select"))if(t.multiple)for(let s of a){let l=this.config.pointerEventsCheck===0?!0:ai(this,s);l&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),Er(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),i(s),l&&this.dispatchUIEvent(s,"click"),await Ln(this.config)}else if(a.length===1){let s=this.config.pointerEventsCheck===0?!0:ai(this,t);s?await this.click(t):Er(t),i(a[0]),s&&(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 Ln(this.config)}else throw ue().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of a)await this.click(s),await this.unhover(s);else throw ue().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function n9(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:a}={}){e.disabled||(r||await this.click(e),o!==void 0&&po(e,o,a??o),await this.keyboard(t),n||await G4(this))}var kg=Symbol("files and value properties are mocked");function gu(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function o9(e,t){var r;(r=e[kg])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function i(){gu(e,"type",n),gu(e,"value",o),gu(e,"files",a)}e[kg]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")i();else{var l;o==null||(l=o.set)===null||l===void 0||l.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(i(),e.type=s)}}})}async function a9(e,t){let r=ae(e,"label")?e.control:e;if(!r||!ae(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Xt(e))return;let n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||i9(a,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var a;n.length===((a=r.files)===null||a===void 0?void 0:a.length)&&n.every((i,s)=>{var l;return i===((l=r.files)===null||l===void 0?void 0:l.item(s))})||(o9(r,Md(jt(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function i9(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var $g={click:D4,dblClick:F4,tripleClick:L4,hover:B4,unhover:k4,tab:$4,keyboard:H4,copy:Y4,cut:W4,paste:K4,pointer:J4,clear:e9,deselectOptions:r9,selectOptions:t9,type:n9,upload:a9};function s9(e){return ue().asyncWrapper(e)}var $_={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:w4,pointerMap:C4,pointerEventsCheck:Cn.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},l9={...$_,writeToClipboard:!0};function U_(e={},t=l9,r){let n=p9(e,r,t);return{...t,...e,document:n}}function u9(e={}){let t=U_(e);N_(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return hU(n),Ld(t).api}function tt({keyboardState:e,pointerState:t,...r}={},n){let o=U_(r,$_,n);N_(o.document);var a;let i=(a=t??e)!==null&&a!==void 0?a:new L_;return{api:Ld(o,i).api,system:i}}function c9(e){return Ld({...this.config,...e},this.system).api}function d9(e,t){function r(...n){return co(e,rt.Call),s9(()=>t.apply(e,n).then(async o=>(await Ln(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Ld(e,t=new L_){let r={};return Object.assign(r,{config:e,dispatchEvent:M_.bind(r),dispatchUIEvent:p4.bind(r),system:t,levelRefs:{},...$g}),{instance:r,api:{...Object.fromEntries(Object.entries($g).map(([n,o])=>[n,d9(r,o)])),setup:c9.bind(r)}}}function p9(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&g4(t))!==null&&o!==void 0?o:r.document}var H_={};bc(H_,{clear:()=>f9,click:()=>m9,copy:()=>h9,cut:()=>y9,dblClick:()=>b9,deselectOptions:()=>g9,hover:()=>v9,keyboard:()=>E9,paste:()=>R9,pointer:()=>_9,selectOptions:()=>w9,tab:()=>P9,tripleClick:()=>C9,type:()=>S9,unhover:()=>A9,upload:()=>T9});function f9(e){return tt().api.clear(e)}function m9(e,t={}){return tt(t,e).api.click(e)}function h9(e={}){return tt(e).api.copy()}function y9(e={}){return tt(e).api.cut()}function b9(e,t={}){return tt(t).api.dblClick(e)}function g9(e,t,r={}){return tt(r).api.deselectOptions(e,t)}function v9(e,t={}){return tt(t).api.hover(e)}async function E9(e,t={}){let{api:r,system:n}=tt(t);return r.keyboard(e).then(()=>n)}async function _9(e,t={}){let{api:r,system:n}=tt(t);return r.pointer(e).then(()=>n)}function R9(e,t){return tt(t).api.paste(e)}function w9(e,t,r={}){return tt(r).api.selectOptions(e,t)}function C9(e,t={}){return tt(t).api.tripleClick(e)}function S9(e,t,r={}){return tt(r,e).api.type(e,t,r)}function A9(e,t={}){let{api:r,system:n}=tt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function T9(e,t,r={}){return tt(r).api.upload(e,t)}function P9(e={}){return tt().api.tab(e)}var O9={...H_,setup:u9};function q9(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(s,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?s.concat(c.map(function(u){var d,m;return(m=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&m!==void 0?m:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
464
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
465
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,l){var c=i.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=s;typeof s=="string"&&s.includes(`
|
|
466
|
+
`)&&(d=String(s).split(`
|
|
467
|
+
`).map(function(m,p){return p===0?m:""+u+m}).join(`
|
|
468
|
+
`)),i+=d+n[l+1]}),i}var x9=q9,mc=Ca({...BE},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});mc.screen=new Proxy(mc.screen,{get(e,t,r){return we.warn(x9`
|
|
469
|
+
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
470
|
+
More info: https://storybook.js.org/docs/essentials/interactions
|
|
471
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:WH,configure:KH,createEvent:XH,fireEvent:JH,findAllByAltText:QH,findAllByDisplayValue:ZH,findAllByLabelText:eV,findAllByPlaceholderText:tV,findAllByRole:rV,findAllByTestId:nV,findAllByText:oV,findAllByTitle:aV,findByAltText:iV,findByDisplayValue:sV,findByLabelText:lV,findByPlaceholderText:uV,findByRole:cV,findByTestId:dV,findByText:pV,findByTitle:fV,getAllByAltText:mV,getAllByDisplayValue:hV,getAllByLabelText:yV,getAllByPlaceholderText:bV,getAllByRole:gV,getAllByTestId:vV,getAllByText:EV,getAllByTitle:_V,getByAltText:RV,getByDisplayValue:wV,getByLabelText:CV,getByPlaceholderText:SV,getByRole:AV,getByTestId:TV,getByText:PV,getByTitle:OV,getConfig:qV,getDefaultNormalizer:xV,getElementError:MV,getNodeText:NV,getQueriesForElement:jV,getRoles:IV,getSuggestedQuery:DV,isInaccessible:FV,logDOM:LV,logRoles:BV,prettyDOM:kV,queries:$V,queryAllByAltText:UV,queryAllByAttribute:HV,queryAllByDisplayValue:VV,queryAllByLabelText:GV,queryAllByPlaceholderText:zV,queryAllByRole:YV,queryAllByTestId:WV,queryAllByText:KV,queryAllByTitle:XV,queryByAltText:JV,queryByAttribute:QV,queryByDisplayValue:ZV,queryByLabelText:e8,queryByPlaceholderText:t8,queryByRole:r8,queryByTestId:n8,queryByText:o8,queryByTitle:a8,queryHelpers:i8,screen:s8,waitFor:l8,waitForElementToBeRemoved:u8,within:Ii,prettyFormat:c8}=mc,{userEvent:Di}=Ca({userEvent:O9},{intercept:!0}),{expect:Vo}=Ca({expect:LE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===x){let n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),M9=({parameters:e})=>{e?.test?.mockReset===!0?o5():e?.test?.clearMocks===!0?n5():e?.test?.restoreMocks!==!1&&a5()},hc=(e,t=0,r)=>{if(t>5||e==null)return e;if(PE(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=t5(e);return r&&n.mockName(r),n}if(Array.isArray(e)){t++;for(let n=0;n<e.length;n++)e[n]=hc(e[n],t)}if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,o]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=hc(o,t,n));return e}return e},N9=({initialArgs:e})=>{hc(e)},j9=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=Ii(e.canvasElement))};Ie.__STORYBOOK_TEST_LOADERS__=[M9,N9,j9];Ie.__STORYBOOK_TEST_ON_MOCK_CALL__=e5;var st=Gd(G_(),1);var Fi=window.React;function ge(e,t,r){let{children:n,...o}=t||{};return r!==void 0&&(o.key=r),n===void 0?Fi.createElement(e,o):Array.isArray(n)?Fi.createElement(e,o,...n):Fi.createElement(e,o,n)}var pG=Fi.Fragment;var I9={title:"Components/Lib/EditableList",parameters:{layout:"padded"},tags:["autodocs"]},$d=I9;function Bd({column:e,value:t,onChange:r}){let n=st.EditableList.useField(e);return ge(st.Input,{id:n.id,"aria-labelledby":n["aria-labelledby"],value:t,onChange:o=>r(o.target.value)})}function tr({control:e,rows:t,rowError:r}){let[n,o]=(0,kd.useState)(t??[{id:"1",account:"Fees",amount:"60.00",memo:"Entrance"},{id:"2",account:"Camping",amount:"40.00",memo:"Site"}]);return ge(st.EditableList.Root,{value:n,onValueChange:o,getRowId:a=>a.id,createRow:()=>({id:crypto.randomUUID(),account:"",amount:"",memo:""}),minRows:1,label:"Allocations",itemLabel:"Allocation",name:"allocations",rowError:r,children:[ge(st.EditableList.Header,{columns:["Account","Amount","Memo"]}),ge(st.EditableList.Rows,{children:(a,i,s)=>{let l=a;return ge(st.EditableList.Row,{children:[ge(st.EditableList.Cell,{column:"Account",children:ge(Bd,{column:"Account",value:l.account,onChange:c=>s.update({account:c})})}),ge(st.EditableList.Cell,{column:"Amount",align:"end",children:ge(Bd,{column:"Amount",value:l.amount,onChange:c=>s.update({amount:c})})}),ge(st.EditableList.Cell,{column:"Memo",children:ge(Bd,{column:"Memo",value:l.memo,onChange:c=>s.update({memo:c})})}),ge(st.EditableList.RemoveButton,{})]})}}),ge(st.EditableList.AddButton,{children:"Add allocation"}),ge(st.EditableList.Balance,{control:e,currency:"USD",sum:a=>a.map(i=>i.amount)})]})}var D9={render:()=>ge(tr,{control:"100.00"})},F9={render:()=>ge(tr,{control:"100.00",rows:[{id:"1",account:"Fees",amount:"40.00",memo:""}]})},L9={render:()=>ge(tr,{control:"100.00",rows:[{id:"1",account:"Fees",amount:"120.00",memo:""}]})},B9={render:()=>ge(tr,{control:"100.00"})},k9={render:()=>ge(tr,{control:"100.00",rows:[{id:"1",account:"",amount:"",memo:""}],rowError:e=>e.account?null:"Account is required"})},$9={render:()=>ge("div",{style:{width:320},children:ge(tr,{control:"100.00"})})},U9={render:()=>ge(H9,{})};function H9(){let[e,t]=(0,kd.useState)("");return ge("form",{onSubmit:r=>{r.preventDefault(),t(new URLSearchParams(new FormData(r.currentTarget)).toString())},children:[ge(tr,{control:"100.00"}),ge("button",{type:"submit",children:"Submit"}),ge("pre",{children:e})]})}var V9={render:()=>ge(tr,{control:"100.00",rows:[{id:"1",account:"One",amount:"10.00",memo:"first"},{id:"2",account:"Two",amount:"20.00",memo:"second"},{id:"3",account:"Three",amount:"30.00",memo:"third"}]}),play:async({canvasElement:e})=>{let t=Ii(e);await Di.click(t.getByRole("button",{name:"Remove allocation 2"})),await Vo(t.getByDisplayValue("third")).toBeTruthy(),await Vo(t.queryByDisplayValue("second")).toBeNull();let r=document.activeElement;await Vo(r?.closest("tr")?.getAttribute("data-row")).toBe("2")}},G9={render:()=>ge(tr,{control:"100.00"}),play:async({canvasElement:e})=>{let t=Ii(e),r=t.getAllByRole("textbox").length;await Di.click(t.getByRole("button",{name:"Add allocation"})),await Vo(t.getAllByRole("textbox").length).toBeGreaterThan(r);let n=t.getAllByRole("button",{name:/Remove allocation/}),o=n[n.length-1];o&&await Di.click(o)}};var Xr=window.React,z_=$d||{},z9=["Balanced","Under","Over","SourceFields"];function Y9({id:e}){let t=Ud[e],r={...z_.args||{},...t.args||{}};return(t.render||(o=>Xr.createElement(z_.component,o)))(r,{args:r,id:e,name:e})}var W9=z9.map(e=>Xr.createElement("section",{key:e,className:"ds-story"},Xr.createElement("p",{className:"ds-story-name"},e.replace(/([a-z])([A-Z])/g,"$1 $2")),Xr.createElement("div",{className:"ds-story-body"},Xr.createElement(Y9,{id:e}))));window.ReactDOM.createRoot(document.getElementById("root")).render(Xr.createElement(Xr.Fragment,null,W9));})();
|
|
472
|
+
|
|
473
|
+
</script>
|
|
474
|
+
</body>
|
|
475
|
+
</html>
|