cortex-react-components 1.6.0 → 1.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 +1 -32
- package/dist/{chunk-CPKQIUX4.mjs → chunk-2AXMVN4X.mjs} +1 -1
- package/dist/{chunk-ZQIQIKGT.mjs → chunk-2SI3V2Z7.mjs} +1 -1
- package/dist/chunk-4HEHNTLZ.mjs +1 -0
- package/dist/{chunk-N67IYQRE.mjs → chunk-64NIISYM.mjs} +1 -1
- package/dist/{chunk-GQKIQZ5T.mjs → chunk-7GI2YHED.mjs} +1 -1
- package/dist/{chunk-GKPGUJII.mjs → chunk-AIQJDK4Q.mjs} +1 -1
- package/dist/{chunk-ZRH3Z62F.mjs → chunk-BMUASNWP.mjs} +1 -1
- package/dist/{chunk-EZBQVFIZ.mjs → chunk-GWE3AGWP.mjs} +1 -1
- package/dist/{chunk-BXT4ZXHS.mjs → chunk-HTIXQIZ5.mjs} +1 -1
- package/dist/chunk-IDAAQH7G.mjs +1 -0
- package/dist/{chunk-6UHKJY7S.mjs → chunk-IELYTAA6.mjs} +1 -1
- package/dist/{chunk-AFA6LBJ4.mjs → chunk-IPHHUHS3.mjs} +1 -1
- package/dist/{chunk-UACG2TJ3.mjs → chunk-MQ4EJM4U.mjs} +1 -1
- package/dist/{chunk-JH5Q7PCH.mjs → chunk-NUXUAT6C.mjs} +1 -1
- package/dist/{chunk-Q5YMFYZ3.mjs → chunk-OOV6HBOT.mjs} +1 -1
- package/dist/{chunk-ADPXM7KO.mjs → chunk-OSJADXUM.mjs} +1 -1
- package/dist/chunk-QPYYNUYT.mjs +1 -0
- package/dist/{chunk-HMZ7M6O7.mjs → chunk-RKEU6GJQ.mjs} +1 -1
- package/dist/{chunk-GZ4Q2S2Q.mjs → chunk-SX4AMMTO.mjs} +1 -1
- package/dist/chunk-TMIXFPRY.mjs +1 -0
- package/dist/{chunk-5FLNXLSS.mjs → chunk-WZZ2YKDZ.mjs} +1 -1
- package/dist/{chunk-NN3TSSQT.mjs → chunk-XSCW6RG5.mjs} +1 -1
- package/dist/{chunk-T63M5EHE.mjs → chunk-Z2XIQVGO.mjs} +1 -1
- package/dist/{chunk-HBHBESNA.mjs → chunk-Z4V2VUJ4.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.d.ts +19 -17
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.d.ts +5 -0
- package/dist/components/Heros/index.js +4 -0
- package/dist/components/Heros/index.mjs +1 -0
- package/dist/components/Layouts/NewsGrid.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/SimpleHeader.d.ts +1 -1
- package/dist/components/Menus/SimpleHeader.js +1 -1
- package/dist/components/Menus/SimpleHeader.mjs +1 -1
- package/dist/components/Menus/SimpleHeader.stories.js +1 -1
- package/dist/components/Menus/SimpleHeader.stories.mjs +1 -1
- package/dist/components/Menus/index.d.ts +4 -5
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +89 -89
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.js +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.js +104 -104
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +89 -89
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +2 -2
- /package/dist/{chunk-3G4BZOQD.mjs → chunk-ZKEY52ZF.mjs} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var GS=Object.create;var Ka=Object.defineProperty;var WS=Object.getOwnPropertyDescriptor;var YS=Object.getOwnPropertyNames;var KS=Object.getPrototypeOf,JS=Object.prototype.hasOwnProperty;var XS=(e,t,r)=>t in e?Ka(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var pr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),QS=(e,t)=>{for(var r in t)Ka(e,r,{get:t[r],enumerable:!0})},qf=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of YS(t))!JS.call(e,o)&&o!==r&&Ka(e,o,{get:()=>t[o],enumerable:!(nP=WS(t,o))||nP.enumerable});return e};var $t=(e,t,r)=>(r=e!=null?GS(KS(e)):{},qf(t||!e||!e.__esModule?Ka(r,"default",{value:e,enumerable:!0}):r,e)),ZS=e=>qf(Ka({},"__esModule",{value:!0}),e);var _t=(e,t,r)=>XS(e,typeof t!="symbol"?t+"":t,r);var Au=pr((Xz,Ah)=>{"use strict";var Cu=Object.defineProperty,uC=Object.getOwnPropertyDescriptor,cC=Object.getOwnPropertyNames,dC=Object.prototype.hasOwnProperty,pC=(e,t)=>{for(var r in t)Cu(e,r,{get:t[r],enumerable:!0})},fC=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of cC(t))!dC.call(e,o)&&o!==r&&Cu(e,o,{get:()=>t[o],enumerable:!(nP=uC(t,o))||nP.enumerable});return e},hC=e=>fC(Cu({},"__esModule",{value:!0}),e),Ch={};pC(Ch,{global:()=>mC});Ah.exports=hC(Ch);var mC=(()=>{let e;return typeof window!="undefined"?e=window:typeof globalThis!="undefined"?e=globalThis:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e={},e})()});var Bt=pr((Qz,xh)=>{"use strict";var gC=Object.create,ai=Object.defineProperty,bC=Object.getOwnPropertyDescriptor,yC=Object.getOwnPropertyNames,vC=Object.getPrototypeOf,EC=Object.prototype.hasOwnProperty,lr=(e,t)=>ai(e,"name",{value:t,configurable:!0}),_C=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wC=(e,t)=>{for(var r in t)ai(e,r,{get:t[r],enumerable:!0})},Rh=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yC(t))!EC.call(e,o)&&o!==r&&ai(e,o,{get:()=>t[o],enumerable:!(nP=bC(t,o))||nP.enumerable});return e},SC=(e,t,r)=>(r=e!=null?gC(vC(e)):{},Rh(t||!e||!e.__esModule?ai(r,"default",{value:e,enumerable:!0}):r,e)),CC=e=>Rh(ai({},"__esModule",{value:!0}),e),AC=_C((e,t)=>{"use strict";var r=Object.defineProperty,nP=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=lr((p,h)=>{for(var m in h)r(p,m,{get:h[m],enumerable:!0})},"__export"),l=lr((p,h,m,g)=>{if(h&&typeof h=="object"||typeof h=="function")for(let b of o(h))!i.call(p,b)&&b!==m&&r(p,b,{get:lr(()=>h[b],"get"),enumerable:!(g=nP(h,b))||g.enumerable});return p},"__copyProps"),u=lr(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),d={};s(d,{global:lr(()=>c,"global")}),t.exports=u(d);var c=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),Th={};wC(Th,{deprecate:()=>PC,logger:()=>fs,once:()=>Zt,pretty:()=>Cr});xh.exports=CC(Th);var RC=SC(AC(),1),{LOGLEVEL:TC}=RC.global,bn={trace:1,debug:2,info:3,warn:4,error:5,silent:10},xC=TC,Ao=bn[xC]||bn.info,fs={trace:lr((e,...t)=>{Ao<=bn.trace&&console.trace(e,...t)},"trace"),debug:lr((e,...t)=>{Ao<=bn.debug&&console.debug(e,...t)},"debug"),info:lr((e,...t)=>{Ao<=bn.info&&console.info(e,...t)},"info"),warn:lr((e,...t)=>{Ao<=bn.warn&&console.warn(e,...t)},"warn"),error:lr((e,...t)=>{Ao<=bn.error&&console.error(e,...t)},"error"),log:lr((e,...t)=>{Ao<bn.silent&&console.log(e,...t)},"log")},Ru=new Set,Zt=lr(e=>(t,...r)=>{if(!Ru.has(t))return Ru.add(t),fs[e](t,...r)},"once");Zt.clear=()=>Ru.clear();Zt.trace=Zt("trace");Zt.debug=Zt("debug");Zt.info=Zt("info");Zt.warn=Zt("warn");Zt.error=Zt("error");Zt.log=Zt("log");var PC=Zt("warn"),Cr=lr(e=>(...t)=>{let r=[];if(t.length){let nP=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,i;for(r.push(t[0].replace(nP,"%c").replace(o,"%c"));i=nP.exec(t[0]);)r.push(i[2]),r.push("");for(let s=1;s<t.length;s++)r.push(t[s])}fs[e].apply(fs,r)},"pretty");Cr.trace=Cr("trace");Cr.debug=Cr("debug");Cr.info=Cr("info");Cr.warn=Cr("warn");Cr.error=Cr("error")});var Tu=pr((Zz,Ph)=>{"use strict";Ph.exports=Bt()});var jr=pr((e8,Nh)=>{"use strict";var xu=Object.defineProperty,OC=Object.getOwnPropertyDescriptor,NC=Object.getOwnPropertyNames,MC=Object.prototype.hasOwnProperty,IC=(e,t)=>{for(var r in t)xu(e,r,{get:t[r],enumerable:!0})},DC=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of NC(t))!MC.call(e,o)&&o!==r&&xu(e,o,{get:()=>t[o],enumerable:!(nP=OC(t,o))||nP.enumerable});return e},qC=e=>DC(xu({},"__esModule",{value:!0}),e),Oh={};IC(Oh,{ARGTYPES_INFO_REQUEST:()=>jA,ARGTYPES_INFO_RESPONSE:()=>BA,CHANNEL_CREATED:()=>kC,CHANNEL_WS_DISCONNECT:()=>BC,CONFIG_ERROR:()=>FC,CREATE_NEW_STORYFILE_REQUEST:()=>LC,CREATE_NEW_STORYFILE_RESPONSE:()=>$C,CURRENT_STORY_WAS_SET:()=>UC,DOCS_PREPARED:()=>HC,DOCS_RENDERED:()=>zC,FILE_COMPONENT_SEARCH_REQUEST:()=>VC,FILE_COMPONENT_SEARCH_RESPONSE:()=>GC,FORCE_REMOUNT:()=>YC,FORCE_RE_RENDER:()=>WC,GLOBALS_UPDATED:()=>KC,NAVIGATE_URL:()=>JC,PLAY_FUNCTION_THREW_EXCEPTION:()=>XC,PRELOAD_ENTRIES:()=>ZC,PREVIEW_BUILDER_PROGRESS:()=>eA,PREVIEW_KEYDOWN:()=>tA,REGISTER_SUBSCRIPTION:()=>rA,REQUEST_WHATS_NEW_DATA:()=>PA,RESET_STORY_ARGS:()=>nA,RESULT_WHATS_NEW_DATA:()=>OA,SAVE_STORY_REQUEST:()=>DA,SAVE_STORY_RESPONSE:()=>qA,SELECT_STORY:()=>oA,SET_CONFIG:()=>aA,SET_CURRENT_STORY:()=>iA,SET_FILTER:()=>sA,SET_GLOBALS:()=>lA,SET_INDEX:()=>uA,SET_STORIES:()=>cA,SET_WHATS_NEW_CACHE:()=>NA,SHARED_STATE_CHANGED:()=>dA,SHARED_STATE_SET:()=>pA,STORIES_COLLAPSE_ALL:()=>fA,STORIES_EXPAND_ALL:()=>hA,STORY_ARGS_UPDATED:()=>mA,STORY_CHANGED:()=>gA,STORY_ERRORED:()=>bA,STORY_INDEX_INVALIDATED:()=>yA,STORY_MISSING:()=>vA,STORY_PREPARED:()=>EA,STORY_RENDERED:()=>wA,STORY_RENDER_PHASE_CHANGED:()=>_A,STORY_SPECIFIED:()=>SA,STORY_THREW_EXCEPTION:()=>CA,STORY_UNCHANGED:()=>AA,TELEMETRY_ERROR:()=>IA,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>UA,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>HA,TESTING_MODULE_CRASH_REPORT:()=>kA,TESTING_MODULE_PROGRESS_REPORT:()=>FA,TESTING_MODULE_RUN_ALL_REQUEST:()=>$A,TESTING_MODULE_RUN_REQUEST:()=>LA,TESTING_MODULE_WATCH_MODE_REQUEST:()=>zA,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>MA,UNHANDLED_ERRORS_WHILE_PLAYING:()=>QC,UPDATE_GLOBALS:()=>RA,UPDATE_QUERY_PARAMS:()=>TA,UPDATE_STORY_ARGS:()=>xA,default:()=>jC});Nh.exports=qC(Oh);var Pu=(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_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.TESTING_MODULE_WATCH_MODE_REQUEST="testingModuleWatchModeRequest",e))(Pu||{}),jC=Pu,{CHANNEL_WS_DISCONNECT:BC,CHANNEL_CREATED:kC,CONFIG_ERROR:FC,CREATE_NEW_STORYFILE_REQUEST:LC,CREATE_NEW_STORYFILE_RESPONSE:$C,CURRENT_STORY_WAS_SET:UC,DOCS_PREPARED:HC,DOCS_RENDERED:zC,FILE_COMPONENT_SEARCH_REQUEST:VC,FILE_COMPONENT_SEARCH_RESPONSE:GC,FORCE_RE_RENDER:WC,FORCE_REMOUNT:YC,GLOBALS_UPDATED:KC,NAVIGATE_URL:JC,PLAY_FUNCTION_THREW_EXCEPTION:XC,UNHANDLED_ERRORS_WHILE_PLAYING:QC,PRELOAD_ENTRIES:ZC,PREVIEW_BUILDER_PROGRESS:eA,PREVIEW_KEYDOWN:tA,REGISTER_SUBSCRIPTION:rA,RESET_STORY_ARGS:nA,SELECT_STORY:oA,SET_CONFIG:aA,SET_CURRENT_STORY:iA,SET_FILTER:sA,SET_GLOBALS:lA,SET_INDEX:uA,SET_STORIES:cA,SHARED_STATE_CHANGED:dA,SHARED_STATE_SET:pA,STORIES_COLLAPSE_ALL:fA,STORIES_EXPAND_ALL:hA,STORY_ARGS_UPDATED:mA,STORY_CHANGED:gA,STORY_ERRORED:bA,STORY_INDEX_INVALIDATED:yA,STORY_MISSING:vA,STORY_PREPARED:EA,STORY_RENDER_PHASE_CHANGED:_A,STORY_RENDERED:wA,STORY_SPECIFIED:SA,STORY_THREW_EXCEPTION:CA,STORY_UNCHANGED:AA,UPDATE_GLOBALS:RA,UPDATE_QUERY_PARAMS:TA,UPDATE_STORY_ARGS:xA,REQUEST_WHATS_NEW_DATA:PA,RESULT_WHATS_NEW_DATA:OA,SET_WHATS_NEW_CACHE:NA,TOGGLE_WHATS_NEW_NOTIFICATIONS:MA,TELEMETRY_ERROR:IA,SAVE_STORY_REQUEST:DA,SAVE_STORY_RESPONSE:qA,ARGTYPES_INFO_REQUEST:jA,ARGTYPES_INFO_RESPONSE:BA,TESTING_MODULE_CRASH_REPORT:kA,TESTING_MODULE_PROGRESS_REPORT:FA,TESTING_MODULE_RUN_REQUEST:LA,TESTING_MODULE_RUN_ALL_REQUEST:$A,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:UA,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:HA,TESTING_MODULE_WATCH_MODE_REQUEST:zA}=Pu});var Ih=pr((t8,Mh)=>{"use strict";Mh.exports=jr()});var Dh=pr((exports,module)=>{"use strict";var Ce=Object.create,q=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,xe=Object.getOwnPropertyNames,Ie=Object.getPrototypeOf,je=Object.prototype.hasOwnProperty,a=(e,t)=>q(e,"name",{value:t,configurable:!0}),z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Te=(e,t)=>{for(var r in t)q(e,r,{get:t[r],enumerable:!0})},ie=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of xe(t))!je.call(e,o)&&o!==r&&q(e,o,{get:()=>t[o],enumerable:!(nP=Ae(t,o))||nP.enumerable});return e},j=(e,t,r)=>(r=e!=null?Ce(Ie(e)):{},ie(t||!e||!e.__esModule?q(r,"default",{value:e,enumerable:!0}):r,e)),Me=e=>ie(q({},"__esModule",{value:!0}),e),Z=z((e,t)=>{"use strict";var r=Object.defineProperty,nP=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=a((p,h)=>{for(var m in h)r(p,m,{get:h[m],enumerable:!0})},"__export"),l=a((p,h,m,g)=>{if(h&&typeof h=="object"||typeof h=="function")for(let b of o(h))!i.call(p,b)&&b!==m&&r(p,b,{get:a(()=>h[b],"get"),enumerable:!(g=nP(h,b))||g.enumerable});return p},"__copyProps"),u=a(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),d={};s(d,{global:a(()=>c,"global")}),t.exports=u(d);var c=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),ue=z((e,t)=>{function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}a(r,"Similar"),r.prototype.get=function(nP){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,nP))return this.lastItem.val;if(o=this.indexOf(nP),o>=0)return this.lastItem=this.list[o],this.list[o].val},r.prototype.set=function(nP,o){var i;return this.lastItem&&this.isEqual(this.lastItem.key,nP)?(this.lastItem.val=o,this):(i=this.indexOf(nP),i>=0?(this.lastItem=this.list[i],this.list[i].val=o,this):(this.lastItem={key:nP,val:o},this.list.push(this.lastItem),this.size++,this))},r.prototype.delete=function(nP){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,nP)&&(this.lastItem=void 0),o=this.indexOf(nP),o>=0)return this.size--,this.list.splice(o,1)[0]},r.prototype.has=function(nP){var o;return this.lastItem&&this.isEqual(this.lastItem.key,nP)?!0:(o=this.indexOf(nP),o>=0?(this.lastItem=this.list[o],!0):!1)},r.prototype.forEach=function(nP,o){var i;for(i=0;i<this.size;i++)nP.call(o||this,this.list[i].val,this.list[i].key,this)},r.prototype.indexOf=function(nP){var o;for(o=0;o<this.size;o++)if(this.isEqual(this.list[o].key,nP))return o;return-1},r.prototype.isEqual=function(nP,o){return nP===o||nP!==nP&&o!==o},t.exports=r}),pe=z((e,t)=>{t.exports=function(r){if(typeof Map!="function"||r){var nP=ue();return new nP}else return new Map}}),he=z((e,t)=>{var r=pe();t.exports=function(s){var l=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),u=[];return function(d){var c=a(function(){var p=l,h,m,g=arguments.length-1,b=Array(g+1),y=!0,E;if((c.numArgs||c.numArgs===0)&&c.numArgs!==g+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(E=0;E<g;E++){if(b[E]={cacheItem:p,arg:arguments[E]},p.has(arguments[E])){p=p.get(arguments[E]);continue}y=!1,h=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),p.set(arguments[E],h),p=h}return y&&(p.has(arguments[g])?m=p.get(arguments[g]):y=!1),y||(m=d.apply(null,arguments),p.set(arguments[g],m)),s>0&&(b[g]={cacheItem:p,arg:arguments[g]},y?nP(u,b):u.push(b),u.length>s&&o(u.shift())),c.wasMemoized=y,c.numArgs=g+1,m},"memoizerific");return c.limit=s,c.wasMemoized=!1,c.cache=l,c.lru=u,c}};function nP(s,l){var u=s.length,d=l.length,c,p,h;for(p=0;p<u;p++){for(c=!0,h=0;h<d;h++)if(!i(s[p][h].arg,l[h].arg)){c=!1;break}if(c)break}s.push(s.splice(p,1)[0])}a(nP,"moveToMostRecentLru");function o(s){var l=s.length,u=s[l-1],d,c;for(u.cacheItem.delete(u.arg),c=l-2;c>=0&&(u=s[c],d=u.cacheItem.get(u.arg),!d||!d.size);c--)u.cacheItem.delete(u.arg)}a(o,"removeCachedResult");function i(s,l){return s===l||s!==s&&l!==l}a(i,"isEqual")}),ee=z((exports,module)=>{"use strict";var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS=a((e,t)=>a(function(){return t||(0,e[__getOwnPropNames(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),__export=a((e,t)=>{for(var r in t)__defProp(e,r,{get:t[r],enumerable:!0})},"__export"),__copyProps=a((e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of __getOwnPropNames(t))!__hasOwnProp.call(e,o)&&o!==r&&__defProp(e,o,{get:a(()=>t[o],"get"),enumerable:!(nP=__getOwnPropDesc(t,o))||nP.enumerable});return e},"__copyProps"),__toESM=a((e,t,r)=>(r=e!=null?__create(__getProtoOf(e)):{},__copyProps(t||!e||!e.__esModule?__defProp(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),__toCommonJS=a(e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),"__toCommonJS"),require_shams=__commonJS({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=a(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},nP=Symbol("test"),o=Object(nP);if(typeof nP=="string"||Object.prototype.toString.call(nP)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[nP]=i;for(nP 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 s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==nP||!Object.prototype.propertyIsEnumerable.call(r,nP))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,nP);if(l.value!==i||l.enumerable!==!0)return!1}return!0},"hasSymbols")}}),require_has_symbols=__commonJS({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,nP=require_shams();t.exports=a(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:nP()},"hasNativeSymbols")}}),require_implementation=__commonJS({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",nP=Array.prototype.slice,o=Object.prototype.toString,i="[object Function]";t.exports=a(function(s){var l=this;if(typeof l!="function"||o.call(l)!==i)throw new TypeError(r+l);for(var u=nP.call(arguments,1),d,c=a(function(){if(this instanceof d){var b=l.apply(this,u.concat(nP.call(arguments)));return Object(b)===b?b:this}else return l.apply(s,u.concat(nP.call(arguments)))},"binder"),p=Math.max(0,l.length-u.length),h=[],m=0;m<p;m++)h.push("$"+m);if(d=Function("binder","return function ("+h.join(",")+"){ return binder.apply(this,arguments); }")(c),l.prototype){var g=a(function(){},"Empty2");g.prototype=l.prototype,d.prototype=new g,g.prototype=null}return d},"bind")}}),require_function_bind=__commonJS({"node_modules/function-bind/index.js"(e,t){"use strict";var r=require_implementation();t.exports=Function.prototype.bind||r}}),require_src=__commonJS({"node_modules/has/src/index.js"(e,t){"use strict";var r=require_function_bind();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),require_get_intrinsic=__commonJS({"node_modules/get-intrinsic/index.js"(e,t){"use strict";var r,nP=SyntaxError,o=Function,i=TypeError,s=a(function(V){try{return o('"use strict"; return ('+V+").constructor;")()}catch{}},"getEvalledConstructor"),l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var u=a(function(){throw new i},"throwTypeError"),d=l?function(){try{return arguments.callee,u}catch{try{return l(arguments,"callee").get}catch{return u}}}():u,c=require_has_symbols()(),p=Object.getPrototypeOf||function(V){return V.__proto__},h={},m=typeof Uint8Array>"u"?r:p(Uint8Array),g={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%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%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!c?r:p(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"||!c?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?p(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":nP,"%ThrowTypeError%":d,"%TypedArray%":m,"%TypeError%":i,"%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},b=a(function V(J){var x;if(J==="%AsyncFunction%")x=s("async function () {}");else if(J==="%GeneratorFunction%")x=s("function* () {}");else if(J==="%AsyncGeneratorFunction%")x=s("async function* () {}");else if(J==="%AsyncGenerator%"){var B=V("%AsyncGeneratorFunction%");B&&(x=B.prototype)}else if(J==="%AsyncIteratorPrototype%"){var K=V("%AsyncGenerator%");K&&(x=p(K.prototype))}return g[J]=x,x},"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"]},E=require_function_bind(),_=require_src(),P=E.call(Function.call,Array.prototype.concat),C=E.call(Function.apply,Array.prototype.splice),w=E.call(Function.call,String.prototype.replace),S=E.call(Function.call,String.prototype.slice),T=E.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,U=a(function(V){var J=S(V,0,1),x=S(V,-1);if(J==="%"&&x!=="%")throw new nP("invalid intrinsic syntax, expected closing `%`");if(x==="%"&&J!=="%")throw new nP("invalid intrinsic syntax, expected opening `%`");var B=[];return w(V,A,function(K,fe,ce,Re){B[B.length]=ce?w(Re,N,"$1"):fe||K}),B},"stringToPath3"),X=a(function(V,J){var x=V,B;if(_(y,x)&&(B=y[x],x="%"+B[0]+"%"),_(g,x)){var K=g[x];if(K===h&&(K=b(x)),typeof K>"u"&&!J)throw new i("intrinsic "+V+" exists, but is not available. Please file an issue!");return{alias:B,name:x,value:K}}throw new nP("intrinsic "+V+" does not exist!")},"getBaseIntrinsic2");t.exports=a(function(V,J){if(typeof V!="string"||V.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof J!="boolean")throw new i('"allowMissing" argument must be a boolean');if(T(/^%?[^%]*%?$/,V)===null)throw new nP("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var x=U(V),B=x.length>0?x[0]:"",K=X("%"+B+"%",J),fe=K.name,ce=K.value,Re=!1,Fe=K.alias;Fe&&(B=Fe[0],C(x,P([0,1],Fe)));for(var Oe=1,le=!0;Oe<x.length;Oe+=1){var se=x[Oe],de=S(se,0,1),Se=S(se,-1);if((de==='"'||de==="'"||de==="`"||Se==='"'||Se==="'"||Se==="`")&&de!==Se)throw new nP("property names with quotes must have matching quotes");if((se==="constructor"||!le)&&(Re=!0),B+="."+se,fe="%"+B+"%",_(g,fe))ce=g[fe];else if(ce!=null){if(!(se in ce)){if(!J)throw new i("base intrinsic for "+V+" exists, but the property is not available.");return}if(l&&Oe+1>=x.length){var qe=l(ce,se);le=!!qe,le&&"get"in qe&&!("originalValue"in qe.get)?ce=qe.get:ce=ce[se]}else le=_(ce,se),ce=ce[se];le&&!Re&&(g[fe]=ce)}}return ce},"GetIntrinsic")}}),require_call_bind=__commonJS({"node_modules/call-bind/index.js"(e,t){"use strict";var r=require_function_bind(),nP=require_get_intrinsic(),o=nP("%Function.prototype.apply%"),i=nP("%Function.prototype.call%"),s=nP("%Reflect.apply%",!0)||r.call(i,o),l=nP("%Object.getOwnPropertyDescriptor%",!0),u=nP("%Object.defineProperty%",!0),d=nP("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=a(function(p){var h=s(r,i,arguments);if(l&&u){var m=l(h,"length");m.configurable&&u(h,"length",{value:1+d(0,p.length-(arguments.length-1))})}return h},"callBind");var c=a(function(){return s(r,o,arguments)},"applyBind2");u?u(t.exports,"apply",{value:c}):t.exports.apply=c}}),require_callBound=__commonJS({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=require_get_intrinsic(),nP=require_call_bind(),o=nP(r("String.prototype.indexOf"));t.exports=a(function(i,s){var l=r(i,!!s);return typeof l=="function"&&o(i,".prototype.")>-1?nP(l):l},"callBoundIntrinsic")}}),require_shams2=__commonJS({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=require_shams();t.exports=a(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),require_is_regex=__commonJS({"node_modules/is-regex/index.js"(e,t){"use strict";var r=require_callBound(),nP=require_shams2()(),o,i,s,l;nP&&(o=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),s={},u=a(function(){throw s},"throwRegexMarker"),l={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),c=Object.getOwnPropertyDescriptor,p="[object RegExp]";t.exports=a(nP?function(h){if(!h||typeof h!="object")return!1;var m=c(h,"lastIndex"),g=m&&o(m,"value");if(!g)return!1;try{i(h,l)}catch(b){return b===s}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===p},"isRegex")}}),require_is_function=__commonJS({"node_modules/is-function/index.js"(e,t){t.exports=nP;var r=Object.prototype.toString;function nP(o){if(!o)return!1;var i=r.call(o);return i==="[object Function]"||typeof o=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}a(nP,"isFunction3")}}),require_is_symbol=__commonJS({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,nP=require_has_symbols()();nP?(o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,s=a(function(l){return typeof l.valueOf()!="symbol"?!1:i.test(o.call(l))},"isRealSymbolObject"),t.exports=a(function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return s(l)}catch{return!1}},"isSymbol3")):t.exports=a(function(l){return!1},"isSymbol3");var o,i,s}}),src_exports={};__export(src_exports,{isJSON:a(()=>isJSON,"isJSON"),parse:a(()=>parse,"parse"),replacer:a(()=>replacer,"replacer"),reviver:a(()=>reviver2,"reviver"),stringify:a(()=>stringify,"stringify")}),module.exports=__toCommonJS(src_exports);var import_is_regex=__toESM(require_is_regex()),import_is_function=__toESM(require_is_function()),import_is_symbol=__toESM(require_is_symbol());function isObject(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}a(isObject,"isObject");var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal_default=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root2=freeGlobal_default||freeSelf||Function("return this")(),root_default=root2,Symbol2=root_default.Symbol,Symbol_default=Symbol2,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty.call(e,symToStringTag),r=e[symToStringTag];try{e[symToStringTag]=void 0;var nP=!0}catch{}var o=nativeObjectToString.call(e);return nP&&(t?e[symToStringTag]=r:delete e[symToStringTag]),o}a(getRawTag,"getRawTag");var getRawTag_default=getRawTag,objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(e){return nativeObjectToString2.call(e)}a(objectToString,"objectToString");var objectToString_default=objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(e)?getRawTag_default(e):objectToString_default(e)}a(baseGetTag,"baseGetTag");var baseGetTag_default=baseGetTag;function isObjectLike(e){return e!=null&&typeof e=="object"}a(isObjectLike,"isObjectLike");var isObjectLike_default=isObjectLike,symbolTag="[object Symbol]";function isSymbol(e){return typeof e=="symbol"||isObjectLike_default(e)&&baseGetTag_default(e)==symbolTag}a(isSymbol,"isSymbol");var isSymbol_default=isSymbol;function arrayMap(e,t){for(var r=-1,nP=e==null?0:e.length,o=Array(nP);++r<nP;)o[r]=t(e[r],r,e);return o}a(arrayMap,"arrayMap");var arrayMap_default=arrayMap,isArray=Array.isArray,isArray_default=isArray,INFINITY=1/0,symbolProto=Symbol_default?Symbol_default.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(e){if(typeof e=="string")return e;if(isArray_default(e))return arrayMap_default(e,baseToString)+"";if(isSymbol_default(e))return symbolToString?symbolToString.call(e):"";var t=e+"";return t=="0"&&1/e==-INFINITY?"-0":t}a(baseToString,"baseToString");var baseToString_default=baseToString;function isObject2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}a(isObject2,"isObject2");var isObject_default=isObject2,asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject_default(e))return!1;var t=baseGetTag_default(e);return t==funcTag||t==genTag||t==asyncTag||t==proxyTag}a(isFunction,"isFunction");var isFunction_default=isFunction,coreJsData=root_default["__core-js_shared__"],coreJsData_default=coreJsData,maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData_default&&coreJsData_default.keys&&coreJsData_default.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}a(isMasked,"isMasked");var isMasked_default=isMasked,funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(e){if(e!=null){try{return funcToString.call(e)}catch{}try{return e+""}catch{}}return""}a(toSource,"toSource");var toSource_default=toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto2=Function.prototype,objectProto3=Object.prototype,funcToString2=funcProto2.toString,hasOwnProperty2=objectProto3.hasOwnProperty,reIsNative=RegExp("^"+funcToString2.call(hasOwnProperty2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!isObject_default(e)||isMasked_default(e))return!1;var t=isFunction_default(e)?reIsNative:reIsHostCtor;return t.test(toSource_default(e))}a(baseIsNative,"baseIsNative");var baseIsNative_default=baseIsNative;function getValue(e,t){return e==null?void 0:e[t]}a(getValue,"getValue");var getValue_default=getValue;function getNative(e,t){var r=getValue_default(e,t);return baseIsNative_default(r)?r:void 0}a(getNative,"getNative");var getNative_default=getNative;function eq(e,t){return e===t||e!==e&&t!==t}a(eq,"eq");var eq_default=eq,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(e,t){if(isArray_default(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||isSymbol_default(e)?!0:reIsPlainProp.test(e)||!reIsDeepProp.test(e)||t!=null&&e in Object(t)}a(isKey,"isKey");var isKey_default=isKey,nativeCreate=getNative_default(Object,"create"),nativeCreate_default=nativeCreate;function hashClear(){this.__data__=nativeCreate_default?nativeCreate_default(null):{},this.size=0}a(hashClear,"hashClear");var hashClear_default=hashClear;function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}a(hashDelete,"hashDelete");var hashDelete_default=hashDelete,HASH_UNDEFINED="__lodash_hash_undefined__",objectProto4=Object.prototype,hasOwnProperty3=objectProto4.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate_default){var r=t[e];return r===HASH_UNDEFINED?void 0:r}return hasOwnProperty3.call(t,e)?t[e]:void 0}a(hashGet,"hashGet");var hashGet_default=hashGet,objectProto5=Object.prototype,hasOwnProperty4=objectProto5.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate_default?t[e]!==void 0:hasOwnProperty4.call(t,e)}a(hashHas,"hashHas");var hashHas_default=hashHas,HASH_UNDEFINED2="__lodash_hash_undefined__";function hashSet(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nativeCreate_default&&t===void 0?HASH_UNDEFINED2:t,this}a(hashSet,"hashSet");var hashSet_default=hashSet;function Hash(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var nP=e[t];this.set(nP[0],nP[1])}}a(Hash,"Hash"),Hash.prototype.clear=hashClear_default,Hash.prototype.delete=hashDelete_default,Hash.prototype.get=hashGet_default,Hash.prototype.has=hashHas_default,Hash.prototype.set=hashSet_default;var Hash_default=Hash;function listCacheClear(){this.__data__=[],this.size=0}a(listCacheClear,"listCacheClear");var listCacheClear_default=listCacheClear;function assocIndexOf(e,t){for(var r=e.length;r--;)if(eq_default(e[r][0],t))return r;return-1}a(assocIndexOf,"assocIndexOf");var assocIndexOf_default=assocIndexOf,arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,r=assocIndexOf_default(t,e);if(r<0)return!1;var nP=t.length-1;return r==nP?t.pop():splice.call(t,r,1),--this.size,!0}a(listCacheDelete,"listCacheDelete");var listCacheDelete_default=listCacheDelete;function listCacheGet(e){var t=this.__data__,r=assocIndexOf_default(t,e);return r<0?void 0:t[r][1]}a(listCacheGet,"listCacheGet");var listCacheGet_default=listCacheGet;function listCacheHas(e){return assocIndexOf_default(this.__data__,e)>-1}a(listCacheHas,"listCacheHas");var listCacheHas_default=listCacheHas;function listCacheSet(e,t){var r=this.__data__,nP=assocIndexOf_default(r,e);return nP<0?(++this.size,r.push([e,t])):r[nP][1]=t,this}a(listCacheSet,"listCacheSet");var listCacheSet_default=listCacheSet;function ListCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var nP=e[t];this.set(nP[0],nP[1])}}a(ListCache,"ListCache"),ListCache.prototype.clear=listCacheClear_default,ListCache.prototype.delete=listCacheDelete_default,ListCache.prototype.get=listCacheGet_default,ListCache.prototype.has=listCacheHas_default,ListCache.prototype.set=listCacheSet_default;var ListCache_default=ListCache,Map2=getNative_default(root_default,"Map"),Map_default=Map2;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash_default,map:new(Map_default||ListCache_default),string:new Hash_default}}a(mapCacheClear,"mapCacheClear");var mapCacheClear_default=mapCacheClear;function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}a(isKeyable,"isKeyable");var isKeyable_default=isKeyable;function getMapData(e,t){var r=e.__data__;return isKeyable_default(t)?r[typeof t=="string"?"string":"hash"]:r.map}a(getMapData,"getMapData");var getMapData_default=getMapData;function mapCacheDelete(e){var t=getMapData_default(this,e).delete(e);return this.size-=t?1:0,t}a(mapCacheDelete,"mapCacheDelete");var mapCacheDelete_default=mapCacheDelete;function mapCacheGet(e){return getMapData_default(this,e).get(e)}a(mapCacheGet,"mapCacheGet");var mapCacheGet_default=mapCacheGet;function mapCacheHas(e){return getMapData_default(this,e).has(e)}a(mapCacheHas,"mapCacheHas");var mapCacheHas_default=mapCacheHas;function mapCacheSet(e,t){var r=getMapData_default(this,e),nP=r.size;return r.set(e,t),this.size+=r.size==nP?0:1,this}a(mapCacheSet,"mapCacheSet");var mapCacheSet_default=mapCacheSet;function MapCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var nP=e[t];this.set(nP[0],nP[1])}}a(MapCache,"MapCache"),MapCache.prototype.clear=mapCacheClear_default,MapCache.prototype.delete=mapCacheDelete_default,MapCache.prototype.get=mapCacheGet_default,MapCache.prototype.has=mapCacheHas_default,MapCache.prototype.set=mapCacheSet_default;var MapCache_default=MapCache,FUNC_ERROR_TEXT="Expected a function";function memoize(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(FUNC_ERROR_TEXT);var r=a(function(){var nP=arguments,o=t?t.apply(this,nP):nP[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,nP);return r.cache=i.set(o,s)||i,s},"memoized");return r.cache=new(memoize.Cache||MapCache_default),r}a(memoize,"memoize"),memoize.Cache=MapCache_default;var memoize_default=memoize,MAX_MEMOIZE_SIZE=500;function memoizeCapped(e){var t=memoize_default(e,function(nP){return r.size===MAX_MEMOIZE_SIZE&&r.clear(),nP}),r=t.cache;return t}a(memoizeCapped,"memoizeCapped");var memoizeCapped_default=memoizeCapped,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped_default(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(rePropName,function(r,nP,o,i){t.push(o?i.replace(reEscapeChar,"$1"):nP||r)}),t}),stringToPath_default=stringToPath;function toString(e){return e==null?"":baseToString_default(e)}a(toString,"toString");var toString_default=toString;function castPath(e,t){return isArray_default(e)?e:isKey_default(e,t)?[e]:stringToPath_default(toString_default(e))}a(castPath,"castPath");var castPath_default=castPath,INFINITY2=1/0;function toKey(e){if(typeof e=="string"||isSymbol_default(e))return e;var t=e+"";return t=="0"&&1/e==-INFINITY2?"-0":t}a(toKey,"toKey");var toKey_default=toKey;function baseGet(e,t){t=castPath_default(t,e);for(var r=0,nP=t.length;e!=null&&r<nP;)e=e[toKey_default(t[r++])];return r&&r==nP?e:void 0}a(baseGet,"baseGet");var baseGet_default=baseGet;function get(e,t,r){var nP=e==null?void 0:baseGet_default(e,t);return nP===void 0?r:nP}a(get,"get");var get_default=get,import_memoizerific=__toESM(he()),eventProperties=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],customEventSpecificProperties=["detail"];function extractEventHiddenProperties(e){let t=eventProperties.filter(r=>e[r]!==void 0).reduce((r,nP)=>({...r,[nP]:e[nP]}),{});return e instanceof CustomEvent&&customEventSpecificProperties.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}a(extractEventHiddenProperties,"extractEventHiddenProperties");var isObject3=isObject,removeCodeComments=a(e=>{let t=null,r=!1,nP=!1,o=!1,i="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let s=0;s<e.length;s+=1)!t&&!r&&!nP&&!o?e[s]==='"'||e[s]==="'"||e[s]==="`"?t=e[s]:e[s]==="/"&&e[s+1]==="*"?r=!0:e[s]==="/"&&e[s+1]==="/"?nP=!0:e[s]==="/"&&e[s+1]!=="/"&&(o=!0):(t&&(e[s]===t&&e[s-1]!=="\\"||e[s]===`
|
|
4
|
+
"use strict";var GS=Object.create;var Ka=Object.defineProperty;var WS=Object.getOwnPropertyDescriptor;var YS=Object.getOwnPropertyNames;var KS=Object.getPrototypeOf,JS=Object.prototype.hasOwnProperty;var XS=(e,t,r)=>t in e?Ka(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var pr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),QS=(e,t)=>{for(var r in t)Ka(e,r,{get:t[r],enumerable:!0})},Df=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of YS(t))!JS.call(e,o)&&o!==r&&Ka(e,o,{get:()=>t[o],enumerable:!(nP=WS(t,o))||nP.enumerable});return e};var $t=(e,t,r)=>(r=e!=null?GS(KS(e)):{},Df(t||!e||!e.__esModule?Ka(r,"default",{value:e,enumerable:!0}):r,e)),ZS=e=>Df(Ka({},"__esModule",{value:!0}),e);var _t=(e,t,r)=>XS(e,typeof t!="symbol"?t+"":t,r);var Cu=pr((Vz,Ah)=>{"use strict";var Su=Object.defineProperty,uC=Object.getOwnPropertyDescriptor,cC=Object.getOwnPropertyNames,dC=Object.prototype.hasOwnProperty,pC=(e,t)=>{for(var r in t)Su(e,r,{get:t[r],enumerable:!0})},fC=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of cC(t))!dC.call(e,o)&&o!==r&&Su(e,o,{get:()=>t[o],enumerable:!(nP=uC(t,o))||nP.enumerable});return e},hC=e=>fC(Su({},"__esModule",{value:!0}),e),Ch={};pC(Ch,{global:()=>mC});Ah.exports=hC(Ch);var mC=(()=>{let e;return typeof window!="undefined"?e=window:typeof globalThis!="undefined"?e=globalThis:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e={},e})()});var Bt=pr((Gz,xh)=>{"use strict";var gC=Object.create,ai=Object.defineProperty,bC=Object.getOwnPropertyDescriptor,yC=Object.getOwnPropertyNames,vC=Object.getPrototypeOf,EC=Object.prototype.hasOwnProperty,lr=(e,t)=>ai(e,"name",{value:t,configurable:!0}),_C=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wC=(e,t)=>{for(var r in t)ai(e,r,{get:t[r],enumerable:!0})},Rh=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yC(t))!EC.call(e,o)&&o!==r&&ai(e,o,{get:()=>t[o],enumerable:!(nP=bC(t,o))||nP.enumerable});return e},SC=(e,t,r)=>(r=e!=null?gC(vC(e)):{},Rh(t||!e||!e.__esModule?ai(r,"default",{value:e,enumerable:!0}):r,e)),CC=e=>Rh(ai({},"__esModule",{value:!0}),e),AC=_C((e,t)=>{"use strict";var r=Object.defineProperty,nP=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=lr((p,h)=>{for(var m in h)r(p,m,{get:h[m],enumerable:!0})},"__export"),l=lr((p,h,m,g)=>{if(h&&typeof h=="object"||typeof h=="function")for(let b of o(h))!i.call(p,b)&&b!==m&&r(p,b,{get:lr(()=>h[b],"get"),enumerable:!(g=nP(h,b))||g.enumerable});return p},"__copyProps"),u=lr(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),d={};s(d,{global:lr(()=>c,"global")}),t.exports=u(d);var c=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),Th={};wC(Th,{deprecate:()=>PC,logger:()=>ps,once:()=>Zt,pretty:()=>Cr});xh.exports=CC(Th);var RC=SC(AC(),1),{LOGLEVEL:TC}=RC.global,bn={trace:1,debug:2,info:3,warn:4,error:5,silent:10},xC=TC,Ao=bn[xC]||bn.info,ps={trace:lr((e,...t)=>{Ao<=bn.trace&&console.trace(e,...t)},"trace"),debug:lr((e,...t)=>{Ao<=bn.debug&&console.debug(e,...t)},"debug"),info:lr((e,...t)=>{Ao<=bn.info&&console.info(e,...t)},"info"),warn:lr((e,...t)=>{Ao<=bn.warn&&console.warn(e,...t)},"warn"),error:lr((e,...t)=>{Ao<=bn.error&&console.error(e,...t)},"error"),log:lr((e,...t)=>{Ao<bn.silent&&console.log(e,...t)},"log")},Au=new Set,Zt=lr(e=>(t,...r)=>{if(!Au.has(t))return Au.add(t),ps[e](t,...r)},"once");Zt.clear=()=>Au.clear();Zt.trace=Zt("trace");Zt.debug=Zt("debug");Zt.info=Zt("info");Zt.warn=Zt("warn");Zt.error=Zt("error");Zt.log=Zt("log");var PC=Zt("warn"),Cr=lr(e=>(...t)=>{let r=[];if(t.length){let nP=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,i;for(r.push(t[0].replace(nP,"%c").replace(o,"%c"));i=nP.exec(t[0]);)r.push(i[2]),r.push("");for(let s=1;s<t.length;s++)r.push(t[s])}ps[e].apply(ps,r)},"pretty");Cr.trace=Cr("trace");Cr.debug=Cr("debug");Cr.info=Cr("info");Cr.warn=Cr("warn");Cr.error=Cr("error")});var Ru=pr((Wz,Ph)=>{"use strict";Ph.exports=Bt()});var jr=pr((Yz,Nh)=>{"use strict";var Tu=Object.defineProperty,OC=Object.getOwnPropertyDescriptor,NC=Object.getOwnPropertyNames,MC=Object.prototype.hasOwnProperty,IC=(e,t)=>{for(var r in t)Tu(e,r,{get:t[r],enumerable:!0})},DC=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of NC(t))!MC.call(e,o)&&o!==r&&Tu(e,o,{get:()=>t[o],enumerable:!(nP=OC(t,o))||nP.enumerable});return e},qC=e=>DC(Tu({},"__esModule",{value:!0}),e),Oh={};IC(Oh,{ARGTYPES_INFO_REQUEST:()=>jA,ARGTYPES_INFO_RESPONSE:()=>BA,CHANNEL_CREATED:()=>kC,CHANNEL_WS_DISCONNECT:()=>BC,CONFIG_ERROR:()=>FC,CREATE_NEW_STORYFILE_REQUEST:()=>LC,CREATE_NEW_STORYFILE_RESPONSE:()=>$C,CURRENT_STORY_WAS_SET:()=>UC,DOCS_PREPARED:()=>HC,DOCS_RENDERED:()=>zC,FILE_COMPONENT_SEARCH_REQUEST:()=>VC,FILE_COMPONENT_SEARCH_RESPONSE:()=>GC,FORCE_REMOUNT:()=>YC,FORCE_RE_RENDER:()=>WC,GLOBALS_UPDATED:()=>KC,NAVIGATE_URL:()=>JC,PLAY_FUNCTION_THREW_EXCEPTION:()=>XC,PRELOAD_ENTRIES:()=>ZC,PREVIEW_BUILDER_PROGRESS:()=>eA,PREVIEW_KEYDOWN:()=>tA,REGISTER_SUBSCRIPTION:()=>rA,REQUEST_WHATS_NEW_DATA:()=>PA,RESET_STORY_ARGS:()=>nA,RESULT_WHATS_NEW_DATA:()=>OA,SAVE_STORY_REQUEST:()=>DA,SAVE_STORY_RESPONSE:()=>qA,SELECT_STORY:()=>oA,SET_CONFIG:()=>aA,SET_CURRENT_STORY:()=>iA,SET_FILTER:()=>sA,SET_GLOBALS:()=>lA,SET_INDEX:()=>uA,SET_STORIES:()=>cA,SET_WHATS_NEW_CACHE:()=>NA,SHARED_STATE_CHANGED:()=>dA,SHARED_STATE_SET:()=>pA,STORIES_COLLAPSE_ALL:()=>fA,STORIES_EXPAND_ALL:()=>hA,STORY_ARGS_UPDATED:()=>mA,STORY_CHANGED:()=>gA,STORY_ERRORED:()=>bA,STORY_INDEX_INVALIDATED:()=>yA,STORY_MISSING:()=>vA,STORY_PREPARED:()=>EA,STORY_RENDERED:()=>wA,STORY_RENDER_PHASE_CHANGED:()=>_A,STORY_SPECIFIED:()=>SA,STORY_THREW_EXCEPTION:()=>CA,STORY_UNCHANGED:()=>AA,TELEMETRY_ERROR:()=>IA,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>UA,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>HA,TESTING_MODULE_CRASH_REPORT:()=>kA,TESTING_MODULE_PROGRESS_REPORT:()=>FA,TESTING_MODULE_RUN_ALL_REQUEST:()=>$A,TESTING_MODULE_RUN_REQUEST:()=>LA,TESTING_MODULE_WATCH_MODE_REQUEST:()=>zA,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>MA,UNHANDLED_ERRORS_WHILE_PLAYING:()=>QC,UPDATE_GLOBALS:()=>RA,UPDATE_QUERY_PARAMS:()=>TA,UPDATE_STORY_ARGS:()=>xA,default:()=>jC});Nh.exports=qC(Oh);var xu=(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_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.TESTING_MODULE_WATCH_MODE_REQUEST="testingModuleWatchModeRequest",e))(xu||{}),jC=xu,{CHANNEL_WS_DISCONNECT:BC,CHANNEL_CREATED:kC,CONFIG_ERROR:FC,CREATE_NEW_STORYFILE_REQUEST:LC,CREATE_NEW_STORYFILE_RESPONSE:$C,CURRENT_STORY_WAS_SET:UC,DOCS_PREPARED:HC,DOCS_RENDERED:zC,FILE_COMPONENT_SEARCH_REQUEST:VC,FILE_COMPONENT_SEARCH_RESPONSE:GC,FORCE_RE_RENDER:WC,FORCE_REMOUNT:YC,GLOBALS_UPDATED:KC,NAVIGATE_URL:JC,PLAY_FUNCTION_THREW_EXCEPTION:XC,UNHANDLED_ERRORS_WHILE_PLAYING:QC,PRELOAD_ENTRIES:ZC,PREVIEW_BUILDER_PROGRESS:eA,PREVIEW_KEYDOWN:tA,REGISTER_SUBSCRIPTION:rA,RESET_STORY_ARGS:nA,SELECT_STORY:oA,SET_CONFIG:aA,SET_CURRENT_STORY:iA,SET_FILTER:sA,SET_GLOBALS:lA,SET_INDEX:uA,SET_STORIES:cA,SHARED_STATE_CHANGED:dA,SHARED_STATE_SET:pA,STORIES_COLLAPSE_ALL:fA,STORIES_EXPAND_ALL:hA,STORY_ARGS_UPDATED:mA,STORY_CHANGED:gA,STORY_ERRORED:bA,STORY_INDEX_INVALIDATED:yA,STORY_MISSING:vA,STORY_PREPARED:EA,STORY_RENDER_PHASE_CHANGED:_A,STORY_RENDERED:wA,STORY_SPECIFIED:SA,STORY_THREW_EXCEPTION:CA,STORY_UNCHANGED:AA,UPDATE_GLOBALS:RA,UPDATE_QUERY_PARAMS:TA,UPDATE_STORY_ARGS:xA,REQUEST_WHATS_NEW_DATA:PA,RESULT_WHATS_NEW_DATA:OA,SET_WHATS_NEW_CACHE:NA,TOGGLE_WHATS_NEW_NOTIFICATIONS:MA,TELEMETRY_ERROR:IA,SAVE_STORY_REQUEST:DA,SAVE_STORY_RESPONSE:qA,ARGTYPES_INFO_REQUEST:jA,ARGTYPES_INFO_RESPONSE:BA,TESTING_MODULE_CRASH_REPORT:kA,TESTING_MODULE_PROGRESS_REPORT:FA,TESTING_MODULE_RUN_REQUEST:LA,TESTING_MODULE_RUN_ALL_REQUEST:$A,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:UA,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:HA,TESTING_MODULE_WATCH_MODE_REQUEST:zA}=xu});var Ih=pr((Kz,Mh)=>{"use strict";Mh.exports=jr()});var Dh=pr((exports,module)=>{"use strict";var Ce=Object.create,q=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,xe=Object.getOwnPropertyNames,Ie=Object.getPrototypeOf,je=Object.prototype.hasOwnProperty,a=(e,t)=>q(e,"name",{value:t,configurable:!0}),z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Te=(e,t)=>{for(var r in t)q(e,r,{get:t[r],enumerable:!0})},ie=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of xe(t))!je.call(e,o)&&o!==r&&q(e,o,{get:()=>t[o],enumerable:!(nP=Ae(t,o))||nP.enumerable});return e},j=(e,t,r)=>(r=e!=null?Ce(Ie(e)):{},ie(t||!e||!e.__esModule?q(r,"default",{value:e,enumerable:!0}):r,e)),Me=e=>ie(q({},"__esModule",{value:!0}),e),Z=z((e,t)=>{"use strict";var r=Object.defineProperty,nP=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=a((p,h)=>{for(var m in h)r(p,m,{get:h[m],enumerable:!0})},"__export"),l=a((p,h,m,g)=>{if(h&&typeof h=="object"||typeof h=="function")for(let b of o(h))!i.call(p,b)&&b!==m&&r(p,b,{get:a(()=>h[b],"get"),enumerable:!(g=nP(h,b))||g.enumerable});return p},"__copyProps"),u=a(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),d={};s(d,{global:a(()=>c,"global")}),t.exports=u(d);var c=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),ue=z((e,t)=>{function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}a(r,"Similar"),r.prototype.get=function(nP){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,nP))return this.lastItem.val;if(o=this.indexOf(nP),o>=0)return this.lastItem=this.list[o],this.list[o].val},r.prototype.set=function(nP,o){var i;return this.lastItem&&this.isEqual(this.lastItem.key,nP)?(this.lastItem.val=o,this):(i=this.indexOf(nP),i>=0?(this.lastItem=this.list[i],this.list[i].val=o,this):(this.lastItem={key:nP,val:o},this.list.push(this.lastItem),this.size++,this))},r.prototype.delete=function(nP){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,nP)&&(this.lastItem=void 0),o=this.indexOf(nP),o>=0)return this.size--,this.list.splice(o,1)[0]},r.prototype.has=function(nP){var o;return this.lastItem&&this.isEqual(this.lastItem.key,nP)?!0:(o=this.indexOf(nP),o>=0?(this.lastItem=this.list[o],!0):!1)},r.prototype.forEach=function(nP,o){var i;for(i=0;i<this.size;i++)nP.call(o||this,this.list[i].val,this.list[i].key,this)},r.prototype.indexOf=function(nP){var o;for(o=0;o<this.size;o++)if(this.isEqual(this.list[o].key,nP))return o;return-1},r.prototype.isEqual=function(nP,o){return nP===o||nP!==nP&&o!==o},t.exports=r}),pe=z((e,t)=>{t.exports=function(r){if(typeof Map!="function"||r){var nP=ue();return new nP}else return new Map}}),he=z((e,t)=>{var r=pe();t.exports=function(s){var l=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),u=[];return function(d){var c=a(function(){var p=l,h,m,g=arguments.length-1,b=Array(g+1),y=!0,E;if((c.numArgs||c.numArgs===0)&&c.numArgs!==g+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(E=0;E<g;E++){if(b[E]={cacheItem:p,arg:arguments[E]},p.has(arguments[E])){p=p.get(arguments[E]);continue}y=!1,h=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),p.set(arguments[E],h),p=h}return y&&(p.has(arguments[g])?m=p.get(arguments[g]):y=!1),y||(m=d.apply(null,arguments),p.set(arguments[g],m)),s>0&&(b[g]={cacheItem:p,arg:arguments[g]},y?nP(u,b):u.push(b),u.length>s&&o(u.shift())),c.wasMemoized=y,c.numArgs=g+1,m},"memoizerific");return c.limit=s,c.wasMemoized=!1,c.cache=l,c.lru=u,c}};function nP(s,l){var u=s.length,d=l.length,c,p,h;for(p=0;p<u;p++){for(c=!0,h=0;h<d;h++)if(!i(s[p][h].arg,l[h].arg)){c=!1;break}if(c)break}s.push(s.splice(p,1)[0])}a(nP,"moveToMostRecentLru");function o(s){var l=s.length,u=s[l-1],d,c;for(u.cacheItem.delete(u.arg),c=l-2;c>=0&&(u=s[c],d=u.cacheItem.get(u.arg),!d||!d.size);c--)u.cacheItem.delete(u.arg)}a(o,"removeCachedResult");function i(s,l){return s===l||s!==s&&l!==l}a(i,"isEqual")}),ee=z((exports,module)=>{"use strict";var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS=a((e,t)=>a(function(){return t||(0,e[__getOwnPropNames(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),__export=a((e,t)=>{for(var r in t)__defProp(e,r,{get:t[r],enumerable:!0})},"__export"),__copyProps=a((e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of __getOwnPropNames(t))!__hasOwnProp.call(e,o)&&o!==r&&__defProp(e,o,{get:a(()=>t[o],"get"),enumerable:!(nP=__getOwnPropDesc(t,o))||nP.enumerable});return e},"__copyProps"),__toESM=a((e,t,r)=>(r=e!=null?__create(__getProtoOf(e)):{},__copyProps(t||!e||!e.__esModule?__defProp(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),__toCommonJS=a(e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),"__toCommonJS"),require_shams=__commonJS({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=a(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},nP=Symbol("test"),o=Object(nP);if(typeof nP=="string"||Object.prototype.toString.call(nP)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[nP]=i;for(nP 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 s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==nP||!Object.prototype.propertyIsEnumerable.call(r,nP))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,nP);if(l.value!==i||l.enumerable!==!0)return!1}return!0},"hasSymbols")}}),require_has_symbols=__commonJS({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,nP=require_shams();t.exports=a(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:nP()},"hasNativeSymbols")}}),require_implementation=__commonJS({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",nP=Array.prototype.slice,o=Object.prototype.toString,i="[object Function]";t.exports=a(function(s){var l=this;if(typeof l!="function"||o.call(l)!==i)throw new TypeError(r+l);for(var u=nP.call(arguments,1),d,c=a(function(){if(this instanceof d){var b=l.apply(this,u.concat(nP.call(arguments)));return Object(b)===b?b:this}else return l.apply(s,u.concat(nP.call(arguments)))},"binder"),p=Math.max(0,l.length-u.length),h=[],m=0;m<p;m++)h.push("$"+m);if(d=Function("binder","return function ("+h.join(",")+"){ return binder.apply(this,arguments); }")(c),l.prototype){var g=a(function(){},"Empty2");g.prototype=l.prototype,d.prototype=new g,g.prototype=null}return d},"bind")}}),require_function_bind=__commonJS({"node_modules/function-bind/index.js"(e,t){"use strict";var r=require_implementation();t.exports=Function.prototype.bind||r}}),require_src=__commonJS({"node_modules/has/src/index.js"(e,t){"use strict";var r=require_function_bind();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),require_get_intrinsic=__commonJS({"node_modules/get-intrinsic/index.js"(e,t){"use strict";var r,nP=SyntaxError,o=Function,i=TypeError,s=a(function(V){try{return o('"use strict"; return ('+V+").constructor;")()}catch{}},"getEvalledConstructor"),l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var u=a(function(){throw new i},"throwTypeError"),d=l?function(){try{return arguments.callee,u}catch{try{return l(arguments,"callee").get}catch{return u}}}():u,c=require_has_symbols()(),p=Object.getPrototypeOf||function(V){return V.__proto__},h={},m=typeof Uint8Array>"u"?r:p(Uint8Array),g={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%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%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!c?r:p(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"||!c?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?p(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":nP,"%ThrowTypeError%":d,"%TypedArray%":m,"%TypeError%":i,"%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},b=a(function V(J){var x;if(J==="%AsyncFunction%")x=s("async function () {}");else if(J==="%GeneratorFunction%")x=s("function* () {}");else if(J==="%AsyncGeneratorFunction%")x=s("async function* () {}");else if(J==="%AsyncGenerator%"){var B=V("%AsyncGeneratorFunction%");B&&(x=B.prototype)}else if(J==="%AsyncIteratorPrototype%"){var K=V("%AsyncGenerator%");K&&(x=p(K.prototype))}return g[J]=x,x},"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"]},E=require_function_bind(),_=require_src(),P=E.call(Function.call,Array.prototype.concat),C=E.call(Function.apply,Array.prototype.splice),w=E.call(Function.call,String.prototype.replace),S=E.call(Function.call,String.prototype.slice),T=E.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,U=a(function(V){var J=S(V,0,1),x=S(V,-1);if(J==="%"&&x!=="%")throw new nP("invalid intrinsic syntax, expected closing `%`");if(x==="%"&&J!=="%")throw new nP("invalid intrinsic syntax, expected opening `%`");var B=[];return w(V,A,function(K,fe,ce,Re){B[B.length]=ce?w(Re,N,"$1"):fe||K}),B},"stringToPath3"),X=a(function(V,J){var x=V,B;if(_(y,x)&&(B=y[x],x="%"+B[0]+"%"),_(g,x)){var K=g[x];if(K===h&&(K=b(x)),typeof K>"u"&&!J)throw new i("intrinsic "+V+" exists, but is not available. Please file an issue!");return{alias:B,name:x,value:K}}throw new nP("intrinsic "+V+" does not exist!")},"getBaseIntrinsic2");t.exports=a(function(V,J){if(typeof V!="string"||V.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof J!="boolean")throw new i('"allowMissing" argument must be a boolean');if(T(/^%?[^%]*%?$/,V)===null)throw new nP("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var x=U(V),B=x.length>0?x[0]:"",K=X("%"+B+"%",J),fe=K.name,ce=K.value,Re=!1,Fe=K.alias;Fe&&(B=Fe[0],C(x,P([0,1],Fe)));for(var Oe=1,le=!0;Oe<x.length;Oe+=1){var se=x[Oe],de=S(se,0,1),Se=S(se,-1);if((de==='"'||de==="'"||de==="`"||Se==='"'||Se==="'"||Se==="`")&&de!==Se)throw new nP("property names with quotes must have matching quotes");if((se==="constructor"||!le)&&(Re=!0),B+="."+se,fe="%"+B+"%",_(g,fe))ce=g[fe];else if(ce!=null){if(!(se in ce)){if(!J)throw new i("base intrinsic for "+V+" exists, but the property is not available.");return}if(l&&Oe+1>=x.length){var qe=l(ce,se);le=!!qe,le&&"get"in qe&&!("originalValue"in qe.get)?ce=qe.get:ce=ce[se]}else le=_(ce,se),ce=ce[se];le&&!Re&&(g[fe]=ce)}}return ce},"GetIntrinsic")}}),require_call_bind=__commonJS({"node_modules/call-bind/index.js"(e,t){"use strict";var r=require_function_bind(),nP=require_get_intrinsic(),o=nP("%Function.prototype.apply%"),i=nP("%Function.prototype.call%"),s=nP("%Reflect.apply%",!0)||r.call(i,o),l=nP("%Object.getOwnPropertyDescriptor%",!0),u=nP("%Object.defineProperty%",!0),d=nP("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=a(function(p){var h=s(r,i,arguments);if(l&&u){var m=l(h,"length");m.configurable&&u(h,"length",{value:1+d(0,p.length-(arguments.length-1))})}return h},"callBind");var c=a(function(){return s(r,o,arguments)},"applyBind2");u?u(t.exports,"apply",{value:c}):t.exports.apply=c}}),require_callBound=__commonJS({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=require_get_intrinsic(),nP=require_call_bind(),o=nP(r("String.prototype.indexOf"));t.exports=a(function(i,s){var l=r(i,!!s);return typeof l=="function"&&o(i,".prototype.")>-1?nP(l):l},"callBoundIntrinsic")}}),require_shams2=__commonJS({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=require_shams();t.exports=a(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),require_is_regex=__commonJS({"node_modules/is-regex/index.js"(e,t){"use strict";var r=require_callBound(),nP=require_shams2()(),o,i,s,l;nP&&(o=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),s={},u=a(function(){throw s},"throwRegexMarker"),l={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),c=Object.getOwnPropertyDescriptor,p="[object RegExp]";t.exports=a(nP?function(h){if(!h||typeof h!="object")return!1;var m=c(h,"lastIndex"),g=m&&o(m,"value");if(!g)return!1;try{i(h,l)}catch(b){return b===s}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===p},"isRegex")}}),require_is_function=__commonJS({"node_modules/is-function/index.js"(e,t){t.exports=nP;var r=Object.prototype.toString;function nP(o){if(!o)return!1;var i=r.call(o);return i==="[object Function]"||typeof o=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}a(nP,"isFunction3")}}),require_is_symbol=__commonJS({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,nP=require_has_symbols()();nP?(o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,s=a(function(l){return typeof l.valueOf()!="symbol"?!1:i.test(o.call(l))},"isRealSymbolObject"),t.exports=a(function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return s(l)}catch{return!1}},"isSymbol3")):t.exports=a(function(l){return!1},"isSymbol3");var o,i,s}}),src_exports={};__export(src_exports,{isJSON:a(()=>isJSON,"isJSON"),parse:a(()=>parse,"parse"),replacer:a(()=>replacer,"replacer"),reviver:a(()=>reviver2,"reviver"),stringify:a(()=>stringify,"stringify")}),module.exports=__toCommonJS(src_exports);var import_is_regex=__toESM(require_is_regex()),import_is_function=__toESM(require_is_function()),import_is_symbol=__toESM(require_is_symbol());function isObject(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}a(isObject,"isObject");var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal_default=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root2=freeGlobal_default||freeSelf||Function("return this")(),root_default=root2,Symbol2=root_default.Symbol,Symbol_default=Symbol2,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty.call(e,symToStringTag),r=e[symToStringTag];try{e[symToStringTag]=void 0;var nP=!0}catch{}var o=nativeObjectToString.call(e);return nP&&(t?e[symToStringTag]=r:delete e[symToStringTag]),o}a(getRawTag,"getRawTag");var getRawTag_default=getRawTag,objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(e){return nativeObjectToString2.call(e)}a(objectToString,"objectToString");var objectToString_default=objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(e)?getRawTag_default(e):objectToString_default(e)}a(baseGetTag,"baseGetTag");var baseGetTag_default=baseGetTag;function isObjectLike(e){return e!=null&&typeof e=="object"}a(isObjectLike,"isObjectLike");var isObjectLike_default=isObjectLike,symbolTag="[object Symbol]";function isSymbol(e){return typeof e=="symbol"||isObjectLike_default(e)&&baseGetTag_default(e)==symbolTag}a(isSymbol,"isSymbol");var isSymbol_default=isSymbol;function arrayMap(e,t){for(var r=-1,nP=e==null?0:e.length,o=Array(nP);++r<nP;)o[r]=t(e[r],r,e);return o}a(arrayMap,"arrayMap");var arrayMap_default=arrayMap,isArray=Array.isArray,isArray_default=isArray,INFINITY=1/0,symbolProto=Symbol_default?Symbol_default.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(e){if(typeof e=="string")return e;if(isArray_default(e))return arrayMap_default(e,baseToString)+"";if(isSymbol_default(e))return symbolToString?symbolToString.call(e):"";var t=e+"";return t=="0"&&1/e==-INFINITY?"-0":t}a(baseToString,"baseToString");var baseToString_default=baseToString;function isObject2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}a(isObject2,"isObject2");var isObject_default=isObject2,asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject_default(e))return!1;var t=baseGetTag_default(e);return t==funcTag||t==genTag||t==asyncTag||t==proxyTag}a(isFunction,"isFunction");var isFunction_default=isFunction,coreJsData=root_default["__core-js_shared__"],coreJsData_default=coreJsData,maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData_default&&coreJsData_default.keys&&coreJsData_default.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}a(isMasked,"isMasked");var isMasked_default=isMasked,funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(e){if(e!=null){try{return funcToString.call(e)}catch{}try{return e+""}catch{}}return""}a(toSource,"toSource");var toSource_default=toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto2=Function.prototype,objectProto3=Object.prototype,funcToString2=funcProto2.toString,hasOwnProperty2=objectProto3.hasOwnProperty,reIsNative=RegExp("^"+funcToString2.call(hasOwnProperty2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!isObject_default(e)||isMasked_default(e))return!1;var t=isFunction_default(e)?reIsNative:reIsHostCtor;return t.test(toSource_default(e))}a(baseIsNative,"baseIsNative");var baseIsNative_default=baseIsNative;function getValue(e,t){return e==null?void 0:e[t]}a(getValue,"getValue");var getValue_default=getValue;function getNative(e,t){var r=getValue_default(e,t);return baseIsNative_default(r)?r:void 0}a(getNative,"getNative");var getNative_default=getNative;function eq(e,t){return e===t||e!==e&&t!==t}a(eq,"eq");var eq_default=eq,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(e,t){if(isArray_default(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||isSymbol_default(e)?!0:reIsPlainProp.test(e)||!reIsDeepProp.test(e)||t!=null&&e in Object(t)}a(isKey,"isKey");var isKey_default=isKey,nativeCreate=getNative_default(Object,"create"),nativeCreate_default=nativeCreate;function hashClear(){this.__data__=nativeCreate_default?nativeCreate_default(null):{},this.size=0}a(hashClear,"hashClear");var hashClear_default=hashClear;function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}a(hashDelete,"hashDelete");var hashDelete_default=hashDelete,HASH_UNDEFINED="__lodash_hash_undefined__",objectProto4=Object.prototype,hasOwnProperty3=objectProto4.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate_default){var r=t[e];return r===HASH_UNDEFINED?void 0:r}return hasOwnProperty3.call(t,e)?t[e]:void 0}a(hashGet,"hashGet");var hashGet_default=hashGet,objectProto5=Object.prototype,hasOwnProperty4=objectProto5.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate_default?t[e]!==void 0:hasOwnProperty4.call(t,e)}a(hashHas,"hashHas");var hashHas_default=hashHas,HASH_UNDEFINED2="__lodash_hash_undefined__";function hashSet(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nativeCreate_default&&t===void 0?HASH_UNDEFINED2:t,this}a(hashSet,"hashSet");var hashSet_default=hashSet;function Hash(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var nP=e[t];this.set(nP[0],nP[1])}}a(Hash,"Hash"),Hash.prototype.clear=hashClear_default,Hash.prototype.delete=hashDelete_default,Hash.prototype.get=hashGet_default,Hash.prototype.has=hashHas_default,Hash.prototype.set=hashSet_default;var Hash_default=Hash;function listCacheClear(){this.__data__=[],this.size=0}a(listCacheClear,"listCacheClear");var listCacheClear_default=listCacheClear;function assocIndexOf(e,t){for(var r=e.length;r--;)if(eq_default(e[r][0],t))return r;return-1}a(assocIndexOf,"assocIndexOf");var assocIndexOf_default=assocIndexOf,arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,r=assocIndexOf_default(t,e);if(r<0)return!1;var nP=t.length-1;return r==nP?t.pop():splice.call(t,r,1),--this.size,!0}a(listCacheDelete,"listCacheDelete");var listCacheDelete_default=listCacheDelete;function listCacheGet(e){var t=this.__data__,r=assocIndexOf_default(t,e);return r<0?void 0:t[r][1]}a(listCacheGet,"listCacheGet");var listCacheGet_default=listCacheGet;function listCacheHas(e){return assocIndexOf_default(this.__data__,e)>-1}a(listCacheHas,"listCacheHas");var listCacheHas_default=listCacheHas;function listCacheSet(e,t){var r=this.__data__,nP=assocIndexOf_default(r,e);return nP<0?(++this.size,r.push([e,t])):r[nP][1]=t,this}a(listCacheSet,"listCacheSet");var listCacheSet_default=listCacheSet;function ListCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var nP=e[t];this.set(nP[0],nP[1])}}a(ListCache,"ListCache"),ListCache.prototype.clear=listCacheClear_default,ListCache.prototype.delete=listCacheDelete_default,ListCache.prototype.get=listCacheGet_default,ListCache.prototype.has=listCacheHas_default,ListCache.prototype.set=listCacheSet_default;var ListCache_default=ListCache,Map2=getNative_default(root_default,"Map"),Map_default=Map2;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash_default,map:new(Map_default||ListCache_default),string:new Hash_default}}a(mapCacheClear,"mapCacheClear");var mapCacheClear_default=mapCacheClear;function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}a(isKeyable,"isKeyable");var isKeyable_default=isKeyable;function getMapData(e,t){var r=e.__data__;return isKeyable_default(t)?r[typeof t=="string"?"string":"hash"]:r.map}a(getMapData,"getMapData");var getMapData_default=getMapData;function mapCacheDelete(e){var t=getMapData_default(this,e).delete(e);return this.size-=t?1:0,t}a(mapCacheDelete,"mapCacheDelete");var mapCacheDelete_default=mapCacheDelete;function mapCacheGet(e){return getMapData_default(this,e).get(e)}a(mapCacheGet,"mapCacheGet");var mapCacheGet_default=mapCacheGet;function mapCacheHas(e){return getMapData_default(this,e).has(e)}a(mapCacheHas,"mapCacheHas");var mapCacheHas_default=mapCacheHas;function mapCacheSet(e,t){var r=getMapData_default(this,e),nP=r.size;return r.set(e,t),this.size+=r.size==nP?0:1,this}a(mapCacheSet,"mapCacheSet");var mapCacheSet_default=mapCacheSet;function MapCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var nP=e[t];this.set(nP[0],nP[1])}}a(MapCache,"MapCache"),MapCache.prototype.clear=mapCacheClear_default,MapCache.prototype.delete=mapCacheDelete_default,MapCache.prototype.get=mapCacheGet_default,MapCache.prototype.has=mapCacheHas_default,MapCache.prototype.set=mapCacheSet_default;var MapCache_default=MapCache,FUNC_ERROR_TEXT="Expected a function";function memoize(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(FUNC_ERROR_TEXT);var r=a(function(){var nP=arguments,o=t?t.apply(this,nP):nP[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,nP);return r.cache=i.set(o,s)||i,s},"memoized");return r.cache=new(memoize.Cache||MapCache_default),r}a(memoize,"memoize"),memoize.Cache=MapCache_default;var memoize_default=memoize,MAX_MEMOIZE_SIZE=500;function memoizeCapped(e){var t=memoize_default(e,function(nP){return r.size===MAX_MEMOIZE_SIZE&&r.clear(),nP}),r=t.cache;return t}a(memoizeCapped,"memoizeCapped");var memoizeCapped_default=memoizeCapped,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped_default(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(rePropName,function(r,nP,o,i){t.push(o?i.replace(reEscapeChar,"$1"):nP||r)}),t}),stringToPath_default=stringToPath;function toString(e){return e==null?"":baseToString_default(e)}a(toString,"toString");var toString_default=toString;function castPath(e,t){return isArray_default(e)?e:isKey_default(e,t)?[e]:stringToPath_default(toString_default(e))}a(castPath,"castPath");var castPath_default=castPath,INFINITY2=1/0;function toKey(e){if(typeof e=="string"||isSymbol_default(e))return e;var t=e+"";return t=="0"&&1/e==-INFINITY2?"-0":t}a(toKey,"toKey");var toKey_default=toKey;function baseGet(e,t){t=castPath_default(t,e);for(var r=0,nP=t.length;e!=null&&r<nP;)e=e[toKey_default(t[r++])];return r&&r==nP?e:void 0}a(baseGet,"baseGet");var baseGet_default=baseGet;function get(e,t,r){var nP=e==null?void 0:baseGet_default(e,t);return nP===void 0?r:nP}a(get,"get");var get_default=get,import_memoizerific=__toESM(he()),eventProperties=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],customEventSpecificProperties=["detail"];function extractEventHiddenProperties(e){let t=eventProperties.filter(r=>e[r]!==void 0).reduce((r,nP)=>({...r,[nP]:e[nP]}),{});return e instanceof CustomEvent&&customEventSpecificProperties.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}a(extractEventHiddenProperties,"extractEventHiddenProperties");var isObject3=isObject,removeCodeComments=a(e=>{let t=null,r=!1,nP=!1,o=!1,i="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let s=0;s<e.length;s+=1)!t&&!r&&!nP&&!o?e[s]==='"'||e[s]==="'"||e[s]==="`"?t=e[s]:e[s]==="/"&&e[s+1]==="*"?r=!0:e[s]==="/"&&e[s+1]==="/"?nP=!0:e[s]==="/"&&e[s+1]!=="/"&&(o=!0):(t&&(e[s]===t&&e[s-1]!=="\\"||e[s]===`
|
|
5
5
|
`&&t!=="`")&&(t=null),o&&(e[s]==="/"&&e[s-1]!=="\\"||e[s]===`
|
|
6
6
|
`)&&(o=!1),r&&e[s-1]==="/"&&e[s-2]==="*"&&(r=!1),nP&&e[s]===`
|
|
7
|
-
`&&(nP=!1)),!r&&!nP&&(i+=e[s]);else i=e;return i},"removeCodeComments"),cleanCode=(0,import_memoizerific.default)(1e4)(e=>removeCodeComments(e).replace(/\nP\s*/g,"").trim()),convertShorthandMethods=a(function(e,t){let r=t.slice(0,t.indexOf("{")),nP=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+nP},"convertShorthandMethods2"),dateFormat=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,isJSON=a(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function convertUnconventionalData(e){if(!isObject3(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=extractEventHiddenProperties(t),r=!0),t=Object.keys(t).reduce((nP,o)=>{try{t[o]&&t[o].toJSON,nP[o]=t[o]}catch{r=!0}return nP},{}),r?t:e}a(convertUnconventionalData,"convertUnconventionalData");var replacer=a(function(e){let t,r,nP,o;return a(function(i,s){try{if(i==="")return o=[],t=new Map([[s,"[]"]]),r=new Map,nP=[],s;let l=r.get(this)||this;for(;nP.length&&l!==nP[0];)nP.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return e.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return dateFormat.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,import_is_regex.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,import_is_function.default)(s)){if(!e.allowFunction)return;let{name:d}=s,c=s.toString();return c.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${cleanCode(convertShorthandMethods(i,c))}`}if((0,import_is_symbol.default)(s)){if(!e.allowSymbol)return;let d=Symbol.keyFor(s);return d!==void 0?`_gsymbol_${d}`:`_symbol_${s.toString().slice(7,-1)}`}if(nP.length>=e.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!e.allowClass)return;let u=t.get(s);if(!u){let d=Array.isArray(s)?s:convertUnconventionalData(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":s.constructor.name})}catch{}return o.push(i),nP.unshift(d),t.set(s,JSON.stringify(o)),s!==d&&r.set(s,d),d}return`_duplicate_${u}`}catch{return}},"replace")},"replacer2"),reviver2=a(function reviver(options){let refs=[],root;return a(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let nP=isJSON(r)?JSON.parse(r):r.split(".");nP.length===0?t[e]=root:t[e]=get_default(root,nP)})),key==="_constructor-name_")return value;if(isObject3(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(isObject3(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=a((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:a(()=>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"),defaultOptions={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},stringify=a((e,t={})=>{let r={...defaultOptions,...t};return JSON.stringify(convertUnconventionalData(e),replacer(r),t.space)},"stringify"),mutator=a(()=>{let e=new Map;return a(function t(r){isObject3(r)&&Object.entries(r).forEach(([nP,o])=>{o==="_undefined_"?r[nP]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((nP,o)=>{nP==="_undefined_"?(e.set(nP,!0),r[o]=void 0):e.get(nP)||(e.set(nP,!0),t(nP))})},"mutateUndefined")},"mutator"),parse=a((e,t={})=>{let r={...defaultOptions,...t},nP=JSON.parse(e,reviver2(r));return mutator()(nP),nP},"parse")}),Xe={};Te(Xe,{Channel:()=>R,PostMessageTransport:()=>$,WebsocketTransport:()=>L,createBrowserChannel:()=>Ze,default:()=>Ye});module.exports=Me(Xe);var be=j(Z(),1),He=a(e=>e.transports!==void 0,"isMulti"),Ue=a(()=>Math.random().toString(16).slice(2),"generateRandomId"),Ro,R=(Ro=class{constructor(t={}){this.sender=Ue(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,He(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(nP=>this.handleEvent(nP))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(nP=>this.handleEvent(nP))})}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 nP={type:t,args:r,from:this.sender},o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);let i=a(()=>{this.transports.forEach(s=>{s.send(nP,o)}),this.handleEvent(nP)},"handler");this.isAsync?setImmediate(i):i()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let nP=this.onceListener(t,r);this.addListener(t,nP)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let nP=this.listeners(t);nP&&(this.events[t]=nP.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(nP=>{nP.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let nP=a((...o)=>(this.removeListener(t,nP),r(...o)),"onceListener");return nP}},a(Ro,"Channel"),Ro),v=j(Z(),1),D=Bt(),Je=j(jr(),1),k=j(ee(),1),We=process.env.NODE_ENV==="production",te="Invariant failed";function G(e,t){if(!e){if(We)throw new Error(te);var r=typeof t=="function"?t():t,nP=r?"".concat(te,": ").concat(r):te;throw new Error(nP)}}a(G,"invariant");var _e=Bt(),ge=a(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...nP]=t.filter(i=>{var u,d;try{return((u=i.contentWindow)==null?void 0:u.location.origin)===e.source.location.origin&&((d=i.contentWindow)==null?void 0:d.location.pathname)===e.source.location.pathname}catch{}try{return i.contentWindow===e.source}catch{}let s=i.getAttribute("src"),l;try{if(!s)return!1;({origin:l}=new URL(s,document.location.toString()))}catch{return!1}return l===e.origin}),o=r==null?void 0:r.getAttribute("src");if(o&&nP.length===0){let{protocol:i,host:s,pathname:l}=new URL(o,document.location.toString());return`${i}//${s}${l}`}return nP.length>0&&_e.logger.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:re,location:ne}=v.global,me="storybook-channel",Be={allowFunction:!1,maxDepth:25},To,$=(To=class{constructor(t){var r;if(this.config=t,this.connected=!1,this.buffer=[],typeof((r=v.global)==null?void 0:r.addEventListener)=="function"&&v.global.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:nP,allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:d,allowClass:c,maxDepth:p,space:h,lazyEval:m}=r||{},g=Object.fromEntries(Object.entries({allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:d,allowClass:c,maxDepth:p,space:h,lazyEval:m}).filter(([P,C])=>typeof C<"u")),b={...Be,...v.global.CHANNEL_OPTIONS||{},...g},y=this.getFrames(nP),E=new URLSearchParams((ne==null?void 0:ne.search)||""),_=(0,k.stringify)({key:me,event:t,refId:E.get("refId")},b);return y.length?(this.buffer.length&&this.flush(),y.forEach(P=>{try{P.postMessage(_,"*")}catch{D.logger.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((P,C)=>{this.buffer.push({event:t,resolve:P,reject:C})})}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(re.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(nP=>{try{return nP.contentWindow&&nP.dataset.isStorybook!==void 0&&nP.id===t?[nP.contentWindow]:[]}catch{return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return v.global&&v.global.parent&&v.global.parent!==v.global.self?[v.global.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(re.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):v.global&&v.global.parent?[v.global.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(re.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):v.global&&v.global.parent?[v.global.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:nP,event:o,refId:i}=typeof r=="string"&&(0,k.isJSON)(r)?(0,k.parse)(r,v.global.CHANNEL_OPTIONS||{}):r;if(nP===me){let s=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(Je).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(i&&(o.refId=i),o.source=this.config.page==="preview"?t.origin:ge(t),!o.source){D.pretty.error(`${s} received ${l} but was unable to determine the source of the event`);return}let u=`${s} received ${l} (${r.length})`;D.pretty.debug(ne.origin!==o.source?u:`${u} <span style="color: gray">(on ${ne.origin} from ${o.source})</span>`,...o.args),G(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){D.logger.error(r)}}},a(To,"PostMessageTransport"),To),oe=j(Z(),1),ve=j(jr(),1),H=j(ee(),1),{WebSocket:Ke}=oe.global,xo,L=(xo=class{constructor({url:t,onError:r,page:nP}){this.buffer=[],this.isReady=!1,this.socket=new Ke(t),this.socket.onopen=()=>{this.isReady=!0,this.flush()},this.socket.onmessage=({data:o})=>{let i=typeof o=="string"&&(0,H.isJSON)(o)?(0,H.parse)(o):o;G(this.handler,"WebsocketTransport handler should be set"),this.handler(i)},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=()=>{G(this.handler,"WebsocketTransport handler should be set"),this.handler({type:ve.CHANNEL_WS_DISCONNECT,args:[],from:nP||"preview"})}}setHandler(t){this.handler=t}send(t){this.isReady?this.sendNow(t):this.sendLater(t)}sendLater(t){this.buffer.push(t)}sendNow(t){let r=(0,H.stringify)(t,{maxDepth:15,allowFunction:!1,...oe.global.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}},a(xo,"WebsocketTransport"),xo),{CONFIG_TYPE:Ve}=be.global,Ye=R;function Ze({page:e,extraTransports:t=[]}){let r=[new $({page:e}),...t];if(Ve==="DEVELOPMENT"){let nP=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:i}=window.location,s=`${nP}://${o}:${i}/storybook-server-channel`;r.push(new L({url:s,onError:a(()=>{},"onError"),page:e}))}return new R({transports:r})}a(Ze,"createBrowserChannel")});var yn=pr((r8,kh)=>{"use strict";var VA=Object.create,ii=Object.defineProperty,GA=Object.getOwnPropertyDescriptor,WA=Object.getOwnPropertyNames,YA=Object.getPrototypeOf,KA=Object.prototype.hasOwnProperty,xt=(e,t)=>ii(e,"name",{value:t,configurable:!0}),JA=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),XA=(e,t)=>{for(var r in t)ii(e,r,{get:t[r],enumerable:!0})},qh=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of WA(t))!KA.call(e,o)&&o!==r&&ii(e,o,{get:()=>t[o],enumerable:!(nP=GA(t,o))||nP.enumerable});return e},QA=(e,t,r)=>(r=e!=null?VA(YA(e)):{},qh(t||!e||!e.__esModule?ii(r,"default",{value:e,enumerable:!0}):r,e)),ZA=e=>qh(ii({},"__esModule",{value:!0}),e),eR=JA(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dedent=void 0;function t(r){for(var nP=[],o=1;o<arguments.length;o++)nP[o-1]=arguments[o];var i=Array.from(typeof r=="string"?[r]:r);i[i.length-1]=i[i.length-1].replace(/\r?\nP([\t ]*)$/,"");var s=i.reduce(function(d,c){var p=c.match(/\nP([\t ]+|(?!\s).)/g);return p?d.concat(p.map(function(h){var m,g;return(g=(m=h.match(/[\t ]/g))===null||m===void 0?void 0:m.length)!==null&&g!==void 0?g:0})):d},[]);if(s.length){var l=new RegExp(`
|
|
7
|
+
`&&(nP=!1)),!r&&!nP&&(i+=e[s]);else i=e;return i},"removeCodeComments"),cleanCode=(0,import_memoizerific.default)(1e4)(e=>removeCodeComments(e).replace(/\nP\s*/g,"").trim()),convertShorthandMethods=a(function(e,t){let r=t.slice(0,t.indexOf("{")),nP=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+nP},"convertShorthandMethods2"),dateFormat=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,isJSON=a(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function convertUnconventionalData(e){if(!isObject3(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=extractEventHiddenProperties(t),r=!0),t=Object.keys(t).reduce((nP,o)=>{try{t[o]&&t[o].toJSON,nP[o]=t[o]}catch{r=!0}return nP},{}),r?t:e}a(convertUnconventionalData,"convertUnconventionalData");var replacer=a(function(e){let t,r,nP,o;return a(function(i,s){try{if(i==="")return o=[],t=new Map([[s,"[]"]]),r=new Map,nP=[],s;let l=r.get(this)||this;for(;nP.length&&l!==nP[0];)nP.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return e.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return dateFormat.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,import_is_regex.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,import_is_function.default)(s)){if(!e.allowFunction)return;let{name:d}=s,c=s.toString();return c.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${cleanCode(convertShorthandMethods(i,c))}`}if((0,import_is_symbol.default)(s)){if(!e.allowSymbol)return;let d=Symbol.keyFor(s);return d!==void 0?`_gsymbol_${d}`:`_symbol_${s.toString().slice(7,-1)}`}if(nP.length>=e.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!e.allowClass)return;let u=t.get(s);if(!u){let d=Array.isArray(s)?s:convertUnconventionalData(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":s.constructor.name})}catch{}return o.push(i),nP.unshift(d),t.set(s,JSON.stringify(o)),s!==d&&r.set(s,d),d}return`_duplicate_${u}`}catch{return}},"replace")},"replacer2"),reviver2=a(function reviver(options){let refs=[],root;return a(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let nP=isJSON(r)?JSON.parse(r):r.split(".");nP.length===0?t[e]=root:t[e]=get_default(root,nP)})),key==="_constructor-name_")return value;if(isObject3(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(isObject3(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=a((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:a(()=>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"),defaultOptions={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},stringify=a((e,t={})=>{let r={...defaultOptions,...t};return JSON.stringify(convertUnconventionalData(e),replacer(r),t.space)},"stringify"),mutator=a(()=>{let e=new Map;return a(function t(r){isObject3(r)&&Object.entries(r).forEach(([nP,o])=>{o==="_undefined_"?r[nP]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((nP,o)=>{nP==="_undefined_"?(e.set(nP,!0),r[o]=void 0):e.get(nP)||(e.set(nP,!0),t(nP))})},"mutateUndefined")},"mutator"),parse=a((e,t={})=>{let r={...defaultOptions,...t},nP=JSON.parse(e,reviver2(r));return mutator()(nP),nP},"parse")}),Xe={};Te(Xe,{Channel:()=>R,PostMessageTransport:()=>$,WebsocketTransport:()=>L,createBrowserChannel:()=>Ze,default:()=>Ye});module.exports=Me(Xe);var be=j(Z(),1),He=a(e=>e.transports!==void 0,"isMulti"),Ue=a(()=>Math.random().toString(16).slice(2),"generateRandomId"),Ro,R=(Ro=class{constructor(t={}){this.sender=Ue(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,He(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(nP=>this.handleEvent(nP))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(nP=>this.handleEvent(nP))})}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 nP={type:t,args:r,from:this.sender},o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);let i=a(()=>{this.transports.forEach(s=>{s.send(nP,o)}),this.handleEvent(nP)},"handler");this.isAsync?setImmediate(i):i()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let nP=this.onceListener(t,r);this.addListener(t,nP)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let nP=this.listeners(t);nP&&(this.events[t]=nP.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(nP=>{nP.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let nP=a((...o)=>(this.removeListener(t,nP),r(...o)),"onceListener");return nP}},a(Ro,"Channel"),Ro),v=j(Z(),1),D=Bt(),Je=j(jr(),1),k=j(ee(),1),We=process.env.NODE_ENV==="production",te="Invariant failed";function G(e,t){if(!e){if(We)throw new Error(te);var r=typeof t=="function"?t():t,nP=r?"".concat(te,": ").concat(r):te;throw new Error(nP)}}a(G,"invariant");var _e=Bt(),ge=a(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...nP]=t.filter(i=>{var u,d;try{return((u=i.contentWindow)==null?void 0:u.location.origin)===e.source.location.origin&&((d=i.contentWindow)==null?void 0:d.location.pathname)===e.source.location.pathname}catch{}try{return i.contentWindow===e.source}catch{}let s=i.getAttribute("src"),l;try{if(!s)return!1;({origin:l}=new URL(s,document.location.toString()))}catch{return!1}return l===e.origin}),o=r==null?void 0:r.getAttribute("src");if(o&&nP.length===0){let{protocol:i,host:s,pathname:l}=new URL(o,document.location.toString());return`${i}//${s}${l}`}return nP.length>0&&_e.logger.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:re,location:ne}=v.global,me="storybook-channel",Be={allowFunction:!1,maxDepth:25},To,$=(To=class{constructor(t){var r;if(this.config=t,this.connected=!1,this.buffer=[],typeof((r=v.global)==null?void 0:r.addEventListener)=="function"&&v.global.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:nP,allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:d,allowClass:c,maxDepth:p,space:h,lazyEval:m}=r||{},g=Object.fromEntries(Object.entries({allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:d,allowClass:c,maxDepth:p,space:h,lazyEval:m}).filter(([P,C])=>typeof C<"u")),b={...Be,...v.global.CHANNEL_OPTIONS||{},...g},y=this.getFrames(nP),E=new URLSearchParams((ne==null?void 0:ne.search)||""),_=(0,k.stringify)({key:me,event:t,refId:E.get("refId")},b);return y.length?(this.buffer.length&&this.flush(),y.forEach(P=>{try{P.postMessage(_,"*")}catch{D.logger.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((P,C)=>{this.buffer.push({event:t,resolve:P,reject:C})})}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(re.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(nP=>{try{return nP.contentWindow&&nP.dataset.isStorybook!==void 0&&nP.id===t?[nP.contentWindow]:[]}catch{return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return v.global&&v.global.parent&&v.global.parent!==v.global.self?[v.global.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(re.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):v.global&&v.global.parent?[v.global.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(re.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):v.global&&v.global.parent?[v.global.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:nP,event:o,refId:i}=typeof r=="string"&&(0,k.isJSON)(r)?(0,k.parse)(r,v.global.CHANNEL_OPTIONS||{}):r;if(nP===me){let s=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(Je).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(i&&(o.refId=i),o.source=this.config.page==="preview"?t.origin:ge(t),!o.source){D.pretty.error(`${s} received ${l} but was unable to determine the source of the event`);return}let u=`${s} received ${l} (${r.length})`;D.pretty.debug(ne.origin!==o.source?u:`${u} <span style="color: gray">(on ${ne.origin} from ${o.source})</span>`,...o.args),G(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){D.logger.error(r)}}},a(To,"PostMessageTransport"),To),oe=j(Z(),1),ve=j(jr(),1),H=j(ee(),1),{WebSocket:Ke}=oe.global,xo,L=(xo=class{constructor({url:t,onError:r,page:nP}){this.buffer=[],this.isReady=!1,this.socket=new Ke(t),this.socket.onopen=()=>{this.isReady=!0,this.flush()},this.socket.onmessage=({data:o})=>{let i=typeof o=="string"&&(0,H.isJSON)(o)?(0,H.parse)(o):o;G(this.handler,"WebsocketTransport handler should be set"),this.handler(i)},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=()=>{G(this.handler,"WebsocketTransport handler should be set"),this.handler({type:ve.CHANNEL_WS_DISCONNECT,args:[],from:nP||"preview"})}}setHandler(t){this.handler=t}send(t){this.isReady?this.sendNow(t):this.sendLater(t)}sendLater(t){this.buffer.push(t)}sendNow(t){let r=(0,H.stringify)(t,{maxDepth:15,allowFunction:!1,...oe.global.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}},a(xo,"WebsocketTransport"),xo),{CONFIG_TYPE:Ve}=be.global,Ye=R;function Ze({page:e,extraTransports:t=[]}){let r=[new $({page:e}),...t];if(Ve==="DEVELOPMENT"){let nP=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:i}=window.location,s=`${nP}://${o}:${i}/storybook-server-channel`;r.push(new L({url:s,onError:a(()=>{},"onError"),page:e}))}return new R({transports:r})}a(Ze,"createBrowserChannel")});var yn=pr((Jz,kh)=>{"use strict";var VA=Object.create,ii=Object.defineProperty,GA=Object.getOwnPropertyDescriptor,WA=Object.getOwnPropertyNames,YA=Object.getPrototypeOf,KA=Object.prototype.hasOwnProperty,xt=(e,t)=>ii(e,"name",{value:t,configurable:!0}),JA=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),XA=(e,t)=>{for(var r in t)ii(e,r,{get:t[r],enumerable:!0})},qh=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of WA(t))!KA.call(e,o)&&o!==r&&ii(e,o,{get:()=>t[o],enumerable:!(nP=GA(t,o))||nP.enumerable});return e},QA=(e,t,r)=>(r=e!=null?VA(YA(e)):{},qh(t||!e||!e.__esModule?ii(r,"default",{value:e,enumerable:!0}):r,e)),ZA=e=>qh(ii({},"__esModule",{value:!0}),e),eR=JA(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dedent=void 0;function t(r){for(var nP=[],o=1;o<arguments.length;o++)nP[o-1]=arguments[o];var i=Array.from(typeof r=="string"?[r]:r);i[i.length-1]=i[i.length-1].replace(/\r?\nP([\t ]*)$/,"");var s=i.reduce(function(d,c){var p=c.match(/\nP([\t ]+|(?!\s).)/g);return p?d.concat(p.map(function(h){var m,g;return(g=(m=h.match(/[\t ]/g))===null||m===void 0?void 0:m.length)!==null&&g!==void 0?g:0})):d},[]);if(s.length){var l=new RegExp(`
|
|
8
8
|
[ ]{`+Math.min.apply(Math,s)+"}","g");i=i.map(function(d){return d.replace(l,`
|
|
9
9
|
`)})}i[0]=i[0].replace(/^\r?\nP/,"");var u=i[0];return nP.forEach(function(d,c){var p=u.match(/(?:^|\nP)( *)$/),h=p?p[1]:"",m=d;typeof d=="string"&&d.includes(`
|
|
10
10
|
`)&&(m=String(d).split(`
|
|
11
11
|
`).map(function(g,b){return b===0?g:""+h+g}).join(`
|
|
12
|
-
`)),u+=m+i[c+1]}),u}xt(t,"dedent"),e.dedent=t,e.default=t}),jh={};XA(jh,{CalledExtractOnStoreError:()=>nR,CalledPreviewMethodBeforeInitializationError:()=>aR,Category:()=>Bh,EmptyIndexError:()=>lR,ImplicitActionsDuringRendering:()=>rR,MdxFileWithNoCsfReferencesError:()=>sR,MissingRenderToCanvasError:()=>oR,MissingStoryAfterHmrError:()=>tR,MissingStoryFromCsfFileError:()=>cR,MountMustBeDestructuredError:()=>pR,NextJsSharpError:()=>mR,NextjsRouterMocksNotAvailable:()=>gR,NoRenderFunctionError:()=>fR,NoStoryMatchError:()=>uR,NoStoryMountedError:()=>hR,StoryIndexFetchError:()=>iR,StoryStoreAccessedBeforeInitializationError:()=>dR,UnknownArgTypesError:()=>bR,UnsupportedViewportDimensionError:()=>yR});kh.exports=ZA(jh);var kt=QA(eR(),1);function
|
|
12
|
+
`)),u+=m+i[c+1]}),u}xt(t,"dedent"),e.dedent=t,e.default=t}),jh={};XA(jh,{CalledExtractOnStoreError:()=>nR,CalledPreviewMethodBeforeInitializationError:()=>aR,Category:()=>Bh,EmptyIndexError:()=>lR,ImplicitActionsDuringRendering:()=>rR,MdxFileWithNoCsfReferencesError:()=>sR,MissingRenderToCanvasError:()=>oR,MissingStoryAfterHmrError:()=>tR,MissingStoryFromCsfFileError:()=>cR,MountMustBeDestructuredError:()=>pR,NextJsSharpError:()=>mR,NextjsRouterMocksNotAvailable:()=>gR,NoRenderFunctionError:()=>fR,NoStoryMatchError:()=>uR,NoStoryMountedError:()=>hR,StoryIndexFetchError:()=>iR,StoryStoreAccessedBeforeInitializationError:()=>dR,UnknownArgTypesError:()=>bR,UnsupportedViewportDimensionError:()=>yR});kh.exports=ZA(jh);var kt=QA(eR(),1);function Pu({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}xt(Pu,"parseErrorCode");var Vn,Ft=(Vn=class extends Error{constructor(t){var r;super(Vn.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=(r=t.documentation)!=null?r:!1,this.code=t.code}get fullErrorCode(){return Pu({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:nP,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${Pu({code:r,category:nP})}`:typeof t=="string"?i=t:Array.isArray(t)&&(i=`
|
|
13
13
|
${t.map(s=>` - ${s}`).join(`
|
|
14
14
|
`)}`),`${o}${i!=null?`
|
|
15
15
|
|
|
@@ -133,42 +133,42 @@ This is deprecated and won't work in Storybook 8 anymore.
|
|
|
133
133
|
- px, vh, vw, em, rem and %.
|
|
134
134
|
|
|
135
135
|
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
|
|
136
|
-
`}),this.data=t}},xt(Go,"UnsupportedViewportDimensionError"),Go)});var Wo=pr(vn=>{"use strict";var vR=Object.create,Uh=Object.defineProperty,ER=Object.getOwnPropertyDescriptor,_R=Object.getOwnPropertyNames,wR=Object.getPrototypeOf,SR=Object.prototype.hasOwnProperty,CR=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),AR=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of _R(t))!SR.call(e,o)&&o!==r&&Uh(e,o,{get:()=>t[o],enumerable:!(nP=ER(t,o))||nP.enumerable});return e},RR=(e,t,r)=>(r=e!=null?vR(wR(e)):{},AR(t||!e||!e.__esModule?Uh(r,"default",{value:e,enumerable:!0}):r,e)),TR=CR(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,nP=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return function s(l,u,d){var c,p,h,m=t.call(l),g=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(d.indexOf(l)>-1&&d.indexOf(u)>-1)return!0;if(d.push(l,u),m!=g||(c=nP(l),p=nP(u),c.length!=p.length||c.some(function(b){return!s(l[b],u[b],d)})))return!1;switch(m.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":c=l.entries(),p=u.entries();do if(!s((h=c.next()).value,p.next().value,d))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h<l.length;h++)if((h in l||h in u)&&(h in l!=h in u||!s(l[h],u[h],d)))return!1;return!0;case"Object":return s(r(l),r(u),d);default:return!1}}(o,i,[])}}()});function xR(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\nP])([A-Z])([a-z])/g,(t,r,nP,o)=>`${r} ${nP}${o}`).replace(/([a-z])([A-Z])/g,(t,r,nP)=>`${r} ${nP}`).replace(/([a-z])([0-9])/gi,(t,r,nP)=>`${r} ${nP}`).replace(/([0-9])([a-z])/gi,(t,r,nP)=>`${r} ${nP}`).replace(/(\s|^)(\w)/g,(t,r,nP)=>`${r}${nP.toUpperCase()}`).replace(/ +/g," ").trim()}var Fh=RR(TR()),Hh=e=>e.map(t=>typeof t<"u").filter(Boolean).length,PR=(e,t)=>{let{exists:r,eq:nP,neq:o,truthy:i}=e;if(Hh([r,nP,o,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:nP,neq:o})}`);if(typeof nP<"u")return(0,Fh.isEqual)(t,nP);if(typeof o<"u")return!(0,Fh.isEqual)(t,o);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof i>"u"||i?!!t:!t},OR=(e,t,r)=>{if(!e.if)return!0;let{arg:nP,global:o}=e.if;if(Hh([nP,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:nP,global:o})}`);let i=nP?t[nP]:r[o];return PR(e.if,i)},zh=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),Lh=(e,t)=>{let r=zh(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},NR=(e,t)=>`${Lh(e,"kind")}${t?`--${Lh(t,"name")}`:""}`,MR=e=>xR(e);function $h(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function IR(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||$h(e,t))&&(!r||!$h(e,r))}var DR=(e,{rootSeparator:t,groupSeparator:r})=>{let[nP,o]=e.split(t,2),i=(o||e).split(r).filter(s=>!!s);return{root:o?nP:null,groups:i}},qR=(...e)=>{let t=e.reduce((r,nP)=>(nP.startsWith("!")?r.delete(nP.slice(1)):r.add(nP),r),new Set);return Array.from(t)};vn.combineTags=qR;vn.includeConditionalArg=OR;vn.isExportStory=IR;vn.parseKind=DR;vn.sanitize=zh;vn.storyNameFromExport=MR;vn.toId=NR});var vg=pr((
|
|
136
|
+
`}),this.data=t}},xt(Go,"UnsupportedViewportDimensionError"),Go)});var Wo=pr(vn=>{"use strict";var vR=Object.create,Uh=Object.defineProperty,ER=Object.getOwnPropertyDescriptor,_R=Object.getOwnPropertyNames,wR=Object.getPrototypeOf,SR=Object.prototype.hasOwnProperty,CR=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),AR=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of _R(t))!SR.call(e,o)&&o!==r&&Uh(e,o,{get:()=>t[o],enumerable:!(nP=ER(t,o))||nP.enumerable});return e},RR=(e,t,r)=>(r=e!=null?vR(wR(e)):{},AR(t||!e||!e.__esModule?Uh(r,"default",{value:e,enumerable:!0}):r,e)),TR=CR(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,nP=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return function s(l,u,d){var c,p,h,m=t.call(l),g=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(d.indexOf(l)>-1&&d.indexOf(u)>-1)return!0;if(d.push(l,u),m!=g||(c=nP(l),p=nP(u),c.length!=p.length||c.some(function(b){return!s(l[b],u[b],d)})))return!1;switch(m.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":c=l.entries(),p=u.entries();do if(!s((h=c.next()).value,p.next().value,d))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h<l.length;h++)if((h in l||h in u)&&(h in l!=h in u||!s(l[h],u[h],d)))return!1;return!0;case"Object":return s(r(l),r(u),d);default:return!1}}(o,i,[])}}()});function xR(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\nP])([A-Z])([a-z])/g,(t,r,nP,o)=>`${r} ${nP}${o}`).replace(/([a-z])([A-Z])/g,(t,r,nP)=>`${r} ${nP}`).replace(/([a-z])([0-9])/gi,(t,r,nP)=>`${r} ${nP}`).replace(/([0-9])([a-z])/gi,(t,r,nP)=>`${r} ${nP}`).replace(/(\s|^)(\w)/g,(t,r,nP)=>`${r}${nP.toUpperCase()}`).replace(/ +/g," ").trim()}var Fh=RR(TR()),Hh=e=>e.map(t=>typeof t<"u").filter(Boolean).length,PR=(e,t)=>{let{exists:r,eq:nP,neq:o,truthy:i}=e;if(Hh([r,nP,o,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:nP,neq:o})}`);if(typeof nP<"u")return(0,Fh.isEqual)(t,nP);if(typeof o<"u")return!(0,Fh.isEqual)(t,o);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof i>"u"||i?!!t:!t},OR=(e,t,r)=>{if(!e.if)return!0;let{arg:nP,global:o}=e.if;if(Hh([nP,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:nP,global:o})}`);let i=nP?t[nP]:r[o];return PR(e.if,i)},zh=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),Lh=(e,t)=>{let r=zh(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},NR=(e,t)=>`${Lh(e,"kind")}${t?`--${Lh(t,"name")}`:""}`,MR=e=>xR(e);function $h(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function IR(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||$h(e,t))&&(!r||!$h(e,r))}var DR=(e,{rootSeparator:t,groupSeparator:r})=>{let[nP,o]=e.split(t,2),i=(o||e).split(r).filter(s=>!!s);return{root:o?nP:null,groups:i}},qR=(...e)=>{let t=e.reduce((r,nP)=>(nP.startsWith("!")?r.delete(nP.slice(1)):r.add(nP),r),new Set);return Array.from(t)};vn.combineTags=qR;vn.includeConditionalArg=OR;vn.isExportStory=IR;vn.parseKind=DR;vn.sanitize=zh;vn.storyNameFromExport=MR;vn.toId=NR});var vg=pr((Qz,yg)=>{"use strict";var jR=Object.create,di=Object.defineProperty,BR=Object.getOwnPropertyDescriptor,kR=Object.getOwnPropertyNames,FR=Object.getPrototypeOf,LR=Object.prototype.hasOwnProperty,O=(e,t)=>di(e,"name",{value:t,configurable:!0}),Pt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$R=(e,t)=>{for(var r in t)di(e,r,{get:t[r],enumerable:!0})},pm=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of kR(t))!LR.call(e,o)&&o!==r&&di(e,o,{get:()=>t[o],enumerable:!(nP=BR(t,o))||nP.enumerable});return e},gt=(e,t,r)=>(r=e!=null?jR(FR(e)):{},pm(t||!e||!e.__esModule?di(r,"default",{value:e,enumerable:!0}):r,e)),UR=e=>pm(di({},"__esModule",{value:!0}),e),Fr=Pt((e,t)=>{"use strict";var r=Object.defineProperty,nP=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=O((p,h)=>{for(var m in h)r(p,m,{get:h[m],enumerable:!0})},"__export"),l=O((p,h,m,g)=>{if(h&&typeof h=="object"||typeof h=="function")for(let b of o(h))!i.call(p,b)&&b!==m&&r(p,b,{get:O(()=>h[b],"get"),enumerable:!(g=nP(h,b))||g.enumerable});return p},"__copyProps"),u=O(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),d={};s(d,{global:O(()=>c,"global")}),t.exports=u(d);var c=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),HR=Pt((e,t)=>{function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}O(r,"Similar"),r.prototype.get=function(nP){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,nP))return this.lastItem.val;if(o=this.indexOf(nP),o>=0)return this.lastItem=this.list[o],this.list[o].val},r.prototype.set=function(nP,o){var i;return this.lastItem&&this.isEqual(this.lastItem.key,nP)?(this.lastItem.val=o,this):(i=this.indexOf(nP),i>=0?(this.lastItem=this.list[i],this.list[i].val=o,this):(this.lastItem={key:nP,val:o},this.list.push(this.lastItem),this.size++,this))},r.prototype.delete=function(nP){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,nP)&&(this.lastItem=void 0),o=this.indexOf(nP),o>=0)return this.size--,this.list.splice(o,1)[0]},r.prototype.has=function(nP){var o;return this.lastItem&&this.isEqual(this.lastItem.key,nP)?!0:(o=this.indexOf(nP),o>=0?(this.lastItem=this.list[o],!0):!1)},r.prototype.forEach=function(nP,o){var i;for(i=0;i<this.size;i++)nP.call(o||this,this.list[i].val,this.list[i].key,this)},r.prototype.indexOf=function(nP){var o;for(o=0;o<this.size;o++)if(this.isEqual(this.list[o].key,nP))return o;return-1},r.prototype.isEqual=function(nP,o){return nP===o||nP!==nP&&o!==o},t.exports=r}),zR=Pt((e,t)=>{t.exports=function(r){if(typeof Map!="function"||r){var nP=HR();return new nP}else return new Map}}),fm=Pt((e,t)=>{var r=zR();t.exports=function(s){var l=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),u=[];return function(d){var c=O(function(){var p=l,h,m,g=arguments.length-1,b=Array(g+1),y=!0,E;if((c.numArgs||c.numArgs===0)&&c.numArgs!==g+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(E=0;E<g;E++){if(b[E]={cacheItem:p,arg:arguments[E]},p.has(arguments[E])){p=p.get(arguments[E]);continue}y=!1,h=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),p.set(arguments[E],h),p=h}return y&&(p.has(arguments[g])?m=p.get(arguments[g]):y=!1),y||(m=d.apply(null,arguments),p.set(arguments[g],m)),s>0&&(b[g]={cacheItem:p,arg:arguments[g]},y?nP(u,b):u.push(b),u.length>s&&o(u.shift())),c.wasMemoized=y,c.numArgs=g+1,m},"memoizerific");return c.limit=s,c.wasMemoized=!1,c.cache=l,c.lru=u,c}};function nP(s,l){var u=s.length,d=l.length,c,p,h;for(p=0;p<u;p++){for(c=!0,h=0;h<d;h++)if(!i(s[p][h].arg,l[h].arg)){c=!1;break}if(c)break}s.push(s.splice(p,1)[0])}O(nP,"moveToMostRecentLru");function o(s){var l=s.length,u=s[l-1],d,c;for(u.cacheItem.delete(u.arg),c=l-2;c>=0&&(u=s[c],d=u.cacheItem.get(u.arg),!d||!d.size);c--)u.cacheItem.delete(u.arg)}O(o,"removeCachedResult");function i(s,l){return s===l||s!==s&&l!==l}O(i,"isEqual")}),Lr=Pt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dedent=void 0;function t(r){for(var nP=[],o=1;o<arguments.length;o++)nP[o-1]=arguments[o];var i=Array.from(typeof r=="string"?[r]:r);i[i.length-1]=i[i.length-1].replace(/\r?\nP([\t ]*)$/,"");var s=i.reduce(function(d,c){var p=c.match(/\nP([\t ]+|(?!\s).)/g);return p?d.concat(p.map(function(h){var m,g;return(g=(m=h.match(/[\t ]/g))===null||m===void 0?void 0:m.length)!==null&&g!==void 0?g:0})):d},[]);if(s.length){var l=new RegExp(`
|
|
137
137
|
[ ]{`+Math.min.apply(Math,s)+"}","g");i=i.map(function(d){return d.replace(l,`
|
|
138
138
|
`)})}i[0]=i[0].replace(/^\r?\nP/,"");var u=i[0];return nP.forEach(function(d,c){var p=u.match(/(?:^|\nP)( *)$/),h=p?p[1]:"",m=d;typeof d=="string"&&d.includes(`
|
|
139
139
|
`)&&(m=String(d).split(`
|
|
140
140
|
`).map(function(g,b){return b===0?g:""+h+g}).join(`
|
|
141
|
-
`)),u+=m+i[c+1]}),u}O(t,"dedent"),e.dedent=t,e.default=t}),hm=Pt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=nP;var t=Array.from({length:256},(o,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function nP(o){let i=o.length;if(i===0)return"";let s="",l=0,u=0;e:for(;u<i;u++){let d=o.charCodeAt(u);for(;d<128;){if(r[d]!==1&&(l<u&&(s+=o.slice(l,u)),l=u+1,s+=t[d]),++u===i)break e;d=o.charCodeAt(u)}if(l<u&&(s+=o.slice(l,u)),d<2048){l=u+1,s+=t[192|d>>6]+t[128|d&63];continue}if(d<55296||d>=57344){l=u+1,s+=t[224|d>>12]+t[128|d>>6&63]+t[128|d&63];continue}if(++u,u>=i)throw new Error("URI malformed");let c=o.charCodeAt(u)&1023;l=u+1,d=65536+((d&1023)<<10|c),s+=t[240|d>>18]+t[128|d>>12&63]+t[128|d>>6&63]+t[128|d&63]}return l===0?o:l<i?s+o.slice(l):s}O(nP,"encodeString")}),Zu=Pt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=hm(),r=O(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var nP=O(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=nP;var o=O(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),mm=Pt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=c;var t=Zu(),r=hm();function nP(p){return p==="__proto__"||p==="constructor"||p==="prototype"}O(nP,"isPrototypeKey");function o(p,h,m,g,b){if(nP(h))return p;let y=p[h];return typeof y=="object"&&y!==null?y:!g&&(b||typeof m=="number"||typeof m=="string"&&m*0===0&&m.indexOf(".")===-1)?p[h]=[]:p[h]={}}O(o,"getDeepObject");var i=20,s="[]",l="[",u="]",d=".";function c(p,h,m=0,g,b){let{nestingSyntax:y=t.defaultOptions.nestingSyntax,arrayRepeat:E=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:_=t.defaultOptions.arrayRepeatSyntax,nesting:P=t.defaultOptions.nesting,delimiter:C=t.defaultOptions.delimiter,valueSerializer:w=t.defaultOptions.valueSerializer,shouldSerializeObject:S=t.defaultOptions.shouldSerializeObject}=h,T=typeof C=="number"?String.fromCharCode(C):C,A=b===!0&&E,N=y==="dot"||y==="js"&&!b;if(m>i)return"";let U="",X=!0,V=!1;for(let J in p){let x=p[J],B;g?(B=g,A?_==="bracket"&&(B+=s):N?(B+=d,B+=J):(B+=l,B+=J,B+=u)):B=J,X||(U+=T),typeof x=="object"&&x!==null&&!S(x)?(V=x.pop!==void 0,(P||E&&V)&&(U+=c(x,h,m+1,B,V))):(U+=(0,r.encodeString)(B),U+="=",U+=w(x,J)),X&&(X=!1)}return U}O(c,"stringifyObject")}),VR=Pt((e,t)=>{"use strict";var r=12,nP=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function i(u){var d=u.indexOf("%");if(d===-1)return u;for(var c=u.length,p="",h=0,m=0,g=d,b=r;d>-1&&d<c;){var y=l(u[d+1],4),E=l(u[d+2],0),_=y|E,P=o[_];if(b=o[256+b+P],m=m<<6|_&o[364+P],b===r)p+=u.slice(h,g),p+=m<=65535?String.fromCharCode(m):String.fromCharCode(55232+(m>>10),56320+(m&1023)),m=0,h=d+3,d=g=u.indexOf("%",h);else{if(b===nP)return null;if(d+=3,d<c&&u.charCodeAt(d)===37)continue;return null}}return p+u.slice(h)}O(i,"decodeURIComponent");var s={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(u,d){var c=s[u];return c===void 0?255:c<<d}O(l,"hexCodeToInt"),t.exports=i}),GR=Pt(e=>{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=c;var r=mm(),nP=Zu(),o=t(VR()),i=O(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=i;var s=O(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=s;var l=/\+/g,u=O(function(){},"Empty");u.prototype=Object.create(null);function d(p,h,m,g,b){let y=p.substring(h,m);return g&&(y=y.replace(l," ")),b&&(y=(0,o.default)(y)||y),y}O(d,"computeKeySlice");function c(p,h){let{valueDeserializer:m=nP.defaultOptions.valueDeserializer,keyDeserializer:g=nP.defaultOptions.keyDeserializer,arrayRepeatSyntax:b=nP.defaultOptions.arrayRepeatSyntax,nesting:y=nP.defaultOptions.nesting,arrayRepeat:E=nP.defaultOptions.arrayRepeat,nestingSyntax:_=nP.defaultOptions.nestingSyntax,delimiter:P=nP.defaultOptions.delimiter}=h!=null?h:{},C=typeof P=="string"?P.charCodeAt(0):P,w=_==="js",S=new u;if(typeof p!="string")return S;let T=p.length,A="",N=-1,U=-1,X=-1,V=S,J,x="",B="",K=!1,fe=!1,ce=!1,Re=!1,Fe=!1,Oe=!1,le=!1,se=0,de=-1,Se=-1,qe=-1;for(let ke=0;ke<T+1;ke++){if(se=ke!==T?p.charCodeAt(ke):C,se===C){if(le=U>N,le||(U=ke),X!==U-1&&(B=d(p,X+1,de>-1?de:U,ce,K),x=g(B),J!==void 0&&(V=(0,r.getDeepObject)(V,J,x,w&&Fe,w&&Oe))),le||x!==""){le&&(A=p.slice(U+1,ke),Re&&(A=A.replace(l," ")),fe&&(A=(0,o.default)(A)||A));let ot=m(A,x);if(E){let Ot=V[x];Ot===void 0?de>-1?V[x]=[ot]:V[x]=ot:Ot.pop?Ot.push(ot):V[x]=[Ot,ot]}else V[x]=ot}A="",N=ke,U=ke,K=!1,fe=!1,ce=!1,Re=!1,Fe=!1,Oe=!1,de=-1,X=ke,V=S,J=void 0,x=""}else se===93?(E&&b==="bracket"&&qe===91&&(de=Se),y&&(_==="index"||w)&&U<=N&&(X!==Se&&(B=d(p,X+1,ke,ce,K),x=g(B),J!==void 0&&(V=(0,r.getDeepObject)(V,J,x,void 0,w)),J=x,ce=!1,K=!1),X=ke,Oe=!0,Fe=!1)):se===46?y&&(_==="dot"||w)&&U<=N&&(X!==Se&&(B=d(p,X+1,ke,ce,K),x=g(B),J!==void 0&&(V=(0,r.getDeepObject)(V,J,x,w)),J=x,ce=!1,K=!1),Fe=!0,Oe=!1,X=ke):se===91?y&&(_==="index"||w)&&U<=N&&(X!==Se&&(B=d(p,X+1,ke,ce,K),x=g(B),w&&J!==void 0&&(V=(0,r.getDeepObject)(V,J,x,w)),J=x,ce=!1,K=!1,Fe=!1,Oe=!0),X=ke):se===61?U<=N?U=ke:fe=!0:se===43?U>N?Re=!0:ce=!0:se===37&&(U>N?fe=!0:K=!0);Se=ke,qe=se}return S}O(c,"parse")}),WR=Pt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=mm();function r(nP,o){if(nP===null||typeof nP!="object")return"";let i=o!=null?o:{};return(0,t.stringifyObject)(nP,i)}O(r,"stringify")}),ec=Pt(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var d=Object.getOwnPropertyDescriptor(s,l);(!d||("get"in d?!s.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:O(function(){return s[l]},"get")}),Object.defineProperty(i,u,d)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),r=e&&e.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var nP=GR();Object.defineProperty(e,"parse",{enumerable:!0,get:O(function(){return nP.parse},"get")});var o=WR();Object.defineProperty(e,"stringify",{enumerable:!0,get:O(function(){return o.stringify},"get")}),r(Zu(),e)}),gm=Pt((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:`
|
|
141
|
+
`)),u+=m+i[c+1]}),u}O(t,"dedent"),e.dedent=t,e.default=t}),hm=Pt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=nP;var t=Array.from({length:256},(o,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function nP(o){let i=o.length;if(i===0)return"";let s="",l=0,u=0;e:for(;u<i;u++){let d=o.charCodeAt(u);for(;d<128;){if(r[d]!==1&&(l<u&&(s+=o.slice(l,u)),l=u+1,s+=t[d]),++u===i)break e;d=o.charCodeAt(u)}if(l<u&&(s+=o.slice(l,u)),d<2048){l=u+1,s+=t[192|d>>6]+t[128|d&63];continue}if(d<55296||d>=57344){l=u+1,s+=t[224|d>>12]+t[128|d>>6&63]+t[128|d&63];continue}if(++u,u>=i)throw new Error("URI malformed");let c=o.charCodeAt(u)&1023;l=u+1,d=65536+((d&1023)<<10|c),s+=t[240|d>>18]+t[128|d>>12&63]+t[128|d>>6&63]+t[128|d&63]}return l===0?o:l<i?s+o.slice(l):s}O(nP,"encodeString")}),Qu=Pt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=hm(),r=O(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var nP=O(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=nP;var o=O(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),mm=Pt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=c;var t=Qu(),r=hm();function nP(p){return p==="__proto__"||p==="constructor"||p==="prototype"}O(nP,"isPrototypeKey");function o(p,h,m,g,b){if(nP(h))return p;let y=p[h];return typeof y=="object"&&y!==null?y:!g&&(b||typeof m=="number"||typeof m=="string"&&m*0===0&&m.indexOf(".")===-1)?p[h]=[]:p[h]={}}O(o,"getDeepObject");var i=20,s="[]",l="[",u="]",d=".";function c(p,h,m=0,g,b){let{nestingSyntax:y=t.defaultOptions.nestingSyntax,arrayRepeat:E=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:_=t.defaultOptions.arrayRepeatSyntax,nesting:P=t.defaultOptions.nesting,delimiter:C=t.defaultOptions.delimiter,valueSerializer:w=t.defaultOptions.valueSerializer,shouldSerializeObject:S=t.defaultOptions.shouldSerializeObject}=h,T=typeof C=="number"?String.fromCharCode(C):C,A=b===!0&&E,N=y==="dot"||y==="js"&&!b;if(m>i)return"";let U="",X=!0,V=!1;for(let J in p){let x=p[J],B;g?(B=g,A?_==="bracket"&&(B+=s):N?(B+=d,B+=J):(B+=l,B+=J,B+=u)):B=J,X||(U+=T),typeof x=="object"&&x!==null&&!S(x)?(V=x.pop!==void 0,(P||E&&V)&&(U+=c(x,h,m+1,B,V))):(U+=(0,r.encodeString)(B),U+="=",U+=w(x,J)),X&&(X=!1)}return U}O(c,"stringifyObject")}),VR=Pt((e,t)=>{"use strict";var r=12,nP=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function i(u){var d=u.indexOf("%");if(d===-1)return u;for(var c=u.length,p="",h=0,m=0,g=d,b=r;d>-1&&d<c;){var y=l(u[d+1],4),E=l(u[d+2],0),_=y|E,P=o[_];if(b=o[256+b+P],m=m<<6|_&o[364+P],b===r)p+=u.slice(h,g),p+=m<=65535?String.fromCharCode(m):String.fromCharCode(55232+(m>>10),56320+(m&1023)),m=0,h=d+3,d=g=u.indexOf("%",h);else{if(b===nP)return null;if(d+=3,d<c&&u.charCodeAt(d)===37)continue;return null}}return p+u.slice(h)}O(i,"decodeURIComponent");var s={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(u,d){var c=s[u];return c===void 0?255:c<<d}O(l,"hexCodeToInt"),t.exports=i}),GR=Pt(e=>{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=c;var r=mm(),nP=Qu(),o=t(VR()),i=O(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=i;var s=O(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=s;var l=/\+/g,u=O(function(){},"Empty");u.prototype=Object.create(null);function d(p,h,m,g,b){let y=p.substring(h,m);return g&&(y=y.replace(l," ")),b&&(y=(0,o.default)(y)||y),y}O(d,"computeKeySlice");function c(p,h){let{valueDeserializer:m=nP.defaultOptions.valueDeserializer,keyDeserializer:g=nP.defaultOptions.keyDeserializer,arrayRepeatSyntax:b=nP.defaultOptions.arrayRepeatSyntax,nesting:y=nP.defaultOptions.nesting,arrayRepeat:E=nP.defaultOptions.arrayRepeat,nestingSyntax:_=nP.defaultOptions.nestingSyntax,delimiter:P=nP.defaultOptions.delimiter}=h!=null?h:{},C=typeof P=="string"?P.charCodeAt(0):P,w=_==="js",S=new u;if(typeof p!="string")return S;let T=p.length,A="",N=-1,U=-1,X=-1,V=S,J,x="",B="",K=!1,fe=!1,ce=!1,Re=!1,Fe=!1,Oe=!1,le=!1,se=0,de=-1,Se=-1,qe=-1;for(let ke=0;ke<T+1;ke++){if(se=ke!==T?p.charCodeAt(ke):C,se===C){if(le=U>N,le||(U=ke),X!==U-1&&(B=d(p,X+1,de>-1?de:U,ce,K),x=g(B),J!==void 0&&(V=(0,r.getDeepObject)(V,J,x,w&&Fe,w&&Oe))),le||x!==""){le&&(A=p.slice(U+1,ke),Re&&(A=A.replace(l," ")),fe&&(A=(0,o.default)(A)||A));let ot=m(A,x);if(E){let Ot=V[x];Ot===void 0?de>-1?V[x]=[ot]:V[x]=ot:Ot.pop?Ot.push(ot):V[x]=[Ot,ot]}else V[x]=ot}A="",N=ke,U=ke,K=!1,fe=!1,ce=!1,Re=!1,Fe=!1,Oe=!1,de=-1,X=ke,V=S,J=void 0,x=""}else se===93?(E&&b==="bracket"&&qe===91&&(de=Se),y&&(_==="index"||w)&&U<=N&&(X!==Se&&(B=d(p,X+1,ke,ce,K),x=g(B),J!==void 0&&(V=(0,r.getDeepObject)(V,J,x,void 0,w)),J=x,ce=!1,K=!1),X=ke,Oe=!0,Fe=!1)):se===46?y&&(_==="dot"||w)&&U<=N&&(X!==Se&&(B=d(p,X+1,ke,ce,K),x=g(B),J!==void 0&&(V=(0,r.getDeepObject)(V,J,x,w)),J=x,ce=!1,K=!1),Fe=!0,Oe=!1,X=ke):se===91?y&&(_==="index"||w)&&U<=N&&(X!==Se&&(B=d(p,X+1,ke,ce,K),x=g(B),w&&J!==void 0&&(V=(0,r.getDeepObject)(V,J,x,w)),J=x,ce=!1,K=!1,Fe=!1,Oe=!0),X=ke):se===61?U<=N?U=ke:fe=!0:se===43?U>N?Re=!0:ce=!0:se===37&&(U>N?fe=!0:K=!0);Se=ke,qe=se}return S}O(c,"parse")}),WR=Pt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=mm();function r(nP,o){if(nP===null||typeof nP!="object")return"";let i=o!=null?o:{};return(0,t.stringifyObject)(nP,i)}O(r,"stringify")}),Zu=Pt(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var d=Object.getOwnPropertyDescriptor(s,l);(!d||("get"in d?!s.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:O(function(){return s[l]},"get")}),Object.defineProperty(i,u,d)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),r=e&&e.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var nP=GR();Object.defineProperty(e,"parse",{enumerable:!0,get:O(function(){return nP.parse},"get")});var o=WR();Object.defineProperty(e,"stringify",{enumerable:!0,get:O(function(){return o.stringify},"get")}),r(Qu(),e)}),gm=Pt((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:`
|
|
142
142
|
`,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"}}),YR=Pt((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"}}),bm=Pt((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),KR=Pt((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}}),JR=Pt(e=>{"use strict";var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(KR()),nP=String.fromCodePoint||function(i){var s="";return i>65535&&(i-=65536,s+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),s+=String.fromCharCode(i),s};function o(i){return i>=55296&&i<=57343||i>1114111?"\uFFFD":(i in r.default&&(i=r.default[i]),nP(i))}O(o,"decodeCodePoint"),e.default=o}),Vh=Pt(e=>{"use strict";var t=e&&e.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(gm()),nP=t(YR()),o=t(bm()),i=t(JR()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(c){var p=d(c);return function(h){return String(h).replace(s,p)}}O(l,"getStrictDecoder");var u=O(function(c,p){return c<p?1:-1},"sorter");e.decodeHTML=function(){for(var c=Object.keys(nP.default).sort(u),p=Object.keys(r.default).sort(u),h=0,m=0;h<p.length;h++)c[m]===p[h]?(p[h]+=";?",m++):p[h]+=";";var g=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),b=d(r.default);function y(E){return E.substr(-1)!==";"&&(E+=";"),b(E)}return O(y,"replacer"),function(E){return String(E).replace(g,y)}}();function d(c){return O(function(p){if(p.charAt(1)==="#"){var h=p.charAt(2);return h==="X"||h==="x"?i.default(parseInt(p.substr(3),16)):i.default(parseInt(p.substr(2),10))}return c[p.slice(1,-1)]||p},"replace")}O(d,"getReplacer")}),Gh=Pt(e=>{"use strict";var t=e&&e.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(bm()),nP=u(r.default),o=d(nP);e.encodeXML=E(nP);var i=t(gm()),s=u(i.default),l=d(s);e.encodeHTML=m(s,l),e.encodeNonAsciiHTML=E(s);function u(_){return Object.keys(_).sort().reduce(function(P,C){return P[_[C]]="&"+C+";",P},{})}O(u,"getInverseObj");function d(_){for(var P=[],C=[],w=0,S=Object.keys(_);w<S.length;w++){var T=S[w];T.length===1?P.push("\\"+T):C.push(T)}P.sort();for(var A=0;A<P.length-1;A++){for(var N=A;N<P.length-1&&P[N].charCodeAt(1)+1===P[N+1].charCodeAt(1);)N+=1;var U=1+N-A;U<3||P.splice(A,U,P[A]+"-"+P[N])}return C.unshift("["+P.join("")+"]"),new RegExp(C.join("|"),"g")}O(d,"getInverseReplacer");var c=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=String.prototype.codePointAt!=null?function(_){return _.codePointAt(0)}:function(_){return(_.charCodeAt(0)-55296)*1024+_.charCodeAt(1)-56320+65536};function h(_){return"&#x"+(_.length>1?p(_):_.charCodeAt(0)).toString(16).toUpperCase()+";"}O(h,"singleCharReplacer");function m(_,P){return function(C){return C.replace(P,function(w){return _[w]}).replace(c,h)}}O(m,"getInverse");var g=new RegExp(o.source+"|"+c.source,"g");function b(_){return _.replace(g,h)}O(b,"escape"),e.escape=b;function y(_){return _.replace(o,h)}O(y,"escapeUTF8"),e.escapeUTF8=y;function E(_){return function(P){return P.replace(g,function(C){return _[C]||h(C)})}}O(E,"getASCIIEncoder")}),XR=Pt(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=Vh(),r=Gh();function nP(u,d){return(!d||d<=0?t.decodeXML:t.decodeHTML)(u)}O(nP,"decode"),e.decode=nP;function o(u,d){return(!d||d<=0?t.decodeXML:t.decodeHTMLStrict)(u)}O(o,"decodeStrict"),e.decodeStrict=o;function i(u,d){return(!d||d<=0?r.encodeXML:r.encodeHTML)(u)}O(i,"encode"),e.encode=i;var s=Gh();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:O(function(){return s.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:O(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:O(function(){return s.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:O(function(){return s.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:O(function(){return s.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:O(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:O(function(){return s.encodeHTML},"get")});var l=Vh();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:O(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:O(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:O(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:O(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:O(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:O(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:O(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:O(function(){return l.decodeXML},"get")})}),QR=Pt((e,t)=>{"use strict";function r(x,B){if(!(x instanceof B))throw new TypeError("Cannot call a class as a function")}O(r,"_classCallCheck");function nP(x,B){for(var K=0;K<B.length;K++){var fe=B[K];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(x,fe.key,fe)}}O(nP,"_defineProperties");function o(x,B,K){return B&&nP(x.prototype,B),K&&nP(x,K),x}O(o,"_createClass");function i(x,B){var K=typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(!K){if(Array.isArray(x)||(K=s(x))||B&&x&&typeof x.length=="number"){K&&(x=K);var fe=0,ce=O(function(){},"F");return{s:ce,nP:O(function(){return fe>=x.length?{done:!0}:{done:!1,value:x[fe++]}},"nP"),e:O(function(le){throw le},"e"),f:ce}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
143
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Re=!0,Fe=!1,Oe;return{s:O(function(){K=K.call(x)},"s"),nP:O(function(){var le=K.next();return Re=le.done,le},"nP"),e:O(function(le){Fe=!0,Oe=le},"e"),f:O(function(){try{!Re&&K.return!=null&&K.return()}finally{if(Fe)throw Oe}},"f")}}O(i,"_createForOfIteratorHelper");function s(x,B){if(x){if(typeof x=="string")return l(x,B);var K=Object.prototype.toString.call(x).slice(8,-1);if(K==="Object"&&x.constructor&&(K=x.constructor.name),K==="Map"||K==="Set")return Array.from(x);if(K==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(K))return l(x,B)}}O(s,"_unsupportedIterableToArray");function l(x,B){(B==null||B>x.length)&&(B=x.length);for(var K=0,fe=new Array(B);K<B;K++)fe[K]=x[K];return fe}O(l,"_arrayLikeToArray");var u=XR(),d={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:c()};function c(){var x={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 _(0,5).forEach(function(B){_(0,5).forEach(function(K){_(0,5).forEach(function(fe){return p(B,K,fe,x)})})}),_(0,23).forEach(function(B){var K=B+232,fe=h(B*10+8);x[K]="#"+fe+fe+fe}),x}O(c,"getDefaultColors");function p(x,B,K,fe){var ce=16+x*36+B*6+K,Re=x>0?x*40+55:0,Fe=B>0?B*40+55:0,Oe=K>0?K*40+55:0;fe[ce]=m([Re,Fe,Oe])}O(p,"setStyleColor");function h(x){for(var B=x.toString(16);B.length<2;)B="0"+B;return B}O(h,"toHexString");function m(x){var B=[],K=i(x),fe;try{for(K.s();!(fe=K.nP()).done;){var ce=fe.value;B.push(h(ce))}}catch(Re){K.e(Re)}finally{K.f()}return"#"+B.join("")}O(m,"toColorHexString");function g(x,B,K,fe){var ce;return B==="text"?ce=w(K,fe):B==="display"?ce=y(x,K,fe):B==="xterm256Foreground"?ce=A(x,fe.colors[K]):B==="xterm256Background"?ce=N(x,fe.colors[K]):B==="rgb"&&(ce=b(x,K)),ce}O(g,"generateOutput");function b(x,B){B=B.substring(2).slice(0,-1);var K=+B.substr(0,2),fe=B.substring(5).split(";"),ce=fe.map(function(Re){return("0"+Number(Re).toString(16)).substr(-2)}).join("");return T(x,(K===38?"color:#":"background-color:#")+ce)}O(b,"handleRgb");function y(x,B,K){B=parseInt(B,10);var fe={"-1":O(function(){return"<br/>"},"_"),0:O(function(){return x.length&&E(x)},"_"),1:O(function(){return S(x,"b")},"_"),3:O(function(){return S(x,"i")},"_"),4:O(function(){return S(x,"u")},"_"),8:O(function(){return T(x,"display:none")},"_"),9:O(function(){return S(x,"strike")},"_"),22:O(function(){return T(x,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:O(function(){return U(x,"i")},"_"),24:O(function(){return U(x,"u")},"_"),39:O(function(){return A(x,K.fg)},"_"),49:O(function(){return N(x,K.bg)},"_"),53:O(function(){return T(x,"text-decoration:overline")},"_")},ce;return fe[B]?ce=fe[B]():4<B&&B<7?ce=S(x,"blink"):29<B&&B<38?ce=A(x,K.colors[B-30]):39<B&&B<48?ce=N(x,K.colors[B-40]):89<B&&B<98?ce=A(x,K.colors[8+(B-90)]):99<B&&B<108&&(ce=N(x,K.colors[8+(B-100)])),ce}O(y,"handleDisplay");function E(x){var B=x.slice(0);return x.length=0,B.reverse().map(function(K){return"</"+K+">"}).join("")}O(E,"resetStyles");function _(x,B){for(var K=[],fe=x;fe<=B;fe++)K.push(fe);return K}O(_,"range");function P(x){return function(B){return(x===null||B.category!==x)&&x!=="all"}}O(P,"notCategory");function C(x){x=parseInt(x,10);var B=null;return x===0?B="all":x===1?B="bold":2<x&&x<5?B="underline":4<x&&x<7?B="blink":x===8?B="hide":x===9?B="strike":29<x&&x<38||x===39||89<x&&x<98?B="foreground-color":(39<x&&x<48||x===49||99<x&&x<108)&&(B="background-color"),B}O(C,"categoryForCode");function w(x,B){return B.escapeXML?u.encodeXML(x):x}O(w,"pushText");function S(x,B,K){return K||(K=""),x.push(B),"<".concat(B).concat(K?' style="'.concat(K,'"'):"",">")}O(S,"pushTag");function T(x,B){return S(x,"span",B)}O(T,"pushStyle");function A(x,B){return S(x,"span","color:"+B)}O(A,"pushForegroundColor");function N(x,B){return S(x,"span","background-color:"+B)}O(N,"pushBackgroundColor");function U(x,B){var K;if(x.slice(-1)[0]===B&&(K=x.pop()),K)return"</"+B+">"}O(U,"closeTag");function X(x,B,K){var fe=!1,ce=3;function Re(){return""}O(Re,"remove");function Fe(ye,$e){return K("xterm256Foreground",$e),""}O(Fe,"removeXterm256Foreground");function Oe(ye,$e){return K("xterm256Background",$e),""}O(Oe,"removeXterm256Background");function le(ye){return B.newline?K("display",-1):K("text",ye),""}O(le,"newline");function se(ye,$e){fe=!0,$e.trim().length===0&&($e="0"),$e=$e.trimRight(";").split(";");var lt=i($e),Qt;try{for(lt.s();!(Qt=lt.nP()).done;){var Wl=Qt.value;K("display",Wl)}}catch(Yl){lt.e(Yl)}finally{lt.f()}return""}O(se,"ansiMess");function de(ye){return K("text",ye),""}O(de,"realText");function Se(ye){return K("rgb",ye),""}O(Se,"rgb");var qe=[{pattern:/^\x08+/,sub:Re},{pattern:/^\x1b\[[012]?K/,sub:Re},{pattern:/^\x1b\[\(B/,sub:Re},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:Se},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Fe},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Oe},{pattern:/^\nP/,sub:le},{pattern:/^\r+\nP/,sub:le},{pattern:/^\r/,sub:le},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:se},{pattern:/^\x1b\[\d?J/,sub:Re},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Re},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Re},{pattern:/^(([^\x1b\x08\r\nP])+)/,sub:de}];function ke(ye,$e){$e>ce&&fe||(fe=!1,x=x.replace(ye.pattern,ye.sub))}O(ke,"process");var ot=[],Ot=x,Y=Ot.length;e:for(;Y>0;){for(var Pe=0,Le=0,nt=qe.length;Le<nt;Pe=++Le){var ae=qe[Pe];if(ke(ae,Pe),x.length!==Y){Y=x.length;continue e}}if(x.length===Y)break;ot.push(0),Y=x.length}return ot}O(X,"tokenize");function V(x,B,K){return B!=="text"&&(x=x.filter(P(C(K))),x.push({token:B,data:K,category:C(K)})),x}O(V,"updateStickyStack");var J=function(){function x(B){r(this,x),B=B||{},B.colors&&(B.colors=Object.assign({},d.colors,B.colors)),this.options=Object.assign({},d,B),this.stack=[],this.stickyStack=[]}return O(x,"Filter"),o(x,[{key:"toHtml",value:O(function(B){var K=this;B=typeof B=="string"?[B]:B;var fe=this.stack,ce=this.options,Re=[];return this.stickyStack.forEach(function(Fe){var Oe=g(fe,Fe.token,Fe.data,ce);Oe&&Re.push(Oe)}),X(B.join(""),ce,function(Fe,Oe){var le=g(fe,Fe,Oe,ce);le&&Re.push(le),ce.stream&&(K.stickyStack=V(K.stickyStack,Fe,Oe))}),fe.length&&Re.push(E(fe)),Re.join("")},"toHtml")}]),x}();t.exports=J}),ym={};$R(ym,{DocsContext:()=>yc,HooksContext:()=>rc,Preview:()=>tg,PreviewWeb:()=>$x,PreviewWithSelection:()=>sg,StoryStore:()=>Qm,UrlStore:()=>fg,WebView:()=>mg,addons:()=>wn,applyHooks:()=>Em,combineArgs:()=>vs,combineParameters:()=>Sn,composeConfigs:()=>ma,composeStepRunners:()=>gc,composeStories:()=>Km,composeStory:()=>bc,createPlaywrightTest:()=>Jm,decorateStory:()=>uc,defaultDecorateStory:()=>dc,filterArgTypes:()=>Vm,inferControls:()=>mc,makeDecorator:()=>nT,mockChannel:()=>tc,normalizeStory:()=>As,prepareMeta:()=>pc,prepareStory:()=>Rs,sanitizeStoryContextUpdate:()=>cc,setDefaultProjectAnnotations:()=>Gm,setProjectAnnotations:()=>Ym,simulateDOMContentLoaded:()=>Ss,simulatePageLoad:()=>bg,sortStoriesV7:()=>gx,useArgs:()=>Pm,useCallback:()=>fa,useChannel:()=>Tm,useEffect:()=>sc,useGlobals:()=>Om,useMemo:()=>wm,useParameter:()=>xm,useReducer:()=>Rm,useRef:()=>Sm,useState:()=>Am,useStoryContext:()=>fi,userOrAutoTitle:()=>px,userOrAutoTitleFromSpecifier:()=>eg});yg.exports=UR(ym);var Nu=gt(Fr(),1),ZR=Dh();function tc(){let e={setHandler:O(()=>{},"setHandler"),send:O(()=>{},"send")};return new ZR.Channel({transport:e})}O(tc,"mockChannel");var Xo,eT=(Xo=class{constructor(){this.getChannel=O(()=>{if(!this.channel){let t=tc();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(Xo,"AddonStore"),Xo),Mu="__STORYBOOK_ADDONS_PREVIEW";function vm(){return Nu.global[Mu]||(Nu.global[Mu]=new eT),Nu.global[Mu]}O(vm,"getAddonsStore");var wn=vm(),ms=gt(Fr(),1),li=Bt(),pa=jr(),Qo,rc=(Qo=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=>{var r;t===((r=this.currentContext)==null?void 0:r.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),wn.getChannel().on(pa.STORY_RENDERED,this.renderListener)}removeRenderListeners(){wn.getChannel().removeListener(pa.STORY_RENDERED,this.renderListener)}},O(Qo,"HooksContext"),Qo);function $u(e){let t=O((...r)=>{let{hooks:nP}=typeof r[0]=="function"?r[1]:r[0],o=nP.currentPhase,i=nP.currentHooks,s=nP.nextHookIndex,l=nP.currentDecoratorName;nP.currentDecoratorName=e.name,nP.prevMountedDecorators.has(e)?(nP.currentPhase="UPDATE",nP.currentHooks=nP.hookListsMap.get(e)||[]):(nP.currentPhase="MOUNT",nP.currentHooks=[],nP.hookListsMap.set(e,nP.currentHooks),nP.prevMountedDecorators.add(e)),nP.nextHookIndex=0;let u=ms.global.STORYBOOK_HOOKS_CONTEXT;ms.global.STORYBOOK_HOOKS_CONTEXT=nP;let d=e(...r);if(ms.global.STORYBOOK_HOOKS_CONTEXT=u,nP.currentPhase==="UPDATE"&&nP.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return nP.currentPhase=o,nP.currentHooks=i,nP.nextHookIndex=s,nP.currentDecoratorName=l,d},"hookified");return t.originalFn=e,t}O($u,"hookify");var Iu=0,tT=25,Em=O(e=>(t,r)=>{let nP=e($u(t),r.map(o=>$u(o)));return o=>{var l;let{hooks:i}=o;(l=i.prevMountedDecorators)!=null||(i.prevMountedDecorators=new Set),i.mountedDecorators=new Set([t,...r]),i.currentContext=o,i.hasUpdates=!1;let s=nP(o);for(Iu=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],s=nP(o),Iu+=1,Iu>tT)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),s}},"applyHooks"),rT=O((e,t)=>e.length===t.length&&e.every((r,nP)=>r===t[nP]),"areDepsEqual"),nc=O(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function oc(){return ms.global.STORYBOOK_HOOKS_CONTEXT||null}O(oc,"getHooksContextOrNull");function Cs(){let e=oc();if(e==null)throw nc();return e}O(Cs,"getHooksContextOrThrow");function _m(e,t,r){let nP=Cs();if(nP.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&li.logger.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 nP.currentHooks.push(o),t(o),o}if(nP.currentPhase==="UPDATE"){let o=nP.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&li.logger.warn(`Storybook has detected a change in the order of Hooks${nP.currentDecoratorName?` called by ${nP.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&li.logger.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&&li.logger.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
143
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Re=!0,Fe=!1,Oe;return{s:O(function(){K=K.call(x)},"s"),nP:O(function(){var le=K.next();return Re=le.done,le},"nP"),e:O(function(le){Fe=!0,Oe=le},"e"),f:O(function(){try{!Re&&K.return!=null&&K.return()}finally{if(Fe)throw Oe}},"f")}}O(i,"_createForOfIteratorHelper");function s(x,B){if(x){if(typeof x=="string")return l(x,B);var K=Object.prototype.toString.call(x).slice(8,-1);if(K==="Object"&&x.constructor&&(K=x.constructor.name),K==="Map"||K==="Set")return Array.from(x);if(K==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(K))return l(x,B)}}O(s,"_unsupportedIterableToArray");function l(x,B){(B==null||B>x.length)&&(B=x.length);for(var K=0,fe=new Array(B);K<B;K++)fe[K]=x[K];return fe}O(l,"_arrayLikeToArray");var u=XR(),d={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:c()};function c(){var x={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 _(0,5).forEach(function(B){_(0,5).forEach(function(K){_(0,5).forEach(function(fe){return p(B,K,fe,x)})})}),_(0,23).forEach(function(B){var K=B+232,fe=h(B*10+8);x[K]="#"+fe+fe+fe}),x}O(c,"getDefaultColors");function p(x,B,K,fe){var ce=16+x*36+B*6+K,Re=x>0?x*40+55:0,Fe=B>0?B*40+55:0,Oe=K>0?K*40+55:0;fe[ce]=m([Re,Fe,Oe])}O(p,"setStyleColor");function h(x){for(var B=x.toString(16);B.length<2;)B="0"+B;return B}O(h,"toHexString");function m(x){var B=[],K=i(x),fe;try{for(K.s();!(fe=K.nP()).done;){var ce=fe.value;B.push(h(ce))}}catch(Re){K.e(Re)}finally{K.f()}return"#"+B.join("")}O(m,"toColorHexString");function g(x,B,K,fe){var ce;return B==="text"?ce=w(K,fe):B==="display"?ce=y(x,K,fe):B==="xterm256Foreground"?ce=A(x,fe.colors[K]):B==="xterm256Background"?ce=N(x,fe.colors[K]):B==="rgb"&&(ce=b(x,K)),ce}O(g,"generateOutput");function b(x,B){B=B.substring(2).slice(0,-1);var K=+B.substr(0,2),fe=B.substring(5).split(";"),ce=fe.map(function(Re){return("0"+Number(Re).toString(16)).substr(-2)}).join("");return T(x,(K===38?"color:#":"background-color:#")+ce)}O(b,"handleRgb");function y(x,B,K){B=parseInt(B,10);var fe={"-1":O(function(){return"<br/>"},"_"),0:O(function(){return x.length&&E(x)},"_"),1:O(function(){return S(x,"b")},"_"),3:O(function(){return S(x,"i")},"_"),4:O(function(){return S(x,"u")},"_"),8:O(function(){return T(x,"display:none")},"_"),9:O(function(){return S(x,"strike")},"_"),22:O(function(){return T(x,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:O(function(){return U(x,"i")},"_"),24:O(function(){return U(x,"u")},"_"),39:O(function(){return A(x,K.fg)},"_"),49:O(function(){return N(x,K.bg)},"_"),53:O(function(){return T(x,"text-decoration:overline")},"_")},ce;return fe[B]?ce=fe[B]():4<B&&B<7?ce=S(x,"blink"):29<B&&B<38?ce=A(x,K.colors[B-30]):39<B&&B<48?ce=N(x,K.colors[B-40]):89<B&&B<98?ce=A(x,K.colors[8+(B-90)]):99<B&&B<108&&(ce=N(x,K.colors[8+(B-100)])),ce}O(y,"handleDisplay");function E(x){var B=x.slice(0);return x.length=0,B.reverse().map(function(K){return"</"+K+">"}).join("")}O(E,"resetStyles");function _(x,B){for(var K=[],fe=x;fe<=B;fe++)K.push(fe);return K}O(_,"range");function P(x){return function(B){return(x===null||B.category!==x)&&x!=="all"}}O(P,"notCategory");function C(x){x=parseInt(x,10);var B=null;return x===0?B="all":x===1?B="bold":2<x&&x<5?B="underline":4<x&&x<7?B="blink":x===8?B="hide":x===9?B="strike":29<x&&x<38||x===39||89<x&&x<98?B="foreground-color":(39<x&&x<48||x===49||99<x&&x<108)&&(B="background-color"),B}O(C,"categoryForCode");function w(x,B){return B.escapeXML?u.encodeXML(x):x}O(w,"pushText");function S(x,B,K){return K||(K=""),x.push(B),"<".concat(B).concat(K?' style="'.concat(K,'"'):"",">")}O(S,"pushTag");function T(x,B){return S(x,"span",B)}O(T,"pushStyle");function A(x,B){return S(x,"span","color:"+B)}O(A,"pushForegroundColor");function N(x,B){return S(x,"span","background-color:"+B)}O(N,"pushBackgroundColor");function U(x,B){var K;if(x.slice(-1)[0]===B&&(K=x.pop()),K)return"</"+B+">"}O(U,"closeTag");function X(x,B,K){var fe=!1,ce=3;function Re(){return""}O(Re,"remove");function Fe(ye,$e){return K("xterm256Foreground",$e),""}O(Fe,"removeXterm256Foreground");function Oe(ye,$e){return K("xterm256Background",$e),""}O(Oe,"removeXterm256Background");function le(ye){return B.newline?K("display",-1):K("text",ye),""}O(le,"newline");function se(ye,$e){fe=!0,$e.trim().length===0&&($e="0"),$e=$e.trimRight(";").split(";");var lt=i($e),Qt;try{for(lt.s();!(Qt=lt.nP()).done;){var Gl=Qt.value;K("display",Gl)}}catch(Wl){lt.e(Wl)}finally{lt.f()}return""}O(se,"ansiMess");function de(ye){return K("text",ye),""}O(de,"realText");function Se(ye){return K("rgb",ye),""}O(Se,"rgb");var qe=[{pattern:/^\x08+/,sub:Re},{pattern:/^\x1b\[[012]?K/,sub:Re},{pattern:/^\x1b\[\(B/,sub:Re},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:Se},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Fe},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Oe},{pattern:/^\nP/,sub:le},{pattern:/^\r+\nP/,sub:le},{pattern:/^\r/,sub:le},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:se},{pattern:/^\x1b\[\d?J/,sub:Re},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Re},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Re},{pattern:/^(([^\x1b\x08\r\nP])+)/,sub:de}];function ke(ye,$e){$e>ce&&fe||(fe=!1,x=x.replace(ye.pattern,ye.sub))}O(ke,"process");var ot=[],Ot=x,Y=Ot.length;e:for(;Y>0;){for(var Pe=0,Le=0,nt=qe.length;Le<nt;Pe=++Le){var ae=qe[Pe];if(ke(ae,Pe),x.length!==Y){Y=x.length;continue e}}if(x.length===Y)break;ot.push(0),Y=x.length}return ot}O(X,"tokenize");function V(x,B,K){return B!=="text"&&(x=x.filter(P(C(K))),x.push({token:B,data:K,category:C(K)})),x}O(V,"updateStickyStack");var J=function(){function x(B){r(this,x),B=B||{},B.colors&&(B.colors=Object.assign({},d.colors,B.colors)),this.options=Object.assign({},d,B),this.stack=[],this.stickyStack=[]}return O(x,"Filter"),o(x,[{key:"toHtml",value:O(function(B){var K=this;B=typeof B=="string"?[B]:B;var fe=this.stack,ce=this.options,Re=[];return this.stickyStack.forEach(function(Fe){var Oe=g(fe,Fe.token,Fe.data,ce);Oe&&Re.push(Oe)}),X(B.join(""),ce,function(Fe,Oe){var le=g(fe,Fe,Oe,ce);le&&Re.push(le),ce.stream&&(K.stickyStack=V(K.stickyStack,Fe,Oe))}),fe.length&&Re.push(E(fe)),Re.join("")},"toHtml")}]),x}();t.exports=J}),ym={};$R(ym,{DocsContext:()=>bc,HooksContext:()=>tc,Preview:()=>tg,PreviewWeb:()=>$x,PreviewWithSelection:()=>sg,StoryStore:()=>Qm,UrlStore:()=>fg,WebView:()=>mg,addons:()=>wn,applyHooks:()=>Em,combineArgs:()=>ys,combineParameters:()=>Sn,composeConfigs:()=>ma,composeStepRunners:()=>mc,composeStories:()=>Km,composeStory:()=>gc,createPlaywrightTest:()=>Jm,decorateStory:()=>lc,defaultDecorateStory:()=>cc,filterArgTypes:()=>Vm,inferControls:()=>hc,makeDecorator:()=>nT,mockChannel:()=>ec,normalizeStory:()=>Cs,prepareMeta:()=>dc,prepareStory:()=>As,sanitizeStoryContextUpdate:()=>uc,setDefaultProjectAnnotations:()=>Gm,setProjectAnnotations:()=>Ym,simulateDOMContentLoaded:()=>ws,simulatePageLoad:()=>bg,sortStoriesV7:()=>gx,useArgs:()=>Pm,useCallback:()=>fa,useChannel:()=>Tm,useEffect:()=>ic,useGlobals:()=>Om,useMemo:()=>wm,useParameter:()=>xm,useReducer:()=>Rm,useRef:()=>Sm,useState:()=>Am,useStoryContext:()=>fi,userOrAutoTitle:()=>px,userOrAutoTitleFromSpecifier:()=>eg});yg.exports=UR(ym);var Ou=gt(Fr(),1),ZR=Dh();function ec(){let e={setHandler:O(()=>{},"setHandler"),send:O(()=>{},"send")};return new ZR.Channel({transport:e})}O(ec,"mockChannel");var Xo,eT=(Xo=class{constructor(){this.getChannel=O(()=>{if(!this.channel){let t=ec();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(Xo,"AddonStore"),Xo),Nu="__STORYBOOK_ADDONS_PREVIEW";function vm(){return Ou.global[Nu]||(Ou.global[Nu]=new eT),Ou.global[Nu]}O(vm,"getAddonsStore");var wn=vm(),hs=gt(Fr(),1),li=Bt(),pa=jr(),Qo,tc=(Qo=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=>{var r;t===((r=this.currentContext)==null?void 0:r.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),wn.getChannel().on(pa.STORY_RENDERED,this.renderListener)}removeRenderListeners(){wn.getChannel().removeListener(pa.STORY_RENDERED,this.renderListener)}},O(Qo,"HooksContext"),Qo);function Lu(e){let t=O((...r)=>{let{hooks:nP}=typeof r[0]=="function"?r[1]:r[0],o=nP.currentPhase,i=nP.currentHooks,s=nP.nextHookIndex,l=nP.currentDecoratorName;nP.currentDecoratorName=e.name,nP.prevMountedDecorators.has(e)?(nP.currentPhase="UPDATE",nP.currentHooks=nP.hookListsMap.get(e)||[]):(nP.currentPhase="MOUNT",nP.currentHooks=[],nP.hookListsMap.set(e,nP.currentHooks),nP.prevMountedDecorators.add(e)),nP.nextHookIndex=0;let u=hs.global.STORYBOOK_HOOKS_CONTEXT;hs.global.STORYBOOK_HOOKS_CONTEXT=nP;let d=e(...r);if(hs.global.STORYBOOK_HOOKS_CONTEXT=u,nP.currentPhase==="UPDATE"&&nP.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return nP.currentPhase=o,nP.currentHooks=i,nP.nextHookIndex=s,nP.currentDecoratorName=l,d},"hookified");return t.originalFn=e,t}O(Lu,"hookify");var Mu=0,tT=25,Em=O(e=>(t,r)=>{let nP=e(Lu(t),r.map(o=>Lu(o)));return o=>{var l;let{hooks:i}=o;(l=i.prevMountedDecorators)!=null||(i.prevMountedDecorators=new Set),i.mountedDecorators=new Set([t,...r]),i.currentContext=o,i.hasUpdates=!1;let s=nP(o);for(Mu=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],s=nP(o),Mu+=1,Mu>tT)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),s}},"applyHooks"),rT=O((e,t)=>e.length===t.length&&e.every((r,nP)=>r===t[nP]),"areDepsEqual"),rc=O(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function nc(){return hs.global.STORYBOOK_HOOKS_CONTEXT||null}O(nc,"getHooksContextOrNull");function Ss(){let e=nc();if(e==null)throw rc();return e}O(Ss,"getHooksContextOrThrow");function _m(e,t,r){let nP=Ss();if(nP.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&li.logger.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 nP.currentHooks.push(o),t(o),o}if(nP.currentPhase==="UPDATE"){let o=nP.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&li.logger.warn(`Storybook has detected a change in the order of Hooks${nP.currentDecoratorName?` called by ${nP.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&li.logger.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&&li.logger.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
144
144
|
Previous: ${o.deps}
|
|
145
|
-
Incoming: ${r}`),(r==null||o.deps==null||!rT(r,o.deps))&&(t(o),o.deps=r),o}throw
|
|
146
|
-
instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator"),Wh=Bt(),Yh=yn();function Nm(e,t){let r={},nP=Object.entries(e);for(let o=0;o<nP.length;o++){let[i,s]=nP[o];t(s,i)||(r[i]=s)}return r}O(Nm,"omitBy");function Mm(e,t){let r={};for(let nP=0;nP<t.length;nP++){let o=t[nP];Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r}O(Mm,"pick");function Im(e,t){let r={},nP=Object.entries(e);for(let o=0;o<nP.length;o++){let[i,s]=nP[o];t(s,i)&&(r[i]=s)}return r}O(Im,"pickBy");function Ar(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(Ar,"isPlainObject");function Yn(e,t){let r={},nP=Object.keys(e);for(let o=0;o<nP.length;o++){let i=nP[o],s=e[i];r[i]=t(s,i,e)}return r}O(Yn,"mapValues");var oT="[object RegExp]",aT="[object String]",iT="[object Number]",sT="[object Boolean]",Kh="[object Arguments]",lT="[object Symbol]",uT="[object Date]",cT="[object Map]",dT="[object Set]",pT="[object Array]",fT="[object Function]",hT="[object ArrayBuffer]",
|
|
145
|
+
Incoming: ${r}`),(r==null||o.deps==null||!rT(r,o.deps))&&(t(o),o.deps=r),o}throw rc()}O(_m,"useHook");function pi(e,t,r){let{memoizedState:nP}=_m(e,o=>{o.memoizedState=t()},r);return nP}O(pi,"useMemoLike");function wm(e,t){return pi("useMemo",e,t)}O(wm,"useMemo");function fa(e,t){return pi("useCallback",()=>e,t)}O(fa,"useCallback");function oc(e,t){return pi(e,()=>({current:t}),[])}O(oc,"useRefLike");function Sm(e){return oc("useRef",e)}O(Sm,"useRef");function Cm(){let e=nc();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{wn.getChannel().emit(pa.FORCE_RE_RENDER)}catch{li.logger.warn("State updates of Storybook preview hooks work only in browser")}}O(Cm,"triggerUpdate");function ac(e,t){let r=oc(e,typeof t=="function"?t():t),nP=O(o=>{r.current=typeof o=="function"?o(r.current):o,Cm()},"setState");return[r.current,nP]}O(ac,"useStateLike");function Am(e){return ac("useState",e)}O(Am,"useState");function Rm(e,t,r){let nP=r!=null?()=>r(t):t,[o,i]=ac("useReducer",nP);return[o,O(s=>i(l=>e(l,s)),"dispatch")]}O(Rm,"useReducer");function ic(e,t){let r=Ss(),nP=pi("useEffect",()=>({create:e}),t);r.currentEffects.includes(nP)||r.currentEffects.push(nP)}O(ic,"useEffect");function Tm(e,t=[]){let r=wn.getChannel();return ic(()=>(Object.entries(e).forEach(([nP,o])=>r.on(nP,o)),()=>{Object.entries(e).forEach(([nP,o])=>r.removeListener(nP,o))}),[...Object.keys(e),...t]),fa(r.emit.bind(r),[r])}O(Tm,"useChannel");function fi(){let{currentContext:e}=Ss();if(e==null)throw rc();return e}O(fi,"useStoryContext");function xm(e,t){var nP;let{parameters:r}=fi();if(e)return(nP=r[e])!=null?nP:t}O(xm,"useParameter");function Pm(){let e=wn.getChannel(),{id:t,args:r}=fi(),nP=fa(i=>e.emit(pa.UPDATE_STORY_ARGS,{storyId:t,updatedArgs:i}),[e,t]),o=fa(i=>e.emit(pa.RESET_STORY_ARGS,{storyId:t,argNames:i}),[e,t]);return[r,nP,o]}O(Pm,"useArgs");function Om(){let e=wn.getChannel(),{globals:t}=fi(),r=fa(nP=>e.emit(pa.UPDATE_GLOBALS,{globals:nP}),[e]);return[t,r]}O(Om,"useGlobals");var nT=O(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:nP=!1})=>{let o=O(i=>(s,l)=>{let u=l.parameters&&l.parameters[t];return u&&u.disable||nP&&!i&&!u?s(l):r(s,l,{options:i,parameters:u})},"decorator");return(...i)=>typeof i[0]=="function"?o()(...i):(...s)=>{if(s.length>1)return i.length>1?o(i)(...s):o(...i)(...s);throw new Error(`Passing stories directly into ${e}() is not allowed,
|
|
146
|
+
instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator"),Wh=Bt(),Yh=yn();function Nm(e,t){let r={},nP=Object.entries(e);for(let o=0;o<nP.length;o++){let[i,s]=nP[o];t(s,i)||(r[i]=s)}return r}O(Nm,"omitBy");function Mm(e,t){let r={};for(let nP=0;nP<t.length;nP++){let o=t[nP];Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r}O(Mm,"pick");function Im(e,t){let r={},nP=Object.entries(e);for(let o=0;o<nP.length;o++){let[i,s]=nP[o];t(s,i)&&(r[i]=s)}return r}O(Im,"pickBy");function Ar(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(Ar,"isPlainObject");function Yn(e,t){let r={},nP=Object.keys(e);for(let o=0;o<nP.length;o++){let i=nP[o],s=e[i];r[i]=t(s,i,e)}return r}O(Yn,"mapValues");var oT="[object RegExp]",aT="[object String]",iT="[object Number]",sT="[object Boolean]",Kh="[object Arguments]",lT="[object Symbol]",uT="[object Date]",cT="[object Map]",dT="[object Set]",pT="[object Array]",fT="[object Function]",hT="[object ArrayBuffer]",Iu="[object Object]",mT="[object Error]",gT="[object DataView]",bT="[object Uint8Array]",yT="[object Uint8ClampedArray]",vT="[object Uint16Array]",ET="[object Uint32Array]",_T="[object BigUint64Array]",wT="[object Int8Array]",ST="[object Int16Array]",CT="[object Int32Array]",AT="[object BigInt64Array]",RT="[object Float32Array]",TT="[object Float64Array]";function $u(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}O($u,"getSymbols");function Uu(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}O(Uu,"getTag");function Dm(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 Br(e,t)}return Br(e,t)}O(Dm,"isEqual");function Br(e,t,r){if(Object.is(e,t))return!0;let nP=Uu(e),o=Uu(t);if(nP===Kh&&(nP=Iu),o===Kh&&(o=Iu),nP!==o)return!1;switch(nP){case aT:return e.toString()===t.toString();case iT:{let l=e.valueOf(),u=t.valueOf();return l===u||Number.isNaN(l)&&Number.isNaN(u)}case sT:case uT:case lT:return Object.is(e.valueOf(),t.valueOf());case oT:return e.source===t.source&&e.flags===t.flags;case fT:return e===t}r=r!=null?r:new Map;let i=r.get(e),s=r.get(t);if(i!=null&&s!=null)return i===t;r.set(e,t),r.set(t,e);try{switch(nP){case cT:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!Br(u,t.get(l),r))return!1;return!0}case dT:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),u=Array.from(t.values());for(let d=0;d<l.length;d++){let c=l[d],p=u.findIndex(h=>Br(c,h,r));if(p===-1)return!1;u.splice(p,1)}return!0}case pT:case bT:case yT:case vT:case ET:case _T:case wT:case ST:case CT:case AT:case RT:case TT:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!Br(e[l],t[l],r))return!1;return!0}case hT:return e.byteLength!==t.byteLength?!1:Br(new Uint8Array(e),new Uint8Array(t),r);case gT:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Br(e.buffer,t.buffer,r);case mT:return e.name===t.name&&e.message===t.message;case Iu:{if(!(Br(e.constructor,t.constructor,r)||Ar(e)&&Ar(t)))return!1;let l=[...Object.keys(e),...$u(e)],u=[...Object.keys(t),...$u(t)];if(l.length!==u.length)return!1;for(let d=0;d<l.length;d++){let c=l[d],p=e[c];if(!Object.prototype.hasOwnProperty.call(t,c))return!1;let h=t[c];if(!Br(p,h,r))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}O(Br,"areObjectsEqual");var Du=gt(fm(),1),qu=Bt(),Jh=gt(Lr(),1),Ko=Symbol("incompatible"),Hu=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)?Ko:e.reduce((nP,o,i)=>{let s=Hu(o,{type:r.value});return s!==Ko&&(nP[i]=s),nP},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Ko:Object.entries(e).reduce((nP,[o,i])=>{let s=Hu(i,{type:r.value[o]});return s===Ko?nP:Object.assign(nP,{[o]:s})},{});default:return Ko}},"map"),xT=O((e,t)=>Object.entries(e).reduce((r,[nP,o])=>{if(!t[nP])return r;let i=Hu(o,t[nP]);return i===Ko?r:Object.assign(r,{[nP]:i})},{}),"mapArgsToTypes"),ys=O((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,nP,o)=>(r[o]=ys(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!Ar(e)||!Ar(t)?t:Object.keys({...e,...t}).reduce((r,nP)=>{if(nP in t){let o=ys(e[nP],t[nP]);o!==void 0&&(r[nP]=o)}else r[nP]=e[nP];return r},{}),"combineArgs"),PT=O((e,t)=>Object.entries(t).reduce((r,[nP,{options:o}])=>{function i(){return nP in e&&(r[nP]=e[nP]),r}if(O(i,"allowArg"),!o)return i();if(!Array.isArray(o))return qu.once.error(Jh.dedent`
|
|
147
147
|
Invalid argType: '${nP}.options' should be an array.
|
|
148
148
|
|
|
149
149
|
More info: https://storybook.js.org/docs/api/arg-types
|
|
150
|
-
`),i();if(o.some(p=>p&&["object","function"].includes(typeof p)))return
|
|
150
|
+
`),i();if(o.some(p=>p&&["object","function"].includes(typeof p)))return qu.once.error(Jh.dedent`
|
|
151
151
|
Invalid argType: '${nP}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
152
152
|
|
|
153
153
|
More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
154
|
-
`),i();let s=Array.isArray(e[nP]),l=s&&e[nP].findIndex(p=>!o.includes(p)),u=s&&l===-1;if(e[nP]===void 0||o.includes(e[nP])||u)return i();let d=s?`${nP}[${l}]`:nP,c=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return
|
|
154
|
+
`),i();let s=Array.isArray(e[nP]),l=s&&e[nP].findIndex(p=>!o.includes(p)),u=s&&l===-1;if(e[nP]===void 0||o.includes(e[nP])||u)return i();let d=s?`${nP}[${l}]`:nP,c=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return qu.once.warn(`Received illegal value for '${d}'. Supported options: ${c}`),r},{}),"validateOptions"),ui=Symbol("Deeply equal"),vs=O((e,t)=>{if(typeof e!=typeof t)return t;if(Dm(e,t))return ui;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((nP,o,i)=>{let s=vs(e[i],o);return s!==ui&&(nP[i]=s),nP},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Ar(e)&&Ar(t)?Object.keys({...e,...t}).reduce((r,nP)=>{let o=vs(e==null?void 0:e[nP],t==null?void 0:t[nP]);return o===ui?r:Object.assign(r,{[nP]:o})},{}):t},"deepDiff"),qm="UNTARGETED";function jm({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([nP,o])=>{let{target:i=qm}=t[nP]||{};r[i]=r[i]||{},r[i][nP]=o}),r}O(jm,"groupArgsByTarget");function Bm(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}O(Bm,"deleteUndefined");var Zo,OT=(Zo=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=vs(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==ui&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let nP=PT(r,t.argTypes);this.argsByStoryId[t.id]=ys(this.argsByStoryId[t.id],nP)}updateFromPersisted(t,r){let nP=xT(r,t.argTypes);return this.updateFromDelta(t,nP)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=Bm({...this.argsByStoryId[t],...r})}},O(Zo,"ArgsStore"),Zo),NT=Bt(),km=O((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:nP}])=>(typeof nP<"u"&&(t[r]=nP),t),{}),"getValuesFromArgTypes"),ea,MT=(ea=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let nP=this.initialGlobals&&vs(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=km(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,nP&&nP!==ui&&this.updateFromPersisted(nP)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[nP,o])=>(this.allowedGlobalNames.has(nP)?r[nP]=o:NT.logger.warn(`Attempted to set a global (${nP}) 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(ea,"GlobalsStore"),ea),IT=yn(),DT=gt(fm(),1),qT=(0,DT.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),ta,jT=(ta=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(i=>i.id.startsWith(t));let{name:nP,title:o}=t;return r.find(i=>i.name===nP&&i.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new IT.MissingStoryAfterHmrError({storyId:t});return r}importPathToEntry(t){return qT(this.entries)[t]}},O(ta,"StoryIndexStore"),ta),BT=O(e=>typeof e=="string"?{name:e}:e,"normalizeType"),kT=O(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),FT=O((e,t)=>{let{type:r,control:nP,...o}=e,i={name:t,...o};return r&&(i.type=BT(r)),nP?i.control=kT(nP):nP===!1&&(i.control={disable:!0}),i},"normalizeInputType"),Es=O(e=>Yn(e,FT),"normalizeInputTypes"),Xh=Wo(),Qh=Bt(),LT=gt(Lr(),1),jt=O(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),$T=LT.dedent`
|
|
155
155
|
CSF .story annotations deprecated; annotate story functions directly:
|
|
156
156
|
- StoryFn.story.name => StoryFn.storyName
|
|
157
157
|
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
158
158
|
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
159
|
-
`;function
|
|
159
|
+
`;function Cs(e,t,r){let nP=t,o=typeof t=="function"?t:null,{story:i}=nP;i&&(Qh.logger.debug("deprecated story",i),(0,Qh.deprecate)($T));let s=(0,Xh.storyNameFromExport)(e),l=typeof nP!="function"&&nP.name||nP.storyName||(i==null?void 0:i.name)||s,u=[...jt(nP.decorators),...jt(i==null?void 0:i.decorators)],d={...i==null?void 0:i.parameters,...nP.parameters},c={...i==null?void 0:i.args,...nP.args},p={...i==null?void 0:i.argTypes,...nP.argTypes},h=[...jt(nP.loaders),...jt(i==null?void 0:i.loaders)],m=[...jt(nP.beforeEach),...jt(i==null?void 0:i.beforeEach)],{render:g,play:b,tags:y=[],globals:E={}}=nP,_=d.__id||(0,Xh.toId)(r.id,s);return{moduleExport:t,id:_,name:l,tags:y,decorators:u,parameters:d,args:c,argTypes:Es(p),loaders:h,beforeEach:m,globals:E,...g&&{render:g},...o&&{userStoryFn:o},...b&&{play:b}}}O(Cs,"normalizeStory");var UT=Wo(),Fm=Bt(),HT=Wo();function sc(e,t=e.title,r){let{id:nP,argTypes:o}=e;return{id:(0,HT.sanitize)(nP||t),...e,title:t,...o&&{argTypes:Es(o)},parameters:{fileName:r,...e.parameters}}}O(sc,"normalizeComponentAnnotations");var zT=O(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&Fm.logger.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),VT=O(e=>{let{options:t}=e;t!=null&&t.storySort&&Fm.logger.error("The storySort option parameter can only be set globally")},"checkStorySort"),Zh=O(e=>{e&&(zT(e),VT(e))},"checkDisallowedParameters");function Lm(e,t,r){let{default:nP,__namedExportsOrder:o,...i}=e,s=sc(nP,r,t);Zh(s.parameters);let l={meta:s,stories:{},moduleExports:e};return Object.keys(i).forEach(u=>{if((0,UT.isExportStory)(u,s)){let d=Cs(u,i[u],s);Zh(d.parameters),l.stories[d.id]=d}}),l}O(Lm,"processCSFFile");var $m=Wo(),ms=gt(Fr(),1),GT=gt(Fr(),1),WT=yn();function Um(e){return e!=null&&Hm(e).includes("mount")}O(Um,"mountDestructured");function Hm(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=zu(t[1]);if(!r.length)return[];let nP=r[0];return nP.startsWith("{")&&nP.endsWith("}")?zu(nP.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}O(Hm,"getUsedProps");function zu(e){let t=[],r=[],nP=0;for(let i=0;i<e.length;i++)if(e[i]==="{"||e[i]==="[")r.push(e[i]==="{"?"}":"]");else if(e[i]===r[r.length-1])r.pop();else if(!r.length&&e[i]===","){let s=e.substring(nP,i).trim();s&&t.push(s),nP=i+1}let o=e.substring(nP).trim();return o&&t.push(o),t}O(zu,"splitByComma");function lc(e,t,r){let nP=r(e);return o=>t(nP,o)}O(lc,"decorateStory");function uc({componentId:e,title:t,kind:r,id:nP,name:o,story:i,parameters:s,initialArgs:l,argTypes:u,...d}={}){return d}O(uc,"sanitizeStoryContextUpdate");function cc(e,t){let r={},nP=O(i=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...uc(s)},i(r.value)},"bindWithContext"),o=t.reduce((i,s)=>lc(i,s,nP),e);return i=>(r.value=i,o(i))}O(cc,"defaultDecorateStory");var Sn=O((...e)=>{let t={},r=e.filter(Boolean),nP=r.reduce((o,i)=>(Object.entries(i).forEach(([s,l])=>{let u=o[s];Array.isArray(l)||typeof u>"u"?o[s]=l:Ar(l)&&Ar(u)?t[s]=!0:typeof l<"u"&&(o[s]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(s=>s[o]).filter(s=>typeof s<"u");i.every(s=>Ar(s))?nP[o]=Sn(...i):nP[o]=i[i.length-1]}),nP},"combineParameters");function As(e,t,r){var w,S,T,A;let{moduleExport:nP,id:o,name:i}=e||{},s=pc(e,t,r),l=O(async N=>{let U={};for(let X of[..."__STORYBOOK_TEST_LOADERS__"in ms.global&&Array.isArray(ms.global.__STORYBOOK_TEST_LOADERS__)?[ms.global.__STORYBOOK_TEST_LOADERS__]:[],jt(r.loaders),jt(t.loaders),jt(e.loaders)]){if(N.abortSignal.aborted)return U;let V=await Promise.all(X.map(J=>J(N)));Object.assign(U,...V)}return U},"applyLoaders"),u=O(async N=>{let U=new Array;for(let X of[...jt(r.beforeEach),...jt(t.beforeEach),...jt(e.beforeEach)]){if(N.abortSignal.aborted)return U;let V=await X(N);V&&U.push(V)}return U},"applyBeforeEach"),d=O(N=>N.originalStoryFn(N.args,N),"undecoratedStoryFn"),{applyDecorators:c=cc,runStep:p}=r,h=[...jt(e==null?void 0:e.decorators),...jt(t==null?void 0:t.decorators),...jt(r==null?void 0:r.decorators)],m=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,g=Em(c)(d,h),b=O(N=>g(N),"unboundStoryFn"),y=(w=e==null?void 0:e.play)!=null?w:t==null?void 0:t.play,E=Um(y);if(!m&&!E)throw new WT.NoRenderFunctionError({id:o});let _=O(N=>async()=>(await N.renderToCanvas(),N.canvas),"defaultMount"),P=(A=(T=(S=e.mount)!=null?S:t.mount)!=null?T:r.mount)!=null?A:_,C=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:nP,id:o,name:i,story:i,originalStoryFn:m,undecoratedStoryFn:d,unboundStoryFn:b,applyLoaders:l,applyBeforeEach:u,playFunction:y,runStep:p,mount:P,testingLibraryRender:C,renderToCanvas:r.renderToCanvas,usesMount:E}}O(As,"prepareStory");function dc(e,t,r){return{...pc(void 0,e,t),moduleExport:r}}O(dc,"prepareMeta");function pc(e,t,r){var E,_,P,C;let nP=["dev","test"],o=((E=GT.global.DOCS_OPTIONS)==null?void 0:E.autodocs)===!0?["autodocs"]:[],i=(0,$m.combineTags)(...nP,...o,...(_=r.tags)!=null?_:[],...(P=t.tags)!=null?P:[],...(C=e==null?void 0:e.tags)!=null?C:[]),s=Sn(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,d=Sn(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let w=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;s.__isArgsStory=w&&w.length>0}let c={...r.args,...t.args,...e==null?void 0:e.args},p={...t.globals,...e==null?void 0:e.globals},h={componentId:t.id,title:t.title,kind:t.title,id:(e==null?void 0:e.id)||t.id,name:(e==null?void 0:e.name)||"__meta",story:(e==null?void 0:e.name)||"__meta",component:t.component,subcomponents:t.subcomponents,tags:i,parameters:s,initialArgs:c,argTypes:d,storyGlobals:p};h.argTypes=l.reduce((w,S)=>S({...h,argTypes:w}),h.argTypes);let m={...c};h.initialArgs=u.reduce((w,S)=>({...w,...S({...h,initialArgs:w})}),m);let{name:g,story:b,...y}=h;return y}O(pc,"preparePartialAnnotations");function fc(e){var i;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((i=ms.global.FEATURES)!=null&&i.argTypeTargetsV7){let s=jm(e);r={...e,allArgs:e.args,argsByTarget:s,args:s[qm]||{}}}let nP=Object.entries(r.args).reduce((s,[l,u])=>{var c;if(!((c=r.argTypes[l])!=null&&c.mapping))return s[l]=u,s;let d=O(p=>{let h=r.argTypes[l].mapping;return h&&p in h?h[p]:p},"mappingFn");return s[l]=Array.isArray(u)?u.map(d):d(u),s},{}),o=Object.entries(nP).reduce((s,[l,u])=>{let d=r.argTypes[l]||{};return(0,$m.includeConditionalArg)(d,nP,r.globals)&&(s[l]=u),s},{});return{...r,unmappedArgs:t,args:o}}O(fc,"prepareContext");var YT=Bt(),KT=gt(Lr(),1),JT=Bt(),XT=gt(Lr(),1),Vu=O((e,t,r)=>{let nP=typeof e;switch(nP){case"boolean":case"string":case"number":case"function":case"symbol":return{name:nP};default:break}return e?r.has(e)?(JT.logger.warn(XT.dedent`
|
|
160
160
|
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
161
161
|
|
|
162
162
|
Consider using the mapping feature or fully custom args:
|
|
163
163
|
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
164
164
|
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
165
|
-
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?
|
|
165
|
+
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Vu(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Yn(e,o=>Vu(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),zm=O(e=>{let{id:t,argTypes:r={},initialArgs:nP={}}=e,o=Yn(nP,(s,l)=>({name:l,type:Vu(s,`${t}.${l}`,new Set)})),i=Yn(r,(s,l)=>({name:l}));return Sn(o,i,r)},"inferArgTypes");zm.secondPass=!0;var QT=Bt(),em=O((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),Vm=O((e,t,r)=>!t&&!r?e:e&&Im(e,(nP,o)=>{let i=nP.name||o.toString();return!!(!t||em(i,t))&&(!r||!em(i,r))}),"filterArgTypes"),ZT=O((e,t,r)=>{let{type:nP,options:o}=e;if(nP){if(r.color&&r.color.test(t)){let i=nP.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&QT.logger.warn(`Addon controls: Control of type color only supports string, received "${i}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(nP.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:i}=nP;return{control:{type:(i==null?void 0:i.length)<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),hc=O(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:nP=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let s=Vm(t,nP,o),l=Yn(s,(u,d)=>(u==null?void 0:u.type)&&ZT(u,d.toString(),i));return Sn(l,s)},"inferControls");hc.secondPass=!0;function _s({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:nP,loaders:o,beforeEach:i,globals:s,initialGlobals:l,...u}){return s&&Object.keys(s).length>0&&(0,YT.deprecate)(KT.dedent`
|
|
166
166
|
The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0.
|
|
167
167
|
Please use 'initialGlobals' instead. Learn more:
|
|
168
168
|
|
|
169
169
|
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals
|
|
170
|
-
`),{...e&&{argTypes:
|
|
171
|
-
${T.description}`)},"showError"),showException:O(T=>{throw T},"showException"),forceRemount:!0,storyContext:C,storyFn:O(()=>d.unboundStoryFn(C),"storyFn"),unboundStoryFn:d.unboundStoryFn},C.canvasElement));w&&_n.push(w)}),C.mount=d.mount(C),C},"initializeContext"),h,m=O(async C=>{var S,T;let w=p();return(T=w.canvasElement)!=null||(w.canvasElement=(S=globalThis==null?void 0:globalThis.document)==null?void 0:S.body),h&&(w.loaded=h.loaded),Object.assign(w,C),d.playFunction(w)},"play"),g=O(C=>{let w=p();return Object.assign(w,C),Xm(d,w)},"run"),b=d.playFunction?m:void 0;return Object.assign(O(function(C){let w=p();return h&&(w.loaded=h.loaded),w.args={...w.initialArgs,...C},d.unboundStoryFn(w)},"storyFn"),{id:d.id,storyName:s,load:O(async()=>{for(let w of[..._n].reverse())await w();_n.length=0;let C=p();C.loaded=await d.applyLoaders(C),_n.push(...(await d.applyBeforeEach(C)).filter(Boolean)),h=C},"load"),globals:c,args:d.initialArgs,parameters:d.parameters,argTypes:d.argTypes,play:b,run:g,tags:d.tags})}O(
|
|
170
|
+
`),{...e&&{argTypes:Es(e)},...t&&{globalTypes:Es(t)},decorators:jt(nP),loaders:jt(o),beforeEach:jt(i),argTypesEnhancers:[...r||[],zm,hc],initialGlobals:Sn(l,s),...u}}O(_s,"normalizeProjectAnnotations");var ex=gt(Fr(),1),tx=O(e=>async()=>{let t=[];for(let r of e){let nP=await r();nP&&t.unshift(nP)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function mc(e){return async(t,r,nP)=>{await e.reduceRight((o,i)=>async()=>i(t,o,nP),async()=>r(nP))()}}O(mc,"composeStepRunners");function ha(e,t){return e.map(r=>{var nP,o;return(o=(nP=r.default)==null?void 0:nP[t])!=null?o:r[t]}).filter(Boolean)}O(ha,"getField");function En(e,t,r={}){return ha(e,t).reduce((nP,o)=>{let i=jt(o);return r.reverseFileOrder?[...i,...nP]:[...nP,...i]},[])}O(En,"getArrayField");function Jo(e,t){return Object.assign({},...ha(e,t))}O(Jo,"getObjectField");function Gn(e,t){return ha(e,t).pop()}O(Gn,"getSingletonField");function ma(e){var o,i;let t=En(e,"argTypesEnhancers"),r=ha(e,"runStep"),nP=En(e,"beforeAll");return{parameters:Sn(...ha(e,"parameters")),decorators:En(e,"decorators",{reverseFileOrder:!((i=(o=ex.global.FEATURES)==null?void 0:o.legacyDecoratorFileOrder)!=null&&i)}),args:Jo(e,"args"),argsEnhancers:En(e,"argsEnhancers"),argTypes:Jo(e,"argTypes"),argTypesEnhancers:[...t.filter(s=>!s.secondPass),...t.filter(s=>s.secondPass)],globals:Jo(e,"globals"),initialGlobals:Jo(e,"initialGlobals"),globalTypes:Jo(e,"globalTypes"),loaders:En(e,"loaders"),beforeAll:tx(nP),beforeEach:En(e,"beforeEach"),render:Gn(e,"render"),renderToCanvas:Gn(e,"renderToCanvas"),renderToDOM:Gn(e,"renderToDOM"),applyDecorators:Gn(e,"applyDecorators"),runStep:mc(r),tags:En(e,"tags"),mount:Gn(e,"mount"),testingLibraryRender:Gn(e,"testingLibraryRender")}}O(ma,"composeConfigs");var rx=Wo(),nx=yn(),ox=gt(Lr(),1);function Gm(e){globalThis.defaultProjectAnnotations=e}O(Gm,"setDefaultProjectAnnotations");var ax="ComposedStory",ix="Unnamed Story";function Wm(e){return e?ma([e]):{}}O(Wm,"extractAnnotation");function Ym(e){var r,nP;let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=ma(t.map(Wm)),ma([(r=globalThis.defaultProjectAnnotations)!=null?r:{},(nP=globalThis.globalProjectAnnotations)!=null?nP:{}])}O(Ym,"setProjectAnnotations");var _n=[];function gc(e,t,r,nP,o){var y,E,_,P;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=(y=t.title)!=null?y:ax;let i=sc(t),s=o||e.storyName||((E=e.story)==null?void 0:E.name)||e.name||ix,l=Cs(s,e,i),u=_s(ma([nP&&Object.keys(nP).length>0?nP:(_=globalThis.defaultProjectAnnotations)!=null?_:{},(P=globalThis.globalProjectAnnotations)!=null?P:{},r!=null?r:{}])),d=As(l,i,u),c={...km(u.globalTypes),...u.initialGlobals,...d.storyGlobals},p=O(()=>{let C=fc({hooks:new tc,globals:c,args:{...d.initialArgs},viewMode:"story",loaded:{},abortSignal:new AbortController().signal,step:O((w,S)=>d.runStep(w,S,C),"step"),canvasElement:null,canvas:{},globalTypes:u.globalTypes,...d,context:null,mount:null});return C.context=C,d.renderToCanvas&&(C.renderToCanvas=async()=>{var S;let w=await((S=d.renderToCanvas)==null?void 0:S.call(d,{componentId:d.componentId,title:d.title,id:d.id,name:d.name,tags:d.tags,showMain:O(()=>{},"showMain"),showError:O(T=>{throw new Error(`${T.title}
|
|
171
|
+
${T.description}`)},"showError"),showException:O(T=>{throw T},"showException"),forceRemount:!0,storyContext:C,storyFn:O(()=>d.unboundStoryFn(C),"storyFn"),unboundStoryFn:d.unboundStoryFn},C.canvasElement));w&&_n.push(w)}),C.mount=d.mount(C),C},"initializeContext"),h,m=O(async C=>{var S,T;let w=p();return(T=w.canvasElement)!=null||(w.canvasElement=(S=globalThis==null?void 0:globalThis.document)==null?void 0:S.body),h&&(w.loaded=h.loaded),Object.assign(w,C),d.playFunction(w)},"play"),g=O(C=>{let w=p();return Object.assign(w,C),Xm(d,w)},"run"),b=d.playFunction?m:void 0;return Object.assign(O(function(C){let w=p();return h&&(w.loaded=h.loaded),w.args={...w.initialArgs,...C},d.unboundStoryFn(w)},"storyFn"),{id:d.id,storyName:s,load:O(async()=>{for(let w of[..._n].reverse())await w();_n.length=0;let C=p();C.loaded=await d.applyLoaders(C),_n.push(...(await d.applyBeforeEach(C)).filter(Boolean)),h=C},"load"),globals:c,args:d.initialArgs,parameters:d.parameters,argTypes:d.argTypes,play:b,run:g,tags:d.tags})}O(gc,"composeStory");var sx=O((e,t,r,nP)=>gc(e,t,r,{},nP),"defaultComposeStory");function Km(e,t,r=sx){let{default:nP,__esModule:o,__namedExportsOrder:i,...s}=e;return Object.entries(s).reduce((l,[u,d])=>(0,rx.isExportStory)(u,nP)?Object.assign(l,{[u]:r(d,nP,t,u)}):l,{})}O(Km,"composeStories");function Jm(e){return e.extend({mount:O(async({mount:t,page:r},nP)=>{await nP(async(o,...i)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(ox.dedent`
|
|
172
172
|
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
173
173
|
Please use JSX format for your components such as:
|
|
174
174
|
|
|
@@ -179,11 +179,11 @@ ${T.description}`)},"showError"),showException:O(T=>{throw T},"showException"),f
|
|
|
179
179
|
await mount(<MyComponent foo="bar"/>)
|
|
180
180
|
|
|
181
181
|
More info: https://storybook.js.org/docs/api/portable-stories-playwright
|
|
182
|
-
`);await r.evaluate(async l=>{var d,c,p;let u=await((d=globalThis.__pwUnwrapObject)==null?void 0:d.call(globalThis,l));return(p=(c="__pw_type"in u?u.type:u)==null?void 0:c.load)==null?void 0:p.call(c)},o);let s=await t(o,...i);return await r.evaluate(async l=>{var p,h;let u=await((p=globalThis.__pwUnwrapObject)==null?void 0:p.call(globalThis,l)),d="__pw_type"in u?u.type:u,c=document.querySelector("#root");return(h=d==null?void 0:d.play)==null?void 0:h.call(d,{canvasElement:c})},o),s})},"mount")})}O(Jm,"createPlaywrightTest");async function Xm(e,t){var o,i;for(let s of[..._n].reverse())await s();if(_n.length=0,!t.canvasElement){let s=document.createElement("div");(i=(o=globalThis==null?void 0:globalThis.document)==null?void 0:o.body)==null||i.appendChild(s),t.canvasElement=s,_n.push(()=>{var l,u,d,c;(u=(l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body)!=null&&u.contains(s)&&((c=(d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body)==null||c.removeChild(s))})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;_n.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,nP=e.usesMount;nP||await t.mount(),!t.abortSignal.aborted&&r&&(nP||(t.mount=async()=>{throw new nx.MountMustBeDestructuredError({playFunction:r.toString()})}),await r(t))}O(Xm,"runStory");function
|
|
182
|
+
`);await r.evaluate(async l=>{var d,c,p;let u=await((d=globalThis.__pwUnwrapObject)==null?void 0:d.call(globalThis,l));return(p=(c="__pw_type"in u?u.type:u)==null?void 0:c.load)==null?void 0:p.call(c)},o);let s=await t(o,...i);return await r.evaluate(async l=>{var p,h;let u=await((p=globalThis.__pwUnwrapObject)==null?void 0:p.call(globalThis,l)),d="__pw_type"in u?u.type:u,c=document.querySelector("#root");return(h=d==null?void 0:d.play)==null?void 0:h.call(d,{canvasElement:c})},o),s})},"mount")})}O(Jm,"createPlaywrightTest");async function Xm(e,t){var o,i;for(let s of[..._n].reverse())await s();if(_n.length=0,!t.canvasElement){let s=document.createElement("div");(i=(o=globalThis==null?void 0:globalThis.document)==null?void 0:o.body)==null||i.appendChild(s),t.canvasElement=s,_n.push(()=>{var l,u,d,c;(u=(l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body)!=null&&u.contains(s)&&((c=(d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body)==null||c.removeChild(s))})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;_n.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,nP=e.usesMount;nP||await t.mount(),!t.abortSignal.aborted&&r&&(nP||(t.mount=async()=>{throw new nx.MountMustBeDestructuredError({playFunction:r.toString()})}),await r(t))}O(Xm,"runStory");function Gu(e,t){return Nm(Mm(e,t),r=>r===void 0)}O(Gu,"picky");var tm=1e3,lx=1e4,ra,Qm=(ra=class{constructor(t,r,nP){this.importFn=r,this.getStoriesJsonData=O(()=>{let s=this.getSetStoriesPayload(),l=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Yn(s.stories,u=>{let{importPath:d}=this.storyIndex.entries[u.id];return{...Gu(u,["id","name","title"]),importPath:d,kind:u.title,story:u.name,parameters:{...Gu(u.parameters,l),fileName:d}}})}},"getStoriesJsonData"),this.storyIndex=new jT(t),this.projectAnnotations=_s(nP);let{initialGlobals:o,globalTypes:i}=this.projectAnnotations;this.args=new OT,this.userGlobals=new MT({globals:o,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Du.default)(tm)(Lm),this.prepareMetaWithCache=(0,Du.default)(tm)(dc),this.prepareStoryWithCache=(0,Du.default)(lx)(As)}setProjectAnnotations(t){this.projectAnnotations=_s(t);let{initialGlobals:r,globalTypes:nP}=t;this.userGlobals.set({globals:r,globalTypes:nP})}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:nP}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,nP)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:nP}])=>{t[nP]=r}),(await Promise.all(Object.entries(t).map(async([r,nP])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(nP)})))).reduce((r,{importPath:nP,csfFile:o})=>(r[nP]=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 nP=r.stories[t];if(!nP)throw new Yh.MissingStoryFromCsfFileError({storyId:t});let o=r.meta,i=this.prepareStoryWithCache(nP,o,this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new tc,i}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),nP=r.type==="docs"?r.storiesImports:[],[o,...i]=await Promise.all([this.importFn(r.importPath),...nP.map(s=>{let l=this.storyIndex.importPathToEntry(s);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:o,csfFiles:i}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let nP=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals;return fc({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:nP,globals:{...nP,...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 nP of[...r].reverse())await nP();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new Yh.CalledExtractOnStoreError;return Object.entries(this.storyIndex.entries).reduce((nP,[o,{type:i,importPath:s}])=>{if(i==="docs")return nP;let l=r[s],u=this.storyFromCSFFile({storyId:o,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(nP[o]=Object.entries(u).reduce((d,[c,p])=>c==="moduleExport"||typeof p=="function"?d:Array.isArray(p)?Object.assign(d,{[c]:p.slice().sort()}):Object.assign(d,{[c]:p}),{args:u.initialArgs})),nP},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((nP,{title:o})=>(nP[o]={},nP),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return(0,Wh.deprecate)("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((0,Wh.deprecate)("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 nP=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:nP});return{...o,storyFn:O(i=>{let s={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:O((l,u)=>o.runStep(l,u,s),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...s,...i})},"storyFn")}}},O(ra,"StoryStore"),ra),ux=Bt();function Zm(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}O(Zm,"slash");var cx=gt(Lr(),1),dx=O(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t==null?void 0:t.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let nP=e[e.length-2];return r&&nP&&r.toLowerCase()===nP.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function Wu(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}O(Wu,"pathJoin");var eg=O((e,t,r)=>{let{directory:nP,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&ux.once.warn(cx.dedent`
|
|
183
183
|
CSF Auto-title received a numeric fileName. This typically happens when
|
|
184
184
|
webpack is mis-configured in production mode. To force webpack to produce
|
|
185
185
|
filenames, set optimization.moduleIds = "named" in your webpack config.
|
|
186
|
-
`);let s=Zm(String(e));if(o.exec(s)){if(!r){let l=s.replace(nP,""),u=
|
|
186
|
+
`);let s=Zm(String(e));if(o.exec(s)){if(!r){let l=s.replace(nP,""),u=Wu([i,l]).split("/");return u=dx(u),u.join("/")}return i?Wu([i,r]):r}},"userOrAutoTitleFromSpecifier"),px=O((e,t,r)=>{for(let nP=0;nP<t.length;nP+=1){let o=eg(e,t[nP],r);if(o)return o}return r||void 0},"userOrAutoTitle"),fx=gt(Lr(),1),rm=/\s*\/\s*/,hx=O((e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let nP=e.method||"configure",o=e.order||[],i=t.title.trim().split(rm),s=r.title.trim().split(rm);e.includeNames&&(i.push(t.name),s.push(r.name));let l=0;for(;i[l]||s[l];){if(!i[l])return-1;if(!s[l])return 1;let u=i[l],d=s[l];if(u!==d){let p=o.indexOf(u),h=o.indexOf(d),m=o.indexOf("*");return p!==-1||h!==-1?(p===-1&&(m!==-1?p=m:p=o.length),h===-1&&(m!==-1?h=m:h=o.length),p-h):nP==="configure"?0:u.localeCompare(d,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let c=o.indexOf(u);c===-1&&(c=o.indexOf("*")),o=c!==-1&&Array.isArray(o[c+1])?o[c+1]:[],l+=1}return 0},"storySort"),mx=O((e,t,r)=>{if(t){let nP;typeof t=="function"?nP=t:nP=hx(t),e.sort(nP)}else e.sort((nP,o)=>r.indexOf(nP.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),gx=O((e,t,r)=>{try{return mx(e,t,r)}catch(nP){throw new Error(fx.dedent`
|
|
187
187
|
Error sorting stories with sort parameter ${t}:
|
|
188
188
|
|
|
189
189
|
> ${nP.message}
|
|
@@ -191,30 +191,30 @@ ${T.description}`)},"showError"),showException:O(T=>{throw T},"showException"),f
|
|
|
191
191
|
Are you using a V6-style sort function in V7 mode?
|
|
192
192
|
|
|
193
193
|
More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
|
|
194
|
-
`)}},"sortStoriesV7"),bx=gt(Fr(),1),Bu=Bt(),nr=jr(),gr=yn(),si=jr(),nm=yn(),Ts=new Error("prepareAborted"),{AbortController:om}=globalThis;function Ku(e){try{let{name:t="Error",message:r=String(e),stack:nP}=e;return{name:t,message:r,stack:nP}}catch{return{name:"Error",message:String(e)}}}O(Ku,"serializeError");var na,Ju=(na=class{constructor(t,r,nP,o,i,s,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=nP,this.callbacks=o,this.id=i,this.viewMode=s,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=O(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new om,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,nP){this.phase=r,this.channel.emit(si.STORY_RENDER_PHASE_CHANGED,{newPhase:this.phase,storyId:this.id}),nP&&(await nP(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(si.STORY_RENDER_PHASE_CHANGED,{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),Ts}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"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){var _,P,C,w;let{canvasElement:nP}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!nP)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:s,title:l,name:u,tags:d,applyLoaders:c,applyBeforeEach:p,unboundStoryFn:h,playFunction:m,runStep:g}=o;r&&!t&&(this.cancelRender(),this.abortController=new om);let b=this.abortController.signal,y=!1,E=o.usesMount;try{let S={...this.storyContext(),viewMode:this.viewMode,abortSignal:b,canvasElement:nP,loaded:{},step:O((V,J)=>g(V,J,S),"step"),context:null,canvas:{},renderToCanvas:O(async()=>{let V=await this.renderToScreen(T,nP);this.teardownRender=V||(()=>{}),y=!0},"renderToCanvas"),mount:O(async(...V)=>{var x,B;(B=(x=this.callbacks).showStoryDuringRender)==null||B.call(x);let J=null;return await this.runPhase(b,"rendering",async()=>{J=await o.mount(S)(...V)}),E&&await this.runPhase(b,"playing"),J},"mount")};S.context=S;let T={componentId:s,title:l,kind:l,id:i,name:u,story:u,tags:d,...this.callbacks,showError:O(V=>(this.phase="errored",this.callbacks.showError(V)),"showError"),showException:O(V=>(this.phase="errored",this.callbacks.showException(V)),"showException"),forceRemount:r||this.notYetRendered,storyContext:S,storyFn:O(()=>h(S),"storyFn"),unboundStoryFn:h};if(await this.runPhase(b,"loading",async()=>{S.loaded=await c(S)}),b.aborted)return;let A=await p(S);if(this.store.addCleanupCallbacks(o,A),this.checkIfAborted(b)||(!y&&!E&&await S.mount(),this.notYetRendered=!1,b.aborted))return;let N=((P=(_=this.story.parameters)==null?void 0:_.test)==null?void 0:P.dangerouslyIgnoreUnhandledErrors)===!0,U=new Set,X=O(V=>U.add("error"in V?V.error:V.reason),"onError");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){window.addEventListener("error",X),window.addEventListener("unhandledrejection",X),this.disableKeyListeners=!0;try{if(E?await m(S):(S.mount=async()=>{throw new nm.MountMustBeDestructuredError({playFunction:m.toString()})},await this.runPhase(b,"playing",async()=>m(S))),!y)throw new nm.NoStoryMountedError;this.checkIfAborted(b),!N&&U.size>0?await this.runPhase(b,"errored"):await this.runPhase(b,"played")}catch(V){if((w=(C=this.callbacks).showStoryDuringRender)==null||w.call(C),await this.runPhase(b,"errored",async()=>{this.channel.emit(si.PLAY_FUNCTION_THREW_EXCEPTION,Ku(V))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw V;console.error(V)}if(!N&&U.size>0&&this.channel.emit(si.UNHANDLED_ERRORS_WHILE_PLAYING,Array.from(U).map(Ku)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",X),window.removeEventListener("error",X),b.aborted)return}await this.runPhase(b,"completed",async()=>this.channel.emit(si.STORY_RENDERED,i))}catch(S){this.phase="errored",this.callbacks.showException(S)}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){var t;(t=this.abortController)==null||t.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}},O(na,"StoryRender"),na),{fetch:yx}=bx.global,vx="./index.json",oa,tg=(oa=class{constructor(t,r,nP=wn.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=nP,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,s)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=s}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:O((t,r)=>{if(this.storyStoreValue)return(0,Bu.deprecate)("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new gr.StoryStoreAccessedBeforeInitializationError},"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(nr.STORY_INDEX_INVALIDATED,this.onStoryIndexChanged.bind(this)),this.channel.on(nr.UPDATE_GLOBALS,this.onUpdateGlobals.bind(this)),this.channel.on(nr.UPDATE_STORY_ARGS,this.onUpdateArgs.bind(this)),this.channel.on(nr.ARGTYPES_INFO_REQUEST,this.onRequestArgTypesInfo.bind(this)),this.channel.on(nr.RESET_STORY_ARGS,this.onResetArgs.bind(this)),this.channel.on(nr.FORCE_RE_RENDER,this.onForceReRender.bind(this)),this.channel.on(nr.FORCE_REMOUNT,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new gr.MissingRenderToCanvasError;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){var r,nP;try{await((r=this.beforeAllCleanup)==null?void 0:r.call(this)),this.beforeAllCleanup=await((nP=t.beforeAll)==null?void 0:nP.call(t))}catch(o){throw this.renderPreviewEntryError("Error in beforeAll hook:",o),o}}async getStoryIndexFromServer(){let t=await yx(vx);if(t.status===200)return t.json();throw new gr.StoryIndexFetchError({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new Qm(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(nr.SET_GLOBALS,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 gr.CalledPreviewMethodBeforeInitializationError({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 gr.CalledPreviewMethodBeforeInitializationError({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:nP,storyGlobals:o,userGlobals:i,globals:s}=this.storyStoreValue.getStoryContext(r);this.channel.emit(nr.GLOBALS_UPDATED,{initialGlobals:nP,userGlobals:i,storyGlobals:o,globals:s})}else{let{initialGlobals:nP,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(nr.GLOBALS_UPDATED,{initialGlobals:nP,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(nP=>nP.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(nP=>nP.id===t&&!nP.renderOptions.forceInitialArgs).map(nP=>nP.story&&nP.story.usesMount?nP.remount():nP.rerender())),this.channel.emit(nr.STORY_ARGS_UPDATED,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){var nP;try{await this.storeInitializationPromise;let o=await((nP=this.storyStoreValue)==null?void 0:nP.loadStory(r));this.channel.emit(nr.ARGTYPES_INFO_RESPONSE,{id:t,success:!0,payload:{argTypes:(o==null?void 0:o.argTypes)||{}},error:null})}catch(o){this.channel.emit(nr.ARGTYPES_INFO_RESPONSE,{id:t,success:!1,error:o==null?void 0:o.message})}}async onResetArgs({storyId:t,argNames:r}){var i;if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"onResetArgs"});let nP=((i=this.storyRenders.find(s=>s.id===t))==null?void 0:i.story)||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(nP.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((s,l)=>(s[l]=nP.initialArgs[l],s),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,nP,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"renderStoryToElement"});let i=new Ju(this.channel,this.storyStoreValue,this.renderToCanvas,nP,t.id,"docs",o,t);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(t,{viewModeChanged:r}={}){var nP;this.storyRenders=this.storyRenders.filter(o=>o!==t),await((nP=t==null?void 0:t.teardown)==null?void 0:nP.call(t,{viewModeChanged:r}))}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,Bu.logger.error(t),Bu.logger.error(r),this.channel.emit(nr.CONFIG_ERROR,r)}},O(oa,"Preview"),oa),Ex=gt(Fr(),1),hs=Bt(),qt=jr(),Yo=yn(),_x=process.env.NODE_ENV==="production",ku="Invariant failed";function bs(e,t){if(!e){if(_x)throw new Error(ku);var r=typeof t=="function"?t():t,nP=r?"".concat(ku,": ").concat(r):ku;throw new Error(nP)}}O(bs,"invariant");var wx=jr(),Sx=gt(Lr(),1),aa,yc=(aa=class{constructor(t,r,nP,o){this.channel=t,this.store=r,this.renderStoryToElement=nP,this.storyIdByName=O(i=>{let s=this.nameToStoryId.get(i);if(s)return s;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=O(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=O(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=O(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let s=this.storyIdToCSFFile.get(i);if(!s)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:s})},"storyById"),this.getStoryContext=O(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=O(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((i,s)=>{this.referenceCSFFile(i)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let nP=t.stories[r.id];this.storyIdToCSFFile.set(nP.id,t),this.exportToStory.set(nP.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 nP=this.resolveModuleExport(t);if(nP.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(nP.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:nP}=r.meta;if(!nP)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:nP}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let nP=this.exportToStory.get(t);return nP?{type:"story",story:nP}:{type:"component",component:t}}resolveOf(t,r=[]){let nP;if(["component","meta","story"].includes(t)){let o=t;nP=this.resolveAttachedModuleExportType(o)}else nP=this.resolveModuleExport(t);if(r.length&&!r.includes(nP.type)){let o=nP.type==="component"?"component or unknown":nP.type;throw new Error(Sx.dedent`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(", ")}.
|
|
194
|
+
`)}},"sortStoriesV7"),bx=gt(Fr(),1),ju=Bt(),nr=jr(),gr=yn(),si=jr(),nm=yn(),Rs=new Error("prepareAborted"),{AbortController:om}=globalThis;function Yu(e){try{let{name:t="Error",message:r=String(e),stack:nP}=e;return{name:t,message:r,stack:nP}}catch{return{name:"Error",message:String(e)}}}O(Yu,"serializeError");var na,Ku=(na=class{constructor(t,r,nP,o,i,s,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=nP,this.callbacks=o,this.id=i,this.viewMode=s,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=O(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new om,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,nP){this.phase=r,this.channel.emit(si.STORY_RENDER_PHASE_CHANGED,{newPhase:this.phase,storyId:this.id}),nP&&(await nP(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(si.STORY_RENDER_PHASE_CHANGED,{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),Rs}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"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){var _,P,C,w;let{canvasElement:nP}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!nP)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:s,title:l,name:u,tags:d,applyLoaders:c,applyBeforeEach:p,unboundStoryFn:h,playFunction:m,runStep:g}=o;r&&!t&&(this.cancelRender(),this.abortController=new om);let b=this.abortController.signal,y=!1,E=o.usesMount;try{let S={...this.storyContext(),viewMode:this.viewMode,abortSignal:b,canvasElement:nP,loaded:{},step:O((V,J)=>g(V,J,S),"step"),context:null,canvas:{},renderToCanvas:O(async()=>{let V=await this.renderToScreen(T,nP);this.teardownRender=V||(()=>{}),y=!0},"renderToCanvas"),mount:O(async(...V)=>{var x,B;(B=(x=this.callbacks).showStoryDuringRender)==null||B.call(x);let J=null;return await this.runPhase(b,"rendering",async()=>{J=await o.mount(S)(...V)}),E&&await this.runPhase(b,"playing"),J},"mount")};S.context=S;let T={componentId:s,title:l,kind:l,id:i,name:u,story:u,tags:d,...this.callbacks,showError:O(V=>(this.phase="errored",this.callbacks.showError(V)),"showError"),showException:O(V=>(this.phase="errored",this.callbacks.showException(V)),"showException"),forceRemount:r||this.notYetRendered,storyContext:S,storyFn:O(()=>h(S),"storyFn"),unboundStoryFn:h};if(await this.runPhase(b,"loading",async()=>{S.loaded=await c(S)}),b.aborted)return;let A=await p(S);if(this.store.addCleanupCallbacks(o,A),this.checkIfAborted(b)||(!y&&!E&&await S.mount(),this.notYetRendered=!1,b.aborted))return;let N=((P=(_=this.story.parameters)==null?void 0:_.test)==null?void 0:P.dangerouslyIgnoreUnhandledErrors)===!0,U=new Set,X=O(V=>U.add("error"in V?V.error:V.reason),"onError");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){window.addEventListener("error",X),window.addEventListener("unhandledrejection",X),this.disableKeyListeners=!0;try{if(E?await m(S):(S.mount=async()=>{throw new nm.MountMustBeDestructuredError({playFunction:m.toString()})},await this.runPhase(b,"playing",async()=>m(S))),!y)throw new nm.NoStoryMountedError;this.checkIfAborted(b),!N&&U.size>0?await this.runPhase(b,"errored"):await this.runPhase(b,"played")}catch(V){if((w=(C=this.callbacks).showStoryDuringRender)==null||w.call(C),await this.runPhase(b,"errored",async()=>{this.channel.emit(si.PLAY_FUNCTION_THREW_EXCEPTION,Yu(V))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw V;console.error(V)}if(!N&&U.size>0&&this.channel.emit(si.UNHANDLED_ERRORS_WHILE_PLAYING,Array.from(U).map(Yu)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",X),window.removeEventListener("error",X),b.aborted)return}await this.runPhase(b,"completed",async()=>this.channel.emit(si.STORY_RENDERED,i))}catch(S){this.phase="errored",this.callbacks.showException(S)}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){var t;(t=this.abortController)==null||t.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}},O(na,"StoryRender"),na),{fetch:yx}=bx.global,vx="./index.json",oa,tg=(oa=class{constructor(t,r,nP=wn.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=nP,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,s)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=s}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:O((t,r)=>{if(this.storyStoreValue)return(0,ju.deprecate)("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new gr.StoryStoreAccessedBeforeInitializationError},"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(nr.STORY_INDEX_INVALIDATED,this.onStoryIndexChanged.bind(this)),this.channel.on(nr.UPDATE_GLOBALS,this.onUpdateGlobals.bind(this)),this.channel.on(nr.UPDATE_STORY_ARGS,this.onUpdateArgs.bind(this)),this.channel.on(nr.ARGTYPES_INFO_REQUEST,this.onRequestArgTypesInfo.bind(this)),this.channel.on(nr.RESET_STORY_ARGS,this.onResetArgs.bind(this)),this.channel.on(nr.FORCE_RE_RENDER,this.onForceReRender.bind(this)),this.channel.on(nr.FORCE_REMOUNT,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new gr.MissingRenderToCanvasError;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){var r,nP;try{await((r=this.beforeAllCleanup)==null?void 0:r.call(this)),this.beforeAllCleanup=await((nP=t.beforeAll)==null?void 0:nP.call(t))}catch(o){throw this.renderPreviewEntryError("Error in beforeAll hook:",o),o}}async getStoryIndexFromServer(){let t=await yx(vx);if(t.status===200)return t.json();throw new gr.StoryIndexFetchError({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new Qm(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(nr.SET_GLOBALS,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 gr.CalledPreviewMethodBeforeInitializationError({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 gr.CalledPreviewMethodBeforeInitializationError({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:nP,storyGlobals:o,userGlobals:i,globals:s}=this.storyStoreValue.getStoryContext(r);this.channel.emit(nr.GLOBALS_UPDATED,{initialGlobals:nP,userGlobals:i,storyGlobals:o,globals:s})}else{let{initialGlobals:nP,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(nr.GLOBALS_UPDATED,{initialGlobals:nP,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(nP=>nP.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(nP=>nP.id===t&&!nP.renderOptions.forceInitialArgs).map(nP=>nP.story&&nP.story.usesMount?nP.remount():nP.rerender())),this.channel.emit(nr.STORY_ARGS_UPDATED,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){var nP;try{await this.storeInitializationPromise;let o=await((nP=this.storyStoreValue)==null?void 0:nP.loadStory(r));this.channel.emit(nr.ARGTYPES_INFO_RESPONSE,{id:t,success:!0,payload:{argTypes:(o==null?void 0:o.argTypes)||{}},error:null})}catch(o){this.channel.emit(nr.ARGTYPES_INFO_RESPONSE,{id:t,success:!1,error:o==null?void 0:o.message})}}async onResetArgs({storyId:t,argNames:r}){var i;if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"onResetArgs"});let nP=((i=this.storyRenders.find(s=>s.id===t))==null?void 0:i.story)||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(nP.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((s,l)=>(s[l]=nP.initialArgs[l],s),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,nP,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"renderStoryToElement"});let i=new Ku(this.channel,this.storyStoreValue,this.renderToCanvas,nP,t.id,"docs",o,t);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(t,{viewModeChanged:r}={}){var nP;this.storyRenders=this.storyRenders.filter(o=>o!==t),await((nP=t==null?void 0:t.teardown)==null?void 0:nP.call(t,{viewModeChanged:r}))}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new gr.CalledPreviewMethodBeforeInitializationError({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,ju.logger.error(t),ju.logger.error(r),this.channel.emit(nr.CONFIG_ERROR,r)}},O(oa,"Preview"),oa),Ex=gt(Fr(),1),fs=Bt(),qt=jr(),Yo=yn(),_x=process.env.NODE_ENV==="production",Bu="Invariant failed";function gs(e,t){if(!e){if(_x)throw new Error(Bu);var r=typeof t=="function"?t():t,nP=r?"".concat(Bu,": ").concat(r):Bu;throw new Error(nP)}}O(gs,"invariant");var wx=jr(),Sx=gt(Lr(),1),aa,bc=(aa=class{constructor(t,r,nP,o){this.channel=t,this.store=r,this.renderStoryToElement=nP,this.storyIdByName=O(i=>{let s=this.nameToStoryId.get(i);if(s)return s;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=O(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=O(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=O(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let s=this.storyIdToCSFFile.get(i);if(!s)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:s})},"storyById"),this.getStoryContext=O(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=O(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((i,s)=>{this.referenceCSFFile(i)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let nP=t.stories[r.id];this.storyIdToCSFFile.set(nP.id,t),this.exportToStory.set(nP.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 nP=this.resolveModuleExport(t);if(nP.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(nP.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:nP}=r.meta;if(!nP)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:nP}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let nP=this.exportToStory.get(t);return nP?{type:"story",story:nP}:{type:"component",component:t}}resolveOf(t,r=[]){let nP;if(["component","meta","story"].includes(t)){let o=t;nP=this.resolveAttachedModuleExportType(o)}else nP=this.resolveModuleExport(t);if(r.length&&!r.includes(nP.type)){let o=nP.type==="component"?"component or unknown":nP.type;throw new Error(Sx.dedent`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(", ")}.
|
|
195
195
|
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
196
196
|
- ... or vice versa?
|
|
197
|
-
- 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(nP.type){case"component":return{...nP,projectAnnotations:this.projectAnnotations};case"meta":return{...nP,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:nP.csfFile})};case"story":default:return nP}}},O(aa,"DocsContext"),aa),ia,am=(ia=class{constructor(t,r,nP,o){this.channel=t,this.store=r,this.entry=nP,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=nP.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 Ts;let{importPath:nP,title:o}=this.entry,i=this.store.processCSFFileWithCache(t,nP,o),s=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:s,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new yc(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(nP=>r.attachCSFFile(nP)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let nP=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await o.renderer(),{render:s}=i,l=O(async()=>{try{await s(nP,o,t),this.channel.emit(wx.DOCS_RENDERED,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||i.unmount(t)},l()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}},O(ia,"CsfDocsRender"),ia),Cx=jr(),sa,im=(sa=class{constructor(t,r,nP,o){this.channel=t,this.store=r,this.entry=nP,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=nP.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 Ts;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 yc(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 nP=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},s=await o.renderer(),{render:l}=s,u=O(async()=>{try{await l(nP,i,t),this.channel.emit(Cx.DOCS_RENDERED,this.id)}catch(d){this.callbacks.showException(d)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:d}={})=>{!d||!t||(s.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}},O(sa,"MdxDocsRender"),sa),Ax=globalThis;function rg(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}O(rg,"focusInInput");var ng="attached-mdx",Rx="unattached-mdx";function og({tags:e}){return(e==null?void 0:e.includes(Rx))||(e==null?void 0:e.includes(ng))}O(og,"isMdxEntry");function ys(e){return e.type==="story"}O(ys,"isStoryRender");function ag(e){return e.type==="docs"}O(ag,"isDocsRender");function ig(e){return ag(e)&&e.subtype==="csf"}O(ig,"isCsfDocsRender");var la,sg=(la=class extends tg{constructor(t,r,nP,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=nP,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),Ax.onkeydown=this.onKeydown.bind(this),this.channel.on(qt.SET_CURRENT_STORY,this.onSetCurrentStory.bind(this)),this.channel.on(qt.UPDATE_QUERY_PARAMS,this.onUpdateQueryParams.bind(this)),this.channel.on(qt.PRELOAD_ENTRIES,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Yo.CalledPreviewMethodBeforeInitializationError({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 Yo.CalledPreviewMethodBeforeInitializationError({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,nP=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!nP){t==="*"?this.renderStoryLoadingException(t,new Yo.EmptyIndexError):this.renderStoryLoadingException(t,new Yo.NoStoryMatchError({storySpecifier:t.toString()}));return}let{id:o,type:i}=nP;this.selectionStore.setSelection({storyId:o,viewMode:i}),this.channel.emit(qt.STORY_SPECIFIED,this.selectionStore.selection),this.channel.emit(qt.CURRENT_STORY_WAS_SET,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)&&!rg(t)){let{altKey:r,ctrlKey:nP,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}=t;this.channel.emit(qt.PREVIEW_KEYDOWN,{event:{altKey:r,ctrlKey:nP,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(qt.CURRENT_STORY_WAS_SET,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){var nP,o;let r=this.currentRender instanceof Ju&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof im||this.currentRender instanceof am)&&await((o=(nP=this.currentRender).rerender)==null?void 0:o.call(nP))}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>{var nP;return(nP=this.storyStoreValue)==null?void 0:nP.loadEntry(r)}))}async renderSelection({persistedArgs:t}={}){var h,m,g,b;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new Yo.CalledPreviewMethodBeforeInitializationError({methodName:"renderSelection"});let{selection:nP}=this.selectionStore;if(!nP)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=nP,i;try{i=await this.storyStoreValue.storyIdToEntry(o)}catch(y){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,y);return}let s=((h=this.currentSelection)==null?void 0:h.storyId)!==o,l=((m=this.currentRender)==null?void 0:m.type)!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),(g=this.currentRender)!=null&&g.isPreparing()&&await this.teardownRender(this.currentRender);let u;i.type==="story"?u=new Ju(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):og(i)?u=new im(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o)):u=new am(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o));let d=this.currentSelection;this.currentSelection=nP;let c=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(y){c&&await this.teardownRender(c),y!==Ts&&this.renderStoryLoadingException(o,y);return}let p=!s&&c&&!u.isEqual(c);if(t&&ys(u)&&(bs(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),c&&!c.torndown&&!s&&!p&&!l){this.currentRender=c,this.channel.emit(qt.STORY_UNCHANGED,o),this.view.showMain();return}if(c&&await this.teardownRender(c,{viewModeChanged:l}),d&&(s||l)&&this.channel.emit(qt.STORY_CHANGED,o),ys(u)){bs(!!u.story);let{parameters:y,initialArgs:E,argTypes:_,unmappedArgs:P,initialGlobals:C,userGlobals:w,storyGlobals:S,globals:T}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(qt.STORY_PREPARED,{id:o,parameters:y,initialArgs:E,argTypes:_,args:P}),this.channel.emit(qt.GLOBALS_UPDATED,{userGlobals:w,storyGlobals:S,globals:T,initialGlobals:C})}else{let{parameters:y}=this.storyStoreValue.projectAnnotations,{initialGlobals:E,globals:_}=this.storyStoreValue.userGlobals;if(this.channel.emit(qt.GLOBALS_UPDATED,{globals:_,initialGlobals:E,storyGlobals:{},userGlobals:_}),ig(u)||((b=u.entry.tags)==null?void 0:b.includes(ng))){if(!u.csfFiles)throw new Yo.MdxFileWithNoCsfReferencesError({storyId:o});({parameters:y}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(qt.DOCS_PREPARED,{id:o,parameters:y})}ys(u)?(bs(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){var nP;this.storyRenders=this.storyRenders.filter(o=>o!==t),await((nP=t==null?void 0:t.teardown)==null?void 0:nP.call(t,{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(qt.STORY_MISSING)}renderStoryLoadingException(t,r){hs.logger.error(r),this.view.showErrorDisplay(r),this.channel.emit(qt.STORY_MISSING,t)}renderException(t,r){let{name:nP="Error",message:o=String(r),stack:i}=r;this.channel.emit(qt.STORY_THREW_EXCEPTION,{name:nP,message:o,stack:i}),this.channel.emit(qt.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),hs.logger.error(`Error rendering story '${t}':`),hs.logger.error(r)}renderError(t,{title:r,description:nP}){hs.logger.error(`Error rendering story ${r}: ${nP}`),this.channel.emit(qt.STORY_ERRORED,{title:r,description:nP}),this.channel.emit(qt.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:nP})}},O(la,"PreviewWithSelection"),la),Tx=gt(Fr(),1),Xu=gt(ec(),1),xx=Bt(),Px=gt(ec(),1),Ox=gt(Lr(),1),sm=/^[a-zA-Z0-9 _-]*$/,lg=/^-?[0-9]+(\.[0-9]+)?$/,Nx=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,ug=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Qu=O((e="",t)=>e===null||e===""||!sm.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?sm.test(t)||lg.test(t)||Nx.test(t)||ug.test(t):Array.isArray(t)?t.every(r=>Qu(e,r)):Ar(t)?Object.entries(t).every(([r,nP])=>Qu(r,nP)):!1,"validateArgs"),Mx={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(ug);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 lg.test(e)?Number(e):e}},lm=O(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Px.parse)(t.join(";"),Mx)).reduce((r,[nP,o])=>Qu(nP,o)?Object.assign(r,{[nP]:o}):(xx.once.warn(Ox.dedent`
|
|
197
|
+
- 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(nP.type){case"component":return{...nP,projectAnnotations:this.projectAnnotations};case"meta":return{...nP,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:nP.csfFile})};case"story":default:return nP}}},O(aa,"DocsContext"),aa),ia,am=(ia=class{constructor(t,r,nP,o){this.channel=t,this.store=r,this.entry=nP,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=nP.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 Rs;let{importPath:nP,title:o}=this.entry,i=this.store.processCSFFileWithCache(t,nP,o),s=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:s,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new bc(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(nP=>r.attachCSFFile(nP)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let nP=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await o.renderer(),{render:s}=i,l=O(async()=>{try{await s(nP,o,t),this.channel.emit(wx.DOCS_RENDERED,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||i.unmount(t)},l()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}},O(ia,"CsfDocsRender"),ia),Cx=jr(),sa,im=(sa=class{constructor(t,r,nP,o){this.channel=t,this.store=r,this.entry=nP,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=nP.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 Rs;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 bc(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 nP=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},s=await o.renderer(),{render:l}=s,u=O(async()=>{try{await l(nP,i,t),this.channel.emit(Cx.DOCS_RENDERED,this.id)}catch(d){this.callbacks.showException(d)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:d}={})=>{!d||!t||(s.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}},O(sa,"MdxDocsRender"),sa),Ax=globalThis;function rg(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}O(rg,"focusInInput");var ng="attached-mdx",Rx="unattached-mdx";function og({tags:e}){return(e==null?void 0:e.includes(Rx))||(e==null?void 0:e.includes(ng))}O(og,"isMdxEntry");function bs(e){return e.type==="story"}O(bs,"isStoryRender");function ag(e){return e.type==="docs"}O(ag,"isDocsRender");function ig(e){return ag(e)&&e.subtype==="csf"}O(ig,"isCsfDocsRender");var la,sg=(la=class extends tg{constructor(t,r,nP,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=nP,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),Ax.onkeydown=this.onKeydown.bind(this),this.channel.on(qt.SET_CURRENT_STORY,this.onSetCurrentStory.bind(this)),this.channel.on(qt.UPDATE_QUERY_PARAMS,this.onUpdateQueryParams.bind(this)),this.channel.on(qt.PRELOAD_ENTRIES,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Yo.CalledPreviewMethodBeforeInitializationError({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 Yo.CalledPreviewMethodBeforeInitializationError({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,nP=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!nP){t==="*"?this.renderStoryLoadingException(t,new Yo.EmptyIndexError):this.renderStoryLoadingException(t,new Yo.NoStoryMatchError({storySpecifier:t.toString()}));return}let{id:o,type:i}=nP;this.selectionStore.setSelection({storyId:o,viewMode:i}),this.channel.emit(qt.STORY_SPECIFIED,this.selectionStore.selection),this.channel.emit(qt.CURRENT_STORY_WAS_SET,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)&&!rg(t)){let{altKey:r,ctrlKey:nP,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}=t;this.channel.emit(qt.PREVIEW_KEYDOWN,{event:{altKey:r,ctrlKey:nP,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(qt.CURRENT_STORY_WAS_SET,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){var nP,o;let r=this.currentRender instanceof Ku&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof im||this.currentRender instanceof am)&&await((o=(nP=this.currentRender).rerender)==null?void 0:o.call(nP))}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>{var nP;return(nP=this.storyStoreValue)==null?void 0:nP.loadEntry(r)}))}async renderSelection({persistedArgs:t}={}){var h,m,g,b;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new Yo.CalledPreviewMethodBeforeInitializationError({methodName:"renderSelection"});let{selection:nP}=this.selectionStore;if(!nP)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=nP,i;try{i=await this.storyStoreValue.storyIdToEntry(o)}catch(y){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,y);return}let s=((h=this.currentSelection)==null?void 0:h.storyId)!==o,l=((m=this.currentRender)==null?void 0:m.type)!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),(g=this.currentRender)!=null&&g.isPreparing()&&await this.teardownRender(this.currentRender);let u;i.type==="story"?u=new Ku(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):og(i)?u=new im(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o)):u=new am(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o));let d=this.currentSelection;this.currentSelection=nP;let c=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(y){c&&await this.teardownRender(c),y!==Rs&&this.renderStoryLoadingException(o,y);return}let p=!s&&c&&!u.isEqual(c);if(t&&bs(u)&&(gs(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),c&&!c.torndown&&!s&&!p&&!l){this.currentRender=c,this.channel.emit(qt.STORY_UNCHANGED,o),this.view.showMain();return}if(c&&await this.teardownRender(c,{viewModeChanged:l}),d&&(s||l)&&this.channel.emit(qt.STORY_CHANGED,o),bs(u)){gs(!!u.story);let{parameters:y,initialArgs:E,argTypes:_,unmappedArgs:P,initialGlobals:C,userGlobals:w,storyGlobals:S,globals:T}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(qt.STORY_PREPARED,{id:o,parameters:y,initialArgs:E,argTypes:_,args:P}),this.channel.emit(qt.GLOBALS_UPDATED,{userGlobals:w,storyGlobals:S,globals:T,initialGlobals:C})}else{let{parameters:y}=this.storyStoreValue.projectAnnotations,{initialGlobals:E,globals:_}=this.storyStoreValue.userGlobals;if(this.channel.emit(qt.GLOBALS_UPDATED,{globals:_,initialGlobals:E,storyGlobals:{},userGlobals:_}),ig(u)||((b=u.entry.tags)==null?void 0:b.includes(ng))){if(!u.csfFiles)throw new Yo.MdxFileWithNoCsfReferencesError({storyId:o});({parameters:y}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(qt.DOCS_PREPARED,{id:o,parameters:y})}bs(u)?(gs(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){var nP;this.storyRenders=this.storyRenders.filter(o=>o!==t),await((nP=t==null?void 0:t.teardown)==null?void 0:nP.call(t,{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(qt.STORY_MISSING)}renderStoryLoadingException(t,r){fs.logger.error(r),this.view.showErrorDisplay(r),this.channel.emit(qt.STORY_MISSING,t)}renderException(t,r){let{name:nP="Error",message:o=String(r),stack:i}=r;this.channel.emit(qt.STORY_THREW_EXCEPTION,{name:nP,message:o,stack:i}),this.channel.emit(qt.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),fs.logger.error(`Error rendering story '${t}':`),fs.logger.error(r)}renderError(t,{title:r,description:nP}){fs.logger.error(`Error rendering story ${r}: ${nP}`),this.channel.emit(qt.STORY_ERRORED,{title:r,description:nP}),this.channel.emit(qt.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:nP})}},O(la,"PreviewWithSelection"),la),Tx=gt(Fr(),1),Ju=gt(Zu(),1),xx=Bt(),Px=gt(Zu(),1),Ox=gt(Lr(),1),sm=/^[a-zA-Z0-9 _-]*$/,lg=/^-?[0-9]+(\.[0-9]+)?$/,Nx=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,ug=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Xu=O((e="",t)=>e===null||e===""||!sm.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?sm.test(t)||lg.test(t)||Nx.test(t)||ug.test(t):Array.isArray(t)?t.every(r=>Xu(e,r)):Ar(t)?Object.entries(t).every(([r,nP])=>Xu(r,nP)):!1,"validateArgs"),Mx={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(ug);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 lg.test(e)?Number(e):e}},lm=O(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Px.parse)(t.join(";"),Mx)).reduce((r,[nP,o])=>Xu(nP,o)?Object.assign(r,{[nP]:o}):(xx.once.warn(Ox.dedent`
|
|
198
198
|
Omitted potentially unsafe URL args.
|
|
199
199
|
|
|
200
200
|
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
|
|
201
|
-
`),r),{})},"parseArgsParam"),{history:cg,document:kr}=Tx.global;function dg(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}O(dg,"pathToId");var pg=O(({selection:e,extraParams:t})=>{let r=kr==null?void 0:kr.location.search.slice(1),{path:nP,selectedKind:o,selectedStory:i,...s}=(0,
|
|
201
|
+
`),r),{})},"parseArgsParam"),{history:cg,document:kr}=Tx.global;function dg(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}O(dg,"pathToId");var pg=O(({selection:e,extraParams:t})=>{let r=kr==null?void 0:kr.location.search.slice(1),{path:nP,selectedKind:o,selectedStory:i,...s}=(0,Ju.parse)(r);return`?${(0,Ju.stringify)({...s,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),Ix=O(e=>{if(!e)return;let t=pg({selection:e}),{hash:r=""}=kr.location;kr.title=e.storyId,cg.replaceState({},"",`${kr.location.pathname}${t}${r}`)},"setPath"),Dx=O(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),ci=O(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return ci(e[0]);if(Dx(e))return ci(Object.values(e).filter(Boolean))}},"getFirstString"),qx=O(()=>{if(typeof kr<"u"){let e=kr.location.search.slice(1),t=(0,Ju.parse)(e),r=typeof t.args=="string"?lm(t.args):void 0,nP=typeof t.globals=="string"?lm(t.globals):void 0,o=ci(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let i=ci(t.path),s=i?dg(i):ci(t.id);if(s)return{storySpecifier:s,args:r,globals:nP,viewMode:o}}return null},"getSelectionSpecifierFromPath"),ua,fg=(ua=class{constructor(){this.selectionSpecifier=qx()}setSelection(t){this.selection=t,Ix(this.selection)}setQueryParams(t){let r=pg({extraParams:t}),{hash:nP=""}=kr.location;cg.replaceState({},"",`${kr.location.pathname}${r}${nP}`)}},O(ua,"UrlStore"),ua),jx=gt(Fr(),1),Bx=Bt(),kx=gt(QR(),1),Fx=gt(Zu(),1),Lx=gt(Lr(),1),{document:zt}=jx.global,um=100,hg=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(hg||{}),ku={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Fu={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},cm=new kx.default({escapeXML:!0}),ca,mg=(ca=class{constructor(){if(this.testing=!1,typeof zt<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,Fx.parse)(zt.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),zt.documentElement.scrollTop=0,zt.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return zt.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),zt.documentElement.scrollTop=0,zt.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return zt.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){zt.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Fu[t];zt.body.classList.remove(this.currentLayoutClass),zt.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Fu[t]||Bx.logger.warn(Lx.dedent`
|
|
202
202
|
The desired layout: ${t} is not a valid option.
|
|
203
|
-
The possible options are: ${Object.keys(
|
|
204
|
-
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(hg).forEach(r=>{r===t?zt.body.classList.add(
|
|
203
|
+
The possible options are: ${Object.keys(Fu).join(", ")}, none.
|
|
204
|
+
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(hg).forEach(r=>{r===t?zt.body.classList.add(ku[r]):zt.body.classList.remove(ku[r])})}showErrorDisplay({message:t="",stack:r=""}){let nP=t,o=r,i=t.split(`
|
|
205
205
|
`);i.length>1&&([nP]=i,o=i.slice(1).join(`
|
|
206
|
-
`).replace(/^\nP/,"")),zt.getElementById("error-message").innerHTML=cm.toHtml(nP),zt.getElementById("error-stack").innerHTML=cm.toHtml(o),this.showMode("ERROR")}showNoPreview(){var t,r;this.testing||(this.showMode("NOPREVIEW"),(t=this.storyRoot())==null||t.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),um)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),um)}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(){zt.body.classList.add(
|
|
207
|
-
`)&&(p=r.spacingOuter+l+p+r.spacingOuter+nP),p=`{${p}}`),`${r.spacingInner+nP+u.prop.open+d+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function Uc(e,t,r,nP,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?hb(s,t):i(s,t,r,nP,o))).join("")}function hb(e,t){let r=t.colors.content;return r.open+fb(e)+r.close}function gP(e,t){let r=t.colors.comment;return`${r.open}<!--${fb(e)}-->${r.close}`}function Hc(e,t,r,nP,o){let i=nP.colors.tag;return`${i.open}<${e}${t&&i.close+t+nP.spacingOuter+o+i.open}${r?`>${i.close}${r}${nP.spacingOuter}${o}${i.open}</${e}`:`${t&&!nP.min?"":" "}/`}>${i.close}`}function zc(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var bP=1,mb=3,gb=8,bb=11,yP=/^(?:(?:HTML|SVG)\w*)?Element$/;function vP(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function EP(e){let t=e.constructor.name,{nodeType:r,tagName:nP}=e,o=typeof nP=="string"&&nP.includes("-")||vP(e);return r===bP&&(yP.test(t)||o)||r===mb&&t==="Text"||r===gb&&t==="Comment"||r===bb&&t==="DocumentFragment"}var _P=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&EP(e)};function wP(e){return e.nodeType===mb}function SP(e){return e.nodeType===gb}function _c(e){return e.nodeType===bb}var CP=(e,t,r,nP,o,i)=>{if(wP(e))return hb(e.data,t);if(SP(e))return gP(e.data,t);let s=_c(e)?"DocumentFragment":e.tagName.toLowerCase();return++nP>t.maxDepth?zc(s,t):Hc(s,$c(_c(e)?[]:Array.from(e.attributes,l=>l.name).sort(),_c(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,nP,o,i),Uc(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,nP,o,i),t,r)},AP={serialize:CP,test:_P},RP="@@__IMMUTABLE_ITERABLE__@@",TP="@@__IMMUTABLE_LIST__@@",xP="@@__IMMUTABLE_KEYED__@@",PP="@@__IMMUTABLE_MAP__@@",wg="@@__IMMUTABLE_ORDERED__@@",OP="@@__IMMUTABLE_RECORD__@@",NP="@@__IMMUTABLE_SEQ__@@",MP="@@__IMMUTABLE_SET__@@",IP="@@__IMMUTABLE_STACK__@@",va=e=>`Immutable.${e}`,Ds=e=>`[${e}]`,mi=" ",Sg="\u2026";function DP(e,t,r,nP,o,i,s){return++nP>t.maxDepth?Ds(va(s)):`${va(s)+mi}{${Is(e.entries(),t,r,nP,o,i)}}`}function qP(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 jP(e,t,r,nP,o,i){let s=va(e._name||"Record");return++nP>t.maxDepth?Ds(s):`${s+mi}{${Is(qP(e),t,r,nP,o,i)}}`}function BP(e,t,r,nP,o,i){let s=va("Seq");return++nP>t.maxDepth?Ds(s):e[xP]?`${s+mi}{${e._iter||e._object?Is(e.entries(),t,r,nP,o,i):Sg}}`:`${s+mi}[${e._iter||e._array||e._collection||e._iterable?Fc(e.values(),t,r,nP,o,i):Sg}]`}function wc(e,t,r,nP,o,i,s){return++nP>t.maxDepth?Ds(va(s)):`${va(s)+mi}[${Fc(e.values(),t,r,nP,o,i)}]`}var kP=(e,t,r,nP,o,i)=>e[PP]?DP(e,t,r,nP,o,i,e[wg]?"OrderedMap":"Map"):e[TP]?wc(e,t,r,nP,o,i,"List"):e[MP]?wc(e,t,r,nP,o,i,e[wg]?"OrderedSet":"Set"):e[IP]?wc(e,t,r,nP,o,i,"Stack"):e[NP]?BP(e,t,r,nP,o,i):jP(e,t,r,nP,o,i),FP=e=>e&&(e[RP]===!0||e[OP]===!0),LP={serialize:kP,test:FP},Sc={exports:{}},ut={},Cg;function $P(){if(Cg)return ut;Cg=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),nP=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function b(y){if(typeof y=="object"&&y!==null){var E=y.$$typeof;switch(E){case e:switch(y=y.type,y){case r:case o:case nP:case d:case c:return y;default:switch(y=y&&y.$$typeof,y){case l:case s:case u:case h:case p:case i:return y;default:return E}}case t:return E}}}return ut.ContextConsumer=s,ut.ContextProvider=i,ut.Element=e,ut.ForwardRef=u,ut.Fragment=r,ut.Lazy=h,ut.Memo=p,ut.Portal=t,ut.Profiler=o,ut.StrictMode=nP,ut.Suspense=d,ut.SuspenseList=c,ut.isAsyncMode=function(){return!1},ut.isConcurrentMode=function(){return!1},ut.isContextConsumer=function(y){return b(y)===s},ut.isContextProvider=function(y){return b(y)===i},ut.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},ut.isForwardRef=function(y){return b(y)===u},ut.isFragment=function(y){return b(y)===r},ut.isLazy=function(y){return b(y)===h},ut.isMemo=function(y){return b(y)===p},ut.isPortal=function(y){return b(y)===t},ut.isProfiler=function(y){return b(y)===o},ut.isStrictMode=function(y){return b(y)===nP},ut.isSuspense=function(y){return b(y)===d},ut.isSuspenseList=function(y){return b(y)===c},ut.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===nP||y===d||y===c||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===h||y.$$typeof===p||y.$$typeof===i||y.$$typeof===s||y.$$typeof===u||y.$$typeof===g||y.getModuleId!==void 0)},ut.typeOf=b,ut}var dt={},Ag;function UP(){return Ag||(Ag=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),nP=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=!1,b=!1,y=!1,E=!1,_=!1,P;P=Symbol.for("react.module.reference");function C(ae){return!!(typeof ae=="string"||typeof ae=="function"||ae===r||ae===o||_||ae===nP||ae===d||ae===c||E||ae===m||g||b||y||typeof ae=="object"&&ae!==null&&(ae.$$typeof===h||ae.$$typeof===p||ae.$$typeof===i||ae.$$typeof===s||ae.$$typeof===u||ae.$$typeof===P||ae.getModuleId!==void 0))}function w(ae){if(typeof ae=="object"&&ae!==null){var ye=ae.$$typeof;switch(ye){case e:var $e=ae.type;switch($e){case r:case o:case nP:case d:case c:return $e;default:var lt=$e&&$e.$$typeof;switch(lt){case l:case s:case u:case h:case p:case i:return lt;default:return ye}}case t:return ye}}}var S=s,T=i,A=e,N=u,U=r,X=h,V=p,J=t,x=o,B=nP,K=d,fe=c,ce=!1,Re=!1;function Fe(ae){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Oe(ae){return Re||(Re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function le(ae){return w(ae)===s}function se(ae){return w(ae)===i}function de(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===e}function Se(ae){return w(ae)===u}function qe(ae){return w(ae)===r}function ke(ae){return w(ae)===h}function ot(ae){return w(ae)===p}function Ot(ae){return w(ae)===t}function Y(ae){return w(ae)===o}function Pe(ae){return w(ae)===nP}function Le(ae){return w(ae)===d}function nt(ae){return w(ae)===c}dt.ContextConsumer=S,dt.ContextProvider=T,dt.Element=A,dt.ForwardRef=N,dt.Fragment=U,dt.Lazy=X,dt.Memo=V,dt.Portal=J,dt.Profiler=x,dt.StrictMode=B,dt.Suspense=K,dt.SuspenseList=fe,dt.isAsyncMode=Fe,dt.isConcurrentMode=Oe,dt.isContextConsumer=le,dt.isContextProvider=se,dt.isElement=de,dt.isForwardRef=Se,dt.isFragment=qe,dt.isLazy=ke,dt.isMemo=ot,dt.isPortal=Ot,dt.isProfiler=Y,dt.isStrictMode=Pe,dt.isSuspense=Le,dt.isSuspenseList=nt,dt.isValidElementType=C,dt.typeOf=w}()),dt}var Rg;function HP(){return Rg||(Rg=1,process.env.NODE_ENV==="production"?Sc.exports=$P():Sc.exports=UP()),Sc.exports}var Kn=HP();function yb(e,t=[]){if(Array.isArray(e))for(let r of e)yb(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Tg(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Kn.isFragment(e))return"React.Fragment";if(Kn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Kn.isContextProvider(e))return"Context.Provider";if(Kn.isContextConsumer(e))return"Context.Consumer";if(Kn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Kn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function zP(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var VP=(e,t,r,nP,o,i)=>++nP>t.maxDepth?zc(Tg(e),t):Hc(Tg(e),$c(zP(e),e.props,t,r+t.indent,nP,o,i),Uc(yb(e.props.children),t,r+t.indent,nP,o,i),t,r),GP=e=>e!=null&&Kn.isElement(e),WP={serialize:VP,test:GP},YP=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function KP(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var JP=(e,t,r,nP,o,i)=>++nP>t.maxDepth?zc(e.type,t):Hc(e.type,e.props?$c(KP(e),e.props,t,r+t.indent,nP,o,i):"",e.children?Uc(e.children,t,r+t.indent,nP,o,i):"",t,r),XP=e=>e&&e.$$typeof===YP,QP={serialize:JP,test:XP},vb=Object.prototype.toString,ZP=Date.prototype.toISOString,eO=Error.prototype.toString,xg=RegExp.prototype.toString;function Cc(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function tO(e){return typeof window<"u"&&e===window}var rO=/^Symbol\((.*)\)(.*)$/,nO=/\nP/g,Eb=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function oO(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 aO(e){return Object.is(e,-0)?"-0":String(e)}function iO(e){return`${e}nP`}function Pg(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Og(e){return String(e).replace(rO,"Symbol($1)")}function Ng(e){return`[${eO.call(e)}]`}function _b(e,t,r,nP){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 aO(e);if(o==="bigint")return iO(e);if(o==="string")return nP?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Pg(e,t);if(o==="symbol")return Og(e);let i=vb.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Pg(e,t):i==="[object Symbol]"?Og(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":ZP.call(e):i==="[object Error]"?Ng(e):i==="[object RegExp]"?r?xg.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):xg.call(e):e instanceof Error?Ng(e):null}function wb(e,t,r,nP,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++nP>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Cn(e.toJSON(),t,r,nP,o,!0);let u=vb.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${Ms(e,t,r,nP,o,Cn)}]`:oO(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Ms(e,t,r,nP,o,Cn)}]`:u==="[object Map]"?s?"[Map]":`Map {${Is(e.entries(),t,r,nP,o,Cn," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${Fc(e.values(),t,r,nP,o,Cn)}}`:s||tO(e)?`[${Cc(e)}]`:`${l||!t.printBasicPrototype&&Cc(e)==="Object"?"":`${Cc(e)} `}{${Lc(e,t,r,nP,o,Cn)}}`}function sO(e){return e.serialize!=null}function Sb(e,t,r,nP,o,i){let s;try{s=sO(e)?e.serialize(t,r,nP,o,i,Cn):e.print(t,l=>Cn(l,r,nP,o,i),l=>{let u=nP+r.indent;return u+l.replaceAll(nO,`
|
|
208
|
-
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new Eb(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function Cb(e,t){for(let r of e)try{if(r.test(t))return r}catch(nP){throw new Eb(nP.message,nP.stack)}return null}function Cn(e,t,r,nP,o,i){let s=Cb(t.plugins,e);if(s!==null)return Sb(s,e,t,r,nP,o);let l=_b(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:wb(e,t,r,nP,o,i)}var
|
|
206
|
+
`).replace(/^\nP/,"")),zt.getElementById("error-message").innerHTML=cm.toHtml(nP),zt.getElementById("error-stack").innerHTML=cm.toHtml(o),this.showMode("ERROR")}showNoPreview(){var t,r;this.testing||(this.showMode("NOPREVIEW"),(t=this.storyRoot())==null||t.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),um)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),um)}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(){zt.body.classList.add(ku.MAIN)}},O(ca,"WebView"),ca),da,$x=(da=class extends sg{constructor(t,r){super(t,r,new fg,new mg),this.importFn=t,this.getProjectAnnotations=r,Ex.global.__STORYBOOK_PREVIEW__=this}},O(da,"PreviewWeb"),da),Ux=gt(Fr(),1),{document:Wn}=Ux.global,Hx=["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"],zx="script",dm="scripts-root";function ws(){let e=Wn.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Wn.dispatchEvent(e)}O(ws,"simulateDOMContentLoaded");function gg(e,t,r){let nP=Wn.createElement("script");nP.type=e.type==="module"?"module":"text/javascript",e.src?(nP.onload=t,nP.onerror=t,nP.src=e.src):nP.textContent=e.innerText,r?r.appendChild(nP):Wn.head.appendChild(nP),e.parentNode.removeChild(e),e.src||t()}O(gg,"insertScript");function yc(e,t,r=0){e[r](()=>{r++,r===e.length?t():yc(e,t,r)})}O(yc,"insertScriptsSequentially");function bg(e){let t=Wn.getElementById(dm);t?t.innerHTML="":(t=Wn.createElement("div"),t.id=dm,Wn.body.appendChild(t));let r=Array.from(e.querySelectorAll(zx));if(r.length){let nP=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||Hx.includes(i))&&nP.push(s=>gg(o,s,t))}),nP.length&&yc(nP,ws,void 0)}else ws()}O(bg,"simulatePageLoad")});var _g=pr((Zz,Eg)=>{"use strict";Eg.exports=vg()});var Wc=pr((e8,Jb)=>{"use strict";var jc=Object.defineProperty,Vx=Object.getOwnPropertyDescriptor,Gx=Object.getOwnPropertyNames,Wx=Object.prototype.hasOwnProperty,Yx=(e,t)=>{for(var r in t)jc(e,r,{get:t[r],enumerable:!0})},Kx=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Gx(t))!Wx.call(e,o)&&o!==r&&jc(e,o,{get:()=>t[o],enumerable:!(nP=Vx(t,o))||nP.enumerable});return e},Jx=e=>Kx(jc({},"__esModule",{value:!0}),e),db={};Yx(db,{CallStates:()=>Kb,EVENTS:()=>$r,instrument:()=>zN});Jb.exports=Jx(db);var Xx=Ru(),Ts=Ih(),Qx=_g(),er=Cu(),Zx={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]},eP=Object.entries(Zx);function Bc(e){return String(e)}Bc.open="";Bc.close="";function tP(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},nP=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||nP.includes("--no-color"))&&("FORCE_COLOR"in r||nP.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function rP(e=!1){let t=tP(e),r=(s,l,u,d)=>{let c="",p=0;do c+=s.substring(p,d)+u,p=d+l.length,d=s.indexOf(l,p);while(~d);return c+s.substring(p)},nP=(s,l,u=s)=>{let d=c=>{let p=String(c),h=p.indexOf(l,s.length);return~h?s+r(p,l,u,h)+l:s+p+l};return d.open=s,d.close=l,d},o={isColorSupported:t},i=s=>`\x1B[${s}m`;for(let[s,l]of eP)o[s]=t?nP(i(l[0]),i(l[1]),l[2]):Bc;return o}var nP=require("tty"),tn=rP((0,nP.isatty)(1));function oP(e,t){let r=Object.keys(e),nP=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&nP.push(o);return nP}function Ms(e,t,r,nP,o,i,s=": "){let l="",u=0,d=e.next();if(!d.done){l+=t.spacingOuter;let c=r+t.indent;for(;!d.done;){if(l+=c,u++===t.maxWidth){l+="\u2026";break}let p=i(d.value[0],t,c,nP,o),h=i(d.value[1],t,c,nP,o);l+=p+s+h,d=e.next(),d.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function kc(e,t,r,nP,o,i){let s="",l=0,u=e.next();if(!u.done){s+=t.spacingOuter;let d=r+t.indent;for(;!u.done;){if(s+=d,l++===t.maxWidth){s+="\u2026";break}s+=i(u.value,t,d,nP,o),u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Ns(e,t,r,nP,o,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=d=>d instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){s+=t.spacingOuter;let d=r+t.indent;for(let c=0;c<u;c++){if(s+=d,c===t.maxWidth){s+="\u2026";break}(l(e)||c in e)&&(s+=i(l(e)?e.getInt8(c):e[c],t,d,nP,o)),c<u-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}function Fc(e,t,r,nP,o,i){let s="",l=oP(e,t.compareKeys);if(l.length>0){s+=t.spacingOuter;let u=r+t.indent;for(let d=0;d<l.length;d++){let c=l[d],p=i(c,t,u,nP,o),h=i(e[c],t,u,nP,o);s+=`${u+p}: ${h}`,d<l.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var aP=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,vc=" ",iP=(e,t,r,nP,o,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++nP>t.maxDepth?`[${s}]`:`${s+vc}[${Ns(e.sample,t,r,nP,o,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++nP>t.maxDepth?`[${s}]`:`${s+vc}{${Fc(e.sample,t,r,nP,o,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+vc+i(e.sample,t,r,nP,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},sP=e=>e&&e.$$typeof===aP,lP={serialize:iP,test:sP},uP=" ",pb=new Set(["DOMStringMap","NamedNodeMap"]),cP=/^(?:HTML\w*Collection|NodeList)$/;function dP(e){return pb.has(e)||cP.test(e)}var pP=e=>e&&e.constructor&&!!e.constructor.name&&dP(e.constructor.name);function fP(e){return e.constructor.name==="NamedNodeMap"}var hP=(e,t,r,nP,o,i)=>{let s=e.constructor.name;return++nP>t.maxDepth?`[${s}]`:(t.min?"":s+uP)+(pb.has(s)?`{${Fc(fP(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,nP,o,i)}}`:`[${Ns([...e],t,r,nP,o,i)}]`)},mP={serialize:hP,test:pP};function fb(e){return e.replaceAll("<","<").replaceAll(">",">")}function Lc(e,t,r,nP,o,i,s){let l=nP+r.indent,u=r.colors;return e.map(d=>{let c=t[d],p=s(c,r,l,o,i);return typeof c!="string"&&(p.includes(`
|
|
207
|
+
`)&&(p=r.spacingOuter+l+p+r.spacingOuter+nP),p=`{${p}}`),`${r.spacingInner+nP+u.prop.open+d+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function $c(e,t,r,nP,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?hb(s,t):i(s,t,r,nP,o))).join("")}function hb(e,t){let r=t.colors.content;return r.open+fb(e)+r.close}function gP(e,t){let r=t.colors.comment;return`${r.open}<!--${fb(e)}-->${r.close}`}function Uc(e,t,r,nP,o){let i=nP.colors.tag;return`${i.open}<${e}${t&&i.close+t+nP.spacingOuter+o+i.open}${r?`>${i.close}${r}${nP.spacingOuter}${o}${i.open}</${e}`:`${t&&!nP.min?"":" "}/`}>${i.close}`}function Hc(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var bP=1,mb=3,gb=8,bb=11,yP=/^(?:(?:HTML|SVG)\w*)?Element$/;function vP(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function EP(e){let t=e.constructor.name,{nodeType:r,tagName:nP}=e,o=typeof nP=="string"&&nP.includes("-")||vP(e);return r===bP&&(yP.test(t)||o)||r===mb&&t==="Text"||r===gb&&t==="Comment"||r===bb&&t==="DocumentFragment"}var _P=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&EP(e)};function wP(e){return e.nodeType===mb}function SP(e){return e.nodeType===gb}function Ec(e){return e.nodeType===bb}var CP=(e,t,r,nP,o,i)=>{if(wP(e))return hb(e.data,t);if(SP(e))return gP(e.data,t);let s=Ec(e)?"DocumentFragment":e.tagName.toLowerCase();return++nP>t.maxDepth?Hc(s,t):Uc(s,Lc(Ec(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Ec(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,nP,o,i),$c(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,nP,o,i),t,r)},AP={serialize:CP,test:_P},RP="@@__IMMUTABLE_ITERABLE__@@",TP="@@__IMMUTABLE_LIST__@@",xP="@@__IMMUTABLE_KEYED__@@",PP="@@__IMMUTABLE_MAP__@@",wg="@@__IMMUTABLE_ORDERED__@@",OP="@@__IMMUTABLE_RECORD__@@",NP="@@__IMMUTABLE_SEQ__@@",MP="@@__IMMUTABLE_SET__@@",IP="@@__IMMUTABLE_STACK__@@",va=e=>`Immutable.${e}`,Is=e=>`[${e}]`,mi=" ",Sg="\u2026";function DP(e,t,r,nP,o,i,s){return++nP>t.maxDepth?Is(va(s)):`${va(s)+mi}{${Ms(e.entries(),t,r,nP,o,i)}}`}function qP(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 jP(e,t,r,nP,o,i){let s=va(e._name||"Record");return++nP>t.maxDepth?Is(s):`${s+mi}{${Ms(qP(e),t,r,nP,o,i)}}`}function BP(e,t,r,nP,o,i){let s=va("Seq");return++nP>t.maxDepth?Is(s):e[xP]?`${s+mi}{${e._iter||e._object?Ms(e.entries(),t,r,nP,o,i):Sg}}`:`${s+mi}[${e._iter||e._array||e._collection||e._iterable?kc(e.values(),t,r,nP,o,i):Sg}]`}function _c(e,t,r,nP,o,i,s){return++nP>t.maxDepth?Is(va(s)):`${va(s)+mi}[${kc(e.values(),t,r,nP,o,i)}]`}var kP=(e,t,r,nP,o,i)=>e[PP]?DP(e,t,r,nP,o,i,e[wg]?"OrderedMap":"Map"):e[TP]?_c(e,t,r,nP,o,i,"List"):e[MP]?_c(e,t,r,nP,o,i,e[wg]?"OrderedSet":"Set"):e[IP]?_c(e,t,r,nP,o,i,"Stack"):e[NP]?BP(e,t,r,nP,o,i):jP(e,t,r,nP,o,i),FP=e=>e&&(e[RP]===!0||e[OP]===!0),LP={serialize:kP,test:FP},wc={exports:{}},ut={},Cg;function $P(){if(Cg)return ut;Cg=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),nP=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function b(y){if(typeof y=="object"&&y!==null){var E=y.$$typeof;switch(E){case e:switch(y=y.type,y){case r:case o:case nP:case d:case c:return y;default:switch(y=y&&y.$$typeof,y){case l:case s:case u:case h:case p:case i:return y;default:return E}}case t:return E}}}return ut.ContextConsumer=s,ut.ContextProvider=i,ut.Element=e,ut.ForwardRef=u,ut.Fragment=r,ut.Lazy=h,ut.Memo=p,ut.Portal=t,ut.Profiler=o,ut.StrictMode=nP,ut.Suspense=d,ut.SuspenseList=c,ut.isAsyncMode=function(){return!1},ut.isConcurrentMode=function(){return!1},ut.isContextConsumer=function(y){return b(y)===s},ut.isContextProvider=function(y){return b(y)===i},ut.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},ut.isForwardRef=function(y){return b(y)===u},ut.isFragment=function(y){return b(y)===r},ut.isLazy=function(y){return b(y)===h},ut.isMemo=function(y){return b(y)===p},ut.isPortal=function(y){return b(y)===t},ut.isProfiler=function(y){return b(y)===o},ut.isStrictMode=function(y){return b(y)===nP},ut.isSuspense=function(y){return b(y)===d},ut.isSuspenseList=function(y){return b(y)===c},ut.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===nP||y===d||y===c||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===h||y.$$typeof===p||y.$$typeof===i||y.$$typeof===s||y.$$typeof===u||y.$$typeof===g||y.getModuleId!==void 0)},ut.typeOf=b,ut}var dt={},Ag;function UP(){return Ag||(Ag=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),nP=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=!1,b=!1,y=!1,E=!1,_=!1,P;P=Symbol.for("react.module.reference");function C(ae){return!!(typeof ae=="string"||typeof ae=="function"||ae===r||ae===o||_||ae===nP||ae===d||ae===c||E||ae===m||g||b||y||typeof ae=="object"&&ae!==null&&(ae.$$typeof===h||ae.$$typeof===p||ae.$$typeof===i||ae.$$typeof===s||ae.$$typeof===u||ae.$$typeof===P||ae.getModuleId!==void 0))}function w(ae){if(typeof ae=="object"&&ae!==null){var ye=ae.$$typeof;switch(ye){case e:var $e=ae.type;switch($e){case r:case o:case nP:case d:case c:return $e;default:var lt=$e&&$e.$$typeof;switch(lt){case l:case s:case u:case h:case p:case i:return lt;default:return ye}}case t:return ye}}}var S=s,T=i,A=e,N=u,U=r,X=h,V=p,J=t,x=o,B=nP,K=d,fe=c,ce=!1,Re=!1;function Fe(ae){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Oe(ae){return Re||(Re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function le(ae){return w(ae)===s}function se(ae){return w(ae)===i}function de(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===e}function Se(ae){return w(ae)===u}function qe(ae){return w(ae)===r}function ke(ae){return w(ae)===h}function ot(ae){return w(ae)===p}function Ot(ae){return w(ae)===t}function Y(ae){return w(ae)===o}function Pe(ae){return w(ae)===nP}function Le(ae){return w(ae)===d}function nt(ae){return w(ae)===c}dt.ContextConsumer=S,dt.ContextProvider=T,dt.Element=A,dt.ForwardRef=N,dt.Fragment=U,dt.Lazy=X,dt.Memo=V,dt.Portal=J,dt.Profiler=x,dt.StrictMode=B,dt.Suspense=K,dt.SuspenseList=fe,dt.isAsyncMode=Fe,dt.isConcurrentMode=Oe,dt.isContextConsumer=le,dt.isContextProvider=se,dt.isElement=de,dt.isForwardRef=Se,dt.isFragment=qe,dt.isLazy=ke,dt.isMemo=ot,dt.isPortal=Ot,dt.isProfiler=Y,dt.isStrictMode=Pe,dt.isSuspense=Le,dt.isSuspenseList=nt,dt.isValidElementType=C,dt.typeOf=w}()),dt}var Rg;function HP(){return Rg||(Rg=1,process.env.NODE_ENV==="production"?wc.exports=$P():wc.exports=UP()),wc.exports}var Kn=HP();function yb(e,t=[]){if(Array.isArray(e))for(let r of e)yb(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Tg(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Kn.isFragment(e))return"React.Fragment";if(Kn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Kn.isContextProvider(e))return"Context.Provider";if(Kn.isContextConsumer(e))return"Context.Consumer";if(Kn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Kn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function zP(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var VP=(e,t,r,nP,o,i)=>++nP>t.maxDepth?Hc(Tg(e),t):Uc(Tg(e),Lc(zP(e),e.props,t,r+t.indent,nP,o,i),$c(yb(e.props.children),t,r+t.indent,nP,o,i),t,r),GP=e=>e!=null&&Kn.isElement(e),WP={serialize:VP,test:GP},YP=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function KP(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var JP=(e,t,r,nP,o,i)=>++nP>t.maxDepth?Hc(e.type,t):Uc(e.type,e.props?Lc(KP(e),e.props,t,r+t.indent,nP,o,i):"",e.children?$c(e.children,t,r+t.indent,nP,o,i):"",t,r),XP=e=>e&&e.$$typeof===YP,QP={serialize:JP,test:XP},vb=Object.prototype.toString,ZP=Date.prototype.toISOString,eO=Error.prototype.toString,xg=RegExp.prototype.toString;function Sc(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function tO(e){return typeof window<"u"&&e===window}var rO=/^Symbol\((.*)\)(.*)$/,nO=/\nP/g,Eb=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function oO(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 aO(e){return Object.is(e,-0)?"-0":String(e)}function iO(e){return`${e}nP`}function Pg(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Og(e){return String(e).replace(rO,"Symbol($1)")}function Ng(e){return`[${eO.call(e)}]`}function _b(e,t,r,nP){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 aO(e);if(o==="bigint")return iO(e);if(o==="string")return nP?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Pg(e,t);if(o==="symbol")return Og(e);let i=vb.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Pg(e,t):i==="[object Symbol]"?Og(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":ZP.call(e):i==="[object Error]"?Ng(e):i==="[object RegExp]"?r?xg.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):xg.call(e):e instanceof Error?Ng(e):null}function wb(e,t,r,nP,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++nP>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Cn(e.toJSON(),t,r,nP,o,!0);let u=vb.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${Ns(e,t,r,nP,o,Cn)}]`:oO(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Ns(e,t,r,nP,o,Cn)}]`:u==="[object Map]"?s?"[Map]":`Map {${Ms(e.entries(),t,r,nP,o,Cn," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${kc(e.values(),t,r,nP,o,Cn)}}`:s||tO(e)?`[${Sc(e)}]`:`${l||!t.printBasicPrototype&&Sc(e)==="Object"?"":`${Sc(e)} `}{${Fc(e,t,r,nP,o,Cn)}}`}function sO(e){return e.serialize!=null}function Sb(e,t,r,nP,o,i){let s;try{s=sO(e)?e.serialize(t,r,nP,o,i,Cn):e.print(t,l=>Cn(l,r,nP,o,i),l=>{let u=nP+r.indent;return u+l.replaceAll(nO,`
|
|
208
|
+
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new Eb(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function Cb(e,t){for(let r of e)try{if(r.test(t))return r}catch(nP){throw new Eb(nP.message,nP.stack)}return null}function Cn(e,t,r,nP,o,i){let s=Cb(t.plugins,e);if(s!==null)return Sb(s,e,t,r,nP,o);let l=_b(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:wb(e,t,r,nP,o,i)}var zc={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Ab=Object.keys(zc),Rr={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:zc};function lO(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Rr,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 uO(){return Ab.reduce((e,t)=>{let r=zc[t],nP=r&&tn[r];if(nP&&typeof nP.close=="string"&&typeof nP.open=="string")e[t]=nP;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 cO(){return Ab.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Rb(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:Rr.printFunctionName}function Tb(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:Rr.escapeRegex}function xb(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:Rr.escapeString}function Mg(e){var t,r,nP,o,i,s,l;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:Rr.callToJSON,colors:e!=null&&e.highlight?uO():cO(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Rr.compareKeys,escapeRegex:Tb(e),escapeString:xb(e),indent:e!=null&&e.min?"":dO((r=e==null?void 0:e.indent)!=null?r:Rr.indent),maxDepth:(nP=e==null?void 0:e.maxDepth)!=null?nP:Rr.maxDepth,maxWidth:(o=e==null?void 0:e.maxWidth)!=null?o:Rr.maxWidth,min:(i=e==null?void 0:e.min)!=null?i:Rr.min,plugins:(s=e==null?void 0:e.plugins)!=null?s:Rr.plugins,printBasicPrototype:(l=e==null?void 0:e.printBasicPrototype)!=null?l:!0,printFunctionName:Rb(e),spacingInner:e!=null&&e.min?" ":`
|
|
209
209
|
`,spacingOuter:e!=null&&e.min?"":`
|
|
210
|
-
`}}function dO(e){return Array.from({length:e+1}).join(" ")}function Ur(e,t){if(t&&(lO(t),t.plugins)){let nP=Cb(t.plugins,e);if(nP!==null)return Sb(nP,e,Mg(t),"",0,[])}let r=_b(e,Rb(t),Tb(t),xb(t));return r!==null?r:wb(e,Mg(t),"",0,[])}var Pb={AsymmetricMatcher:lP,DOMCollection:mP,DOMElement:AP,Immutable:LP,ReactElement:WP,ReactTestComponent:QP},Ig={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"]},pO={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Ea="\u2026";function fO(e,t){let r=Ig[pO[t]]||Ig[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function hO({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:nP=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:d=String}={},c){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!nP,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:c,stylize:d};return p.colors&&(p.stylize=fO),p}function mO(e){return e>="\uD800"&&e<="\uDBFF"}function An(e,t,r=Ea){e=String(e);let nP=r.length,o=e.length;if(nP>t&&o>nP)return r;if(o>t&&o>nP){let i=t-nP;return i>0&&mO(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Tr(e,t,r,nP=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let d=0;d<o;d+=1){let c=d+1===e.length,p=d+2===e.length;u=`${Ea}(${e.length-d})`;let h=e[d];t.truncate=i-s.length-(c?0:nP.length);let m=l||r(h,t)+(c?"":nP),g=s.length+m.length,b=g+u.length;if(c&&g>i&&s.length+u.length<=i||!c&&!p&&b>i||(l=c?"":r(e[d+1],t)+(p?"":nP),!c&&p&&b>i&&g+l.length>i))break;if(s+=m,!c&&!p&&g+l.length>=i){u=`${Ea}(${e.length-d-1})`;break}u=""}return`${s}${u}`}function gO(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function gi([e,t],r){return r.truncate-=2,typeof e=="string"?e=gO(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function bO(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let nP=Tr(e,t);t.truncate-=nP.length;let o="";return r.length&&(o=Tr(r.map(i=>[i,e[i]]),t,gi)),`[ ${nP}${o?`, ${o}`:""} ]`}var yO=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function en(e,t){let r=yO(e);t.truncate-=r.length+4;let nP=Object.keys(e).slice(e.length);if(!e.length&&!nP.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(An(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${Ea}(${e.length-e[s]+1})`;break}o+=l}let i="";return nP.length&&(i=Tr(nP.map(s=>[s,e[s]]),t,gi)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function vO(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let nP=r.split("T"),o=nP[0];return t.stylize(`${o}T${An(nP[1],t.truncate-o.length-1)}`,"date")}function Dg(e,t){let r=e[Symbol.toStringTag]||"Function",nP=e.name;return nP?t.stylize(`[${r} ${An(nP,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function EO([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function _O(e){let t=[];return e.forEach((r,nP)=>{t.push([nP,r])}),t}function wO(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Tr(_O(e),t,EO)} }`)}var SO=Number.isNaN||(e=>e!==e);function qg(e,t){return SO(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(An(String(e),t.truncate),"number")}function jg(e,t){let r=An(e.toString(),t.truncate-1);return r!==Ea&&(r+="nP"),t.stylize(r,"bigint")}function CO(e,t){let r=e.toString().split("/")[2],nP=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${An(o,nP)}/${r}`,"regexp")}function AO(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function RO(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Tr(AO(e),t)} }`)}var Bg=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),TO={"\b":"\\b"," ":"\\t","\nP":"\\nP","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},xO=16,PO=4;function OO(e){return TO[e]||`\\u${`0000${e.charCodeAt(0).toString(xO)}`.slice(-PO)}`}function kg(e,t){return Bg.test(e)&&(e=e.replace(Bg,OO)),t.stylize(`'${An(e,t.truncate-2)}'`,"string")}function Fg(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var Ob=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Ob=(nP,o)=>{let[i,s]=e(nP);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`})}catch{}var NO=Ob;function
|
|
211
|
-
`)}function Nb(e,t){let r=e.getAttributeNames(),nP=e.tagName.toLowerCase(),o=t.stylize(`<${nP}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${nP}>`,"special");t.truncate-=nP.length*2+5;let l="";r.length>0&&(l+=" ",l+=Tr(r.map(c=>[c,e.getAttribute(c)]),t,jO," ")),t.truncate-=l.length;let u=t.truncate,d=Oc(e.children,t);return d&&d.length>u&&(d=`${Ea}(${e.children.length})`),`${o}${l}${i}${d}${s}`}var BO=typeof Symbol=="function"&&typeof Symbol.for=="function",Rc=BO?Symbol.for("chai/inspect"):"@@chai/inspect",ga=!1;try{let e=require("util");ga=e.inspect?e.inspect.custom:!1}catch{ga=!1}var Lg=new WeakMap,$g={},Ug={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:qg,Number:qg,bigint:jg,BigInt:jg,string:kg,String:kg,function:Dg,Function:Dg,symbol:Fg,Symbol:Fg,Array:bO,Date:vO,Map:wO,Set:RO,RegExp:CO,Promise:NO,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:IO,Int8Array:en,Uint8Array:en,Uint8ClampedArray:en,Int16Array:en,Uint16Array:en,Int32Array:en,Uint32Array:en,Float32Array:en,Float64Array:en,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:qO,HTMLCollection:Oc,NodeList:Oc},kO=(e,t,r)=>Rc in e&&typeof e[Rc]=="function"?e[Rc](t):ga&&ga in e&&typeof e[ga]=="function"?e[ga](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Lg.has(e.constructor)?Lg.get(e.constructor)(e,t):$g[r]?$g[r](e,t):"",FO=Object.prototype.toString;function Nc(e,t={}){let r=hO(t,Nc),{customInspect:nP}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=FO.call(e).slice(8,-1)),o in Ug)return Ug[o](e,r);if(nP&&e){let s=kO(e,r,o);if(s)return typeof s=="string"?s:Nc(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Ns(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Nb(e,r):"constructor"in e?e.constructor!==Object?MO(e,r):Ns(e,r):e===Object(e)?Ns(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:LO,DOMCollection:$O,DOMElement:UO,Immutable:HO,ReactElement:zO,ReactTestComponent:VO}=Pb,Hg=[VO,zO,UO,$O,HO,LO];function bi(e,t=10,{maxLength:r,...nP}={}){let o=r!=null?r:1e4,i;try{i=Ur(e,{maxDepth:t,escapeString:!1,plugins:Hg,...nP})}catch{i=Ur(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Hg,...nP})}return i.length>=o&&t>1?bi(e,Math.floor(t/2)):i}var GO=/%[sdjifoOc%]/g;function WO(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(hi(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,nP=e[0],o=String(nP).replace(GO,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?hi(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return hi(e[r++],{showHidden:!0,showProxy:!0});case"%O":return hi(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${hi(i)}`;return o}function hi(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Nc(e,t)}function YO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function KO(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Mc(e){return Object.prototype.toString.apply(e).slice(8,-1)}function JO(e,t){let r=typeof t=="function"?t:nP=>t.add(nP);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Mb(e){let t=new Set;return KO(e)?[]:(JO(e,t),Array.from(t))}var Ib={forceWritable:!1};function zg(e,t=Ib){return Ic(e,new WeakMap,t)}function Ic(e,t,r=Ib){let nP,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:nP=e.length}),t.set(e,o);nP--;)o[nP]=Ic(e[nP],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=Mb(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=Ic(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,s,{...l,get(){return u}}):Object.defineProperty(o,s,{...l,value:u})}return o}return e}function Vg(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 Vt=-1,Ut=1,At=0,wt=class{constructor(e,t){_t(this,0);_t(this,1);this[0]=e,this[1]=t}},XO=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,nP=Math.min(e.length,t.length),o=nP,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):nP=o,o=Math.floor((nP-r)/2+r);return o},Db=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,nP=Math.min(e.length,t.length),o=nP,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):nP=o,o=Math.floor((nP-r)/2+r);return o},Gg=function(e,t){let r=e.length,nP=t.length;if(r===0||nP===0)return 0;r>nP?e=e.substring(r-nP):r<nP&&(t=t.substring(0,r));let o=Math.min(r,nP);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},QO=function(e){let t=!1,r=[],nP=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===At?(r[nP++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===Ut?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[nP-1],0,new wt(Vt,o)),e[r[nP-1]+1][0]=Ut,nP--,nP--,i=nP>0?r[nP-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&qb(e),tN(e),i=1;i<e.length;){if(e[i-1][0]===Vt&&e[i][0]===Ut){let c=e[i-1][1],p=e[i][1],h=Gg(c,p),m=Gg(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new wt(At,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new wt(At,c.substring(0,m))),e[i-1][0]=Ut,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Vt,e[i+1][1]=c.substring(m),i++),i++}i++}},Wg=/[^a-z0-9]/i,Yg=/\s/,Kg=/[\r\nP]/,ZO=/\nP\r?\nP$/,eN=/^\r?\nP\r?\nP/;function tN(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===At&&e[t+1][0]===At){let r=e[t-1][1],nP=e[t][1],o=e[t+1][1],i=Db(r,nP);if(i){let c=nP.substring(nP.length-i);r=r.substring(0,r.length-i),nP=c+nP.substring(0,nP.length-i),o=c+o}let s=r,l=nP,u=o,d=Ps(r,nP)+Ps(nP,o);for(;nP.charAt(0)===o.charAt(0);){r+=nP.charAt(0),nP=nP.substring(1)+o.charAt(0),o=o.substring(1);let c=Ps(r,nP)+Ps(nP,o);c>=d&&(d=c,s=r,l=nP,u=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function qb(e){e.push(new wt(At,""));let t=0,r=0,nP=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Ut:nP++,i+=e[t][1],t++;break;case Vt:r++,o+=e[t][1],t++;break;case At:r+nP>1?(r!==0&&nP!==0&&(s=XO(i,o),s!==0&&(t-r-nP>0&&e[t-r-nP-1][0]===At?e[t-r-nP-1][1]+=i.substring(0,s):(e.splice(0,0,new wt(At,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=Db(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+nP,e.splice(t,r+nP),o.length&&(e.splice(t,0,new wt(Vt,o)),t++),i.length&&(e.splice(t,0,new wt(Ut,i)),t++),t++):t!==0&&e[t-1][0]===At?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,nP=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===At&&e[t+1][0]===At&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&qb(e)}function Ps(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),nP=t.charAt(0),o=r.match(Wg),i=nP.match(Wg),s=o&&r.match(Yg),l=i&&nP.match(Yg),u=s&&r.match(Kg),d=l&&nP.match(Kg),c=u&&e.match(ZO),p=d&&t.match(eN);return c||p?5:u||d?4:o&&!s&&l?3:s||l?2:o||i?1:0}var jb="Compared values have no visual difference.",rN="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Os={},Jg;function nN(){if(Jg)return Os;Jg=1,Object.defineProperty(Os,"__esModule",{value:!0}),Os.default=h;let e="diff-sequences",t=0,r=(m,g,b,y,E)=>{let _=0;for(;m<g&&b<y&&E(m,b);)m+=1,b+=1,_+=1;return _},nP=(m,g,b,y,E)=>{let _=0;for(;m<=g&&b<=y&&E(g,y);)g-=1,y-=1,_+=1;return _},o=(m,g,b,y,E,_,P)=>{let C=0,w=-m,S=_[C],T=S;_[C]+=r(S+1,g,y+S-w+1,b,E);let A=m<P?m:P;for(C+=1,w+=2;C<=A;C+=1,w+=2){if(C!==m&&T<_[C])S=_[C];else if(S=T+1,g<=S)return C-1;T=_[C],_[C]=S+r(S+1,g,y+S-w+1,b,E)}return P},i=(m,g,b,y,E,_,P)=>{let C=0,w=m,S=_[C],T=S;_[C]-=nP(g,S-1,b,y+S-w-1,E);let A=m<P?m:P;for(C+=1,w-=2;C<=A;C+=1,w-=2){if(C!==m&&_[C]<T)S=_[C];else if(S=T-1,S<g)return C-1;T=_[C],_[C]=S-nP(g,S-1,b,y+S-w-1,E)}return P},s=(m,g,b,y,E,_,P,C,w,S,T)=>{let A=y-g,N=b-g,U=E-y-N,X=-U-(m-1),V=-U+(m-1),J=t,x=m<C?m:C;for(let B=0,K=-m;B<=x;B+=1,K+=2){let fe=B===0||B!==m&&J<P[B],ce=fe?P[B]:J,Re=fe?ce:ce+1,Fe=A+Re-K,Oe=r(Re+1,b,Fe+1,E,_),le=Re+Oe;if(J=P[B],P[B]=le,X<=K&&K<=V){let se=(m-1-(K+U))/2;if(se<=S&&w[se]-1<=le){let de=A+ce-(fe?K+1:K-1),Se=nP(g,ce,y,de,_),qe=ce-Se,ke=de-Se,ot=qe+1,Ot=ke+1;T.nChangePreceding=m-1,m-1===ot+Ot-g-y?(T.aEndPreceding=g,T.bEndPreceding=y):(T.aEndPreceding=ot,T.bEndPreceding=Ot),T.nCommonPreceding=Se,Se!==0&&(T.aCommonPreceding=ot,T.bCommonPreceding=Ot),T.nCommonFollowing=Oe,Oe!==0&&(T.aCommonFollowing=Re+1,T.bCommonFollowing=Fe+1);let Y=le+1,Pe=Fe+Oe+1;return T.nChangeFollowing=m-1,m-1===b+E-Y-Pe?(T.aStartFollowing=b,T.bStartFollowing=E):(T.aStartFollowing=Y,T.bStartFollowing=Pe),!0}}}return!1},l=(m,g,b,y,E,_,P,C,w,S,T)=>{let A=E-b,N=b-g,U=E-y-N,X=U-m,V=U+m,J=t,x=m<S?m:S;for(let B=0,K=m;B<=x;B+=1,K-=2){let fe=B===0||B!==m&&w[B]<J,ce=fe?w[B]:J,Re=fe?ce:ce-1,Fe=A+Re-K,Oe=nP(g,Re-1,y,Fe-1,_),le=Re-Oe;if(J=w[B],w[B]=le,X<=K&&K<=V){let se=(m+(K-U))/2;if(se<=C&&le-1<=P[se]){let de=Fe-Oe;if(T.nChangePreceding=m,m===le+de-g-y?(T.aEndPreceding=g,T.bEndPreceding=y):(T.aEndPreceding=le,T.bEndPreceding=de),T.nCommonPreceding=Oe,Oe!==0&&(T.aCommonPreceding=le,T.bCommonPreceding=de),T.nChangeFollowing=m-1,m===1)T.nCommonFollowing=0,T.aStartFollowing=b,T.bStartFollowing=E;else{let Se=A+ce-(fe?K-1:K+1),qe=r(ce,b,Se,E,_);T.nCommonFollowing=qe,qe!==0&&(T.aCommonFollowing=ce,T.bCommonFollowing=Se);let ke=ce+qe,ot=Se+qe;m-1===b+E-ke-ot?(T.aStartFollowing=b,T.bStartFollowing=E):(T.aStartFollowing=ke,T.bStartFollowing=ot)}return!0}}}return!1},u=(m,g,b,y,E,_,P,C,w)=>{let S=y-g,T=E-b,A=b-g,N=E-y,U=N-A,X=A,V=A;if(P[0]=g-1,C[0]=b,U%2===0){let J=(m||U)/2,x=(A+N)/2;for(let B=1;B<=x;B+=1)if(X=o(B,b,E,S,_,P,X),B<J)V=i(B,g,y,T,_,C,V);else if(l(B,g,b,y,E,_,P,X,C,V,w))return}else{let J=((m||U)+1)/2,x=(A+N+1)/2,B=1;for(X=o(B,b,E,S,_,P,X),B+=1;B<=x;B+=1)if(V=i(B-1,g,y,T,_,C,V),B<J)X=o(B,b,E,S,_,P,X);else if(s(B,g,b,y,E,_,P,X,C,V,w))return}throw new Error(`${e}: no overlap aStart=${g} aEnd=${b} bStart=${y} bEnd=${E}`)},d=(m,g,b,y,E,_,P,C,w,S)=>{if(E-y<b-g){if(_=!_,_&&P.length===1){let{foundSubsequence:se,isCommon:de}=P[0];P[1]={foundSubsequence:(Se,qe,ke)=>{se(Se,ke,qe)},isCommon:(Se,qe)=>de(qe,Se)}}let Oe=g,le=b;g=y,b=E,y=Oe,E=le}let{foundSubsequence:T,isCommon:A}=P[_?1:0];u(m,g,b,y,E,A,C,w,S);let{nChangePreceding:N,aEndPreceding:U,bEndPreceding:X,nCommonPreceding:V,aCommonPreceding:J,bCommonPreceding:x,nCommonFollowing:B,aCommonFollowing:K,bCommonFollowing:fe,nChangeFollowing:ce,aStartFollowing:Re,bStartFollowing:Fe}=S;g<U&&y<X&&d(N,g,U,y,X,_,P,C,w,S),V!==0&&T(V,J,x),B!==0&&T(B,K,fe),Re<b&&Fe<E&&d(ce,Re,b,Fe,E,_,P,C,w,S)},c=(m,g)=>{if(typeof g!="number")throw new TypeError(`${e}: ${m} typeof ${typeof g} is not a number`);if(!Number.isSafeInteger(g))throw new RangeError(`${e}: ${m} value ${g} is not a safe integer`);if(g<0)throw new RangeError(`${e}: ${m} value ${g} is a negative integer`)},p=(m,g)=>{let b=typeof g;if(b!=="function")throw new TypeError(`${e}: ${m} typeof ${b} is not a function`)};function h(m,g,b,y){c("aLength",m),c("bLength",g),p("isCommon",b),p("foundSubsequence",y);let E=r(0,m,0,g,b);if(E!==0&&y(E,0,0),m!==E||g!==E){let _=E,P=E,C=nP(_,m-1,P,g-1,b),w=m-C,S=g-C,T=E+C;m!==T&&g!==T&&d(0,_,w,P,S,!1,[{foundSubsequence:y,isCommon:b}],[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}),C!==0&&y(C,w,S)}}return Os}var oN=nN(),Bb=YO(oN);function aN(e,t){return e.replace(/\s+$/,r=>t(r))}function Gc(e,t,r,nP,o,i){return e.length!==0?r(`${nP} ${aN(e,o)}`):nP!==" "?r(nP):t&&i.length!==0?r(`${nP} ${i}`):""}function kb(e,t,{aColor:r,aIndicator:nP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Gc(e,t,r,nP,o,i)}function Fb(e,t,{bColor:r,bIndicator:nP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Gc(e,t,r,nP,o,i)}function Lb(e,t,{commonColor:r,commonIndicator:nP,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Gc(e,t,r,nP,o,i)}function Xg(e,t,r,nP,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${nP-r} @@`)}function iN(e,t){let r=e.length,nP=t.contextLines,o=nP+nP,i=r,s=!1,l=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===At;)u+=1;if(C!==u)if(C===0)u>nP&&(i-=u-nP,s=!0);else if(u===r){let w=u-C;w>nP&&(i-=w-nP,s=!0)}else{let w=u-C;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==At;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,b=0,y=0,E=C=>{let w=p.length;p.push(Lb(C,w===0||w===c,t)),b+=1,y+=1},_=C=>{let w=p.length;p.push(kb(C,w===0||w===c,t)),b+=1},P=C=>{let w=p.length;p.push(Fb(C,w===0||w===c,t)),y+=1};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===At;)u+=1;if(C!==u)if(C===0){u>nP&&(C=u-nP,m=C,g=C,b=m,y=g);for(let w=C;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-C>nP?C+nP:u;for(let S=C;S!==w;S+=1)E(e[S][1])}else{let w=u-C;if(w>o){let S=C+nP;for(let A=C;A!==S;A+=1)E(e[A][1]);p[h]=Xg(m,b,g,y,t),h=p.length,p.push("");let T=w-o;m=b+T,g=y+T,b=m,y=g;for(let A=u-nP;A!==u;A+=1)E(e[A][1])}else for(let S=C;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Vt;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Ut;)P(e[u][1]),u+=1}return d&&(p[h]=Xg(m,b,g,y,t)),p.join(`
|
|
210
|
+
`}}function dO(e){return Array.from({length:e+1}).join(" ")}function Ur(e,t){if(t&&(lO(t),t.plugins)){let nP=Cb(t.plugins,e);if(nP!==null)return Sb(nP,e,Mg(t),"",0,[])}let r=_b(e,Rb(t),Tb(t),xb(t));return r!==null?r:wb(e,Mg(t),"",0,[])}var Pb={AsymmetricMatcher:lP,DOMCollection:mP,DOMElement:AP,Immutable:LP,ReactElement:WP,ReactTestComponent:QP},Ig={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"]},pO={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Ea="\u2026";function fO(e,t){let r=Ig[pO[t]]||Ig[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function hO({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:nP=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:d=String}={},c){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!nP,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:c,stylize:d};return p.colors&&(p.stylize=fO),p}function mO(e){return e>="\uD800"&&e<="\uDBFF"}function An(e,t,r=Ea){e=String(e);let nP=r.length,o=e.length;if(nP>t&&o>nP)return r;if(o>t&&o>nP){let i=t-nP;return i>0&&mO(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Tr(e,t,r,nP=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let d=0;d<o;d+=1){let c=d+1===e.length,p=d+2===e.length;u=`${Ea}(${e.length-d})`;let h=e[d];t.truncate=i-s.length-(c?0:nP.length);let m=l||r(h,t)+(c?"":nP),g=s.length+m.length,b=g+u.length;if(c&&g>i&&s.length+u.length<=i||!c&&!p&&b>i||(l=c?"":r(e[d+1],t)+(p?"":nP),!c&&p&&b>i&&g+l.length>i))break;if(s+=m,!c&&!p&&g+l.length>=i){u=`${Ea}(${e.length-d-1})`;break}u=""}return`${s}${u}`}function gO(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function gi([e,t],r){return r.truncate-=2,typeof e=="string"?e=gO(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function bO(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let nP=Tr(e,t);t.truncate-=nP.length;let o="";return r.length&&(o=Tr(r.map(i=>[i,e[i]]),t,gi)),`[ ${nP}${o?`, ${o}`:""} ]`}var yO=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function en(e,t){let r=yO(e);t.truncate-=r.length+4;let nP=Object.keys(e).slice(e.length);if(!e.length&&!nP.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(An(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${Ea}(${e.length-e[s]+1})`;break}o+=l}let i="";return nP.length&&(i=Tr(nP.map(s=>[s,e[s]]),t,gi)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function vO(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let nP=r.split("T"),o=nP[0];return t.stylize(`${o}T${An(nP[1],t.truncate-o.length-1)}`,"date")}function Dg(e,t){let r=e[Symbol.toStringTag]||"Function",nP=e.name;return nP?t.stylize(`[${r} ${An(nP,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function EO([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function _O(e){let t=[];return e.forEach((r,nP)=>{t.push([nP,r])}),t}function wO(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Tr(_O(e),t,EO)} }`)}var SO=Number.isNaN||(e=>e!==e);function qg(e,t){return SO(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(An(String(e),t.truncate),"number")}function jg(e,t){let r=An(e.toString(),t.truncate-1);return r!==Ea&&(r+="nP"),t.stylize(r,"bigint")}function CO(e,t){let r=e.toString().split("/")[2],nP=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${An(o,nP)}/${r}`,"regexp")}function AO(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function RO(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Tr(AO(e),t)} }`)}var Bg=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),TO={"\b":"\\b"," ":"\\t","\nP":"\\nP","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},xO=16,PO=4;function OO(e){return TO[e]||`\\u${`0000${e.charCodeAt(0).toString(xO)}`.slice(-PO)}`}function kg(e,t){return Bg.test(e)&&(e=e.replace(Bg,OO)),t.stylize(`'${An(e,t.truncate-2)}'`,"string")}function Fg(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var Ob=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Ob=(nP,o)=>{let[i,s]=e(nP);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`})}catch{}var NO=Ob;function Os(e,t){let r=Object.getOwnPropertyNames(e),nP=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&nP.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=Tr(r.map(l=>[l,e[l]]),t,gi),i=Tr(nP.map(l=>[l,e[l]]),t,gi);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}var Cc=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function MO(e,t){let r="";return Cc&&Cc in e&&(r=e[Cc]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Os(e,t)}`}function IO(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Tr(e,t)} ]`)}var DO=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function qO(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>DO.indexOf(s)===-1),nP=e.name;t.truncate-=nP.length;let o="";typeof e.message=="string"?o=An(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=Tr(r.map(s=>[s,e[s]]),t,gi);return`${nP}${o}${i?` { ${i} }`:""}`}function jO([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Pc(e,t){return Tr(e,t,Nb,`
|
|
211
|
+
`)}function Nb(e,t){let r=e.getAttributeNames(),nP=e.tagName.toLowerCase(),o=t.stylize(`<${nP}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${nP}>`,"special");t.truncate-=nP.length*2+5;let l="";r.length>0&&(l+=" ",l+=Tr(r.map(c=>[c,e.getAttribute(c)]),t,jO," ")),t.truncate-=l.length;let u=t.truncate,d=Pc(e.children,t);return d&&d.length>u&&(d=`${Ea}(${e.children.length})`),`${o}${l}${i}${d}${s}`}var BO=typeof Symbol=="function"&&typeof Symbol.for=="function",Ac=BO?Symbol.for("chai/inspect"):"@@chai/inspect",ga=!1;try{let e=require("util");ga=e.inspect?e.inspect.custom:!1}catch{ga=!1}var Lg=new WeakMap,$g={},Ug={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:qg,Number:qg,bigint:jg,BigInt:jg,string:kg,String:kg,function:Dg,Function:Dg,symbol:Fg,Symbol:Fg,Array:bO,Date:vO,Map:wO,Set:RO,RegExp:CO,Promise:NO,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:IO,Int8Array:en,Uint8Array:en,Uint8ClampedArray:en,Int16Array:en,Uint16Array:en,Int32Array:en,Uint32Array:en,Float32Array:en,Float64Array:en,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:qO,HTMLCollection:Pc,NodeList:Pc},kO=(e,t,r)=>Ac in e&&typeof e[Ac]=="function"?e[Ac](t):ga&&ga in e&&typeof e[ga]=="function"?e[ga](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Lg.has(e.constructor)?Lg.get(e.constructor)(e,t):$g[r]?$g[r](e,t):"",FO=Object.prototype.toString;function Oc(e,t={}){let r=hO(t,Oc),{customInspect:nP}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=FO.call(e).slice(8,-1)),o in Ug)return Ug[o](e,r);if(nP&&e){let s=kO(e,r,o);if(s)return typeof s=="string"?s:Oc(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Os(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Nb(e,r):"constructor"in e?e.constructor!==Object?MO(e,r):Os(e,r):e===Object(e)?Os(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:LO,DOMCollection:$O,DOMElement:UO,Immutable:HO,ReactElement:zO,ReactTestComponent:VO}=Pb,Hg=[VO,zO,UO,$O,HO,LO];function bi(e,t=10,{maxLength:r,...nP}={}){let o=r!=null?r:1e4,i;try{i=Ur(e,{maxDepth:t,escapeString:!1,plugins:Hg,...nP})}catch{i=Ur(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Hg,...nP})}return i.length>=o&&t>1?bi(e,Math.floor(t/2)):i}var GO=/%[sdjifoOc%]/g;function WO(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(hi(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,nP=e[0],o=String(nP).replace(GO,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?hi(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return hi(e[r++],{showHidden:!0,showProxy:!0});case"%O":return hi(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${hi(i)}`;return o}function hi(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Oc(e,t)}function YO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function KO(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Nc(e){return Object.prototype.toString.apply(e).slice(8,-1)}function JO(e,t){let r=typeof t=="function"?t:nP=>t.add(nP);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Mb(e){let t=new Set;return KO(e)?[]:(JO(e,t),Array.from(t))}var Ib={forceWritable:!1};function zg(e,t=Ib){return Mc(e,new WeakMap,t)}function Mc(e,t,r=Ib){let nP,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:nP=e.length}),t.set(e,o);nP--;)o[nP]=Mc(e[nP],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=Mb(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=Mc(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,s,{...l,get(){return u}}):Object.defineProperty(o,s,{...l,value:u})}return o}return e}function Vg(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 Vt=-1,Ut=1,At=0,wt=class{constructor(e,t){_t(this,0);_t(this,1);this[0]=e,this[1]=t}},XO=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,nP=Math.min(e.length,t.length),o=nP,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):nP=o,o=Math.floor((nP-r)/2+r);return o},Db=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,nP=Math.min(e.length,t.length),o=nP,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):nP=o,o=Math.floor((nP-r)/2+r);return o},Gg=function(e,t){let r=e.length,nP=t.length;if(r===0||nP===0)return 0;r>nP?e=e.substring(r-nP):r<nP&&(t=t.substring(0,r));let o=Math.min(r,nP);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},QO=function(e){let t=!1,r=[],nP=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===At?(r[nP++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===Ut?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[nP-1],0,new wt(Vt,o)),e[r[nP-1]+1][0]=Ut,nP--,nP--,i=nP>0?r[nP-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&qb(e),tN(e),i=1;i<e.length;){if(e[i-1][0]===Vt&&e[i][0]===Ut){let c=e[i-1][1],p=e[i][1],h=Gg(c,p),m=Gg(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new wt(At,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new wt(At,c.substring(0,m))),e[i-1][0]=Ut,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Vt,e[i+1][1]=c.substring(m),i++),i++}i++}},Wg=/[^a-z0-9]/i,Yg=/\s/,Kg=/[\r\nP]/,ZO=/\nP\r?\nP$/,eN=/^\r?\nP\r?\nP/;function tN(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===At&&e[t+1][0]===At){let r=e[t-1][1],nP=e[t][1],o=e[t+1][1],i=Db(r,nP);if(i){let c=nP.substring(nP.length-i);r=r.substring(0,r.length-i),nP=c+nP.substring(0,nP.length-i),o=c+o}let s=r,l=nP,u=o,d=xs(r,nP)+xs(nP,o);for(;nP.charAt(0)===o.charAt(0);){r+=nP.charAt(0),nP=nP.substring(1)+o.charAt(0),o=o.substring(1);let c=xs(r,nP)+xs(nP,o);c>=d&&(d=c,s=r,l=nP,u=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function qb(e){e.push(new wt(At,""));let t=0,r=0,nP=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Ut:nP++,i+=e[t][1],t++;break;case Vt:r++,o+=e[t][1],t++;break;case At:r+nP>1?(r!==0&&nP!==0&&(s=XO(i,o),s!==0&&(t-r-nP>0&&e[t-r-nP-1][0]===At?e[t-r-nP-1][1]+=i.substring(0,s):(e.splice(0,0,new wt(At,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=Db(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+nP,e.splice(t,r+nP),o.length&&(e.splice(t,0,new wt(Vt,o)),t++),i.length&&(e.splice(t,0,new wt(Ut,i)),t++),t++):t!==0&&e[t-1][0]===At?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,nP=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===At&&e[t+1][0]===At&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&qb(e)}function xs(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),nP=t.charAt(0),o=r.match(Wg),i=nP.match(Wg),s=o&&r.match(Yg),l=i&&nP.match(Yg),u=s&&r.match(Kg),d=l&&nP.match(Kg),c=u&&e.match(ZO),p=d&&t.match(eN);return c||p?5:u||d?4:o&&!s&&l?3:s||l?2:o||i?1:0}var jb="Compared values have no visual difference.",rN="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Ps={},Jg;function nN(){if(Jg)return Ps;Jg=1,Object.defineProperty(Ps,"__esModule",{value:!0}),Ps.default=h;let e="diff-sequences",t=0,r=(m,g,b,y,E)=>{let _=0;for(;m<g&&b<y&&E(m,b);)m+=1,b+=1,_+=1;return _},nP=(m,g,b,y,E)=>{let _=0;for(;m<=g&&b<=y&&E(g,y);)g-=1,y-=1,_+=1;return _},o=(m,g,b,y,E,_,P)=>{let C=0,w=-m,S=_[C],T=S;_[C]+=r(S+1,g,y+S-w+1,b,E);let A=m<P?m:P;for(C+=1,w+=2;C<=A;C+=1,w+=2){if(C!==m&&T<_[C])S=_[C];else if(S=T+1,g<=S)return C-1;T=_[C],_[C]=S+r(S+1,g,y+S-w+1,b,E)}return P},i=(m,g,b,y,E,_,P)=>{let C=0,w=m,S=_[C],T=S;_[C]-=nP(g,S-1,b,y+S-w-1,E);let A=m<P?m:P;for(C+=1,w-=2;C<=A;C+=1,w-=2){if(C!==m&&_[C]<T)S=_[C];else if(S=T-1,S<g)return C-1;T=_[C],_[C]=S-nP(g,S-1,b,y+S-w-1,E)}return P},s=(m,g,b,y,E,_,P,C,w,S,T)=>{let A=y-g,N=b-g,U=E-y-N,X=-U-(m-1),V=-U+(m-1),J=t,x=m<C?m:C;for(let B=0,K=-m;B<=x;B+=1,K+=2){let fe=B===0||B!==m&&J<P[B],ce=fe?P[B]:J,Re=fe?ce:ce+1,Fe=A+Re-K,Oe=r(Re+1,b,Fe+1,E,_),le=Re+Oe;if(J=P[B],P[B]=le,X<=K&&K<=V){let se=(m-1-(K+U))/2;if(se<=S&&w[se]-1<=le){let de=A+ce-(fe?K+1:K-1),Se=nP(g,ce,y,de,_),qe=ce-Se,ke=de-Se,ot=qe+1,Ot=ke+1;T.nChangePreceding=m-1,m-1===ot+Ot-g-y?(T.aEndPreceding=g,T.bEndPreceding=y):(T.aEndPreceding=ot,T.bEndPreceding=Ot),T.nCommonPreceding=Se,Se!==0&&(T.aCommonPreceding=ot,T.bCommonPreceding=Ot),T.nCommonFollowing=Oe,Oe!==0&&(T.aCommonFollowing=Re+1,T.bCommonFollowing=Fe+1);let Y=le+1,Pe=Fe+Oe+1;return T.nChangeFollowing=m-1,m-1===b+E-Y-Pe?(T.aStartFollowing=b,T.bStartFollowing=E):(T.aStartFollowing=Y,T.bStartFollowing=Pe),!0}}}return!1},l=(m,g,b,y,E,_,P,C,w,S,T)=>{let A=E-b,N=b-g,U=E-y-N,X=U-m,V=U+m,J=t,x=m<S?m:S;for(let B=0,K=m;B<=x;B+=1,K-=2){let fe=B===0||B!==m&&w[B]<J,ce=fe?w[B]:J,Re=fe?ce:ce-1,Fe=A+Re-K,Oe=nP(g,Re-1,y,Fe-1,_),le=Re-Oe;if(J=w[B],w[B]=le,X<=K&&K<=V){let se=(m+(K-U))/2;if(se<=C&&le-1<=P[se]){let de=Fe-Oe;if(T.nChangePreceding=m,m===le+de-g-y?(T.aEndPreceding=g,T.bEndPreceding=y):(T.aEndPreceding=le,T.bEndPreceding=de),T.nCommonPreceding=Oe,Oe!==0&&(T.aCommonPreceding=le,T.bCommonPreceding=de),T.nChangeFollowing=m-1,m===1)T.nCommonFollowing=0,T.aStartFollowing=b,T.bStartFollowing=E;else{let Se=A+ce-(fe?K-1:K+1),qe=r(ce,b,Se,E,_);T.nCommonFollowing=qe,qe!==0&&(T.aCommonFollowing=ce,T.bCommonFollowing=Se);let ke=ce+qe,ot=Se+qe;m-1===b+E-ke-ot?(T.aStartFollowing=b,T.bStartFollowing=E):(T.aStartFollowing=ke,T.bStartFollowing=ot)}return!0}}}return!1},u=(m,g,b,y,E,_,P,C,w)=>{let S=y-g,T=E-b,A=b-g,N=E-y,U=N-A,X=A,V=A;if(P[0]=g-1,C[0]=b,U%2===0){let J=(m||U)/2,x=(A+N)/2;for(let B=1;B<=x;B+=1)if(X=o(B,b,E,S,_,P,X),B<J)V=i(B,g,y,T,_,C,V);else if(l(B,g,b,y,E,_,P,X,C,V,w))return}else{let J=((m||U)+1)/2,x=(A+N+1)/2,B=1;for(X=o(B,b,E,S,_,P,X),B+=1;B<=x;B+=1)if(V=i(B-1,g,y,T,_,C,V),B<J)X=o(B,b,E,S,_,P,X);else if(s(B,g,b,y,E,_,P,X,C,V,w))return}throw new Error(`${e}: no overlap aStart=${g} aEnd=${b} bStart=${y} bEnd=${E}`)},d=(m,g,b,y,E,_,P,C,w,S)=>{if(E-y<b-g){if(_=!_,_&&P.length===1){let{foundSubsequence:se,isCommon:de}=P[0];P[1]={foundSubsequence:(Se,qe,ke)=>{se(Se,ke,qe)},isCommon:(Se,qe)=>de(qe,Se)}}let Oe=g,le=b;g=y,b=E,y=Oe,E=le}let{foundSubsequence:T,isCommon:A}=P[_?1:0];u(m,g,b,y,E,A,C,w,S);let{nChangePreceding:N,aEndPreceding:U,bEndPreceding:X,nCommonPreceding:V,aCommonPreceding:J,bCommonPreceding:x,nCommonFollowing:B,aCommonFollowing:K,bCommonFollowing:fe,nChangeFollowing:ce,aStartFollowing:Re,bStartFollowing:Fe}=S;g<U&&y<X&&d(N,g,U,y,X,_,P,C,w,S),V!==0&&T(V,J,x),B!==0&&T(B,K,fe),Re<b&&Fe<E&&d(ce,Re,b,Fe,E,_,P,C,w,S)},c=(m,g)=>{if(typeof g!="number")throw new TypeError(`${e}: ${m} typeof ${typeof g} is not a number`);if(!Number.isSafeInteger(g))throw new RangeError(`${e}: ${m} value ${g} is not a safe integer`);if(g<0)throw new RangeError(`${e}: ${m} value ${g} is a negative integer`)},p=(m,g)=>{let b=typeof g;if(b!=="function")throw new TypeError(`${e}: ${m} typeof ${b} is not a function`)};function h(m,g,b,y){c("aLength",m),c("bLength",g),p("isCommon",b),p("foundSubsequence",y);let E=r(0,m,0,g,b);if(E!==0&&y(E,0,0),m!==E||g!==E){let _=E,P=E,C=nP(_,m-1,P,g-1,b),w=m-C,S=g-C,T=E+C;m!==T&&g!==T&&d(0,_,w,P,S,!1,[{foundSubsequence:y,isCommon:b}],[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}),C!==0&&y(C,w,S)}}return Ps}var oN=nN(),Bb=YO(oN);function aN(e,t){return e.replace(/\s+$/,r=>t(r))}function Vc(e,t,r,nP,o,i){return e.length!==0?r(`${nP} ${aN(e,o)}`):nP!==" "?r(nP):t&&i.length!==0?r(`${nP} ${i}`):""}function kb(e,t,{aColor:r,aIndicator:nP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Vc(e,t,r,nP,o,i)}function Fb(e,t,{bColor:r,bIndicator:nP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Vc(e,t,r,nP,o,i)}function Lb(e,t,{commonColor:r,commonIndicator:nP,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Vc(e,t,r,nP,o,i)}function Xg(e,t,r,nP,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${nP-r} @@`)}function iN(e,t){let r=e.length,nP=t.contextLines,o=nP+nP,i=r,s=!1,l=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===At;)u+=1;if(C!==u)if(C===0)u>nP&&(i-=u-nP,s=!0);else if(u===r){let w=u-C;w>nP&&(i-=w-nP,s=!0)}else{let w=u-C;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==At;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,b=0,y=0,E=C=>{let w=p.length;p.push(Lb(C,w===0||w===c,t)),b+=1,y+=1},_=C=>{let w=p.length;p.push(kb(C,w===0||w===c,t)),b+=1},P=C=>{let w=p.length;p.push(Fb(C,w===0||w===c,t)),y+=1};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===At;)u+=1;if(C!==u)if(C===0){u>nP&&(C=u-nP,m=C,g=C,b=m,y=g);for(let w=C;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-C>nP?C+nP:u;for(let S=C;S!==w;S+=1)E(e[S][1])}else{let w=u-C;if(w>o){let S=C+nP;for(let A=C;A!==S;A+=1)E(e[A][1]);p[h]=Xg(m,b,g,y,t),h=p.length,p.push("");let T=w-o;m=b+T,g=y+T,b=m,y=g;for(let A=u-nP;A!==u;A+=1)E(e[A][1])}else for(let S=C;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Vt;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Ut;)P(e[u][1]),u+=1}return d&&(p[h]=Xg(m,b,g,y,t)),p.join(`
|
|
212
212
|
`)}function sN(e,t){return e.map((r,nP,o)=>{let i=r[1],s=nP===0||nP===o.length-1;switch(r[0]){case Vt:return kb(i,s,t);case Ut:return Fb(i,s,t);default:return Lb(i,s,t)}}).join(`
|
|
213
|
-
`)}var
|
|
213
|
+
`)}var Rc=e=>e,$b=5,lN=0;function uN(){return{aAnnotation:"Expected",aColor:tn.green,aIndicator:"-",bAnnotation:"Received",bColor:tn.red,bIndicator:"+",changeColor:tn.inverse,changeLineTrailingSpaceColor:Rc,commonColor:tn.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Rc,compareKeys:void 0,contextLines:$b,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:tn.yellow,truncateThreshold:lN,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Rc}}function cN(e){return e&&typeof e=="function"?e:void 0}function dN(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:$b}function Jn(e={}){return{...uN(),...e,compareKeys:cN(e.compareKeys),contextLines:dN(e.contextLines)}}function ba(e){return e.length===1&&e[0].length===0}function pN(e){let t=0,r=0;return e.forEach(nP=>{switch(nP[0]){case Vt:t+=1;break;case Ut:r+=1;break}}),{a:t,b:r}}function fN({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:nP,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let d="",c="";if(s){let m=String(u.a),g=String(u.b),b=nP.length-e.length,y=" ".repeat(Math.max(0,b)),E=" ".repeat(Math.max(0,-b)),_=g.length-m.length,P=" ".repeat(Math.max(0,_)),C=" ".repeat(Math.max(0,-_));d=`${y} ${r} ${P}${m}`,c=`${E} ${i} ${C}${g}`}let p=`${r} ${e}${d}`,h=`${i} ${nP}${c}`;return`${t(p)}
|
|
214
214
|
${o(h)}
|
|
215
215
|
|
|
216
|
-
`}function
|
|
217
|
-
${r.truncateAnnotation}`):"")}function
|
|
216
|
+
`}function Gc(e,t,r){return fN(r,pN(e))+(r.expand?sN(e,r):iN(e,r))+(t?r.truncateAnnotationColor(`
|
|
217
|
+
${r.truncateAnnotation}`):"")}function Ds(e,t,r){let nP=Jn(r),[o,i]=Ub(ba(e)?[]:e,ba(t)?[]:t,nP);return Gc(o,i,nP)}function hN(e,t,r,nP,o){if(ba(e)&&ba(r)&&(e=[],r=[]),ba(t)&&ba(nP)&&(t=[],nP=[]),e.length!==r.length||t.length!==nP.length)return Ds(e,t,o);let[i,s]=Ub(r,nP,o),l=0,u=0;return i.forEach(d=>{switch(d[0]){case Vt:d[1]=e[l],l+=1;break;case Ut:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),Gc(i,s,Jn(o))}function Ub(e,t,r){var h,m;let nP=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=nP?Math.min(e.length,o):e.length,s=nP?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(g,b)=>e[g]===t[b],d=[],c=0,p=0;for(Bb(i,s,u,(g,b,y)=>{for(;c!==b;c+=1)d.push(new wt(Vt,e[c]));for(;p!==y;p+=1)d.push(new wt(Ut,t[p]));for(;g!==0;g-=1,c+=1,p+=1)d.push(new wt(At,t[p]))});c!==i;c+=1)d.push(new wt(Vt,e[c]));for(;p!==s;p+=1)d.push(new wt(Ut,t[p]));return[d,l]}function Qg(e){return e.includes(`\r
|
|
218
218
|
`)?`\r
|
|
219
219
|
`:`
|
|
220
220
|
`}function mN(e,t,r){var h,m;let nP=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=e.length,s=t.length;if(nP){let g=e.includes(`
|
|
@@ -230,64 +230,64 @@ ${r.truncateAnnotation}`):"")}function qs(e,t,r){let nP=Jn(r),[o,i]=Ub(ba(e)?[]:
|
|
|
230
230
|
`)||t.includes(`
|
|
231
231
|
`),[o,i]=Hb(nP?`${e}
|
|
232
232
|
`:e,nP?`${t}
|
|
233
|
-
`:t,!0,r);if(vN(o,nP)){let s=Jn(r),l=yN(o,s.changeColor);return
|
|
233
|
+
`:t,!0,r);if(vN(o,nP)){let s=Jn(r),l=yN(o,s.changeColor);return Gc(l,i,s)}}return Ds(e.split(`
|
|
234
234
|
`),t.split(`
|
|
235
|
-
`),r)}function Hb(e,t,r,nP){let[o,i]=mN(e,t,nP);return r&&QO(o),[o,i]}function
|
|
235
|
+
`),r)}function Hb(e,t,r,nP){let[o,i]=mN(e,t,nP);return r&&QO(o),[o,i]}function Ic(e,t){let{commonColor:r}=Jn(t);return r(e)}var{AsymmetricMatcher:_N,DOMCollection:wN,DOMElement:SN,Immutable:CN,ReactElement:AN,ReactTestComponent:RN}=Pb,zb=[RN,AN,SN,wN,CN,_N],Dc={plugins:zb},Vb={callToJSON:!1,maxDepth:10,plugins:zb};function TN(e,t,r){if(Object.is(e,t))return"";let nP=Vg(e),o=nP,i=!1;if(nP==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==Vg(t)){let{aAnnotation:s,aColor:l,aIndicator:u,bAnnotation:d,bColor:c,bIndicator:p}=Jn(r),h=qc(Vb,r),m=Ur(e,h),g=Ur(t,h),b=`${l(`${u} ${s}:`)}
|
|
236
236
|
${m}`,y=`${c(`${p} ${d}:`)}
|
|
237
237
|
${g}`;return`${b}
|
|
238
238
|
|
|
239
|
-
${y}`}if(!i)switch(nP){case"string":return
|
|
239
|
+
${y}`}if(!i)switch(nP){case"string":return Ds(e.split(`
|
|
240
240
|
`),t.split(`
|
|
241
|
-
`),r);case"boolean":case"number":return xN(e,t,r);case"map":return
|
|
241
|
+
`),r);case"boolean":case"number":return xN(e,t,r);case"map":return Tc(eb(e),eb(t),r);case"set":return Tc(tb(e),tb(t),r);default:return Tc(e,t,r)}}function xN(e,t,r){let nP=Ur(e,Dc),o=Ur(t,Dc);return nP===o?"":Ds(nP.split(`
|
|
242
242
|
`),o.split(`
|
|
243
|
-
`),r)}function eb(e){return new Map(Array.from(e.entries()).sort())}function tb(e){return new Set(Array.from(e.values()).sort())}function
|
|
243
|
+
`),r)}function eb(e){return new Map(Array.from(e.entries()).sort())}function tb(e){return new Set(Array.from(e.values()).sort())}function Tc(e,t,r){let nP,o=!1;try{let s=qc(Dc,r);nP=rb(e,t,s,r)}catch{o=!0}let i=Ic(jb,r);if(nP===void 0||nP===i){let s=qc(Vb,r);nP=rb(e,t,s,r),nP!==i&&!o&&(nP=`${Ic(rN,r)}
|
|
244
244
|
|
|
245
|
-
${nP}`)}return nP}function
|
|
245
|
+
${nP}`)}return nP}function qc(e,t){let{compareKeys:r}=Jn(t);return{...e,compareKeys:r}}function rb(e,t,r,nP){let o={...r,indent:0},i=Ur(e,o),s=Ur(t,o);if(i===s)return Ic(jb,nP);{let l=Ur(e,r),u=Ur(t,r);return hN(l.split(`
|
|
246
246
|
`),u.split(`
|
|
247
247
|
`),i.split(`
|
|
248
248
|
`),s.split(`
|
|
249
|
-
`),nP)}}var nb=2e4;function ob(e){return
|
|
249
|
+
`),nP)}}var nb=2e4;function ob(e){return Nc(e)==="Object"&&typeof e.asymmetricMatch=="function"}function ab(e,t){let r=Nc(e),nP=Nc(t);return r===nP&&(r==="Object"||r==="Array")}function PN(e,t,r){let{aAnnotation:nP,bAnnotation:o}=Jn(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=nb&&t.length<=nb&&e!==t){if(e.includes(`
|
|
250
250
|
`)||t.includes(`
|
|
251
251
|
`))return EN(t,e,r);let[d]=Hb(t,e,!0),c=d.some(g=>g[0]===At),p=ON(nP,o),h=p(nP)+IN(ib(d,Vt,c)),m=p(o)+MN(ib(d,Ut,c));return`${h}
|
|
252
252
|
${m}`}let i=zg(e,{forceWritable:!0}),s=zg(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=Gb(i,s);return TN(l,u,r)}function Gb(e,t,r=new WeakSet,nP=new WeakSet){return ab(e,t)?r.has(e)||nP.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),nP.add(t),Mb(t).forEach(o=>{let i=t[o],s=e[o];if(ob(i))i.asymmetricMatch(s)&&(e[o]=i);else if(ob(s))s.asymmetricMatch(i)&&(t[o]=s);else if(ab(s,i)){let l=Gb(s,i,r,nP);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function ON(...e){let t=e.reduce((r,nP)=>nP.length>r?nP.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var NN="\xB7";function Wb(e){return e.replace(/\s+$/gm,t=>NN.repeat(t.length))}function MN(e){return tn.red(Wb(bi(e)))}function IN(e){return tn.green(Wb(bi(e)))}function ib(e,t,r){return e.reduce((nP,o)=>nP+(o[0]===At?o[1]:o[0]===t?r?tn.inverse(o[1]):o[1]:""),"")}var DN="@@__IMMUTABLE_RECORD__@@",qN="@@__IMMUTABLE_ITERABLE__@@";function jN(e){return e&&(e[qN]||e[DN])}var BN=Object.getPrototypeOf({});function sb(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function ya(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(jN(e))return ya(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()} ${WO(e.sample)}`;if(typeof e.toJSON=="function")return ya(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((nP,o)=>{try{r[o]=ya(nP,t)}catch(i){r[o]=sb(i)}}),r}else{let r=Object.create(null);t.set(e,r);let nP=e;for(;nP&&nP!==BN;)Object.getOwnPropertyNames(nP).forEach(o=>{if(!(o in r))try{r[o]=ya(e[o],t)}catch(i){delete r[o],r[o]=sb(i)}}),nP=Object.getPrototypeOf(nP);return r}}function kN(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Yb(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let nP=e;nP.stack&&(nP.stackStr=String(nP.stack)),nP.name&&(nP.nameStr=String(nP.name)),(nP.showDiff||nP.showDiff===void 0&&nP.expected!==void 0&&nP.actual!==void 0)&&(nP.diff=PN(nP.actual,nP.expected,{...t,...nP.diffOptions})),typeof nP.expected!="string"&&(nP.expected=bi(nP.expected,10)),typeof nP.actual!="string"&&(nP.actual=bi(nP.actual,10));try{typeof nP.message=="string"&&(nP.message=kN(nP.message))}catch{}try{!r.has(nP)&&typeof nP.cause=="object"&&(r.add(nP),nP.cause=Yb(nP.cause,t,r))}catch{}try{return ya(nP)}catch(o){return ya(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
|
|
253
|
-
Inner error message: ${nP==null?void 0:nP.message}`))}}var Kb=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(Kb||{}),$r={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"},lb={start:!1,back:!1,goto:!1,next:!1,end:!1},FN=new Error("This function ran after the play function completed. Did you forget to `await` it?"),ub=e=>Object.prototype.toString.call(e)==="[object Object]",LN=e=>Object.prototype.toString.call(e)==="[object Module]",$N=e=>{if(!ub(e)&&!LN(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!ub(t)},UN=e=>{try{return new e.constructor}catch{return{}}},Pc=()=>({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}),cb=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let nP=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:nP}},HN=class{constructor(){var s;this.initialized=!1,this.channel=Qx.addons.getChannel(),this.state=((s=er.global.window)==null?void 0:s.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{};let e=({storyId:l,isPlaying:u=!0,isDebugging:d=!1})=>{let c=this.getState(l);this.setState(l,{...Pc(),...cb(c,d),shadowCalls:d?c.shadowCalls:[],chainedCallIds:d?c.chainedCallIds:new Set,playUntil:d?c.playUntil:void 0,isPlaying:u,isDebugging:d}),this.sync(l)};this.channel.on(xs.FORCE_REMOUNT,e),this.channel.on(xs.STORY_RENDER_PHASE_CHANGED,({storyId:l,newPhase:u})=>{let{isDebugging:d}=this.getState(l);this.setState(l,{renderPhase:u}),u==="preparing"&&d&&e({storyId:l}),u==="playing"&&e({storyId:l,isDebugging:d}),u==="played"&&this.setState(l,{isLocked:!1,isPlaying:!1,isDebugging:!1}),u==="errored"&&this.setState(l,{isLocked:!1,isPlaying:!1})}),this.channel.on(xs.SET_CURRENT_STORY,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:l,playUntil:u})=>{this.getState(l).isDebugging||this.setState(l,({calls:c})=>({calls:[],shadowCalls:c.map(p=>({...p,status:"waiting"})),isDebugging:!0}));let d=this.getLog(l);this.setState(l,({shadowCalls:c})=>{var h;if(u||!d.length)return{playUntil:u};let p=c.findIndex(m=>m.id===d[0].callId);return{playUntil:(h=c.slice(0,p).filter(m=>m.interceptable&&!m.ancestors.length).slice(-1)[0])==null?void 0:h.id}}),this.channel.emit(xs.FORCE_REMOUNT,{storyId:l,isDebugging:!0})},r=({storyId:l})=>{var c;let u=this.getLog(l).filter(p=>!p.ancestors.length),d=u.reduceRight((p,h,m)=>p>=0||h.status==="waiting"?p:m,-1);t({storyId:l,playUntil:(c=u[d-1])==null?void 0:c.callId})},nP=({storyId:l,callId:u})=>{var g;let{calls:d,shadowCalls:c,resolvers:p}=this.getState(l),h=d.find(({id:b})=>b===u),m=c.find(({id:b})=>b===u);if(!h&&m&&Object.values(p).length>0){let b=(g=this.getLog(l).find(y=>y.status==="waiting"))==null?void 0:g.callId;m.id!==b&&this.setState(l,{playUntil:m.id}),Object.values(p).forEach(y=>y())}else t({storyId:l,playUntil:u})},o=({storyId:l})=>{var d;let{resolvers:u}=this.getState(l);if(Object.values(u).length>0)Object.values(u).forEach(c=>c());else{let c=(d=this.getLog(l).find(p=>p.status==="waiting"))==null?void 0:d.callId;c?t({storyId:l,playUntil:c}):i({storyId:l})}},i=({storyId:l})=>{this.setState(l,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(l).resolvers).forEach(u=>u())};this.channel.on($r.START,t),this.channel.on($r.BACK,r),this.channel.on($r.GOTO,nP),this.channel.on($r.NEXT,o),this.channel.on($r.END,i)}getState(e){return this.state[e]||Pc()}setState(e,t){var o;let r=this.getState(e),nP=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...nP}},(o=er.global.window)!=null&&o.parent&&(er.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){var t;this.state=Object.entries(this.state).reduce((r,[nP,o])=>{let i=cb(o);return i&&(r[nP]=Object.assign(Pc(),i)),r},{});let e={controlStates:lb,logItems:[]};this.channel.emit($r.SYNC,e),(t=er.global.window)!=null&&t.parent&&(er.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),nP=[...r];t.forEach((i,s)=>{nP[s]=i});let o=new Set;return nP.reduceRight((i,s)=>(s.args.forEach(l=>{l!=null&&l.__callId__&&o.add(l.__callId__)}),s.path.forEach(l=>{l.__callId__&&o.add(l.__callId__)}),(s.interceptable||s.exception)&&!o.has(s.id)&&(i.unshift({callId:s.id,status:s.status,ancestors:s.ancestors}),o.add(s.id)),i),[])}instrument(e,t,r=0){if(!$N(e))return e;let{mutate:nP=!1,path:o=[]}=t,i=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,i.reduce((s,l)=>{let u=VN(e,l);if(typeof(u==null?void 0:u.get)=="function"){let c=()=>{var p,h;return(h=(p=u==null?void 0:u.get)==null?void 0:p.bind(e))==null?void 0:h()};return Object.defineProperty(s,l,{get:()=>this.instrument(c(),{...t,path:o.concat(l)},r)}),s}let d=e[l];return typeof d!="function"?(s[l]=this.instrument(d,{...t,path:o.concat(l)},r),s):"__originalFn__"in d&&typeof d.__originalFn__=="function"?(s[l]=d,s):(s[l]=(...c)=>this.track(l,d,e,c,t),s[l].__originalFn__=d,Object.defineProperty(s[l],"name",{value:l,writable:!1}),Object.keys(d).length>0&&Object.assign(s[l],this.instrument({...d},{...t,path:o.concat(l)},r)),s)},nP?e:UN(e))}track(e,t,r,nP,o){var b,y,E,_;let i=((b=nP==null?void 0:nP[0])==null?void 0:b.__storyId__)||((_=(E=(y=er.global.__STORYBOOK_PREVIEW__)==null?void 0:y.selectionStore)==null?void 0:E.selection)==null?void 0:_.storyId),{cursor:s,ancestors:l}=this.getState(i);this.setState(i,{cursor:s+1});let u=`${l.slice(-1)[0]||i} [${s}] ${e}`,{path:d=[],intercept:c=!1,retain:p=!1}=o,h=typeof c=="function"?c(e,d):c,m={id:u,cursor:s,storyId:i,ancestors:l,path:d,method:e,args:nP,interceptable:h,retain:p},g=(h&&!l.length?this.intercept:this.invoke).call(this,t,r,m,o);return this.instrument(g,{...o,mutate:!0,path:[{__callId__:m.id}]})}intercept(e,t,r,nP){let{chainedCallIds:o,isDebugging:i,playUntil:s}=this.getState(r.storyId),l=o.has(r.id);return!i||l||s?(s===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,nP)):new Promise(u=>{this.setState(r.storyId,({resolvers:d})=>({isLocked:!1,resolvers:{...d,[r.id]:u}}))}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:d,...c}=u.resolvers;return{isLocked:!0,resolvers:c}}),this.invoke(e,t,r,nP)))}invoke(e,t,r,nP){let{callRefsByResult:o,renderPhase:i}=this.getState(r.storyId),s=25,l=(c,p,h)=>{var m,g,b;if(h.includes(c))return"[Circular]";if(h=[...h,c],p>s)return"...";if(o.has(c))return o.get(c);if(c instanceof Array)return c.map(y=>l(y,++p,h));if(c instanceof Date)return{__date__:{value:c.toISOString()}};if(c instanceof Error){let{name:y,message:E,stack:_}=c;return{__error__:{name:y,message:E,stack:_}}}if(c instanceof RegExp){let{flags:y,source:E}=c;return{__regexp__:{flags:y,source:E}}}if(c instanceof((m=er.global.window)==null?void 0:m.HTMLElement)){let{prefix:y,localName:E,id:_,classList:P,innerText:C}=c,w=Array.from(P);return{__element__:{prefix:y,localName:E,id:_,classNames:w,innerText:C}}}return typeof c=="function"?{__function__:{name:"getMockName"in c?c.getMockName():c.name}}:typeof c=="symbol"?{__symbol__:{description:c.description}}:typeof c=="object"&&((g=c==null?void 0:c.constructor)!=null&&g.name)&&((b=c==null?void 0:c.constructor)==null?void 0:b.name)!=="Object"?{__class__:{name:c.constructor.name}}:Object.prototype.toString.call(c)==="[object Object]"?Object.fromEntries(Object.entries(c).map(([y,E])=>[y,l(E,++p,h)])):c},u={...r,args:r.args.map(c=>l(c,0,[]))};r.path.forEach(c=>{c!=null&&c.__callId__&&this.setState(r.storyId,({chainedCallIds:p})=>({chainedCallIds:new Set(Array.from(p).concat(c.__callId__))}))});let d=c=>{if(c instanceof Error){let{name:p,message:h,stack:m,callId:g=r.id}=c,{showDiff:b=void 0,diff:y=void 0,actual:E=void 0,expected:_=void 0}=c.name==="AssertionError"?Yb(c):c,P={name:p,message:h,stack:m,callId:g,showDiff:b,diff:y,actual:E,expected:_};if(this.update({...u,status:"error",exception:P}),this.setState(r.storyId,C=>({callRefsByResult:new Map([...Array.from(C.callRefsByResult.entries()),[c,{__callId__:r.id,retain:r.retain}]])})),r.ancestors.length)throw Object.prototype.hasOwnProperty.call(c,"callId")||Object.defineProperty(c,"callId",{value:r.id}),c}throw c};try{if(i==="played"&&!r.retain)throw FN;let c=(nP.getArgs?nP.getArgs(r,this.getState(r.storyId)):r.args).map(h=>typeof h!="function"||Object.keys(h).length?h:(...m)=>{let{cursor:g,ancestors:b}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...b,r.id]});let y=()=>this.setState(r.storyId,{cursor:g,ancestors:b}),E=!1;try{let _=h(...m);return _ instanceof Promise?(E=!0,_.finally(y)):_}finally{E||y()}}),p=e.apply(t,c);return p&&["object","function","symbol"].includes(typeof p)&&this.setState(r.storyId,h=>({callRefsByResult:new Map([...Array.from(h.callRefsByResult.entries()),[p,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:p instanceof Promise?"active":"done"}),p instanceof Promise?p.then(h=>(this.update({...u,status:"done"}),h),d):p}catch(c){return d(c)}}update(e){this.channel.emit($r.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((nP,o)=>Object.assign(nP,{[o.id]:o}),{});return{calls:Object.values(r).sort((nP,o)=>nP.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var d;let{isLocked:r,isPlaying:nP}=this.getState(e),o=this.getLog(e),i=(d=o.filter(({ancestors:c})=>!c.length).find(c=>c.status==="waiting"))==null?void 0:d.callId,s=o.some(c=>c.status==="active");if(r||s||o.length===0){let c={controlStates:lb,logItems:o};this.channel.emit($r.SYNC,c);return}let l=o.some(c=>c.status==="done"||c.status==="error"),u={controlStates:{start:l,back:l,goto:!0,next:nP,end:nP},logItems:o,pausedAt:i};this.channel.emit($r.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function zN(e,t={}){var r,nP,o,i,s,l,u,d;try{let c=!1,p=!1;return(o=(nP=(r=er.global.window)==null?void 0:r.location)==null?void 0:nP.search)!=null&&o.includes("instrument=true")?c=!0:(l=(s=(i=er.global.window)==null?void 0:i.location)==null?void 0:s.search)!=null&&l.includes("instrument=false")&&(p=!0),((u=er.global.window)==null?void 0:u.parent)===er.global.window&&!c||p?e:(er.global.window&&!er.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(er.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new HN),((d=er.global.window)==null?void 0:d.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(c){return Xx.once.warn(c),e}}function VN(e,t){let r=e;for(;r!=null;){let nP=Object.getOwnPropertyDescriptor(r,t);if(nP)return nP;r=Object.getPrototypeOf(r)}}});var gS=pr((w8,Zn)=>{"use strict";var GN=Object.create,gl=Object.defineProperty,WN=Object.getOwnPropertyDescriptor,ov=Object.getOwnPropertyNames,YN=Object.getPrototypeOf,KN=Object.prototype.hasOwnProperty,M=(e,t)=>function(){return t||(0,e[ov(e)[0]])((t={exports:{}}).exports,t),t.exports},bl=(e,t)=>{for(var r in t)gl(e,r,{get:t[r],enumerable:!0})},av=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ov(t))!KN.call(e,o)&&o!==r&&gl(e,o,{get:()=>t[o],enumerable:!(nP=WN(t,o))||nP.enumerable});return e},dr=(e,t,r)=>(r=e!=null?GN(YN(e)):{},av(t||!e||!e.__esModule?gl(r,"default",{value:e,enumerable:!0}):r,e)),JN=e=>av(gl({},"__esModule",{value:!0}),e),XN=M({"../../node_modules/min-indent/index.js"(e,t){"use strict";t.exports=r=>{let nP=r.match(/^[ \t]*(?=\S)/gm);return nP?nP.reduce((o,i)=>Math.min(o,i.length),1/0):0}}}),QN=M({"../../node_modules/strip-indent/index.js"(e,t){"use strict";var r=XN();t.exports=nP=>{let o=r(nP);if(o===0)return nP;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return nP.replace(i,"")}}}),ZN=M({"../../node_modules/indent-string/index.js"(e,t){"use strict";t.exports=(r,nP=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 nP!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof nP}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(nP===0)return r;let i=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,o.indent.repeat(nP))}}}),iv=M({"../../node_modules/redent/index.js"(e,t){"use strict";var r=QN(),nP=ZN();t.exports=(o,i=0,s)=>nP(r(o),i,s)}}),eM=M({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var nP=this,o=0,i={"@@iterator":function(){return i},next:function(){if(o<nP.length){var s=nP[o];return o=o+1,{done:!1,value:s}}else return{done:!0}}};return i}var r=t;e.default=r}}),Vi=M({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(eM());function r(i){return i&&i.__esModule?i:{default:i}}function nP(i){"@babel/helpers - typeof";return nP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},nP(i)}function o(i,s){return typeof Symbol=="function"&&nP(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(s)}),i}}}),tM=M({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Vi());function r(m){return m&&m.__esModule?m:{default:m}}function nP(m,g){return s(m)||i(m,g)||u(m,g)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
253
|
+
Inner error message: ${nP==null?void 0:nP.message}`))}}var Kb=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(Kb||{}),$r={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"},lb={start:!1,back:!1,goto:!1,next:!1,end:!1},FN=new Error("This function ran after the play function completed. Did you forget to `await` it?"),ub=e=>Object.prototype.toString.call(e)==="[object Object]",LN=e=>Object.prototype.toString.call(e)==="[object Module]",$N=e=>{if(!ub(e)&&!LN(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!ub(t)},UN=e=>{try{return new e.constructor}catch{return{}}},xc=()=>({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}),cb=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let nP=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:nP}},HN=class{constructor(){var s;this.initialized=!1,this.channel=Qx.addons.getChannel(),this.state=((s=er.global.window)==null?void 0:s.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{};let e=({storyId:l,isPlaying:u=!0,isDebugging:d=!1})=>{let c=this.getState(l);this.setState(l,{...xc(),...cb(c,d),shadowCalls:d?c.shadowCalls:[],chainedCallIds:d?c.chainedCallIds:new Set,playUntil:d?c.playUntil:void 0,isPlaying:u,isDebugging:d}),this.sync(l)};this.channel.on(Ts.FORCE_REMOUNT,e),this.channel.on(Ts.STORY_RENDER_PHASE_CHANGED,({storyId:l,newPhase:u})=>{let{isDebugging:d}=this.getState(l);this.setState(l,{renderPhase:u}),u==="preparing"&&d&&e({storyId:l}),u==="playing"&&e({storyId:l,isDebugging:d}),u==="played"&&this.setState(l,{isLocked:!1,isPlaying:!1,isDebugging:!1}),u==="errored"&&this.setState(l,{isLocked:!1,isPlaying:!1})}),this.channel.on(Ts.SET_CURRENT_STORY,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:l,playUntil:u})=>{this.getState(l).isDebugging||this.setState(l,({calls:c})=>({calls:[],shadowCalls:c.map(p=>({...p,status:"waiting"})),isDebugging:!0}));let d=this.getLog(l);this.setState(l,({shadowCalls:c})=>{var h;if(u||!d.length)return{playUntil:u};let p=c.findIndex(m=>m.id===d[0].callId);return{playUntil:(h=c.slice(0,p).filter(m=>m.interceptable&&!m.ancestors.length).slice(-1)[0])==null?void 0:h.id}}),this.channel.emit(Ts.FORCE_REMOUNT,{storyId:l,isDebugging:!0})},r=({storyId:l})=>{var c;let u=this.getLog(l).filter(p=>!p.ancestors.length),d=u.reduceRight((p,h,m)=>p>=0||h.status==="waiting"?p:m,-1);t({storyId:l,playUntil:(c=u[d-1])==null?void 0:c.callId})},nP=({storyId:l,callId:u})=>{var g;let{calls:d,shadowCalls:c,resolvers:p}=this.getState(l),h=d.find(({id:b})=>b===u),m=c.find(({id:b})=>b===u);if(!h&&m&&Object.values(p).length>0){let b=(g=this.getLog(l).find(y=>y.status==="waiting"))==null?void 0:g.callId;m.id!==b&&this.setState(l,{playUntil:m.id}),Object.values(p).forEach(y=>y())}else t({storyId:l,playUntil:u})},o=({storyId:l})=>{var d;let{resolvers:u}=this.getState(l);if(Object.values(u).length>0)Object.values(u).forEach(c=>c());else{let c=(d=this.getLog(l).find(p=>p.status==="waiting"))==null?void 0:d.callId;c?t({storyId:l,playUntil:c}):i({storyId:l})}},i=({storyId:l})=>{this.setState(l,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(l).resolvers).forEach(u=>u())};this.channel.on($r.START,t),this.channel.on($r.BACK,r),this.channel.on($r.GOTO,nP),this.channel.on($r.NEXT,o),this.channel.on($r.END,i)}getState(e){return this.state[e]||xc()}setState(e,t){var o;let r=this.getState(e),nP=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...nP}},(o=er.global.window)!=null&&o.parent&&(er.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){var t;this.state=Object.entries(this.state).reduce((r,[nP,o])=>{let i=cb(o);return i&&(r[nP]=Object.assign(xc(),i)),r},{});let e={controlStates:lb,logItems:[]};this.channel.emit($r.SYNC,e),(t=er.global.window)!=null&&t.parent&&(er.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),nP=[...r];t.forEach((i,s)=>{nP[s]=i});let o=new Set;return nP.reduceRight((i,s)=>(s.args.forEach(l=>{l!=null&&l.__callId__&&o.add(l.__callId__)}),s.path.forEach(l=>{l.__callId__&&o.add(l.__callId__)}),(s.interceptable||s.exception)&&!o.has(s.id)&&(i.unshift({callId:s.id,status:s.status,ancestors:s.ancestors}),o.add(s.id)),i),[])}instrument(e,t,r=0){if(!$N(e))return e;let{mutate:nP=!1,path:o=[]}=t,i=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,i.reduce((s,l)=>{let u=VN(e,l);if(typeof(u==null?void 0:u.get)=="function"){let c=()=>{var p,h;return(h=(p=u==null?void 0:u.get)==null?void 0:p.bind(e))==null?void 0:h()};return Object.defineProperty(s,l,{get:()=>this.instrument(c(),{...t,path:o.concat(l)},r)}),s}let d=e[l];return typeof d!="function"?(s[l]=this.instrument(d,{...t,path:o.concat(l)},r),s):"__originalFn__"in d&&typeof d.__originalFn__=="function"?(s[l]=d,s):(s[l]=(...c)=>this.track(l,d,e,c,t),s[l].__originalFn__=d,Object.defineProperty(s[l],"name",{value:l,writable:!1}),Object.keys(d).length>0&&Object.assign(s[l],this.instrument({...d},{...t,path:o.concat(l)},r)),s)},nP?e:UN(e))}track(e,t,r,nP,o){var b,y,E,_;let i=((b=nP==null?void 0:nP[0])==null?void 0:b.__storyId__)||((_=(E=(y=er.global.__STORYBOOK_PREVIEW__)==null?void 0:y.selectionStore)==null?void 0:E.selection)==null?void 0:_.storyId),{cursor:s,ancestors:l}=this.getState(i);this.setState(i,{cursor:s+1});let u=`${l.slice(-1)[0]||i} [${s}] ${e}`,{path:d=[],intercept:c=!1,retain:p=!1}=o,h=typeof c=="function"?c(e,d):c,m={id:u,cursor:s,storyId:i,ancestors:l,path:d,method:e,args:nP,interceptable:h,retain:p},g=(h&&!l.length?this.intercept:this.invoke).call(this,t,r,m,o);return this.instrument(g,{...o,mutate:!0,path:[{__callId__:m.id}]})}intercept(e,t,r,nP){let{chainedCallIds:o,isDebugging:i,playUntil:s}=this.getState(r.storyId),l=o.has(r.id);return!i||l||s?(s===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,nP)):new Promise(u=>{this.setState(r.storyId,({resolvers:d})=>({isLocked:!1,resolvers:{...d,[r.id]:u}}))}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:d,...c}=u.resolvers;return{isLocked:!0,resolvers:c}}),this.invoke(e,t,r,nP)))}invoke(e,t,r,nP){let{callRefsByResult:o,renderPhase:i}=this.getState(r.storyId),s=25,l=(c,p,h)=>{var m,g,b;if(h.includes(c))return"[Circular]";if(h=[...h,c],p>s)return"...";if(o.has(c))return o.get(c);if(c instanceof Array)return c.map(y=>l(y,++p,h));if(c instanceof Date)return{__date__:{value:c.toISOString()}};if(c instanceof Error){let{name:y,message:E,stack:_}=c;return{__error__:{name:y,message:E,stack:_}}}if(c instanceof RegExp){let{flags:y,source:E}=c;return{__regexp__:{flags:y,source:E}}}if(c instanceof((m=er.global.window)==null?void 0:m.HTMLElement)){let{prefix:y,localName:E,id:_,classList:P,innerText:C}=c,w=Array.from(P);return{__element__:{prefix:y,localName:E,id:_,classNames:w,innerText:C}}}return typeof c=="function"?{__function__:{name:"getMockName"in c?c.getMockName():c.name}}:typeof c=="symbol"?{__symbol__:{description:c.description}}:typeof c=="object"&&((g=c==null?void 0:c.constructor)!=null&&g.name)&&((b=c==null?void 0:c.constructor)==null?void 0:b.name)!=="Object"?{__class__:{name:c.constructor.name}}:Object.prototype.toString.call(c)==="[object Object]"?Object.fromEntries(Object.entries(c).map(([y,E])=>[y,l(E,++p,h)])):c},u={...r,args:r.args.map(c=>l(c,0,[]))};r.path.forEach(c=>{c!=null&&c.__callId__&&this.setState(r.storyId,({chainedCallIds:p})=>({chainedCallIds:new Set(Array.from(p).concat(c.__callId__))}))});let d=c=>{if(c instanceof Error){let{name:p,message:h,stack:m,callId:g=r.id}=c,{showDiff:b=void 0,diff:y=void 0,actual:E=void 0,expected:_=void 0}=c.name==="AssertionError"?Yb(c):c,P={name:p,message:h,stack:m,callId:g,showDiff:b,diff:y,actual:E,expected:_};if(this.update({...u,status:"error",exception:P}),this.setState(r.storyId,C=>({callRefsByResult:new Map([...Array.from(C.callRefsByResult.entries()),[c,{__callId__:r.id,retain:r.retain}]])})),r.ancestors.length)throw Object.prototype.hasOwnProperty.call(c,"callId")||Object.defineProperty(c,"callId",{value:r.id}),c}throw c};try{if(i==="played"&&!r.retain)throw FN;let c=(nP.getArgs?nP.getArgs(r,this.getState(r.storyId)):r.args).map(h=>typeof h!="function"||Object.keys(h).length?h:(...m)=>{let{cursor:g,ancestors:b}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...b,r.id]});let y=()=>this.setState(r.storyId,{cursor:g,ancestors:b}),E=!1;try{let _=h(...m);return _ instanceof Promise?(E=!0,_.finally(y)):_}finally{E||y()}}),p=e.apply(t,c);return p&&["object","function","symbol"].includes(typeof p)&&this.setState(r.storyId,h=>({callRefsByResult:new Map([...Array.from(h.callRefsByResult.entries()),[p,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:p instanceof Promise?"active":"done"}),p instanceof Promise?p.then(h=>(this.update({...u,status:"done"}),h),d):p}catch(c){return d(c)}}update(e){this.channel.emit($r.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((nP,o)=>Object.assign(nP,{[o.id]:o}),{});return{calls:Object.values(r).sort((nP,o)=>nP.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var d;let{isLocked:r,isPlaying:nP}=this.getState(e),o=this.getLog(e),i=(d=o.filter(({ancestors:c})=>!c.length).find(c=>c.status==="waiting"))==null?void 0:d.callId,s=o.some(c=>c.status==="active");if(r||s||o.length===0){let c={controlStates:lb,logItems:o};this.channel.emit($r.SYNC,c);return}let l=o.some(c=>c.status==="done"||c.status==="error"),u={controlStates:{start:l,back:l,goto:!0,next:nP,end:nP},logItems:o,pausedAt:i};this.channel.emit($r.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function zN(e,t={}){var r,nP,o,i,s,l,u,d;try{let c=!1,p=!1;return(o=(nP=(r=er.global.window)==null?void 0:r.location)==null?void 0:nP.search)!=null&&o.includes("instrument=true")?c=!0:(l=(s=(i=er.global.window)==null?void 0:i.location)==null?void 0:s.search)!=null&&l.includes("instrument=false")&&(p=!0),((u=er.global.window)==null?void 0:u.parent)===er.global.window&&!c||p?e:(er.global.window&&!er.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(er.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new HN),((d=er.global.window)==null?void 0:d.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(c){return Xx.once.warn(c),e}}function VN(e,t){let r=e;for(;r!=null;){let nP=Object.getOwnPropertyDescriptor(r,t);if(nP)return nP;r=Object.getPrototypeOf(r)}}});var gS=pr((g8,Zn)=>{"use strict";var GN=Object.create,ml=Object.defineProperty,WN=Object.getOwnPropertyDescriptor,ov=Object.getOwnPropertyNames,YN=Object.getPrototypeOf,KN=Object.prototype.hasOwnProperty,M=(e,t)=>function(){return t||(0,e[ov(e)[0]])((t={exports:{}}).exports,t),t.exports},gl=(e,t)=>{for(var r in t)ml(e,r,{get:t[r],enumerable:!0})},av=(e,t,r,nP)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ov(t))!KN.call(e,o)&&o!==r&&ml(e,o,{get:()=>t[o],enumerable:!(nP=WN(t,o))||nP.enumerable});return e},dr=(e,t,r)=>(r=e!=null?GN(YN(e)):{},av(t||!e||!e.__esModule?ml(r,"default",{value:e,enumerable:!0}):r,e)),JN=e=>av(ml({},"__esModule",{value:!0}),e),XN=M({"../../node_modules/min-indent/index.js"(e,t){"use strict";t.exports=r=>{let nP=r.match(/^[ \t]*(?=\S)/gm);return nP?nP.reduce((o,i)=>Math.min(o,i.length),1/0):0}}}),QN=M({"../../node_modules/strip-indent/index.js"(e,t){"use strict";var r=XN();t.exports=nP=>{let o=r(nP);if(o===0)return nP;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return nP.replace(i,"")}}}),ZN=M({"../../node_modules/indent-string/index.js"(e,t){"use strict";t.exports=(r,nP=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 nP!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof nP}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(nP===0)return r;let i=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,o.indent.repeat(nP))}}}),iv=M({"../../node_modules/redent/index.js"(e,t){"use strict";var r=QN(),nP=ZN();t.exports=(o,i=0,s)=>nP(r(o),i,s)}}),eM=M({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var nP=this,o=0,i={"@@iterator":function(){return i},next:function(){if(o<nP.length){var s=nP[o];return o=o+1,{done:!1,value:s}}else return{done:!0}}};return i}var r=t;e.default=r}}),Vi=M({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(eM());function r(i){return i&&i.__esModule?i:{default:i}}function nP(i){"@babel/helpers - typeof";return nP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},nP(i)}function o(i,s){return typeof Symbol=="function"&&nP(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(s)}),i}}}),tM=M({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Vi());function r(m){return m&&m.__esModule?m:{default:m}}function nP(m,g){return s(m)||i(m,g)||u(m,g)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
254
254
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(m,g){var b=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(b!=null){var y=[],E=!0,_=!1,P,C;try{for(b=b.call(m);!(E=(P=b.next()).done)&&(y.push(P.value),!(g&&y.length===g));E=!0);}catch(w){_=!0,C=w}finally{try{!E&&b.return!=null&&b.return()}finally{if(_)throw C}}return y}}function s(m){if(Array.isArray(m))return m}function l(m,g){var b=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(!b){if(Array.isArray(m)||(b=u(m))||g&&m&&typeof m.length=="number"){b&&(m=b);var y=0,E=function(){};return{s:E,nP:function(){return y>=m.length?{done:!0}:{done:!1,value:m[y++]}},e:function(w){throw w},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
255
255
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _=!0,P=!1,C;return{s:function(){b=b.call(m)},nP:function(){var w=b.next();return _=w.done,w},e:function(w){P=!0,C=w},f:function(){try{!_&&b.return!=null&&b.return()}finally{if(P)throw C}}}}function u(m,g){if(m){if(typeof m=="string")return d(m,g);var b=Object.prototype.toString.call(m).slice(8,-1);if(b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set")return Array.from(m);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return d(m,g)}}function d(m,g){(g==null||g>m.length)&&(g=m.length);for(var b=0,y=new Array(g);b<g;b++)y[b]=m[b];return y}var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],p={entries:function(){return c},forEach:function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=l(c),y;try{for(b.s();!(y=b.nP()).done;){var E=nP(y.value,2),_=E[0],P=E[1];m.call(g,P,_,c)}}catch(C){b.e(C)}finally{b.f()}},get:function(m){var g=c.find(function(b){return b[0]===m});return g&&g[1]},has:function(m){return!!p.get(m)},keys:function(){return c.map(function(m){var g=nP(m,1),b=g[0];return b})},values:function(){return c.map(function(m){var g=nP(m,2),b=g[1];return b})}},h=(0,t.default)(p,p.entries());e.default=h}}),rM=M({"../../node_modules/aria-query/lib/domMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Vi());function r(m){return m&&m.__esModule?m:{default:m}}function nP(m,g){return s(m)||i(m,g)||u(m,g)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
256
256
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(m,g){var b=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(b!=null){var y=[],E=!0,_=!1,P,C;try{for(b=b.call(m);!(E=(P=b.next()).done)&&(y.push(P.value),!(g&&y.length===g));E=!0);}catch(w){_=!0,C=w}finally{try{!E&&b.return!=null&&b.return()}finally{if(_)throw C}}return y}}function s(m){if(Array.isArray(m))return m}function l(m,g){var b=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(!b){if(Array.isArray(m)||(b=u(m))||g&&m&&typeof m.length=="number"){b&&(m=b);var y=0,E=function(){};return{s:E,nP:function(){return y>=m.length?{done:!0}:{done:!1,value:m[y++]}},e:function(w){throw w},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
257
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _=!0,P=!1,C;return{s:function(){b=b.call(m)},nP:function(){var w=b.next();return _=w.done,w},e:function(w){P=!0,C=w},f:function(){try{!_&&b.return!=null&&b.return()}finally{if(P)throw C}}}}function u(m,g){if(m){if(typeof m=="string")return d(m,g);var b=Object.prototype.toString.call(m).slice(8,-1);if(b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set")return Array.from(m);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return d(m,g)}}function d(m,g){(g==null||g>m.length)&&(g=m.length);for(var b=0,y=new Array(g);b<g;b++)y[b]=m[b];return y}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}],["fr",{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}],["rs",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],p={entries:function(){return c},forEach:function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=l(c),y;try{for(b.s();!(y=b.nP()).done;){var E=nP(y.value,2),_=E[0],P=E[1];m.call(g,P,_,c)}}catch(C){b.e(C)}finally{b.f()}},get:function(m){var g=c.find(function(b){return b[0]===m});return g&&g[1]},has:function(m){return!!p.get(m)},keys:function(){return c.map(function(m){var g=nP(m,1),b=g[0];return b})},values:function(){return c.map(function(m){var g=nP(m,2),b=g[1];return b})}},h=(0,t.default)(p,p.entries());e.default=h}}),nM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){"use strict";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}}),oM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){"use strict";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}}),aM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){"use strict";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}}),iM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){"use strict";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}}),sM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){"use strict";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}}),lM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){"use strict";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}}),uM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){"use strict";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}}),cM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){"use strict";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}}),dM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){"use strict";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}}),pM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){"use strict";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}}),fM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){"use strict";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}}),hM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){"use strict";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}}),mM=M({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=m(nM()),r=m(oM()),nP=m(aM()),o=m(iM()),i=m(sM()),s=m(lM()),l=m(uM()),u=m(cM()),d=m(dM()),c=m(pM()),p=m(fM()),h=m(hM());function m(y){return y&&y.__esModule?y:{default:y}}var g=[["command",t.default],["composite",r.default],["input",nP.default],["landmark",o.default],["range",i.default],["roletype",s.default],["section",l.default],["sectionhead",u.default],["select",d.default],["structure",c.default],["widget",p.default],["window",h.default]],b=g;e.default=b}}),gM=M({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){"use strict";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}}),bM=M({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){"use strict";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}}),yM=M({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){"use strict";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}}),vM=M({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){"use strict";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}}),EM=M({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){"use strict";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}}),_M=M({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){"use strict";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}}),wM=M({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){"use strict";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}}),SM=M({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){"use strict";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}}),CM=M({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){"use strict";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}}),AM=M({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){"use strict";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}}),RM=M({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){"use strict";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}}),TM=M({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){"use strict";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:"rs"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"rs"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"rs"},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}}),xM=M({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){"use strict";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}}),PM=M({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){"use strict";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}}),OM=M({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){"use strict";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}}),NM=M({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){"use strict";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}}),MM=M({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){"use strict";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}}),IM=M({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){"use strict";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}}),DM=M({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){"use strict";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}}),qM=M({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){"use strict";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}}),jM=M({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){"use strict";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}}),BM=M({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){"use strict";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}}),kM=M({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){"use strict";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}}),FM=M({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){"use strict";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}}),LM=M({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){"use strict";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}}),$M=M({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){"use strict";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}}),UM=M({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){"use strict";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}}),HM=M({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){"use strict";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}}),zM=M({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){"use strict";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}}),VM=M({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){"use strict";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}}),GM=M({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){"use strict";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}}),WM=M({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){"use strict";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}}),YM=M({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){"use strict";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}}),KM=M({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){"use strict";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}}),JM=M({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){"use strict";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}}),XM=M({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){"use strict";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}}),QM=M({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){"use strict";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}}),ZM=M({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){"use strict";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}}),eI=M({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){"use strict";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}}),tI=M({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){"use strict";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}}),rI=M({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){"use strict";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}}),nI=M({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){"use strict";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}}),oI=M({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){"use strict";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}}),aI=M({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){"use strict";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}}),iI=M({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){"use strict";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}}),sI=M({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){"use strict";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}}),lI=M({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){"use strict";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}}),uI=M({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){"use strict";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}}),cI=M({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){"use strict";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}}),dI=M({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){"use strict";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}}),pI=M({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){"use strict";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}}),fI=M({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){"use strict";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}}),hI=M({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){"use strict";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}}),mI=M({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){"use strict";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}}),gI=M({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){"use strict";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}}),bI=M({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){"use strict";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}}),yI=M({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){"use strict";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}}),vI=M({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){"use strict";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}}),EI=M({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){"use strict";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:"rs"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"rs"},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}}),_I=M({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){"use strict";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}}),wI=M({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){"use strict";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=M({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){"use strict";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}}),CI=M({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){"use strict";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}}),AI=M({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){"use strict";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}}),RI=M({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){"use strict";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}}),TI=M({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){"use strict";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}}),xI=M({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){"use strict";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}}),PI=M({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){"use strict";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}}),OI=M({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){"use strict";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}}),NI=M({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){"use strict";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}}),MI=M({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){"use strict";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}}),II=M({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){"use strict";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}}),DI=M({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){"use strict";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}}),qI=M({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){"use strict";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}}),jI=M({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){"use strict";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}}),BI=M({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){"use strict";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}}),kI=M({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){"use strict";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}}),FI=M({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){"use strict";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}}),LI=M({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){"use strict";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}}),$I=M({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){"use strict";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}}),UI=M({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){"use strict";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}}),HI=M({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){"use strict";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}}),zI=M({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){"use strict";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}}),VI=M({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=we(gM()),r=we(bM()),nP=we(yM()),o=we(vM()),i=we(EM()),s=we(_M()),l=we(wM()),u=we(SM()),d=we(CM()),c=we(AM()),p=we(RM()),h=we(TM()),m=we(xM()),g=we(PM()),b=we(OM()),y=we(NM()),E=we(MM()),_=we(IM()),P=we(DM()),C=we(qM()),w=we(jM()),S=we(BM()),T=we(kM()),A=we(FM()),N=we(LM()),U=we($M()),X=we(UM()),V=we(HM()),J=we(zM()),x=we(VM()),B=we(GM()),K=we(WM()),fe=we(YM()),ce=we(KM()),Re=we(JM()),Fe=we(XM()),Oe=we(QM()),le=we(ZM()),se=we(eI()),de=we(tI()),Se=we(rI()),qe=we(nI()),ke=we(oI()),ot=we(aI()),Ot=we(iI()),Y=we(sI()),Pe=we(lI()),Le=we(uI()),nt=we(cI()),ae=we(dI()),ye=we(pI()),$e=we(fI()),lt=we(hI()),Qt=we(mI()),Wl=we(gI()),Yl=we(bI()),bS=we(yI()),yS=we(vI()),vS=we(EI()),ES=we(_I()),_S=we(wI()),wS=we(SI()),SS=we(CI()),CS=we(AI()),AS=we(RI()),RS=we(TI()),TS=we(xI()),xS=we(PI()),PS=we(OI()),OS=we(NI()),NS=we(MI()),MS=we(II()),IS=we(DI()),DS=we(qI()),qS=we(jI()),jS=we(BI()),BS=we(kI()),kS=we(FI()),FS=we(LI()),LS=we($I()),$S=we(UI()),US=we(HI()),HS=we(zI());function we(ts){return ts&&ts.__esModule?ts:{default:ts}}var zS=[["alert",t.default],["alertdialog",r.default],["application",nP.default],["article",o.default],["banner",i.default],["blockquote",s.default],["button",l.default],["caption",u.default],["cell",d.default],["checkbox",c.default],["code",p.default],["columnheader",h.default],["combobox",m.default],["complementary",g.default],["contentinfo",b.default],["definition",y.default],["deletion",E.default],["dialog",_.default],["directory",P.default],["document",C.default],["emphasis",w.default],["feed",S.default],["figure",T.default],["form",A.default],["generic",N.default],["grid",U.default],["gridcell",X.default],["group",V.default],["heading",J.default],["img",x.default],["insertion",B.default],["link",K.default],["list",fe.default],["listbox",ce.default],["listitem",Re.default],["log",Fe.default],["main",Oe.default],["mark",le.default],["marquee",se.default],["math",de.default],["menu",Se.default],["menubar",qe.default],["menuitem",ke.default],["menuitemcheckbox",ot.default],["menuitemradio",Ot.default],["meter",Y.default],["navigation",Pe.default],["none",Le.default],["note",nt.default],["option",ae.default],["paragraph",ye.default],["presentation",$e.default],["progressbar",lt.default],["radio",Qt.default],["radiogroup",Wl.default],["region",Yl.default],["row",bS.default],["rowgroup",yS.default],["rowheader",vS.default],["scrollbar",ES.default],["search",_S.default],["searchbox",wS.default],["separator",SS.default],["slider",CS.default],["spinbutton",AS.default],["status",RS.default],["strong",TS.default],["subscript",xS.default],["superscript",PS.default],["switch",OS.default],["tab",NS.default],["table",MS.default],["tablist",IS.default],["tabpanel",DS.default],["term",qS.default],["textbox",jS.default],["time",BS.default],["timer",kS.default],["toolbar",FS.default],["tooltip",LS.default],["tree",$S.default],["treegrid",US.default],["treeitem",HS.default]],VS=zS;e.default=VS}}),GI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){"use strict";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}}),WI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){"use strict";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}}),YI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){"use strict";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}}),KI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){"use strict";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=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){"use strict";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}}),XI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){"use strict";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}}),QI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){"use strict";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}}),ZI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){"use strict";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}}),eD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){"use strict";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}}),tD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){"use strict";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}}),rD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){"use strict";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}}),nD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){"use strict";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}}),oD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){"use strict";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}}),aD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){"use strict";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}}),iD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){"use strict";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}}),sD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){"use strict";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}}),lD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){"use strict";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}}),uD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){"use strict";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}}),cD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){"use strict";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}}),dD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){"use strict";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}}),pD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){"use strict";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}}),fD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){"use strict";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}}),hD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){"use strict";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}}),mD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){"use strict";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}}),gD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){"use strict";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}}),bD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){"use strict";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}}),yD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){"use strict";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}}),vD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){"use strict";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}}),ED=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){"use strict";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}}),_D=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){"use strict";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}}),wD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){"use strict";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=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){"use strict";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}}),CD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){"use strict";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}}),AD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){"use strict";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}}),RD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){"use strict";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}}),TD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){"use strict";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}}),xD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){"use strict";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}}),PD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){"use strict";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}}),OD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){"use strict";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}}),ND=M({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=de(GI()),r=de(WI()),nP=de(YI()),o=de(KI()),i=de(JI()),s=de(XI()),l=de(QI()),u=de(ZI()),d=de(eD()),c=de(tD()),p=de(rD()),h=de(nD()),m=de(oD()),g=de(aD()),b=de(iD()),y=de(sD()),E=de(lD()),_=de(uD()),P=de(cD()),C=de(dD()),w=de(pD()),S=de(fD()),T=de(hD()),A=de(mD()),N=de(gD()),U=de(bD()),X=de(yD()),V=de(vD()),J=de(ED()),x=de(_D()),B=de(wD()),K=de(SD()),fe=de(CD()),ce=de(AD()),Re=de(RD()),Fe=de(TD()),Oe=de(xD()),le=de(PD()),se=de(OD());function de(ke){return ke&&ke.__esModule?ke:{default:ke}}var Se=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",nP.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",s.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",d.default],["doc-colophon",c.default],["doc-conclusion",p.default],["doc-cover",h.default],["doc-credit",m.default],["doc-credits",g.default],["doc-dedication",b.default],["doc-endnote",y.default],["doc-endnotes",E.default],["doc-epigraph",_.default],["doc-epilogue",P.default],["doc-errata",C.default],["doc-example",w.default],["doc-footnote",S.default],["doc-foreword",T.default],["doc-glossary",A.default],["doc-glossref",N.default],["doc-index",U.default],["doc-introduction",X.default],["doc-noteref",V.default],["doc-notice",J.default],["doc-pagebreak",x.default],["doc-pagelist",B.default],["doc-part",K.default],["doc-preface",fe.default],["doc-prologue",ce.default],["doc-pullquote",Re.default],["doc-qna",Fe.default],["doc-subtitle",Oe.default],["doc-tip",le.default],["doc-toc",se.default]],qe=Se;e.default=qe}}),MD=M({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){"use strict";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}}),ID=M({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){"use strict";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}}),DD=M({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){"use strict";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}}),qD=M({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(MD()),r=o(ID()),nP=o(DD());function o(l){return l&&l.__esModule?l:{default:l}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",nP.default]],s=i;e.default=s}}),pp=M({"../../node_modules/aria-query/lib/rolesMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(mM()),r=s(VI()),nP=s(ND()),o=s(qD()),i=s(Vi());function s(_){return _&&_.__esModule?_:{default:_}}function l(_,P,C){return P in _?Object.defineProperty(_,P,{value:C,enumerable:!0,configurable:!0,writable:!0}):_[P]=C,_}function u(_,P){var C=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!C){if(Array.isArray(_)||(C=p(_))||P&&_&&typeof _.length=="number"){C&&(_=C);var w=0,S=function(){};return{s:S,nP:function(){return w>=_.length?{done:!0}:{done:!1,value:_[w++]}},e:function(U){throw U},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
257
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _=!0,P=!1,C;return{s:function(){b=b.call(m)},nP:function(){var w=b.next();return _=w.done,w},e:function(w){P=!0,C=w},f:function(){try{!_&&b.return!=null&&b.return()}finally{if(P)throw C}}}}function u(m,g){if(m){if(typeof m=="string")return d(m,g);var b=Object.prototype.toString.call(m).slice(8,-1);if(b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set")return Array.from(m);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return d(m,g)}}function d(m,g){(g==null||g>m.length)&&(g=m.length);for(var b=0,y=new Array(g);b<g;b++)y[b]=m[b];return y}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}],["fr",{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}],["uh",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],p={entries:function(){return c},forEach:function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=l(c),y;try{for(b.s();!(y=b.nP()).done;){var E=nP(y.value,2),_=E[0],P=E[1];m.call(g,P,_,c)}}catch(C){b.e(C)}finally{b.f()}},get:function(m){var g=c.find(function(b){return b[0]===m});return g&&g[1]},has:function(m){return!!p.get(m)},keys:function(){return c.map(function(m){var g=nP(m,1),b=g[0];return b})},values:function(){return c.map(function(m){var g=nP(m,2),b=g[1];return b})}},h=(0,t.default)(p,p.entries());e.default=h}}),nM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){"use strict";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}}),oM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){"use strict";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}}),aM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){"use strict";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}}),iM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){"use strict";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}}),sM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){"use strict";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}}),lM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){"use strict";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}}),uM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){"use strict";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}}),cM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){"use strict";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}}),dM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){"use strict";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}}),pM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){"use strict";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}}),fM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){"use strict";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}}),hM=M({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){"use strict";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}}),mM=M({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=m(nM()),r=m(oM()),nP=m(aM()),o=m(iM()),i=m(sM()),s=m(lM()),l=m(uM()),u=m(cM()),d=m(dM()),c=m(pM()),p=m(fM()),h=m(hM());function m(y){return y&&y.__esModule?y:{default:y}}var g=[["command",t.default],["composite",r.default],["input",nP.default],["landmark",o.default],["range",i.default],["roletype",s.default],["section",l.default],["sectionhead",u.default],["select",d.default],["structure",c.default],["widget",p.default],["window",h.default]],b=g;e.default=b}}),gM=M({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){"use strict";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}}),bM=M({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){"use strict";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}}),yM=M({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){"use strict";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}}),vM=M({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){"use strict";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}}),EM=M({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){"use strict";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}}),_M=M({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){"use strict";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}}),wM=M({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){"use strict";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}}),SM=M({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){"use strict";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}}),CM=M({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){"use strict";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}}),AM=M({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){"use strict";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}}),RM=M({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){"use strict";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}}),TM=M({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){"use strict";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:"uh"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"uh"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"uh"},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}}),xM=M({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){"use strict";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}}),PM=M({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){"use strict";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}}),OM=M({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){"use strict";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}}),NM=M({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){"use strict";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}}),MM=M({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){"use strict";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}}),IM=M({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){"use strict";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}}),DM=M({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){"use strict";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}}),qM=M({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){"use strict";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}}),jM=M({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){"use strict";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}}),BM=M({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){"use strict";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}}),kM=M({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){"use strict";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}}),FM=M({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){"use strict";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}}),LM=M({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){"use strict";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}}),$M=M({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){"use strict";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}}),UM=M({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){"use strict";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}}),HM=M({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){"use strict";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}}),zM=M({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){"use strict";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}}),VM=M({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){"use strict";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}}),GM=M({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){"use strict";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}}),WM=M({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){"use strict";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}}),YM=M({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){"use strict";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}}),KM=M({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){"use strict";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}}),JM=M({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){"use strict";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}}),XM=M({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){"use strict";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}}),QM=M({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){"use strict";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}}),ZM=M({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){"use strict";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}}),eI=M({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){"use strict";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}}),tI=M({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){"use strict";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}}),rI=M({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){"use strict";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}}),nI=M({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){"use strict";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}}),oI=M({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){"use strict";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}}),aI=M({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){"use strict";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}}),iI=M({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){"use strict";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}}),sI=M({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){"use strict";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}}),lI=M({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){"use strict";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}}),uI=M({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){"use strict";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}}),cI=M({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){"use strict";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}}),dI=M({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){"use strict";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}}),pI=M({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){"use strict";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}}),fI=M({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){"use strict";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}}),hI=M({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){"use strict";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}}),mI=M({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){"use strict";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}}),gI=M({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){"use strict";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}}),bI=M({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){"use strict";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}}),yI=M({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){"use strict";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}}),vI=M({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){"use strict";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}}),EI=M({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){"use strict";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:"uh"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"uh"},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}}),_I=M({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){"use strict";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}}),wI=M({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){"use strict";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=M({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){"use strict";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}}),CI=M({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){"use strict";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}}),AI=M({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){"use strict";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}}),RI=M({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){"use strict";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}}),TI=M({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){"use strict";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}}),xI=M({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){"use strict";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}}),PI=M({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){"use strict";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}}),OI=M({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){"use strict";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}}),NI=M({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){"use strict";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}}),MI=M({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){"use strict";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}}),II=M({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){"use strict";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}}),DI=M({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){"use strict";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}}),qI=M({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){"use strict";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}}),jI=M({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){"use strict";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}}),BI=M({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){"use strict";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}}),kI=M({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){"use strict";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}}),FI=M({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){"use strict";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}}),LI=M({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){"use strict";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}}),$I=M({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){"use strict";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}}),UI=M({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){"use strict";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}}),HI=M({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){"use strict";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}}),zI=M({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){"use strict";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}}),VI=M({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=we(gM()),r=we(bM()),nP=we(yM()),o=we(vM()),i=we(EM()),s=we(_M()),l=we(wM()),u=we(SM()),d=we(CM()),c=we(AM()),p=we(RM()),h=we(TM()),m=we(xM()),g=we(PM()),b=we(OM()),y=we(NM()),E=we(MM()),_=we(IM()),P=we(DM()),C=we(qM()),w=we(jM()),S=we(BM()),T=we(kM()),A=we(FM()),N=we(LM()),U=we($M()),X=we(UM()),V=we(HM()),J=we(zM()),x=we(VM()),B=we(GM()),K=we(WM()),fe=we(YM()),ce=we(KM()),Re=we(JM()),Fe=we(XM()),Oe=we(QM()),le=we(ZM()),se=we(eI()),de=we(tI()),Se=we(rI()),qe=we(nI()),ke=we(oI()),ot=we(aI()),Ot=we(iI()),Y=we(sI()),Pe=we(lI()),Le=we(uI()),nt=we(cI()),ae=we(dI()),ye=we(pI()),$e=we(fI()),lt=we(hI()),Qt=we(mI()),Gl=we(gI()),Wl=we(bI()),bS=we(yI()),yS=we(vI()),vS=we(EI()),ES=we(_I()),_S=we(wI()),wS=we(SI()),SS=we(CI()),CS=we(AI()),AS=we(RI()),RS=we(TI()),TS=we(xI()),xS=we(PI()),PS=we(OI()),OS=we(NI()),NS=we(MI()),MS=we(II()),IS=we(DI()),DS=we(qI()),qS=we(jI()),jS=we(BI()),BS=we(kI()),kS=we(FI()),FS=we(LI()),LS=we($I()),$S=we(UI()),US=we(HI()),HS=we(zI());function we(ts){return ts&&ts.__esModule?ts:{default:ts}}var zS=[["alert",t.default],["alertdialog",r.default],["application",nP.default],["article",o.default],["banner",i.default],["blockquote",s.default],["button",l.default],["caption",u.default],["cell",d.default],["checkbox",c.default],["code",p.default],["columnheader",h.default],["combobox",m.default],["complementary",g.default],["contentinfo",b.default],["definition",y.default],["deletion",E.default],["dialog",_.default],["directory",P.default],["document",C.default],["emphasis",w.default],["feed",S.default],["figure",T.default],["form",A.default],["generic",N.default],["grid",U.default],["gridcell",X.default],["group",V.default],["heading",J.default],["img",x.default],["insertion",B.default],["link",K.default],["list",fe.default],["listbox",ce.default],["listitem",Re.default],["log",Fe.default],["main",Oe.default],["mark",le.default],["marquee",se.default],["math",de.default],["menu",Se.default],["menubar",qe.default],["menuitem",ke.default],["menuitemcheckbox",ot.default],["menuitemradio",Ot.default],["meter",Y.default],["navigation",Pe.default],["none",Le.default],["note",nt.default],["option",ae.default],["paragraph",ye.default],["presentation",$e.default],["progressbar",lt.default],["radio",Qt.default],["radiogroup",Gl.default],["region",Wl.default],["row",bS.default],["rowgroup",yS.default],["rowheader",vS.default],["scrollbar",ES.default],["search",_S.default],["searchbox",wS.default],["separator",SS.default],["slider",CS.default],["spinbutton",AS.default],["status",RS.default],["strong",TS.default],["subscript",xS.default],["superscript",PS.default],["switch",OS.default],["tab",NS.default],["table",MS.default],["tablist",IS.default],["tabpanel",DS.default],["term",qS.default],["textbox",jS.default],["time",BS.default],["timer",kS.default],["toolbar",FS.default],["tooltip",LS.default],["tree",$S.default],["treegrid",US.default],["treeitem",HS.default]],VS=zS;e.default=VS}}),GI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){"use strict";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}}),WI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){"use strict";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}}),YI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){"use strict";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}}),KI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){"use strict";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=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){"use strict";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}}),XI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){"use strict";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}}),QI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){"use strict";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}}),ZI=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){"use strict";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}}),eD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){"use strict";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}}),tD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){"use strict";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}}),rD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){"use strict";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}}),nD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){"use strict";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}}),oD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){"use strict";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}}),aD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){"use strict";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}}),iD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){"use strict";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}}),sD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){"use strict";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}}),lD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){"use strict";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}}),uD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){"use strict";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}}),cD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){"use strict";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}}),dD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){"use strict";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}}),pD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){"use strict";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}}),fD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){"use strict";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}}),hD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){"use strict";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}}),mD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){"use strict";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}}),gD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){"use strict";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}}),bD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){"use strict";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}}),yD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){"use strict";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}}),vD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){"use strict";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}}),ED=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){"use strict";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}}),_D=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){"use strict";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}}),wD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){"use strict";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=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){"use strict";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}}),CD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){"use strict";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}}),AD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){"use strict";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}}),RD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){"use strict";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}}),TD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){"use strict";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}}),xD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){"use strict";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}}),PD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){"use strict";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}}),OD=M({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){"use strict";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}}),ND=M({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=de(GI()),r=de(WI()),nP=de(YI()),o=de(KI()),i=de(JI()),s=de(XI()),l=de(QI()),u=de(ZI()),d=de(eD()),c=de(tD()),p=de(rD()),h=de(nD()),m=de(oD()),g=de(aD()),b=de(iD()),y=de(sD()),E=de(lD()),_=de(uD()),P=de(cD()),C=de(dD()),w=de(pD()),S=de(fD()),T=de(hD()),A=de(mD()),N=de(gD()),U=de(bD()),X=de(yD()),V=de(vD()),J=de(ED()),x=de(_D()),B=de(wD()),K=de(SD()),fe=de(CD()),ce=de(AD()),Re=de(RD()),Fe=de(TD()),Oe=de(xD()),le=de(PD()),se=de(OD());function de(ke){return ke&&ke.__esModule?ke:{default:ke}}var Se=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",nP.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",s.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",d.default],["doc-colophon",c.default],["doc-conclusion",p.default],["doc-cover",h.default],["doc-credit",m.default],["doc-credits",g.default],["doc-dedication",b.default],["doc-endnote",y.default],["doc-endnotes",E.default],["doc-epigraph",_.default],["doc-epilogue",P.default],["doc-errata",C.default],["doc-example",w.default],["doc-footnote",S.default],["doc-foreword",T.default],["doc-glossary",A.default],["doc-glossref",N.default],["doc-index",U.default],["doc-introduction",X.default],["doc-noteref",V.default],["doc-notice",J.default],["doc-pagebreak",x.default],["doc-pagelist",B.default],["doc-part",K.default],["doc-preface",fe.default],["doc-prologue",ce.default],["doc-pullquote",Re.default],["doc-qna",Fe.default],["doc-subtitle",Oe.default],["doc-tip",le.default],["doc-toc",se.default]],qe=Se;e.default=qe}}),MD=M({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){"use strict";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}}),ID=M({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){"use strict";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}}),DD=M({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){"use strict";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}}),qD=M({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(MD()),r=o(ID()),nP=o(DD());function o(l){return l&&l.__esModule?l:{default:l}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",nP.default]],s=i;e.default=s}}),dp=M({"../../node_modules/aria-query/lib/rolesMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(mM()),r=s(VI()),nP=s(ND()),o=s(qD()),i=s(Vi());function s(_){return _&&_.__esModule?_:{default:_}}function l(_,P,C){return P in _?Object.defineProperty(_,P,{value:C,enumerable:!0,configurable:!0,writable:!0}):_[P]=C,_}function u(_,P){var C=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!C){if(Array.isArray(_)||(C=p(_))||P&&_&&typeof _.length=="number"){C&&(_=C);var w=0,S=function(){};return{s:S,nP:function(){return w>=_.length?{done:!0}:{done:!1,value:_[w++]}},e:function(U){throw U},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
258
258
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var T=!0,A=!1,N;return{s:function(){C=C.call(_)},nP:function(){var U=C.next();return T=U.done,U},e:function(U){A=!0,N=U},f:function(){try{!T&&C.return!=null&&C.return()}finally{if(A)throw N}}}}function d(_,P){return g(_)||m(_,P)||p(_,P)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
259
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(_,P){if(_){if(typeof _=="string")return h(_,P);var C=Object.prototype.toString.call(_).slice(8,-1);if(C==="Object"&&_.constructor&&(C=_.constructor.name),C==="Map"||C==="Set")return Array.from(_);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return h(_,P)}}function h(_,P){(P==null||P>_.length)&&(P=_.length);for(var C=0,w=new Array(P);C<P;C++)w[C]=_[C];return w}function m(_,P){var C=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(C!=null){var w=[],S=!0,T=!1,A,N;try{for(C=C.call(_);!(S=(A=C.next()).done)&&(w.push(A.value),!(P&&w.length===P));S=!0);}catch(U){T=!0,N=U}finally{try{!S&&C.return!=null&&C.return()}finally{if(T)throw N}}return w}}function g(_){if(Array.isArray(_))return _}var b=[].concat(t.default,r.default,nP.default,o.default);b.forEach(function(_){var P=d(_,2),C=P[1],w=u(C.superClass),S;try{for(w.s();!(S=w.nP()).done;){var T=S.value,A=u(T),N;try{var U=function(){var X=N.value,V=b.find(function(fe){var ce=d(fe,1),Re=ce[0];return Re===X});if(V)for(var J=V[1],x=0,B=Object.keys(J.props);x<B.length;x++){var K=B[x];Object.prototype.hasOwnProperty.call(C.props,K)||Object.assign(C.props,l({},K,J.props[K]))}};for(A.s();!(N=A.nP()).done;)U()}catch(X){A.e(X)}finally{A.f()}}}catch(X){w.e(X)}finally{w.f()}});var y={entries:function(){return b},forEach:function(_){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=u(b),w;try{for(C.s();!(w=C.nP()).done;){var S=d(w.value,2),T=S[0],A=S[1];_.call(P,A,T,b)}}catch(N){C.e(N)}finally{C.f()}},get:function(_){var P=b.find(function(C){return C[0]===_});return P&&P[1]},has:function(_){return!!y.get(_)},keys:function(){return b.map(function(_){var P=d(_,1),C=P[0];return C})},values:function(){return b.map(function(_){var P=d(_,2),C=P[1];return C})}},E=(0,i.default)(y,y.entries());e.default=E}}),jD=M({"../../node_modules/dequal/lite/index.js"(e){"use strict";var t=Object.prototype.hasOwnProperty;function r(nP,o){var i,s;if(nP===o)return!0;if(nP&&o&&(i=nP.constructor)===o.constructor){if(i===Date)return nP.getTime()===o.getTime();if(i===RegExp)return nP.toString()===o.toString();if(i===Array){if((s=nP.length)===o.length)for(;s--&&r(nP[s],o[s]););return s===-1}if(!i||typeof nP=="object"){s=0;for(i in nP)if(t.call(nP,i)&&++s&&!t.call(o,i)||!(i in o)||!r(nP[i],o[i]))return!1;return Object.keys(o).length===s}}return nP!==nP&&o!==o}e.dequal=r}}),BD=M({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=jD(),r=o(Vi()),nP=o(
|
|
259
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(_,P){if(_){if(typeof _=="string")return h(_,P);var C=Object.prototype.toString.call(_).slice(8,-1);if(C==="Object"&&_.constructor&&(C=_.constructor.name),C==="Map"||C==="Set")return Array.from(_);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return h(_,P)}}function h(_,P){(P==null||P>_.length)&&(P=_.length);for(var C=0,w=new Array(P);C<P;C++)w[C]=_[C];return w}function m(_,P){var C=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(C!=null){var w=[],S=!0,T=!1,A,N;try{for(C=C.call(_);!(S=(A=C.next()).done)&&(w.push(A.value),!(P&&w.length===P));S=!0);}catch(U){T=!0,N=U}finally{try{!S&&C.return!=null&&C.return()}finally{if(T)throw N}}return w}}function g(_){if(Array.isArray(_))return _}var b=[].concat(t.default,r.default,nP.default,o.default);b.forEach(function(_){var P=d(_,2),C=P[1],w=u(C.superClass),S;try{for(w.s();!(S=w.nP()).done;){var T=S.value,A=u(T),N;try{var U=function(){var X=N.value,V=b.find(function(fe){var ce=d(fe,1),Re=ce[0];return Re===X});if(V)for(var J=V[1],x=0,B=Object.keys(J.props);x<B.length;x++){var K=B[x];Object.prototype.hasOwnProperty.call(C.props,K)||Object.assign(C.props,l({},K,J.props[K]))}};for(A.s();!(N=A.nP()).done;)U()}catch(X){A.e(X)}finally{A.f()}}}catch(X){w.e(X)}finally{w.f()}});var y={entries:function(){return b},forEach:function(_){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=u(b),w;try{for(C.s();!(w=C.nP()).done;){var S=d(w.value,2),T=S[0],A=S[1];_.call(P,A,T,b)}}catch(N){C.e(N)}finally{C.f()}},get:function(_){var P=b.find(function(C){return C[0]===_});return P&&P[1]},has:function(_){return!!y.get(_)},keys:function(){return b.map(function(_){var P=d(_,1),C=P[0];return C})},values:function(){return b.map(function(_){var P=d(_,2),C=P[1];return C})}},E=(0,i.default)(y,y.entries());e.default=E}}),jD=M({"../../node_modules/dequal/lite/index.js"(e){"use strict";var t=Object.prototype.hasOwnProperty;function r(nP,o){var i,s;if(nP===o)return!0;if(nP&&o&&(i=nP.constructor)===o.constructor){if(i===Date)return nP.getTime()===o.getTime();if(i===RegExp)return nP.toString()===o.toString();if(i===Array){if((s=nP.length)===o.length)for(;s--&&r(nP[s],o[s]););return s===-1}if(!i||typeof nP=="object"){s=0;for(i in nP)if(t.call(nP,i)&&++s&&!t.call(o,i)||!(i in o)||!r(nP[i],o[i]))return!1;return Object.keys(o).length===s}}return nP!==nP&&o!==o}e.dequal=r}}),BD=M({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=jD(),r=o(Vi()),nP=o(dp());function o(S){return S&&S.__esModule?S:{default:S}}function i(S,T){return u(S)||l(S,T)||c(S,T)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
260
260
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(S,T){var A=S==null?null:typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(A!=null){var N=[],U=!0,X=!1,V,J;try{for(A=A.call(S);!(U=(V=A.next()).done)&&(N.push(V.value),!(T&&N.length===T));U=!0);}catch(x){X=!0,J=x}finally{try{!U&&A.return!=null&&A.return()}finally{if(X)throw J}}return N}}function u(S){if(Array.isArray(S))return S}function d(S,T){var A=typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(!A){if(Array.isArray(S)||(A=c(S))||T&&S&&typeof S.length=="number"){A&&(S=A);var N=0,U=function(){};return{s:U,nP:function(){return N>=S.length?{done:!0}:{done:!1,value:S[N++]}},e:function(x){throw x},f:U}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
261
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var X=!0,V=!1,J;return{s:function(){A=A.call(S)},nP:function(){var x=A.next();return X=x.done,x},e:function(x){V=!0,J=x},f:function(){try{!X&&A.return!=null&&A.return()}finally{if(V)throw J}}}}function c(S,T){if(S){if(typeof S=="string")return p(S,T);var A=Object.prototype.toString.call(S).slice(8,-1);if(A==="Object"&&S.constructor&&(A=S.constructor.name),A==="Map"||A==="Set")return Array.from(S);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return p(S,T)}}function p(S,T){(T==null||T>S.length)&&(T=S.length);for(var A=0,N=new Array(T);A<T;A++)N[A]=S[A];return N}var h=[],m=nP.default.keys();for(P=0;P<m.length;P++)if(g=m[P],b=nP.default.get(g),b)for(y=[].concat(b.baseConcepts,b.relatedConcepts),_=0;_<y.length;_++)E=y[_],E.module==="HTML"&&function(){var S=E.concept;if(S){var T=h.find(function(X){return(0,t.dequal)(X,S)}),A;T?A=T[1]:A=[];for(var N=!0,U=0;U<A.length;U++)if(A[U]===g){N=!1;break}N&&A.push(g),h.push([S,A])}}();var g,b,y,E,_,P,C={entries:function(){return h},forEach:function(S){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=d(h),N;try{for(A.s();!(N=A.nP()).done;){var U=i(N.value,2),X=U[0],V=U[1];S.call(T,V,X,h)}}catch(J){A.e(J)}finally{A.f()}},get:function(S){var T=h.find(function(A){return S.name===A[0].name&&(0,t.dequal)(S.attributes,A[0].attributes)});return T&&T[1]},has:function(S){return!!C.get(S)},keys:function(){return h.map(function(S){var T=i(S,1),A=T[0];return A})},values:function(){return h.map(function(S){var T=i(S,2),A=T[1];return A})}},w=(0,r.default)(C,C.entries());e.default=w}}),kD=M({"../../node_modules/aria-query/lib/roleElementMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=nP(Vi()),r=nP(
|
|
261
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var X=!0,V=!1,J;return{s:function(){A=A.call(S)},nP:function(){var x=A.next();return X=x.done,x},e:function(x){V=!0,J=x},f:function(){try{!X&&A.return!=null&&A.return()}finally{if(V)throw J}}}}function c(S,T){if(S){if(typeof S=="string")return p(S,T);var A=Object.prototype.toString.call(S).slice(8,-1);if(A==="Object"&&S.constructor&&(A=S.constructor.name),A==="Map"||A==="Set")return Array.from(S);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return p(S,T)}}function p(S,T){(T==null||T>S.length)&&(T=S.length);for(var A=0,N=new Array(T);A<T;A++)N[A]=S[A];return N}var h=[],m=nP.default.keys();for(P=0;P<m.length;P++)if(g=m[P],b=nP.default.get(g),b)for(y=[].concat(b.baseConcepts,b.relatedConcepts),_=0;_<y.length;_++)E=y[_],E.module==="HTML"&&function(){var S=E.concept;if(S){var T=h.find(function(X){return(0,t.dequal)(X,S)}),A;T?A=T[1]:A=[];for(var N=!0,U=0;U<A.length;U++)if(A[U]===g){N=!1;break}N&&A.push(g),h.push([S,A])}}();var g,b,y,E,_,P,C={entries:function(){return h},forEach:function(S){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=d(h),N;try{for(A.s();!(N=A.nP()).done;){var U=i(N.value,2),X=U[0],V=U[1];S.call(T,V,X,h)}}catch(J){A.e(J)}finally{A.f()}},get:function(S){var T=h.find(function(A){return S.name===A[0].name&&(0,t.dequal)(S.attributes,A[0].attributes)});return T&&T[1]},has:function(S){return!!C.get(S)},keys:function(){return h.map(function(S){var T=i(S,1),A=T[0];return A})},values:function(){return h.map(function(S){var T=i(S,2),A=T[1];return A})}},w=(0,r.default)(C,C.entries());e.default=w}}),kD=M({"../../node_modules/aria-query/lib/roleElementMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=nP(Vi()),r=nP(dp());function nP(T){return T&&T.__esModule?T:{default:T}}function o(T,A){return l(T)||s(T,A)||d(T,A)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
262
262
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(T,A){var N=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(N!=null){var U=[],X=!0,V=!1,J,x;try{for(N=N.call(T);!(X=(J=N.next()).done)&&(U.push(J.value),!(A&&U.length===A));X=!0);}catch(B){V=!0,x=B}finally{try{!X&&N.return!=null&&N.return()}finally{if(V)throw x}}return U}}function l(T){if(Array.isArray(T))return T}function u(T,A){var N=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!N){if(Array.isArray(T)||(N=d(T))||A&&T&&typeof T.length=="number"){N&&(T=N);var U=0,X=function(){};return{s:X,nP:function(){return U>=T.length?{done:!0}:{done:!1,value:T[U++]}},e:function(B){throw B},f:X}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
263
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var V=!0,J=!1,x;return{s:function(){N=N.call(T)},nP:function(){var B=N.next();return V=B.done,B},e:function(B){J=!0,x=B},f:function(){try{!V&&N.return!=null&&N.return()}finally{if(J)throw x}}}}function d(T,A){if(T){if(typeof T=="string")return c(T,A);var N=Object.prototype.toString.call(T).slice(8,-1);if(N==="Object"&&T.constructor&&(N=T.constructor.name),N==="Map"||N==="Set")return Array.from(T);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return c(T,A)}}function c(T,A){(A==null||A>T.length)&&(A=T.length);for(var N=0,U=new Array(A);N<A;N++)U[N]=T[N];return U}var p=[],h=r.default.keys();for(C=0;C<h.length;C++)if(m=h[C],g=r.default.get(m),b=[],g){for(y=[].concat(g.baseConcepts,g.relatedConcepts),P=0;P<y.length;P++)E=y[P],E.module==="HTML"&&(_=E.concept,_!=null&&b.push(_));b.length>0&&p.push([m,b])}var m,g,b,y,E,_,P,C,w={entries:function(){return p},forEach:function(T){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,N=u(p),U;try{for(N.s();!(U=N.nP()).done;){var X=o(U.value,2),V=X[0],J=X[1];T.call(A,J,V,p)}}catch(x){N.e(x)}finally{N.f()}},get:function(T){var A=p.find(function(N){return N[0]===T});return A&&A[1]},has:function(T){return!!w.get(T)},keys:function(){return p.map(function(T){var A=o(T,1),N=A[0];return N})},values:function(){return p.map(function(T){var A=o(T,2),N=A[1];return N})}},S=(0,t.default)(w,w.entries());e.default=S}}),fp=M({"../../node_modules/aria-query/lib/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(tM()),r=s(rM()),nP=s(pp()),o=s(BD()),i=s(kD());function s(h){return h&&h.__esModule?h:{default:h}}var l=t.default;e.aria=l;var u=r.default;e.dom=u;var d=nP.default;e.roles=d;var c=o.default;e.elementRoles=c;var p=i.default;e.roleElements=p}}),FD=M({"../../node_modules/color-name/index.js"(e,t){"use strict";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]}}}),sv=M({"../../node_modules/color-convert/conversions.js"(e,t){"use strict";var r=FD(),nP={};for(let s of Object.keys(r))nP[r[s]]=s;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let s of Object.keys(o)){if(!("channels"in o[s]))throw new Error("missing channels property: "+s);if(!("labels"in o[s]))throw new Error("missing channel labels property: "+s);if(o[s].labels.length!==o[s].channels)throw new Error("channel and label counts mismatch: "+s);let{channels:l,labels:u}=o[s];delete o[s].channels,delete o[s].labels,Object.defineProperty(o[s],"channels",{value:l}),Object.defineProperty(o[s],"labels",{value:u})}o.rgb.hsl=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255,c=Math.min(l,u,d),p=Math.max(l,u,d),h=p-c,m,g;p===c?m=0:l===p?m=(u-d)/h:u===p?m=2+(d-l)/h:d===p&&(m=4+(l-u)/h),m=Math.min(m*60,360),m<0&&(m+=360);let b=(c+p)/2;return p===c?g=0:b<=.5?g=h/(p+c):g=h/(2-p-c),[m,g*100,b*100]},o.rgb.hsv=function(s){let l,u,d,c,p,h=s[0]/255,m=s[1]/255,g=s[2]/255,b=Math.max(h,m,g),y=b-Math.min(h,m,g),E=function(_){return(b-_)/6/y+1/2};return y===0?(c=0,p=0):(p=y/b,l=E(h),u=E(m),d=E(g),h===b?c=d-u:m===b?c=1/3+l-d:g===b&&(c=2/3+u-l),c<0?c+=1:c>1&&(c-=1)),[c*360,p*100,b*100]},o.rgb.hwb=function(s){let l=s[0],u=s[1],d=s[2],c=o.rgb.hsl(s)[0],p=1/255*Math.min(l,Math.min(u,d));return d=1-1/255*Math.max(l,Math.max(u,d)),[c,p*100,d*100]},o.rgb.cmyk=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255,c=Math.min(1-l,1-u,1-d),p=(1-l-c)/(1-c)||0,h=(1-u-c)/(1-c)||0,m=(1-d-c)/(1-c)||0;return[p*100,h*100,m*100,c*100]};function i(s,l){return(s[0]-l[0])**2+(s[1]-l[1])**2+(s[2]-l[2])**2}o.rgb.keyword=function(s){let l=nP[s];if(l)return l;let u=1/0,d;for(let c of Object.keys(r)){let p=r[c],h=i(s,p);h<u&&(u=h,d=c)}return d},o.keyword.rgb=function(s){return r[s]},o.rgb.xyz=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,d=d>.04045?((d+.055)/1.055)**2.4:d/12.92;let c=l*.4124+u*.3576+d*.1805,p=l*.2126+u*.7152+d*.0722,h=l*.0193+u*.1192+d*.9505;return[c*100,p*100,h*100]},o.rgb.lab=function(s){let l=o.rgb.xyz(s),u=l[0],d=l[1],c=l[2];u/=95.047,d/=100,c/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,d=d>.008856?d**(1/3):7.787*d+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let p=116*d-16,h=500*(u-d),m=200*(d-c);return[p,h,m]},o.hsl.rgb=function(s){let l=s[0]/360,u=s[1]/100,d=s[2]/100,c,p,h;if(u===0)return h=d*255,[h,h,h];d<.5?c=d*(1+u):c=d+u-d*u;let m=2*d-c,g=[0,0,0];for(let b=0;b<3;b++)p=l+1/3*-(b-1),p<0&&p++,p>1&&p--,6*p<1?h=m+(c-m)*6*p:2*p<1?h=c:3*p<2?h=m+(c-m)*(2/3-p)*6:h=m,g[b]=h*255;return g},o.hsl.hsv=function(s){let l=s[0],u=s[1]/100,d=s[2]/100,c=u,p=Math.max(d,.01);d*=2,u*=d<=1?d:2-d,c*=p<=1?p:2-p;let h=(d+u)/2,m=d===0?2*c/(p+c):2*u/(d+u);return[l,m*100,h*100]},o.hsv.rgb=function(s){let l=s[0]/60,u=s[1]/100,d=s[2]/100,c=Math.floor(l)%6,p=l-Math.floor(l),h=255*d*(1-u),m=255*d*(1-u*p),g=255*d*(1-u*(1-p));switch(d*=255,c){case 0:return[d,g,h];case 1:return[m,d,h];case 2:return[h,d,g];case 3:return[h,m,d];case 4:return[g,h,d];case 5:return[d,h,m]}},o.hsv.hsl=function(s){let l=s[0],u=s[1]/100,d=s[2]/100,c=Math.max(d,.01),p,h;h=(2-u)*d;let m=(2-u)*c;return p=u*c,p/=m<=1?m:2-m,p=p||0,h/=2,[l,p*100,h*100]},o.hwb.rgb=function(s){let l=s[0]/360,u=s[1]/100,d=s[2]/100,c=u+d,p;c>1&&(u/=c,d/=c);let h=Math.floor(6*l),m=1-d;p=6*l-h,h&1&&(p=1-p);let g=u+p*(m-u),b,y,E;switch(h){default:case 6:case 0:b=m,y=g,E=u;break;case 1:b=g,y=m,E=u;break;case 2:b=u,y=m,E=g;break;case 3:b=u,y=g,E=m;break;case 4:b=g,y=u,E=m;break;case 5:b=m,y=u,E=g;break}return[b*255,y*255,E*255]},o.cmyk.rgb=function(s){let l=s[0]/100,u=s[1]/100,d=s[2]/100,c=s[3]/100,p=1-Math.min(1,l*(1-c)+c),h=1-Math.min(1,u*(1-c)+c),m=1-Math.min(1,d*(1-c)+c);return[p*255,h*255,m*255]},o.xyz.rgb=function(s){let l=s[0]/100,u=s[1]/100,d=s[2]/100,c,p,h;return c=l*3.2406+u*-1.5372+d*-.4986,p=l*-.9689+u*1.8758+d*.0415,h=l*.0557+u*-.204+d*1.057,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,c=Math.min(Math.max(0,c),1),p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),[c*255,p*255,h*255]},o.xyz.lab=function(s){let l=s[0],u=s[1],d=s[2];l/=95.047,u/=100,d/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let c=116*u-16,p=500*(l-u),h=200*(u-d);return[c,p,h]},o.lab.xyz=function(s){let l=s[0],u=s[1],d=s[2],c,p,h;p=(l+16)/116,c=u/500+p,h=p-d/200;let m=p**3,g=c**3,b=h**3;return p=m>.008856?m:(p-16/116)/7.787,c=g>.008856?g:(c-16/116)/7.787,h=b>.008856?b:(h-16/116)/7.787,c*=95.047,p*=100,h*=108.883,[c,p,h]},o.lab.lch=function(s){let l=s[0],u=s[1],d=s[2],c;c=Math.atan2(d,u)*360/2/Math.PI,c<0&&(c+=360);let p=Math.sqrt(u*u+d*d);return[l,p,c]},o.lch.lab=function(s){let l=s[0],u=s[1],d=s[2]/360*2*Math.PI,c=u*Math.cos(d),p=u*Math.sin(d);return[l,c,p]},o.rgb.ansi16=function(s,l=null){let[u,d,c]=s,p=l===null?o.rgb.hsv(s)[2]:l;if(p=Math.round(p/50),p===0)return 30;let h=30+(Math.round(c/255)<<2|Math.round(d/255)<<1|Math.round(u/255));return p===2&&(h+=60),h},o.hsv.ansi16=function(s){return o.rgb.ansi16(o.hsv.rgb(s),s[2])},o.rgb.ansi256=function(s){let l=s[0],u=s[1],d=s[2];return l===u&&u===d?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(d/255*5)},o.ansi16.rgb=function(s){let l=s%10;if(l===0||l===7)return s>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(s>50)+1)*.5,d=(l&1)*u*255,c=(l>>1&1)*u*255,p=(l>>2&1)*u*255;return[d,c,p]},o.ansi256.rgb=function(s){if(s>=232){let p=(s-232)*10+8;return[p,p,p]}s-=16;let l,u=Math.floor(s/36)/5*255,d=Math.floor((l=s%36)/6)/5*255,c=l%6/5*255;return[u,d,c]},o.rgb.hex=function(s){let l=(((Math.round(s[0])&255)<<16)+((Math.round(s[1])&255)<<8)+(Math.round(s[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.hex.rgb=function(s){let l=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(m=>m+m).join(""));let d=parseInt(u,16),c=d>>16&255,p=d>>8&255,h=d&255;return[c,p,h]},o.rgb.hcg=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255,c=Math.max(Math.max(l,u),d),p=Math.min(Math.min(l,u),d),h=c-p,m,g;return h<1?m=p/(1-h):m=0,h<=0?g=0:c===l?g=(u-d)/h%6:c===u?g=2+(d-l)/h:g=4+(l-u)/h,g/=6,g%=1,[g*360,h*100,m*100]},o.hsl.hcg=function(s){let l=s[1]/100,u=s[2]/100,d=u<.5?2*l*u:2*l*(1-u),c=0;return d<1&&(c=(u-.5*d)/(1-d)),[s[0],d*100,c*100]},o.hsv.hcg=function(s){let l=s[1]/100,u=s[2]/100,d=l*u,c=0;return d<1&&(c=(u-d)/(1-d)),[s[0],d*100,c*100]},o.hcg.rgb=function(s){let l=s[0]/360,u=s[1]/100,d=s[2]/100;if(u===0)return[d*255,d*255,d*255];let c=[0,0,0],p=l%1*6,h=p%1,m=1-h,g=0;switch(Math.floor(p)){case 0:c[0]=1,c[1]=h,c[2]=0;break;case 1:c[0]=m,c[1]=1,c[2]=0;break;case 2:c[0]=0,c[1]=1,c[2]=h;break;case 3:c[0]=0,c[1]=m,c[2]=1;break;case 4:c[0]=h,c[1]=0,c[2]=1;break;default:c[0]=1,c[1]=0,c[2]=m}return g=(1-u)*d,[(u*c[0]+g)*255,(u*c[1]+g)*255,(u*c[2]+g)*255]},o.hcg.hsv=function(s){let l=s[1]/100,u=s[2]/100,d=l+u*(1-l),c=0;return d>0&&(c=l/d),[s[0],c*100,d*100]},o.hcg.hsl=function(s){let l=s[1]/100,u=s[2]/100*(1-l)+.5*l,d=0;return u>0&&u<.5?d=l/(2*u):u>=.5&&u<1&&(d=l/(2*(1-u))),[s[0],d*100,u*100]},o.hcg.hwb=function(s){let l=s[1]/100,u=s[2]/100,d=l+u*(1-l);return[s[0],(d-l)*100,(1-d)*100]},o.hwb.hcg=function(s){let l=s[1]/100,u=1-s[2]/100,d=u-l,c=0;return d<1&&(c=(u-d)/(1-d)),[s[0],d*100,c*100]},o.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},o.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},o.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},o.gray.hsl=function(s){return[0,0,s[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(s){return[0,100,s[0]]},o.gray.cmyk=function(s){return[0,0,0,s[0]]},o.gray.lab=function(s){return[s[0],0,0]},o.gray.hex=function(s){let l=Math.round(s[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},o.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}}}),LD=M({"../../node_modules/color-convert/route.js"(e,t){"use strict";var r=sv();function nP(){let l={},u=Object.keys(r);for(let d=u.length,c=0;c<d;c++)l[u[c]]={distance:-1,parent:null};return l}function o(l){let u=nP(),d=[l];for(u[l].distance=0;d.length;){let c=d.pop(),p=Object.keys(r[c]);for(let h=p.length,m=0;m<h;m++){let g=p[m],b=u[g];b.distance===-1&&(b.distance=u[c].distance+1,b.parent=c,d.unshift(g))}}return u}function i(l,u){return function(d){return u(l(d))}}function s(l,u){let d=[u[l].parent,l],c=r[u[l].parent][l],p=u[l].parent;for(;u[p].parent;)d.unshift(u[p].parent),c=i(r[u[p].parent][p],c),p=u[p].parent;return c.conversion=d,c}t.exports=function(l){let u=o(l),d={},c=Object.keys(u);for(let p=c.length,h=0;h<p;h++){let m=c[h];u[m].parent!==null&&(d[m]=s(m,u))}return d}}}),$D=M({"../../node_modules/color-convert/index.js"(e,t){"use strict";var r=sv(),nP=LD(),o={},i=Object.keys(r);function s(u){let d=function(...c){let p=c[0];return p==null?p:(p.length>1&&(c=p),u(c))};return"conversion"in u&&(d.conversion=u.conversion),d}function l(u){let d=function(...c){let p=c[0];if(p==null)return p;p.length>1&&(c=p);let h=u(c);if(typeof h=="object")for(let m=h.length,g=0;g<m;g++)h[g]=Math.round(h[g]);return h};return"conversion"in u&&(d.conversion=u.conversion),d}i.forEach(u=>{o[u]={},Object.defineProperty(o[u],"channels",{value:r[u].channels}),Object.defineProperty(o[u],"labels",{value:r[u].labels});let d=nP(u);Object.keys(d).forEach(c=>{let p=d[c];o[u][c]=l(p),o[u][c].raw=s(p)})}),t.exports=o}}),UD=M({"../../node_modules/ansi-styles/index.js"(e,t){"use strict";var r=(p,h)=>(...m)=>`\x1B[${p(...m)+h}m`,nP=(p,h)=>(...m)=>{let g=p(...m);return`\x1B[${38+h};5;${g}m`},o=(p,h)=>(...m)=>{let g=p(...m);return`\x1B[${38+h};2;${g[0]};${g[1]};${g[2]}m`},i=p=>p,s=(p,h,m)=>[p,h,m],l=(p,h,m)=>{Object.defineProperty(p,h,{get:()=>{let g=m();return Object.defineProperty(p,h,{value:g,enumerable:!0,configurable:!0}),g},enumerable:!0,configurable:!0})},u,d=(p,h,m,g)=>{u===void 0&&(u=$D());let b=g?10:0,y={};for(let[E,_]of Object.entries(u)){let P=E==="ansi16"?"ansi":E;E===h?y[P]=p(m,b):typeof _=="object"&&(y[P]=p(_[h],b))}return y};function c(){let p=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[m,g]of Object.entries(h)){for(let[b,y]of Object.entries(g))h[b]={open:`\x1B[${y[0]}m`,close:`\x1B[${y[1]}m`},g[b]=h[b],p.set(y[0],y[1]);Object.defineProperty(h,m,{value:g,enumerable:!1})}return Object.defineProperty(h,"codes",{value:p,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",l(h.color,"ansi",()=>d(r,"ansi16",i,!1)),l(h.color,"ansi256",()=>d(nP,"ansi256",i,!1)),l(h.color,"ansi16m",()=>d(o,"rgb",s,!1)),l(h.bgColor,"ansi",()=>d(r,"ansi16",i,!0)),l(h.bgColor,"ansi256",()=>d(nP,"ansi256",i,!0)),l(h.bgColor,"ansi16m",()=>d(o,"rgb",s,!0)),h}Object.defineProperty(t,"exports",{enumerable:!0,get:c})}}),HD=M({"../../node_modules/has-flag/index.js"(e,t){"use strict";t.exports=(r,nP=process.argv)=>{let o=r.startsWith("-")?"":r.length===1?"-":"--",i=nP.indexOf(o+r),s=nP.indexOf("--");return i!==-1&&(s===-1||i<s)}}}),zD=M({"../../node_modules/supports-color/index.js"(e,t){"use strict";var r=require("os"),o=HD(),{env:i}=process,s;o("no-color")||o("no-colors")||o("color=false")||o("color=never")?s=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(s=1),"FORCE_COLOR"in i&&(i.FORCE_COLOR==="true"?s=1:i.FORCE_COLOR==="false"?s=0:s=i.FORCE_COLOR.length===0?1:Math.min(parseInt(i.FORCE_COLOR,10),3));function l(c){return c===0?!1:{level:c,hasBasic:!0,has256:c>=2,has16m:c>=3}}function u(c,p){if(s===0)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(c&&!p&&s===void 0)return 0;let h=s||0;if(i.TERM==="dumb")return h;if(process.platform==="win32"){let m=r.release().split(".");return Number(m[0])>=10&&Number(m[2])>=10586?Number(m[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(m=>m in i)||i.CI_NAME==="codeship"?1:h;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if(i.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in i){let m=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return m>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:h}function d(c){let p=u(c,c&&c.isTTY);return l(p)}t.exports={supportsColor:d,stdout:l(u(!0,nP.isatty(1))),stderr:l(u(!0,nP.isatty(2)))}}}),VD=M({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){"use strict";var r=(o,i,s)=>{let l=o.indexOf(i);if(l===-1)return o;let u=i.length,d=0,c="";do c+=o.substr(d,l-d)+i+s,d=l+u,l=o.indexOf(i,d);while(l!==-1);return c+=o.substr(d),c},nP=(o,i,s,l)=>{let u=0,d="";do{let c=o[l-1]==="\r";d+=o.substr(u,(c?l-1:l)-u)+i+(c?`\r
|
|
263
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var V=!0,J=!1,x;return{s:function(){N=N.call(T)},nP:function(){var B=N.next();return V=B.done,B},e:function(B){J=!0,x=B},f:function(){try{!V&&N.return!=null&&N.return()}finally{if(J)throw x}}}}function d(T,A){if(T){if(typeof T=="string")return c(T,A);var N=Object.prototype.toString.call(T).slice(8,-1);if(N==="Object"&&T.constructor&&(N=T.constructor.name),N==="Map"||N==="Set")return Array.from(T);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return c(T,A)}}function c(T,A){(A==null||A>T.length)&&(A=T.length);for(var N=0,U=new Array(A);N<A;N++)U[N]=T[N];return U}var p=[],h=r.default.keys();for(C=0;C<h.length;C++)if(m=h[C],g=r.default.get(m),b=[],g){for(y=[].concat(g.baseConcepts,g.relatedConcepts),P=0;P<y.length;P++)E=y[P],E.module==="HTML"&&(_=E.concept,_!=null&&b.push(_));b.length>0&&p.push([m,b])}var m,g,b,y,E,_,P,C,w={entries:function(){return p},forEach:function(T){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,N=u(p),U;try{for(N.s();!(U=N.nP()).done;){var X=o(U.value,2),V=X[0],J=X[1];T.call(A,J,V,p)}}catch(x){N.e(x)}finally{N.f()}},get:function(T){var A=p.find(function(N){return N[0]===T});return A&&A[1]},has:function(T){return!!w.get(T)},keys:function(){return p.map(function(T){var A=o(T,1),N=A[0];return N})},values:function(){return p.map(function(T){var A=o(T,2),N=A[1];return N})}},S=(0,t.default)(w,w.entries());e.default=S}}),pp=M({"../../node_modules/aria-query/lib/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(tM()),r=s(rM()),nP=s(dp()),o=s(BD()),i=s(kD());function s(h){return h&&h.__esModule?h:{default:h}}var l=t.default;e.aria=l;var u=r.default;e.dom=u;var d=nP.default;e.roles=d;var c=o.default;e.elementRoles=c;var p=i.default;e.roleElements=p}}),FD=M({"../../node_modules/color-name/index.js"(e,t){"use strict";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]}}}),sv=M({"../../node_modules/color-convert/conversions.js"(e,t){"use strict";var r=FD(),nP={};for(let s of Object.keys(r))nP[r[s]]=s;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let s of Object.keys(o)){if(!("channels"in o[s]))throw new Error("missing channels property: "+s);if(!("labels"in o[s]))throw new Error("missing channel labels property: "+s);if(o[s].labels.length!==o[s].channels)throw new Error("channel and label counts mismatch: "+s);let{channels:l,labels:u}=o[s];delete o[s].channels,delete o[s].labels,Object.defineProperty(o[s],"channels",{value:l}),Object.defineProperty(o[s],"labels",{value:u})}o.rgb.hsl=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255,c=Math.min(l,u,d),p=Math.max(l,u,d),h=p-c,m,g;p===c?m=0:l===p?m=(u-d)/h:u===p?m=2+(d-l)/h:d===p&&(m=4+(l-u)/h),m=Math.min(m*60,360),m<0&&(m+=360);let b=(c+p)/2;return p===c?g=0:b<=.5?g=h/(p+c):g=h/(2-p-c),[m,g*100,b*100]},o.rgb.hsv=function(s){let l,u,d,c,p,h=s[0]/255,m=s[1]/255,g=s[2]/255,b=Math.max(h,m,g),y=b-Math.min(h,m,g),E=function(_){return(b-_)/6/y+1/2};return y===0?(c=0,p=0):(p=y/b,l=E(h),u=E(m),d=E(g),h===b?c=d-u:m===b?c=1/3+l-d:g===b&&(c=2/3+u-l),c<0?c+=1:c>1&&(c-=1)),[c*360,p*100,b*100]},o.rgb.hwb=function(s){let l=s[0],u=s[1],d=s[2],c=o.rgb.hsl(s)[0],p=1/255*Math.min(l,Math.min(u,d));return d=1-1/255*Math.max(l,Math.max(u,d)),[c,p*100,d*100]},o.rgb.cmyk=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255,c=Math.min(1-l,1-u,1-d),p=(1-l-c)/(1-c)||0,h=(1-u-c)/(1-c)||0,m=(1-d-c)/(1-c)||0;return[p*100,h*100,m*100,c*100]};function i(s,l){return(s[0]-l[0])**2+(s[1]-l[1])**2+(s[2]-l[2])**2}o.rgb.keyword=function(s){let l=nP[s];if(l)return l;let u=1/0,d;for(let c of Object.keys(r)){let p=r[c],h=i(s,p);h<u&&(u=h,d=c)}return d},o.keyword.rgb=function(s){return r[s]},o.rgb.xyz=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,d=d>.04045?((d+.055)/1.055)**2.4:d/12.92;let c=l*.4124+u*.3576+d*.1805,p=l*.2126+u*.7152+d*.0722,h=l*.0193+u*.1192+d*.9505;return[c*100,p*100,h*100]},o.rgb.lab=function(s){let l=o.rgb.xyz(s),u=l[0],d=l[1],c=l[2];u/=95.047,d/=100,c/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,d=d>.008856?d**(1/3):7.787*d+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let p=116*d-16,h=500*(u-d),m=200*(d-c);return[p,h,m]},o.hsl.rgb=function(s){let l=s[0]/360,u=s[1]/100,d=s[2]/100,c,p,h;if(u===0)return h=d*255,[h,h,h];d<.5?c=d*(1+u):c=d+u-d*u;let m=2*d-c,g=[0,0,0];for(let b=0;b<3;b++)p=l+1/3*-(b-1),p<0&&p++,p>1&&p--,6*p<1?h=m+(c-m)*6*p:2*p<1?h=c:3*p<2?h=m+(c-m)*(2/3-p)*6:h=m,g[b]=h*255;return g},o.hsl.hsv=function(s){let l=s[0],u=s[1]/100,d=s[2]/100,c=u,p=Math.max(d,.01);d*=2,u*=d<=1?d:2-d,c*=p<=1?p:2-p;let h=(d+u)/2,m=d===0?2*c/(p+c):2*u/(d+u);return[l,m*100,h*100]},o.hsv.rgb=function(s){let l=s[0]/60,u=s[1]/100,d=s[2]/100,c=Math.floor(l)%6,p=l-Math.floor(l),h=255*d*(1-u),m=255*d*(1-u*p),g=255*d*(1-u*(1-p));switch(d*=255,c){case 0:return[d,g,h];case 1:return[m,d,h];case 2:return[h,d,g];case 3:return[h,m,d];case 4:return[g,h,d];case 5:return[d,h,m]}},o.hsv.hsl=function(s){let l=s[0],u=s[1]/100,d=s[2]/100,c=Math.max(d,.01),p,h;h=(2-u)*d;let m=(2-u)*c;return p=u*c,p/=m<=1?m:2-m,p=p||0,h/=2,[l,p*100,h*100]},o.hwb.rgb=function(s){let l=s[0]/360,u=s[1]/100,d=s[2]/100,c=u+d,p;c>1&&(u/=c,d/=c);let h=Math.floor(6*l),m=1-d;p=6*l-h,h&1&&(p=1-p);let g=u+p*(m-u),b,y,E;switch(h){default:case 6:case 0:b=m,y=g,E=u;break;case 1:b=g,y=m,E=u;break;case 2:b=u,y=m,E=g;break;case 3:b=u,y=g,E=m;break;case 4:b=g,y=u,E=m;break;case 5:b=m,y=u,E=g;break}return[b*255,y*255,E*255]},o.cmyk.rgb=function(s){let l=s[0]/100,u=s[1]/100,d=s[2]/100,c=s[3]/100,p=1-Math.min(1,l*(1-c)+c),h=1-Math.min(1,u*(1-c)+c),m=1-Math.min(1,d*(1-c)+c);return[p*255,h*255,m*255]},o.xyz.rgb=function(s){let l=s[0]/100,u=s[1]/100,d=s[2]/100,c,p,h;return c=l*3.2406+u*-1.5372+d*-.4986,p=l*-.9689+u*1.8758+d*.0415,h=l*.0557+u*-.204+d*1.057,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,c=Math.min(Math.max(0,c),1),p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),[c*255,p*255,h*255]},o.xyz.lab=function(s){let l=s[0],u=s[1],d=s[2];l/=95.047,u/=100,d/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let c=116*u-16,p=500*(l-u),h=200*(u-d);return[c,p,h]},o.lab.xyz=function(s){let l=s[0],u=s[1],d=s[2],c,p,h;p=(l+16)/116,c=u/500+p,h=p-d/200;let m=p**3,g=c**3,b=h**3;return p=m>.008856?m:(p-16/116)/7.787,c=g>.008856?g:(c-16/116)/7.787,h=b>.008856?b:(h-16/116)/7.787,c*=95.047,p*=100,h*=108.883,[c,p,h]},o.lab.lch=function(s){let l=s[0],u=s[1],d=s[2],c;c=Math.atan2(d,u)*360/2/Math.PI,c<0&&(c+=360);let p=Math.sqrt(u*u+d*d);return[l,p,c]},o.lch.lab=function(s){let l=s[0],u=s[1],d=s[2]/360*2*Math.PI,c=u*Math.cos(d),p=u*Math.sin(d);return[l,c,p]},o.rgb.ansi16=function(s,l=null){let[u,d,c]=s,p=l===null?o.rgb.hsv(s)[2]:l;if(p=Math.round(p/50),p===0)return 30;let h=30+(Math.round(c/255)<<2|Math.round(d/255)<<1|Math.round(u/255));return p===2&&(h+=60),h},o.hsv.ansi16=function(s){return o.rgb.ansi16(o.hsv.rgb(s),s[2])},o.rgb.ansi256=function(s){let l=s[0],u=s[1],d=s[2];return l===u&&u===d?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(d/255*5)},o.ansi16.rgb=function(s){let l=s%10;if(l===0||l===7)return s>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(s>50)+1)*.5,d=(l&1)*u*255,c=(l>>1&1)*u*255,p=(l>>2&1)*u*255;return[d,c,p]},o.ansi256.rgb=function(s){if(s>=232){let p=(s-232)*10+8;return[p,p,p]}s-=16;let l,u=Math.floor(s/36)/5*255,d=Math.floor((l=s%36)/6)/5*255,c=l%6/5*255;return[u,d,c]},o.rgb.hex=function(s){let l=(((Math.round(s[0])&255)<<16)+((Math.round(s[1])&255)<<8)+(Math.round(s[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.hex.rgb=function(s){let l=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(m=>m+m).join(""));let d=parseInt(u,16),c=d>>16&255,p=d>>8&255,h=d&255;return[c,p,h]},o.rgb.hcg=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255,c=Math.max(Math.max(l,u),d),p=Math.min(Math.min(l,u),d),h=c-p,m,g;return h<1?m=p/(1-h):m=0,h<=0?g=0:c===l?g=(u-d)/h%6:c===u?g=2+(d-l)/h:g=4+(l-u)/h,g/=6,g%=1,[g*360,h*100,m*100]},o.hsl.hcg=function(s){let l=s[1]/100,u=s[2]/100,d=u<.5?2*l*u:2*l*(1-u),c=0;return d<1&&(c=(u-.5*d)/(1-d)),[s[0],d*100,c*100]},o.hsv.hcg=function(s){let l=s[1]/100,u=s[2]/100,d=l*u,c=0;return d<1&&(c=(u-d)/(1-d)),[s[0],d*100,c*100]},o.hcg.rgb=function(s){let l=s[0]/360,u=s[1]/100,d=s[2]/100;if(u===0)return[d*255,d*255,d*255];let c=[0,0,0],p=l%1*6,h=p%1,m=1-h,g=0;switch(Math.floor(p)){case 0:c[0]=1,c[1]=h,c[2]=0;break;case 1:c[0]=m,c[1]=1,c[2]=0;break;case 2:c[0]=0,c[1]=1,c[2]=h;break;case 3:c[0]=0,c[1]=m,c[2]=1;break;case 4:c[0]=h,c[1]=0,c[2]=1;break;default:c[0]=1,c[1]=0,c[2]=m}return g=(1-u)*d,[(u*c[0]+g)*255,(u*c[1]+g)*255,(u*c[2]+g)*255]},o.hcg.hsv=function(s){let l=s[1]/100,u=s[2]/100,d=l+u*(1-l),c=0;return d>0&&(c=l/d),[s[0],c*100,d*100]},o.hcg.hsl=function(s){let l=s[1]/100,u=s[2]/100*(1-l)+.5*l,d=0;return u>0&&u<.5?d=l/(2*u):u>=.5&&u<1&&(d=l/(2*(1-u))),[s[0],d*100,u*100]},o.hcg.hwb=function(s){let l=s[1]/100,u=s[2]/100,d=l+u*(1-l);return[s[0],(d-l)*100,(1-d)*100]},o.hwb.hcg=function(s){let l=s[1]/100,u=1-s[2]/100,d=u-l,c=0;return d<1&&(c=(u-d)/(1-d)),[s[0],d*100,c*100]},o.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},o.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},o.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},o.gray.hsl=function(s){return[0,0,s[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(s){return[0,100,s[0]]},o.gray.cmyk=function(s){return[0,0,0,s[0]]},o.gray.lab=function(s){return[s[0],0,0]},o.gray.hex=function(s){let l=Math.round(s[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},o.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}}}),LD=M({"../../node_modules/color-convert/route.js"(e,t){"use strict";var r=sv();function nP(){let l={},u=Object.keys(r);for(let d=u.length,c=0;c<d;c++)l[u[c]]={distance:-1,parent:null};return l}function o(l){let u=nP(),d=[l];for(u[l].distance=0;d.length;){let c=d.pop(),p=Object.keys(r[c]);for(let h=p.length,m=0;m<h;m++){let g=p[m],b=u[g];b.distance===-1&&(b.distance=u[c].distance+1,b.parent=c,d.unshift(g))}}return u}function i(l,u){return function(d){return u(l(d))}}function s(l,u){let d=[u[l].parent,l],c=r[u[l].parent][l],p=u[l].parent;for(;u[p].parent;)d.unshift(u[p].parent),c=i(r[u[p].parent][p],c),p=u[p].parent;return c.conversion=d,c}t.exports=function(l){let u=o(l),d={},c=Object.keys(u);for(let p=c.length,h=0;h<p;h++){let m=c[h];u[m].parent!==null&&(d[m]=s(m,u))}return d}}}),$D=M({"../../node_modules/color-convert/index.js"(e,t){"use strict";var r=sv(),nP=LD(),o={},i=Object.keys(r);function s(u){let d=function(...c){let p=c[0];return p==null?p:(p.length>1&&(c=p),u(c))};return"conversion"in u&&(d.conversion=u.conversion),d}function l(u){let d=function(...c){let p=c[0];if(p==null)return p;p.length>1&&(c=p);let h=u(c);if(typeof h=="object")for(let m=h.length,g=0;g<m;g++)h[g]=Math.round(h[g]);return h};return"conversion"in u&&(d.conversion=u.conversion),d}i.forEach(u=>{o[u]={},Object.defineProperty(o[u],"channels",{value:r[u].channels}),Object.defineProperty(o[u],"labels",{value:r[u].labels});let d=nP(u);Object.keys(d).forEach(c=>{let p=d[c];o[u][c]=l(p),o[u][c].raw=s(p)})}),t.exports=o}}),UD=M({"../../node_modules/ansi-styles/index.js"(e,t){"use strict";var r=(p,h)=>(...m)=>`\x1B[${p(...m)+h}m`,nP=(p,h)=>(...m)=>{let g=p(...m);return`\x1B[${38+h};5;${g}m`},o=(p,h)=>(...m)=>{let g=p(...m);return`\x1B[${38+h};2;${g[0]};${g[1]};${g[2]}m`},i=p=>p,s=(p,h,m)=>[p,h,m],l=(p,h,m)=>{Object.defineProperty(p,h,{get:()=>{let g=m();return Object.defineProperty(p,h,{value:g,enumerable:!0,configurable:!0}),g},enumerable:!0,configurable:!0})},u,d=(p,h,m,g)=>{u===void 0&&(u=$D());let b=g?10:0,y={};for(let[E,_]of Object.entries(u)){let P=E==="ansi16"?"ansi":E;E===h?y[P]=p(m,b):typeof _=="object"&&(y[P]=p(_[h],b))}return y};function c(){let p=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[m,g]of Object.entries(h)){for(let[b,y]of Object.entries(g))h[b]={open:`\x1B[${y[0]}m`,close:`\x1B[${y[1]}m`},g[b]=h[b],p.set(y[0],y[1]);Object.defineProperty(h,m,{value:g,enumerable:!1})}return Object.defineProperty(h,"codes",{value:p,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",l(h.color,"ansi",()=>d(r,"ansi16",i,!1)),l(h.color,"ansi256",()=>d(nP,"ansi256",i,!1)),l(h.color,"ansi16m",()=>d(o,"rgb",s,!1)),l(h.bgColor,"ansi",()=>d(r,"ansi16",i,!0)),l(h.bgColor,"ansi256",()=>d(nP,"ansi256",i,!0)),l(h.bgColor,"ansi16m",()=>d(o,"rgb",s,!0)),h}Object.defineProperty(t,"exports",{enumerable:!0,get:c})}}),HD=M({"../../node_modules/has-flag/index.js"(e,t){"use strict";t.exports=(r,nP=process.argv)=>{let o=r.startsWith("-")?"":r.length===1?"-":"--",i=nP.indexOf(o+r),s=nP.indexOf("--");return i!==-1&&(s===-1||i<s)}}}),zD=M({"../../node_modules/supports-color/index.js"(e,t){"use strict";var r=require("os"),o=HD(),{env:i}=process,s;o("no-color")||o("no-colors")||o("color=false")||o("color=never")?s=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(s=1),"FORCE_COLOR"in i&&(i.FORCE_COLOR==="true"?s=1:i.FORCE_COLOR==="false"?s=0:s=i.FORCE_COLOR.length===0?1:Math.min(parseInt(i.FORCE_COLOR,10),3));function l(c){return c===0?!1:{level:c,hasBasic:!0,has256:c>=2,has16m:c>=3}}function u(c,p){if(s===0)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(c&&!p&&s===void 0)return 0;let h=s||0;if(i.TERM==="dumb")return h;if(process.platform==="win32"){let m=r.release().split(".");return Number(m[0])>=10&&Number(m[2])>=10586?Number(m[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(m=>m in i)||i.CI_NAME==="codeship"?1:h;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if(i.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in i){let m=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return m>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:h}function d(c){let p=u(c,c&&c.isTTY);return l(p)}t.exports={supportsColor:d,stdout:l(u(!0,nP.isatty(1))),stderr:l(u(!0,nP.isatty(2)))}}}),VD=M({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){"use strict";var r=(o,i,s)=>{let l=o.indexOf(i);if(l===-1)return o;let u=i.length,d=0,c="";do c+=o.substr(d,l-d)+i+s,d=l+u,l=o.indexOf(i,d);while(l!==-1);return c+=o.substr(d),c},nP=(o,i,s,l)=>{let u=0,d="";do{let c=o[l-1]==="\r";d+=o.substr(u,(c?l-1:l)-u)+i+(c?`\r
|
|
264
264
|
`:`
|
|
265
265
|
`)+s,u=l+1,l=o.indexOf(`
|
|
266
266
|
`,u)}while(l!==-1);return d+=o.substr(u),d};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:nP}}}),GD=M({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){"use strict";var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\nP)))|(\})|((?:.|[\r\nP\f])+?)/gi,nP=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,s=new Map([["nP",`
|
|
267
267
|
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(p){let h=p[0]==="u",m=p[1]==="{";return h&&!m&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):h&&m?String.fromCodePoint(parseInt(p.slice(2,-1),16)):s.get(p)||p}function u(p,h){let m=[],g=h.trim().split(/\s*,\s*/g),b;for(let y of g){let E=Number(y);if(!Number.isNaN(E))m.push(E);else if(b=y.match(o))m.push(b[2].replace(i,(_,P,C)=>P?l(P):C));else throw new Error(`Invalid Chalk template style argument: ${y} (in style '${p}')`)}return m}function d(p){nP.lastIndex=0;let h=[],m;for(;(m=nP.exec(p))!==null;){let g=m[1];if(m[2]){let b=u(g,m[2]);h.push([g].concat(b))}else h.push([g])}return h}function c(p,h){let m={};for(let b of h)for(let y of b.styles)m[y[0]]=b.inverse?null:y.slice(1);let g=p;for(let[b,y]of Object.entries(m))if(Array.isArray(y)){if(!(b in g))throw new Error(`Unknown Chalk style: ${b}`);g=y.length>0?g[b](...y):g[b]}return g}t.exports=(p,h)=>{let m=[],g=[],b=[];if(h.replace(r,(y,E,_,P,C,w)=>{if(E)b.push(l(E));else if(P){let S=b.join("");b=[],g.push(m.length===0?S:c(p,m)(S)),m.push({inverse:_,styles:d(P)})}else if(C){if(m.length===0)throw new Error("Found extraneous } in Chalk template literal");g.push(c(p,m)(b.join(""))),b=[],m.pop()}else b.push(w)}),g.push(b.join("")),m.length>0){let y=`Chalk template literal is missing ${m.length} closing bracket${m.length===1?"":"s"} (\`}\`)`;throw new Error(y)}return g.join("")}}}),lv=M({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){"use strict";var r=UD(),{stdout:nP,stderr:o}=zD(),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:s}=VD(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),d=(w,S={})=>{if(S.level>3||S.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let T=nP?nP.level:0;w.level=S.level===void 0?T:S.level},c=class{constructor(w){return p(w)}},p=w=>{let S={};return d(S,w),S.template=(...T)=>P(S.template,...T),Object.setPrototypeOf(S,h.prototype),Object.setPrototypeOf(S.template,S),S.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},S.template.Instance=c,S.template};function h(w){return p(w)}for(let[w,S]of Object.entries(r))u[w]={get(){let T=y(this,b(S.open,S.close,this._styler),this._isEmpty);return Object.defineProperty(this,w,{value:T}),T}};u.visible={get(){let w=y(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:w}),w}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let w of m)u[w]={get(){let{level:S}=this;return function(...T){let A=b(r.color[l[S]][w](...T),r.color.close,this._styler);return y(this,A,this._isEmpty)}}};for(let w of m){let S="bg"+w[0].toUpperCase()+w.slice(1);u[S]={get(){let{level:T}=this;return function(...A){let N=b(r.bgColor[l[T]][w](...A),r.bgColor.close,this._styler);return y(this,N,this._isEmpty)}}}}var g=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(w){this._generator.level=w}}}),b=(w,S,T)=>{let A,N;return T===void 0?(A=w,N=S):(A=T.openAll+w,N=S+T.closeAll),{open:w,close:S,openAll:A,closeAll:N,parent:T}},y=(w,S,T)=>{let A=(...N)=>E(A,N.length===1?""+N[0]:N.join(" "));return A.__proto__=g,A._generator=w,A._styler=S,A._isEmpty=T,A},E=(w,S)=>{if(w.level<=0||!S)return w._isEmpty?"":S;let T=w._styler;if(T===void 0)return S;let{openAll:A,closeAll:N}=T;if(S.indexOf("\x1B")!==-1)for(;T!==void 0;)S=i(S,T.close,T.open),T=T.parent;let U=S.indexOf(`
|
|
268
|
-
`);return U!==-1&&(S=s(S,N,A,U)),A+S+N},_,P=(w,...S)=>{let[T]=S;if(!Array.isArray(T))return S.join(" ");let A=S.slice(1),N=[T.raw[0]];for(let U=1;U<T.length;U++)N.push(String(A[U-1]).replace(/[{}\\]/g,"\\$&"),String(T.raw[U]));return _===void 0&&(_=GD()),_(w,N.join(""))};Object.defineProperties(h.prototype,u);var C=h();C.supportsColor=nP,C.stderr=h({level:o?o.level:0}),C.stderr.supportsColor=o,C.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=C}}),WD=M({"../../node_modules/lodash/_listCacheClear.js"(e,t){"use strict";function r(){this.__data__=[],this.size=0}t.exports=r}}),uv=M({"../../node_modules/lodash/eq.js"(e,t){"use strict";function r(nP,o){return nP===o||nP!==nP&&o!==o}t.exports=r}}),yl=M({"../../node_modules/lodash/_assocIndexOf.js"(e,t){"use strict";var r=uv();function nP(o,i){for(var s=o.length;s--;)if(r(o[s][0],i))return s;return-1}t.exports=nP}}),YD=M({"../../node_modules/lodash/_listCacheDelete.js"(e,t){"use strict";var r=yl(),nP=Array.prototype,o=nP.splice;function i(s){var l=this.__data__,u=r(l,s);if(u<0)return!1;var d=l.length-1;return u==d?l.pop():o.call(l,u,1),--this.size,!0}t.exports=i}}),KD=M({"../../node_modules/lodash/_listCacheGet.js"(e,t){"use strict";var r=yl();function nP(o){var i=this.__data__,s=r(i,o);return s<0?void 0:i[s][1]}t.exports=nP}}),JD=M({"../../node_modules/lodash/_listCacheHas.js"(e,t){"use strict";var r=yl();function nP(o){return r(this.__data__,o)>-1}t.exports=nP}}),XD=M({"../../node_modules/lodash/_listCacheSet.js"(e,t){"use strict";var r=yl();function nP(o,i){var s=this.__data__,l=r(s,o);return l<0?(++this.size,s.push([o,i])):s[l][1]=i,this}t.exports=nP}}),vl=M({"../../node_modules/lodash/_ListCache.js"(e,t){"use strict";var r=WD(),nP=YD(),o=KD(),i=JD(),s=XD();function l(u){var d=-1,c=u==null?0:u.length;for(this.clear();++d<c;){var p=u[d];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=nP,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),QD=M({"../../node_modules/lodash/_stackClear.js"(e,t){"use strict";var r=vl();function nP(){this.__data__=new r,this.size=0}t.exports=nP}}),ZD=M({"../../node_modules/lodash/_stackDelete.js"(e,t){"use strict";function r(nP){var o=this.__data__,i=o.delete(nP);return this.size=o.size,i}t.exports=r}}),tq=M({"../../node_modules/lodash/_stackGet.js"(e,t){"use strict";function r(nP){return this.__data__.get(nP)}t.exports=r}}),rq=M({"../../node_modules/lodash/_stackHas.js"(e,t){"use strict";function r(nP){return this.__data__.has(nP)}t.exports=r}}),cv=M({"../../node_modules/lodash/_freeGlobal.js"(e,t){"use strict";var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),cn=M({"../../node_modules/lodash/_root.js"(e,t){"use strict";var r=cv(),nP=typeof self=="object"&&self&&self.Object===Object&&self,o=r||nP||Function("return this")();t.exports=o}}),hp=M({"../../node_modules/lodash/_Symbol.js"(e,t){"use strict";var r=cn(),nP=r.Symbol;t.exports=nP}}),nq=M({"../../node_modules/lodash/_getRawTag.js"(e,t){"use strict";var r=hp(),nP=Object.prototype,o=nP.hasOwnProperty,i=nP.toString,s=r?r.toStringTag:void 0;function l(u){var d=o.call(u,s),c=u[s];try{u[s]=void 0;var p=!0}catch{}var h=i.call(u);return p&&(d?u[s]=c:delete u[s]),h}t.exports=l}}),oq=M({"../../node_modules/lodash/_objectToString.js"(e,t){"use strict";var r=Object.prototype,nP=r.toString;function o(i){return nP.call(i)}t.exports=o}}),El=M({"../../node_modules/lodash/_baseGetTag.js"(e,t){"use strict";var r=hp(),nP=nq(),o=oq(),i="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function u(d){return d==null?d===void 0?s:i:l&&l in Object(d)?nP(d):o(d)}t.exports=u}}),dv=M({"../../node_modules/lodash/isObject.js"(e,t){"use strict";function r(nP){var o=typeof nP;return nP!=null&&(o=="object"||o=="function")}t.exports=r}}),pv=M({"../../node_modules/lodash/isFunction.js"(e,t){"use strict";var r=El(),nP=dv(),o="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(d){if(!nP(d))return!1;var c=r(d);return c==i||c==s||c==o||c==l}t.exports=u}}),aq=M({"../../node_modules/lodash/_coreJsData.js"(e,t){"use strict";var r=cn(),nP=r["__core-js_shared__"];t.exports=nP}}),iq=M({"../../node_modules/lodash/_isMasked.js"(e,t){"use strict";var r=aq(),nP=function(){var i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function o(i){return!!nP&&nP in i}t.exports=o}}),fv=M({"../../node_modules/lodash/_toSource.js"(e,t){"use strict";var r=Function.prototype,nP=r.toString;function o(i){if(i!=null){try{return nP.call(i)}catch{}try{return i+""}catch{}}return""}t.exports=o}}),sq=M({"../../node_modules/lodash/_baseIsNative.js"(e,t){"use strict";var r=pv(),nP=iq(),o=dv(),i=fv(),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,c=u.toString,p=d.hasOwnProperty,h=RegExp("^"+c.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m(g){if(!o(g)||nP(g))return!1;var b=r(g)?h:l;return b.test(i(g))}t.exports=m}}),lq=M({"../../node_modules/lodash/_getValue.js"(e,t){"use strict";function r(nP,o){return nP==null?void 0:nP[o]}t.exports=r}}),za=M({"../../node_modules/lodash/_getNative.js"(e,t){"use strict";var r=sq(),nP=lq();function o(i,s){var l=nP(i,s);return r(l)?l:void 0}t.exports=o}}),mp=M({"../../node_modules/lodash/_Map.js"(e,t){"use strict";var r=za(),nP=cn(),o=r(nP,"Map");t.exports=o}}),_l=M({"../../node_modules/lodash/_nativeCreate.js"(e,t){"use strict";var r=za(),nP=r(Object,"create");t.exports=nP}}),uq=M({"../../node_modules/lodash/_hashClear.js"(e,t){"use strict";var r=_l();function nP(){this.__data__=r?r(null):{},this.size=0}t.exports=nP}}),cq=M({"../../node_modules/lodash/_hashDelete.js"(e,t){"use strict";function r(nP){var o=this.has(nP)&&delete this.__data__[nP];return this.size-=o?1:0,o}t.exports=r}}),dq=M({"../../node_modules/lodash/_hashGet.js"(e,t){"use strict";var r=_l(),nP="__lodash_hash_undefined__",o=Object.prototype,i=o.hasOwnProperty;function s(l){var u=this.__data__;if(r){var d=u[l];return d===nP?void 0:d}return i.call(u,l)?u[l]:void 0}t.exports=s}}),pq=M({"../../node_modules/lodash/_hashHas.js"(e,t){"use strict";var r=_l(),nP=Object.prototype,o=nP.hasOwnProperty;function i(s){var l=this.__data__;return r?l[s]!==void 0:o.call(l,s)}t.exports=i}}),fq=M({"../../node_modules/lodash/_hashSet.js"(e,t){"use strict";var r=_l(),nP="__lodash_hash_undefined__";function o(i,s){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=r&&s===void 0?nP:s,this}t.exports=o}}),hq=M({"../../node_modules/lodash/_Hash.js"(e,t){"use strict";var r=uq(),nP=cq(),o=dq(),i=pq(),s=fq();function l(u){var d=-1,c=u==null?0:u.length;for(this.clear();++d<c;){var p=u[d];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=nP,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),mq=M({"../../node_modules/lodash/_mapCacheClear.js"(e,t){"use strict";var r=hq(),nP=vl(),o=mp();function i(){this.size=0,this.__data__={hash:new r,map:new(o||nP),string:new r}}t.exports=i}}),gq=M({"../../node_modules/lodash/_isKeyable.js"(e,t){"use strict";function r(nP){var o=typeof nP;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?nP!=="__proto__":nP===null}t.exports=r}}),wl=M({"../../node_modules/lodash/_getMapData.js"(e,t){"use strict";var r=gq();function nP(o,i){var s=o.__data__;return r(i)?s[typeof i=="string"?"string":"hash"]:s.map}t.exports=nP}}),bq=M({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){"use strict";var r=wl();function nP(o){var i=r(this,o).delete(o);return this.size-=i?1:0,i}t.exports=nP}}),yq=M({"../../node_modules/lodash/_mapCacheGet.js"(e,t){"use strict";var r=wl();function nP(o){return r(this,o).get(o)}t.exports=nP}}),vq=M({"../../node_modules/lodash/_mapCacheHas.js"(e,t){"use strict";var r=wl();function nP(o){return r(this,o).has(o)}t.exports=nP}}),Eq=M({"../../node_modules/lodash/_mapCacheSet.js"(e,t){"use strict";var r=wl();function nP(o,i){var s=r(this,o),l=s.size;return s.set(o,i),this.size+=s.size==l?0:1,this}t.exports=nP}}),hv=M({"../../node_modules/lodash/_MapCache.js"(e,t){"use strict";var r=mq(),nP=bq(),o=yq(),i=vq(),s=Eq();function l(u){var d=-1,c=u==null?0:u.length;for(this.clear();++d<c;){var p=u[d];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=nP,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),_q=M({"../../node_modules/lodash/_stackSet.js"(e,t){"use strict";var r=vl(),nP=mp(),o=hv(),i=200;function s(l,u){var d=this.__data__;if(d instanceof r){var c=d.__data__;if(!nP||c.length<i-1)return c.push([l,u]),this.size=++d.size,this;d=this.__data__=new o(c)}return d.set(l,u),this.size=d.size,this}t.exports=s}}),wq=M({"../../node_modules/lodash/_Stack.js"(e,t){"use strict";var r=vl(),nP=QD(),o=ZD(),i=tq(),s=rq(),l=_q();function u(d){var c=this.__data__=new r(d);this.size=c.size}u.prototype.clear=nP,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=l,t.exports=u}}),Sq=M({"../../node_modules/lodash/_setCacheAdd.js"(e,t){"use strict";var r="__lodash_hash_undefined__";function nP(o){return this.__data__.set(o,r),this}t.exports=nP}}),Cq=M({"../../node_modules/lodash/_setCacheHas.js"(e,t){"use strict";function r(nP){return this.__data__.has(nP)}t.exports=r}}),Aq=M({"../../node_modules/lodash/_SetCache.js"(e,t){"use strict";var r=hv(),nP=Sq(),o=Cq();function i(s){var l=-1,u=s==null?0:s.length;for(this.__data__=new r;++l<u;)this.add(s[l])}i.prototype.add=i.prototype.push=nP,i.prototype.has=o,t.exports=i}}),Rq=M({"../../node_modules/lodash/_arraySome.js"(e,t){"use strict";function r(nP,o){for(var i=-1,s=nP==null?0:nP.length;++i<s;)if(o(nP[i],i,nP))return!0;return!1}t.exports=r}}),Tq=M({"../../node_modules/lodash/_cacheHas.js"(e,t){"use strict";function r(nP,o){return nP.has(o)}t.exports=r}}),mv=M({"../../node_modules/lodash/_equalArrays.js"(e,t){"use strict";var r=Aq(),nP=Rq(),o=Tq(),i=1,s=2;function l(u,d,c,p,h,m){var g=c&i,b=u.length,y=d.length;if(b!=y&&!(g&&y>b))return!1;var E=m.get(u),_=m.get(d);if(E&&_)return E==d&&_==u;var P=-1,C=!0,w=c&s?new r:void 0;for(m.set(u,d),m.set(d,u);++P<b;){var S=u[P],T=d[P];if(p)var A=g?p(T,S,P,d,u,m):p(S,T,P,u,d,m);if(A!==void 0){if(A)continue;C=!1;break}if(w){if(!nP(d,function(N,U){if(!o(w,U)&&(S===N||h(S,N,c,p,m)))return w.push(U)})){C=!1;break}}else if(!(S===T||h(S,T,c,p,m))){C=!1;break}}return m.delete(u),m.delete(d),C}t.exports=l}}),xq=M({"../../node_modules/lodash/_Uint8Array.js"(e,t){"use strict";var r=cn(),nP=r.Uint8Array;t.exports=nP}}),Pq=M({"../../node_modules/lodash/_mapToArray.js"(e,t){"use strict";function r(nP){var o=-1,i=Array(nP.size);return nP.forEach(function(s,l){i[++o]=[l,s]}),i}t.exports=r}}),Oq=M({"../../node_modules/lodash/_setToArray.js"(e,t){"use strict";function r(nP){var o=-1,i=Array(nP.size);return nP.forEach(function(s){i[++o]=s}),i}t.exports=r}}),Nq=M({"../../node_modules/lodash/_equalByTag.js"(e,t){"use strict";var r=hp(),nP=xq(),o=uv(),i=mv(),s=Pq(),l=Oq(),u=1,d=2,c="[object Boolean]",p="[object Date]",h="[object Error]",m="[object Map]",g="[object Number]",b="[object RegExp]",y="[object Set]",E="[object String]",_="[object Symbol]",P="[object ArrayBuffer]",C="[object DataView]",w=r?r.prototype:void 0,S=w?w.valueOf:void 0;function T(A,N,U,X,V,J,x){switch(U){case C:if(A.byteLength!=N.byteLength||A.byteOffset!=N.byteOffset)return!1;A=A.buffer,N=N.buffer;case P:return!(A.byteLength!=N.byteLength||!J(new nP(A),new nP(N)));case c:case p:case g:return o(+A,+N);case h:return A.name==N.name&&A.message==N.message;case b:case E:return A==N+"";case m:var B=s;case y:var K=X&u;if(B||(B=l),A.size!=N.size&&!K)return!1;var fe=x.get(A);if(fe)return fe==N;X|=d,x.set(A,N);var ce=i(B(A),B(N),X,V,J,x);return x.delete(A),ce;case _:if(S)return S.call(A)==S.call(N)}return!1}t.exports=T}}),Mq=M({"../../node_modules/lodash/_arrayPush.js"(e,t){"use strict";function r(nP,o){for(var i=-1,s=o.length,l=nP.length;++i<s;)nP[l+i]=o[i];return nP}t.exports=r}}),gp=M({"../../node_modules/lodash/isArray.js"(e,t){"use strict";var r=Array.isArray;t.exports=r}}),Iq=M({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){"use strict";var r=Mq(),nP=gp();function o(i,s,l){var u=s(i);return nP(i)?u:r(u,l(i))}t.exports=o}}),Dq=M({"../../node_modules/lodash/_arrayFilter.js"(e,t){"use strict";function r(nP,o){for(var i=-1,s=nP==null?0:nP.length,l=0,u=[];++i<s;){var d=nP[i];o(d,i,nP)&&(u[l++]=d)}return u}t.exports=r}}),qq=M({"../../node_modules/lodash/stubArray.js"(e,t){"use strict";function r(){return[]}t.exports=r}}),jq=M({"../../node_modules/lodash/_getSymbols.js"(e,t){"use strict";var r=Dq(),nP=qq(),o=Object.prototype,i=o.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(u){return u==null?[]:(u=Object(u),r(s(u),function(d){return i.call(u,d)}))}:nP;t.exports=l}}),Bq=M({"../../node_modules/lodash/_baseTimes.js"(e,t){"use strict";function r(nP,o){for(var i=-1,s=Array(nP);++i<nP;)s[i]=o(i);return s}t.exports=r}}),Sl=M({"../../node_modules/lodash/isObjectLike.js"(e,t){"use strict";function r(nP){return nP!=null&&typeof nP=="object"}t.exports=r}}),kq=M({"../../node_modules/lodash/_baseIsArguments.js"(e,t){"use strict";var r=El(),nP=Sl(),o="[object Arguments]";function i(s){return nP(s)&&r(s)==o}t.exports=i}}),Fq=M({"../../node_modules/lodash/isArguments.js"(e,t){"use strict";var r=kq(),nP=Sl(),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return nP(u)&&i.call(u,"callee")&&!s.call(u,"callee")};t.exports=l}}),Lq=M({"../../node_modules/lodash/stubFalse.js"(e,t){"use strict";function r(){return!1}t.exports=r}}),gv=M({"../../node_modules/lodash/isBuffer.js"(e,t){"use strict";var r=cn(),nP=Lq(),o=typeof e=="object"&&e&&!e.nodeType&&e,i=o&&typeof t=="object"&&t&&!t.nodeType&&t,s=i&&i.exports===o,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,d=u||nP;t.exports=d}}),$q=M({"../../node_modules/lodash/_isIndex.js"(e,t){"use strict";var r=9007199254740991,nP=/^(?:0|[1-9]\d*)$/;function o(i,s){var l=typeof i;return s=s!=null?s:r,!!s&&(l=="number"||l!="symbol"&&nP.test(i))&&i>-1&&i%1==0&&i<s}t.exports=o}}),bv=M({"../../node_modules/lodash/isLength.js"(e,t){"use strict";var r=9007199254740991;function nP(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}t.exports=nP}}),Uq=M({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){"use strict";var r=El(),nP=bv(),o=Sl(),i="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",d="[object Error]",c="[object Function]",p="[object Map]",h="[object Number]",m="[object Object]",g="[object RegExp]",b="[object Set]",y="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",P="[object DataView]",C="[object Float32Array]",w="[object Float64Array]",S="[object Int8Array]",T="[object Int16Array]",A="[object Int32Array]",N="[object Uint8Array]",U="[object Uint8ClampedArray]",X="[object Uint16Array]",V="[object Uint32Array]",J={};J[C]=J[w]=J[S]=J[T]=J[A]=J[N]=J[U]=J[X]=J[V]=!0,J[i]=J[s]=J[_]=J[l]=J[P]=J[u]=J[d]=J[c]=J[p]=J[h]=J[m]=J[g]=J[b]=J[y]=J[E]=!1;function x(B){return o(B)&&nP(B.length)&&!!J[r(B)]}t.exports=x}}),Hq=M({"../../node_modules/lodash/_baseUnary.js"(e,t){"use strict";function r(nP){return function(o){return nP(o)}}t.exports=r}}),zq=M({"../../node_modules/lodash/_nodeUtil.js"(e,t){"use strict";var r=cv(),nP=typeof e=="object"&&e&&!e.nodeType&&e,o=nP&&typeof t=="object"&&t&&!t.nodeType&&t,i=o&&o.exports===nP,s=i&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();t.exports=l}}),yv=M({"../../node_modules/lodash/isTypedArray.js"(e,t){"use strict";var r=Uq(),nP=Hq(),o=zq(),i=o&&o.isTypedArray,s=i?nP(i):r;t.exports=s}}),Vq=M({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){"use strict";var r=Bq(),nP=Fq(),o=gp(),i=gv(),s=$q(),l=yv(),u=Object.prototype,d=u.hasOwnProperty;function c(p,h){var m=o(p),g=!m&&nP(p),b=!m&&!g&&i(p),y=!m&&!g&&!b&&l(p),E=m||g||b||y,_=E?r(p.length,String):[],P=_.length;for(var C in p)(h||d.call(p,C))&&!(E&&(C=="length"||b&&(C=="offset"||C=="parent")||y&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||s(C,P)))&&_.push(C);return _}t.exports=c}}),Gq=M({"../../node_modules/lodash/_isPrototype.js"(e,t){"use strict";var r=Object.prototype;function nP(o){var i=o&&o.constructor,s=typeof i=="function"&&i.prototype||r;return o===s}t.exports=nP}}),Wq=M({"../../node_modules/lodash/_overArg.js"(e,t){"use strict";function r(nP,o){return function(i){return nP(o(i))}}t.exports=r}}),Yq=M({"../../node_modules/lodash/_nativeKeys.js"(e,t){"use strict";var r=Wq(),nP=r(Object.keys,Object);t.exports=nP}}),Kq=M({"../../node_modules/lodash/_baseKeys.js"(e,t){"use strict";var r=Gq(),nP=Yq(),o=Object.prototype,i=o.hasOwnProperty;function s(l){if(!r(l))return nP(l);var u=[];for(var d in Object(l))i.call(l,d)&&d!="constructor"&&u.push(d);return u}t.exports=s}}),Jq=M({"../../node_modules/lodash/isArrayLike.js"(e,t){"use strict";var r=pv(),nP=bv();function o(i){return i!=null&&nP(i.length)&&!r(i)}t.exports=o}}),Xq=M({"../../node_modules/lodash/keys.js"(e,t){"use strict";var r=Vq(),nP=Kq(),o=Jq();function i(s){return o(s)?r(s):nP(s)}t.exports=i}}),Qq=M({"../../node_modules/lodash/_getAllKeys.js"(e,t){"use strict";var r=Iq(),nP=jq(),o=Xq();function i(s){return r(s,o,nP)}t.exports=i}}),Zq=M({"../../node_modules/lodash/_equalObjects.js"(e,t){"use strict";var r=Qq(),nP=1,o=Object.prototype,i=o.hasOwnProperty;function s(l,u,d,c,p,h){var m=d&nP,g=r(l),b=g.length,y=r(u),E=y.length;if(b!=E&&!m)return!1;for(var _=b;_--;){var P=g[_];if(!(m?P in u:i.call(u,P)))return!1}var C=h.get(l),w=h.get(u);if(C&&w)return C==u&&w==l;var S=!0;h.set(l,u),h.set(u,l);for(var T=m;++_<b;){P=g[_];var A=l[P],N=u[P];if(c)var U=m?c(N,A,P,u,l,h):c(A,N,P,l,u,h);if(!(U===void 0?A===N||p(A,N,d,c,h):U)){S=!1;break}T||(T=P=="constructor")}if(S&&!T){var X=l.constructor,V=u.constructor;X!=V&&"constructor"in l&&"constructor"in u&&!(typeof X=="function"&&X instanceof X&&typeof V=="function"&&V instanceof V)&&(S=!1)}return h.delete(l),h.delete(u),S}t.exports=s}}),ej=M({"../../node_modules/lodash/_DataView.js"(e,t){"use strict";var r=za(),nP=cn(),o=r(nP,"DataView");t.exports=o}}),tj=M({"../../node_modules/lodash/_Promise.js"(e,t){"use strict";var r=za(),nP=cn(),o=r(nP,"Promise");t.exports=o}}),rj=M({"../../node_modules/lodash/_Set.js"(e,t){"use strict";var r=za(),nP=cn(),o=r(nP,"Set");t.exports=o}}),nj=M({"../../node_modules/lodash/_WeakMap.js"(e,t){"use strict";var r=za(),nP=cn(),o=r(nP,"WeakMap");t.exports=o}}),oj=M({"../../node_modules/lodash/_getTag.js"(e,t){"use strict";var r=ej(),nP=mp(),o=tj(),i=rj(),s=nj(),l=El(),u=fv(),d="[object Map]",c="[object Object]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",g="[object DataView]",b=u(r),y=u(nP),E=u(o),_=u(i),P=u(s),C=l;(r&&C(new r(new ArrayBuffer(1)))!=g||nP&&C(new nP)!=d||o&&C(o.resolve())!=p||i&&C(new i)!=h||s&&C(new s)!=m)&&(C=function(w){var S=l(w),T=S==c?w.constructor:void 0,A=T?u(T):"";if(A)switch(A){case b:return g;case y:return d;case E:return p;case _:return h;case P:return m}return S}),t.exports=C}}),aj=M({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){"use strict";var r=wq(),nP=mv(),o=Nq(),i=Zq(),s=oj(),l=gp(),u=gv(),d=yv(),c=1,p="[object Arguments]",h="[object Array]",m="[object Object]",g=Object.prototype,b=g.hasOwnProperty;function y(E,_,P,C,w,S){var T=l(E),A=l(_),N=T?h:s(E),U=A?h:s(_);N=N==p?m:N,U=U==p?m:U;var X=N==m,V=U==m,J=N==U;if(J&&u(E)){if(!u(_))return!1;T=!0,X=!1}if(J&&!X)return S||(S=new r),T||d(E)?nP(E,_,P,C,w,S):o(E,_,N,P,C,w,S);if(!(P&c)){var x=X&&b.call(E,"__wrapped__"),B=V&&b.call(_,"__wrapped__");if(x||B){var K=x?E.value():E,fe=B?_.value():_;return S||(S=new r),w(K,fe,P,C,S)}}return J?(S||(S=new r),i(E,_,P,C,w,S)):!1}t.exports=y}}),ij=M({"../../node_modules/lodash/_baseIsEqual.js"(e,t){"use strict";var r=aj(),nP=Sl();function o(i,s,l,u,d){return i===s?!0:i==null||s==null||!nP(i)&&!nP(s)?i!==i&&s!==s:r(i,s,l,u,o,d)}t.exports=o}}),vv=M({"../../node_modules/lodash/isEqualWith.js"(e,t){"use strict";var r=ij();function nP(o,i,s){s=typeof s=="function"?s:void 0;var l=s?s(o,i):void 0;return l===void 0?r(o,i,void 0,s):!!l}t.exports=nP}}),Ev=M({"../../node_modules/css.escape/css.escape.js"(e,t){"use strict";(function(r,nP){typeof e=="object"?t.exports=nP(r):typeof define=="function"&&define.amd?define([],nP.bind(r,r)):nP(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var nP=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(o),s=i.length,l=-1,u,d="",c=i.charCodeAt(0);++l<s;){if(u=i.charCodeAt(l),u==0){d+="\uFFFD";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&c==45){d+="\\"+u.toString(16)+" ";continue}if(l==0&&s==1&&u==45){d+="\\"+i.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){d+=i.charAt(l);continue}d+="\\"+i.charAt(l)}return d};return r.CSS||(r.CSS={}),r.CSS.escape=nP,nP})}}),_v=M({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){"use strict";var r=(i=0)=>s=>`\x1B[${38+i};5;${s}m`,nP=(i=0)=>(s,l,u)=>`\x1B[${38+i};2;${s};${l};${u}m`;function o(){let i=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(let[l,u]of Object.entries(s)){for(let[d,c]of Object.entries(u))s[d]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},u[d]=s[d],i.set(c[0],c[1]);Object.defineProperty(s,l,{value:u,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=nP(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=nP(10),Object.defineProperties(s,{rgbToAnsi256:{value:(l,u,d)=>l===u&&u===d?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(d/255*5),enumerable:!1},hexToRgb:{value:l=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:d}=u.groups;d.length===3&&(d=d.split("").map(p=>p+p).join(""));let c=Number.parseInt(d,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:l=>s.rgbToAnsi256(...s.hexToRgb(l)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:o})}}),Cl=M({"../../node_modules/pretty-format/build/collections.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=nP,e.printListItems=o,e.printObjectProperties=i;var t=(s,l)=>{let u=Object.keys(s).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(d=>{Object.getOwnPropertyDescriptor(s,d).enumerable&&u.push(d)}),u};function r(s,l,u,d,c,p,h=": "){let m="",g=s.next();if(!g.done){m+=l.spacingOuter;let b=u+l.indent;for(;!g.done;){let y=p(g.value[0],l,b,d,c),E=p(g.value[1],l,b,d,c);m+=b+y+h+E,g=s.next(),g.done?l.min||(m+=","):m+=","+l.spacingInner}m+=l.spacingOuter+u}return m}function nP(s,l,u,d,c,p){let h="",m=s.next();if(!m.done){h+=l.spacingOuter;let g=u+l.indent;for(;!m.done;)h+=g+p(m.value,l,g,d,c),m=s.next(),m.done?l.min||(h+=","):h+=","+l.spacingInner;h+=l.spacingOuter+u}return h}function o(s,l,u,d,c,p){let h="";if(s.length){h+=l.spacingOuter;let m=u+l.indent;for(let g=0;g<s.length;g++)h+=m,g in s&&(h+=p(s[g],l,m,d,c)),g<s.length-1?h+=","+l.spacingInner:l.min||(h+=",");h+=l.spacingOuter+u}return h}function i(s,l,u,d,c,p){let h="",m=t(s,l.compareKeys);if(m.length){h+=l.spacingOuter;let g=u+l.indent;for(let b=0;b<m.length;b++){let y=m[b],E=p(y,l,g,d,c),_=p(s[y],l,g,d,c);h+=g+E+": "+_,b<m.length-1?h+=","+l.spacingInner:l.min||(h+=",")}h+=l.spacingOuter+u}return h}}}),sj=M({"../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Cl(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),nP=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof nP=="function"&&nP.for?nP.for("jest.asymmetricMatcher"):1267621,i=" ",s=(c,p,h,m,g,b)=>{let y=c.toString();return y==="ArrayContaining"||y==="ArrayNotContaining"?++m>p.maxDepth?"["+y+"]":y+i+"["+(0,t.printListItems)(c.sample,p,h,m,g,b)+"]":y==="ObjectContaining"||y==="ObjectNotContaining"?++m>p.maxDepth?"["+y+"]":y+i+"{"+(0,t.printObjectProperties)(c.sample,p,h,m,g,b)+"}":y==="StringMatching"||y==="StringNotMatching"||y==="StringContaining"||y==="StringNotContaining"?y+i+b(c.sample,p,h,m,g):c.toAsymmetricMatcher()};e.serialize=s;var l=c=>c&&c.$$typeof===o;e.test=l;var u={serialize:s,test:l},d=u;e.default=d}}),lj=M({"../../node_modules/pretty-format/node_modules/ansi-regex/index.js"(e,t){"use strict";t.exports=({onlyFirst:r=!1}={})=>{let nP=["[\\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(nP,r?void 0:"g")}}}),uj=M({"../../node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=nP(lj()),r=nP(_v());function nP(d){return d&&d.__esModule?d:{default:d}}var o=d=>d.replace((0,t.default)(),c=>{switch(c){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),i=d=>typeof d=="string"&&!!d.match((0,t.default)());e.test=i;var s=(d,c,p,h,m,g)=>g(o(d),c,p,h,m);e.serialize=s;var l={serialize:s,test:i},u=l;e.default=u}}),cj=M({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Cl(),r=" ",nP=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,i=p=>nP.indexOf(p)!==-1||o.test(p),s=p=>p&&p.constructor&&!!p.constructor.name&&i(p.constructor.name);e.test=s;var l=p=>p.constructor.name==="NamedNodeMap",u=(p,h,m,g,b,y)=>{let E=p.constructor.name;return++g>h.maxDepth?"["+E+"]":(h.min?"":E+r)+(nP.indexOf(E)!==-1?"{"+(0,t.printObjectProperties)(l(p)?Array.from(p).reduce((_,P)=>(_[P.name]=P.value,_),{}):{...p},h,m,g,b,y)+"}":"["+(0,t.printListItems)(Array.from(p),h,m,g,b,y)+"]")};e.serialize=u;var d={serialize:u,test:s},c=d;e.default=c}}),dj=M({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}}}),bp=M({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(dj());function r(d){return d&&d.__esModule?d:{default:d}}var nP=(d,c,p,h,m,g,b)=>{let y=h+p.indent,E=p.colors;return d.map(_=>{let P=c[_],C=b(P,p,y,m,g);return typeof P!="string"&&(C.indexOf(`
|
|
269
|
-
`)!==-1&&(C=p.spacingOuter+y+C+p.spacingOuter+h),C="{"+C+"}"),p.spacingInner+h+E.prop.open+_+E.prop.close+"="+E.value.open+C+E.value.close}).join("")};e.printProps=nP;var o=(d,c,p,h,m,g)=>d.map(b=>c.spacingOuter+p+(typeof b=="string"?i(b,c):g(b,c,p,h,m))).join("");e.printChildren=o;var i=(d,c)=>{let p=c.colors.content;return p.open+(0,t.default)(d)+p.close};e.printText=i;var s=(d,c)=>{let p=c.colors.comment;return p.open+"<!--"+(0,t.default)(d)+"-->"+p.close};e.printComment=s;var l=(d,c,p,h,m)=>{let g=h.colors.tag;return g.open+"<"+d+(c&&g.close+c+h.spacingOuter+m+g.open)+(p?">"+g.close+p+h.spacingOuter+m+g.open+"</"+d:(c&&!h.min?"":" ")+"/")+">"+g.close};e.printElement=l;var u=(d,c)=>{let p=c.colors.tag;return p.open+"<"+d+p.close+" \u2026"+p.open+" />"+p.close};e.printElementAsLeaf=u}}),pj=M({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=bp(),r=1,nP=3,o=8,i=11,s=/^((HTML|SVG)\w*)?Element$/,l=y=>{try{return typeof y.hasAttribute=="function"&&y.hasAttribute("is")}catch{return!1}},u=y=>{let E=y.constructor.name,{nodeType:_,tagName:P}=y,C=typeof P=="string"&&P.includes("-")||l(y);return _===r&&(s.test(E)||C)||_===nP&&E==="Text"||_===o&&E==="Comment"||_===i&&E==="DocumentFragment"},d=y=>{var E;return(y==null||(E=y.constructor)===null||E===void 0?void 0:E.name)&&u(y)};e.test=d;function c(y){return y.nodeType===nP}function p(y){return y.nodeType===o}function h(y){return y.nodeType===i}var m=(y,E,_,P,C,w)=>{if(c(y))return(0,t.printText)(y.data,E);if(p(y))return(0,t.printComment)(y.data,E);let S=h(y)?"DocumentFragment":y.tagName.toLowerCase();return++P>E.maxDepth?(0,t.printElementAsLeaf)(S,E):(0,t.printElement)(S,(0,t.printProps)(h(y)?[]:Array.from(y.attributes).map(T=>T.name).sort(),h(y)?{}:Array.from(y.attributes).reduce((T,A)=>(T[A.name]=A.value,T),{}),E,_+E.indent,P,C,w),(0,t.printChildren)(Array.prototype.slice.call(y.childNodes||y.children),E,_+E.indent,P,C,w),E,_)};e.serialize=m;var g={serialize:m,test:d},b=g;e.default=b}}),fj=M({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Cl(),r="@@__IMMUTABLE_ITERABLE__@@",nP="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",d="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",p=A=>"Immutable."+A,h=A=>"["+A+"]",m=" ",g="\u2026",b=(A,N,U,X,V,J,x)=>++X>N.maxDepth?h(p(x)):p(x)+m+"{"+(0,t.printIteratorEntries)(A.entries(),N,U,X,V,J)+"}";function y(A){let N=0;return{next(){if(N<A._keys.length){let U=A._keys[N++];return{done:!1,value:[U,A.get(U)]}}return{done:!0,value:void 0}}}}var E=(A,N,U,X,V,J)=>{let x=p(A._name||"Record");return++X>N.maxDepth?h(x):x+m+"{"+(0,t.printIteratorEntries)(y(A),N,U,X,V,J)+"}"},_=(A,N,U,X,V,J)=>{let x=p("Seq");return++X>N.maxDepth?h(x):A[o]?x+m+"{"+(A._iter||A._object?(0,t.printIteratorEntries)(A.entries(),N,U,X,V,J):g)+"}":x+m+"["+(A._iter||A._array||A._collection||A._iterable?(0,t.printIteratorValues)(A.values(),N,U,X,V,J):g)+"]"},P=(A,N,U,X,V,J,x)=>++X>N.maxDepth?h(p(x)):p(x)+m+"["+(0,t.printIteratorValues)(A.values(),N,U,X,V,J)+"]",C=(A,N,U,X,V,J)=>A[i]?b(A,N,U,X,V,J,A[s]?"OrderedMap":"Map"):A[nP]?P(A,N,U,X,V,J,"List"):A[d]?P(A,N,U,X,V,J,A[s]?"OrderedSet":"Set"):A[c]?P(A,N,U,X,V,J,"Stack"):A[u]?_(A,N,U,X,V,J):E(A,N,U,X,V,J);e.serialize=C;var w=A=>A&&(A[r]===!0||A[l]===!0);e.test=w;var S={serialize:C,test:w},T=S;e.default=T}}),hj=M({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js"(e){"use strict";var t=60103,r=60106,nP=60107,o=60108,i=60114,s=60109,l=60110,u=60112,d=60113,c=60120,p=60115,h=60116,m=60121,g=60122,b=60117,y=60129,E=60131;typeof Symbol=="function"&&Symbol.for&&(_=Symbol.for,t=_("react.element"),r=_("react.portal"),nP=_("react.fragment"),o=_("react.strict_mode"),i=_("react.profiler"),s=_("react.provider"),l=_("react.context"),u=_("react.forward_ref"),d=_("react.suspense"),c=_("react.suspense_list"),p=_("react.memo"),h=_("react.lazy"),m=_("react.block"),g=_("react.server.block"),b=_("react.fundamental"),y=_("react.debug_trace_mode"),E=_("react.legacy_hidden"));var _;function P(x){if(typeof x=="object"&&x!==null){var B=x.$$typeof;switch(B){case t:switch(x=x.type,x){case nP:case i:case o:case d:case c:return x;default:switch(x=x&&x.$$typeof,x){case l:case u:case h:case p:case s:return x;default:return B}}case r:return B}}}var C=s,w=t,S=u,T=nP,A=h,N=p,U=r,X=i,V=o,J=d;e.ContextConsumer=l,e.ContextProvider=C,e.Element=w,e.ForwardRef=S,e.Fragment=T,e.Lazy=A,e.Memo=N,e.Portal=U,e.Profiler=X,e.StrictMode=V,e.Suspense=J,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(x){return P(x)===l},e.isContextProvider=function(x){return P(x)===s},e.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},e.isForwardRef=function(x){return P(x)===u},e.isFragment=function(x){return P(x)===nP},e.isLazy=function(x){return P(x)===h},e.isMemo=function(x){return P(x)===p},e.isPortal=function(x){return P(x)===r},e.isProfiler=function(x){return P(x)===i},e.isStrictMode=function(x){return P(x)===o},e.isSuspense=function(x){return P(x)===d},e.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===nP||x===i||x===y||x===o||x===d||x===c||x===E||typeof x=="object"&&x!==null&&(x.$$typeof===h||x.$$typeof===p||x.$$typeof===s||x.$$typeof===l||x.$$typeof===u||x.$$typeof===b||x.$$typeof===m||x[0]===g)},e.typeOf=P}}),mj=M({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var t=60103,r=60106,nP=60107,o=60108,i=60114,s=60109,l=60110,u=60112,d=60113,c=60120,p=60115,h=60116,m=60121,g=60122,b=60117,y=60119,E=60128,_=60129,P=60130,C=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;t=w("react.element"),r=w("react.portal"),nP=w("react.fragment"),o=w("react.strict_mode"),i=w("react.profiler"),s=w("react.provider"),l=w("react.context"),u=w("react.forward_ref"),d=w("react.suspense"),c=w("react.suspense_list"),p=w("react.memo"),h=w("react.lazy"),m=w("react.block"),g=w("react.server.block"),b=w("react.fundamental"),y=w("react.scope"),E=w("react.opaque.id"),_=w("react.debug_trace_mode"),P=w("react.offscreen"),C=w("react.legacy_hidden")}var S=!1;function T(ye){return!!(typeof ye=="string"||typeof ye=="function"||ye===nP||ye===i||ye===_||ye===o||ye===d||ye===c||ye===C||S||typeof ye=="object"&&ye!==null&&(ye.$$typeof===h||ye.$$typeof===p||ye.$$typeof===s||ye.$$typeof===l||ye.$$typeof===u||ye.$$typeof===b||ye.$$typeof===m||ye[0]===g))}function A(ye){if(typeof ye=="object"&&ye!==null){var $e=ye.$$typeof;switch($e){case t:var lt=ye.type;switch(lt){case nP:case i:case o:case d:case c:return lt;default:var Qt=lt&<.$$typeof;switch(Qt){case l:case u:case h:case p:case s:return Qt;default:return $e}}case r:return $e}}}var N=l,U=s,X=t,V=u,J=nP,x=h,B=p,K=r,fe=i,ce=o,Re=d,Fe=!1,Oe=!1;function le(ye){return Fe||(Fe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function se(ye){return Oe||(Oe=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(ye){return A(ye)===l}function Se(ye){return A(ye)===s}function qe(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===t}function ke(ye){return A(ye)===u}function ot(ye){return A(ye)===nP}function Ot(ye){return A(ye)===h}function Y(ye){return A(ye)===p}function Pe(ye){return A(ye)===r}function Le(ye){return A(ye)===i}function nt(ye){return A(ye)===o}function ae(ye){return A(ye)===d}e.ContextConsumer=N,e.ContextProvider=U,e.Element=X,e.ForwardRef=V,e.Fragment=J,e.Lazy=x,e.Memo=B,e.Portal=K,e.Profiler=fe,e.StrictMode=ce,e.Suspense=Re,e.isAsyncMode=le,e.isConcurrentMode=se,e.isContextConsumer=de,e.isContextProvider=Se,e.isElement=qe,e.isForwardRef=ke,e.isFragment=ot,e.isLazy=Ot,e.isMemo=Y,e.isPortal=Pe,e.isProfiler=Le,e.isStrictMode=nt,e.isSuspense=ae,e.isValidElementType=T,e.typeOf=A}()}}),gj=M({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){"use strict";process.env.NODE_ENV==="production"?t.exports=hj():t.exports=mj()}}),bj=M({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(gj()),r=bp();function nP(h){if(typeof WeakMap!="function")return null;var m=new WeakMap,g=new WeakMap;return(nP=function(b){return b?g:m})(h)}function o(h,m){if(!m&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=nP(m);if(g&&g.has(h))return g.get(h);var b={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var E in h)if(E!=="default"&&Object.prototype.hasOwnProperty.call(h,E)){var _=y?Object.getOwnPropertyDescriptor(h,E):null;_&&(_.get||_.set)?Object.defineProperty(b,E,_):b[E]=h[E]}return b.default=h,g&&g.set(h,b),b}var i=(h,m=[])=>(Array.isArray(h)?h.forEach(g=>{i(g,m)}):h!=null&&h!==!1&&m.push(h),m),s=h=>{let m=h.type;if(typeof m=="string")return m;if(typeof m=="function")return m.displayName||m.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof m=="object"&&m!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(m.displayName)return m.displayName;let g=m.render.displayName||m.render.name||"";return g!==""?"ForwardRef("+g+")":"ForwardRef"}if(t.isMemo(h)){let g=m.displayName||m.type.displayName||m.type.name||"";return g!==""?"Memo("+g+")":"Memo"}}return"UNDEFINED"},l=h=>{let{props:m}=h;return Object.keys(m).filter(g=>g!=="children"&&m[g]!==void 0).sort()},u=(h,m,g,b,y,E)=>++b>m.maxDepth?(0,r.printElementAsLeaf)(s(h),m):(0,r.printElement)(s(h),(0,r.printProps)(l(h),h.props,m,g+m.indent,b,y,E),(0,r.printChildren)(i(h.props.children),m,g+m.indent,b,y,E),m,g);e.serialize=u;var d=h=>h!=null&&t.isElement(h);e.test=d;var c={serialize:u,test:d},p=c;e.default=p}}),yj=M({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=bp(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),nP=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof nP=="function"&&nP.for?nP.for("react.test.json"):245830487,i=c=>{let{props:p}=c;return p?Object.keys(p).filter(h=>p[h]!==void 0).sort():[]},s=(c,p,h,m,g,b)=>++m>p.maxDepth?(0,t.printElementAsLeaf)(c.type,p):(0,t.printElement)(c.type,c.props?(0,t.printProps)(i(c),c.props,p,h+p.indent,m,g,b):"",c.children?(0,t.printChildren)(c.children,p,h+p.indent,m,g,b):"",p,h);e.serialize=s;var l=c=>c&&c.$$typeof===o;e.test=l;var u={serialize:s,test:l},d=u;e.default=d}}),vj=M({"../../node_modules/pretty-format/build/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=ke,e.plugins=void 0;var t=c(_v()),r=Cl(),nP=c(sj()),o=c(uj()),i=c(cj()),s=c(pj()),l=c(fj()),u=c(bj()),d=c(yj());function c(Y){return Y&&Y.__esModule?Y:{default:Y}}var p=Object.prototype.toString,h=Date.prototype.toISOString,m=Error.prototype.toString,g=RegExp.prototype.toString,b=Y=>typeof Y.constructor=="function"&&Y.constructor.name||"Object",y=Y=>typeof window<"u"&&Y===window,E=/^Symbol\((.*)\)(.*)$/,_=/\nP/gi,P=class extends Error{constructor(Y,Pe){super(Y),this.stack=Pe,this.name=this.constructor.name}};function C(Y){return Y==="[object Array]"||Y==="[object ArrayBuffer]"||Y==="[object DataView]"||Y==="[object Float32Array]"||Y==="[object Float64Array]"||Y==="[object Int8Array]"||Y==="[object Int16Array]"||Y==="[object Int32Array]"||Y==="[object Uint8Array]"||Y==="[object Uint8ClampedArray]"||Y==="[object Uint16Array]"||Y==="[object Uint32Array]"}function w(Y){return Object.is(Y,-0)?"-0":String(Y)}function S(Y){return`${Y}nP`}function T(Y,Pe){return Pe?"[Function "+(Y.name||"anonymous")+"]":"[Function]"}function A(Y){return String(Y).replace(E,"Symbol($1)")}function N(Y){return"["+m.call(Y)+"]"}function U(Y,Pe,Le,nt){if(Y===!0||Y===!1)return""+Y;if(Y===void 0)return"undefined";if(Y===null)return"null";let ae=typeof Y;if(ae==="number")return w(Y);if(ae==="bigint")return S(Y);if(ae==="string")return nt?'"'+Y.replace(/"|\\/g,"\\$&")+'"':'"'+Y+'"';if(ae==="function")return T(Y,Pe);if(ae==="symbol")return A(Y);let ye=p.call(Y);return ye==="[object WeakMap]"?"WeakMap {}":ye==="[object WeakSet]"?"WeakSet {}":ye==="[object Function]"||ye==="[object GeneratorFunction]"?T(Y,Pe):ye==="[object Symbol]"?A(Y):ye==="[object Date]"?isNaN(+Y)?"Date { NaN }":h.call(Y):ye==="[object Error]"?N(Y):ye==="[object RegExp]"?Le?g.call(Y).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):g.call(Y):Y instanceof Error?N(Y):null}function X(Y,Pe,Le,nt,ae,ye){if(ae.indexOf(Y)!==-1)return"[Circular]";ae=ae.slice(),ae.push(Y);let $e=++nt>Pe.maxDepth,lt=Pe.min;if(Pe.callToJSON&&!$e&&Y.toJSON&&typeof Y.toJSON=="function"&&!ye)return B(Y.toJSON(),Pe,Le,nt,ae,!0);let Qt=p.call(Y);return Qt==="[object Arguments]"?$e?"[Arguments]":(lt?"":"Arguments ")+"["+(0,r.printListItems)(Y,Pe,Le,nt,ae,B)+"]":C(Qt)?$e?"["+Y.constructor.name+"]":(lt||!Pe.printBasicPrototype&&Y.constructor.name==="Array"?"":Y.constructor.name+" ")+"["+(0,r.printListItems)(Y,Pe,Le,nt,ae,B)+"]":Qt==="[object Map]"?$e?"[Map]":"Map {"+(0,r.printIteratorEntries)(Y.entries(),Pe,Le,nt,ae,B," => ")+"}":Qt==="[object Set]"?$e?"[Set]":"Set {"+(0,r.printIteratorValues)(Y.values(),Pe,Le,nt,ae,B)+"}":$e||y(Y)?"["+b(Y)+"]":(lt||!Pe.printBasicPrototype&&b(Y)==="Object"?"":b(Y)+" ")+"{"+(0,r.printObjectProperties)(Y,Pe,Le,nt,ae,B)+"}"}function V(Y){return Y.serialize!=null}function J(Y,Pe,Le,nt,ae,ye){let $e;try{$e=V(Y)?Y.serialize(Pe,Le,nt,ae,ye,B):Y.print(Pe,lt=>B(lt,Le,nt,ae,ye),lt=>{let Qt=nt+Le.indent;return Qt+lt.replace(_,`
|
|
268
|
+
`);return U!==-1&&(S=s(S,N,A,U)),A+S+N},_,P=(w,...S)=>{let[T]=S;if(!Array.isArray(T))return S.join(" ");let A=S.slice(1),N=[T.raw[0]];for(let U=1;U<T.length;U++)N.push(String(A[U-1]).replace(/[{}\\]/g,"\\$&"),String(T.raw[U]));return _===void 0&&(_=GD()),_(w,N.join(""))};Object.defineProperties(h.prototype,u);var C=h();C.supportsColor=nP,C.stderr=h({level:o?o.level:0}),C.stderr.supportsColor=o,C.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=C}}),WD=M({"../../node_modules/lodash/_listCacheClear.js"(e,t){"use strict";function r(){this.__data__=[],this.size=0}t.exports=r}}),uv=M({"../../node_modules/lodash/eq.js"(e,t){"use strict";function r(nP,o){return nP===o||nP!==nP&&o!==o}t.exports=r}}),bl=M({"../../node_modules/lodash/_assocIndexOf.js"(e,t){"use strict";var r=uv();function nP(o,i){for(var s=o.length;s--;)if(r(o[s][0],i))return s;return-1}t.exports=nP}}),YD=M({"../../node_modules/lodash/_listCacheDelete.js"(e,t){"use strict";var r=bl(),nP=Array.prototype,o=nP.splice;function i(s){var l=this.__data__,u=r(l,s);if(u<0)return!1;var d=l.length-1;return u==d?l.pop():o.call(l,u,1),--this.size,!0}t.exports=i}}),KD=M({"../../node_modules/lodash/_listCacheGet.js"(e,t){"use strict";var r=bl();function nP(o){var i=this.__data__,s=r(i,o);return s<0?void 0:i[s][1]}t.exports=nP}}),JD=M({"../../node_modules/lodash/_listCacheHas.js"(e,t){"use strict";var r=bl();function nP(o){return r(this.__data__,o)>-1}t.exports=nP}}),XD=M({"../../node_modules/lodash/_listCacheSet.js"(e,t){"use strict";var r=bl();function nP(o,i){var s=this.__data__,l=r(s,o);return l<0?(++this.size,s.push([o,i])):s[l][1]=i,this}t.exports=nP}}),yl=M({"../../node_modules/lodash/_ListCache.js"(e,t){"use strict";var r=WD(),nP=YD(),o=KD(),i=JD(),s=XD();function l(u){var d=-1,c=u==null?0:u.length;for(this.clear();++d<c;){var p=u[d];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=nP,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),QD=M({"../../node_modules/lodash/_stackClear.js"(e,t){"use strict";var r=yl();function nP(){this.__data__=new r,this.size=0}t.exports=nP}}),ZD=M({"../../node_modules/lodash/_stackDelete.js"(e,t){"use strict";function r(nP){var o=this.__data__,i=o.delete(nP);return this.size=o.size,i}t.exports=r}}),tq=M({"../../node_modules/lodash/_stackGet.js"(e,t){"use strict";function r(nP){return this.__data__.get(nP)}t.exports=r}}),rq=M({"../../node_modules/lodash/_stackHas.js"(e,t){"use strict";function r(nP){return this.__data__.has(nP)}t.exports=r}}),cv=M({"../../node_modules/lodash/_freeGlobal.js"(e,t){"use strict";var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),cn=M({"../../node_modules/lodash/_root.js"(e,t){"use strict";var r=cv(),nP=typeof self=="object"&&self&&self.Object===Object&&self,o=r||nP||Function("return this")();t.exports=o}}),fp=M({"../../node_modules/lodash/_Symbol.js"(e,t){"use strict";var r=cn(),nP=r.Symbol;t.exports=nP}}),nq=M({"../../node_modules/lodash/_getRawTag.js"(e,t){"use strict";var r=fp(),nP=Object.prototype,o=nP.hasOwnProperty,i=nP.toString,s=r?r.toStringTag:void 0;function l(u){var d=o.call(u,s),c=u[s];try{u[s]=void 0;var p=!0}catch{}var h=i.call(u);return p&&(d?u[s]=c:delete u[s]),h}t.exports=l}}),oq=M({"../../node_modules/lodash/_objectToString.js"(e,t){"use strict";var r=Object.prototype,nP=r.toString;function o(i){return nP.call(i)}t.exports=o}}),vl=M({"../../node_modules/lodash/_baseGetTag.js"(e,t){"use strict";var r=fp(),nP=nq(),o=oq(),i="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function u(d){return d==null?d===void 0?s:i:l&&l in Object(d)?nP(d):o(d)}t.exports=u}}),dv=M({"../../node_modules/lodash/isObject.js"(e,t){"use strict";function r(nP){var o=typeof nP;return nP!=null&&(o=="object"||o=="function")}t.exports=r}}),pv=M({"../../node_modules/lodash/isFunction.js"(e,t){"use strict";var r=vl(),nP=dv(),o="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(d){if(!nP(d))return!1;var c=r(d);return c==i||c==s||c==o||c==l}t.exports=u}}),aq=M({"../../node_modules/lodash/_coreJsData.js"(e,t){"use strict";var r=cn(),nP=r["__core-js_shared__"];t.exports=nP}}),iq=M({"../../node_modules/lodash/_isMasked.js"(e,t){"use strict";var r=aq(),nP=function(){var i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function o(i){return!!nP&&nP in i}t.exports=o}}),fv=M({"../../node_modules/lodash/_toSource.js"(e,t){"use strict";var r=Function.prototype,nP=r.toString;function o(i){if(i!=null){try{return nP.call(i)}catch{}try{return i+""}catch{}}return""}t.exports=o}}),sq=M({"../../node_modules/lodash/_baseIsNative.js"(e,t){"use strict";var r=pv(),nP=iq(),o=dv(),i=fv(),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,c=u.toString,p=d.hasOwnProperty,h=RegExp("^"+c.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m(g){if(!o(g)||nP(g))return!1;var b=r(g)?h:l;return b.test(i(g))}t.exports=m}}),lq=M({"../../node_modules/lodash/_getValue.js"(e,t){"use strict";function r(nP,o){return nP==null?void 0:nP[o]}t.exports=r}}),za=M({"../../node_modules/lodash/_getNative.js"(e,t){"use strict";var r=sq(),nP=lq();function o(i,s){var l=nP(i,s);return r(l)?l:void 0}t.exports=o}}),hp=M({"../../node_modules/lodash/_Map.js"(e,t){"use strict";var r=za(),nP=cn(),o=r(nP,"Map");t.exports=o}}),El=M({"../../node_modules/lodash/_nativeCreate.js"(e,t){"use strict";var r=za(),nP=r(Object,"create");t.exports=nP}}),uq=M({"../../node_modules/lodash/_hashClear.js"(e,t){"use strict";var r=El();function nP(){this.__data__=r?r(null):{},this.size=0}t.exports=nP}}),cq=M({"../../node_modules/lodash/_hashDelete.js"(e,t){"use strict";function r(nP){var o=this.has(nP)&&delete this.__data__[nP];return this.size-=o?1:0,o}t.exports=r}}),dq=M({"../../node_modules/lodash/_hashGet.js"(e,t){"use strict";var r=El(),nP="__lodash_hash_undefined__",o=Object.prototype,i=o.hasOwnProperty;function s(l){var u=this.__data__;if(r){var d=u[l];return d===nP?void 0:d}return i.call(u,l)?u[l]:void 0}t.exports=s}}),pq=M({"../../node_modules/lodash/_hashHas.js"(e,t){"use strict";var r=El(),nP=Object.prototype,o=nP.hasOwnProperty;function i(s){var l=this.__data__;return r?l[s]!==void 0:o.call(l,s)}t.exports=i}}),fq=M({"../../node_modules/lodash/_hashSet.js"(e,t){"use strict";var r=El(),nP="__lodash_hash_undefined__";function o(i,s){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=r&&s===void 0?nP:s,this}t.exports=o}}),hq=M({"../../node_modules/lodash/_Hash.js"(e,t){"use strict";var r=uq(),nP=cq(),o=dq(),i=pq(),s=fq();function l(u){var d=-1,c=u==null?0:u.length;for(this.clear();++d<c;){var p=u[d];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=nP,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),mq=M({"../../node_modules/lodash/_mapCacheClear.js"(e,t){"use strict";var r=hq(),nP=yl(),o=hp();function i(){this.size=0,this.__data__={hash:new r,map:new(o||nP),string:new r}}t.exports=i}}),gq=M({"../../node_modules/lodash/_isKeyable.js"(e,t){"use strict";function r(nP){var o=typeof nP;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?nP!=="__proto__":nP===null}t.exports=r}}),_l=M({"../../node_modules/lodash/_getMapData.js"(e,t){"use strict";var r=gq();function nP(o,i){var s=o.__data__;return r(i)?s[typeof i=="string"?"string":"hash"]:s.map}t.exports=nP}}),bq=M({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){"use strict";var r=_l();function nP(o){var i=r(this,o).delete(o);return this.size-=i?1:0,i}t.exports=nP}}),yq=M({"../../node_modules/lodash/_mapCacheGet.js"(e,t){"use strict";var r=_l();function nP(o){return r(this,o).get(o)}t.exports=nP}}),vq=M({"../../node_modules/lodash/_mapCacheHas.js"(e,t){"use strict";var r=_l();function nP(o){return r(this,o).has(o)}t.exports=nP}}),Eq=M({"../../node_modules/lodash/_mapCacheSet.js"(e,t){"use strict";var r=_l();function nP(o,i){var s=r(this,o),l=s.size;return s.set(o,i),this.size+=s.size==l?0:1,this}t.exports=nP}}),hv=M({"../../node_modules/lodash/_MapCache.js"(e,t){"use strict";var r=mq(),nP=bq(),o=yq(),i=vq(),s=Eq();function l(u){var d=-1,c=u==null?0:u.length;for(this.clear();++d<c;){var p=u[d];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=nP,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),_q=M({"../../node_modules/lodash/_stackSet.js"(e,t){"use strict";var r=yl(),nP=hp(),o=hv(),i=200;function s(l,u){var d=this.__data__;if(d instanceof r){var c=d.__data__;if(!nP||c.length<i-1)return c.push([l,u]),this.size=++d.size,this;d=this.__data__=new o(c)}return d.set(l,u),this.size=d.size,this}t.exports=s}}),wq=M({"../../node_modules/lodash/_Stack.js"(e,t){"use strict";var r=yl(),nP=QD(),o=ZD(),i=tq(),s=rq(),l=_q();function u(d){var c=this.__data__=new r(d);this.size=c.size}u.prototype.clear=nP,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=l,t.exports=u}}),Sq=M({"../../node_modules/lodash/_setCacheAdd.js"(e,t){"use strict";var r="__lodash_hash_undefined__";function nP(o){return this.__data__.set(o,r),this}t.exports=nP}}),Cq=M({"../../node_modules/lodash/_setCacheHas.js"(e,t){"use strict";function r(nP){return this.__data__.has(nP)}t.exports=r}}),Aq=M({"../../node_modules/lodash/_SetCache.js"(e,t){"use strict";var r=hv(),nP=Sq(),o=Cq();function i(s){var l=-1,u=s==null?0:s.length;for(this.__data__=new r;++l<u;)this.add(s[l])}i.prototype.add=i.prototype.push=nP,i.prototype.has=o,t.exports=i}}),Rq=M({"../../node_modules/lodash/_arraySome.js"(e,t){"use strict";function r(nP,o){for(var i=-1,s=nP==null?0:nP.length;++i<s;)if(o(nP[i],i,nP))return!0;return!1}t.exports=r}}),Tq=M({"../../node_modules/lodash/_cacheHas.js"(e,t){"use strict";function r(nP,o){return nP.has(o)}t.exports=r}}),mv=M({"../../node_modules/lodash/_equalArrays.js"(e,t){"use strict";var r=Aq(),nP=Rq(),o=Tq(),i=1,s=2;function l(u,d,c,p,h,m){var g=c&i,b=u.length,y=d.length;if(b!=y&&!(g&&y>b))return!1;var E=m.get(u),_=m.get(d);if(E&&_)return E==d&&_==u;var P=-1,C=!0,w=c&s?new r:void 0;for(m.set(u,d),m.set(d,u);++P<b;){var S=u[P],T=d[P];if(p)var A=g?p(T,S,P,d,u,m):p(S,T,P,u,d,m);if(A!==void 0){if(A)continue;C=!1;break}if(w){if(!nP(d,function(N,U){if(!o(w,U)&&(S===N||h(S,N,c,p,m)))return w.push(U)})){C=!1;break}}else if(!(S===T||h(S,T,c,p,m))){C=!1;break}}return m.delete(u),m.delete(d),C}t.exports=l}}),xq=M({"../../node_modules/lodash/_Uint8Array.js"(e,t){"use strict";var r=cn(),nP=r.Uint8Array;t.exports=nP}}),Pq=M({"../../node_modules/lodash/_mapToArray.js"(e,t){"use strict";function r(nP){var o=-1,i=Array(nP.size);return nP.forEach(function(s,l){i[++o]=[l,s]}),i}t.exports=r}}),Oq=M({"../../node_modules/lodash/_setToArray.js"(e,t){"use strict";function r(nP){var o=-1,i=Array(nP.size);return nP.forEach(function(s){i[++o]=s}),i}t.exports=r}}),Nq=M({"../../node_modules/lodash/_equalByTag.js"(e,t){"use strict";var r=fp(),nP=xq(),o=uv(),i=mv(),s=Pq(),l=Oq(),u=1,d=2,c="[object Boolean]",p="[object Date]",h="[object Error]",m="[object Map]",g="[object Number]",b="[object RegExp]",y="[object Set]",E="[object String]",_="[object Symbol]",P="[object ArrayBuffer]",C="[object DataView]",w=r?r.prototype:void 0,S=w?w.valueOf:void 0;function T(A,N,U,X,V,J,x){switch(U){case C:if(A.byteLength!=N.byteLength||A.byteOffset!=N.byteOffset)return!1;A=A.buffer,N=N.buffer;case P:return!(A.byteLength!=N.byteLength||!J(new nP(A),new nP(N)));case c:case p:case g:return o(+A,+N);case h:return A.name==N.name&&A.message==N.message;case b:case E:return A==N+"";case m:var B=s;case y:var K=X&u;if(B||(B=l),A.size!=N.size&&!K)return!1;var fe=x.get(A);if(fe)return fe==N;X|=d,x.set(A,N);var ce=i(B(A),B(N),X,V,J,x);return x.delete(A),ce;case _:if(S)return S.call(A)==S.call(N)}return!1}t.exports=T}}),Mq=M({"../../node_modules/lodash/_arrayPush.js"(e,t){"use strict";function r(nP,o){for(var i=-1,s=o.length,l=nP.length;++i<s;)nP[l+i]=o[i];return nP}t.exports=r}}),mp=M({"../../node_modules/lodash/isArray.js"(e,t){"use strict";var r=Array.isArray;t.exports=r}}),Iq=M({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){"use strict";var r=Mq(),nP=mp();function o(i,s,l){var u=s(i);return nP(i)?u:r(u,l(i))}t.exports=o}}),Dq=M({"../../node_modules/lodash/_arrayFilter.js"(e,t){"use strict";function r(nP,o){for(var i=-1,s=nP==null?0:nP.length,l=0,u=[];++i<s;){var d=nP[i];o(d,i,nP)&&(u[l++]=d)}return u}t.exports=r}}),qq=M({"../../node_modules/lodash/stubArray.js"(e,t){"use strict";function r(){return[]}t.exports=r}}),jq=M({"../../node_modules/lodash/_getSymbols.js"(e,t){"use strict";var r=Dq(),nP=qq(),o=Object.prototype,i=o.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(u){return u==null?[]:(u=Object(u),r(s(u),function(d){return i.call(u,d)}))}:nP;t.exports=l}}),Bq=M({"../../node_modules/lodash/_baseTimes.js"(e,t){"use strict";function r(nP,o){for(var i=-1,s=Array(nP);++i<nP;)s[i]=o(i);return s}t.exports=r}}),wl=M({"../../node_modules/lodash/isObjectLike.js"(e,t){"use strict";function r(nP){return nP!=null&&typeof nP=="object"}t.exports=r}}),kq=M({"../../node_modules/lodash/_baseIsArguments.js"(e,t){"use strict";var r=vl(),nP=wl(),o="[object Arguments]";function i(s){return nP(s)&&r(s)==o}t.exports=i}}),Fq=M({"../../node_modules/lodash/isArguments.js"(e,t){"use strict";var r=kq(),nP=wl(),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return nP(u)&&i.call(u,"callee")&&!s.call(u,"callee")};t.exports=l}}),Lq=M({"../../node_modules/lodash/stubFalse.js"(e,t){"use strict";function r(){return!1}t.exports=r}}),gv=M({"../../node_modules/lodash/isBuffer.js"(e,t){"use strict";var r=cn(),nP=Lq(),o=typeof e=="object"&&e&&!e.nodeType&&e,i=o&&typeof t=="object"&&t&&!t.nodeType&&t,s=i&&i.exports===o,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,d=u||nP;t.exports=d}}),$q=M({"../../node_modules/lodash/_isIndex.js"(e,t){"use strict";var r=9007199254740991,nP=/^(?:0|[1-9]\d*)$/;function o(i,s){var l=typeof i;return s=s!=null?s:r,!!s&&(l=="number"||l!="symbol"&&nP.test(i))&&i>-1&&i%1==0&&i<s}t.exports=o}}),bv=M({"../../node_modules/lodash/isLength.js"(e,t){"use strict";var r=9007199254740991;function nP(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}t.exports=nP}}),Uq=M({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){"use strict";var r=vl(),nP=bv(),o=wl(),i="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",d="[object Error]",c="[object Function]",p="[object Map]",h="[object Number]",m="[object Object]",g="[object RegExp]",b="[object Set]",y="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",P="[object DataView]",C="[object Float32Array]",w="[object Float64Array]",S="[object Int8Array]",T="[object Int16Array]",A="[object Int32Array]",N="[object Uint8Array]",U="[object Uint8ClampedArray]",X="[object Uint16Array]",V="[object Uint32Array]",J={};J[C]=J[w]=J[S]=J[T]=J[A]=J[N]=J[U]=J[X]=J[V]=!0,J[i]=J[s]=J[_]=J[l]=J[P]=J[u]=J[d]=J[c]=J[p]=J[h]=J[m]=J[g]=J[b]=J[y]=J[E]=!1;function x(B){return o(B)&&nP(B.length)&&!!J[r(B)]}t.exports=x}}),Hq=M({"../../node_modules/lodash/_baseUnary.js"(e,t){"use strict";function r(nP){return function(o){return nP(o)}}t.exports=r}}),zq=M({"../../node_modules/lodash/_nodeUtil.js"(e,t){"use strict";var r=cv(),nP=typeof e=="object"&&e&&!e.nodeType&&e,o=nP&&typeof t=="object"&&t&&!t.nodeType&&t,i=o&&o.exports===nP,s=i&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();t.exports=l}}),yv=M({"../../node_modules/lodash/isTypedArray.js"(e,t){"use strict";var r=Uq(),nP=Hq(),o=zq(),i=o&&o.isTypedArray,s=i?nP(i):r;t.exports=s}}),Vq=M({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){"use strict";var r=Bq(),nP=Fq(),o=mp(),i=gv(),s=$q(),l=yv(),u=Object.prototype,d=u.hasOwnProperty;function c(p,h){var m=o(p),g=!m&&nP(p),b=!m&&!g&&i(p),y=!m&&!g&&!b&&l(p),E=m||g||b||y,_=E?r(p.length,String):[],P=_.length;for(var C in p)(h||d.call(p,C))&&!(E&&(C=="length"||b&&(C=="offset"||C=="parent")||y&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||s(C,P)))&&_.push(C);return _}t.exports=c}}),Gq=M({"../../node_modules/lodash/_isPrototype.js"(e,t){"use strict";var r=Object.prototype;function nP(o){var i=o&&o.constructor,s=typeof i=="function"&&i.prototype||r;return o===s}t.exports=nP}}),Wq=M({"../../node_modules/lodash/_overArg.js"(e,t){"use strict";function r(nP,o){return function(i){return nP(o(i))}}t.exports=r}}),Yq=M({"../../node_modules/lodash/_nativeKeys.js"(e,t){"use strict";var r=Wq(),nP=r(Object.keys,Object);t.exports=nP}}),Kq=M({"../../node_modules/lodash/_baseKeys.js"(e,t){"use strict";var r=Gq(),nP=Yq(),o=Object.prototype,i=o.hasOwnProperty;function s(l){if(!r(l))return nP(l);var u=[];for(var d in Object(l))i.call(l,d)&&d!="constructor"&&u.push(d);return u}t.exports=s}}),Jq=M({"../../node_modules/lodash/isArrayLike.js"(e,t){"use strict";var r=pv(),nP=bv();function o(i){return i!=null&&nP(i.length)&&!r(i)}t.exports=o}}),Xq=M({"../../node_modules/lodash/keys.js"(e,t){"use strict";var r=Vq(),nP=Kq(),o=Jq();function i(s){return o(s)?r(s):nP(s)}t.exports=i}}),Qq=M({"../../node_modules/lodash/_getAllKeys.js"(e,t){"use strict";var r=Iq(),nP=jq(),o=Xq();function i(s){return r(s,o,nP)}t.exports=i}}),Zq=M({"../../node_modules/lodash/_equalObjects.js"(e,t){"use strict";var r=Qq(),nP=1,o=Object.prototype,i=o.hasOwnProperty;function s(l,u,d,c,p,h){var m=d&nP,g=r(l),b=g.length,y=r(u),E=y.length;if(b!=E&&!m)return!1;for(var _=b;_--;){var P=g[_];if(!(m?P in u:i.call(u,P)))return!1}var C=h.get(l),w=h.get(u);if(C&&w)return C==u&&w==l;var S=!0;h.set(l,u),h.set(u,l);for(var T=m;++_<b;){P=g[_];var A=l[P],N=u[P];if(c)var U=m?c(N,A,P,u,l,h):c(A,N,P,l,u,h);if(!(U===void 0?A===N||p(A,N,d,c,h):U)){S=!1;break}T||(T=P=="constructor")}if(S&&!T){var X=l.constructor,V=u.constructor;X!=V&&"constructor"in l&&"constructor"in u&&!(typeof X=="function"&&X instanceof X&&typeof V=="function"&&V instanceof V)&&(S=!1)}return h.delete(l),h.delete(u),S}t.exports=s}}),ej=M({"../../node_modules/lodash/_DataView.js"(e,t){"use strict";var r=za(),nP=cn(),o=r(nP,"DataView");t.exports=o}}),tj=M({"../../node_modules/lodash/_Promise.js"(e,t){"use strict";var r=za(),nP=cn(),o=r(nP,"Promise");t.exports=o}}),rj=M({"../../node_modules/lodash/_Set.js"(e,t){"use strict";var r=za(),nP=cn(),o=r(nP,"Set");t.exports=o}}),nj=M({"../../node_modules/lodash/_WeakMap.js"(e,t){"use strict";var r=za(),nP=cn(),o=r(nP,"WeakMap");t.exports=o}}),oj=M({"../../node_modules/lodash/_getTag.js"(e,t){"use strict";var r=ej(),nP=hp(),o=tj(),i=rj(),s=nj(),l=vl(),u=fv(),d="[object Map]",c="[object Object]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",g="[object DataView]",b=u(r),y=u(nP),E=u(o),_=u(i),P=u(s),C=l;(r&&C(new r(new ArrayBuffer(1)))!=g||nP&&C(new nP)!=d||o&&C(o.resolve())!=p||i&&C(new i)!=h||s&&C(new s)!=m)&&(C=function(w){var S=l(w),T=S==c?w.constructor:void 0,A=T?u(T):"";if(A)switch(A){case b:return g;case y:return d;case E:return p;case _:return h;case P:return m}return S}),t.exports=C}}),aj=M({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){"use strict";var r=wq(),nP=mv(),o=Nq(),i=Zq(),s=oj(),l=mp(),u=gv(),d=yv(),c=1,p="[object Arguments]",h="[object Array]",m="[object Object]",g=Object.prototype,b=g.hasOwnProperty;function y(E,_,P,C,w,S){var T=l(E),A=l(_),N=T?h:s(E),U=A?h:s(_);N=N==p?m:N,U=U==p?m:U;var X=N==m,V=U==m,J=N==U;if(J&&u(E)){if(!u(_))return!1;T=!0,X=!1}if(J&&!X)return S||(S=new r),T||d(E)?nP(E,_,P,C,w,S):o(E,_,N,P,C,w,S);if(!(P&c)){var x=X&&b.call(E,"__wrapped__"),B=V&&b.call(_,"__wrapped__");if(x||B){var K=x?E.value():E,fe=B?_.value():_;return S||(S=new r),w(K,fe,P,C,S)}}return J?(S||(S=new r),i(E,_,P,C,w,S)):!1}t.exports=y}}),ij=M({"../../node_modules/lodash/_baseIsEqual.js"(e,t){"use strict";var r=aj(),nP=wl();function o(i,s,l,u,d){return i===s?!0:i==null||s==null||!nP(i)&&!nP(s)?i!==i&&s!==s:r(i,s,l,u,o,d)}t.exports=o}}),vv=M({"../../node_modules/lodash/isEqualWith.js"(e,t){"use strict";var r=ij();function nP(o,i,s){s=typeof s=="function"?s:void 0;var l=s?s(o,i):void 0;return l===void 0?r(o,i,void 0,s):!!l}t.exports=nP}}),Ev=M({"../../node_modules/css.escape/css.escape.js"(e,t){"use strict";(function(r,nP){typeof e=="object"?t.exports=nP(r):typeof define=="function"&&define.amd?define([],nP.bind(r,r)):nP(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var nP=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(o),s=i.length,l=-1,u,d="",c=i.charCodeAt(0);++l<s;){if(u=i.charCodeAt(l),u==0){d+="\uFFFD";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&c==45){d+="\\"+u.toString(16)+" ";continue}if(l==0&&s==1&&u==45){d+="\\"+i.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){d+=i.charAt(l);continue}d+="\\"+i.charAt(l)}return d};return r.CSS||(r.CSS={}),r.CSS.escape=nP,nP})}}),_v=M({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){"use strict";var r=(i=0)=>s=>`\x1B[${38+i};5;${s}m`,nP=(i=0)=>(s,l,u)=>`\x1B[${38+i};2;${s};${l};${u}m`;function o(){let i=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(let[l,u]of Object.entries(s)){for(let[d,c]of Object.entries(u))s[d]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},u[d]=s[d],i.set(c[0],c[1]);Object.defineProperty(s,l,{value:u,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=nP(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=nP(10),Object.defineProperties(s,{rgbToAnsi256:{value:(l,u,d)=>l===u&&u===d?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(d/255*5),enumerable:!1},hexToRgb:{value:l=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:d}=u.groups;d.length===3&&(d=d.split("").map(p=>p+p).join(""));let c=Number.parseInt(d,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:l=>s.rgbToAnsi256(...s.hexToRgb(l)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:o})}}),Sl=M({"../../node_modules/pretty-format/build/collections.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=nP,e.printListItems=o,e.printObjectProperties=i;var t=(s,l)=>{let u=Object.keys(s).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(d=>{Object.getOwnPropertyDescriptor(s,d).enumerable&&u.push(d)}),u};function r(s,l,u,d,c,p,h=": "){let m="",g=s.next();if(!g.done){m+=l.spacingOuter;let b=u+l.indent;for(;!g.done;){let y=p(g.value[0],l,b,d,c),E=p(g.value[1],l,b,d,c);m+=b+y+h+E,g=s.next(),g.done?l.min||(m+=","):m+=","+l.spacingInner}m+=l.spacingOuter+u}return m}function nP(s,l,u,d,c,p){let h="",m=s.next();if(!m.done){h+=l.spacingOuter;let g=u+l.indent;for(;!m.done;)h+=g+p(m.value,l,g,d,c),m=s.next(),m.done?l.min||(h+=","):h+=","+l.spacingInner;h+=l.spacingOuter+u}return h}function o(s,l,u,d,c,p){let h="";if(s.length){h+=l.spacingOuter;let m=u+l.indent;for(let g=0;g<s.length;g++)h+=m,g in s&&(h+=p(s[g],l,m,d,c)),g<s.length-1?h+=","+l.spacingInner:l.min||(h+=",");h+=l.spacingOuter+u}return h}function i(s,l,u,d,c,p){let h="",m=t(s,l.compareKeys);if(m.length){h+=l.spacingOuter;let g=u+l.indent;for(let b=0;b<m.length;b++){let y=m[b],E=p(y,l,g,d,c),_=p(s[y],l,g,d,c);h+=g+E+": "+_,b<m.length-1?h+=","+l.spacingInner:l.min||(h+=",")}h+=l.spacingOuter+u}return h}}}),sj=M({"../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Sl(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),nP=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof nP=="function"&&nP.for?nP.for("jest.asymmetricMatcher"):1267621,i=" ",s=(c,p,h,m,g,b)=>{let y=c.toString();return y==="ArrayContaining"||y==="ArrayNotContaining"?++m>p.maxDepth?"["+y+"]":y+i+"["+(0,t.printListItems)(c.sample,p,h,m,g,b)+"]":y==="ObjectContaining"||y==="ObjectNotContaining"?++m>p.maxDepth?"["+y+"]":y+i+"{"+(0,t.printObjectProperties)(c.sample,p,h,m,g,b)+"}":y==="StringMatching"||y==="StringNotMatching"||y==="StringContaining"||y==="StringNotContaining"?y+i+b(c.sample,p,h,m,g):c.toAsymmetricMatcher()};e.serialize=s;var l=c=>c&&c.$$typeof===o;e.test=l;var u={serialize:s,test:l},d=u;e.default=d}}),lj=M({"../../node_modules/pretty-format/node_modules/ansi-regex/index.js"(e,t){"use strict";t.exports=({onlyFirst:r=!1}={})=>{let nP=["[\\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(nP,r?void 0:"g")}}}),uj=M({"../../node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=nP(lj()),r=nP(_v());function nP(d){return d&&d.__esModule?d:{default:d}}var o=d=>d.replace((0,t.default)(),c=>{switch(c){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),i=d=>typeof d=="string"&&!!d.match((0,t.default)());e.test=i;var s=(d,c,p,h,m,g)=>g(o(d),c,p,h,m);e.serialize=s;var l={serialize:s,test:i},u=l;e.default=u}}),cj=M({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Sl(),r=" ",nP=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,i=p=>nP.indexOf(p)!==-1||o.test(p),s=p=>p&&p.constructor&&!!p.constructor.name&&i(p.constructor.name);e.test=s;var l=p=>p.constructor.name==="NamedNodeMap",u=(p,h,m,g,b,y)=>{let E=p.constructor.name;return++g>h.maxDepth?"["+E+"]":(h.min?"":E+r)+(nP.indexOf(E)!==-1?"{"+(0,t.printObjectProperties)(l(p)?Array.from(p).reduce((_,P)=>(_[P.name]=P.value,_),{}):{...p},h,m,g,b,y)+"}":"["+(0,t.printListItems)(Array.from(p),h,m,g,b,y)+"]")};e.serialize=u;var d={serialize:u,test:s},c=d;e.default=c}}),dj=M({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}}}),gp=M({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(dj());function r(d){return d&&d.__esModule?d:{default:d}}var nP=(d,c,p,h,m,g,b)=>{let y=h+p.indent,E=p.colors;return d.map(_=>{let P=c[_],C=b(P,p,y,m,g);return typeof P!="string"&&(C.indexOf(`
|
|
269
|
+
`)!==-1&&(C=p.spacingOuter+y+C+p.spacingOuter+h),C="{"+C+"}"),p.spacingInner+h+E.prop.open+_+E.prop.close+"="+E.value.open+C+E.value.close}).join("")};e.printProps=nP;var o=(d,c,p,h,m,g)=>d.map(b=>c.spacingOuter+p+(typeof b=="string"?i(b,c):g(b,c,p,h,m))).join("");e.printChildren=o;var i=(d,c)=>{let p=c.colors.content;return p.open+(0,t.default)(d)+p.close};e.printText=i;var s=(d,c)=>{let p=c.colors.comment;return p.open+"<!--"+(0,t.default)(d)+"-->"+p.close};e.printComment=s;var l=(d,c,p,h,m)=>{let g=h.colors.tag;return g.open+"<"+d+(c&&g.close+c+h.spacingOuter+m+g.open)+(p?">"+g.close+p+h.spacingOuter+m+g.open+"</"+d:(c&&!h.min?"":" ")+"/")+">"+g.close};e.printElement=l;var u=(d,c)=>{let p=c.colors.tag;return p.open+"<"+d+p.close+" \u2026"+p.open+" />"+p.close};e.printElementAsLeaf=u}}),pj=M({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=gp(),r=1,nP=3,o=8,i=11,s=/^((HTML|SVG)\w*)?Element$/,l=y=>{try{return typeof y.hasAttribute=="function"&&y.hasAttribute("is")}catch{return!1}},u=y=>{let E=y.constructor.name,{nodeType:_,tagName:P}=y,C=typeof P=="string"&&P.includes("-")||l(y);return _===r&&(s.test(E)||C)||_===nP&&E==="Text"||_===o&&E==="Comment"||_===i&&E==="DocumentFragment"},d=y=>{var E;return(y==null||(E=y.constructor)===null||E===void 0?void 0:E.name)&&u(y)};e.test=d;function c(y){return y.nodeType===nP}function p(y){return y.nodeType===o}function h(y){return y.nodeType===i}var m=(y,E,_,P,C,w)=>{if(c(y))return(0,t.printText)(y.data,E);if(p(y))return(0,t.printComment)(y.data,E);let S=h(y)?"DocumentFragment":y.tagName.toLowerCase();return++P>E.maxDepth?(0,t.printElementAsLeaf)(S,E):(0,t.printElement)(S,(0,t.printProps)(h(y)?[]:Array.from(y.attributes).map(T=>T.name).sort(),h(y)?{}:Array.from(y.attributes).reduce((T,A)=>(T[A.name]=A.value,T),{}),E,_+E.indent,P,C,w),(0,t.printChildren)(Array.prototype.slice.call(y.childNodes||y.children),E,_+E.indent,P,C,w),E,_)};e.serialize=m;var g={serialize:m,test:d},b=g;e.default=b}}),fj=M({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Sl(),r="@@__IMMUTABLE_ITERABLE__@@",nP="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",d="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",p=A=>"Immutable."+A,h=A=>"["+A+"]",m=" ",g="\u2026",b=(A,N,U,X,V,J,x)=>++X>N.maxDepth?h(p(x)):p(x)+m+"{"+(0,t.printIteratorEntries)(A.entries(),N,U,X,V,J)+"}";function y(A){let N=0;return{next(){if(N<A._keys.length){let U=A._keys[N++];return{done:!1,value:[U,A.get(U)]}}return{done:!0,value:void 0}}}}var E=(A,N,U,X,V,J)=>{let x=p(A._name||"Record");return++X>N.maxDepth?h(x):x+m+"{"+(0,t.printIteratorEntries)(y(A),N,U,X,V,J)+"}"},_=(A,N,U,X,V,J)=>{let x=p("Seq");return++X>N.maxDepth?h(x):A[o]?x+m+"{"+(A._iter||A._object?(0,t.printIteratorEntries)(A.entries(),N,U,X,V,J):g)+"}":x+m+"["+(A._iter||A._array||A._collection||A._iterable?(0,t.printIteratorValues)(A.values(),N,U,X,V,J):g)+"]"},P=(A,N,U,X,V,J,x)=>++X>N.maxDepth?h(p(x)):p(x)+m+"["+(0,t.printIteratorValues)(A.values(),N,U,X,V,J)+"]",C=(A,N,U,X,V,J)=>A[i]?b(A,N,U,X,V,J,A[s]?"OrderedMap":"Map"):A[nP]?P(A,N,U,X,V,J,"List"):A[d]?P(A,N,U,X,V,J,A[s]?"OrderedSet":"Set"):A[c]?P(A,N,U,X,V,J,"Stack"):A[u]?_(A,N,U,X,V,J):E(A,N,U,X,V,J);e.serialize=C;var w=A=>A&&(A[r]===!0||A[l]===!0);e.test=w;var S={serialize:C,test:w},T=S;e.default=T}}),hj=M({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js"(e){"use strict";var t=60103,r=60106,nP=60107,o=60108,i=60114,s=60109,l=60110,u=60112,d=60113,c=60120,p=60115,h=60116,m=60121,g=60122,b=60117,y=60129,E=60131;typeof Symbol=="function"&&Symbol.for&&(_=Symbol.for,t=_("react.element"),r=_("react.portal"),nP=_("react.fragment"),o=_("react.strict_mode"),i=_("react.profiler"),s=_("react.provider"),l=_("react.context"),u=_("react.forward_ref"),d=_("react.suspense"),c=_("react.suspense_list"),p=_("react.memo"),h=_("react.lazy"),m=_("react.block"),g=_("react.server.block"),b=_("react.fundamental"),y=_("react.debug_trace_mode"),E=_("react.legacy_hidden"));var _;function P(x){if(typeof x=="object"&&x!==null){var B=x.$$typeof;switch(B){case t:switch(x=x.type,x){case nP:case i:case o:case d:case c:return x;default:switch(x=x&&x.$$typeof,x){case l:case u:case h:case p:case s:return x;default:return B}}case r:return B}}}var C=s,w=t,S=u,T=nP,A=h,N=p,U=r,X=i,V=o,J=d;e.ContextConsumer=l,e.ContextProvider=C,e.Element=w,e.ForwardRef=S,e.Fragment=T,e.Lazy=A,e.Memo=N,e.Portal=U,e.Profiler=X,e.StrictMode=V,e.Suspense=J,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(x){return P(x)===l},e.isContextProvider=function(x){return P(x)===s},e.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},e.isForwardRef=function(x){return P(x)===u},e.isFragment=function(x){return P(x)===nP},e.isLazy=function(x){return P(x)===h},e.isMemo=function(x){return P(x)===p},e.isPortal=function(x){return P(x)===r},e.isProfiler=function(x){return P(x)===i},e.isStrictMode=function(x){return P(x)===o},e.isSuspense=function(x){return P(x)===d},e.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===nP||x===i||x===y||x===o||x===d||x===c||x===E||typeof x=="object"&&x!==null&&(x.$$typeof===h||x.$$typeof===p||x.$$typeof===s||x.$$typeof===l||x.$$typeof===u||x.$$typeof===b||x.$$typeof===m||x[0]===g)},e.typeOf=P}}),mj=M({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var t=60103,r=60106,nP=60107,o=60108,i=60114,s=60109,l=60110,u=60112,d=60113,c=60120,p=60115,h=60116,m=60121,g=60122,b=60117,y=60119,E=60128,_=60129,P=60130,C=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;t=w("react.element"),r=w("react.portal"),nP=w("react.fragment"),o=w("react.strict_mode"),i=w("react.profiler"),s=w("react.provider"),l=w("react.context"),u=w("react.forward_ref"),d=w("react.suspense"),c=w("react.suspense_list"),p=w("react.memo"),h=w("react.lazy"),m=w("react.block"),g=w("react.server.block"),b=w("react.fundamental"),y=w("react.scope"),E=w("react.opaque.id"),_=w("react.debug_trace_mode"),P=w("react.offscreen"),C=w("react.legacy_hidden")}var S=!1;function T(ye){return!!(typeof ye=="string"||typeof ye=="function"||ye===nP||ye===i||ye===_||ye===o||ye===d||ye===c||ye===C||S||typeof ye=="object"&&ye!==null&&(ye.$$typeof===h||ye.$$typeof===p||ye.$$typeof===s||ye.$$typeof===l||ye.$$typeof===u||ye.$$typeof===b||ye.$$typeof===m||ye[0]===g))}function A(ye){if(typeof ye=="object"&&ye!==null){var $e=ye.$$typeof;switch($e){case t:var lt=ye.type;switch(lt){case nP:case i:case o:case d:case c:return lt;default:var Qt=lt&<.$$typeof;switch(Qt){case l:case u:case h:case p:case s:return Qt;default:return $e}}case r:return $e}}}var N=l,U=s,X=t,V=u,J=nP,x=h,B=p,K=r,fe=i,ce=o,Re=d,Fe=!1,Oe=!1;function le(ye){return Fe||(Fe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function se(ye){return Oe||(Oe=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(ye){return A(ye)===l}function Se(ye){return A(ye)===s}function qe(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===t}function ke(ye){return A(ye)===u}function ot(ye){return A(ye)===nP}function Ot(ye){return A(ye)===h}function Y(ye){return A(ye)===p}function Pe(ye){return A(ye)===r}function Le(ye){return A(ye)===i}function nt(ye){return A(ye)===o}function ae(ye){return A(ye)===d}e.ContextConsumer=N,e.ContextProvider=U,e.Element=X,e.ForwardRef=V,e.Fragment=J,e.Lazy=x,e.Memo=B,e.Portal=K,e.Profiler=fe,e.StrictMode=ce,e.Suspense=Re,e.isAsyncMode=le,e.isConcurrentMode=se,e.isContextConsumer=de,e.isContextProvider=Se,e.isElement=qe,e.isForwardRef=ke,e.isFragment=ot,e.isLazy=Ot,e.isMemo=Y,e.isPortal=Pe,e.isProfiler=Le,e.isStrictMode=nt,e.isSuspense=ae,e.isValidElementType=T,e.typeOf=A}()}}),gj=M({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){"use strict";process.env.NODE_ENV==="production"?t.exports=hj():t.exports=mj()}}),bj=M({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(gj()),r=gp();function nP(h){if(typeof WeakMap!="function")return null;var m=new WeakMap,g=new WeakMap;return(nP=function(b){return b?g:m})(h)}function o(h,m){if(!m&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=nP(m);if(g&&g.has(h))return g.get(h);var b={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var E in h)if(E!=="default"&&Object.prototype.hasOwnProperty.call(h,E)){var _=y?Object.getOwnPropertyDescriptor(h,E):null;_&&(_.get||_.set)?Object.defineProperty(b,E,_):b[E]=h[E]}return b.default=h,g&&g.set(h,b),b}var i=(h,m=[])=>(Array.isArray(h)?h.forEach(g=>{i(g,m)}):h!=null&&h!==!1&&m.push(h),m),s=h=>{let m=h.type;if(typeof m=="string")return m;if(typeof m=="function")return m.displayName||m.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof m=="object"&&m!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(m.displayName)return m.displayName;let g=m.render.displayName||m.render.name||"";return g!==""?"ForwardRef("+g+")":"ForwardRef"}if(t.isMemo(h)){let g=m.displayName||m.type.displayName||m.type.name||"";return g!==""?"Memo("+g+")":"Memo"}}return"UNDEFINED"},l=h=>{let{props:m}=h;return Object.keys(m).filter(g=>g!=="children"&&m[g]!==void 0).sort()},u=(h,m,g,b,y,E)=>++b>m.maxDepth?(0,r.printElementAsLeaf)(s(h),m):(0,r.printElement)(s(h),(0,r.printProps)(l(h),h.props,m,g+m.indent,b,y,E),(0,r.printChildren)(i(h.props.children),m,g+m.indent,b,y,E),m,g);e.serialize=u;var d=h=>h!=null&&t.isElement(h);e.test=d;var c={serialize:u,test:d},p=c;e.default=p}}),yj=M({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=gp(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),nP=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof nP=="function"&&nP.for?nP.for("react.test.json"):245830487,i=c=>{let{props:p}=c;return p?Object.keys(p).filter(h=>p[h]!==void 0).sort():[]},s=(c,p,h,m,g,b)=>++m>p.maxDepth?(0,t.printElementAsLeaf)(c.type,p):(0,t.printElement)(c.type,c.props?(0,t.printProps)(i(c),c.props,p,h+p.indent,m,g,b):"",c.children?(0,t.printChildren)(c.children,p,h+p.indent,m,g,b):"",p,h);e.serialize=s;var l=c=>c&&c.$$typeof===o;e.test=l;var u={serialize:s,test:l},d=u;e.default=d}}),vj=M({"../../node_modules/pretty-format/build/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=ke,e.plugins=void 0;var t=c(_v()),r=Sl(),nP=c(sj()),o=c(uj()),i=c(cj()),s=c(pj()),l=c(fj()),u=c(bj()),d=c(yj());function c(Y){return Y&&Y.__esModule?Y:{default:Y}}var p=Object.prototype.toString,h=Date.prototype.toISOString,m=Error.prototype.toString,g=RegExp.prototype.toString,b=Y=>typeof Y.constructor=="function"&&Y.constructor.name||"Object",y=Y=>typeof window<"u"&&Y===window,E=/^Symbol\((.*)\)(.*)$/,_=/\nP/gi,P=class extends Error{constructor(Y,Pe){super(Y),this.stack=Pe,this.name=this.constructor.name}};function C(Y){return Y==="[object Array]"||Y==="[object ArrayBuffer]"||Y==="[object DataView]"||Y==="[object Float32Array]"||Y==="[object Float64Array]"||Y==="[object Int8Array]"||Y==="[object Int16Array]"||Y==="[object Int32Array]"||Y==="[object Uint8Array]"||Y==="[object Uint8ClampedArray]"||Y==="[object Uint16Array]"||Y==="[object Uint32Array]"}function w(Y){return Object.is(Y,-0)?"-0":String(Y)}function S(Y){return`${Y}nP`}function T(Y,Pe){return Pe?"[Function "+(Y.name||"anonymous")+"]":"[Function]"}function A(Y){return String(Y).replace(E,"Symbol($1)")}function N(Y){return"["+m.call(Y)+"]"}function U(Y,Pe,Le,nt){if(Y===!0||Y===!1)return""+Y;if(Y===void 0)return"undefined";if(Y===null)return"null";let ae=typeof Y;if(ae==="number")return w(Y);if(ae==="bigint")return S(Y);if(ae==="string")return nt?'"'+Y.replace(/"|\\/g,"\\$&")+'"':'"'+Y+'"';if(ae==="function")return T(Y,Pe);if(ae==="symbol")return A(Y);let ye=p.call(Y);return ye==="[object WeakMap]"?"WeakMap {}":ye==="[object WeakSet]"?"WeakSet {}":ye==="[object Function]"||ye==="[object GeneratorFunction]"?T(Y,Pe):ye==="[object Symbol]"?A(Y):ye==="[object Date]"?isNaN(+Y)?"Date { NaN }":h.call(Y):ye==="[object Error]"?N(Y):ye==="[object RegExp]"?Le?g.call(Y).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):g.call(Y):Y instanceof Error?N(Y):null}function X(Y,Pe,Le,nt,ae,ye){if(ae.indexOf(Y)!==-1)return"[Circular]";ae=ae.slice(),ae.push(Y);let $e=++nt>Pe.maxDepth,lt=Pe.min;if(Pe.callToJSON&&!$e&&Y.toJSON&&typeof Y.toJSON=="function"&&!ye)return B(Y.toJSON(),Pe,Le,nt,ae,!0);let Qt=p.call(Y);return Qt==="[object Arguments]"?$e?"[Arguments]":(lt?"":"Arguments ")+"["+(0,r.printListItems)(Y,Pe,Le,nt,ae,B)+"]":C(Qt)?$e?"["+Y.constructor.name+"]":(lt||!Pe.printBasicPrototype&&Y.constructor.name==="Array"?"":Y.constructor.name+" ")+"["+(0,r.printListItems)(Y,Pe,Le,nt,ae,B)+"]":Qt==="[object Map]"?$e?"[Map]":"Map {"+(0,r.printIteratorEntries)(Y.entries(),Pe,Le,nt,ae,B," => ")+"}":Qt==="[object Set]"?$e?"[Set]":"Set {"+(0,r.printIteratorValues)(Y.values(),Pe,Le,nt,ae,B)+"}":$e||y(Y)?"["+b(Y)+"]":(lt||!Pe.printBasicPrototype&&b(Y)==="Object"?"":b(Y)+" ")+"{"+(0,r.printObjectProperties)(Y,Pe,Le,nt,ae,B)+"}"}function V(Y){return Y.serialize!=null}function J(Y,Pe,Le,nt,ae,ye){let $e;try{$e=V(Y)?Y.serialize(Pe,Le,nt,ae,ye,B):Y.print(Pe,lt=>B(lt,Le,nt,ae,ye),lt=>{let Qt=nt+Le.indent;return Qt+lt.replace(_,`
|
|
270
270
|
`+Qt)},{edgeSpacing:Le.spacingOuter,min:Le.min,spacing:Le.spacingInner},Le.colors)}catch(lt){throw new P(lt.message,lt.stack)}if(typeof $e!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof $e}".`);return $e}function x(Y,Pe){for(let Le=0;Le<Y.length;Le++)try{if(Y[Le].test(Pe))return Y[Le]}catch(nt){throw new P(nt.message,nt.stack)}return null}function B(Y,Pe,Le,nt,ae,ye){let $e=x(Pe.plugins,Y);if($e!==null)return J($e,Y,Pe,Le,nt,ae);let lt=U(Y,Pe.printFunctionName,Pe.escapeRegex,Pe.escapeString);return lt!==null?lt:X(Y,Pe,Le,nt,ae,ye)}var K={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},fe=Object.keys(K),ce={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:K};e.DEFAULT_OPTIONS=ce;function Re(Y){if(Object.keys(Y).forEach(Pe=>{if(!ce.hasOwnProperty(Pe))throw new Error(`pretty-format: Unknown option "${Pe}".`)}),Y.min&&Y.indent!==void 0&&Y.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(Y.theme!==void 0){if(Y.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof Y.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof Y.theme}".`)}}var Fe=Y=>fe.reduce((Pe,Le)=>{let nt=Y.theme&&Y.theme[Le]!==void 0?Y.theme[Le]:K[Le],ae=nt&&t.default[nt];if(ae&&typeof ae.close=="string"&&typeof ae.open=="string")Pe[Le]=ae;else throw new Error(`pretty-format: Option "theme" has a key "${Le}" whose value "${nt}" is undefined in ansi-styles.`);return Pe},Object.create(null)),Oe=()=>fe.reduce((Y,Pe)=>(Y[Pe]={close:"",open:""},Y),Object.create(null)),le=Y=>Y&&Y.printFunctionName!==void 0?Y.printFunctionName:ce.printFunctionName,se=Y=>Y&&Y.escapeRegex!==void 0?Y.escapeRegex:ce.escapeRegex,de=Y=>Y&&Y.escapeString!==void 0?Y.escapeString:ce.escapeString,Se=Y=>{var Pe;return{callToJSON:Y&&Y.callToJSON!==void 0?Y.callToJSON:ce.callToJSON,colors:Y&&Y.highlight?Fe(Y):Oe(),compareKeys:Y&&typeof Y.compareKeys=="function"?Y.compareKeys:ce.compareKeys,escapeRegex:se(Y),escapeString:de(Y),indent:Y&&Y.min?"":qe(Y&&Y.indent!==void 0?Y.indent:ce.indent),maxDepth:Y&&Y.maxDepth!==void 0?Y.maxDepth:ce.maxDepth,min:Y&&Y.min!==void 0?Y.min:ce.min,plugins:Y&&Y.plugins!==void 0?Y.plugins:ce.plugins,printBasicPrototype:(Pe=Y==null?void 0:Y.printBasicPrototype)!==null&&Pe!==void 0?Pe:!0,printFunctionName:le(Y),spacingInner:Y&&Y.min?" ":`
|
|
271
271
|
`,spacingOuter:Y&&Y.min?"":`
|
|
272
|
-
`}};function qe(Y){return new Array(Y+1).join(" ")}function ke(Y,Pe){if(Pe&&(Re(Pe),Pe.plugins)){let nt=x(Pe.plugins,Y);if(nt!==null)return J(nt,Y,Se(Pe),"",0,[])}let Le=U(Y,le(Pe),se(Pe),de(Pe));return Le!==null?Le:X(Y,Se(Pe),"",0,[])}var ot={AsymmetricMatcher:nP.default,ConvertAnsi:o.default,DOMCollection:i.default,DOMElement:s.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:d.default};e.plugins=ot;var Ot=ke;e.default=Ot}}),Ej=M({"../../node_modules/lz-string/libs/lz-string.js"(e,t){"use strict";var r=function(){var nP=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function l(d,c){if(!s[d]){s[d]={};for(var p=0;p<d.length;p++)s[d][d.charAt(p)]=p}return s[d][c]}var u={compressToBase64:function(d){if(d==null)return"";var c=u._compress(d,6,function(p){return o.charAt(p)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(d){return d==null?"":d==""?null:u._decompress(d.length,32,function(c){return l(o,d.charAt(c))})},compressToUTF16:function(d){return d==null?"":u._compress(d,15,function(c){return nP(c+32)})+" "},decompressFromUTF16:function(d){return d==null?"":d==""?null:u._decompress(d.length,16384,function(c){return d.charCodeAt(c)-32})},compressToUint8Array:function(d){for(var c=u.compress(d),p=new Uint8Array(c.length*2),h=0,m=c.length;h<m;h++){var g=c.charCodeAt(h);p[h*2]=g>>>8,p[h*2+1]=g%256}return p},decompressFromUint8Array:function(d){if(d==null)return u.decompress(d);for(var c=new Array(d.length/2),p=0,h=c.length;p<h;p++)c[p]=d[p*2]*256+d[p*2+1];var m=[];return c.forEach(function(g){m.push(nP(g))}),u.decompress(m.join(""))},compressToEncodedURIComponent:function(d){return d==null?"":u._compress(d,6,function(c){return i.charAt(c)})},decompressFromEncodedURIComponent:function(d){return d==null?"":d==""?null:(d=d.replace(/ /g,"+"),u._decompress(d.length,32,function(c){return l(i,d.charAt(c))}))},compress:function(d){return u._compress(d,16,function(c){return nP(c)})},_compress:function(d,c,p){if(d==null)return"";var h,m,g={},b={},y="",E="",_="",P=2,C=3,w=2,S=[],T=0,A=0,N;for(N=0;N<d.length;N+=1)if(y=d.charAt(N),Object.prototype.hasOwnProperty.call(g,y)||(g[y]=C++,b[y]=!0),E=_+y,Object.prototype.hasOwnProperty.call(g,E))_=E;else{if(Object.prototype.hasOwnProperty.call(b,_)){if(_.charCodeAt(0)<256){for(h=0;h<w;h++)T=T<<1,A==c-1?(A=0,S.push(p(T)),T=0):A++;for(m=_.charCodeAt(0),h=0;h<8;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1}else{for(m=1,h=0;h<w;h++)T=T<<1|m,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=0;for(m=_.charCodeAt(0),h=0;h<16;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1}P--,P==0&&(P=Math.pow(2,w),w++),delete b[_]}else for(m=g[_],h=0;h<w;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1;P--,P==0&&(P=Math.pow(2,w),w++),g[E]=C++,_=String(y)}if(_!==""){if(Object.prototype.hasOwnProperty.call(b,_)){if(_.charCodeAt(0)<256){for(h=0;h<w;h++)T=T<<1,A==c-1?(A=0,S.push(p(T)),T=0):A++;for(m=_.charCodeAt(0),h=0;h<8;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1}else{for(m=1,h=0;h<w;h++)T=T<<1|m,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=0;for(m=_.charCodeAt(0),h=0;h<16;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1}P--,P==0&&(P=Math.pow(2,w),w++),delete b[_]}else for(m=g[_],h=0;h<w;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1;P--,P==0&&(P=Math.pow(2,w),w++)}for(m=2,h=0;h<w;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1;for(;;)if(T=T<<1,A==c-1){S.push(p(T));break}else A++;return S.join("")},decompress:function(d){return d==null?"":d==""?null:u._decompress(d.length,32768,function(c){return d.charCodeAt(c)})},_decompress:function(d,c,p){var h=[],m,g=4,b=4,y=3,E="",_=[],P,C,w,S,T,A,N,U={val:p(0),position:c,index:1};for(P=0;P<3;P+=1)h[P]=P;for(w=0,T=Math.pow(2,2),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;switch(m=w){case 0:for(w=0,T=Math.pow(2,8),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;N=nP(w);break;case 1:for(w=0,T=Math.pow(2,16),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;N=nP(w);break;case 2:return""}for(h[3]=N,C=N,_.push(N);;){if(U.index>d)return"";for(w=0,T=Math.pow(2,y),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;switch(N=w){case 0:for(w=0,T=Math.pow(2,8),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;h[b++]=nP(w),N=b-1,g--;break;case 1:for(w=0,T=Math.pow(2,16),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;h[b++]=nP(w),N=b-1,g--;break;case 2:return _.join("")}if(g==0&&(g=Math.pow(2,y),y++),h[N])E=h[N];else if(N===b)E=C+C.charAt(0);else return null;_.push(E),h[b++]=C+E.charAt(0),g--,C=E,g==0&&(g=Math.pow(2,y),y++)}}};return u}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),wv={};bl(wv,{buildQueries:()=>z6,clearAllMocks:()=>i_,configure:()=>V6,createEvent:()=>G6,expect:()=>lH,findAllByAltText:()=>Y6,findAllByDisplayValue:()=>K6,findAllByLabelText:()=>J6,findAllByPlaceholderText:()=>X6,findAllByRole:()=>Q6,findAllByTestId:()=>Z6,findAllByText:()=>eU,findAllByTitle:()=>tU,findByAltText:()=>rU,findByDisplayValue:()=>nU,findByLabelText:()=>oU,findByPlaceholderText:()=>aU,findByRole:()=>iU,findByTestId:()=>sU,findByText:()=>lU,findByTitle:()=>uU,fireEvent:()=>W6,fn:()=>o_,getAllByAltText:()=>cU,getAllByDisplayValue:()=>dU,getAllByLabelText:()=>pU,getAllByPlaceholderText:()=>fU,getAllByRole:()=>hU,getAllByTestId:()=>mU,getAllByText:()=>gU,getAllByTitle:()=>bU,getByAltText:()=>yU,getByDisplayValue:()=>vU,getByLabelText:()=>EU,getByPlaceholderText:()=>_U,getByRole:()=>wU,getByTestId:()=>SU,getByText:()=>CU,getByTitle:()=>AU,getConfig:()=>RU,getDefaultNormalizer:()=>TU,getElementError:()=>xU,getNodeText:()=>PU,getQueriesForElement:()=>OU,getRoles:()=>NU,getSuggestedQuery:()=>MU,isInaccessible:()=>IU,isMockFunction:()=>ff,logDOM:()=>DU,logRoles:()=>qU,mocked:()=>g5,mocks:()=>Xi,onMockCall:()=>n_,prettyDOM:()=>jU,prettyFormat:()=>iH,queries:()=>BU,queryAllByAltText:()=>kU,queryAllByAttribute:()=>FU,queryAllByDisplayValue:()=>LU,queryAllByLabelText:()=>$U,queryAllByPlaceholderText:()=>UU,queryAllByRole:()=>HU,queryAllByTestId:()=>zU,queryAllByText:()=>VU,queryAllByTitle:()=>GU,queryByAltText:()=>WU,queryByAttribute:()=>YU,queryByDisplayValue:()=>KU,queryByLabelText:()=>JU,queryByPlaceholderText:()=>XU,queryByRole:()=>QU,queryByTestId:()=>ZU,queryByText:()=>eH,queryByTitle:()=>tH,queryHelpers:()=>rH,resetAllMocks:()=>s_,restoreAllMocks:()=>l_,screen:()=>nH,spyOn:()=>m5,traverseArgs:()=>ml,userEvent:()=>sH,waitFor:()=>oH,waitForElementToBeRemoved:()=>aH,within:()=>mS});Zn.exports=JN(wv);var Sv=Au(),_j=Yc(),Cv=Object.defineProperty,wj=Object.getOwnPropertyNames,Q=(e,t)=>Cv(e,"name",{value:t,configurable:!0}),Sj=(e,t)=>function(){return t||(0,e[wj(e)[0]])((t={exports:{}}).exports,t),t.exports},yp=(e,t)=>{for(var r in t)Cv(e,r,{get:t[r],enumerable:!0})},Cj=Sj({"(disabled):util"(){}}),zr={};yp(zr,{addChainableMethod:()=>Op,addLengthGuard:()=>Yi,addMethod:()=>Tp,addProperty:()=>Rp,checkError:()=>ur,compareByInspect:()=>Zs,eql:()=>Jv,expectTypes:()=>Nv,flag:()=>Qe,getActual:()=>Rl,getMessage:()=>_p,getName:()=>xl,getOperator:()=>Dp,getOwnEnumerableProperties:()=>Ip,getOwnEnumerablePropertySymbols:()=>Mp,getPathInfo:()=>Ap,hasProperty:()=>Tl,inspect:()=>it,isNaN:()=>el,isProxyEnabled:()=>Wi,isRegExp:()=>tl,objDisplay:()=>eo,overwriteChainableMethod:()=>Np,overwriteMethod:()=>Pp,overwriteProperty:()=>xp,proxify:()=>Va,test:()=>vp,transferFlags:()=>Mr,type:()=>bt});var ur={};yp(ur,{compatibleConstructor:()=>Tv,compatibleInstance:()=>Rv,compatibleMessage:()=>xv,getConstructorName:()=>Pv,getMessage:()=>Ov});function Al(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}Q(Al,"isErrorInstance");function Av(e){return Object.prototype.toString.call(e)==="[object RegExp]"}Q(Av,"isRegExp");function Rv(e,t){return Al(t)&&e===t}Q(Rv,"compatibleInstance");function Tv(e,t){return Al(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}Q(Tv,"compatibleConstructor");function xv(e,t){let r=typeof e=="string"?e:e.message;return Av(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}Q(xv,"compatibleMessage");function Pv(e){let t=e;return Al(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}Q(Pv,"getConstructorName");function Ov(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}Q(Ov,"getMessage");function Qe(e,t,r){var nP=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)nP[t]=r;else return nP[t]}Q(Qe,"flag");function vp(e,t){var r=Qe(e,"negate"),nP=t[0];return r?!nP:nP}Q(vp,"test");function bt(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)}Q(bt,"type");var Aj="captureStackTrace"in Error,no,ft=(no=class extends Error{constructor(r="Unspecified AssertionError",nP,o){super(r);_t(this,"message");this.message=r,Aj&&Error.captureStackTrace(this,o||no);for(let i in nP)i in this||(this[i]=nP[i])}get name(){return"AssertionError"}get ok(){return!1}toJSON(r){return{...this,name:this.name,message:this.message,ok:!1,stack:r!==!1?this.stack:void 0}}},Q(no,"AssertionError"),no);function Nv(e,t){var r=Qe(e,"message"),nP=Qe(e,"ssfi");r=r?r+": ":"",e=Qe(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();var o=t.map(function(s,l){var u=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",d=t.length>1&&l===t.length-1?"or ":"";return d+u+" "+s}).join(", "),i=bt(e).toLowerCase();if(!t.some(function(s){return i===s}))throw new ft(r+"object tested must be "+o+", but "+i+" given",void 0,nP)}Q(Nv,"expectTypes");function Rl(e,t){return t.length>4?t[4]:e._obj}Q(Rl,"getActual");var Xb={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"]},Rj={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Na="\u2026";function Mv(e,t){let r=Xb[Rj[t]]||Xb[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}Q(Mv,"colorise");function Iv({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:nP=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:d=String}={},c){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!nP,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:c,stylize:d};return p.colors&&(p.stylize=Mv),p}Q(Iv,"normaliseOptions");function dn(e,t,r=Na){e=String(e);let nP=r.length,o=e.length;return nP>t&&o>nP?r:o>t&&o>nP?`${e.slice(0,t-nP)}${r}`:e}Q(dn,"truncate");function Er(e,t,r,nP=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let d=0;d<o;d+=1){let c=d+1===e.length,p=d+2===e.length;u=`${Na}(${e.length-d})`;let h=e[d];t.truncate=i-s.length-(c?0:nP.length);let m=l||r(h,t)+(c?"":nP),g=s.length+m.length,b=g+u.length;if(c&&g>i&&s.length+u.length<=i||!c&&!p&&b>i||(l=c?"":r(e[d+1],t)+(p?"":nP),!c&&p&&b>i&&g+l.length>i))break;if(s+=m,!c&&!p&&g+l.length>=i){u=`${Na}(${e.length-d-1})`;break}u=""}return`${s}${u}`}Q(Er,"inspectList");function Dv(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}Q(Dv,"quoteComplexKey");function Ma([e,t],r){return r.truncate-=2,typeof e=="string"?e=Dv(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}Q(Ma,"inspectProperty");function qv(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let nP=Er(e,t);t.truncate-=nP.length;let o="";return r.length&&(o=Er(r.map(i=>[i,e[i]]),t,Ma)),`[ ${nP}${o?`, ${o}`:""} ]`}Q(qv,"inspectArray");var Tj=Q(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Hr(e,t){let r=Tj(e);t.truncate-=r.length+4;let nP=Object.keys(e).slice(e.length);if(!e.length&&!nP.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(dn(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${Na}(${e.length-e[s]+1})`;break}o+=l}let i="";return nP.length&&(i=Er(nP.map(s=>[s,e[s]]),t,Ma)),`${r}[ ${o}${i?`, ${i}`:""} ]`}Q(Hr,"inspectTypedArray");function jv(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let nP=r.split("T"),o=nP[0];return t.stylize(`${o}T${dn(nP[1],t.truncate-o.length-1)}`,"date")}Q(jv,"inspectDate");function md(e,t){let r=e[Symbol.toStringTag]||"Function",nP=e.name;return nP?t.stylize(`[${r} ${dn(nP,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}Q(md,"inspectFunction");function Bv([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}Q(Bv,"inspectMapEntry");function kv(e){let t=[];return e.forEach((r,nP)=>{t.push([nP,r])}),t}Q(kv,"mapToEntries");function Fv(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Er(kv(e),t,Bv)} }`)}Q(Fv,"inspectMap");var xj=Number.isNaN||(e=>e!==e);function gd(e,t){return xj(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(dn(String(e),t.truncate),"number")}Q(gd,"inspectNumber");function bd(e,t){let r=dn(e.toString(),t.truncate-1);return r!==Na&&(r+="nP"),t.stylize(r,"bigint")}Q(bd,"inspectBigInt");function Lv(e,t){let r=e.toString().split("/")[2],nP=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${dn(o,nP)}/${r}`,"regexp")}Q(Lv,"inspectRegExp");function $v(e){let t=[];return e.forEach(r=>{t.push(r)}),t}Q($v,"arrayFromSet");function Uv(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Er($v(e),t)} }`)}Q(Uv,"inspectSet");var Qb=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Pj={"\b":"\\b"," ":"\\t","\nP":"\\nP","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Oj=16,Nj=4;function Hv(e){return Pj[e]||`\\u${`0000${e.charCodeAt(0).toString(Oj)}`.slice(-Nj)}`}Q(Hv,"escape");function yd(e,t){return Qb.test(e)&&(e=e.replace(Qb,Hv)),t.stylize(`'${dn(e,t.truncate-2)}'`,"string")}Q(yd,"inspectString");function vd(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}Q(vd,"inspectSymbol");var zv=Q(()=>"Promise{\u2026}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(zv=Q((nP,o)=>{let[i,s]=e(nP);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`},"getPromiseValue"))}catch{}var Mj=zv;function Ci(e,t){let r=Object.getOwnPropertyNames(e),nP=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&nP.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=Er(r.map(l=>[l,e[l]]),t,Ma),i=Er(nP.map(l=>[l,e[l]]),t,Ma);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}Q(Ci,"inspectObject");var Kc=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Vv(e,t){let r="";return Kc&&Kc in e&&(r=e[Kc]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Ci(e,t)}`}Q(Vv,"inspectClass");function Gv(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Er(e,t)} ]`)}Q(Gv,"inspectArguments");var Ij=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Wv(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>Ij.indexOf(s)===-1),nP=e.name;t.truncate-=nP.length;let o="";typeof e.message=="string"?o=dn(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=Er(r.map(s=>[s,e[s]]),t,Ma);return`${nP}${o}${i?` { ${i} }`:""}`}Q(Wv,"inspectObject");function Yv([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}Q(Yv,"inspectAttribute");function Js(e,t){return Er(e,t,Ep,`
|
|
273
|
-
`)}Q(Js,"inspectHTMLCollection");function Ep(e,t){let r=e.getAttributeNames(),nP=e.tagName.toLowerCase(),o=t.stylize(`<${nP}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${nP}>`,"special");t.truncate-=nP.length*2+5;let l="";r.length>0&&(l+=" ",l+=Er(r.map(c=>[c,e.getAttribute(c)]),t,Yv," ")),t.truncate-=l.length;let u=t.truncate,d=Js(e.children,t);return d&&d.length>u&&(d=`${Na}(${e.children.length})`),`${o}${l}${i}${d}${s}`}Q(Ep,"inspectHTML");var Dj=typeof Symbol=="function"&&typeof Symbol.for=="function",Jc=Dj?Symbol.for("chai/inspect"):"@@chai/inspect",wa=!1;try{let e=Cj();wa=e.inspect?e.inspect.custom:!1}catch{wa=!1}var Zb=new WeakMap,ey={},ty={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:gd,Number:gd,bigint:bd,BigInt:bd,string:yd,String:yd,function:md,Function:md,symbol:vd,Symbol:vd,Array:qv,Date:jv,Map:Fv,Set:Uv,RegExp:Lv,Promise:Mj,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:Gv,Int8Array:Hr,Uint8Array:Hr,Uint8ClampedArray:Hr,Int16Array:Hr,Uint16Array:Hr,Int32Array:Hr,Uint32Array:Hr,Float32Array:Hr,Float64Array:Hr,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Wv,HTMLCollection:Js,NodeList:Js},qj=Q((e,t,r)=>Jc in e&&typeof e[Jc]=="function"?e[Jc](t):wa&&wa in e&&typeof e[wa]=="function"?e[wa](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Zb.has(e.constructor)?Zb.get(e.constructor)(e,t):ey[r]?ey[r](e,t):"","inspectCustom"),jj=Object.prototype.toString;function Xs(e,t={}){let r=Iv(t,Xs),{customInspect:nP}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=jj.call(e).slice(8,-1)),o in ty)return ty[o](e,r);if(nP&&e){let s=qj(e,r,o);if(s)return typeof s=="string"?s:Xs(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Ci(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ep(e,r):"constructor"in e?e.constructor!==Object?Vv(e,r):Ci(e,r):e===Object(e)?Ci(e,r):r.stylize(String(e),o)}Q(Xs,"inspect");var or={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function it(e,t,r,nP){var o={colors:nP,depth:typeof r>"u"?2:r,showHidden:t,truncate:or.truncateThreshold?or.truncateThreshold:1/0};return Xs(e,o)}Q(it,"inspect");function eo(e){var t=it(e),r=Object.prototype.toString.call(e);if(or.truncateThreshold&&t.length>=or.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 nP=Object.keys(e),o=nP.length>2?nP.splice(0,2).join(", ")+", ...":nP.join(", ");return"{ Object ("+o+") }"}else return t}else return t}Q(eo,"objDisplay");function _p(e,t){var r=Qe(e,"negate"),nP=Qe(e,"object"),o=t[3],i=Rl(e,t),s=r?t[2]:t[1],l=Qe(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return eo(nP)}).replace(/#\{act\}/g,function(){return eo(i)}).replace(/#\{exp\}/g,function(){return eo(o)}),l?l+": "+s:s}Q(_p,"getMessage");function Mr(e,t,r){var nP=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var o in nP)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=nP[o])}Q(Mr,"transferFlags");function Ed(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)}Q(Ed,"type");function wp(){this._key="chai/deep-eql__"+Math.random()+Date.now()}Q(wp,"FakeMap");wp.prototype={get:Q(function(e){return e[this._key]},"get"),set:Q(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var Kv=typeof WeakMap=="function"?WeakMap:wp;function _d(e,t,r){if(!r||oo(e)||oo(t))return null;var nP=r.get(e);if(nP){var o=nP.get(t);if(typeof o=="boolean")return o}return null}Q(_d,"memoizeCompare");function Ei(e,t,r,nP){if(!(!r||oo(e)||oo(t))){var o=r.get(e);o?o.set(t,nP):(o=new Kv,o.set(t,nP),r.set(e,o))}}Q(Ei,"memoizeSet");var Jv=Gi;function Gi(e,t,r){if(r&&r.comparator)return wd(e,t,r);var nP=Sp(e,t);return nP!==null?nP:wd(e,t,r)}Q(Gi,"deepEqual");function Sp(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:oo(e)||oo(t)?!1:null}Q(Sp,"simpleEqual");function wd(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Kv;var nP=r&&r.comparator,o=_d(e,t,r.memoize);if(o!==null)return o;var i=_d(t,e,r.memoize);if(i!==null)return i;if(nP){var s=nP(e,t);if(s===!1||s===!0)return Ei(e,t,r.memoize,s),s;var l=Sp(e,t);if(l!==null)return l}var u=Ed(e);if(u!==Ed(t))return Ei(e,t,r.memoize,!1),!1;Ei(e,t,r.memoize,!0);var d=Xv(e,t,u,r);return Ei(e,t,r.memoize,d),d}Q(wd,"extensiveDeepEqual");function Xv(e,t,r,nP){switch(r){case"String":case"Number":case"Boolean":case"Date":return Gi(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Cp(e,t,["name","message","code"],nP);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return In(e,t,nP);case"RegExp":return Qv(e,t);case"Generator":return Zv(e,t,nP);case"DataView":return In(new Uint8Array(e.buffer),new Uint8Array(t.buffer),nP);case"ArrayBuffer":return In(new Uint8Array(e),new Uint8Array(t),nP);case"Set":return Sd(e,t,nP);case"Map":return Sd(e,t,nP);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 t1(e,t,nP)}}Q(Xv,"extensiveDeepEqualByType");function Qv(e,t){return e.toString()===t.toString()}Q(Qv,"regexpEqual");function Sd(e,t,r){if(e.size!==t.size)return!1;if(e.size===0)return!0;var nP=[],o=[];return e.forEach(Q(function(i,s){nP.push([i,s])},"gatherEntries")),t.forEach(Q(function(i,s){o.push([i,s])},"gatherEntries")),In(nP.sort(),o.sort(),r)}Q(Sd,"entriesEqual");function In(e,t,r){var nP=e.length;if(nP!==t.length)return!1;if(nP===0)return!0;for(var o=-1;++o<nP;)if(Gi(e[o],t[o],r)===!1)return!1;return!0}Q(In,"iterableEqual");function Zv(e,t,r){return In(Qs(e),Qs(t),r)}Q(Zv,"generatorEqual");function e1(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}Q(e1,"hasIteratorFunction");function Cd(e){if(e1(e))try{return Qs(e[Symbol.iterator]())}catch{return[]}return[]}Q(Cd,"getIteratorEntries");function Qs(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}Q(Qs,"getGeneratorEntries");function Ad(e){var t=[];for(var r in e)t.push(r);return t}Q(Ad,"getEnumerableKeys");function Rd(e){for(var t=[],r=Object.getOwnPropertySymbols(e),nP=0;nP<r.length;nP+=1){var o=r[nP];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}Q(Rd,"getEnumerableSymbols");function Cp(e,t,r,nP){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(Gi(e[r[i]],t[r[i]],nP)===!1)return!1;return!0}Q(Cp,"keysEqual");function t1(e,t,r){var nP=Ad(e),o=Ad(t),i=Rd(e),s=Rd(t);if(nP=nP.concat(i),o=o.concat(s),nP.length&&nP.length===o.length)return In(Td(nP).sort(),Td(o).sort())===!1?!1:Cp(e,t,nP,r);var l=Cd(e),u=Cd(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),In(l,u,r)):nP.length===0&&l.length===0&&o.length===0&&u.length===0}Q(t1,"objectEqual");function oo(e){return e===null||typeof e!="object"}Q(oo,"isPrimitive");function Td(e){return e.map(Q(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}Q(Td,"mapSymbols");function Tl(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}Q(Tl,"hasProperty");function r1(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),nP=null;return r?nP={i:parseFloat(r[1])}:nP={p:t.replace(/\\([.[\]])/g,"$1")},nP})}Q(r1,"parsePath");function xd(e,t,r){let nP=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let s=t[i];nP&&(typeof s.p>"u"?nP=nP[s.i]:nP=nP[s.p],i===r-1&&(o=nP))}return o}Q(xd,"internalGetPathValue");function Ap(e,t){let r=r1(t),nP=r[r.length-1],o={parent:r.length>1?xd(e,r,r.length-1):e,name:nP.p||nP.i,value:xd(e,r)};return o.exists=Tl(o.parent,o.name),o}Q(Ap,"getPathInfo");function F(e,t,r,nP){return Qe(this,"ssfi",r||F),Qe(this,"lockSsfi",nP),Qe(this,"object",e),Qe(this,"message",t),Qe(this,"eql",or.deepEqual||Jv),Va(this)}Q(F,"Assertion");Object.defineProperty(F,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),or.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),or.includeStack=e}});Object.defineProperty(F,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),or.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),or.showDiff=e}});F.addProperty=function(e,t){Rp(this.prototype,e,t)};F.addMethod=function(e,t){Tp(this.prototype,e,t)};F.addChainableMethod=function(e,t,r){Op(this.prototype,e,t,r)};F.overwriteProperty=function(e,t){xp(this.prototype,e,t)};F.overwriteMethod=function(e,t){Pp(this.prototype,e,t)};F.overwriteChainableMethod=function(e,t,r){Np(this.prototype,e,t,r)};F.prototype.assert=function(e,t,r,nP,o,i){var s=vp(this,arguments);if(i!==!1&&(i=!0),nP===void 0&&o===void 0&&(i=!1),or.showDiff!==!0&&(i=!1),!s){t=_p(this,arguments);var l=Rl(this,arguments),u={actual:l,expected:nP,showDiff:i},d=Dp(this,arguments);throw d&&(u.operator=d),new ft(t,u,or.includeStack?this.assert:Qe(this,"ssfi"))}};Object.defineProperty(F.prototype,"_obj",{get:function(){return Qe(this,"object")},set:function(e){Qe(this,"object",e)}});function Wi(){return or.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}Q(Wi,"isProxyEnabled");function Rp(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:Q(function nP(){!Wi()&&!Qe(this,"lockSsfi")&&Qe(this,"ssfi",nP);var o=r.call(this);if(o!==void 0)return o;var i=new F;return Mr(this,i),i},"propertyGetter"),configurable:!0})}Q(Rp,"addProperty");var Bj=Object.getOwnPropertyDescriptor(function(){},"length");function Yi(e,t,r){return Bj.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}Q(Yi,"addLengthGuard");function n1(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}Q(r,"addProperty");for(var nP=Object.getPrototypeOf(e);nP!==null;)Object.getOwnPropertyNames(nP).forEach(r),nP=Object.getPrototypeOf(nP);return t}Q(n1,"getProperties");var ry=["__flags","__methods","_obj","assert"];function Va(e,t){return Wi()?new Proxy(e,{get:Q(function r(nP,o){if(typeof o=="string"&&or.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(nP,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');var i=null,s=4;throw n1(nP).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&ry.indexOf(l)===-1){var u=o1(o,l,s);u<s&&(i=l,s=u)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return ry.indexOf(o)===-1&&!Qe(nP,"lockSsfi")&&Qe(nP,"ssfi",r),Reflect.get(nP,o)},"proxyGetter")}):e}Q(Va,"proxify");function o1(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;for(var nP=[],o=0;o<=e.length;o++)nP[o]=Array(t.length+1).fill(0),nP[o][0]=o;for(var i=0;i<t.length;i++)nP[0][i]=i;for(var o=1;o<=e.length;o++)for(var s=e.charCodeAt(o-1),i=1;i<=t.length;i++){if(Math.abs(o-i)>=r){nP[o][i]=r;continue}nP[o][i]=Math.min(nP[o-1][i]+1,nP[o][i-1]+1,nP[o-1][i-1]+(s===t.charCodeAt(i-1)?0:1))}return nP[e.length][t.length]}Q(o1,"stringDistanceCapped");function Tp(e,t,r){var nP=Q(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",nP);var o=r.apply(this,arguments);if(o!==void 0)return o;var i=new F;return Mr(this,i),i},"methodWrapper");Yi(nP,t,!1),e[t]=Va(nP,t)}Q(Tp,"addMethod");function xp(e,t,r){var nP=Object.getOwnPropertyDescriptor(e,t),o=Q(function(){},"_super");nP&&typeof nP.get=="function"&&(o=nP.get),Object.defineProperty(e,t,{get:Q(function i(){!Wi()&&!Qe(this,"lockSsfi")&&Qe(this,"ssfi",i);var s=Qe(this,"lockSsfi");Qe(this,"lockSsfi",!0);var l=r(o).call(this);if(Qe(this,"lockSsfi",s),l!==void 0)return l;var u=new F;return Mr(this,u),u},"overwritingPropertyGetter"),configurable:!0})}Q(xp,"overwriteProperty");function Pp(e,t,r){var nP=e[t],o=Q(function(){throw new Error(t+" is not a function")},"_super");nP&&typeof nP=="function"&&(o=nP);var i=Q(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",i);var s=Qe(this,"lockSsfi");Qe(this,"lockSsfi",!0);var l=r(o).apply(this,arguments);if(Qe(this,"lockSsfi",s),l!==void 0)return l;var u=new F;return Mr(this,u),u},"overwritingMethodWrapper");Yi(i,t,!1),e[t]=Va(i,t)}Q(Pp,"overwriteMethod");var kj=typeof Object.setPrototypeOf=="function",ny=Q(function(){},"testFn"),Fj=Object.getOwnPropertyNames(ny).filter(function(e){var t=Object.getOwnPropertyDescriptor(ny,e);return typeof t!="object"?!0:!t.configurable}),Lj=Function.prototype.call,$j=Function.prototype.apply;function Op(e,t,r,nP){typeof nP!="function"&&(nP=Q(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:nP};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:Q(function(){o.chainingBehavior.call(this);var i=Q(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",i);var u=o.method.apply(this,arguments);if(u!==void 0)return u;var d=new F;return Mr(this,d),d},"chainableMethodWrapper");if(Yi(i,t,!0),kj){var s=Object.create(this);s.call=Lj,s.apply=$j,Object.setPrototypeOf(i,s)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(Fj.indexOf(u)===-1){var d=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(i,u,d)}})}return Mr(this,i),Va(i)},"chainableMethodGetter"),configurable:!0})}Q(Op,"addChainableMethod");function Np(e,t,r,nP){var o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=Q(function(){var l=nP(i).call(this);if(l!==void 0)return l;var u=new F;return Mr(this,u),u},"overwritingChainableMethodGetter");var s=o.method;o.method=Q(function(){var l=r(s).apply(this,arguments);if(l!==void 0)return l;var u=new F;return Mr(this,u),u},"overwritingChainableMethodWrapper")}Q(Np,"overwriteChainableMethod");function Zs(e,t){return it(e)<it(t)?-1:1}Q(Zs,"compareByInspect");function Mp(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}Q(Mp,"getOwnEnumerablePropertySymbols");function Ip(e){return Object.keys(e).concat(Mp(e))}Q(Ip,"getOwnEnumerableProperties");function a1(e){return e!==e}Q(a1,"_isNaN");var el=Number.isNaN||a1;function i1(e){var t=bt(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}Q(i1,"isObjectType");function Dp(e,t){var r=Qe(e,"operator"),nP=Qe(e,"negate"),o=t[3],i=nP?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!!i&&!/\shave\s/.test(i)){var s=i1(o);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}Q(Dp,"getOperator");function xl(e){return e.name}Q(xl,"getName");function tl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}Q(tl,"isRegExp");var{flag:W}=zr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){F.addProperty(e)});F.addProperty("not",function(){W(this,"negate",!0)});F.addProperty("deep",function(){W(this,"deep",!0)});F.addProperty("nested",function(){W(this,"nested",!0)});F.addProperty("own",function(){W(this,"own",!0)});F.addProperty("ordered",function(){W(this,"ordered",!0)});F.addProperty("any",function(){W(this,"any",!0),W(this,"all",!1)});F.addProperty("all",function(){W(this,"all",!0),W(this,"any",!1)});var oy={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function qp(e,t){t&&W(this,"message",t),e=e.toLowerCase();var r=W(this,"object"),nP=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=bt(r).toLowerCase();oy.function.includes(e)?this.assert(oy[e].includes(o),"expected #{this} to be "+nP+e,"expected #{this} not to be "+nP+e):this.assert(e===o,"expected #{this} to be "+nP+e,"expected #{this} not to be "+nP+e)}Q(qp,"an");F.addChainableMethod("an",qp);F.addChainableMethod("a",qp);function s1(e,t){return el(e)&&el(t)||e===t}Q(s1,"SameValueZero");function Ki(){W(this,"contains",!0)}Q(Ki,"includeChainingBehavior");function Ji(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=bt(r).toLowerCase(),o=W(this,"message"),i=W(this,"negate"),s=W(this,"ssfi"),l=W(this,"deep"),u=l?"deep ":"",d=l?W(this,"eql"):s1;o=o?o+": ":"";var c=!1;switch(nP){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new ft(o+"unable to use .deep.include with WeakSet",void 0,s);c=r.has(e);break;case"map":r.forEach(function(g){c=c||d(g,e)});break;case"set":l?r.forEach(function(g){c=c||d(g,e)}):c=r.has(e);break;case"array":l?c=r.some(function(g){return d(g,e)}):c=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new ft(o+"the given combination of arguments ("+nP+" and "+bt(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 "+bt(e).toLowerCase(),void 0,s);var p=Object.keys(e),h=null,m=0;if(p.forEach(function(g){var b=new F(r);if(Mr(this,b,!0),W(b,"lockSsfi",!0),!i||p.length===1){b.property(g,e[g]);return}try{b.property(g,e[g])}catch(y){if(!ur.compatibleConstructor(y,ft))throw y;h===null&&(h=y),m++}},this),i&&p.length>1&&m===p.length)throw h;return}this.assert(c,"expected #{this} to "+u+"include "+it(e),"expected #{this} to not "+u+"include "+it(e))}Q(Ji,"include");F.addChainableMethod("include",Ji,Ki);F.addChainableMethod("contain",Ji,Ki);F.addChainableMethod("contains",Ji,Ki);F.addChainableMethod("includes",Ji,Ki);F.addProperty("ok",function(){this.assert(W(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});F.addProperty("true",function(){this.assert(W(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!W(this,"negate"))});F.addProperty("callable",function(){let e=W(this,"object"),t=W(this,"ssfi"),r=W(this,"message"),nP=r?`${r}: `:"",o=W(this,"negate"),i=o?`${nP}expected ${it(e)} not to be a callable function`:`${nP}expected ${it(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(bt(e));if(s&&o||!s&&!o)throw new ft(i,void 0,t)});F.addProperty("false",function(){this.assert(W(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!W(this,"negate"))});F.addProperty("null",function(){this.assert(W(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});F.addProperty("undefined",function(){this.assert(W(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});F.addProperty("NaN",function(){this.assert(el(W(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function jp(){var e=W(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}Q(jp,"assertExist");F.addProperty("exist",jp);F.addProperty("exists",jp);F.addProperty("empty",function(){var e=W(this,"object"),t=W(this,"ssfi"),r=W(this,"message"),nP;switch(r=r?r+": ":"",bt(e).toLowerCase()){case"array":case"string":nP=e.length;break;case"map":case"set":nP=e.size;break;case"weakmap":case"weakset":throw new ft(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+xl(e);throw new ft(o.trim(),void 0,t);default:if(e!==Object(e))throw new ft(r+".empty was passed non-string primitive "+it(e),void 0,t);nP=Object.keys(e).length}this.assert(nP===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Bp(){var e=W(this,"object"),t=bt(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}Q(Bp,"checkArguments");F.addProperty("arguments",Bp);F.addProperty("Arguments",Bp);function Pl(e,t){t&&W(this,"message",t);var r=W(this,"object");if(W(this,"deep")){var nP=W(this,"lockSsfi");W(this,"lockSsfi",!0),this.eql(e),W(this,"lockSsfi",nP)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}Q(Pl,"assertEqual");F.addMethod("equal",Pl);F.addMethod("equals",Pl);F.addMethod("eq",Pl);function kp(e,t){t&&W(this,"message",t);var r=W(this,"eql");this.assert(r(e,W(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}Q(kp,"assertEql");F.addMethod("eql",kp);F.addMethod("eqls",kp);function Ol(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),l=bt(r).toLowerCase(),u=bt(e).toLowerCase(),d,c=!0;if(nP&&l!=="map"&&l!=="set"&&new F(r,o,s,!0).to.have.property("length"),!nP&&l==="date"&&u!=="date")d=i+"the argument to above must be a date";else if(u!=="number"&&(nP||l==="number"))d=i+"the argument to above must be a number";else if(!nP&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;d=i+"expected "+p+" to be a number or a date"}else c=!1;if(c)throw new ft(d,void 0,s);if(nP){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m>e,"expected #{this} to have a "+h+" above #{exp} but got #{act}","expected #{this} to not have a "+h+" above #{exp}",e,m)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}Q(Ol,"assertAbove");F.addMethod("above",Ol);F.addMethod("gt",Ol);F.addMethod("greaterThan",Ol);function Nl(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),l=bt(r).toLowerCase(),u=bt(e).toLowerCase(),d,c=!0;if(nP&&l!=="map"&&l!=="set"&&new F(r,o,s,!0).to.have.property("length"),!nP&&l==="date"&&u!=="date")d=i+"the argument to least must be a date";else if(u!=="number"&&(nP||l==="number"))d=i+"the argument to least must be a number";else if(!nP&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;d=i+"expected "+p+" to be a number or a date"}else c=!1;if(c)throw new ft(d,void 0,s);if(nP){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,m)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}Q(Nl,"assertLeast");F.addMethod("least",Nl);F.addMethod("gte",Nl);F.addMethod("greaterThanOrEqual",Nl);function Ml(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),l=bt(r).toLowerCase(),u=bt(e).toLowerCase(),d,c=!0;if(nP&&l!=="map"&&l!=="set"&&new F(r,o,s,!0).to.have.property("length"),!nP&&l==="date"&&u!=="date")d=i+"the argument to below must be a date";else if(u!=="number"&&(nP||l==="number"))d=i+"the argument to below must be a number";else if(!nP&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;d=i+"expected "+p+" to be a number or a date"}else c=!1;if(c)throw new ft(d,void 0,s);if(nP){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,m)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}Q(Ml,"assertBelow");F.addMethod("below",Ml);F.addMethod("lt",Ml);F.addMethod("lessThan",Ml);function Il(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),l=bt(r).toLowerCase(),u=bt(e).toLowerCase(),d,c=!0;if(nP&&l!=="map"&&l!=="set"&&new F(r,o,s,!0).to.have.property("length"),!nP&&l==="date"&&u!=="date")d=i+"the argument to most must be a date";else if(u!=="number"&&(nP||l==="number"))d=i+"the argument to most must be a number";else if(!nP&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;d=i+"expected "+p+" to be a number or a date"}else c=!1;if(c)throw new ft(d,void 0,s);if(nP){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,m)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}Q(Il,"assertMost");F.addMethod("most",Il);F.addMethod("lte",Il);F.addMethod("lessThanOrEqual",Il);F.addMethod("within",function(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"doLength"),i=W(this,"message"),s=i?i+": ":"",l=W(this,"ssfi"),u=bt(nP).toLowerCase(),d=bt(e).toLowerCase(),c=bt(t).toLowerCase(),p,h=!0,m=d==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new F(nP,i,l,!0).to.have.property("length"),!o&&u==="date"&&(d!=="date"||c!=="date"))p=s+"the arguments to within must be dates";else if((d!=="number"||c!=="number")&&(o||u==="number"))p=s+"the arguments to within must be numbers";else if(!o&&u!=="date"&&u!=="number"){var g=u==="string"?"'"+nP+"'":nP;p=s+"expected "+g+" to be a number or a date"}else h=!1;if(h)throw new ft(p,void 0,l);if(o){var b="length",y;u==="map"||u==="set"?(b="size",y=nP.size):y=nP.length,this.assert(y>=e&&y<=t,"expected #{this} to have a "+b+" within "+m,"expected #{this} to not have a "+b+" within "+m)}else this.assert(nP>=e&&nP<=t,"expected #{this} to be within "+m,"expected #{this} to not be within "+m)});function Fp(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"ssfi"),o=W(this,"message");try{var i=r instanceof e}catch(l){throw l instanceof TypeError?(o=o?o+": ":"",new ft(o+"The instanceof assertion needs a constructor but "+bt(e)+" was given.",void 0,nP)):l}var s=xl(e);s==null&&(s="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+s,"expected #{this} to not be an instance of "+s)}Q(Fp,"assertInstanceOf");F.addMethod("instanceof",Fp);F.addMethod("instanceOf",Fp);function Lp(e,t,r){r&&W(this,"message",r);var nP=W(this,"nested"),o=W(this,"own"),i=W(this,"message"),s=W(this,"object"),l=W(this,"ssfi"),u=typeof e;if(i=i?i+": ":"",nP){if(u!=="string")throw new ft(i+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new ft(i+"the argument to property must be a string, number, or symbol",void 0,l);if(nP&&o)throw new ft(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(s==null)throw new ft(i+"Target cannot be null or undefined.",void 0,l);var d=W(this,"deep"),c=W(this,"negate"),p=nP?Ap(s,e):null,h=nP?p.value:s[e],m=d?W(this,"eql"):(y,E)=>y===E,g="";d&&(g+="deep "),o&&(g+="own "),nP&&(g+="nested "),g+="property ";var b;o?b=Object.prototype.hasOwnProperty.call(s,e):nP?b=p.exists:b=Tl(s,e),(!c||arguments.length===1)&&this.assert(b,"expected #{this} to have "+g+it(e),"expected #{this} to not have "+g+it(e)),arguments.length>1&&this.assert(b&&m(t,h),"expected #{this} to have "+g+it(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+g+it(e)+" of #{act}",t,h),W(this,"object",h)}Q(Lp,"assertProperty");F.addMethod("property",Lp);function $p(e,t,r){W(this,"own",!0),Lp.apply(this,arguments)}Q($p,"assertOwnProperty");F.addMethod("ownProperty",$p);F.addMethod("haveOwnProperty",$p);function Up(e,t,r){typeof t=="string"&&(r=t,t=null),r&&W(this,"message",r);var nP=W(this,"object"),o=Object.getOwnPropertyDescriptor(Object(nP),e),i=W(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+it(e)+" on #{this} to match "+it(t)+", got "+it(o),"expected the own property descriptor for "+it(e)+" on #{this} to not match "+it(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+it(e),"expected #{this} to not have an own property descriptor for "+it(e)),W(this,"object",o)}Q(Up,"assertOwnPropertyDescriptor");F.addMethod("ownPropertyDescriptor",Up);F.addMethod("haveOwnPropertyDescriptor",Up);function Hp(){W(this,"doLength",!0)}Q(Hp,"assertLengthChain");function zp(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=bt(r).toLowerCase(),o=W(this,"message"),i=W(this,"ssfi"),s="length",l;switch(nP){case"map":case"set":s="size",l=r.size;break;default:new F(r,o,i,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+s+" of #{exp} but got #{act}","expected #{this} to not have a "+s+" of #{act}",e,l)}Q(zp,"assertLength");F.addChainableMethod("length",zp,Hp);F.addChainableMethod("lengthOf",zp,Hp);function Vp(e,t){t&&W(this,"message",t);var r=W(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}Q(Vp,"assertMatch");F.addMethod("match",Vp);F.addMethod("matches",Vp);F.addMethod("string",function(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"message"),o=W(this,"ssfi");new F(r,nP,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+it(e),"expected #{this} to not contain "+it(e))});function Gp(e){var t=W(this,"object"),r=bt(t),nP=bt(e),o=W(this,"ssfi"),i=W(this,"deep"),s,l="",u,d=!0,c=W(this,"message");c=c?c+": ":"";var p=c+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=i?"deeply ":"",u=[],t.forEach(function(_,P){u.push(P)}),nP!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Ip(t),nP){case"Array":if(arguments.length>1)throw new ft(p,void 0,o);break;case"Object":if(arguments.length>1)throw new ft(p,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(_){return typeof _=="symbol"?_:String(_)})}if(!e.length)throw new ft(c+"keys required",void 0,o);var h=e.length,m=W(this,"any"),g=W(this,"all"),b=e,y=i?W(this,"eql"):(_,P)=>_===P;if(!m&&!g&&(g=!0),m&&(d=b.some(function(_){return u.some(function(P){return y(_,P)})})),g&&(d=b.every(function(_){return u.some(function(P){return y(_,P)})}),W(this,"contains")||(d=d&&e.length==u.length)),h>1){e=e.map(function(_){return it(_)});var E=e.pop();g&&(s=e.join(", ")+", and "+E),m&&(s=e.join(", ")+", or "+E)}else s=it(e[0]);s=(h>1?"keys ":"key ")+s,s=(W(this,"contains")?"contain ":"have ")+s,this.assert(d,"expected #{this} to "+l+s,"expected #{this} to not "+l+s,b.slice(0).sort(Zs),u.sort(Zs),!0)}Q(Gp,"assertKeys");F.addMethod("keys",Gp);F.addMethod("key",Gp);function Dl(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"ssfi"),i=W(this,"message"),s=W(this,"negate")||!1;new F(nP,i,o,!0).is.a("function"),(tl(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{nP()}catch(_){u=!0,l=_}var d=e===void 0&&t===void 0,c=!!(e&&t),p=!1,h=!1;if(d||!d&&!s){var m="an error";e instanceof Error?m="#{exp}":e&&(m=ur.getConstructorName(e));let _=l;if(l instanceof Error)_=l.toString();else if(typeof l=="string")_=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{_=ur.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+m,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),_)}if(e&&l){if(e instanceof Error){var g=ur.compatibleInstance(l,e);g===s&&(c&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!s?" but #{act} was thrown":""),e.toString(),l.toString()))}var b=ur.compatibleConstructor(l,e);b===s&&(c&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ur.getConstructorName(e),l instanceof Error?l.toString():l&&ur.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var y="including";tl(t)&&(y="matching");var E=ur.compatibleMessage(l,t);E===s&&(c&&s?h=!0:this.assert(s,"expected #{this} to throw error "+y+" #{exp} but got #{act}","expected #{this} to throw error not "+y+" #{exp}",t,ur.getMessage(l)))}p&&h&&this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ur.getConstructorName(e),l instanceof Error?l.toString():l&&ur.getConstructorName(l)),W(this,"object",l)}Q(Dl,"assertThrows");F.addMethod("throw",Dl);F.addMethod("throws",Dl);F.addMethod("Throw",Dl);function Wp(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"itself"),o=typeof r=="function"&&!nP?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+it(e),"expected #{this} to not respond to "+it(e))}Q(Wp,"respondTo");F.addMethod("respondTo",Wp);F.addMethod("respondsTo",Wp);F.addProperty("itself",function(){W(this,"itself",!0)});function Yp(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=e(r);this.assert(nP,"expected #{this} to satisfy "+eo(e),"expected #{this} to not satisfy"+eo(e),!W(this,"negate"),nP)}Q(Yp,"satisfy");F.addMethod("satisfy",Yp);F.addMethod("satisfies",Yp);function Kp(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");if(new F(nP,o,i,!0).is.a("number"),typeof e!="number"||typeof t!="number"){o=o?o+": ":"";var s=t===void 0?", and a delta is required":"";throw new ft(o+"the arguments to closeTo or approximately must be numbers"+s,void 0,i)}this.assert(Math.abs(nP-e)<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}Q(Kp,"closeTo");F.addMethod("closeTo",Kp);F.addMethod("approximately",Kp);function l1(e,t,r,nP,o){let i=Array.from(t),s=Array.from(e);if(!nP){if(s.length!==i.length)return!1;i=i.slice()}return s.every(function(l,u){if(o)return r?r(l,i[u]):l===i[u];if(!r){var d=i.indexOf(l);return d===-1?!1:(nP||i.splice(d,1),!0)}return i.some(function(c,p){return r(l,c)?(nP||i.splice(p,1),!0):!1})})}Q(l1,"isSubsetOf");F.addMethod("members",function(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"message"),o=W(this,"ssfi");new F(r,nP,o,!0).to.be.iterable,new F(e,nP,o,!0).to.be.iterable;var i=W(this,"contains"),s=W(this,"ordered"),l,u,d;i?(l=s?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",d="expected #{this} to not be "+l+" of #{exp}"):(l=s?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",d="expected #{this} to not have the same "+l+" as #{exp}");var c=W(this,"deep")?W(this,"eql"):void 0;this.assert(l1(e,r,c,i,s),u,d,e,r,!0)});F.addProperty("iterable",function(e){e&&W(this,"message",e);var t=W(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function u1(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"message"),o=W(this,"ssfi"),i=W(this,"contains"),s=W(this,"deep"),l=W(this,"eql");new F(e,nP,o,!0).to.be.an("array"),i?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):s?this.assert(e.some(function(u){return l(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}Q(u1,"oneOf");F.addMethod("oneOf",u1);function Jp(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");new F(nP,o,i,!0).is.a("function");var s;t?(new F(e,o,i,!0).to.have.property(t),s=e[t]):(new F(e,o,i,!0).is.a("function"),s=e()),nP();var l=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",l),W(this,"deltaBehavior","change"),W(this,"realDelta",l!==s),this.assert(s!==l,"expected "+u+" to change","expected "+u+" to not change")}Q(Jp,"assertChanges");F.addMethod("change",Jp);F.addMethod("changes",Jp);function Xp(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");new F(nP,o,i,!0).is.a("function");var s;t?(new F(e,o,i,!0).to.have.property(t),s=e[t]):(new F(e,o,i,!0).is.a("function"),s=e()),new F(s,o,i,!0).is.a("number"),nP();var l=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",l),W(this,"deltaBehavior","increase"),W(this,"realDelta",l-s),this.assert(l-s>0,"expected "+u+" to increase","expected "+u+" to not increase")}Q(Xp,"assertIncreases");F.addMethod("increase",Xp);F.addMethod("increases",Xp);function Qp(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");new F(nP,o,i,!0).is.a("function");var s;t?(new F(e,o,i,!0).to.have.property(t),s=e[t]):(new F(e,o,i,!0).is.a("function"),s=e()),new F(s,o,i,!0).is.a("number"),nP();var l=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",l),W(this,"deltaBehavior","decrease"),W(this,"realDelta",s-l),this.assert(l-s<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}Q(Qp,"assertDecreases");F.addMethod("decrease",Qp);F.addMethod("decreases",Qp);function c1(e,t){t&&W(this,"message",t);var r=W(this,"deltaMsgObj"),nP=W(this,"initialDeltaValue"),o=W(this,"finalDeltaValue"),i=W(this,"deltaBehavior"),s=W(this,"realDelta"),l;i==="change"?l=Math.abs(o-nP)===Math.abs(e):l=s===Math.abs(e),this.assert(l,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}Q(c1,"assertDelta");F.addMethod("by",c1);F.addProperty("extensible",function(){var e=W(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});F.addProperty("sealed",function(){var e=W(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});F.addProperty("frozen",function(){var e=W(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});F.addProperty("finite",function(e){var t=W(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function to(e,t){return new F(e,t)}Q(to,"expect");to.fail=function(e,t,r,nP){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new ft(r,{actual:e,expected:t,operator:nP},to.fail)};var d1={};yp(d1,{Should:()=>Hj,should:()=>Uj});function Zp(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new F(this.valueOf(),null,e):new F(this,null,e)}Q(e,"shouldGetter");function t(nP){Object.defineProperty(this,"should",{value:nP,enumerable:!0,configurable:!0,writable:!0})}Q(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(nP,o,i,s){throw arguments.length<2&&(i=nP,nP=void 0),i=i||"should.fail()",new ft(i,{actual:nP,expected:o,operator:s},r.fail)},r.equal=function(nP,o,i){new F(nP,i).to.equal(o)},r.Throw=function(nP,o,i,s){new F(nP,s).to.Throw(o,i)},r.exist=function(nP,o){new F(nP,o).to.exist},r.not={},r.not.equal=function(nP,o,i){new F(nP,i).to.not.equal(o)},r.not.Throw=function(nP,o,i,s){new F(nP,s).to.not.Throw(o,i)},r.not.exist=function(nP,o){new F(nP,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}Q(Zp,"loadShould");var Uj=Zp,Hj=Zp;function I(e,t){var r=new F(null,null,I,!0);r.assert(e,t,"[ negation message unavailable ]")}Q(I,"assert");I.fail=function(e,t,r,nP){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new ft(r,{actual:e,expected:t,operator:nP},I.fail)};I.isOk=function(e,t){new F(e,t,I.isOk,!0).is.ok};I.isNotOk=function(e,t){new F(e,t,I.isNotOk,!0).is.not.ok};I.equal=function(e,t,r){var nP=new F(e,r,I.equal,!0);nP.assert(t==Qe(nP,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};I.notEqual=function(e,t,r){var nP=new F(e,r,I.notEqual,!0);nP.assert(t!=Qe(nP,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};I.strictEqual=function(e,t,r){new F(e,r,I.strictEqual,!0).to.equal(t)};I.notStrictEqual=function(e,t,r){new F(e,r,I.notStrictEqual,!0).to.not.equal(t)};I.deepEqual=I.deepStrictEqual=function(e,t,r){new F(e,r,I.deepEqual,!0).to.eql(t)};I.notDeepEqual=function(e,t,r){new F(e,r,I.notDeepEqual,!0).to.not.eql(t)};I.isAbove=function(e,t,r){new F(e,r,I.isAbove,!0).to.be.above(t)};I.isAtLeast=function(e,t,r){new F(e,r,I.isAtLeast,!0).to.be.least(t)};I.isBelow=function(e,t,r){new F(e,r,I.isBelow,!0).to.be.below(t)};I.isAtMost=function(e,t,r){new F(e,r,I.isAtMost,!0).to.be.most(t)};I.isTrue=function(e,t){new F(e,t,I.isTrue,!0).is.true};I.isNotTrue=function(e,t){new F(e,t,I.isNotTrue,!0).to.not.equal(!0)};I.isFalse=function(e,t){new F(e,t,I.isFalse,!0).is.false};I.isNotFalse=function(e,t){new F(e,t,I.isNotFalse,!0).to.not.equal(!1)};I.isNull=function(e,t){new F(e,t,I.isNull,!0).to.equal(null)};I.isNotNull=function(e,t){new F(e,t,I.isNotNull,!0).to.not.equal(null)};I.isNaN=function(e,t){new F(e,t,I.isNaN,!0).to.be.NaN};I.isNotNaN=function(e,t){new F(e,t,I.isNotNaN,!0).not.to.be.NaN};I.exists=function(e,t){new F(e,t,I.exists,!0).to.exist};I.notExists=function(e,t){new F(e,t,I.notExists,!0).to.not.exist};I.isUndefined=function(e,t){new F(e,t,I.isUndefined,!0).to.equal(void 0)};I.isDefined=function(e,t){new F(e,t,I.isDefined,!0).to.not.equal(void 0)};I.isCallable=function(e,t){new F(e,t,I.isCallable,!0).is.callable};I.isNotCallable=function(e,t){new F(e,t,I.isNotCallable,!0).is.not.callable};I.isObject=function(e,t){new F(e,t,I.isObject,!0).to.be.a("object")};I.isNotObject=function(e,t){new F(e,t,I.isNotObject,!0).to.not.be.a("object")};I.isArray=function(e,t){new F(e,t,I.isArray,!0).to.be.an("array")};I.isNotArray=function(e,t){new F(e,t,I.isNotArray,!0).to.not.be.an("array")};I.isString=function(e,t){new F(e,t,I.isString,!0).to.be.a("string")};I.isNotString=function(e,t){new F(e,t,I.isNotString,!0).to.not.be.a("string")};I.isNumber=function(e,t){new F(e,t,I.isNumber,!0).to.be.a("number")};I.isNotNumber=function(e,t){new F(e,t,I.isNotNumber,!0).to.not.be.a("number")};I.isFinite=function(e,t){new F(e,t,I.isFinite,!0).to.be.finite};I.isBoolean=function(e,t){new F(e,t,I.isBoolean,!0).to.be.a("boolean")};I.isNotBoolean=function(e,t){new F(e,t,I.isNotBoolean,!0).to.not.be.a("boolean")};I.typeOf=function(e,t,r){new F(e,r,I.typeOf,!0).to.be.a(t)};I.notTypeOf=function(e,t,r){new F(e,r,I.notTypeOf,!0).to.not.be.a(t)};I.instanceOf=function(e,t,r){new F(e,r,I.instanceOf,!0).to.be.instanceOf(t)};I.notInstanceOf=function(e,t,r){new F(e,r,I.notInstanceOf,!0).to.not.be.instanceOf(t)};I.include=function(e,t,r){new F(e,r,I.include,!0).include(t)};I.notInclude=function(e,t,r){new F(e,r,I.notInclude,!0).not.include(t)};I.deepInclude=function(e,t,r){new F(e,r,I.deepInclude,!0).deep.include(t)};I.notDeepInclude=function(e,t,r){new F(e,r,I.notDeepInclude,!0).not.deep.include(t)};I.nestedInclude=function(e,t,r){new F(e,r,I.nestedInclude,!0).nested.include(t)};I.notNestedInclude=function(e,t,r){new F(e,r,I.notNestedInclude,!0).not.nested.include(t)};I.deepNestedInclude=function(e,t,r){new F(e,r,I.deepNestedInclude,!0).deep.nested.include(t)};I.notDeepNestedInclude=function(e,t,r){new F(e,r,I.notDeepNestedInclude,!0).not.deep.nested.include(t)};I.ownInclude=function(e,t,r){new F(e,r,I.ownInclude,!0).own.include(t)};I.notOwnInclude=function(e,t,r){new F(e,r,I.notOwnInclude,!0).not.own.include(t)};I.deepOwnInclude=function(e,t,r){new F(e,r,I.deepOwnInclude,!0).deep.own.include(t)};I.notDeepOwnInclude=function(e,t,r){new F(e,r,I.notDeepOwnInclude,!0).not.deep.own.include(t)};I.match=function(e,t,r){new F(e,r,I.match,!0).to.match(t)};I.notMatch=function(e,t,r){new F(e,r,I.notMatch,!0).to.not.match(t)};I.property=function(e,t,r){new F(e,r,I.property,!0).to.have.property(t)};I.notProperty=function(e,t,r){new F(e,r,I.notProperty,!0).to.not.have.property(t)};I.propertyVal=function(e,t,r,nP){new F(e,nP,I.propertyVal,!0).to.have.property(t,r)};I.notPropertyVal=function(e,t,r,nP){new F(e,nP,I.notPropertyVal,!0).to.not.have.property(t,r)};I.deepPropertyVal=function(e,t,r,nP){new F(e,nP,I.deepPropertyVal,!0).to.have.deep.property(t,r)};I.notDeepPropertyVal=function(e,t,r,nP){new F(e,nP,I.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};I.ownProperty=function(e,t,r){new F(e,r,I.ownProperty,!0).to.have.own.property(t)};I.notOwnProperty=function(e,t,r){new F(e,r,I.notOwnProperty,!0).to.not.have.own.property(t)};I.ownPropertyVal=function(e,t,r,nP){new F(e,nP,I.ownPropertyVal,!0).to.have.own.property(t,r)};I.notOwnPropertyVal=function(e,t,r,nP){new F(e,nP,I.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};I.deepOwnPropertyVal=function(e,t,r,nP){new F(e,nP,I.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};I.notDeepOwnPropertyVal=function(e,t,r,nP){new F(e,nP,I.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};I.nestedProperty=function(e,t,r){new F(e,r,I.nestedProperty,!0).to.have.nested.property(t)};I.notNestedProperty=function(e,t,r){new F(e,r,I.notNestedProperty,!0).to.not.have.nested.property(t)};I.nestedPropertyVal=function(e,t,r,nP){new F(e,nP,I.nestedPropertyVal,!0).to.have.nested.property(t,r)};I.notNestedPropertyVal=function(e,t,r,nP){new F(e,nP,I.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};I.deepNestedPropertyVal=function(e,t,r,nP){new F(e,nP,I.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};I.notDeepNestedPropertyVal=function(e,t,r,nP){new F(e,nP,I.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};I.lengthOf=function(e,t,r){new F(e,r,I.lengthOf,!0).to.have.lengthOf(t)};I.hasAnyKeys=function(e,t,r){new F(e,r,I.hasAnyKeys,!0).to.have.any.keys(t)};I.hasAllKeys=function(e,t,r){new F(e,r,I.hasAllKeys,!0).to.have.all.keys(t)};I.containsAllKeys=function(e,t,r){new F(e,r,I.containsAllKeys,!0).to.contain.all.keys(t)};I.doesNotHaveAnyKeys=function(e,t,r){new F(e,r,I.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};I.doesNotHaveAllKeys=function(e,t,r){new F(e,r,I.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};I.hasAnyDeepKeys=function(e,t,r){new F(e,r,I.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};I.hasAllDeepKeys=function(e,t,r){new F(e,r,I.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};I.containsAllDeepKeys=function(e,t,r){new F(e,r,I.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};I.doesNotHaveAnyDeepKeys=function(e,t,r){new F(e,r,I.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};I.doesNotHaveAllDeepKeys=function(e,t,r){new F(e,r,I.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};I.throws=function(e,t,r,nP){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new F(e,nP,I.throws,!0).to.throw(t,r);return Qe(o,"object")};I.doesNotThrow=function(e,t,r,nP){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new F(e,nP,I.doesNotThrow,!0).to.not.throw(t,r)};I.operator=function(e,t,r,nP){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 nP=nP&&nP+": ",new ft(nP+'Invalid operator "'+t+'"',void 0,I.operator)}var i=new F(o,nP,I.operator,!0);i.assert(Qe(i,"object")===!0,"expected "+it(e)+" to be "+t+" "+it(r),"expected "+it(e)+" to not be "+t+" "+it(r))};I.closeTo=function(e,t,r,nP){new F(e,nP,I.closeTo,!0).to.be.closeTo(t,r)};I.approximately=function(e,t,r,nP){new F(e,nP,I.approximately,!0).to.be.approximately(t,r)};I.sameMembers=function(e,t,r){new F(e,r,I.sameMembers,!0).to.have.same.members(t)};I.notSameMembers=function(e,t,r){new F(e,r,I.notSameMembers,!0).to.not.have.same.members(t)};I.sameDeepMembers=function(e,t,r){new F(e,r,I.sameDeepMembers,!0).to.have.same.deep.members(t)};I.notSameDeepMembers=function(e,t,r){new F(e,r,I.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};I.sameOrderedMembers=function(e,t,r){new F(e,r,I.sameOrderedMembers,!0).to.have.same.ordered.members(t)};I.notSameOrderedMembers=function(e,t,r){new F(e,r,I.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};I.sameDeepOrderedMembers=function(e,t,r){new F(e,r,I.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};I.notSameDeepOrderedMembers=function(e,t,r){new F(e,r,I.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};I.includeMembers=function(e,t,r){new F(e,r,I.includeMembers,!0).to.include.members(t)};I.notIncludeMembers=function(e,t,r){new F(e,r,I.notIncludeMembers,!0).to.not.include.members(t)};I.includeDeepMembers=function(e,t,r){new F(e,r,I.includeDeepMembers,!0).to.include.deep.members(t)};I.notIncludeDeepMembers=function(e,t,r){new F(e,r,I.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};I.includeOrderedMembers=function(e,t,r){new F(e,r,I.includeOrderedMembers,!0).to.include.ordered.members(t)};I.notIncludeOrderedMembers=function(e,t,r){new F(e,r,I.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};I.includeDeepOrderedMembers=function(e,t,r){new F(e,r,I.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};I.notIncludeDeepOrderedMembers=function(e,t,r){new F(e,r,I.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};I.oneOf=function(e,t,r){new F(e,r,I.oneOf,!0).to.be.oneOf(t)};I.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${it(e)} to be an iterable`:`expected ${it(e)} to be an iterable`,new ft(t,void 0,I.isIterable)};I.changes=function(e,t,r,nP){arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.changes,!0).to.change(t,r)};I.changesBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.changesBy,!0).to.change(t,r).by(nP)};I.doesNotChange=function(e,t,r,nP){return arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.doesNotChange,!0).to.not.change(t,r)};I.changesButNotBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.changesButNotBy,!0).to.change(t,r).but.not.by(nP)};I.increases=function(e,t,r,nP){return arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.increases,!0).to.increase(t,r)};I.increasesBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.increasesBy,!0).to.increase(t,r).by(nP)};I.doesNotIncrease=function(e,t,r,nP){return arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.doesNotIncrease,!0).to.not.increase(t,r)};I.increasesButNotBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.increasesButNotBy,!0).to.increase(t,r).but.not.by(nP)};I.decreases=function(e,t,r,nP){return arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.decreases,!0).to.decrease(t,r)};I.decreasesBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.decreasesBy,!0).to.decrease(t,r).by(nP)};I.doesNotDecrease=function(e,t,r,nP){return arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.doesNotDecrease,!0).to.not.decrease(t,r)};I.doesNotDecreaseBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);return new F(e,o,I.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(nP)};I.decreasesButNotBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(nP)};I.ifError=function(e){if(e)throw e};I.isExtensible=function(e,t){new F(e,t,I.isExtensible,!0).to.be.extensible};I.isNotExtensible=function(e,t){new F(e,t,I.isNotExtensible,!0).to.not.be.extensible};I.isSealed=function(e,t){new F(e,t,I.isSealed,!0).to.be.sealed};I.isNotSealed=function(e,t){new F(e,t,I.isNotSealed,!0).to.not.be.sealed};I.isFrozen=function(e,t){new F(e,t,I.isFrozen,!0).to.be.frozen};I.isNotFrozen=function(e,t){new F(e,t,I.isNotFrozen,!0).to.not.be.frozen};I.isEmpty=function(e,t){new F(e,t,I.isEmpty,!0).to.be.empty};I.isNotEmpty=function(e,t){new F(e,t,I.isNotEmpty,!0).to.not.be.empty};Q(function e(t,r){return I[r]=I[t],e},"alias")("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");var ay=[];function Ai(e){let t={AssertionError:ft,util:zr,config:or,expect:to,assert:I,Assertion:F,...d1};return~ay.indexOf(e)||(e(t,zr),ay.push(e)),t}Q(Ai,"use");var p1={};bl(p1,{toBeChecked:()=>eE,toBeDisabled:()=>G1,toBeEmpty:()=>N1,toBeEmptyDOMElement:()=>M1,toBeEnabled:()=>W1,toBeInTheDOM:()=>Nd,toBeInTheDocument:()=>O1,toBeInvalid:()=>J1,toBePartiallyChecked:()=>rE,toBeRequired:()=>Y1,toBeValid:()=>X1,toBeVisible:()=>$1,toContainElement:()=>Md,toContainHTML:()=>I1,toHaveAccessibleDescription:()=>Id,toHaveAccessibleErrorMessage:()=>q1,toHaveAccessibleName:()=>qd,toHaveAttribute:()=>j1,toHaveClass:()=>B1,toHaveDescription:()=>nE,toHaveDisplayValue:()=>Z1,toHaveErrorMessage:()=>oE,toHaveFocus:()=>k1,toHaveFormValues:()=>F1,toHaveRole:()=>Dd,toHaveStyle:()=>jd,toHaveTextContent:()=>D1,toHaveValue:()=>Q1});var iy=dr(iv(),1);function f1(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function ef(e,t,r,nP){Object.defineProperty(e,t,{get:r,set:nP,enumerable:!0,configurable:!0})}var h1={};f1(h1);ef(h1,"default",()=>m1);var m1=class extends Error{constructor(e,t,r,nP,o){super(e+":"+r+":"+nP+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=nP,this.source=o}},g1={};f1(g1);ef(g1,"default",()=>b1);var b1=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},zj={};ef(zj,"CssTypes",()=>Mt);var Mt;(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"})(Mt||(Mt={}));var Xc=/\/\*[^]*?(?:\*\/|$)/g,Vj=(e,t)=>{t=t||{};let r=1,nP=1;function o(le){let se=le.match(/\nP/g);se&&(r+=se.length);let de=le.lastIndexOf(`
|
|
274
|
-
`);nP=~de?le.length-de:nP+le.length}function i(){let le={line:r,column:nP};return function(se){return se.position=new b1(le,{line:r,column:nP},(t==null?void 0:t.source)||""),m(),se}}let s=[];function l(le){let se=new m1((t==null?void 0:t.source)||"",le,r,nP,e);if(t!=null&&t.silent)s.push(se);else throw se}function u(){let le=p();return{type:Mt.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:le,parsingErrors:s}}}function d(){return h(/^{\s*/)}function c(){return h(/^}/)}function p(){let le,se=[];for(m(),g(se);e.length&&e.charAt(0)!=="}"&&(le=Fe()||Oe());)le&&(se.push(le),g(se));return se}function h(le){let se=le.exec(e);if(!se)return;let de=se[0];return o(de),e=e.slice(de.length),se}function m(){h(/^\s*/)}function g(le){let se;for(le=le||[];se=b();)se&&le.push(se);return le}function b(){let le=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let se=h(/^\/\*[^]*?\*\//);return se?le({type:Mt.comment,comment:se[0].slice(2,-2)}):l("End of comment missing")}function y(le,se,de){let Se=se+1,qe=!1,ke=le.indexOf(")",Se);for(;!qe&&ke!==-1;){let ot=le.indexOf("(",Se);ot!==-1&&ot<ke?(Se=y(le,ot+1,de+1)+1,ke=le.indexOf(")",Se)):qe=!0}return qe&&ke!==-1?ke:-1}function E(){let le=h(/^([^{]+)/);if(!le)return;let se=br(le[0]).replace(Xc,"");if(se.indexOf(",")===-1)return[se];let de=0,Se=se.indexOf("(",de);for(;Se!==-1;){let qe=y(se,Se,0);if(qe===-1)break;de=qe+1,se=se.substring(0,Se)+se.substring(Se,qe).replace(/,/g,"\u200C")+se.substring(qe),Se=se.indexOf("(",de)}return se=se.replace(/("|')(?:\\\1|.)*?\1/g,qe=>qe.replace(/,/g,"\u200C")),se.split(",").map(qe=>br(qe.replace(/\u200C/g,",")))}function _(){let le=i(),se=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!se)return;let de=br(se[0]);if(!h(/^:\s*/))return l("property missing ':'");let Se=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),qe=le({type:Mt.declaration,property:de.replace(Xc,""),value:Se?br(Se[0]).replace(Xc,""):""});return h(/^[;\s]*/),qe}function P(){let le=[];if(!d())return l("missing '{'");g(le);let se;for(;se=_();)se&&(le.push(se),g(le));return c()?le:l("missing '}'")}function C(){let le,se=[],de=i();for(;le=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)se.push(le[1]),h(/^,\s*/);if(se.length)return de({type:Mt.keyframe,values:se,declarations:P()||[]})}function w(){let le=i(),se=h(/^@([-\w]+)?keyframes\s*/);if(!se)return;let de=se[1],Se=h(/^([-\w]+)\s*/);if(!Se)return l("@keyframes missing name");let qe=Se[1];if(!d())return l("@keyframes missing '{'");let ke,ot=g();for(;ke=C();)ot.push(ke),ot=ot.concat(g());return c()?le({type:Mt.keyframes,name:qe,vendor:de,keyframes:ot}):l("@keyframes missing '}'")}function S(){let le=i(),se=h(/^@supports *([^{]+)/);if(!se)return;let de=br(se[1]);if(!d())return l("@supports missing '{'");let Se=g().concat(p());return c()?le({type:Mt.supports,supports:de,rules:Se}):l("@supports missing '}'")}function T(){let le=i();if(!h(/^@host\s*/))return;if(!d())return l("@host missing '{'");let se=g().concat(p());return c()?le({type:Mt.host,rules:se}):l("@host missing '}'")}function A(){let le=i(),se=h(/^@container *([^{]+)/);if(!se)return;let de=br(se[1]);if(!d())return l("@container missing '{'");let Se=g().concat(p());return c()?le({type:Mt.container,container:de,rules:Se}):l("@container missing '}'")}function N(){let le=i(),se=h(/^@layer *([^{;@]+)/);if(!se)return;let de=br(se[1]);if(!d())return h(/^[;\s]*/),le({type:Mt.layer,layer:de});let Se=g().concat(p());return c()?le({type:Mt.layer,layer:de,rules:Se}):l("@layer missing '}'")}function U(){let le=i(),se=h(/^@media *([^{]+)/);if(!se)return;let de=br(se[1]);if(!d())return l("@media missing '{'");let Se=g().concat(p());return c()?le({type:Mt.media,media:de,rules:Se}):l("@media missing '}'")}function X(){let le=i(),se=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(se)return le({type:Mt.customMedia,name:br(se[1]),media:br(se[2])})}function V(){let le=i();if(!h(/^@page */))return;let se=E()||[];if(!d())return l("@page missing '{'");let de=g(),Se;for(;Se=_();)de.push(Se),de=de.concat(g());return c()?le({type:Mt.page,selectors:se,declarations:de}):l("@page missing '}'")}function J(){let le=i(),se=h(/^@([-\w]+)?document *([^{]+)/);if(!se)return;let de=br(se[1]),Se=br(se[2]);if(!d())return l("@document missing '{'");let qe=g().concat(p());return c()?le({type:Mt.document,document:Se,vendor:de,rules:qe}):l("@document missing '}'")}function x(){let le=i();if(!h(/^@font-face\s*/))return;if(!d())return l("@font-face missing '{'");let se=g(),de;for(;de=_();)se.push(de),se=se.concat(g());return c()?le({type:Mt.fontFace,declarations:se}):l("@font-face missing '}'")}function B(){let le=i();if(!h(/^@starting-style\s*/))return;if(!d())return l("@starting-style missing '{'");let se=g().concat(p());return c()?le({type:Mt.startingStyle,rules:se}):l("@starting-style missing '}'")}let K=Re("import"),fe=Re("charset"),ce=Re("namespace");function Re(le){let se=new RegExp("^@"+le+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let de=i(),Se=h(se);if(!Se)return;let qe={type:le};return qe[le]=Se[1].trim(),de(qe)}}function Fe(){if(e[0]==="@")return w()||U()||X()||S()||K()||fe()||ce()||J()||V()||T()||x()||A()||B()||N()}function Oe(){let le=i(),se=E();return se?(g(),le({type:Mt.rule,selectors:se,declarations:P()||[]})):l("selector missing")}return Pd(u())};function br(e){return e?e.trim():""}function Pd(e,t){let r=e&&typeof e.type=="string",nP=r?e:t;for(let o in e){let i=e[o];Array.isArray(i)?i.forEach(s=>{Pd(s,nP)}):i&&typeof i=="object"&&Pd(i,nP)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var Gj=Vj,Wj=Gj,Yj=Object.prototype.toString;function sy(e){return typeof e=="function"||Yj.call(e)==="[object Function]"}function Kj(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Jj=Math.pow(2,53)-1;function Xj(e){var t=Kj(e);return Math.min(Math.max(t,0),Jj)}function Pr(e,t){var r=Array,nP=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!sy(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Xj(nP.length),i=sy(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=nP[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}function Pi(e){"@babel/helpers - typeof";return Pi=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},Pi(e)}function Qj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ly(e,t){for(var r=0;r<t.length;r++){var nP=t[r];nP.enumerable=nP.enumerable||!1,nP.configurable=!0,"value"in nP&&(nP.writable=!0),Object.defineProperty(e,y1(nP.key),nP)}}function Zj(e,t,r){return t&&ly(e.prototype,t),r&&ly(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function eB(e,t,r){return t=y1(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y1(e){var t=tB(e,"string");return Pi(t)==="symbol"?t:String(t)}function tB(e,t){if(Pi(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var nP=r.call(e,t||"default");if(Pi(nP)!=="object")return nP;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var rB=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Qj(this,e),eB(this,"items",void 0),this.items=t}return Zj(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(nP){return nP!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(nP){t(nP,nP,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),nB=typeof Set>"u"?Set:rB;function Kt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var oB={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",rs:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},aB={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 iB(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 nP;return e.hasAttribute(r)&&!((nP=aB[t])!==null&&nP!==void 0&&nP.has(r))})}function v1(e,t){return iB(e,t)}function sB(e){var t=uB(e);if(t===null||Od.indexOf(t)!==-1){var r=lB(e);if(Od.indexOf(t||"")===-1||v1(e,r||""))return r}return t}function lB(e){var t=oB[Kt(e)];if(t!==void 0)return t;switch(Kt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!v1(e,"img")?"presentation":"img";case"input":{var r=e,nP=r.type;switch(nP){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return nP;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 uB(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var Od=["presentation","none"];function vt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function E1(e){return vt(e)&&Kt(e)==="caption"}function Us(e){return vt(e)&&Kt(e)==="input"}function cB(e){return vt(e)&&Kt(e)==="optgroup"}function dB(e){return vt(e)&&Kt(e)==="select"}function pB(e){return vt(e)&&Kt(e)==="table"}function fB(e){return vt(e)&&Kt(e)==="textarea"}function hB(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function mB(e){return vt(e)&&Kt(e)==="fieldset"}function gB(e){return vt(e)&&Kt(e)==="legend"}function bB(e){return vt(e)&&Kt(e)==="slot"}function yB(e){return vt(e)&&e.ownerSVGElement!==void 0}function vB(e){return vt(e)&&Kt(e)==="svg"}function EB(e){return yB(e)&&Kt(e)==="title"}function rl(e,t){if(vt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),nP=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return nP.getElementById(o)}).filter(function(o){return o!==null})}return[]}function on(e,t){return vt(e)?t.indexOf(sB(e))!==-1:!1}function _B(e){return e.trim().replace(/\s\s+/g," ")}function wB(e,t){if(!vt(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 SB(e){return on(e,["button","combobox","listbox","textbox"])||_1(e,"range")}function _1(e,t){if(!vt(e))return!1;switch(t){case"range":return on(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function uy(e,t){var r=Pr(e.querySelectorAll(t));return rl(e,"aria-owns").forEach(function(nP){r.push.apply(r,Pr(nP.querySelectorAll(t)))}),r}function CB(e){return dB(e)?e.selectedOptions||uy(e,"[selected]"):uy(e,'[aria-selected="true"]')}function AB(e){return on(e,Od)}function RB(e){return E1(e)}function TB(e){return on(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function xB(e){return!1}function PB(e){return Us(e)||fB(e)?e.value:e.textContent||""}function cy(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function w1(e){var t=Kt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function S1(e){if(w1(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&vt(r)){var nP=S1(r);nP!==null&&(t=nP)}}),t}function OB(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):S1(e)}function NB(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Pr(t);if(!w1(e))return null;var r=e.ownerDocument;return Pr(r.querySelectorAll("label")).filter(function(nP){return OB(nP)===e})}function MB(e){var t=e.assignedNodes();return t.length===0?Pr(e.childNodes):t}function C1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new nB,nP=hB(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,d=u===void 0?nP.getComputedStyle.bind(nP):u,c=t.hidden,p=c===void 0?!1:c;function h(E,_){var P="";if(vt(E)&&l){var C=d(E,"::before"),w=cy(C);P="".concat(w," ").concat(P)}var S=bB(E)?MB(E):Pr(E.childNodes).concat(rl(E,"aria-owns"));if(S.forEach(function(N){var U=y(N,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),X=vt(N)?d(N).getPropertyValue("display"):"inline",V=X!=="inline"?" ":"";P+="".concat(V).concat(U).concat(V)}),vt(E)&&l){var T=d(E,"::after"),A=cy(T);P="".concat(P," ").concat(A)}return P.trim()}function m(E,_){var P=E.getAttributeNode(_);return P!==null&&!r.has(P)&&P.value.trim()!==""?(r.add(P),P.value):null}function g(E){return vt(E)?m(E,"title"):null}function b(E){if(!vt(E))return null;if(mB(E)){r.add(E);for(var _=Pr(E.childNodes),P=0;P<_.length;P+=1){var C=_[P];if(gB(C))return y(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(pB(E)){r.add(E);for(var w=Pr(E.childNodes),S=0;S<w.length;S+=1){var T=w[S];if(E1(T))return y(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(vB(E)){r.add(E);for(var A=Pr(E.childNodes),N=0;N<A.length;N+=1){var U=A[N];if(EB(U))return U.textContent}return null}else if(Kt(E)==="img"||Kt(E)==="area"){var X=m(E,"alt");if(X!==null)return X}else if(cB(E)){var V=m(E,"label");if(V!==null)return V}if(Us(E)&&(E.type==="button"||E.type==="submit"||E.type==="reset")){var J=m(E,"value");if(J!==null)return J;if(E.type==="submit")return"Submit";if(E.type==="reset")return"Reset"}var x=NB(E);if(x!==null&&x.length!==0)return r.add(E),Pr(x).map(function(ce){return y(ce,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ce){return ce.length>0}).join(" ");if(Us(E)&&E.type==="image"){var B=m(E,"alt");if(B!==null)return B;var K=m(E,"title");return K!==null?K:"Submit Query"}if(on(E,["button"])){var fe=h(E,{isEmbeddedInLabel:!1,isReferenced:!1});if(fe!=="")return fe}return null}function y(E,_){if(r.has(E))return"";if(!p&&wB(E,d)&&!_.isReferenced)return r.add(E),"";var P=vt(E)?E.getAttributeNode("aria-labelledby"):null,C=P!==null&&!r.has(P)?rl(E,"aria-labelledby"):[];if(i==="name"&&!_.isReferenced&&C.length>0)return r.add(P),C.map(function(X){return y(X,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var w=_.recursion&&SB(E)&&i==="name";if(!w){var S=(vt(E)&&E.getAttribute("aria-label")||"").trim();if(S!==""&&i==="name")return r.add(E),S;if(!AB(E)){var T=b(E);if(T!==null)return r.add(E),T}}if(on(E,["menu"]))return r.add(E),"";if(w||_.isEmbeddedInLabel||_.isReferenced){if(on(E,["combobox","listbox"])){r.add(E);var A=CB(E);return A.length===0?Us(E)?E.value:"":Pr(A).map(function(X){return y(X,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(_1(E,"range"))return r.add(E),E.hasAttribute("aria-valuetext")?E.getAttribute("aria-valuetext"):E.hasAttribute("aria-valuenow")?E.getAttribute("aria-valuenow"):E.getAttribute("value")||"";if(on(E,["textbox"]))return r.add(E),PB(E)}if(TB(E)||vt(E)&&_.isReferenced||RB(E)||xB(E)){var N=h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});if(N!=="")return r.add(E),N}if(E.nodeType===E.TEXT_NODE)return r.add(E),E.textContent||"";if(_.recursion)return r.add(E),h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});var U=g(E);return U!==null?(r.add(E),U):(r.add(E),"")}return _B(y(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function Oi(e){"@babel/helpers - typeof";return Oi=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},Oi(e)}function dy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var nP=Object.getOwnPropertySymbols(e);t&&(nP=nP.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,nP)}return r}function py(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dy(Object(r),!0).forEach(function(nP){IB(e,nP,r[nP])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dy(Object(r)).forEach(function(nP){Object.defineProperty(e,nP,Object.getOwnPropertyDescriptor(r,nP))})}return e}function IB(e,t,r){return t=DB(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DB(e){var t=qB(e,"string");return Oi(t)==="symbol"?t:String(t)}function qB(e,t){if(Oi(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var nP=r.call(e,t||"default");if(Oi(nP)!=="object")return nP;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=rl(e,"aria-describedby").map(function(i){return C1(i,py(py({},t),{},{compute:"description"}))}).join(" ");if(r===""){var nP=e.getAttribute("aria-description");r=nP===null?"":nP}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function BB(e){return on(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function kB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return BB(e)?"":C1(e,t)}var tf=dr(fp(),1),FB=dr(lv(),1),A1=dr(vv(),1),LB=dr(Ev(),1),R1=class extends Error{constructor(e,t,r,nP){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=nP.utils.printWithType("Received",t,nP.utils.printReceived)}catch{}this.message=[nP.utils.matcherHint(`${nP.isNot?".not":""}.${r.name}`,"received",""),"",`${nP.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(`
|
|
272
|
+
`}};function qe(Y){return new Array(Y+1).join(" ")}function ke(Y,Pe){if(Pe&&(Re(Pe),Pe.plugins)){let nt=x(Pe.plugins,Y);if(nt!==null)return J(nt,Y,Se(Pe),"",0,[])}let Le=U(Y,le(Pe),se(Pe),de(Pe));return Le!==null?Le:X(Y,Se(Pe),"",0,[])}var ot={AsymmetricMatcher:nP.default,ConvertAnsi:o.default,DOMCollection:i.default,DOMElement:s.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:d.default};e.plugins=ot;var Ot=ke;e.default=Ot}}),Ej=M({"../../node_modules/lz-string/libs/lz-string.js"(e,t){"use strict";var r=function(){var nP=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function l(d,c){if(!s[d]){s[d]={};for(var p=0;p<d.length;p++)s[d][d.charAt(p)]=p}return s[d][c]}var u={compressToBase64:function(d){if(d==null)return"";var c=u._compress(d,6,function(p){return o.charAt(p)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(d){return d==null?"":d==""?null:u._decompress(d.length,32,function(c){return l(o,d.charAt(c))})},compressToUTF16:function(d){return d==null?"":u._compress(d,15,function(c){return nP(c+32)})+" "},decompressFromUTF16:function(d){return d==null?"":d==""?null:u._decompress(d.length,16384,function(c){return d.charCodeAt(c)-32})},compressToUint8Array:function(d){for(var c=u.compress(d),p=new Uint8Array(c.length*2),h=0,m=c.length;h<m;h++){var g=c.charCodeAt(h);p[h*2]=g>>>8,p[h*2+1]=g%256}return p},decompressFromUint8Array:function(d){if(d==null)return u.decompress(d);for(var c=new Array(d.length/2),p=0,h=c.length;p<h;p++)c[p]=d[p*2]*256+d[p*2+1];var m=[];return c.forEach(function(g){m.push(nP(g))}),u.decompress(m.join(""))},compressToEncodedURIComponent:function(d){return d==null?"":u._compress(d,6,function(c){return i.charAt(c)})},decompressFromEncodedURIComponent:function(d){return d==null?"":d==""?null:(d=d.replace(/ /g,"+"),u._decompress(d.length,32,function(c){return l(i,d.charAt(c))}))},compress:function(d){return u._compress(d,16,function(c){return nP(c)})},_compress:function(d,c,p){if(d==null)return"";var h,m,g={},b={},y="",E="",_="",P=2,C=3,w=2,S=[],T=0,A=0,N;for(N=0;N<d.length;N+=1)if(y=d.charAt(N),Object.prototype.hasOwnProperty.call(g,y)||(g[y]=C++,b[y]=!0),E=_+y,Object.prototype.hasOwnProperty.call(g,E))_=E;else{if(Object.prototype.hasOwnProperty.call(b,_)){if(_.charCodeAt(0)<256){for(h=0;h<w;h++)T=T<<1,A==c-1?(A=0,S.push(p(T)),T=0):A++;for(m=_.charCodeAt(0),h=0;h<8;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1}else{for(m=1,h=0;h<w;h++)T=T<<1|m,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=0;for(m=_.charCodeAt(0),h=0;h<16;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1}P--,P==0&&(P=Math.pow(2,w),w++),delete b[_]}else for(m=g[_],h=0;h<w;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1;P--,P==0&&(P=Math.pow(2,w),w++),g[E]=C++,_=String(y)}if(_!==""){if(Object.prototype.hasOwnProperty.call(b,_)){if(_.charCodeAt(0)<256){for(h=0;h<w;h++)T=T<<1,A==c-1?(A=0,S.push(p(T)),T=0):A++;for(m=_.charCodeAt(0),h=0;h<8;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1}else{for(m=1,h=0;h<w;h++)T=T<<1|m,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=0;for(m=_.charCodeAt(0),h=0;h<16;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1}P--,P==0&&(P=Math.pow(2,w),w++),delete b[_]}else for(m=g[_],h=0;h<w;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1;P--,P==0&&(P=Math.pow(2,w),w++)}for(m=2,h=0;h<w;h++)T=T<<1|m&1,A==c-1?(A=0,S.push(p(T)),T=0):A++,m=m>>1;for(;;)if(T=T<<1,A==c-1){S.push(p(T));break}else A++;return S.join("")},decompress:function(d){return d==null?"":d==""?null:u._decompress(d.length,32768,function(c){return d.charCodeAt(c)})},_decompress:function(d,c,p){var h=[],m,g=4,b=4,y=3,E="",_=[],P,C,w,S,T,A,N,U={val:p(0),position:c,index:1};for(P=0;P<3;P+=1)h[P]=P;for(w=0,T=Math.pow(2,2),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;switch(m=w){case 0:for(w=0,T=Math.pow(2,8),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;N=nP(w);break;case 1:for(w=0,T=Math.pow(2,16),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;N=nP(w);break;case 2:return""}for(h[3]=N,C=N,_.push(N);;){if(U.index>d)return"";for(w=0,T=Math.pow(2,y),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;switch(N=w){case 0:for(w=0,T=Math.pow(2,8),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;h[b++]=nP(w),N=b-1,g--;break;case 1:for(w=0,T=Math.pow(2,16),A=1;A!=T;)S=U.val&U.position,U.position>>=1,U.position==0&&(U.position=c,U.val=p(U.index++)),w|=(S>0?1:0)*A,A<<=1;h[b++]=nP(w),N=b-1,g--;break;case 2:return _.join("")}if(g==0&&(g=Math.pow(2,y),y++),h[N])E=h[N];else if(N===b)E=C+C.charAt(0);else return null;_.push(E),h[b++]=C+E.charAt(0),g--,C=E,g==0&&(g=Math.pow(2,y),y++)}}};return u}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),wv={};gl(wv,{buildQueries:()=>z6,clearAllMocks:()=>i_,configure:()=>V6,createEvent:()=>G6,expect:()=>lH,findAllByAltText:()=>Y6,findAllByDisplayValue:()=>K6,findAllByLabelText:()=>J6,findAllByPlaceholderText:()=>X6,findAllByRole:()=>Q6,findAllByTestId:()=>Z6,findAllByText:()=>eU,findAllByTitle:()=>tU,findByAltText:()=>rU,findByDisplayValue:()=>nU,findByLabelText:()=>oU,findByPlaceholderText:()=>aU,findByRole:()=>iU,findByTestId:()=>sU,findByText:()=>lU,findByTitle:()=>uU,fireEvent:()=>W6,fn:()=>o_,getAllByAltText:()=>cU,getAllByDisplayValue:()=>dU,getAllByLabelText:()=>pU,getAllByPlaceholderText:()=>fU,getAllByRole:()=>hU,getAllByTestId:()=>mU,getAllByText:()=>gU,getAllByTitle:()=>bU,getByAltText:()=>yU,getByDisplayValue:()=>vU,getByLabelText:()=>EU,getByPlaceholderText:()=>_U,getByRole:()=>wU,getByTestId:()=>SU,getByText:()=>CU,getByTitle:()=>AU,getConfig:()=>RU,getDefaultNormalizer:()=>TU,getElementError:()=>xU,getNodeText:()=>PU,getQueriesForElement:()=>OU,getRoles:()=>NU,getSuggestedQuery:()=>MU,isInaccessible:()=>IU,isMockFunction:()=>pf,logDOM:()=>DU,logRoles:()=>qU,mocked:()=>g5,mocks:()=>Xi,onMockCall:()=>n_,prettyDOM:()=>jU,prettyFormat:()=>iH,queries:()=>BU,queryAllByAltText:()=>kU,queryAllByAttribute:()=>FU,queryAllByDisplayValue:()=>LU,queryAllByLabelText:()=>$U,queryAllByPlaceholderText:()=>UU,queryAllByRole:()=>HU,queryAllByTestId:()=>zU,queryAllByText:()=>VU,queryAllByTitle:()=>GU,queryByAltText:()=>WU,queryByAttribute:()=>YU,queryByDisplayValue:()=>KU,queryByLabelText:()=>JU,queryByPlaceholderText:()=>XU,queryByRole:()=>QU,queryByTestId:()=>ZU,queryByText:()=>eH,queryByTitle:()=>tH,queryHelpers:()=>rH,resetAllMocks:()=>s_,restoreAllMocks:()=>l_,screen:()=>nH,spyOn:()=>m5,traverseArgs:()=>hl,userEvent:()=>sH,waitFor:()=>oH,waitForElementToBeRemoved:()=>aH,within:()=>mS});Zn.exports=JN(wv);var Sv=Cu(),_j=Wc(),Cv=Object.defineProperty,wj=Object.getOwnPropertyNames,Q=(e,t)=>Cv(e,"name",{value:t,configurable:!0}),Sj=(e,t)=>function(){return t||(0,e[wj(e)[0]])((t={exports:{}}).exports,t),t.exports},bp=(e,t)=>{for(var r in t)Cv(e,r,{get:t[r],enumerable:!0})},Cj=Sj({"(disabled):util"(){}}),zr={};bp(zr,{addChainableMethod:()=>Pp,addLengthGuard:()=>Yi,addMethod:()=>Rp,addProperty:()=>Ap,checkError:()=>ur,compareByInspect:()=>Qs,eql:()=>Jv,expectTypes:()=>Nv,flag:()=>Qe,getActual:()=>Al,getMessage:()=>Ep,getName:()=>Tl,getOperator:()=>Ip,getOwnEnumerableProperties:()=>Mp,getOwnEnumerablePropertySymbols:()=>Np,getPathInfo:()=>Cp,hasProperty:()=>Rl,inspect:()=>it,isNaN:()=>Zs,isProxyEnabled:()=>Wi,isRegExp:()=>el,objDisplay:()=>eo,overwriteChainableMethod:()=>Op,overwriteMethod:()=>xp,overwriteProperty:()=>Tp,proxify:()=>Va,test:()=>yp,transferFlags:()=>Mr,type:()=>bt});var ur={};bp(ur,{compatibleConstructor:()=>Tv,compatibleInstance:()=>Rv,compatibleMessage:()=>xv,getConstructorName:()=>Pv,getMessage:()=>Ov});function Cl(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}Q(Cl,"isErrorInstance");function Av(e){return Object.prototype.toString.call(e)==="[object RegExp]"}Q(Av,"isRegExp");function Rv(e,t){return Cl(t)&&e===t}Q(Rv,"compatibleInstance");function Tv(e,t){return Cl(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}Q(Tv,"compatibleConstructor");function xv(e,t){let r=typeof e=="string"?e:e.message;return Av(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}Q(xv,"compatibleMessage");function Pv(e){let t=e;return Cl(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}Q(Pv,"getConstructorName");function Ov(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}Q(Ov,"getMessage");function Qe(e,t,r){var nP=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)nP[t]=r;else return nP[t]}Q(Qe,"flag");function yp(e,t){var r=Qe(e,"negate"),nP=t[0];return r?!nP:nP}Q(yp,"test");function bt(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)}Q(bt,"type");var Aj="captureStackTrace"in Error,no,ft=(no=class extends Error{constructor(r="Unspecified AssertionError",nP,o){super(r);_t(this,"message");this.message=r,Aj&&Error.captureStackTrace(this,o||no);for(let i in nP)i in this||(this[i]=nP[i])}get name(){return"AssertionError"}get ok(){return!1}toJSON(r){return{...this,name:this.name,message:this.message,ok:!1,stack:r!==!1?this.stack:void 0}}},Q(no,"AssertionError"),no);function Nv(e,t){var r=Qe(e,"message"),nP=Qe(e,"ssfi");r=r?r+": ":"",e=Qe(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();var o=t.map(function(s,l){var u=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",d=t.length>1&&l===t.length-1?"or ":"";return d+u+" "+s}).join(", "),i=bt(e).toLowerCase();if(!t.some(function(s){return i===s}))throw new ft(r+"object tested must be "+o+", but "+i+" given",void 0,nP)}Q(Nv,"expectTypes");function Al(e,t){return t.length>4?t[4]:e._obj}Q(Al,"getActual");var Xb={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"]},Rj={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Na="\u2026";function Mv(e,t){let r=Xb[Rj[t]]||Xb[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}Q(Mv,"colorise");function Iv({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:nP=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:d=String}={},c){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!nP,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:c,stylize:d};return p.colors&&(p.stylize=Mv),p}Q(Iv,"normaliseOptions");function dn(e,t,r=Na){e=String(e);let nP=r.length,o=e.length;return nP>t&&o>nP?r:o>t&&o>nP?`${e.slice(0,t-nP)}${r}`:e}Q(dn,"truncate");function Er(e,t,r,nP=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let d=0;d<o;d+=1){let c=d+1===e.length,p=d+2===e.length;u=`${Na}(${e.length-d})`;let h=e[d];t.truncate=i-s.length-(c?0:nP.length);let m=l||r(h,t)+(c?"":nP),g=s.length+m.length,b=g+u.length;if(c&&g>i&&s.length+u.length<=i||!c&&!p&&b>i||(l=c?"":r(e[d+1],t)+(p?"":nP),!c&&p&&b>i&&g+l.length>i))break;if(s+=m,!c&&!p&&g+l.length>=i){u=`${Na}(${e.length-d-1})`;break}u=""}return`${s}${u}`}Q(Er,"inspectList");function Dv(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}Q(Dv,"quoteComplexKey");function Ma([e,t],r){return r.truncate-=2,typeof e=="string"?e=Dv(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}Q(Ma,"inspectProperty");function qv(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let nP=Er(e,t);t.truncate-=nP.length;let o="";return r.length&&(o=Er(r.map(i=>[i,e[i]]),t,Ma)),`[ ${nP}${o?`, ${o}`:""} ]`}Q(qv,"inspectArray");var Tj=Q(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Hr(e,t){let r=Tj(e);t.truncate-=r.length+4;let nP=Object.keys(e).slice(e.length);if(!e.length&&!nP.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(dn(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${Na}(${e.length-e[s]+1})`;break}o+=l}let i="";return nP.length&&(i=Er(nP.map(s=>[s,e[s]]),t,Ma)),`${r}[ ${o}${i?`, ${i}`:""} ]`}Q(Hr,"inspectTypedArray");function jv(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let nP=r.split("T"),o=nP[0];return t.stylize(`${o}T${dn(nP[1],t.truncate-o.length-1)}`,"date")}Q(jv,"inspectDate");function hd(e,t){let r=e[Symbol.toStringTag]||"Function",nP=e.name;return nP?t.stylize(`[${r} ${dn(nP,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}Q(hd,"inspectFunction");function Bv([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}Q(Bv,"inspectMapEntry");function kv(e){let t=[];return e.forEach((r,nP)=>{t.push([nP,r])}),t}Q(kv,"mapToEntries");function Fv(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Er(kv(e),t,Bv)} }`)}Q(Fv,"inspectMap");var xj=Number.isNaN||(e=>e!==e);function md(e,t){return xj(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(dn(String(e),t.truncate),"number")}Q(md,"inspectNumber");function gd(e,t){let r=dn(e.toString(),t.truncate-1);return r!==Na&&(r+="nP"),t.stylize(r,"bigint")}Q(gd,"inspectBigInt");function Lv(e,t){let r=e.toString().split("/")[2],nP=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${dn(o,nP)}/${r}`,"regexp")}Q(Lv,"inspectRegExp");function $v(e){let t=[];return e.forEach(r=>{t.push(r)}),t}Q($v,"arrayFromSet");function Uv(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Er($v(e),t)} }`)}Q(Uv,"inspectSet");var Qb=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Pj={"\b":"\\b"," ":"\\t","\nP":"\\nP","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Oj=16,Nj=4;function Hv(e){return Pj[e]||`\\u${`0000${e.charCodeAt(0).toString(Oj)}`.slice(-Nj)}`}Q(Hv,"escape");function bd(e,t){return Qb.test(e)&&(e=e.replace(Qb,Hv)),t.stylize(`'${dn(e,t.truncate-2)}'`,"string")}Q(bd,"inspectString");function yd(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}Q(yd,"inspectSymbol");var zv=Q(()=>"Promise{\u2026}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(zv=Q((nP,o)=>{let[i,s]=e(nP);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`},"getPromiseValue"))}catch{}var Mj=zv;function Ci(e,t){let r=Object.getOwnPropertyNames(e),nP=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&nP.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=Er(r.map(l=>[l,e[l]]),t,Ma),i=Er(nP.map(l=>[l,e[l]]),t,Ma);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}Q(Ci,"inspectObject");var Yc=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Vv(e,t){let r="";return Yc&&Yc in e&&(r=e[Yc]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Ci(e,t)}`}Q(Vv,"inspectClass");function Gv(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Er(e,t)} ]`)}Q(Gv,"inspectArguments");var Ij=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Wv(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>Ij.indexOf(s)===-1),nP=e.name;t.truncate-=nP.length;let o="";typeof e.message=="string"?o=dn(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=Er(r.map(s=>[s,e[s]]),t,Ma);return`${nP}${o}${i?` { ${i} }`:""}`}Q(Wv,"inspectObject");function Yv([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}Q(Yv,"inspectAttribute");function Ks(e,t){return Er(e,t,vp,`
|
|
273
|
+
`)}Q(Ks,"inspectHTMLCollection");function vp(e,t){let r=e.getAttributeNames(),nP=e.tagName.toLowerCase(),o=t.stylize(`<${nP}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${nP}>`,"special");t.truncate-=nP.length*2+5;let l="";r.length>0&&(l+=" ",l+=Er(r.map(c=>[c,e.getAttribute(c)]),t,Yv," ")),t.truncate-=l.length;let u=t.truncate,d=Ks(e.children,t);return d&&d.length>u&&(d=`${Na}(${e.children.length})`),`${o}${l}${i}${d}${s}`}Q(vp,"inspectHTML");var Dj=typeof Symbol=="function"&&typeof Symbol.for=="function",Kc=Dj?Symbol.for("chai/inspect"):"@@chai/inspect",wa=!1;try{let e=Cj();wa=e.inspect?e.inspect.custom:!1}catch{wa=!1}var Zb=new WeakMap,ey={},ty={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:md,Number:md,bigint:gd,BigInt:gd,string:bd,String:bd,function:hd,Function:hd,symbol:yd,Symbol:yd,Array:qv,Date:jv,Map:Fv,Set:Uv,RegExp:Lv,Promise:Mj,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:Gv,Int8Array:Hr,Uint8Array:Hr,Uint8ClampedArray:Hr,Int16Array:Hr,Uint16Array:Hr,Int32Array:Hr,Uint32Array:Hr,Float32Array:Hr,Float64Array:Hr,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Wv,HTMLCollection:Ks,NodeList:Ks},qj=Q((e,t,r)=>Kc in e&&typeof e[Kc]=="function"?e[Kc](t):wa&&wa in e&&typeof e[wa]=="function"?e[wa](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Zb.has(e.constructor)?Zb.get(e.constructor)(e,t):ey[r]?ey[r](e,t):"","inspectCustom"),jj=Object.prototype.toString;function Js(e,t={}){let r=Iv(t,Js),{customInspect:nP}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=jj.call(e).slice(8,-1)),o in ty)return ty[o](e,r);if(nP&&e){let s=qj(e,r,o);if(s)return typeof s=="string"?s:Js(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Ci(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?vp(e,r):"constructor"in e?e.constructor!==Object?Vv(e,r):Ci(e,r):e===Object(e)?Ci(e,r):r.stylize(String(e),o)}Q(Js,"inspect");var or={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function it(e,t,r,nP){var o={colors:nP,depth:typeof r>"u"?2:r,showHidden:t,truncate:or.truncateThreshold?or.truncateThreshold:1/0};return Js(e,o)}Q(it,"inspect");function eo(e){var t=it(e),r=Object.prototype.toString.call(e);if(or.truncateThreshold&&t.length>=or.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 nP=Object.keys(e),o=nP.length>2?nP.splice(0,2).join(", ")+", ...":nP.join(", ");return"{ Object ("+o+") }"}else return t}else return t}Q(eo,"objDisplay");function Ep(e,t){var r=Qe(e,"negate"),nP=Qe(e,"object"),o=t[3],i=Al(e,t),s=r?t[2]:t[1],l=Qe(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return eo(nP)}).replace(/#\{act\}/g,function(){return eo(i)}).replace(/#\{exp\}/g,function(){return eo(o)}),l?l+": "+s:s}Q(Ep,"getMessage");function Mr(e,t,r){var nP=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var o in nP)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=nP[o])}Q(Mr,"transferFlags");function vd(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)}Q(vd,"type");function _p(){this._key="chai/deep-eql__"+Math.random()+Date.now()}Q(_p,"FakeMap");_p.prototype={get:Q(function(e){return e[this._key]},"get"),set:Q(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var Kv=typeof WeakMap=="function"?WeakMap:_p;function Ed(e,t,r){if(!r||oo(e)||oo(t))return null;var nP=r.get(e);if(nP){var o=nP.get(t);if(typeof o=="boolean")return o}return null}Q(Ed,"memoizeCompare");function Ei(e,t,r,nP){if(!(!r||oo(e)||oo(t))){var o=r.get(e);o?o.set(t,nP):(o=new Kv,o.set(t,nP),r.set(e,o))}}Q(Ei,"memoizeSet");var Jv=Gi;function Gi(e,t,r){if(r&&r.comparator)return _d(e,t,r);var nP=wp(e,t);return nP!==null?nP:_d(e,t,r)}Q(Gi,"deepEqual");function wp(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:oo(e)||oo(t)?!1:null}Q(wp,"simpleEqual");function _d(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Kv;var nP=r&&r.comparator,o=Ed(e,t,r.memoize);if(o!==null)return o;var i=Ed(t,e,r.memoize);if(i!==null)return i;if(nP){var s=nP(e,t);if(s===!1||s===!0)return Ei(e,t,r.memoize,s),s;var l=wp(e,t);if(l!==null)return l}var u=vd(e);if(u!==vd(t))return Ei(e,t,r.memoize,!1),!1;Ei(e,t,r.memoize,!0);var d=Xv(e,t,u,r);return Ei(e,t,r.memoize,d),d}Q(_d,"extensiveDeepEqual");function Xv(e,t,r,nP){switch(r){case"String":case"Number":case"Boolean":case"Date":return Gi(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Sp(e,t,["name","message","code"],nP);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return In(e,t,nP);case"RegExp":return Qv(e,t);case"Generator":return Zv(e,t,nP);case"DataView":return In(new Uint8Array(e.buffer),new Uint8Array(t.buffer),nP);case"ArrayBuffer":return In(new Uint8Array(e),new Uint8Array(t),nP);case"Set":return wd(e,t,nP);case"Map":return wd(e,t,nP);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 t1(e,t,nP)}}Q(Xv,"extensiveDeepEqualByType");function Qv(e,t){return e.toString()===t.toString()}Q(Qv,"regexpEqual");function wd(e,t,r){if(e.size!==t.size)return!1;if(e.size===0)return!0;var nP=[],o=[];return e.forEach(Q(function(i,s){nP.push([i,s])},"gatherEntries")),t.forEach(Q(function(i,s){o.push([i,s])},"gatherEntries")),In(nP.sort(),o.sort(),r)}Q(wd,"entriesEqual");function In(e,t,r){var nP=e.length;if(nP!==t.length)return!1;if(nP===0)return!0;for(var o=-1;++o<nP;)if(Gi(e[o],t[o],r)===!1)return!1;return!0}Q(In,"iterableEqual");function Zv(e,t,r){return In(Xs(e),Xs(t),r)}Q(Zv,"generatorEqual");function e1(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}Q(e1,"hasIteratorFunction");function Sd(e){if(e1(e))try{return Xs(e[Symbol.iterator]())}catch{return[]}return[]}Q(Sd,"getIteratorEntries");function Xs(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}Q(Xs,"getGeneratorEntries");function Cd(e){var t=[];for(var r in e)t.push(r);return t}Q(Cd,"getEnumerableKeys");function Ad(e){for(var t=[],r=Object.getOwnPropertySymbols(e),nP=0;nP<r.length;nP+=1){var o=r[nP];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}Q(Ad,"getEnumerableSymbols");function Sp(e,t,r,nP){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(Gi(e[r[i]],t[r[i]],nP)===!1)return!1;return!0}Q(Sp,"keysEqual");function t1(e,t,r){var nP=Cd(e),o=Cd(t),i=Ad(e),s=Ad(t);if(nP=nP.concat(i),o=o.concat(s),nP.length&&nP.length===o.length)return In(Rd(nP).sort(),Rd(o).sort())===!1?!1:Sp(e,t,nP,r);var l=Sd(e),u=Sd(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),In(l,u,r)):nP.length===0&&l.length===0&&o.length===0&&u.length===0}Q(t1,"objectEqual");function oo(e){return e===null||typeof e!="object"}Q(oo,"isPrimitive");function Rd(e){return e.map(Q(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}Q(Rd,"mapSymbols");function Rl(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}Q(Rl,"hasProperty");function r1(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),nP=null;return r?nP={i:parseFloat(r[1])}:nP={p:t.replace(/\\([.[\]])/g,"$1")},nP})}Q(r1,"parsePath");function Td(e,t,r){let nP=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let s=t[i];nP&&(typeof s.p>"u"?nP=nP[s.i]:nP=nP[s.p],i===r-1&&(o=nP))}return o}Q(Td,"internalGetPathValue");function Cp(e,t){let r=r1(t),nP=r[r.length-1],o={parent:r.length>1?Td(e,r,r.length-1):e,name:nP.p||nP.i,value:Td(e,r)};return o.exists=Rl(o.parent,o.name),o}Q(Cp,"getPathInfo");function F(e,t,r,nP){return Qe(this,"ssfi",r||F),Qe(this,"lockSsfi",nP),Qe(this,"object",e),Qe(this,"message",t),Qe(this,"eql",or.deepEqual||Jv),Va(this)}Q(F,"Assertion");Object.defineProperty(F,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),or.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),or.includeStack=e}});Object.defineProperty(F,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),or.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),or.showDiff=e}});F.addProperty=function(e,t){Ap(this.prototype,e,t)};F.addMethod=function(e,t){Rp(this.prototype,e,t)};F.addChainableMethod=function(e,t,r){Pp(this.prototype,e,t,r)};F.overwriteProperty=function(e,t){Tp(this.prototype,e,t)};F.overwriteMethod=function(e,t){xp(this.prototype,e,t)};F.overwriteChainableMethod=function(e,t,r){Op(this.prototype,e,t,r)};F.prototype.assert=function(e,t,r,nP,o,i){var s=yp(this,arguments);if(i!==!1&&(i=!0),nP===void 0&&o===void 0&&(i=!1),or.showDiff!==!0&&(i=!1),!s){t=Ep(this,arguments);var l=Al(this,arguments),u={actual:l,expected:nP,showDiff:i},d=Ip(this,arguments);throw d&&(u.operator=d),new ft(t,u,or.includeStack?this.assert:Qe(this,"ssfi"))}};Object.defineProperty(F.prototype,"_obj",{get:function(){return Qe(this,"object")},set:function(e){Qe(this,"object",e)}});function Wi(){return or.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}Q(Wi,"isProxyEnabled");function Ap(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:Q(function nP(){!Wi()&&!Qe(this,"lockSsfi")&&Qe(this,"ssfi",nP);var o=r.call(this);if(o!==void 0)return o;var i=new F;return Mr(this,i),i},"propertyGetter"),configurable:!0})}Q(Ap,"addProperty");var Bj=Object.getOwnPropertyDescriptor(function(){},"length");function Yi(e,t,r){return Bj.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}Q(Yi,"addLengthGuard");function n1(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}Q(r,"addProperty");for(var nP=Object.getPrototypeOf(e);nP!==null;)Object.getOwnPropertyNames(nP).forEach(r),nP=Object.getPrototypeOf(nP);return t}Q(n1,"getProperties");var ry=["__flags","__methods","_obj","assert"];function Va(e,t){return Wi()?new Proxy(e,{get:Q(function r(nP,o){if(typeof o=="string"&&or.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(nP,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');var i=null,s=4;throw n1(nP).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&ry.indexOf(l)===-1){var u=o1(o,l,s);u<s&&(i=l,s=u)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return ry.indexOf(o)===-1&&!Qe(nP,"lockSsfi")&&Qe(nP,"ssfi",r),Reflect.get(nP,o)},"proxyGetter")}):e}Q(Va,"proxify");function o1(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;for(var nP=[],o=0;o<=e.length;o++)nP[o]=Array(t.length+1).fill(0),nP[o][0]=o;for(var i=0;i<t.length;i++)nP[0][i]=i;for(var o=1;o<=e.length;o++)for(var s=e.charCodeAt(o-1),i=1;i<=t.length;i++){if(Math.abs(o-i)>=r){nP[o][i]=r;continue}nP[o][i]=Math.min(nP[o-1][i]+1,nP[o][i-1]+1,nP[o-1][i-1]+(s===t.charCodeAt(i-1)?0:1))}return nP[e.length][t.length]}Q(o1,"stringDistanceCapped");function Rp(e,t,r){var nP=Q(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",nP);var o=r.apply(this,arguments);if(o!==void 0)return o;var i=new F;return Mr(this,i),i},"methodWrapper");Yi(nP,t,!1),e[t]=Va(nP,t)}Q(Rp,"addMethod");function Tp(e,t,r){var nP=Object.getOwnPropertyDescriptor(e,t),o=Q(function(){},"_super");nP&&typeof nP.get=="function"&&(o=nP.get),Object.defineProperty(e,t,{get:Q(function i(){!Wi()&&!Qe(this,"lockSsfi")&&Qe(this,"ssfi",i);var s=Qe(this,"lockSsfi");Qe(this,"lockSsfi",!0);var l=r(o).call(this);if(Qe(this,"lockSsfi",s),l!==void 0)return l;var u=new F;return Mr(this,u),u},"overwritingPropertyGetter"),configurable:!0})}Q(Tp,"overwriteProperty");function xp(e,t,r){var nP=e[t],o=Q(function(){throw new Error(t+" is not a function")},"_super");nP&&typeof nP=="function"&&(o=nP);var i=Q(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",i);var s=Qe(this,"lockSsfi");Qe(this,"lockSsfi",!0);var l=r(o).apply(this,arguments);if(Qe(this,"lockSsfi",s),l!==void 0)return l;var u=new F;return Mr(this,u),u},"overwritingMethodWrapper");Yi(i,t,!1),e[t]=Va(i,t)}Q(xp,"overwriteMethod");var kj=typeof Object.setPrototypeOf=="function",ny=Q(function(){},"testFn"),Fj=Object.getOwnPropertyNames(ny).filter(function(e){var t=Object.getOwnPropertyDescriptor(ny,e);return typeof t!="object"?!0:!t.configurable}),Lj=Function.prototype.call,$j=Function.prototype.apply;function Pp(e,t,r,nP){typeof nP!="function"&&(nP=Q(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:nP};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:Q(function(){o.chainingBehavior.call(this);var i=Q(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",i);var u=o.method.apply(this,arguments);if(u!==void 0)return u;var d=new F;return Mr(this,d),d},"chainableMethodWrapper");if(Yi(i,t,!0),kj){var s=Object.create(this);s.call=Lj,s.apply=$j,Object.setPrototypeOf(i,s)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(Fj.indexOf(u)===-1){var d=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(i,u,d)}})}return Mr(this,i),Va(i)},"chainableMethodGetter"),configurable:!0})}Q(Pp,"addChainableMethod");function Op(e,t,r,nP){var o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=Q(function(){var l=nP(i).call(this);if(l!==void 0)return l;var u=new F;return Mr(this,u),u},"overwritingChainableMethodGetter");var s=o.method;o.method=Q(function(){var l=r(s).apply(this,arguments);if(l!==void 0)return l;var u=new F;return Mr(this,u),u},"overwritingChainableMethodWrapper")}Q(Op,"overwriteChainableMethod");function Qs(e,t){return it(e)<it(t)?-1:1}Q(Qs,"compareByInspect");function Np(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}Q(Np,"getOwnEnumerablePropertySymbols");function Mp(e){return Object.keys(e).concat(Np(e))}Q(Mp,"getOwnEnumerableProperties");function a1(e){return e!==e}Q(a1,"_isNaN");var Zs=Number.isNaN||a1;function i1(e){var t=bt(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}Q(i1,"isObjectType");function Ip(e,t){var r=Qe(e,"operator"),nP=Qe(e,"negate"),o=t[3],i=nP?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!!i&&!/\shave\s/.test(i)){var s=i1(o);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}Q(Ip,"getOperator");function Tl(e){return e.name}Q(Tl,"getName");function el(e){return Object.prototype.toString.call(e)==="[object RegExp]"}Q(el,"isRegExp");var{flag:W}=zr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){F.addProperty(e)});F.addProperty("not",function(){W(this,"negate",!0)});F.addProperty("deep",function(){W(this,"deep",!0)});F.addProperty("nested",function(){W(this,"nested",!0)});F.addProperty("own",function(){W(this,"own",!0)});F.addProperty("ordered",function(){W(this,"ordered",!0)});F.addProperty("any",function(){W(this,"any",!0),W(this,"all",!1)});F.addProperty("all",function(){W(this,"all",!0),W(this,"any",!1)});var oy={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Dp(e,t){t&&W(this,"message",t),e=e.toLowerCase();var r=W(this,"object"),nP=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=bt(r).toLowerCase();oy.function.includes(e)?this.assert(oy[e].includes(o),"expected #{this} to be "+nP+e,"expected #{this} not to be "+nP+e):this.assert(e===o,"expected #{this} to be "+nP+e,"expected #{this} not to be "+nP+e)}Q(Dp,"an");F.addChainableMethod("an",Dp);F.addChainableMethod("a",Dp);function s1(e,t){return Zs(e)&&Zs(t)||e===t}Q(s1,"SameValueZero");function Ki(){W(this,"contains",!0)}Q(Ki,"includeChainingBehavior");function Ji(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=bt(r).toLowerCase(),o=W(this,"message"),i=W(this,"negate"),s=W(this,"ssfi"),l=W(this,"deep"),u=l?"deep ":"",d=l?W(this,"eql"):s1;o=o?o+": ":"";var c=!1;switch(nP){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new ft(o+"unable to use .deep.include with WeakSet",void 0,s);c=r.has(e);break;case"map":r.forEach(function(g){c=c||d(g,e)});break;case"set":l?r.forEach(function(g){c=c||d(g,e)}):c=r.has(e);break;case"array":l?c=r.some(function(g){return d(g,e)}):c=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new ft(o+"the given combination of arguments ("+nP+" and "+bt(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 "+bt(e).toLowerCase(),void 0,s);var p=Object.keys(e),h=null,m=0;if(p.forEach(function(g){var b=new F(r);if(Mr(this,b,!0),W(b,"lockSsfi",!0),!i||p.length===1){b.property(g,e[g]);return}try{b.property(g,e[g])}catch(y){if(!ur.compatibleConstructor(y,ft))throw y;h===null&&(h=y),m++}},this),i&&p.length>1&&m===p.length)throw h;return}this.assert(c,"expected #{this} to "+u+"include "+it(e),"expected #{this} to not "+u+"include "+it(e))}Q(Ji,"include");F.addChainableMethod("include",Ji,Ki);F.addChainableMethod("contain",Ji,Ki);F.addChainableMethod("contains",Ji,Ki);F.addChainableMethod("includes",Ji,Ki);F.addProperty("ok",function(){this.assert(W(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});F.addProperty("true",function(){this.assert(W(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!W(this,"negate"))});F.addProperty("callable",function(){let e=W(this,"object"),t=W(this,"ssfi"),r=W(this,"message"),nP=r?`${r}: `:"",o=W(this,"negate"),i=o?`${nP}expected ${it(e)} not to be a callable function`:`${nP}expected ${it(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(bt(e));if(s&&o||!s&&!o)throw new ft(i,void 0,t)});F.addProperty("false",function(){this.assert(W(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!W(this,"negate"))});F.addProperty("null",function(){this.assert(W(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});F.addProperty("undefined",function(){this.assert(W(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});F.addProperty("NaN",function(){this.assert(Zs(W(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function qp(){var e=W(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}Q(qp,"assertExist");F.addProperty("exist",qp);F.addProperty("exists",qp);F.addProperty("empty",function(){var e=W(this,"object"),t=W(this,"ssfi"),r=W(this,"message"),nP;switch(r=r?r+": ":"",bt(e).toLowerCase()){case"array":case"string":nP=e.length;break;case"map":case"set":nP=e.size;break;case"weakmap":case"weakset":throw new ft(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+Tl(e);throw new ft(o.trim(),void 0,t);default:if(e!==Object(e))throw new ft(r+".empty was passed non-string primitive "+it(e),void 0,t);nP=Object.keys(e).length}this.assert(nP===0,"expected #{this} to be empty","expected #{this} not to be empty")});function jp(){var e=W(this,"object"),t=bt(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}Q(jp,"checkArguments");F.addProperty("arguments",jp);F.addProperty("Arguments",jp);function xl(e,t){t&&W(this,"message",t);var r=W(this,"object");if(W(this,"deep")){var nP=W(this,"lockSsfi");W(this,"lockSsfi",!0),this.eql(e),W(this,"lockSsfi",nP)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}Q(xl,"assertEqual");F.addMethod("equal",xl);F.addMethod("equals",xl);F.addMethod("eq",xl);function Bp(e,t){t&&W(this,"message",t);var r=W(this,"eql");this.assert(r(e,W(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}Q(Bp,"assertEql");F.addMethod("eql",Bp);F.addMethod("eqls",Bp);function Pl(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),l=bt(r).toLowerCase(),u=bt(e).toLowerCase(),d,c=!0;if(nP&&l!=="map"&&l!=="set"&&new F(r,o,s,!0).to.have.property("length"),!nP&&l==="date"&&u!=="date")d=i+"the argument to above must be a date";else if(u!=="number"&&(nP||l==="number"))d=i+"the argument to above must be a number";else if(!nP&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;d=i+"expected "+p+" to be a number or a date"}else c=!1;if(c)throw new ft(d,void 0,s);if(nP){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m>e,"expected #{this} to have a "+h+" above #{exp} but got #{act}","expected #{this} to not have a "+h+" above #{exp}",e,m)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}Q(Pl,"assertAbove");F.addMethod("above",Pl);F.addMethod("gt",Pl);F.addMethod("greaterThan",Pl);function Ol(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),l=bt(r).toLowerCase(),u=bt(e).toLowerCase(),d,c=!0;if(nP&&l!=="map"&&l!=="set"&&new F(r,o,s,!0).to.have.property("length"),!nP&&l==="date"&&u!=="date")d=i+"the argument to least must be a date";else if(u!=="number"&&(nP||l==="number"))d=i+"the argument to least must be a number";else if(!nP&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;d=i+"expected "+p+" to be a number or a date"}else c=!1;if(c)throw new ft(d,void 0,s);if(nP){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,m)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}Q(Ol,"assertLeast");F.addMethod("least",Ol);F.addMethod("gte",Ol);F.addMethod("greaterThanOrEqual",Ol);function Nl(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),l=bt(r).toLowerCase(),u=bt(e).toLowerCase(),d,c=!0;if(nP&&l!=="map"&&l!=="set"&&new F(r,o,s,!0).to.have.property("length"),!nP&&l==="date"&&u!=="date")d=i+"the argument to below must be a date";else if(u!=="number"&&(nP||l==="number"))d=i+"the argument to below must be a number";else if(!nP&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;d=i+"expected "+p+" to be a number or a date"}else c=!1;if(c)throw new ft(d,void 0,s);if(nP){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,m)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}Q(Nl,"assertBelow");F.addMethod("below",Nl);F.addMethod("lt",Nl);F.addMethod("lessThan",Nl);function Ml(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"doLength"),o=W(this,"message"),i=o?o+": ":"",s=W(this,"ssfi"),l=bt(r).toLowerCase(),u=bt(e).toLowerCase(),d,c=!0;if(nP&&l!=="map"&&l!=="set"&&new F(r,o,s,!0).to.have.property("length"),!nP&&l==="date"&&u!=="date")d=i+"the argument to most must be a date";else if(u!=="number"&&(nP||l==="number"))d=i+"the argument to most must be a number";else if(!nP&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;d=i+"expected "+p+" to be a number or a date"}else c=!1;if(c)throw new ft(d,void 0,s);if(nP){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,m)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}Q(Ml,"assertMost");F.addMethod("most",Ml);F.addMethod("lte",Ml);F.addMethod("lessThanOrEqual",Ml);F.addMethod("within",function(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"doLength"),i=W(this,"message"),s=i?i+": ":"",l=W(this,"ssfi"),u=bt(nP).toLowerCase(),d=bt(e).toLowerCase(),c=bt(t).toLowerCase(),p,h=!0,m=d==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new F(nP,i,l,!0).to.have.property("length"),!o&&u==="date"&&(d!=="date"||c!=="date"))p=s+"the arguments to within must be dates";else if((d!=="number"||c!=="number")&&(o||u==="number"))p=s+"the arguments to within must be numbers";else if(!o&&u!=="date"&&u!=="number"){var g=u==="string"?"'"+nP+"'":nP;p=s+"expected "+g+" to be a number or a date"}else h=!1;if(h)throw new ft(p,void 0,l);if(o){var b="length",y;u==="map"||u==="set"?(b="size",y=nP.size):y=nP.length,this.assert(y>=e&&y<=t,"expected #{this} to have a "+b+" within "+m,"expected #{this} to not have a "+b+" within "+m)}else this.assert(nP>=e&&nP<=t,"expected #{this} to be within "+m,"expected #{this} to not be within "+m)});function kp(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"ssfi"),o=W(this,"message");try{var i=r instanceof e}catch(l){throw l instanceof TypeError?(o=o?o+": ":"",new ft(o+"The instanceof assertion needs a constructor but "+bt(e)+" was given.",void 0,nP)):l}var s=Tl(e);s==null&&(s="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+s,"expected #{this} to not be an instance of "+s)}Q(kp,"assertInstanceOf");F.addMethod("instanceof",kp);F.addMethod("instanceOf",kp);function Fp(e,t,r){r&&W(this,"message",r);var nP=W(this,"nested"),o=W(this,"own"),i=W(this,"message"),s=W(this,"object"),l=W(this,"ssfi"),u=typeof e;if(i=i?i+": ":"",nP){if(u!=="string")throw new ft(i+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new ft(i+"the argument to property must be a string, number, or symbol",void 0,l);if(nP&&o)throw new ft(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(s==null)throw new ft(i+"Target cannot be null or undefined.",void 0,l);var d=W(this,"deep"),c=W(this,"negate"),p=nP?Cp(s,e):null,h=nP?p.value:s[e],m=d?W(this,"eql"):(y,E)=>y===E,g="";d&&(g+="deep "),o&&(g+="own "),nP&&(g+="nested "),g+="property ";var b;o?b=Object.prototype.hasOwnProperty.call(s,e):nP?b=p.exists:b=Rl(s,e),(!c||arguments.length===1)&&this.assert(b,"expected #{this} to have "+g+it(e),"expected #{this} to not have "+g+it(e)),arguments.length>1&&this.assert(b&&m(t,h),"expected #{this} to have "+g+it(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+g+it(e)+" of #{act}",t,h),W(this,"object",h)}Q(Fp,"assertProperty");F.addMethod("property",Fp);function Lp(e,t,r){W(this,"own",!0),Fp.apply(this,arguments)}Q(Lp,"assertOwnProperty");F.addMethod("ownProperty",Lp);F.addMethod("haveOwnProperty",Lp);function $p(e,t,r){typeof t=="string"&&(r=t,t=null),r&&W(this,"message",r);var nP=W(this,"object"),o=Object.getOwnPropertyDescriptor(Object(nP),e),i=W(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+it(e)+" on #{this} to match "+it(t)+", got "+it(o),"expected the own property descriptor for "+it(e)+" on #{this} to not match "+it(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+it(e),"expected #{this} to not have an own property descriptor for "+it(e)),W(this,"object",o)}Q($p,"assertOwnPropertyDescriptor");F.addMethod("ownPropertyDescriptor",$p);F.addMethod("haveOwnPropertyDescriptor",$p);function Up(){W(this,"doLength",!0)}Q(Up,"assertLengthChain");function Hp(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=bt(r).toLowerCase(),o=W(this,"message"),i=W(this,"ssfi"),s="length",l;switch(nP){case"map":case"set":s="size",l=r.size;break;default:new F(r,o,i,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+s+" of #{exp} but got #{act}","expected #{this} to not have a "+s+" of #{act}",e,l)}Q(Hp,"assertLength");F.addChainableMethod("length",Hp,Up);F.addChainableMethod("lengthOf",Hp,Up);function zp(e,t){t&&W(this,"message",t);var r=W(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}Q(zp,"assertMatch");F.addMethod("match",zp);F.addMethod("matches",zp);F.addMethod("string",function(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"message"),o=W(this,"ssfi");new F(r,nP,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+it(e),"expected #{this} to not contain "+it(e))});function Vp(e){var t=W(this,"object"),r=bt(t),nP=bt(e),o=W(this,"ssfi"),i=W(this,"deep"),s,l="",u,d=!0,c=W(this,"message");c=c?c+": ":"";var p=c+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=i?"deeply ":"",u=[],t.forEach(function(_,P){u.push(P)}),nP!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Mp(t),nP){case"Array":if(arguments.length>1)throw new ft(p,void 0,o);break;case"Object":if(arguments.length>1)throw new ft(p,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(_){return typeof _=="symbol"?_:String(_)})}if(!e.length)throw new ft(c+"keys required",void 0,o);var h=e.length,m=W(this,"any"),g=W(this,"all"),b=e,y=i?W(this,"eql"):(_,P)=>_===P;if(!m&&!g&&(g=!0),m&&(d=b.some(function(_){return u.some(function(P){return y(_,P)})})),g&&(d=b.every(function(_){return u.some(function(P){return y(_,P)})}),W(this,"contains")||(d=d&&e.length==u.length)),h>1){e=e.map(function(_){return it(_)});var E=e.pop();g&&(s=e.join(", ")+", and "+E),m&&(s=e.join(", ")+", or "+E)}else s=it(e[0]);s=(h>1?"keys ":"key ")+s,s=(W(this,"contains")?"contain ":"have ")+s,this.assert(d,"expected #{this} to "+l+s,"expected #{this} to not "+l+s,b.slice(0).sort(Qs),u.sort(Qs),!0)}Q(Vp,"assertKeys");F.addMethod("keys",Vp);F.addMethod("key",Vp);function Il(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"ssfi"),i=W(this,"message"),s=W(this,"negate")||!1;new F(nP,i,o,!0).is.a("function"),(el(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{nP()}catch(_){u=!0,l=_}var d=e===void 0&&t===void 0,c=!!(e&&t),p=!1,h=!1;if(d||!d&&!s){var m="an error";e instanceof Error?m="#{exp}":e&&(m=ur.getConstructorName(e));let _=l;if(l instanceof Error)_=l.toString();else if(typeof l=="string")_=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{_=ur.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+m,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),_)}if(e&&l){if(e instanceof Error){var g=ur.compatibleInstance(l,e);g===s&&(c&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!s?" but #{act} was thrown":""),e.toString(),l.toString()))}var b=ur.compatibleConstructor(l,e);b===s&&(c&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ur.getConstructorName(e),l instanceof Error?l.toString():l&&ur.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var y="including";el(t)&&(y="matching");var E=ur.compatibleMessage(l,t);E===s&&(c&&s?h=!0:this.assert(s,"expected #{this} to throw error "+y+" #{exp} but got #{act}","expected #{this} to throw error not "+y+" #{exp}",t,ur.getMessage(l)))}p&&h&&this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ur.getConstructorName(e),l instanceof Error?l.toString():l&&ur.getConstructorName(l)),W(this,"object",l)}Q(Il,"assertThrows");F.addMethod("throw",Il);F.addMethod("throws",Il);F.addMethod("Throw",Il);function Gp(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"itself"),o=typeof r=="function"&&!nP?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+it(e),"expected #{this} to not respond to "+it(e))}Q(Gp,"respondTo");F.addMethod("respondTo",Gp);F.addMethod("respondsTo",Gp);F.addProperty("itself",function(){W(this,"itself",!0)});function Wp(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=e(r);this.assert(nP,"expected #{this} to satisfy "+eo(e),"expected #{this} to not satisfy"+eo(e),!W(this,"negate"),nP)}Q(Wp,"satisfy");F.addMethod("satisfy",Wp);F.addMethod("satisfies",Wp);function Yp(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");if(new F(nP,o,i,!0).is.a("number"),typeof e!="number"||typeof t!="number"){o=o?o+": ":"";var s=t===void 0?", and a delta is required":"";throw new ft(o+"the arguments to closeTo or approximately must be numbers"+s,void 0,i)}this.assert(Math.abs(nP-e)<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}Q(Yp,"closeTo");F.addMethod("closeTo",Yp);F.addMethod("approximately",Yp);function l1(e,t,r,nP,o){let i=Array.from(t),s=Array.from(e);if(!nP){if(s.length!==i.length)return!1;i=i.slice()}return s.every(function(l,u){if(o)return r?r(l,i[u]):l===i[u];if(!r){var d=i.indexOf(l);return d===-1?!1:(nP||i.splice(d,1),!0)}return i.some(function(c,p){return r(l,c)?(nP||i.splice(p,1),!0):!1})})}Q(l1,"isSubsetOf");F.addMethod("members",function(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"message"),o=W(this,"ssfi");new F(r,nP,o,!0).to.be.iterable,new F(e,nP,o,!0).to.be.iterable;var i=W(this,"contains"),s=W(this,"ordered"),l,u,d;i?(l=s?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",d="expected #{this} to not be "+l+" of #{exp}"):(l=s?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",d="expected #{this} to not have the same "+l+" as #{exp}");var c=W(this,"deep")?W(this,"eql"):void 0;this.assert(l1(e,r,c,i,s),u,d,e,r,!0)});F.addProperty("iterable",function(e){e&&W(this,"message",e);var t=W(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function u1(e,t){t&&W(this,"message",t);var r=W(this,"object"),nP=W(this,"message"),o=W(this,"ssfi"),i=W(this,"contains"),s=W(this,"deep"),l=W(this,"eql");new F(e,nP,o,!0).to.be.an("array"),i?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):s?this.assert(e.some(function(u){return l(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}Q(u1,"oneOf");F.addMethod("oneOf",u1);function Kp(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");new F(nP,o,i,!0).is.a("function");var s;t?(new F(e,o,i,!0).to.have.property(t),s=e[t]):(new F(e,o,i,!0).is.a("function"),s=e()),nP();var l=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",l),W(this,"deltaBehavior","change"),W(this,"realDelta",l!==s),this.assert(s!==l,"expected "+u+" to change","expected "+u+" to not change")}Q(Kp,"assertChanges");F.addMethod("change",Kp);F.addMethod("changes",Kp);function Jp(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");new F(nP,o,i,!0).is.a("function");var s;t?(new F(e,o,i,!0).to.have.property(t),s=e[t]):(new F(e,o,i,!0).is.a("function"),s=e()),new F(s,o,i,!0).is.a("number"),nP();var l=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",l),W(this,"deltaBehavior","increase"),W(this,"realDelta",l-s),this.assert(l-s>0,"expected "+u+" to increase","expected "+u+" to not increase")}Q(Jp,"assertIncreases");F.addMethod("increase",Jp);F.addMethod("increases",Jp);function Xp(e,t,r){r&&W(this,"message",r);var nP=W(this,"object"),o=W(this,"message"),i=W(this,"ssfi");new F(nP,o,i,!0).is.a("function");var s;t?(new F(e,o,i,!0).to.have.property(t),s=e[t]):(new F(e,o,i,!0).is.a("function"),s=e()),new F(s,o,i,!0).is.a("number"),nP();var l=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",l),W(this,"deltaBehavior","decrease"),W(this,"realDelta",s-l),this.assert(l-s<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}Q(Xp,"assertDecreases");F.addMethod("decrease",Xp);F.addMethod("decreases",Xp);function c1(e,t){t&&W(this,"message",t);var r=W(this,"deltaMsgObj"),nP=W(this,"initialDeltaValue"),o=W(this,"finalDeltaValue"),i=W(this,"deltaBehavior"),s=W(this,"realDelta"),l;i==="change"?l=Math.abs(o-nP)===Math.abs(e):l=s===Math.abs(e),this.assert(l,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}Q(c1,"assertDelta");F.addMethod("by",c1);F.addProperty("extensible",function(){var e=W(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});F.addProperty("sealed",function(){var e=W(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});F.addProperty("frozen",function(){var e=W(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});F.addProperty("finite",function(e){var t=W(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function to(e,t){return new F(e,t)}Q(to,"expect");to.fail=function(e,t,r,nP){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new ft(r,{actual:e,expected:t,operator:nP},to.fail)};var d1={};bp(d1,{Should:()=>Hj,should:()=>Uj});function Qp(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new F(this.valueOf(),null,e):new F(this,null,e)}Q(e,"shouldGetter");function t(nP){Object.defineProperty(this,"should",{value:nP,enumerable:!0,configurable:!0,writable:!0})}Q(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(nP,o,i,s){throw arguments.length<2&&(i=nP,nP=void 0),i=i||"should.fail()",new ft(i,{actual:nP,expected:o,operator:s},r.fail)},r.equal=function(nP,o,i){new F(nP,i).to.equal(o)},r.Throw=function(nP,o,i,s){new F(nP,s).to.Throw(o,i)},r.exist=function(nP,o){new F(nP,o).to.exist},r.not={},r.not.equal=function(nP,o,i){new F(nP,i).to.not.equal(o)},r.not.Throw=function(nP,o,i,s){new F(nP,s).to.not.Throw(o,i)},r.not.exist=function(nP,o){new F(nP,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}Q(Qp,"loadShould");var Uj=Qp,Hj=Qp;function I(e,t){var r=new F(null,null,I,!0);r.assert(e,t,"[ negation message unavailable ]")}Q(I,"assert");I.fail=function(e,t,r,nP){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new ft(r,{actual:e,expected:t,operator:nP},I.fail)};I.isOk=function(e,t){new F(e,t,I.isOk,!0).is.ok};I.isNotOk=function(e,t){new F(e,t,I.isNotOk,!0).is.not.ok};I.equal=function(e,t,r){var nP=new F(e,r,I.equal,!0);nP.assert(t==Qe(nP,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};I.notEqual=function(e,t,r){var nP=new F(e,r,I.notEqual,!0);nP.assert(t!=Qe(nP,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};I.strictEqual=function(e,t,r){new F(e,r,I.strictEqual,!0).to.equal(t)};I.notStrictEqual=function(e,t,r){new F(e,r,I.notStrictEqual,!0).to.not.equal(t)};I.deepEqual=I.deepStrictEqual=function(e,t,r){new F(e,r,I.deepEqual,!0).to.eql(t)};I.notDeepEqual=function(e,t,r){new F(e,r,I.notDeepEqual,!0).to.not.eql(t)};I.isAbove=function(e,t,r){new F(e,r,I.isAbove,!0).to.be.above(t)};I.isAtLeast=function(e,t,r){new F(e,r,I.isAtLeast,!0).to.be.least(t)};I.isBelow=function(e,t,r){new F(e,r,I.isBelow,!0).to.be.below(t)};I.isAtMost=function(e,t,r){new F(e,r,I.isAtMost,!0).to.be.most(t)};I.isTrue=function(e,t){new F(e,t,I.isTrue,!0).is.true};I.isNotTrue=function(e,t){new F(e,t,I.isNotTrue,!0).to.not.equal(!0)};I.isFalse=function(e,t){new F(e,t,I.isFalse,!0).is.false};I.isNotFalse=function(e,t){new F(e,t,I.isNotFalse,!0).to.not.equal(!1)};I.isNull=function(e,t){new F(e,t,I.isNull,!0).to.equal(null)};I.isNotNull=function(e,t){new F(e,t,I.isNotNull,!0).to.not.equal(null)};I.isNaN=function(e,t){new F(e,t,I.isNaN,!0).to.be.NaN};I.isNotNaN=function(e,t){new F(e,t,I.isNotNaN,!0).not.to.be.NaN};I.exists=function(e,t){new F(e,t,I.exists,!0).to.exist};I.notExists=function(e,t){new F(e,t,I.notExists,!0).to.not.exist};I.isUndefined=function(e,t){new F(e,t,I.isUndefined,!0).to.equal(void 0)};I.isDefined=function(e,t){new F(e,t,I.isDefined,!0).to.not.equal(void 0)};I.isCallable=function(e,t){new F(e,t,I.isCallable,!0).is.callable};I.isNotCallable=function(e,t){new F(e,t,I.isNotCallable,!0).is.not.callable};I.isObject=function(e,t){new F(e,t,I.isObject,!0).to.be.a("object")};I.isNotObject=function(e,t){new F(e,t,I.isNotObject,!0).to.not.be.a("object")};I.isArray=function(e,t){new F(e,t,I.isArray,!0).to.be.an("array")};I.isNotArray=function(e,t){new F(e,t,I.isNotArray,!0).to.not.be.an("array")};I.isString=function(e,t){new F(e,t,I.isString,!0).to.be.a("string")};I.isNotString=function(e,t){new F(e,t,I.isNotString,!0).to.not.be.a("string")};I.isNumber=function(e,t){new F(e,t,I.isNumber,!0).to.be.a("number")};I.isNotNumber=function(e,t){new F(e,t,I.isNotNumber,!0).to.not.be.a("number")};I.isFinite=function(e,t){new F(e,t,I.isFinite,!0).to.be.finite};I.isBoolean=function(e,t){new F(e,t,I.isBoolean,!0).to.be.a("boolean")};I.isNotBoolean=function(e,t){new F(e,t,I.isNotBoolean,!0).to.not.be.a("boolean")};I.typeOf=function(e,t,r){new F(e,r,I.typeOf,!0).to.be.a(t)};I.notTypeOf=function(e,t,r){new F(e,r,I.notTypeOf,!0).to.not.be.a(t)};I.instanceOf=function(e,t,r){new F(e,r,I.instanceOf,!0).to.be.instanceOf(t)};I.notInstanceOf=function(e,t,r){new F(e,r,I.notInstanceOf,!0).to.not.be.instanceOf(t)};I.include=function(e,t,r){new F(e,r,I.include,!0).include(t)};I.notInclude=function(e,t,r){new F(e,r,I.notInclude,!0).not.include(t)};I.deepInclude=function(e,t,r){new F(e,r,I.deepInclude,!0).deep.include(t)};I.notDeepInclude=function(e,t,r){new F(e,r,I.notDeepInclude,!0).not.deep.include(t)};I.nestedInclude=function(e,t,r){new F(e,r,I.nestedInclude,!0).nested.include(t)};I.notNestedInclude=function(e,t,r){new F(e,r,I.notNestedInclude,!0).not.nested.include(t)};I.deepNestedInclude=function(e,t,r){new F(e,r,I.deepNestedInclude,!0).deep.nested.include(t)};I.notDeepNestedInclude=function(e,t,r){new F(e,r,I.notDeepNestedInclude,!0).not.deep.nested.include(t)};I.ownInclude=function(e,t,r){new F(e,r,I.ownInclude,!0).own.include(t)};I.notOwnInclude=function(e,t,r){new F(e,r,I.notOwnInclude,!0).not.own.include(t)};I.deepOwnInclude=function(e,t,r){new F(e,r,I.deepOwnInclude,!0).deep.own.include(t)};I.notDeepOwnInclude=function(e,t,r){new F(e,r,I.notDeepOwnInclude,!0).not.deep.own.include(t)};I.match=function(e,t,r){new F(e,r,I.match,!0).to.match(t)};I.notMatch=function(e,t,r){new F(e,r,I.notMatch,!0).to.not.match(t)};I.property=function(e,t,r){new F(e,r,I.property,!0).to.have.property(t)};I.notProperty=function(e,t,r){new F(e,r,I.notProperty,!0).to.not.have.property(t)};I.propertyVal=function(e,t,r,nP){new F(e,nP,I.propertyVal,!0).to.have.property(t,r)};I.notPropertyVal=function(e,t,r,nP){new F(e,nP,I.notPropertyVal,!0).to.not.have.property(t,r)};I.deepPropertyVal=function(e,t,r,nP){new F(e,nP,I.deepPropertyVal,!0).to.have.deep.property(t,r)};I.notDeepPropertyVal=function(e,t,r,nP){new F(e,nP,I.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};I.ownProperty=function(e,t,r){new F(e,r,I.ownProperty,!0).to.have.own.property(t)};I.notOwnProperty=function(e,t,r){new F(e,r,I.notOwnProperty,!0).to.not.have.own.property(t)};I.ownPropertyVal=function(e,t,r,nP){new F(e,nP,I.ownPropertyVal,!0).to.have.own.property(t,r)};I.notOwnPropertyVal=function(e,t,r,nP){new F(e,nP,I.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};I.deepOwnPropertyVal=function(e,t,r,nP){new F(e,nP,I.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};I.notDeepOwnPropertyVal=function(e,t,r,nP){new F(e,nP,I.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};I.nestedProperty=function(e,t,r){new F(e,r,I.nestedProperty,!0).to.have.nested.property(t)};I.notNestedProperty=function(e,t,r){new F(e,r,I.notNestedProperty,!0).to.not.have.nested.property(t)};I.nestedPropertyVal=function(e,t,r,nP){new F(e,nP,I.nestedPropertyVal,!0).to.have.nested.property(t,r)};I.notNestedPropertyVal=function(e,t,r,nP){new F(e,nP,I.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};I.deepNestedPropertyVal=function(e,t,r,nP){new F(e,nP,I.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};I.notDeepNestedPropertyVal=function(e,t,r,nP){new F(e,nP,I.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};I.lengthOf=function(e,t,r){new F(e,r,I.lengthOf,!0).to.have.lengthOf(t)};I.hasAnyKeys=function(e,t,r){new F(e,r,I.hasAnyKeys,!0).to.have.any.keys(t)};I.hasAllKeys=function(e,t,r){new F(e,r,I.hasAllKeys,!0).to.have.all.keys(t)};I.containsAllKeys=function(e,t,r){new F(e,r,I.containsAllKeys,!0).to.contain.all.keys(t)};I.doesNotHaveAnyKeys=function(e,t,r){new F(e,r,I.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};I.doesNotHaveAllKeys=function(e,t,r){new F(e,r,I.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};I.hasAnyDeepKeys=function(e,t,r){new F(e,r,I.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};I.hasAllDeepKeys=function(e,t,r){new F(e,r,I.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};I.containsAllDeepKeys=function(e,t,r){new F(e,r,I.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};I.doesNotHaveAnyDeepKeys=function(e,t,r){new F(e,r,I.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};I.doesNotHaveAllDeepKeys=function(e,t,r){new F(e,r,I.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};I.throws=function(e,t,r,nP){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new F(e,nP,I.throws,!0).to.throw(t,r);return Qe(o,"object")};I.doesNotThrow=function(e,t,r,nP){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new F(e,nP,I.doesNotThrow,!0).to.not.throw(t,r)};I.operator=function(e,t,r,nP){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 nP=nP&&nP+": ",new ft(nP+'Invalid operator "'+t+'"',void 0,I.operator)}var i=new F(o,nP,I.operator,!0);i.assert(Qe(i,"object")===!0,"expected "+it(e)+" to be "+t+" "+it(r),"expected "+it(e)+" to not be "+t+" "+it(r))};I.closeTo=function(e,t,r,nP){new F(e,nP,I.closeTo,!0).to.be.closeTo(t,r)};I.approximately=function(e,t,r,nP){new F(e,nP,I.approximately,!0).to.be.approximately(t,r)};I.sameMembers=function(e,t,r){new F(e,r,I.sameMembers,!0).to.have.same.members(t)};I.notSameMembers=function(e,t,r){new F(e,r,I.notSameMembers,!0).to.not.have.same.members(t)};I.sameDeepMembers=function(e,t,r){new F(e,r,I.sameDeepMembers,!0).to.have.same.deep.members(t)};I.notSameDeepMembers=function(e,t,r){new F(e,r,I.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};I.sameOrderedMembers=function(e,t,r){new F(e,r,I.sameOrderedMembers,!0).to.have.same.ordered.members(t)};I.notSameOrderedMembers=function(e,t,r){new F(e,r,I.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};I.sameDeepOrderedMembers=function(e,t,r){new F(e,r,I.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};I.notSameDeepOrderedMembers=function(e,t,r){new F(e,r,I.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};I.includeMembers=function(e,t,r){new F(e,r,I.includeMembers,!0).to.include.members(t)};I.notIncludeMembers=function(e,t,r){new F(e,r,I.notIncludeMembers,!0).to.not.include.members(t)};I.includeDeepMembers=function(e,t,r){new F(e,r,I.includeDeepMembers,!0).to.include.deep.members(t)};I.notIncludeDeepMembers=function(e,t,r){new F(e,r,I.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};I.includeOrderedMembers=function(e,t,r){new F(e,r,I.includeOrderedMembers,!0).to.include.ordered.members(t)};I.notIncludeOrderedMembers=function(e,t,r){new F(e,r,I.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};I.includeDeepOrderedMembers=function(e,t,r){new F(e,r,I.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};I.notIncludeDeepOrderedMembers=function(e,t,r){new F(e,r,I.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};I.oneOf=function(e,t,r){new F(e,r,I.oneOf,!0).to.be.oneOf(t)};I.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${it(e)} to be an iterable`:`expected ${it(e)} to be an iterable`,new ft(t,void 0,I.isIterable)};I.changes=function(e,t,r,nP){arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.changes,!0).to.change(t,r)};I.changesBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.changesBy,!0).to.change(t,r).by(nP)};I.doesNotChange=function(e,t,r,nP){return arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.doesNotChange,!0).to.not.change(t,r)};I.changesButNotBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.changesButNotBy,!0).to.change(t,r).but.not.by(nP)};I.increases=function(e,t,r,nP){return arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.increases,!0).to.increase(t,r)};I.increasesBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.increasesBy,!0).to.increase(t,r).by(nP)};I.doesNotIncrease=function(e,t,r,nP){return arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.doesNotIncrease,!0).to.not.increase(t,r)};I.increasesButNotBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.increasesButNotBy,!0).to.increase(t,r).but.not.by(nP)};I.decreases=function(e,t,r,nP){return arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.decreases,!0).to.decrease(t,r)};I.decreasesBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.decreasesBy,!0).to.decrease(t,r).by(nP)};I.doesNotDecrease=function(e,t,r,nP){return arguments.length===3&&typeof t=="function"&&(nP=r,r=null),new F(e,nP,I.doesNotDecrease,!0).to.not.decrease(t,r)};I.doesNotDecreaseBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);return new F(e,o,I.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(nP)};I.decreasesButNotBy=function(e,t,r,nP,o){if(arguments.length===4&&typeof t=="function"){var i=nP;nP=r,o=i}else arguments.length===3&&(nP=r,r=null);new F(e,o,I.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(nP)};I.ifError=function(e){if(e)throw e};I.isExtensible=function(e,t){new F(e,t,I.isExtensible,!0).to.be.extensible};I.isNotExtensible=function(e,t){new F(e,t,I.isNotExtensible,!0).to.not.be.extensible};I.isSealed=function(e,t){new F(e,t,I.isSealed,!0).to.be.sealed};I.isNotSealed=function(e,t){new F(e,t,I.isNotSealed,!0).to.not.be.sealed};I.isFrozen=function(e,t){new F(e,t,I.isFrozen,!0).to.be.frozen};I.isNotFrozen=function(e,t){new F(e,t,I.isNotFrozen,!0).to.not.be.frozen};I.isEmpty=function(e,t){new F(e,t,I.isEmpty,!0).to.be.empty};I.isNotEmpty=function(e,t){new F(e,t,I.isNotEmpty,!0).to.not.be.empty};Q(function e(t,r){return I[r]=I[t],e},"alias")("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");var ay=[];function Ai(e){let t={AssertionError:ft,util:zr,config:or,expect:to,assert:I,Assertion:F,...d1};return~ay.indexOf(e)||(e(t,zr),ay.push(e)),t}Q(Ai,"use");var p1={};gl(p1,{toBeChecked:()=>eE,toBeDisabled:()=>G1,toBeEmpty:()=>N1,toBeEmptyDOMElement:()=>M1,toBeEnabled:()=>W1,toBeInTheDOM:()=>Od,toBeInTheDocument:()=>O1,toBeInvalid:()=>J1,toBePartiallyChecked:()=>rE,toBeRequired:()=>Y1,toBeValid:()=>X1,toBeVisible:()=>$1,toContainElement:()=>Nd,toContainHTML:()=>I1,toHaveAccessibleDescription:()=>Md,toHaveAccessibleErrorMessage:()=>q1,toHaveAccessibleName:()=>Dd,toHaveAttribute:()=>j1,toHaveClass:()=>B1,toHaveDescription:()=>nE,toHaveDisplayValue:()=>Z1,toHaveErrorMessage:()=>oE,toHaveFocus:()=>k1,toHaveFormValues:()=>F1,toHaveRole:()=>Id,toHaveStyle:()=>qd,toHaveTextContent:()=>D1,toHaveValue:()=>Q1});var iy=dr(iv(),1);function f1(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function Zp(e,t,r,nP){Object.defineProperty(e,t,{get:r,set:nP,enumerable:!0,configurable:!0})}var h1={};f1(h1);Zp(h1,"default",()=>m1);var m1=class extends Error{constructor(e,t,r,nP,o){super(e+":"+r+":"+nP+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=nP,this.source=o}},g1={};f1(g1);Zp(g1,"default",()=>b1);var b1=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},zj={};Zp(zj,"CssTypes",()=>Mt);var Mt;(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"})(Mt||(Mt={}));var Jc=/\/\*[^]*?(?:\*\/|$)/g,Vj=(e,t)=>{t=t||{};let r=1,nP=1;function o(le){let se=le.match(/\nP/g);se&&(r+=se.length);let de=le.lastIndexOf(`
|
|
274
|
+
`);nP=~de?le.length-de:nP+le.length}function i(){let le={line:r,column:nP};return function(se){return se.position=new b1(le,{line:r,column:nP},(t==null?void 0:t.source)||""),m(),se}}let s=[];function l(le){let se=new m1((t==null?void 0:t.source)||"",le,r,nP,e);if(t!=null&&t.silent)s.push(se);else throw se}function u(){let le=p();return{type:Mt.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:le,parsingErrors:s}}}function d(){return h(/^{\s*/)}function c(){return h(/^}/)}function p(){let le,se=[];for(m(),g(se);e.length&&e.charAt(0)!=="}"&&(le=Fe()||Oe());)le&&(se.push(le),g(se));return se}function h(le){let se=le.exec(e);if(!se)return;let de=se[0];return o(de),e=e.slice(de.length),se}function m(){h(/^\s*/)}function g(le){let se;for(le=le||[];se=b();)se&&le.push(se);return le}function b(){let le=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let se=h(/^\/\*[^]*?\*\//);return se?le({type:Mt.comment,comment:se[0].slice(2,-2)}):l("End of comment missing")}function y(le,se,de){let Se=se+1,qe=!1,ke=le.indexOf(")",Se);for(;!qe&&ke!==-1;){let ot=le.indexOf("(",Se);ot!==-1&&ot<ke?(Se=y(le,ot+1,de+1)+1,ke=le.indexOf(")",Se)):qe=!0}return qe&&ke!==-1?ke:-1}function E(){let le=h(/^([^{]+)/);if(!le)return;let se=br(le[0]).replace(Jc,"");if(se.indexOf(",")===-1)return[se];let de=0,Se=se.indexOf("(",de);for(;Se!==-1;){let qe=y(se,Se,0);if(qe===-1)break;de=qe+1,se=se.substring(0,Se)+se.substring(Se,qe).replace(/,/g,"\u200C")+se.substring(qe),Se=se.indexOf("(",de)}return se=se.replace(/("|')(?:\\\1|.)*?\1/g,qe=>qe.replace(/,/g,"\u200C")),se.split(",").map(qe=>br(qe.replace(/\u200C/g,",")))}function _(){let le=i(),se=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!se)return;let de=br(se[0]);if(!h(/^:\s*/))return l("property missing ':'");let Se=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),qe=le({type:Mt.declaration,property:de.replace(Jc,""),value:Se?br(Se[0]).replace(Jc,""):""});return h(/^[;\s]*/),qe}function P(){let le=[];if(!d())return l("missing '{'");g(le);let se;for(;se=_();)se&&(le.push(se),g(le));return c()?le:l("missing '}'")}function C(){let le,se=[],de=i();for(;le=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)se.push(le[1]),h(/^,\s*/);if(se.length)return de({type:Mt.keyframe,values:se,declarations:P()||[]})}function w(){let le=i(),se=h(/^@([-\w]+)?keyframes\s*/);if(!se)return;let de=se[1],Se=h(/^([-\w]+)\s*/);if(!Se)return l("@keyframes missing name");let qe=Se[1];if(!d())return l("@keyframes missing '{'");let ke,ot=g();for(;ke=C();)ot.push(ke),ot=ot.concat(g());return c()?le({type:Mt.keyframes,name:qe,vendor:de,keyframes:ot}):l("@keyframes missing '}'")}function S(){let le=i(),se=h(/^@supports *([^{]+)/);if(!se)return;let de=br(se[1]);if(!d())return l("@supports missing '{'");let Se=g().concat(p());return c()?le({type:Mt.supports,supports:de,rules:Se}):l("@supports missing '}'")}function T(){let le=i();if(!h(/^@host\s*/))return;if(!d())return l("@host missing '{'");let se=g().concat(p());return c()?le({type:Mt.host,rules:se}):l("@host missing '}'")}function A(){let le=i(),se=h(/^@container *([^{]+)/);if(!se)return;let de=br(se[1]);if(!d())return l("@container missing '{'");let Se=g().concat(p());return c()?le({type:Mt.container,container:de,rules:Se}):l("@container missing '}'")}function N(){let le=i(),se=h(/^@layer *([^{;@]+)/);if(!se)return;let de=br(se[1]);if(!d())return h(/^[;\s]*/),le({type:Mt.layer,layer:de});let Se=g().concat(p());return c()?le({type:Mt.layer,layer:de,rules:Se}):l("@layer missing '}'")}function U(){let le=i(),se=h(/^@media *([^{]+)/);if(!se)return;let de=br(se[1]);if(!d())return l("@media missing '{'");let Se=g().concat(p());return c()?le({type:Mt.media,media:de,rules:Se}):l("@media missing '}'")}function X(){let le=i(),se=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(se)return le({type:Mt.customMedia,name:br(se[1]),media:br(se[2])})}function V(){let le=i();if(!h(/^@page */))return;let se=E()||[];if(!d())return l("@page missing '{'");let de=g(),Se;for(;Se=_();)de.push(Se),de=de.concat(g());return c()?le({type:Mt.page,selectors:se,declarations:de}):l("@page missing '}'")}function J(){let le=i(),se=h(/^@([-\w]+)?document *([^{]+)/);if(!se)return;let de=br(se[1]),Se=br(se[2]);if(!d())return l("@document missing '{'");let qe=g().concat(p());return c()?le({type:Mt.document,document:Se,vendor:de,rules:qe}):l("@document missing '}'")}function x(){let le=i();if(!h(/^@font-face\s*/))return;if(!d())return l("@font-face missing '{'");let se=g(),de;for(;de=_();)se.push(de),se=se.concat(g());return c()?le({type:Mt.fontFace,declarations:se}):l("@font-face missing '}'")}function B(){let le=i();if(!h(/^@starting-style\s*/))return;if(!d())return l("@starting-style missing '{'");let se=g().concat(p());return c()?le({type:Mt.startingStyle,rules:se}):l("@starting-style missing '}'")}let K=Re("import"),fe=Re("charset"),ce=Re("namespace");function Re(le){let se=new RegExp("^@"+le+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let de=i(),Se=h(se);if(!Se)return;let qe={type:le};return qe[le]=Se[1].trim(),de(qe)}}function Fe(){if(e[0]==="@")return w()||U()||X()||S()||K()||fe()||ce()||J()||V()||T()||x()||A()||B()||N()}function Oe(){let le=i(),se=E();return se?(g(),le({type:Mt.rule,selectors:se,declarations:P()||[]})):l("selector missing")}return xd(u())};function br(e){return e?e.trim():""}function xd(e,t){let r=e&&typeof e.type=="string",nP=r?e:t;for(let o in e){let i=e[o];Array.isArray(i)?i.forEach(s=>{xd(s,nP)}):i&&typeof i=="object"&&xd(i,nP)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var Gj=Vj,Wj=Gj,Yj=Object.prototype.toString;function sy(e){return typeof e=="function"||Yj.call(e)==="[object Function]"}function Kj(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Jj=Math.pow(2,53)-1;function Xj(e){var t=Kj(e);return Math.min(Math.max(t,0),Jj)}function Pr(e,t){var r=Array,nP=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!sy(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Xj(nP.length),i=sy(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=nP[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}function Pi(e){"@babel/helpers - typeof";return Pi=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},Pi(e)}function Qj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ly(e,t){for(var r=0;r<t.length;r++){var nP=t[r];nP.enumerable=nP.enumerable||!1,nP.configurable=!0,"value"in nP&&(nP.writable=!0),Object.defineProperty(e,y1(nP.key),nP)}}function Zj(e,t,r){return t&&ly(e.prototype,t),r&&ly(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function eB(e,t,r){return t=y1(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y1(e){var t=tB(e,"string");return Pi(t)==="symbol"?t:String(t)}function tB(e,t){if(Pi(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var nP=r.call(e,t||"default");if(Pi(nP)!=="object")return nP;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var rB=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Qj(this,e),eB(this,"items",void 0),this.items=t}return Zj(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(nP){return nP!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(nP){t(nP,nP,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),nB=typeof Set>"u"?Set:rB;function Kt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var oB={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",uh:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},aB={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 iB(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 nP;return e.hasAttribute(r)&&!((nP=aB[t])!==null&&nP!==void 0&&nP.has(r))})}function v1(e,t){return iB(e,t)}function sB(e){var t=uB(e);if(t===null||Pd.indexOf(t)!==-1){var r=lB(e);if(Pd.indexOf(t||"")===-1||v1(e,r||""))return r}return t}function lB(e){var t=oB[Kt(e)];if(t!==void 0)return t;switch(Kt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!v1(e,"img")?"presentation":"img";case"input":{var r=e,nP=r.type;switch(nP){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return nP;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 uB(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var Pd=["presentation","none"];function vt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function E1(e){return vt(e)&&Kt(e)==="caption"}function $s(e){return vt(e)&&Kt(e)==="input"}function cB(e){return vt(e)&&Kt(e)==="optgroup"}function dB(e){return vt(e)&&Kt(e)==="select"}function pB(e){return vt(e)&&Kt(e)==="table"}function fB(e){return vt(e)&&Kt(e)==="textarea"}function hB(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function mB(e){return vt(e)&&Kt(e)==="fieldset"}function gB(e){return vt(e)&&Kt(e)==="legend"}function bB(e){return vt(e)&&Kt(e)==="slot"}function yB(e){return vt(e)&&e.ownerSVGElement!==void 0}function vB(e){return vt(e)&&Kt(e)==="svg"}function EB(e){return yB(e)&&Kt(e)==="title"}function tl(e,t){if(vt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),nP=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return nP.getElementById(o)}).filter(function(o){return o!==null})}return[]}function on(e,t){return vt(e)?t.indexOf(sB(e))!==-1:!1}function _B(e){return e.trim().replace(/\s\s+/g," ")}function wB(e,t){if(!vt(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 SB(e){return on(e,["button","combobox","listbox","textbox"])||_1(e,"range")}function _1(e,t){if(!vt(e))return!1;switch(t){case"range":return on(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function uy(e,t){var r=Pr(e.querySelectorAll(t));return tl(e,"aria-owns").forEach(function(nP){r.push.apply(r,Pr(nP.querySelectorAll(t)))}),r}function CB(e){return dB(e)?e.selectedOptions||uy(e,"[selected]"):uy(e,'[aria-selected="true"]')}function AB(e){return on(e,Pd)}function RB(e){return E1(e)}function TB(e){return on(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function xB(e){return!1}function PB(e){return $s(e)||fB(e)?e.value:e.textContent||""}function cy(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function w1(e){var t=Kt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function S1(e){if(w1(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&vt(r)){var nP=S1(r);nP!==null&&(t=nP)}}),t}function OB(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):S1(e)}function NB(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Pr(t);if(!w1(e))return null;var r=e.ownerDocument;return Pr(r.querySelectorAll("label")).filter(function(nP){return OB(nP)===e})}function MB(e){var t=e.assignedNodes();return t.length===0?Pr(e.childNodes):t}function C1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new nB,nP=hB(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,d=u===void 0?nP.getComputedStyle.bind(nP):u,c=t.hidden,p=c===void 0?!1:c;function h(E,_){var P="";if(vt(E)&&l){var C=d(E,"::before"),w=cy(C);P="".concat(w," ").concat(P)}var S=bB(E)?MB(E):Pr(E.childNodes).concat(tl(E,"aria-owns"));if(S.forEach(function(N){var U=y(N,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),X=vt(N)?d(N).getPropertyValue("display"):"inline",V=X!=="inline"?" ":"";P+="".concat(V).concat(U).concat(V)}),vt(E)&&l){var T=d(E,"::after"),A=cy(T);P="".concat(P," ").concat(A)}return P.trim()}function m(E,_){var P=E.getAttributeNode(_);return P!==null&&!r.has(P)&&P.value.trim()!==""?(r.add(P),P.value):null}function g(E){return vt(E)?m(E,"title"):null}function b(E){if(!vt(E))return null;if(mB(E)){r.add(E);for(var _=Pr(E.childNodes),P=0;P<_.length;P+=1){var C=_[P];if(gB(C))return y(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(pB(E)){r.add(E);for(var w=Pr(E.childNodes),S=0;S<w.length;S+=1){var T=w[S];if(E1(T))return y(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(vB(E)){r.add(E);for(var A=Pr(E.childNodes),N=0;N<A.length;N+=1){var U=A[N];if(EB(U))return U.textContent}return null}else if(Kt(E)==="img"||Kt(E)==="area"){var X=m(E,"alt");if(X!==null)return X}else if(cB(E)){var V=m(E,"label");if(V!==null)return V}if($s(E)&&(E.type==="button"||E.type==="submit"||E.type==="reset")){var J=m(E,"value");if(J!==null)return J;if(E.type==="submit")return"Submit";if(E.type==="reset")return"Reset"}var x=NB(E);if(x!==null&&x.length!==0)return r.add(E),Pr(x).map(function(ce){return y(ce,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ce){return ce.length>0}).join(" ");if($s(E)&&E.type==="image"){var B=m(E,"alt");if(B!==null)return B;var K=m(E,"title");return K!==null?K:"Submit Query"}if(on(E,["button"])){var fe=h(E,{isEmbeddedInLabel:!1,isReferenced:!1});if(fe!=="")return fe}return null}function y(E,_){if(r.has(E))return"";if(!p&&wB(E,d)&&!_.isReferenced)return r.add(E),"";var P=vt(E)?E.getAttributeNode("aria-labelledby"):null,C=P!==null&&!r.has(P)?tl(E,"aria-labelledby"):[];if(i==="name"&&!_.isReferenced&&C.length>0)return r.add(P),C.map(function(X){return y(X,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var w=_.recursion&&SB(E)&&i==="name";if(!w){var S=(vt(E)&&E.getAttribute("aria-label")||"").trim();if(S!==""&&i==="name")return r.add(E),S;if(!AB(E)){var T=b(E);if(T!==null)return r.add(E),T}}if(on(E,["menu"]))return r.add(E),"";if(w||_.isEmbeddedInLabel||_.isReferenced){if(on(E,["combobox","listbox"])){r.add(E);var A=CB(E);return A.length===0?$s(E)?E.value:"":Pr(A).map(function(X){return y(X,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(_1(E,"range"))return r.add(E),E.hasAttribute("aria-valuetext")?E.getAttribute("aria-valuetext"):E.hasAttribute("aria-valuenow")?E.getAttribute("aria-valuenow"):E.getAttribute("value")||"";if(on(E,["textbox"]))return r.add(E),PB(E)}if(TB(E)||vt(E)&&_.isReferenced||RB(E)||xB(E)){var N=h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});if(N!=="")return r.add(E),N}if(E.nodeType===E.TEXT_NODE)return r.add(E),E.textContent||"";if(_.recursion)return r.add(E),h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});var U=g(E);return U!==null?(r.add(E),U):(r.add(E),"")}return _B(y(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function Oi(e){"@babel/helpers - typeof";return Oi=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},Oi(e)}function dy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var nP=Object.getOwnPropertySymbols(e);t&&(nP=nP.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,nP)}return r}function py(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dy(Object(r),!0).forEach(function(nP){IB(e,nP,r[nP])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dy(Object(r)).forEach(function(nP){Object.defineProperty(e,nP,Object.getOwnPropertyDescriptor(r,nP))})}return e}function IB(e,t,r){return t=DB(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DB(e){var t=qB(e,"string");return Oi(t)==="symbol"?t:String(t)}function qB(e,t){if(Oi(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var nP=r.call(e,t||"default");if(Oi(nP)!=="object")return nP;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=tl(e,"aria-describedby").map(function(i){return C1(i,py(py({},t),{},{compute:"description"}))}).join(" ");if(r===""){var nP=e.getAttribute("aria-description");r=nP===null?"":nP}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function BB(e){return on(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function kB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return BB(e)?"":C1(e,t)}var ef=dr(pp(),1),FB=dr(lv(),1),A1=dr(vv(),1),LB=dr(Ev(),1),R1=class extends Error{constructor(e,t,r,nP){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=nP.utils.printWithType("Received",t,nP.utils.printReceived)}catch{}this.message=[nP.utils.matcherHint(`${nP.isNot?".not":""}.${r.name}`,"received",""),"",`${nP.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(`
|
|
275
275
|
`)}},fy=class extends R1{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},hy=class extends R1{constructor(...e){super("be a Node",...e)}};function T1(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function $B(e,...t){T1(e,hy,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new hy(e,...t)}function ht(e,...t){T1(e,fy,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new fy(e,...t)}var UB=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(`
|
|
276
276
|
`)}};function HB(e,...t){let r=Wj(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:nP,line:o}=r.parsingErrors[0];throw new UB({css:e,message:`Syntax error parsing expected css: ${nP} on line: ${o}`},...t)}return r.rules[0].declarations.filter(nP=>nP.type==="declaration").reduce((nP,{property:o,value:i})=>Object.assign(nP,{[o]:i}),{})}function my(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Wt(e,t,r,nP,o,i){return[`${t}
|
|
277
277
|
`,`${r}:
|
|
278
278
|
${e.utils.EXPECTED_COLOR((0,iy.default)(my(e,nP),2))}`,`${o}:
|
|
279
279
|
${e.utils.RECEIVED_COLOR((0,iy.default)(my(e,i),2))}`].join(`
|
|
280
|
-
`)}function zB(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function
|
|
280
|
+
`)}function zB(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Dl(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function ql(e){return e.replace(/\s+/g," ").trim()}function Dn(e){return e.tagName&&e.tagName.toLowerCase()}function VB({multiple:e,options:t}){let r=[...t].filter(nP=>nP.selected);if(e)return[...r].map(nP=>nP.value);if(r.length!==0)return r[0].value}function GB(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var WB=["meter","progressbar","slider","spinbutton"];function YB(e){if(WB.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function x1(e){var t;if(e)switch(e.tagName.toLowerCase()){case"input":return GB(e);case"select":return VB(e);default:return(t=e.value)!=null?t:YB(e)}}function KB(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function P1(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function Od(e,t){return Dl("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&ht(e,Od,this),t&&ht(t,Od,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(`
|
|
281
281
|
`)}}function O1(e){(e!==null||!this.isNot)&&ht(e,O1,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`,nP=()=>"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():nP())].join(`
|
|
282
|
-
`)}}function N1(e){return
|
|
282
|
+
`)}}function N1(e){return Dl("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),ht(e,N1,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
283
283
|
`)}}function M1(e){return ht(e,M1,this),{pass:JB(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
284
|
-
`)}}function JB(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function
|
|
284
|
+
`)}}function JB(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function Nd(e,t){return ht(e,Nd,this),t!==null&&ht(t,Nd,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))}
|
|
285
285
|
`)].join(`
|
|
286
286
|
`)}}function XB(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function I1(e,t){if(ht(e,I1,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(XB(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(`
|
|
287
|
-
`)}}function D1(e,t,r={normalizeWhitespace:!0}){$B(e,D1,this);let nP=r.normalizeWhitespace?
|
|
287
|
+
`)}}function D1(e,t,r={normalizeWhitespace:!0}){$B(e,D1,this);let nP=r.normalizeWhitespace?ql(e.textContent):e.textContent.replace(/\u00a0/g," "),o=nP!==""&&t==="";return{pass:!o&&zB(nP,t),message:()=>{let i=this.isNot?"not to":"to";return Wt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${i} have text content`,t,"Received",nP)}}}function Md(e,t){ht(e,Md,this);let r=jB(e),nP=arguments.length===1,o=!1;return nP?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return Wt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Md.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)}}}var yi="aria-invalid",QB=["false"];function q1(e,t){var l,u;ht(e,q1,this);let r=this.isNot?"not to":"to",nP=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return{pass:!1,message:()=>Wt(this,this.utils.matcherHint(nP,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let i=e.getAttribute(yi);if(!e.hasAttribute(yi)||QB.includes(i))return{pass:!1,message:()=>Wt(this,this.utils.matcherHint(nP,"element"),"Expected element to be marked as invalid with attribute",`${yi}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${yi}="${e.getAttribute(yi)}`:null)};let s=ql((u=(l=e.ownerDocument.getElementById(o))==null?void 0:l.textContent)!=null?u:"");return{pass:t===void 0?!!s:t instanceof RegExp?t.test(s):this.equals(s,t),message:()=>Wt(this,this.utils.matcherHint(nP,"element"),`Expected element ${r} have accessible error message`,t!=null?t:"","Received",s)}}var ZB=rk(ef.elementRoles);function Id(e,t){ht(e,Id,this);let r=ek(e);return{pass:r.some(nP=>nP===t),message:()=>{let nP=this.isNot?"not to":"to";return Wt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Id.name}`,"element",""),`Expected element ${nP} have role`,t,"Received",r.join(", "))}}}function ek(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):tk(e)}function tk(e){for(let{match:t,roles:r}of ZB)if(t(e))return[...r];return[]}function rk(e){function t({name:s,attributes:l}){return`${s}${l.map(({name:u,value:d,constraints:c=[]})=>c.indexOf("undefined")!==-1?`:not([${u}])`:d?`[${u}="${d}"]`:`[${u}]`).join("")}`}function r({attributes:s=[]}){return s.length}function nP({specificity:s},{specificity:l}){return l-s}function o(s){let{attributes:l=[]}=s,u=l.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let d=t({...s,attributes:l});return c=>u>=0&&c.type!=="text"?!1:c.matches(d)}let i=[];for(let[s,l]of e.entries())i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}];return i.sort(nP)}function Dd(e,t){ht(e,Dd,this);let r=kB(e),nP=arguments.length===1,o=!1;return nP?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return Wt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Dd.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)}}}function gy(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function nk(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function j1(e,t,r){ht(e,j1,this);let nP=r!==void 0,o=e.hasAttribute(t),i=e.getAttribute(t);return{pass:nP?o&&this.equals(i,r):o,message:()=>{let s=this.isNot?"not to":"to",l=o?gy(this.utils.stringify,t,i):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:nP?this.utils.printExpected(r):void 0,comment:nk(this.utils.stringify,t,r)});return Wt(this,u,`Expected the element ${s} have attribute`,gy(this.utils.stringify,t,r),"Received",l)}}}function ok(e){let t=e.pop(),r,nP;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,nP=t):(r=e.concat(t),nP={exact:!1}),{expectedClassNames:r,options:nP}}function by(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function yy(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(nP=>r.test(nP)))}function B1(e,...t){ht(e,B1,this);let{expectedClassNames:r,options:nP}=ok(t),o=by(e.getAttribute("class")),i=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?by(u):u),[]),s=i.some(l=>l instanceof RegExp);if(nP.exact&&s)throw new Error("Exact option does not support RegExp expected class names");return nP.exact?{pass:yy(i,o)&&i.length===o.length,message:()=>{let l=this.isNot?"not to":"to";return Wt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,i.join(" "),"Received",o.join(" "))}}:i.length>0?{pass:yy(i,o),message:()=>{let l=this.isNot?"not to":"to";return Wt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have class`,i.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?Wt(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(`
|
|
288
288
|
`)}}function ak(e,t){let r={},nP=e.createElement("div");return Object.keys(t).forEach(o=>{nP.style[o]=t[o],r[o]=nP.style[o]}),r}function ik(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,nP])=>{let o=r.startsWith("--"),i=[r];return o||i.push(r.toLowerCase()),i.some(s=>t[s]===nP||t.getPropertyValue(s)===nP)})}function vy(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
289
289
|
`)}function sk(e,t,r){let nP=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,i)=>Object.assign(o,{[i]:r.getPropertyValue(i)}),{});return e(vy(t),vy(nP)).replace(`${FB.default.red("+ Received")}
|
|
290
|
-
`,"")}function
|
|
290
|
+
`,"")}function qd(e,t){ht(e,qd,this);let r=typeof t=="object"?t:HB(t,qd,this),{getComputedStyle:nP}=e.ownerDocument.defaultView,o=ak(e.ownerDocument,r),i=nP(e);return{pass:ik(o,i),message:()=>{let s=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(s,"element",""),sk(this.utils.diff,o,i)].join(`
|
|
291
291
|
|
|
292
292
|
`)}}}function k1(e){return ht(e,k1,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(`
|
|
293
293
|
`)}}function lk(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(nP=>nP.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 uk(e,t){let r=[...e.querySelectorAll(`[name="${(0,LB.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return x1(r[0]);default:return lk(r)}}function ck(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function dk(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[ck(r)]:uk(e,r)}),{})}function F1(e,t){if(ht(e,F1,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=dk(e);return{pass:Object.entries(t).every(([nP,o])=>(0,A1.default)(r[nP],o,P1)),message:()=>{let nP=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(s=>t.hasOwnProperty(s)).reduce((s,l)=>({...s,[l]:r[l]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${nP} have form values`,this.utils.diff(t,i)].join(`
|
|
@@ -299,19 +299,19 @@ ${e.utils.RECEIVED_COLOR((0,iy.default)(my(e,i),2))}`].join(`
|
|
|
299
299
|
`)}}}var Ak=["form","input","select","textarea"];function Rk(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function Tk(e){return Ak.includes(Dn(e))}function K1(e){let t=Rk(e);return Tk(e)?t||!e.checkValidity():t}function J1(e){ht(e,J1,this);let t=K1(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(`
|
|
300
300
|
`)}}}function X1(e){ht(e,X1,this);let t=!K1(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(`
|
|
301
301
|
`)}}}function Q1(e,t){if(ht(e,Q1,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=x1(e),nP=t!==void 0,o=t,i=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:nP?(0,A1.default)(r,t,P1):!!r,message:()=>{let s=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Wt(this,l,`Expected the element ${s} have value`,nP?o:"(any)","Received",i)}}}function Z1(e,t){ht(e,Z1,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 nP=xk(r,e),o=Pk(t),i=o.filter(u=>nP.some(d=>u instanceof RegExp?u.test(d):this.equals(d,String(u)))).length,s=i===nP.length,l=i===o.length;return{pass:s&&l,message:()=>Wt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",nP)}}function xk(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function Pk(e){return e instanceof Array?e:[e]}function eE(e){ht(e,eE,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>tE(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 ${Ok()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let nP=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:nP(),message:()=>{let o=nP()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
302
|
-
`)}}}function Ok(){return KB(Nk().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function Nk(){return
|
|
303
|
-
`)}}}function nE(e,t){
|
|
304
|
-
`)}function lE(e,t){let r=e.getAttributeNames(),nP=e.tagName.toLowerCase(),o=t.stylize(`<${nP}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${nP}>`,"special");t.truncate-=nP.length*2+5;let l="";r.length>0&&(l+=" ",l+=Ir(r.map(c=>[c,e.getAttribute(c)]),t,oF," ")),t.truncate-=l.length;let u=t.truncate,d=
|
|
305
|
-
`)&&(p=r.spacingOuter+l+p+r.spacingOuter+nP),p=`{${p}}`),`${r.spacingInner+nP+u.prop.open+d+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function sf(e,t,r,nP,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?dE(s,t):i(s,t,r,nP,o))).join("")}function dE(e,t){let r=t.colors.content;return r.open+cE(e)+r.close}function AF(e,t){let r=t.colors.comment;return`${r.open}<!--${cE(e)}-->${r.close}`}function lf(e,t,r,nP,o){let i=nP.colors.tag;return`${i.open}<${e}${t&&i.close+t+nP.spacingOuter+o+i.open}${r?`>${i.close}${r}${nP.spacingOuter}${o}${i.open}</${e}`:`${t&&!nP.min?"":" "}/`}>${i.close}`}function uf(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var RF=1,pE=3,fE=8,hE=11,TF=/^(?:(?:HTML|SVG)\w*)?Element$/;function xF(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function PF(e){let t=e.constructor.name,{nodeType:r,tagName:nP}=e,o=typeof nP=="string"&&nP.includes("-")||xF(e);return r===RF&&(TF.test(t)||o)||r===pE&&t==="Text"||r===fE&&t==="Comment"||r===hE&&t==="DocumentFragment"}var OF=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&PF(e)};function NF(e){return e.nodeType===pE}function MF(e){return e.nodeType===fE}function td(e){return e.nodeType===hE}var IF=(e,t,r,nP,o,i)=>{if(NF(e))return dE(e.data,t);if(MF(e))return AF(e.data,t);let s=td(e)?"DocumentFragment":e.tagName.toLowerCase();return++nP>t.maxDepth?uf(s,t):lf(s,af(td(e)?[]:Array.from(e.attributes,l=>l.name).sort(),td(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,nP,o,i),sf(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,nP,o,i),t,r)},DF={serialize:IF,test:OF},qF="@@__IMMUTABLE_ITERABLE__@@",jF="@@__IMMUTABLE_LIST__@@",BF="@@__IMMUTABLE_KEYED__@@",kF="@@__IMMUTABLE_MAP__@@",Ny="@@__IMMUTABLE_ORDERED__@@",FF="@@__IMMUTABLE_RECORD__@@",LF="@@__IMMUTABLE_SEQ__@@",$F="@@__IMMUTABLE_SET__@@",UF="@@__IMMUTABLE_STACK__@@",Da=e=>`Immutable.${e}`,kl=e=>`[${e}]`,Mi=" ",My="\u2026";function HF(e,t,r,nP,o,i,s){return++nP>t.maxDepth?kl(Da(s)):`${Da(s)+Mi}{${Bl(e.entries(),t,r,nP,o,i)}}`}function zF(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 VF(e,t,r,nP,o,i){let s=Da(e._name||"Record");return++nP>t.maxDepth?kl(s):`${s+Mi}{${Bl(zF(e),t,r,nP,o,i)}}`}function GF(e,t,r,nP,o,i){let s=Da("Seq");return++nP>t.maxDepth?kl(s):e[BF]?`${s+Mi}{${e._iter||e._object?Bl(e.entries(),t,r,nP,o,i):My}}`:`${s+Mi}[${e._iter||e._array||e._collection||e._iterable?nf(e.values(),t,r,nP,o,i):My}]`}function rd(e,t,r,nP,o,i,s){return++nP>t.maxDepth?kl(Da(s)):`${Da(s)+Mi}[${nf(e.values(),t,r,nP,o,i)}]`}var WF=(e,t,r,nP,o,i)=>e[kF]?HF(e,t,r,nP,o,i,e[Ny]?"OrderedMap":"Map"):e[jF]?rd(e,t,r,nP,o,i,"List"):e[$F]?rd(e,t,r,nP,o,i,e[Ny]?"OrderedSet":"Set"):e[UF]?rd(e,t,r,nP,o,i,"Stack"):e[LF]?GF(e,t,r,nP,o,i):VF(e,t,r,nP,o,i),YF=e=>e&&(e[qF]===!0||e[FF]===!0),KF={serialize:WF,test:YF},$d={exports:{}},ct={},Iy;function JF(){if(Iy)return ct;Iy=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),nP=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function b(y){if(typeof y=="object"&&y!==null){var E=y.$$typeof;switch(E){case e:switch(y=y.type,y){case r:case o:case nP:case d:case c:return y;default:switch(y=y&&y.$$typeof,y){case l:case s:case u:case h:case p:case i:return y;default:return E}}case t:return E}}}return ct.ContextConsumer=s,ct.ContextProvider=i,ct.Element=e,ct.ForwardRef=u,ct.Fragment=r,ct.Lazy=h,ct.Memo=p,ct.Portal=t,ct.Profiler=o,ct.StrictMode=nP,ct.Suspense=d,ct.SuspenseList=c,ct.isAsyncMode=function(){return!1},ct.isConcurrentMode=function(){return!1},ct.isContextConsumer=function(y){return b(y)===s},ct.isContextProvider=function(y){return b(y)===i},ct.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},ct.isForwardRef=function(y){return b(y)===u},ct.isFragment=function(y){return b(y)===r},ct.isLazy=function(y){return b(y)===h},ct.isMemo=function(y){return b(y)===p},ct.isPortal=function(y){return b(y)===t},ct.isProfiler=function(y){return b(y)===o},ct.isStrictMode=function(y){return b(y)===nP},ct.isSuspense=function(y){return b(y)===d},ct.isSuspenseList=function(y){return b(y)===c},ct.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===nP||y===d||y===c||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===h||y.$$typeof===p||y.$$typeof===i||y.$$typeof===s||y.$$typeof===u||y.$$typeof===g||y.getModuleId!==void 0)},ct.typeOf=b,ct}var pt={},Dy;function XF(){return Dy||(Dy=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),nP=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=!1,b=!1,y=!1,E=!1,_=!1,P;P=Symbol.for("react.module.reference");function C(ae){return!!(typeof ae=="string"||typeof ae=="function"||ae===r||ae===o||_||ae===nP||ae===d||ae===c||E||ae===m||g||b||y||typeof ae=="object"&&ae!==null&&(ae.$$typeof===h||ae.$$typeof===p||ae.$$typeof===i||ae.$$typeof===s||ae.$$typeof===u||ae.$$typeof===P||ae.getModuleId!==void 0))}function w(ae){if(typeof ae=="object"&&ae!==null){var ye=ae.$$typeof;switch(ye){case e:var $e=ae.type;switch($e){case r:case o:case nP:case d:case c:return $e;default:var lt=$e&&$e.$$typeof;switch(lt){case l:case s:case u:case h:case p:case i:return lt;default:return ye}}case t:return ye}}}var S=s,T=i,A=e,N=u,U=r,X=h,V=p,J=t,x=o,B=nP,K=d,fe=c,ce=!1,Re=!1;function Fe(ae){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Oe(ae){return Re||(Re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function le(ae){return w(ae)===s}function se(ae){return w(ae)===i}function de(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===e}function Se(ae){return w(ae)===u}function qe(ae){return w(ae)===r}function ke(ae){return w(ae)===h}function ot(ae){return w(ae)===p}function Ot(ae){return w(ae)===t}function Y(ae){return w(ae)===o}function Pe(ae){return w(ae)===nP}function Le(ae){return w(ae)===d}function nt(ae){return w(ae)===c}pt.ContextConsumer=S,pt.ContextProvider=T,pt.Element=A,pt.ForwardRef=N,pt.Fragment=U,pt.Lazy=X,pt.Memo=V,pt.Portal=J,pt.Profiler=x,pt.StrictMode=B,pt.Suspense=K,pt.SuspenseList=fe,pt.isAsyncMode=Fe,pt.isConcurrentMode=Oe,pt.isContextConsumer=le,pt.isContextProvider=se,pt.isElement=de,pt.isForwardRef=Se,pt.isFragment=qe,pt.isLazy=ke,pt.isMemo=ot,pt.isPortal=Ot,pt.isProfiler=Y,pt.isStrictMode=Pe,pt.isSuspense=Le,pt.isSuspenseList=nt,pt.isValidElementType=C,pt.typeOf=w}()),pt}process.env.NODE_ENV==="production"?$d.exports=JF():$d.exports=XF();var Qn=$d.exports;function mE(e,t=[]){if(Array.isArray(e))for(let r of e)mE(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function qy(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Qn.isFragment(e))return"React.Fragment";if(Qn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Qn.isContextProvider(e))return"Context.Provider";if(Qn.isContextConsumer(e))return"Context.Consumer";if(Qn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Qn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function QF(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var ZF=(e,t,r,nP,o,i)=>++nP>t.maxDepth?uf(qy(e),t):lf(qy(e),af(QF(e),e.props,t,r+t.indent,nP,o,i),sf(mE(e.props.children),t,r+t.indent,nP,o,i),t,r),eL=e=>e!=null&&Qn.isElement(e),tL={serialize:ZF,test:eL},rL=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function nL(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var oL=(e,t,r,nP,o,i)=>++nP>t.maxDepth?uf(e.type,t):lf(e.type,e.props?af(nL(e),e.props,t,r+t.indent,nP,o,i):"",e.children?sf(e.children,t,r+t.indent,nP,o,i):"",t,r),aL=e=>e&&e.$$typeof===rL,iL={serialize:oL,test:aL},gE=Object.prototype.toString,sL=Date.prototype.toISOString,lL=Error.prototype.toString,jy=RegExp.prototype.toString;function nd(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function uL(e){return typeof window<"u"&&e===window}var cL=/^Symbol\((.*)\)(.*)$/,dL=/\nP/g,bE=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function pL(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 fL(e){return Object.is(e,-0)?"-0":String(e)}function hL(e){return`${e}nP`}function By(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function ky(e){return String(e).replace(cL,"Symbol($1)")}function Fy(e){return`[${lL.call(e)}]`}function yE(e,t,r,nP){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 fL(e);if(o==="bigint")return hL(e);if(o==="string")return nP?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return By(e,t);if(o==="symbol")return ky(e);let i=gE.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?By(e,t):i==="[object Symbol]"?ky(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":sL.call(e):i==="[object Error]"?Fy(e):i==="[object RegExp]"?r?jy.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):jy.call(e):e instanceof Error?Fy(e):null}function vE(e,t,r,nP,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++nP>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Nn(e.toJSON(),t,r,nP,o,!0);let u=gE.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${nl(e,t,r,nP,o,Nn)}]`:pL(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${nl(e,t,r,nP,o,Nn)}]`:u==="[object Map]"?s?"[Map]":`Map {${Bl(e.entries(),t,r,nP,o,Nn," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${nf(e.values(),t,r,nP,o,Nn)}}`:s||uL(e)?`[${nd(e)}]`:`${l||!t.printBasicPrototype&&nd(e)==="Object"?"":`${nd(e)} `}{${of(e,t,r,nP,o,Nn)}}`}function mL(e){return e.serialize!=null}function EE(e,t,r,nP,o,i){let s;try{s=mL(e)?e.serialize(t,r,nP,o,i,Nn):e.print(t,l=>Nn(l,r,nP,o,i),l=>{let u=nP+r.indent;return u+l.replaceAll(dL,`
|
|
306
|
-
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new bE(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function _E(e,t){for(let r of e)try{if(r.test(t))return r}catch(nP){throw new bE(nP.message,nP.stack)}return null}function Nn(e,t,r,nP,o,i){let s=_E(t.plugins,e);if(s!==null)return EE(s,e,t,r,nP,o);let l=yE(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:vE(e,t,r,nP,o,i)}var
|
|
302
|
+
`)}}}function Ok(){return KB(Nk().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function Nk(){return ef.roles.keys().filter(tE)}function tE(e){var t;return((t=ef.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function rE(e){ht(e,rE,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 nP=()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return{pass:nP(),message:()=>{let o=nP()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
303
|
+
`)}}}function nE(e,t){Dl("toHaveDescription","Please use toHaveAccessibleDescription."),ht(e,nE,this);let r=t!==void 0,nP=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(nP.length>0){let i=e.ownerDocument,s=nP.map(l=>i.getElementById(l)).filter(Boolean);o=ql(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return Wt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function oE(e,t){if(Dl("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),ht(e,oE,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:()=>Wt(this,this.utils.matcherHint(`${i}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,nP=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(nP.length>0){let i=e.ownerDocument,s=nP.map(l=>i.getElementById(l)).filter(Boolean);o=ql(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return Wt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${i} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}var s8=dr(iv(),1),l8=dr(pp(),1),u8=dr(lv(),1),c8=dr(vv(),1),d8=dr(Ev(),1);function rn(e,t,r){let nP=typeof e;if(!r.includes(nP))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${nP}"`)}function Us(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function Mk(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function jd(e){return Object.prototype.toString.apply(e).slice(8,-1)}function Ik(e,t){let r=typeof t=="function"?t:nP=>t.add(nP);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function aE(e){let t=new Set;return Mk(e)?[]:(Ik(e,t),Array.from(t))}var iE={forceWritable:!1};function Ey(e,t=iE){return Bd(e,new WeakMap,t)}function Bd(e,t,r=iE){let nP,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array(nP=e.length),t.set(e,o);nP--;)o[nP]=Bd(e[nP],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=aE(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=Bd(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,s,{...l,get(){return u}}):Object.defineProperty(o,s,{...l,value:u})}return o}return e}var _y={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"]},Dk={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Ia="\u2026";function qk(e,t){let r=_y[Dk[t]]||_y[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function jk({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:nP=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:d=String}={},c){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!nP,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:c,stylize:d};return p.colors&&(p.stylize=qk),p}function Bk(e){return e>="\uD800"&&e<="\uDBFF"}function kn(e,t,r=Ia){e=String(e);let nP=r.length,o=e.length;if(nP>t&&o>nP)return r;if(o>t&&o>nP){let i=t-nP;return i>0&&Bk(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Ir(e,t,r,nP=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let d=0;d<o;d+=1){let c=d+1===e.length,p=d+2===e.length;u=`${Ia}(${e.length-d})`;let h=e[d];t.truncate=i-s.length-(c?0:nP.length);let m=l||r(h,t)+(c?"":nP),g=s.length+m.length,b=g+u.length;if(c&&g>i&&s.length+u.length<=i||!c&&!p&&b>i||(l=c?"":r(e[d+1],t)+(p?"":nP),!c&&p&&b>i&&g+l.length>i))break;if(s+=m,!c&&!p&&g+l.length>=i){u=`${Ia}(${e.length-d-1})`;break}u=""}return`${s}${u}`}function kk(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Ni([e,t],r){return r.truncate-=2,typeof e=="string"?e=kk(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function Fk(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let nP=Ir(e,t);t.truncate-=nP.length;let o="";return r.length&&(o=Ir(r.map(i=>[i,e[i]]),t,Ni)),`[ ${nP}${o?`, ${o}`:""} ]`}var Lk=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function nn(e,t){let r=Lk(e);t.truncate-=r.length+4;let nP=Object.keys(e).slice(e.length);if(!e.length&&!nP.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(kn(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${Ia}(${e.length-e[s]+1})`;break}o+=l}let i="";return nP.length&&(i=Ir(nP.map(s=>[s,e[s]]),t,Ni)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function $k(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let nP=r.split("T"),o=nP[0];return t.stylize(`${o}T${kn(nP[1],t.truncate-o.length-1)}`,"date")}function wy(e,t){let r=e[Symbol.toStringTag]||"Function",nP=e.name;return nP?t.stylize(`[${r} ${kn(nP,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function Uk([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function Hk(e){let t=[];return e.forEach((r,nP)=>{t.push([nP,r])}),t}function zk(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Ir(Hk(e),t,Uk)} }`)}var Vk=Number.isNaN||(e=>e!==e);function Sy(e,t){return Vk(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(kn(String(e),t.truncate),"number")}function Cy(e,t){let r=kn(e.toString(),t.truncate-1);return r!==Ia&&(r+="nP"),t.stylize(r,"bigint")}function Gk(e,t){let r=e.toString().split("/")[2],nP=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${kn(o,nP)}/${r}`,"regexp")}function Wk(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function Yk(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ir(Wk(e),t)} }`)}var Ay=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Kk={"\b":"\\b"," ":"\\t","\nP":"\\nP","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Jk=16,Xk=4;function Qk(e){return Kk[e]||`\\u${`0000${e.charCodeAt(0).toString(Jk)}`.slice(-Xk)}`}function Ry(e,t){return Ay.test(e)&&(e=e.replace(Ay,Qk)),t.stylize(`'${kn(e,t.truncate-2)}'`,"string")}function Ty(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var sE=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(sE=(nP,o)=>{let[i,s]=e(nP);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`})}catch{}var Zk=sE;function Hs(e,t){let r=Object.getOwnPropertyNames(e),nP=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&nP.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=Ir(r.map(l=>[l,e[l]]),t,Ni),i=Ir(nP.map(l=>[l,e[l]]),t,Ni);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}var Xc=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function eF(e,t){let r="";return Xc&&Xc in e&&(r=e[Xc]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Hs(e,t)}`}function tF(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ir(e,t)} ]`)}var rF=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function nF(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>rF.indexOf(s)===-1),nP=e.name;t.truncate-=nP.length;let o="";typeof e.message=="string"?o=kn(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=Ir(r.map(s=>[s,e[s]]),t,Ni);return`${nP}${o}${i?` { ${i} }`:""}`}function oF([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function kd(e,t){return Ir(e,t,lE,`
|
|
304
|
+
`)}function lE(e,t){let r=e.getAttributeNames(),nP=e.tagName.toLowerCase(),o=t.stylize(`<${nP}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${nP}>`,"special");t.truncate-=nP.length*2+5;let l="";r.length>0&&(l+=" ",l+=Ir(r.map(c=>[c,e.getAttribute(c)]),t,oF," ")),t.truncate-=l.length;let u=t.truncate,d=kd(e.children,t);return d&&d.length>u&&(d=`${Ia}(${e.children.length})`),`${o}${l}${i}${d}${s}`}var aF=typeof Symbol=="function"&&typeof Symbol.for=="function",Qc=aF?Symbol.for("chai/inspect"):"@@chai/inspect",Sa=!1;try{let e=require("util");Sa=e.inspect?e.inspect.custom:!1}catch{Sa=!1}var xy=new WeakMap,Py={},Oy={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:Sy,Number:Sy,bigint:Cy,BigInt:Cy,string:Ry,String:Ry,function:wy,Function:wy,symbol:Ty,Symbol:Ty,Array:Fk,Date:$k,Map:zk,Set:Yk,RegExp:Gk,Promise:Zk,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:tF,Int8Array:nn,Uint8Array:nn,Uint8ClampedArray:nn,Int16Array:nn,Uint16Array:nn,Int32Array:nn,Uint32Array:nn,Float32Array:nn,Float64Array:nn,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:nF,HTMLCollection:kd,NodeList:kd},iF=(e,t,r)=>Qc in e&&typeof e[Qc]=="function"?e[Qc](t):Sa&&Sa in e&&typeof e[Sa]=="function"?e[Sa](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&xy.has(e.constructor)?xy.get(e.constructor)(e,t):Py[r]?Py[r](e,t):"",sF=Object.prototype.toString;function Fd(e,t={}){let r=jk(t,Fd),{customInspect:nP}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=sF.call(e).slice(8,-1)),o in Oy)return Oy[o](e,r);if(nP&&e){let s=iF(e,r,o);if(s)return typeof s=="string"?s:Fd(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Hs(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?lE(e,r):"constructor"in e?e.constructor!==Object?eF(e,r):Hs(e,r):e===Object(e)?Hs(e,r):r.stylize(String(e),o)}var lF={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]},uF=Object.entries(lF);function tf(e){return String(e)}tf.open="";tf.close="";function cF(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},nP=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||nP.includes("--no-color"))&&("FORCE_COLOR"in r||nP.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function dF(e=!1){let t=cF(e),r=(s,l,u,d)=>{let c="",p=0;do c+=s.substring(p,d)+u,p=d+l.length,d=s.indexOf(l,p);while(~d);return c+s.substring(p)},nP=(s,l,u=s)=>{let d=c=>{let p=String(c),h=p.indexOf(l,s.length);return~h?s+r(p,l,u,h)+l:s+p+l};return d.open=s,d.close=l,d},o={isColorSupported:t},i=s=>`\x1B[${s}m`;for(let[s,l]of uF)o[s]=t?nP(i(l[0]),i(l[1]),l[2]):tf;return o}var Rt=dF((0,nP.isatty)(1));function fF(e,t){let r=Object.keys(e),nP=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&nP.push(o);return nP}function jl(e,t,r,nP,o,i,s=": "){let l="",u=0,d=e.next();if(!d.done){l+=t.spacingOuter;let c=r+t.indent;for(;!d.done;){if(l+=c,u++===t.maxWidth){l+="\u2026";break}let p=i(d.value[0],t,c,nP,o),h=i(d.value[1],t,c,nP,o);l+=p+s+h,d=e.next(),d.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function rf(e,t,r,nP,o,i){let s="",l=0,u=e.next();if(!u.done){s+=t.spacingOuter;let d=r+t.indent;for(;!u.done;){if(s+=d,l++===t.maxWidth){s+="\u2026";break}s+=i(u.value,t,d,nP,o),u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function rl(e,t,r,nP,o,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=d=>d instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){s+=t.spacingOuter;let d=r+t.indent;for(let c=0;c<u;c++){if(s+=d,c===t.maxWidth){s+="\u2026";break}(l(e)||c in e)&&(s+=i(l(e)?e.getInt8(c):e[c],t,d,nP,o)),c<u-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}function nf(e,t,r,nP,o,i){let s="",l=fF(e,t.compareKeys);if(l.length>0){s+=t.spacingOuter;let u=r+t.indent;for(let d=0;d<l.length;d++){let c=l[d],p=i(c,t,u,nP,o),h=i(e[c],t,u,nP,o);s+=`${u+p}: ${h}`,d<l.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var hF=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Zc=" ",mF=(e,t,r,nP,o,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++nP>t.maxDepth?`[${s}]`:`${s+Zc}[${rl(e.sample,t,r,nP,o,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++nP>t.maxDepth?`[${s}]`:`${s+Zc}{${nf(e.sample,t,r,nP,o,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+Zc+i(e.sample,t,r,nP,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},gF=e=>e&&e.$$typeof===hF,bF={serialize:mF,test:gF},yF=" ",uE=new Set(["DOMStringMap","NamedNodeMap"]),vF=/^(?:HTML\w*Collection|NodeList)$/;function EF(e){return uE.has(e)||vF.test(e)}var _F=e=>e&&e.constructor&&!!e.constructor.name&&EF(e.constructor.name);function wF(e){return e.constructor.name==="NamedNodeMap"}var SF=(e,t,r,nP,o,i)=>{let s=e.constructor.name;return++nP>t.maxDepth?`[${s}]`:(t.min?"":s+yF)+(uE.has(s)?`{${nf(wF(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,nP,o,i)}}`:`[${rl([...e],t,r,nP,o,i)}]`)},CF={serialize:SF,test:_F};function cE(e){return e.replaceAll("<","<").replaceAll(">",">")}function of(e,t,r,nP,o,i,s){let l=nP+r.indent,u=r.colors;return e.map(d=>{let c=t[d],p=s(c,r,l,o,i);return typeof c!="string"&&(p.includes(`
|
|
305
|
+
`)&&(p=r.spacingOuter+l+p+r.spacingOuter+nP),p=`{${p}}`),`${r.spacingInner+nP+u.prop.open+d+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function af(e,t,r,nP,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?dE(s,t):i(s,t,r,nP,o))).join("")}function dE(e,t){let r=t.colors.content;return r.open+cE(e)+r.close}function AF(e,t){let r=t.colors.comment;return`${r.open}<!--${cE(e)}-->${r.close}`}function sf(e,t,r,nP,o){let i=nP.colors.tag;return`${i.open}<${e}${t&&i.close+t+nP.spacingOuter+o+i.open}${r?`>${i.close}${r}${nP.spacingOuter}${o}${i.open}</${e}`:`${t&&!nP.min?"":" "}/`}>${i.close}`}function lf(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var RF=1,pE=3,fE=8,hE=11,TF=/^(?:(?:HTML|SVG)\w*)?Element$/;function xF(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function PF(e){let t=e.constructor.name,{nodeType:r,tagName:nP}=e,o=typeof nP=="string"&&nP.includes("-")||xF(e);return r===RF&&(TF.test(t)||o)||r===pE&&t==="Text"||r===fE&&t==="Comment"||r===hE&&t==="DocumentFragment"}var OF=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&PF(e)};function NF(e){return e.nodeType===pE}function MF(e){return e.nodeType===fE}function ed(e){return e.nodeType===hE}var IF=(e,t,r,nP,o,i)=>{if(NF(e))return dE(e.data,t);if(MF(e))return AF(e.data,t);let s=ed(e)?"DocumentFragment":e.tagName.toLowerCase();return++nP>t.maxDepth?lf(s,t):sf(s,of(ed(e)?[]:Array.from(e.attributes,l=>l.name).sort(),ed(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,nP,o,i),af(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,nP,o,i),t,r)},DF={serialize:IF,test:OF},qF="@@__IMMUTABLE_ITERABLE__@@",jF="@@__IMMUTABLE_LIST__@@",BF="@@__IMMUTABLE_KEYED__@@",kF="@@__IMMUTABLE_MAP__@@",Ny="@@__IMMUTABLE_ORDERED__@@",FF="@@__IMMUTABLE_RECORD__@@",LF="@@__IMMUTABLE_SEQ__@@",$F="@@__IMMUTABLE_SET__@@",UF="@@__IMMUTABLE_STACK__@@",Da=e=>`Immutable.${e}`,Bl=e=>`[${e}]`,Mi=" ",My="\u2026";function HF(e,t,r,nP,o,i,s){return++nP>t.maxDepth?Bl(Da(s)):`${Da(s)+Mi}{${jl(e.entries(),t,r,nP,o,i)}}`}function zF(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 VF(e,t,r,nP,o,i){let s=Da(e._name||"Record");return++nP>t.maxDepth?Bl(s):`${s+Mi}{${jl(zF(e),t,r,nP,o,i)}}`}function GF(e,t,r,nP,o,i){let s=Da("Seq");return++nP>t.maxDepth?Bl(s):e[BF]?`${s+Mi}{${e._iter||e._object?jl(e.entries(),t,r,nP,o,i):My}}`:`${s+Mi}[${e._iter||e._array||e._collection||e._iterable?rf(e.values(),t,r,nP,o,i):My}]`}function td(e,t,r,nP,o,i,s){return++nP>t.maxDepth?Bl(Da(s)):`${Da(s)+Mi}[${rf(e.values(),t,r,nP,o,i)}]`}var WF=(e,t,r,nP,o,i)=>e[kF]?HF(e,t,r,nP,o,i,e[Ny]?"OrderedMap":"Map"):e[jF]?td(e,t,r,nP,o,i,"List"):e[$F]?td(e,t,r,nP,o,i,e[Ny]?"OrderedSet":"Set"):e[UF]?td(e,t,r,nP,o,i,"Stack"):e[LF]?GF(e,t,r,nP,o,i):VF(e,t,r,nP,o,i),YF=e=>e&&(e[qF]===!0||e[FF]===!0),KF={serialize:WF,test:YF},Ld={exports:{}},ct={},Iy;function JF(){if(Iy)return ct;Iy=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),nP=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function b(y){if(typeof y=="object"&&y!==null){var E=y.$$typeof;switch(E){case e:switch(y=y.type,y){case r:case o:case nP:case d:case c:return y;default:switch(y=y&&y.$$typeof,y){case l:case s:case u:case h:case p:case i:return y;default:return E}}case t:return E}}}return ct.ContextConsumer=s,ct.ContextProvider=i,ct.Element=e,ct.ForwardRef=u,ct.Fragment=r,ct.Lazy=h,ct.Memo=p,ct.Portal=t,ct.Profiler=o,ct.StrictMode=nP,ct.Suspense=d,ct.SuspenseList=c,ct.isAsyncMode=function(){return!1},ct.isConcurrentMode=function(){return!1},ct.isContextConsumer=function(y){return b(y)===s},ct.isContextProvider=function(y){return b(y)===i},ct.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},ct.isForwardRef=function(y){return b(y)===u},ct.isFragment=function(y){return b(y)===r},ct.isLazy=function(y){return b(y)===h},ct.isMemo=function(y){return b(y)===p},ct.isPortal=function(y){return b(y)===t},ct.isProfiler=function(y){return b(y)===o},ct.isStrictMode=function(y){return b(y)===nP},ct.isSuspense=function(y){return b(y)===d},ct.isSuspenseList=function(y){return b(y)===c},ct.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===nP||y===d||y===c||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===h||y.$$typeof===p||y.$$typeof===i||y.$$typeof===s||y.$$typeof===u||y.$$typeof===g||y.getModuleId!==void 0)},ct.typeOf=b,ct}var pt={},Dy;function XF(){return Dy||(Dy=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),nP=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=!1,b=!1,y=!1,E=!1,_=!1,P;P=Symbol.for("react.module.reference");function C(ae){return!!(typeof ae=="string"||typeof ae=="function"||ae===r||ae===o||_||ae===nP||ae===d||ae===c||E||ae===m||g||b||y||typeof ae=="object"&&ae!==null&&(ae.$$typeof===h||ae.$$typeof===p||ae.$$typeof===i||ae.$$typeof===s||ae.$$typeof===u||ae.$$typeof===P||ae.getModuleId!==void 0))}function w(ae){if(typeof ae=="object"&&ae!==null){var ye=ae.$$typeof;switch(ye){case e:var $e=ae.type;switch($e){case r:case o:case nP:case d:case c:return $e;default:var lt=$e&&$e.$$typeof;switch(lt){case l:case s:case u:case h:case p:case i:return lt;default:return ye}}case t:return ye}}}var S=s,T=i,A=e,N=u,U=r,X=h,V=p,J=t,x=o,B=nP,K=d,fe=c,ce=!1,Re=!1;function Fe(ae){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Oe(ae){return Re||(Re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function le(ae){return w(ae)===s}function se(ae){return w(ae)===i}function de(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===e}function Se(ae){return w(ae)===u}function qe(ae){return w(ae)===r}function ke(ae){return w(ae)===h}function ot(ae){return w(ae)===p}function Ot(ae){return w(ae)===t}function Y(ae){return w(ae)===o}function Pe(ae){return w(ae)===nP}function Le(ae){return w(ae)===d}function nt(ae){return w(ae)===c}pt.ContextConsumer=S,pt.ContextProvider=T,pt.Element=A,pt.ForwardRef=N,pt.Fragment=U,pt.Lazy=X,pt.Memo=V,pt.Portal=J,pt.Profiler=x,pt.StrictMode=B,pt.Suspense=K,pt.SuspenseList=fe,pt.isAsyncMode=Fe,pt.isConcurrentMode=Oe,pt.isContextConsumer=le,pt.isContextProvider=se,pt.isElement=de,pt.isForwardRef=Se,pt.isFragment=qe,pt.isLazy=ke,pt.isMemo=ot,pt.isPortal=Ot,pt.isProfiler=Y,pt.isStrictMode=Pe,pt.isSuspense=Le,pt.isSuspenseList=nt,pt.isValidElementType=C,pt.typeOf=w}()),pt}process.env.NODE_ENV==="production"?Ld.exports=JF():Ld.exports=XF();var Qn=Ld.exports;function mE(e,t=[]){if(Array.isArray(e))for(let r of e)mE(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function qy(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Qn.isFragment(e))return"React.Fragment";if(Qn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Qn.isContextProvider(e))return"Context.Provider";if(Qn.isContextConsumer(e))return"Context.Consumer";if(Qn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Qn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function QF(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var ZF=(e,t,r,nP,o,i)=>++nP>t.maxDepth?lf(qy(e),t):sf(qy(e),of(QF(e),e.props,t,r+t.indent,nP,o,i),af(mE(e.props.children),t,r+t.indent,nP,o,i),t,r),eL=e=>e!=null&&Qn.isElement(e),tL={serialize:ZF,test:eL},rL=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function nL(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var oL=(e,t,r,nP,o,i)=>++nP>t.maxDepth?lf(e.type,t):sf(e.type,e.props?of(nL(e),e.props,t,r+t.indent,nP,o,i):"",e.children?af(e.children,t,r+t.indent,nP,o,i):"",t,r),aL=e=>e&&e.$$typeof===rL,iL={serialize:oL,test:aL},gE=Object.prototype.toString,sL=Date.prototype.toISOString,lL=Error.prototype.toString,jy=RegExp.prototype.toString;function rd(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function uL(e){return typeof window<"u"&&e===window}var cL=/^Symbol\((.*)\)(.*)$/,dL=/\nP/g,bE=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function pL(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 fL(e){return Object.is(e,-0)?"-0":String(e)}function hL(e){return`${e}nP`}function By(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function ky(e){return String(e).replace(cL,"Symbol($1)")}function Fy(e){return`[${lL.call(e)}]`}function yE(e,t,r,nP){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 fL(e);if(o==="bigint")return hL(e);if(o==="string")return nP?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return By(e,t);if(o==="symbol")return ky(e);let i=gE.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?By(e,t):i==="[object Symbol]"?ky(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":sL.call(e):i==="[object Error]"?Fy(e):i==="[object RegExp]"?r?jy.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):jy.call(e):e instanceof Error?Fy(e):null}function vE(e,t,r,nP,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++nP>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Nn(e.toJSON(),t,r,nP,o,!0);let u=gE.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${rl(e,t,r,nP,o,Nn)}]`:pL(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${rl(e,t,r,nP,o,Nn)}]`:u==="[object Map]"?s?"[Map]":`Map {${jl(e.entries(),t,r,nP,o,Nn," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${rf(e.values(),t,r,nP,o,Nn)}}`:s||uL(e)?`[${rd(e)}]`:`${l||!t.printBasicPrototype&&rd(e)==="Object"?"":`${rd(e)} `}{${nf(e,t,r,nP,o,Nn)}}`}function mL(e){return e.serialize!=null}function EE(e,t,r,nP,o,i){let s;try{s=mL(e)?e.serialize(t,r,nP,o,i,Nn):e.print(t,l=>Nn(l,r,nP,o,i),l=>{let u=nP+r.indent;return u+l.replaceAll(dL,`
|
|
306
|
+
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new bE(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function _E(e,t){for(let r of e)try{if(r.test(t))return r}catch(nP){throw new bE(nP.message,nP.stack)}return null}function Nn(e,t,r,nP,o,i){let s=_E(t.plugins,e);if(s!==null)return EE(s,e,t,r,nP,o);let l=yE(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:vE(e,t,r,nP,o,i)}var uf={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},wE=Object.keys(uf),xr={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:uf};function gL(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(xr,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 bL(){return wE.reduce((e,t)=>{let r=uf[t],nP=r&&Rt[r];if(nP&&typeof nP.close=="string"&&typeof nP.open=="string")e[t]=nP;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 yL(){return wE.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function SE(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:xr.printFunctionName}function CE(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:xr.escapeRegex}function AE(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:xr.escapeString}function Ly(e){var t,r,nP,o,i,s,l;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:xr.callToJSON,colors:e!=null&&e.highlight?bL():yL(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:xr.compareKeys,escapeRegex:CE(e),escapeString:AE(e),indent:e!=null&&e.min?"":vL((r=e==null?void 0:e.indent)!=null?r:xr.indent),maxDepth:(nP=e==null?void 0:e.maxDepth)!=null?nP:xr.maxDepth,maxWidth:(o=e==null?void 0:e.maxWidth)!=null?o:xr.maxWidth,min:(i=e==null?void 0:e.min)!=null?i:xr.min,plugins:(s=e==null?void 0:e.plugins)!=null?s:xr.plugins,printBasicPrototype:(l=e==null?void 0:e.printBasicPrototype)!=null?l:!0,printFunctionName:SE(e),spacingInner:e!=null&&e.min?" ":`
|
|
307
307
|
`,spacingOuter:e!=null&&e.min?"":`
|
|
308
|
-
`}}function vL(e){return Array.from({length:e+1}).join(" ")}function Vr(e,t){if(t&&(gL(t),t.plugins)){let nP=_E(t.plugins,e);if(nP!==null)return EE(nP,e,Ly(t),"",0,[])}let r=yE(e,SE(t),CE(t),AE(t));return r!==null?r:vE(e,Ly(t),"",0,[])}var RE={AsymmetricMatcher:bF,DOMCollection:CF,DOMElement:DF,Immutable:KF,ReactElement:tL,ReactTestComponent:iL},{AsymmetricMatcher:EL,DOMCollection:_L,DOMElement:wL,Immutable:SL,ReactElement:CL,ReactTestComponent:AL}=RE,$y=[AL,CL,wL,_L,SL,EL];function _r(e,t=10,{maxLength:r,...nP}={}){let o=r!=null?r:1e4,i;try{i=Vr(e,{maxDepth:t,escapeString:!1,plugins:$y,...nP})}catch{i=Vr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:$y,...nP})}return i.length>=o&&t>1?_r(e,Math.floor(t/2)):i}var RL=/%[sdjifoOc%]/g;function TL(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(vi(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,nP=e[0],o=String(nP).replace(RL,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?vi(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return vi(e[r++],{showHidden:!0,showProxy:!0});case"%O":return vi(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${vi(i)}`;return o}function vi(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Ld(e,t)}var y8=Symbol("vitest:SAFE_TIMERS"),xL,PL,OL,NL,ML,IL,DL,TE,qL,jL,BL,kL,FL,LL,$L,UL,HL,zL,VL;FL=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;kL=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;xL=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;$L=/(['"])(?:(?!\1)[^\\\nP\r]|\\(?:\r\nP|[^]))*(\1)?/y;BL=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)nP?|0n|[1-9](?:_?\d)*nP|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;UL=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y;VL=/[\t\v\f\ufeff\p{Zs}]+/yu;TE=/\r?\nP|[\r\u2028\u2029]/y;qL=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y;LL=/\/\/.*/y;OL=/[<>.:={}]|\/(?![\/*])/y;PL=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;NL=/(['"])(?:(?!\1)[^])*(\1)?/y;ML=/[^<>{}]+/y;zL=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;HL=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;IL=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;DL=/^(?:return|throw|yield)$/;jL=RegExp(TE.source);var xE={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"]},v8=new Set(xE.keyword),E8=new Set(xE.strict);function Uy(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 Yt=-1,Ht=1,Tt=0,St=class{constructor(e,t){_t(this,0);_t(this,1);this[0]=e,this[1]=t}},GL=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,nP=Math.min(e.length,t.length),o=nP,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):nP=o,o=Math.floor((nP-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,nP=Math.min(e.length,t.length),o=nP,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):nP=o,o=Math.floor((nP-r)/2+r);return o},Hy=function(e,t){let r=e.length,nP=t.length;if(r===0||nP===0)return 0;r>nP?e=e.substring(r-nP):r<nP&&(t=t.substring(0,r));let o=Math.min(r,nP);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},WL=function(e){let t=!1,r=[],nP=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===Tt?(r[nP++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===Ht?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[nP-1],0,new St(Yt,o)),e[r[nP-1]+1][0]=Ht,nP--,nP--,i=nP>0?r[nP-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&OE(e),JL(e),i=1;i<e.length;){if(e[i-1][0]===Yt&&e[i][0]===Ht){let c=e[i-1][1],p=e[i][1],h=Hy(c,p),m=Hy(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new St(Tt,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new St(Tt,c.substring(0,m))),e[i-1][0]=Ht,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Yt,e[i+1][1]=c.substring(m),i++),i++}i++}},zy=/[^a-z0-9]/i,Vy=/\s/,Gy=/[\r\nP]/,YL=/\nP\r?\nP$/,KL=/^\r?\nP\r?\nP/;function JL(e){function t(nP,o){if(!nP||!o)return 6;let i=nP.charAt(nP.length-1),s=o.charAt(0),l=i.match(zy),u=s.match(zy),d=l&&i.match(Vy),c=u&&s.match(Vy),p=d&&i.match(Gy),h=c&&s.match(Gy),m=p&&nP.match(YL),g=h&&o.match(KL);return m||g?5:p||h?4:l&&!d&&c?3:d||c?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Tt&&e[r+1][0]===Tt){let nP=e[r-1][1],o=e[r][1],i=e[r+1][1],s=PE(nP,o);if(s){let p=o.substring(o.length-s);nP=nP.substring(0,nP.length-s),o=p+o.substring(0,o.length-s),i=p+i}let l=nP,u=o,d=i,c=t(nP,o)+t(o,i);for(;o.charAt(0)===i.charAt(0);){nP+=o.charAt(0),o=o.substring(1)+i.charAt(0),i=i.substring(1);let p=t(nP,o)+t(o,i);p>=c&&(c=p,l=nP,u=o,d=i)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}}function OE(e){e.push(new St(Tt,""));let t=0,r=0,nP=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Ht:nP++,i+=e[t][1],t++;break;case Yt:r++,o+=e[t][1],t++;break;case Tt:r+nP>1?(r!==0&&nP!==0&&(s=GL(i,o),s!==0&&(t-r-nP>0&&e[t-r-nP-1][0]===Tt?e[t-r-nP-1][1]+=i.substring(0,s):(e.splice(0,0,new St(Tt,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=PE(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+nP,e.splice(t,r+nP),o.length&&(e.splice(t,0,new St(Yt,o)),t++),i.length&&(e.splice(t,0,new St(Ht,i)),t++),t++):t!==0&&e[t-1][0]===Tt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,nP=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Tt&&e[t+1][0]===Tt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&OE(e)}var NE="Compared values have no visual difference.",XL="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",ME={};Object.defineProperty(ME,"__esModule",{value:!0});var IE=ME.default=t$,Ri="diff-sequences",Gt=0,Ii=(e,t,r,nP,o)=>{let i=0;for(;e<t&&r<nP&&o(e,r);)e+=1,r+=1,i+=1;return i},Di=(e,t,r,nP,o)=>{let i=0;for(;e<=t&&r<=nP&&o(t,nP);)t-=1,nP-=1,i+=1;return i},od=(e,t,r,nP,o,i,s)=>{let l=0,u=-e,d=i[l],c=d;i[l]+=Ii(d+1,t,nP+d-u+1,r,o);let p=e<s?e:s;for(l+=1,u+=2;l<=p;l+=1,u+=2){if(l!==e&&c<i[l])d=i[l];else if(d=c+1,t<=d)return l-1;c=i[l],i[l]=d+Ii(d+1,t,nP+d-u+1,r,o)}return s},Wy=(e,t,r,nP,o,i,s)=>{let l=0,u=e,d=i[l],c=d;i[l]-=Di(t,d-1,r,nP+d-u-1,o);let p=e<s?e:s;for(l+=1,u-=2;l<=p;l+=1,u-=2){if(l!==e&&i[l]<c)d=i[l];else if(d=c-1,d<t)return l-1;c=i[l],i[l]=d-Di(t,d-1,r,nP+d-u-1,o)}return s},QL=(e,t,r,nP,o,i,s,l,u,d,c)=>{let p=nP-t,h=r-t,m=o-nP-h,g=-m-(e-1),b=-m+(e-1),y=Gt,E=e<l?e:l;for(let _=0,P=-e;_<=E;_+=1,P+=2){let C=_===0||_!==e&&y<s[_],w=C?s[_]:y,S=C?w:w+1,T=p+S-P,A=Ii(S+1,r,T+1,o,i),N=S+A;if(y=s[_],s[_]=N,g<=P&&P<=b){let U=(e-1-(P+m))/2;if(U<=d&&u[U]-1<=N){let X=p+w-(C?P+1:P-1),V=Di(t,w,nP,X,i),J=w-V,x=X-V,B=J+1,K=x+1;c.nChangePreceding=e-1,e-1===B+K-t-nP?(c.aEndPreceding=t,c.bEndPreceding=nP):(c.aEndPreceding=B,c.bEndPreceding=K),c.nCommonPreceding=V,V!==0&&(c.aCommonPreceding=B,c.bCommonPreceding=K),c.nCommonFollowing=A,A!==0&&(c.aCommonFollowing=S+1,c.bCommonFollowing=T+1);let fe=N+1,ce=T+A+1;return c.nChangeFollowing=e-1,e-1===r+o-fe-ce?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=fe,c.bStartFollowing=ce),!0}}}return!1},ZL=(e,t,r,nP,o,i,s,l,u,d,c)=>{let p=o-r,h=r-t,m=o-nP-h,g=m-e,b=m+e,y=Gt,E=e<d?e:d;for(let _=0,P=e;_<=E;_+=1,P-=2){let C=_===0||_!==e&&u[_]<y,w=C?u[_]:y,S=C?w:w-1,T=p+S-P,A=Di(t,S-1,nP,T-1,i),N=S-A;if(y=u[_],u[_]=N,g<=P&&P<=b){let U=(e+(P-m))/2;if(U<=l&&N-1<=s[U]){let X=T-A;if(c.nChangePreceding=e,e===N+X-t-nP?(c.aEndPreceding=t,c.bEndPreceding=nP):(c.aEndPreceding=N,c.bEndPreceding=X),c.nCommonPreceding=A,A!==0&&(c.aCommonPreceding=N,c.bCommonPreceding=X),c.nChangeFollowing=e-1,e===1)c.nCommonFollowing=0,c.aStartFollowing=r,c.bStartFollowing=o;else{let V=p+w-(C?P-1:P+1),J=Ii(w,r,V,o,i);c.nCommonFollowing=J,J!==0&&(c.aCommonFollowing=w,c.bCommonFollowing=V);let x=w+J,B=V+J;e-1===r+o-x-B?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=x,c.bStartFollowing=B)}return!0}}}return!1},e$=(e,t,r,nP,o,i,s,l,u)=>{let d=nP-t,c=o-r,p=r-t,h=o-nP,m=h-p,g=p,b=p;if(s[0]=t-1,l[0]=r,m%2===0){let y=(e||m)/2,E=(p+h)/2;for(let _=1;_<=E;_+=1)if(g=od(_,r,o,d,i,s,g),_<y)b=Wy(_,t,nP,c,i,l,b);else if(ZL(_,t,r,nP,o,i,s,g,l,b,u))return}else{let y=((e||m)+1)/2,E=(p+h+1)/2,_=1;for(g=od(_,r,o,d,i,s,g),_+=1;_<=E;_+=1)if(b=Wy(_-1,t,nP,c,i,l,b),_<y)g=od(_,r,o,d,i,s,g);else if(QL(_,t,r,nP,o,i,s,g,l,b,u))return}throw new Error(`${Ri}: no overlap aStart=${t} aEnd=${r} bStart=${nP} bEnd=${o}`)},Ud=(e,t,r,nP,o,i,s,l,u,d)=>{if(o-nP<r-t){if(i=!i,i&&s.length===1){let{foundSubsequence:U,isCommon:X}=s[0];s[1]={foundSubsequence:(V,J,x)=>{U(V,x,J)},isCommon:(V,J)=>X(J,V)}}let A=t,N=r;t=nP,r=o,nP=A,o=N}let{foundSubsequence:c,isCommon:p}=s[i?1:0];e$(e,t,r,nP,o,p,l,u,d);let{nChangePreceding:h,aEndPreceding:m,bEndPreceding:g,nCommonPreceding:b,aCommonPreceding:y,bCommonPreceding:E,nCommonFollowing:_,aCommonFollowing:P,bCommonFollowing:C,nChangeFollowing:w,aStartFollowing:S,bStartFollowing:T}=d;t<m&&nP<g&&Ud(h,t,m,nP,g,i,s,l,u,d),b!==0&&c(b,y,E),_!==0&&c(_,P,C),S<r&&T<o&&Ud(w,S,r,T,o,i,s,l,u,d)},Yy=(e,t)=>{if(typeof t!="number")throw new TypeError(`${Ri}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${Ri}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${Ri}: ${e} value ${t} is a negative integer`)},Ky=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Ri}: ${e} typeof ${r} is not a function`)};function t$(e,t,r,nP){Yy("aLength",e),Yy("bLength",t),Ky("isCommon",r),Ky("foundSubsequence",nP);let o=Ii(0,e,0,t,r);if(o!==0&&nP(o,0,0),e!==o||t!==o){let i=o,s=o,l=Di(i,e-1,s,t-1,r),u=e-l,d=t-l,c=o+l;e!==c&&t!==c&&Ud(0,i,u,s,d,!1,[{foundSubsequence:nP,isCommon:r}],[Gt],[Gt],{aCommonFollowing:Gt,aCommonPreceding:Gt,aEndPreceding:Gt,aStartFollowing:Gt,bCommonFollowing:Gt,bCommonPreceding:Gt,bEndPreceding:Gt,bStartFollowing:Gt,nChangeFollowing:Gt,nChangePreceding:Gt,nCommonFollowing:Gt,nCommonPreceding:Gt}),l!==0&&nP(l,u,d)}}function r$(e,t){return e.replace(/\s+$/,r=>t(r))}function df(e,t,r,nP,o,i){return e.length!==0?r(`${nP} ${r$(e,o)}`):nP!==" "?r(nP):t&&i.length!==0?r(`${nP} ${i}`):""}function DE(e,t,{aColor:r,aIndicator:nP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return df(e,t,r,nP,o,i)}function qE(e,t,{bColor:r,bIndicator:nP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return df(e,t,r,nP,o,i)}function jE(e,t,{commonColor:r,commonIndicator:nP,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return df(e,t,r,nP,o,i)}function Jy(e,t,r,nP,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${nP-r} @@`)}function nP$(e,t){let r=e.length,nP=t.contextLines,o=nP+nP,i=r,s=!1,l=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(C!==u)if(C===0)u>nP&&(i-=u-nP,s=!0);else if(u===r){let w=u-C;w>nP&&(i-=w-nP,s=!0)}else{let w=u-C;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==Tt;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,b=0,y=0,E=C=>{let w=p.length;p.push(jE(C,w===0||w===c,t)),b+=1,y+=1},_=C=>{let w=p.length;p.push(DE(C,w===0||w===c,t)),b+=1},P=C=>{let w=p.length;p.push(qE(C,w===0||w===c,t)),y+=1};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(C!==u)if(C===0){u>nP&&(C=u-nP,m=C,g=C,b=m,y=g);for(let w=C;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-C>nP?C+nP:u;for(let S=C;S!==w;S+=1)E(e[S][1])}else{let w=u-C;if(w>o){let S=C+nP;for(let A=C;A!==S;A+=1)E(e[A][1]);p[h]=Jy(m,b,g,y,t),h=p.length,p.push("");let T=w-o;m=b+T,g=y+T,b=m,y=g;for(let A=u-nP;A!==u;A+=1)E(e[A][1])}else for(let S=C;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Yt;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Ht;)P(e[u][1]),u+=1}return d&&(p[h]=Jy(m,b,g,y,t)),p.join(`
|
|
308
|
+
`}}function vL(e){return Array.from({length:e+1}).join(" ")}function Vr(e,t){if(t&&(gL(t),t.plugins)){let nP=_E(t.plugins,e);if(nP!==null)return EE(nP,e,Ly(t),"",0,[])}let r=yE(e,SE(t),CE(t),AE(t));return r!==null?r:vE(e,Ly(t),"",0,[])}var RE={AsymmetricMatcher:bF,DOMCollection:CF,DOMElement:DF,Immutable:KF,ReactElement:tL,ReactTestComponent:iL},{AsymmetricMatcher:EL,DOMCollection:_L,DOMElement:wL,Immutable:SL,ReactElement:CL,ReactTestComponent:AL}=RE,$y=[AL,CL,wL,_L,SL,EL];function _r(e,t=10,{maxLength:r,...nP}={}){let o=r!=null?r:1e4,i;try{i=Vr(e,{maxDepth:t,escapeString:!1,plugins:$y,...nP})}catch{i=Vr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:$y,...nP})}return i.length>=o&&t>1?_r(e,Math.floor(t/2)):i}var RL=/%[sdjifoOc%]/g;function TL(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(vi(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,nP=e[0],o=String(nP).replace(RL,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?vi(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}nP`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return vi(e[r++],{showHidden:!0,showProxy:!0});case"%O":return vi(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${vi(i)}`;return o}function vi(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Fd(e,t)}var p8=Symbol("vitest:SAFE_TIMERS"),xL,PL,OL,NL,ML,IL,DL,TE,qL,jL,BL,kL,FL,LL,$L,UL,HL,zL,VL;FL=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;kL=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;xL=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;$L=/(['"])(?:(?!\1)[^\\\nP\r]|\\(?:\r\nP|[^]))*(\1)?/y;BL=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)nP?|0n|[1-9](?:_?\d)*nP|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;UL=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y;VL=/[\t\v\f\ufeff\p{Zs}]+/yu;TE=/\r?\nP|[\r\u2028\u2029]/y;qL=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y;LL=/\/\/.*/y;OL=/[<>.:={}]|\/(?![\/*])/y;PL=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;NL=/(['"])(?:(?!\1)[^])*(\1)?/y;ML=/[^<>{}]+/y;zL=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;HL=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;IL=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;DL=/^(?:return|throw|yield)$/;jL=RegExp(TE.source);var xE={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"]},f8=new Set(xE.keyword),h8=new Set(xE.strict);function Uy(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 Yt=-1,Ht=1,Tt=0,St=class{constructor(e,t){_t(this,0);_t(this,1);this[0]=e,this[1]=t}},GL=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,nP=Math.min(e.length,t.length),o=nP,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):nP=o,o=Math.floor((nP-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,nP=Math.min(e.length,t.length),o=nP,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):nP=o,o=Math.floor((nP-r)/2+r);return o},Hy=function(e,t){let r=e.length,nP=t.length;if(r===0||nP===0)return 0;r>nP?e=e.substring(r-nP):r<nP&&(t=t.substring(0,r));let o=Math.min(r,nP);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},WL=function(e){let t=!1,r=[],nP=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===Tt?(r[nP++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===Ht?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[nP-1],0,new St(Yt,o)),e[r[nP-1]+1][0]=Ht,nP--,nP--,i=nP>0?r[nP-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&OE(e),JL(e),i=1;i<e.length;){if(e[i-1][0]===Yt&&e[i][0]===Ht){let c=e[i-1][1],p=e[i][1],h=Hy(c,p),m=Hy(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new St(Tt,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new St(Tt,c.substring(0,m))),e[i-1][0]=Ht,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Yt,e[i+1][1]=c.substring(m),i++),i++}i++}},zy=/[^a-z0-9]/i,Vy=/\s/,Gy=/[\r\nP]/,YL=/\nP\r?\nP$/,KL=/^\r?\nP\r?\nP/;function JL(e){function t(nP,o){if(!nP||!o)return 6;let i=nP.charAt(nP.length-1),s=o.charAt(0),l=i.match(zy),u=s.match(zy),d=l&&i.match(Vy),c=u&&s.match(Vy),p=d&&i.match(Gy),h=c&&s.match(Gy),m=p&&nP.match(YL),g=h&&o.match(KL);return m||g?5:p||h?4:l&&!d&&c?3:d||c?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Tt&&e[r+1][0]===Tt){let nP=e[r-1][1],o=e[r][1],i=e[r+1][1],s=PE(nP,o);if(s){let p=o.substring(o.length-s);nP=nP.substring(0,nP.length-s),o=p+o.substring(0,o.length-s),i=p+i}let l=nP,u=o,d=i,c=t(nP,o)+t(o,i);for(;o.charAt(0)===i.charAt(0);){nP+=o.charAt(0),o=o.substring(1)+i.charAt(0),i=i.substring(1);let p=t(nP,o)+t(o,i);p>=c&&(c=p,l=nP,u=o,d=i)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}}function OE(e){e.push(new St(Tt,""));let t=0,r=0,nP=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Ht:nP++,i+=e[t][1],t++;break;case Yt:r++,o+=e[t][1],t++;break;case Tt:r+nP>1?(r!==0&&nP!==0&&(s=GL(i,o),s!==0&&(t-r-nP>0&&e[t-r-nP-1][0]===Tt?e[t-r-nP-1][1]+=i.substring(0,s):(e.splice(0,0,new St(Tt,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=PE(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+nP,e.splice(t,r+nP),o.length&&(e.splice(t,0,new St(Yt,o)),t++),i.length&&(e.splice(t,0,new St(Ht,i)),t++),t++):t!==0&&e[t-1][0]===Tt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,nP=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Tt&&e[t+1][0]===Tt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&OE(e)}var NE="Compared values have no visual difference.",XL="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",ME={};Object.defineProperty(ME,"__esModule",{value:!0});var IE=ME.default=t$,Ri="diff-sequences",Gt=0,Ii=(e,t,r,nP,o)=>{let i=0;for(;e<t&&r<nP&&o(e,r);)e+=1,r+=1,i+=1;return i},Di=(e,t,r,nP,o)=>{let i=0;for(;e<=t&&r<=nP&&o(t,nP);)t-=1,nP-=1,i+=1;return i},nd=(e,t,r,nP,o,i,s)=>{let l=0,u=-e,d=i[l],c=d;i[l]+=Ii(d+1,t,nP+d-u+1,r,o);let p=e<s?e:s;for(l+=1,u+=2;l<=p;l+=1,u+=2){if(l!==e&&c<i[l])d=i[l];else if(d=c+1,t<=d)return l-1;c=i[l],i[l]=d+Ii(d+1,t,nP+d-u+1,r,o)}return s},Wy=(e,t,r,nP,o,i,s)=>{let l=0,u=e,d=i[l],c=d;i[l]-=Di(t,d-1,r,nP+d-u-1,o);let p=e<s?e:s;for(l+=1,u-=2;l<=p;l+=1,u-=2){if(l!==e&&i[l]<c)d=i[l];else if(d=c-1,d<t)return l-1;c=i[l],i[l]=d-Di(t,d-1,r,nP+d-u-1,o)}return s},QL=(e,t,r,nP,o,i,s,l,u,d,c)=>{let p=nP-t,h=r-t,m=o-nP-h,g=-m-(e-1),b=-m+(e-1),y=Gt,E=e<l?e:l;for(let _=0,P=-e;_<=E;_+=1,P+=2){let C=_===0||_!==e&&y<s[_],w=C?s[_]:y,S=C?w:w+1,T=p+S-P,A=Ii(S+1,r,T+1,o,i),N=S+A;if(y=s[_],s[_]=N,g<=P&&P<=b){let U=(e-1-(P+m))/2;if(U<=d&&u[U]-1<=N){let X=p+w-(C?P+1:P-1),V=Di(t,w,nP,X,i),J=w-V,x=X-V,B=J+1,K=x+1;c.nChangePreceding=e-1,e-1===B+K-t-nP?(c.aEndPreceding=t,c.bEndPreceding=nP):(c.aEndPreceding=B,c.bEndPreceding=K),c.nCommonPreceding=V,V!==0&&(c.aCommonPreceding=B,c.bCommonPreceding=K),c.nCommonFollowing=A,A!==0&&(c.aCommonFollowing=S+1,c.bCommonFollowing=T+1);let fe=N+1,ce=T+A+1;return c.nChangeFollowing=e-1,e-1===r+o-fe-ce?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=fe,c.bStartFollowing=ce),!0}}}return!1},ZL=(e,t,r,nP,o,i,s,l,u,d,c)=>{let p=o-r,h=r-t,m=o-nP-h,g=m-e,b=m+e,y=Gt,E=e<d?e:d;for(let _=0,P=e;_<=E;_+=1,P-=2){let C=_===0||_!==e&&u[_]<y,w=C?u[_]:y,S=C?w:w-1,T=p+S-P,A=Di(t,S-1,nP,T-1,i),N=S-A;if(y=u[_],u[_]=N,g<=P&&P<=b){let U=(e+(P-m))/2;if(U<=l&&N-1<=s[U]){let X=T-A;if(c.nChangePreceding=e,e===N+X-t-nP?(c.aEndPreceding=t,c.bEndPreceding=nP):(c.aEndPreceding=N,c.bEndPreceding=X),c.nCommonPreceding=A,A!==0&&(c.aCommonPreceding=N,c.bCommonPreceding=X),c.nChangeFollowing=e-1,e===1)c.nCommonFollowing=0,c.aStartFollowing=r,c.bStartFollowing=o;else{let V=p+w-(C?P-1:P+1),J=Ii(w,r,V,o,i);c.nCommonFollowing=J,J!==0&&(c.aCommonFollowing=w,c.bCommonFollowing=V);let x=w+J,B=V+J;e-1===r+o-x-B?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=x,c.bStartFollowing=B)}return!0}}}return!1},e$=(e,t,r,nP,o,i,s,l,u)=>{let d=nP-t,c=o-r,p=r-t,h=o-nP,m=h-p,g=p,b=p;if(s[0]=t-1,l[0]=r,m%2===0){let y=(e||m)/2,E=(p+h)/2;for(let _=1;_<=E;_+=1)if(g=nd(_,r,o,d,i,s,g),_<y)b=Wy(_,t,nP,c,i,l,b);else if(ZL(_,t,r,nP,o,i,s,g,l,b,u))return}else{let y=((e||m)+1)/2,E=(p+h+1)/2,_=1;for(g=nd(_,r,o,d,i,s,g),_+=1;_<=E;_+=1)if(b=Wy(_-1,t,nP,c,i,l,b),_<y)g=nd(_,r,o,d,i,s,g);else if(QL(_,t,r,nP,o,i,s,g,l,b,u))return}throw new Error(`${Ri}: no overlap aStart=${t} aEnd=${r} bStart=${nP} bEnd=${o}`)},$d=(e,t,r,nP,o,i,s,l,u,d)=>{if(o-nP<r-t){if(i=!i,i&&s.length===1){let{foundSubsequence:U,isCommon:X}=s[0];s[1]={foundSubsequence:(V,J,x)=>{U(V,x,J)},isCommon:(V,J)=>X(J,V)}}let A=t,N=r;t=nP,r=o,nP=A,o=N}let{foundSubsequence:c,isCommon:p}=s[i?1:0];e$(e,t,r,nP,o,p,l,u,d);let{nChangePreceding:h,aEndPreceding:m,bEndPreceding:g,nCommonPreceding:b,aCommonPreceding:y,bCommonPreceding:E,nCommonFollowing:_,aCommonFollowing:P,bCommonFollowing:C,nChangeFollowing:w,aStartFollowing:S,bStartFollowing:T}=d;t<m&&nP<g&&$d(h,t,m,nP,g,i,s,l,u,d),b!==0&&c(b,y,E),_!==0&&c(_,P,C),S<r&&T<o&&$d(w,S,r,T,o,i,s,l,u,d)},Yy=(e,t)=>{if(typeof t!="number")throw new TypeError(`${Ri}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${Ri}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${Ri}: ${e} value ${t} is a negative integer`)},Ky=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Ri}: ${e} typeof ${r} is not a function`)};function t$(e,t,r,nP){Yy("aLength",e),Yy("bLength",t),Ky("isCommon",r),Ky("foundSubsequence",nP);let o=Ii(0,e,0,t,r);if(o!==0&&nP(o,0,0),e!==o||t!==o){let i=o,s=o,l=Di(i,e-1,s,t-1,r),u=e-l,d=t-l,c=o+l;e!==c&&t!==c&&$d(0,i,u,s,d,!1,[{foundSubsequence:nP,isCommon:r}],[Gt],[Gt],{aCommonFollowing:Gt,aCommonPreceding:Gt,aEndPreceding:Gt,aStartFollowing:Gt,bCommonFollowing:Gt,bCommonPreceding:Gt,bEndPreceding:Gt,bStartFollowing:Gt,nChangeFollowing:Gt,nChangePreceding:Gt,nCommonFollowing:Gt,nCommonPreceding:Gt}),l!==0&&nP(l,u,d)}}function r$(e,t){return e.replace(/\s+$/,r=>t(r))}function cf(e,t,r,nP,o,i){return e.length!==0?r(`${nP} ${r$(e,o)}`):nP!==" "?r(nP):t&&i.length!==0?r(`${nP} ${i}`):""}function DE(e,t,{aColor:r,aIndicator:nP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return cf(e,t,r,nP,o,i)}function qE(e,t,{bColor:r,bIndicator:nP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return cf(e,t,r,nP,o,i)}function jE(e,t,{commonColor:r,commonIndicator:nP,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return cf(e,t,r,nP,o,i)}function Jy(e,t,r,nP,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${nP-r} @@`)}function nP$(e,t){let r=e.length,nP=t.contextLines,o=nP+nP,i=r,s=!1,l=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(C!==u)if(C===0)u>nP&&(i-=u-nP,s=!0);else if(u===r){let w=u-C;w>nP&&(i-=w-nP,s=!0)}else{let w=u-C;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==Tt;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,b=0,y=0,E=C=>{let w=p.length;p.push(jE(C,w===0||w===c,t)),b+=1,y+=1},_=C=>{let w=p.length;p.push(DE(C,w===0||w===c,t)),b+=1},P=C=>{let w=p.length;p.push(qE(C,w===0||w===c,t)),y+=1};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(C!==u)if(C===0){u>nP&&(C=u-nP,m=C,g=C,b=m,y=g);for(let w=C;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-C>nP?C+nP:u;for(let S=C;S!==w;S+=1)E(e[S][1])}else{let w=u-C;if(w>o){let S=C+nP;for(let A=C;A!==S;A+=1)E(e[A][1]);p[h]=Jy(m,b,g,y,t),h=p.length,p.push("");let T=w-o;m=b+T,g=y+T,b=m,y=g;for(let A=u-nP;A!==u;A+=1)E(e[A][1])}else for(let S=C;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Yt;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Ht;)P(e[u][1]),u+=1}return d&&(p[h]=Jy(m,b,g,y,t)),p.join(`
|
|
309
309
|
`)}function o$(e,t){return e.map((r,nP,o)=>{let i=r[1],s=nP===0||nP===o.length-1;switch(r[0]){case Yt:return DE(i,s,t);case Ht:return qE(i,s,t);default:return jE(i,s,t)}}).join(`
|
|
310
|
-
`)}var
|
|
310
|
+
`)}var od=e=>e,BE=5,a$=0;function i$(){return{aAnnotation:"Expected",aColor:Rt.green,aIndicator:"-",bAnnotation:"Received",bColor:Rt.red,bIndicator:"+",changeColor:Rt.inverse,changeLineTrailingSpaceColor:od,commonColor:Rt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:od,compareKeys:void 0,contextLines:BE,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Rt.yellow,truncateThreshold:a$,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:od}}function s$(e){return e&&typeof e=="function"?e:void 0}function l$(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:BE}function lo(e={}){return{...i$(),...e,compareKeys:s$(e.compareKeys),contextLines:l$(e.contextLines)}}function Ca(e){return e.length===1&&e[0].length===0}function u$(e){let t=0,r=0;return e.forEach(nP=>{switch(nP[0]){case Yt:t+=1;break;case Ht:r+=1;break}}),{a:t,b:r}}function c$({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:nP,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let d="",c="";if(s){let m=String(u.a),g=String(u.b),b=nP.length-e.length,y=" ".repeat(Math.max(0,b)),E=" ".repeat(Math.max(0,-b)),_=g.length-m.length,P=" ".repeat(Math.max(0,_)),C=" ".repeat(Math.max(0,-_));d=`${y} ${r} ${P}${m}`,c=`${E} ${i} ${C}${g}`}let p=`${r} ${e}${d}`,h=`${i} ${nP}${c}`;return`${t(p)}
|
|
311
311
|
${o(h)}
|
|
312
312
|
|
|
313
|
-
`}function
|
|
314
|
-
${r.truncateAnnotation}`):"")}function
|
|
313
|
+
`}function df(e,t,r){return c$(r,u$(e))+(r.expand?o$(e,r):nP$(e,r))+(t?r.truncateAnnotationColor(`
|
|
314
|
+
${r.truncateAnnotation}`):"")}function kl(e,t,r){let nP=lo(r),[o,i]=kE(Ca(e)?[]:e,Ca(t)?[]:t,nP);return df(o,i,nP)}function d$(e,t,r,nP,o){if(Ca(e)&&Ca(r)&&(e=[],r=[]),Ca(t)&&Ca(nP)&&(t=[],nP=[]),e.length!==r.length||t.length!==nP.length)return kl(e,t,o);let[i,s]=kE(r,nP,o),l=0,u=0;return i.forEach(d=>{switch(d[0]){case Yt:d[1]=e[l],l+=1;break;case Ht:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),df(i,s,lo(o))}function kE(e,t,r){var h,m;let nP=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=nP?Math.min(e.length,o):e.length,s=nP?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(g,b)=>e[g]===t[b],d=[],c=0,p=0;for(IE(i,s,u,(g,b,y)=>{for(;c!==b;c+=1)d.push(new St(Yt,e[c]));for(;p!==y;p+=1)d.push(new St(Ht,t[p]));for(;g!==0;g-=1,c+=1,p+=1)d.push(new St(Tt,t[p]))});c!==i;c+=1)d.push(new St(Yt,e[c]));for(;p!==s;p+=1)d.push(new St(Ht,t[p]));return[d,l]}function Xy(e){return e.includes(`\r
|
|
315
315
|
`)?`\r
|
|
316
316
|
`:`
|
|
317
317
|
`}function p$(e,t,r){var h,m;let nP=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=e.length,s=t.length;if(nP){let g=e.includes(`
|
|
@@ -327,34 +327,34 @@ ${r.truncateAnnotation}`):"")}function Fl(e,t,r){let nP=lo(r),[o,i]=kE(Ca(e)?[]:
|
|
|
327
327
|
`)||t.includes(`
|
|
328
328
|
`),[o,i]=FE(nP?`${e}
|
|
329
329
|
`:e,nP?`${t}
|
|
330
|
-
`:t,!0,r);if(g$(o,nP)){let s=lo(r),l=m$(o,s.changeColor);return
|
|
330
|
+
`:t,!0,r);if(g$(o,nP)){let s=lo(r),l=m$(o,s.changeColor);return df(l,i,s)}}return kl(e.split(`
|
|
331
331
|
`),t.split(`
|
|
332
|
-
`),r)}function FE(e,t,r,nP){let[o,i]=p$(e,t,nP);return r&&WL(o),[o,i]}function
|
|
332
|
+
`),r)}function FE(e,t,r,nP){let[o,i]=p$(e,t,nP);return r&&WL(o),[o,i]}function Ud(e,t){let{commonColor:r}=lo(t);return r(e)}var{AsymmetricMatcher:y$,DOMCollection:v$,DOMElement:E$,Immutable:_$,ReactElement:w$,ReactTestComponent:S$}=RE,LE=[S$,w$,E$,v$,_$,y$],Hd={plugins:LE},$E={callToJSON:!1,maxDepth:10,plugins:LE};function qa(e,t,r){if(Object.is(e,t))return"";let nP=Uy(e),o=nP,i=!1;if(nP==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==Uy(t)){let{aAnnotation:s,aColor:l,aIndicator:u,bAnnotation:d,bColor:c,bIndicator:p}=lo(r),h=zd($E,r),m=Vr(e,h),g=Vr(t,h),b=`${l(`${u} ${s}:`)}
|
|
333
333
|
${m}`,y=`${c(`${p} ${d}:`)}
|
|
334
334
|
${g}`;return`${b}
|
|
335
335
|
|
|
336
|
-
${y}`}if(!i)switch(nP){case"string":return
|
|
336
|
+
${y}`}if(!i)switch(nP){case"string":return kl(e.split(`
|
|
337
337
|
`),t.split(`
|
|
338
|
-
`),r);case"boolean":case"number":return C$(e,t,r);case"map":return
|
|
338
|
+
`),r);case"boolean":case"number":return C$(e,t,r);case"map":return ad(Zy(e),Zy(t),r);case"set":return ad(e0(e),e0(t),r);default:return ad(e,t,r)}}function C$(e,t,r){let nP=Vr(e,Hd),o=Vr(t,Hd);return nP===o?"":kl(nP.split(`
|
|
339
339
|
`),o.split(`
|
|
340
|
-
`),r)}function Zy(e){return new Map(Array.from(e.entries()).sort())}function e0(e){return new Set(Array.from(e.values()).sort())}function
|
|
340
|
+
`),r)}function Zy(e){return new Map(Array.from(e.entries()).sort())}function e0(e){return new Set(Array.from(e.values()).sort())}function ad(e,t,r){let nP,o=!1;try{let s=zd(Hd,r);nP=t0(e,t,s,r)}catch{o=!0}let i=Ud(NE,r);if(nP===void 0||nP===i){let s=zd($E,r);nP=t0(e,t,s,r),nP!==i&&!o&&(nP=`${Ud(XL,r)}
|
|
341
341
|
|
|
342
|
-
${nP}`)}return nP}function
|
|
342
|
+
${nP}`)}return nP}function zd(e,t){let{compareKeys:r}=lo(t);return{...e,compareKeys:r}}function t0(e,t,r,nP){let o={...r,indent:0},i=Vr(e,o),s=Vr(t,o);if(i===s)return Ud(NE,nP);{let l=Vr(e,r),u=Vr(t,r);return d$(l.split(`
|
|
343
343
|
`),u.split(`
|
|
344
344
|
`),i.split(`
|
|
345
345
|
`),s.split(`
|
|
346
|
-
`),nP)}}var r0=2e4;function n0(e){return
|
|
346
|
+
`),nP)}}var r0=2e4;function n0(e){return jd(e)==="Object"&&typeof e.asymmetricMatch=="function"}function o0(e,t){let r=jd(e),nP=jd(t);return r===nP&&(r==="Object"||r==="Array")}function UE(e,t,r){let{aAnnotation:nP,bAnnotation:o}=lo(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=r0&&t.length<=r0&&e!==t){if(e.includes(`
|
|
347
347
|
`)||t.includes(`
|
|
348
348
|
`))return b$(t,e,r);let[d]=FE(t,e,!0),c=d.some(g=>g[0]===Tt),p=A$(nP,o),h=p(nP)+x$(a0(d,Yt,c)),m=p(o)+T$(a0(d,Ht,c));return`${h}
|
|
349
|
-
${m}`}let i=Ey(e,{forceWritable:!0}),s=Ey(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=HE(i,s);return qa(l,u,r)}function HE(e,t,r=new WeakSet,nP=new WeakSet){return o0(e,t)?r.has(e)||nP.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),nP.add(t),aE(t).forEach(o=>{let i=t[o],s=e[o];if(n0(i))i.asymmetricMatch(s)&&(e[o]=i);else if(n0(s))s.asymmetricMatch(i)&&(t[o]=s);else if(o0(s,i)){let l=HE(s,i,r,nP);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function A$(...e){let t=e.reduce((r,nP)=>nP.length>r?nP.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var R$="\xB7";function zE(e){return e.replace(/\s+$/gm,t=>R$.repeat(t.length))}function T$(e){return Rt.red(zE(_r(e)))}function x$(e){return Rt.green(zE(_r(e)))}function a0(e,t,r){return e.reduce((nP,o)=>nP+(o[0]===Tt?o[1]:o[0]===t?r?Rt.inverse(o[1]):o[1]:""),"")}function
|
|
350
|
-
Inner error message: ${nP==null?void 0:nP.message}`))}}var qi=Symbol.for("matchers-object"),ji=Symbol.for("$$jest-matchers-object-storybook"),
|
|
349
|
+
${m}`}let i=Ey(e,{forceWritable:!0}),s=Ey(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=HE(i,s);return qa(l,u,r)}function HE(e,t,r=new WeakSet,nP=new WeakSet){return o0(e,t)?r.has(e)||nP.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),nP.add(t),aE(t).forEach(o=>{let i=t[o],s=e[o];if(n0(i))i.asymmetricMatch(s)&&(e[o]=i);else if(n0(s))s.asymmetricMatch(i)&&(t[o]=s);else if(o0(s,i)){let l=HE(s,i,r,nP);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function A$(...e){let t=e.reduce((r,nP)=>nP.length>r?nP.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var R$="\xB7";function zE(e){return e.replace(/\s+$/gm,t=>R$.repeat(t.length))}function T$(e){return Rt.red(zE(_r(e)))}function x$(e){return Rt.green(zE(_r(e)))}function a0(e,t,r){return e.reduce((nP,o)=>nP+(o[0]===Tt?o[1]:o[0]===t?r?Rt.inverse(o[1]):o[1]:""),"")}function zs(e,t){if(!e)throw new Error(t)}function Aa(e,t){return typeof t===e}function P$(e){return e instanceof Promise}function Vd(e,t,r){Object.defineProperty(e,t,r)}function xa(e,t,r){Object.defineProperty(e,t,{value:r})}var Ti=Symbol.for("tinyspy:spy"),O$=new Set,N$=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},M$=e=>(Vd(e,Ti,{value:{reset:()=>N$(e[Ti])}}),e[Ti]),nl=e=>e[Ti]||M$(e);function I$(e){zs(Aa("function",e)||Aa("undefined",e),"cannot spy on a non-function value");let t=function(...nP){let o=nl(t);o.called=!0,o.callCount++,o.calls.push(nP);let i=o.next.shift();if(i){o.results.push(i);let[c,p]=i;if(c==="ok")return p;throw p}let s,l="ok",u=o.results.length;if(o.impl)try{new.target?s=Reflect.construct(o.impl,nP,new.target):s=o.impl.apply(this,nP),l="ok"}catch(c){throw s=c,l="error",o.results.push([l,c]),c}let d=[l,s];return P$(s)&&s.then(c=>o.resolves[u]=["ok",c],c=>o.resolves[u]=["error",c]),o.results.push(d),s};xa(t,"_isMockFunction",!0),xa(t,"length",e?e.length:0),xa(t,"name",e&&e.name||"spy");let r=nl(t);return r.reset(),r.impl=e,t}var i0=(e,t)=>Object.getOwnPropertyDescriptor(e,t),s0=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function VE(e,t,r){zs(!Aa("undefined",e),"spyOn could not find an object to spy upon"),zs(Aa("object",e)||Aa("function",e),"cannot spyOn on a primitive value");let[nP,o]=(()=>{if(!Aa("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),i=i0(e,nP),s=Object.getPrototypeOf(e),l=s&&i0(s,nP),u=i||l;zs(u||nP in e,`${String(nP)} does not exist`);let d=!1;o==="value"&&u&&!u.value&&u.get&&(o="get",d=!0,r=u.get());let c;u?c=u[o]:o!=="value"?c=()=>e[nP]:c=e[nP],r||(r=c);let p=I$(r);o==="value"&&s0(p,c);let h=b=>{let{value:y,...E}=u||{configurable:!0,writable:!0};o!=="value"&&delete E.writable,E[o]=b,Vd(e,nP,E)},m=()=>u?Vd(e,nP,u):h(c),g=p[Ti];return xa(g,"restore",m),xa(g,"getOriginal",()=>d?c():c),xa(g,"willCall",b=>(g.impl=b,p)),h(d?()=>(s0(p,r),p):p),O$.add(p),p}var Xi=new Set;function pf(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function D$(e,t,r){let nP=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o=VE(e,nP);return GE(o)}var q$=0;function GE(e){let t=e,r,nP=[],o=[],i=[],s=nl(e),l={get calls(){return s.calls},get contexts(){return o},get instances(){return nP},get invocationCallOrder(){return i},get results(){return s.results.map(([m,g])=>({type:m==="error"?"throw":"return",value:g}))},get settledResults(){return s.resolves.map(([m,g])=>({type:m==="error"?"rejected":"fulfilled",value:g}))},get lastCall(){return s.calls[s.calls.length-1]}},u=[],d=!1;function c(...m){return nP.push(this),o.push(this),i.push(++q$),(d?r:u.shift()||r||s.getOriginal()||(()=>{})).apply(this,m)}let p=t.name;t.getMockName=()=>p||"vi.fn()",t.mockName=m=>(p=m,t),t.mockClear=()=>(s.reset(),nP=[],o=[],i=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},u=[],t),t.mockRestore=()=>(t.mockReset(),s.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=m=>(r=m,s.willCall(c),t),t.mockImplementationOnce=m=>(u.push(m),t);function h(m,g){let b=r;r=m,s.willCall(c),d=!0;let y=()=>{r=b,d=!1},E=g();return E instanceof Promise?E.then(()=>(y(),t)):(y(),t)}return t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=m=>t.mockImplementation(()=>m),t.mockReturnValueOnce=m=>t.mockImplementationOnce(()=>m),t.mockResolvedValue=m=>t.mockImplementation(()=>Promise.resolve(m)),t.mockResolvedValueOnce=m=>t.mockImplementationOnce(()=>Promise.resolve(m)),t.mockRejectedValue=m=>t.mockImplementation(()=>Promise.reject(m)),t.mockRejectedValueOnce=m=>t.mockImplementationOnce(()=>Promise.reject(m)),Object.defineProperty(t,"mock",{get:()=>l}),s.willCall(c),Xi.add(t),t}function l0(e){let t=GE(VE({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var j$="@@__IMMUTABLE_RECORD__@@",B$="@@__IMMUTABLE_ITERABLE__@@";function k$(e){return e&&(e[B$]||e[j$])}var F$=Object.getPrototypeOf({});function u0(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function Ra(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(k$(e))return Ra(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()} ${TL(e.sample)}`;if(typeof e.toJSON=="function")return Ra(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((nP,o)=>{try{r[o]=Ra(nP,t)}catch(i){r[o]=u0(i)}}),r}else{let r=Object.create(null);t.set(e,r);let nP=e;for(;nP&&nP!==F$;)Object.getOwnPropertyNames(nP).forEach(o=>{if(!(o in r))try{r[o]=Ra(e[o],t)}catch(i){delete r[o],r[o]=u0(i)}}),nP=Object.getPrototypeOf(nP);return r}}function L$(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function WE(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let nP=e;nP.stack&&(nP.stackStr=String(nP.stack)),nP.name&&(nP.nameStr=String(nP.name)),(nP.showDiff||nP.showDiff===void 0&&nP.expected!==void 0&&nP.actual!==void 0)&&(nP.diff=UE(nP.actual,nP.expected,{...t,...nP.diffOptions})),typeof nP.expected!="string"&&(nP.expected=_r(nP.expected,10)),typeof nP.actual!="string"&&(nP.actual=_r(nP.actual,10));try{typeof nP.message=="string"&&(nP.message=L$(nP.message))}catch{}try{!r.has(nP)&&typeof nP.cause=="object"&&(r.add(nP),nP.cause=WE(nP.cause,t,r))}catch{}try{return Ra(nP)}catch(o){return Ra(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
|
|
350
|
+
Inner error message: ${nP==null?void 0:nP.message}`))}}var qi=Symbol.for("matchers-object"),ji=Symbol.for("$$jest-matchers-object-storybook"),ff=Symbol.for("expect-global"),Gd=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,qi)){let e=new WeakMap;Object.defineProperty(globalThis,qi,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,ji)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,ji,{configurable:!0,get:()=>({state:globalThis[qi].get(globalThis[ff]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Gd)){let e=Object.create(null);Object.defineProperty(globalThis,Gd,{get:()=>e})}function ol(e){return globalThis[qi].get(e)}function id(e,t){let r=globalThis[qi],nP=r.get(t)||{};Object.assign(nP,e),r.set(t,nP)}var al=Rt.green,hf=Rt.red,$$=Rt.inverse,U$=Rt.bold,On=Rt.dim;function H$(e,t="received",r="expected",nP={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:s=!1,promise:l="",secondArgument:u="",expectedColor:d=al,receivedColor:c=hf,secondArgumentColor:p=al}=nP,h="",m="expect";return!i&&t!==""&&(h+=On(`${m}(`)+c(t),m=")"),l!==""&&(h+=On(`${m}.`)+l,m=""),s&&(h+=`${On(`${m}.`)}not`,m=""),e.includes(".")?m+=e:(h+=On(`${m}.`)+e,m=""),r===""?m+="()":(h+=On(`${m}(`)+d(r),u&&(h+=On(", ")+p(u)),m=")"),o!==""&&(m+=` // ${o}`),m!==""&&(h+=On(m)),h}var z$="\xB7";function YE(e){return e.replace(/\s+$/gm,t=>z$.repeat(t.length))}function V$(e){return hf(YE(_r(e)))}function G$(e){return al(YE(_r(e)))}function KE(){return{EXPECTED_COLOR:al,RECEIVED_COLOR:hf,INVERTED_COLOR:$$,BOLD_WEIGHT:U$,DIM_COLOR:On,diff:qa,matcherHint:H$,printReceived:V$,printExpected:G$,printDiffOrStringify:UE}}function mf(){return globalThis[ji].customEqualityTesters}function st(e,t,r,nP){return r=r||[],JE(e,t,[],[],r,nP?XE:Y$)}var m8=Function.prototype.toString;function c0(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Nr("Function",e.asymmetricMatch)}function W$(e,t){let r=c0(e),nP=c0(t);if(!(r&&nP)){if(r)return e.asymmetricMatch(t);if(nP)return t.asymmetricMatch(e)}}function JE(e,t,r,nP,o,i){let s=!0,l=W$(e,t);if(l!==void 0)return l;let u={equals:st};for(let g=0;g<o.length;g++){let b=o[g].call(u,e,t,o);if(b!==void 0)return b}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 d=Object.prototype.toString.call(e);if(d!==Object.prototype.toString.call(t))return!1;switch(d){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 g=+e,b=+t;return g===b||Number.isNaN(g)&&Number.isNaN(b)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(p0(e)&&p0(t))return e.isEqualNode(t);let c=r.length;for(;c--;){if(r[c]===e)return nP[c]===t;if(nP[c]===t)return!1}if(r.push(e),nP.push(t),d==="[object Array]"&&e.length!==t.length)return!1;let p=d0(e,i),h,m=p.length;if(d0(t,i).length!==m)return!1;for(;m--;)if(h=p[m],s=i(t,h)&&JE(e[h],t[h],r,nP,o,i),!s)return!1;return r.pop(),nP.pop(),s}function d0(e,t){let r=[];for(let nP in e)t(e,nP)&&r.push(nP);return r.concat(Object.getOwnPropertySymbols(e).filter(nP=>Object.getOwnPropertyDescriptor(e,nP).enumerable))}function Y$(e,t){return XE(e,t)&&e[t]!==void 0}function XE(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Nr(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function p0(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 QE="@@__IMMUTABLE_KEYED__@@",ZE="@@__IMMUTABLE_SET__@@",K$="@@__IMMUTABLE_LIST__@@",Fl="@@__IMMUTABLE_ORDERED__@@",J$="@@__IMMUTABLE_RECORD__@@";function X$(e){return!!(e&&e[QE]&&!e[Fl])}function Q$(e){return!!(e&&e[ZE]&&!e[Fl])}function Ll(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function Z$(e){return!!(e&&Ll(e)&&e[K$])}function e5(e){return!!(e&&Ll(e)&&e[QE]&&e[Fl])}function t5(e){return!!(e&&Ll(e)&&e[ZE]&&e[Fl])}function r5(e){return!!(e&&Ll(e)&&e[J$])}var e_=Symbol.iterator;function f0(e){return!!(e!=null&&e[e_])}function cr(e,t,r=[],nP=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!f0(e)||!f0(t))return;if(e.constructor!==t.constructor)return!1;let i=nP.length;for(;i--;)if(nP[i]===e)return o[i]===t;nP.push(e),o.push(t);let s=[...r.filter(d=>d!==cr),l];function l(d,c){return cr(d,c,[...r],[...nP],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Nr("Set",e)||Q$(e)){let d=!0;for(let c of e)if(!t.has(c)){let p=!1;for(let h of t)st(c,h,s)===!0&&(p=!0);if(p===!1){d=!1;break}}return nP.pop(),o.pop(),d}else if(Nr("Map",e)||X$(e)){let d=!0;for(let c of e)if(!t.has(c[0])||!st(c[1],t.get(c[0]),s)){let p=!1;for(let h of t){let m=st(c[0],h[0],s),g=!1;m===!0&&(g=st(c[1],h[1],s)),g===!0&&(p=!0)}if(p===!1){d=!1;break}}return nP.pop(),o.pop(),d}}let u=t[e_]();for(let d of e){let c=u.next();if(c.done||!st(d,c.value,s))return!1}if(!u.next().done)return!1;if(!Z$(e)&&!e5(e)&&!t5(e)&&!r5(e)){let d=Object.entries(e),c=Object.entries(t);if(!st(d,c))return!1}return nP.pop(),o.pop(),!0}function gf(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||gf(Object.getPrototypeOf(e),t)}function n5(e){return Us(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function Qi(e,t,r=[]){let nP=r.filter(i=>i!==Qi),o=(i=new WeakMap)=>(s,l)=>{if(n5(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(i.has(l[u]))return st(s[u],l[u],nP);i.set(l[u],!0)}let d=s!=null&&gf(s,u)&&st(s[u],l[u],[...nP,o(i)]);return i.delete(l[u]),d})};return o()(e,t)}function h0(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function m0(e,t){let r=e,nP=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),nP=new DataView(t)}catch{return}}if(r.byteLength!==nP.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==nP.getUint8(o))return!1;return!0}function Wd(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let nP=Object.keys(e),o=Object.keys(t),i=r.filter(s=>s!==Wd);return st(e,t,i,!0)&&st(nP,o)}function o5(e,t="#{this}",r="#{exp}"){let nP=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${nP}
|
|
351
351
|
|
|
352
352
|
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
353
353
|
|
|
354
354
|
Expected: ${t}
|
|
355
355
|
Received: serializes to the same string
|
|
356
|
-
`:nP}function a5(e,t){return`${t} ${e}${t===1?"":"s"}`}function
|
|
357
|
-
(${b} matching ${b===1?"property":"properties"} omitted from actual)`;throw new r(E,{showDiff:!0,expected:c,actual:g})}}),o("toMatch",function(c){let p=this._obj;if(typeof p!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof p}`);return this.assert(typeof c=="string"?p.includes(c):p.match(c),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",c,p)}),o("toContain",function(c){let p=this._obj;if(typeof Node<"u"&&p instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(p.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,p)}if(typeof DOMTokenList<"u"&&p instanceof DOMTokenList){rn(c,"class name",["string"]);let h=t.flag(this,"negate")?p.value.replace(c,"").trim():`${p.value} ${c}`;return this.assert(p.contains(c),`expected "${p.value}" to contain "${c}"`,`expected "${p.value}" not to contain "${c}"`,h,p.value)}return typeof p=="string"&&typeof c=="string"?this.assert(p.includes(c),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",c,p):(p!=null&&typeof p!="string"&&t.flag(this,"object",Array.from(p)),this.contain(c))}),o("toContainEqual",function(c){let p=t.flag(this,"object"),h=Array.from(p).findIndex(m=>st(m,c,nP));this.assert(h!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",c)}),o("toBeTruthy",function(){let c=t.flag(this,"object");this.assert(!!c,"expected #{this} to be truthy","expected #{this} to not be truthy",c,!1)}),o("toBeFalsy",function(){let c=t.flag(this,"object");this.assert(!c,"expected #{this} to be falsy","expected #{this} to not be falsy",c,!1)}),o("toBeGreaterThan",function(c){let p=this._obj;return rn(p,"actual",["number","bigint"]),rn(c,"expected",["number","bigint"]),this.assert(p>c,`expected ${p} to be greater than ${c}`,`expected ${p} to be not greater than ${c}`,p,c,!1)}),o("toBeGreaterThanOrEqual",function(c){let p=this._obj;return rn(p,"actual",["number","bigint"]),rn(c,"expected",["number","bigint"]),this.assert(p>=c,`expected ${p} to be greater than or equal to ${c}`,`expected ${p} to be not greater than or equal to ${c}`,p,c,!1)}),o("toBeLessThan",function(c){let p=this._obj;return rn(p,"actual",["number","bigint"]),rn(c,"expected",["number","bigint"]),this.assert(p<c,`expected ${p} to be less than ${c}`,`expected ${p} to be not less than ${c}`,p,c,!1)}),o("toBeLessThanOrEqual",function(c){let p=this._obj;return rn(p,"actual",["number","bigint"]),rn(c,"expected",["number","bigint"]),this.assert(p<=c,`expected ${p} to be less than or equal to ${c}`,`expected ${p} to be not less than or equal to ${c}`,p,c,!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 c=t.flag(this,"negate");return t.flag(this,"negate",!1),c?this.be.undefined:this.not.be.undefined}),o("toBeTypeOf",function(c){let p=typeof this._obj,h=c===p;return this.assert(h,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",c,p)}),o("toBeInstanceOf",function(c){return this.instanceOf(c)}),o("toHaveLength",function(c){return this.have.length(c)}),o("toHaveProperty",function(...c){Array.isArray(c[0])&&(c[0]=c[0].map(P=>String(P).replace(/([.[\]])/g,"\\$1")).join("."));let p=this._obj,[h,m]=c,g=()=>Object.prototype.hasOwnProperty.call(p,h)?{value:p[h],exists:!0}:t.getPathInfo(p,h),{value:b,exists:y}=g(),E=y&&(c.length===1||st(m,b,nP)),_=c.length===1?"":` with value ${t.objDisplay(m)}`;return this.assert(E,`expected #{this} to have property "${h}"${_}`,`expected #{this} to not have property "${h}"${_}`,m,y?b:void 0)}),o("toBeCloseTo",function(c,p=2){let h=this._obj,m=!1,g=0,b=0;return c===Number.POSITIVE_INFINITY&&h===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&h===Number.NEGATIVE_INFINITY?m=!0:(g=10**-p/2,b=Math.abs(h-c),m=b<g),this.assert(m,`expected #{this} to be close to #{exp}, received difference is ${b}, but expected ${g}`,`expected #{this} to not be close to #{exp}, received difference is ${b}, but expected ${g}`,c,h,!1)});let i=c=>{if(!
|
|
356
|
+
`:nP}function a5(e,t){return`${t} ${e}${t===1?"":"s"}`}function sd(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function i5(e,t,r=[]){let nP=0,o=(i=new WeakMap)=>(s,l)=>{if(Array.isArray(s)){if(Array.isArray(l)&&l.length===s.length)return l.map((u,d)=>o(i)(s[d],u))}else{if(s instanceof Date)return s;if(Us(s)&&Us(l)){if(st(s,l,[...r,cr,Qi]))return l;let u={};i.set(s,u);for(let d of sd(s))gf(l,d)?u[d]=i.has(s[d])?i.get(s[d]):o(i)(s[d],l[d]):i.has(s[d])||(nP+=1,Us(s[d])&&(nP+=sd(s[d]).length),o(i)(s[d],l[d]));if(sd(u).length>0)return u}}return s};return{subset:o()(e,t),stripped:nP}}var Fn=class{constructor(e,t=!1){_t(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...ol(e||globalThis[ff]),equals:st,isNot:this.inverse,customTesters:mf(),utils:{...KE(),diff:qa,stringify:_r,iterableEquality:cr,subsetEquality:Qi}}}[Symbol.for("chai/inspect")](e){let t=_r(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{\u2026}`}},g0=class extends Fn{constructor(e,t=!1){if(!Nr("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Nr("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},s5=class extends Fn{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},b0=class extends Fn{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 nP in this.sample)if(!this.hasProperty(e,nP)||!st(this.sample[nP],e[nP],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},y0=class extends Fn{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(nP=>e.some(o=>st(nP,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},l5=class extends Fn{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)}>`}},v0=class extends Fn{constructor(e,t=!1){if(!Nr("String",e)&&!Nr("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Nr("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},E0=class extends Fn{constructor(t,r=2,nP=!1){if(!Nr("Number",t))throw new Error("Expected is not a Number");if(!Nr("Number",r))throw new Error("Precision is not a Number");super(t);_t(this,"precision");this.inverse=nP,this.precision=r}asymmetricMatch(t){if(!Nr("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,`(${a5("digit",this.precision)})`].join(" ")}},u5=(e,t)=>{t.addMethod(e.expect,"anything",()=>new s5),t.addMethod(e.expect,"any",r=>new l5(r)),t.addMethod(e.expect,"stringContaining",r=>new g0(r)),t.addMethod(e.expect,"objectContaining",r=>new b0(r)),t.addMethod(e.expect,"arrayContaining",r=>new y0(r)),t.addMethod(e.expect,"stringMatching",r=>new v0(r)),t.addMethod(e.expect,"closeTo",(r,nP)=>new E0(r,nP)),e.expect.not={stringContaining:r=>new g0(r,!0),objectContaining:r=>new b0(r,!0),arrayContaining:r=>new y0(r,!0),stringMatching:r=>new v0(r,!0),closeTo:(r,nP)=>new E0(r,nP,!0)}};function _0(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 t_(e,t){return function(...r){var nP;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(i){o.result||(o.result={state:"fail"}),o.result.state="fail",(nP=o.result).errors||(nP.errors=[]),o.result.errors.push(WE(i))}}}var c5=(e,t)=>{let{AssertionError:r}=e,nP=mf();function o(c,p){let h=m=>{let g=t_(t,p);t.addMethod(e.Assertion.prototype,m,g),t.addMethod(globalThis[ji].matchers,m,g)};Array.isArray(c)?c.forEach(m=>h(m)):h(c)}["throw","throws","Throw"].forEach(c=>{t.overwriteMethod(e.Assertion.prototype,c,p=>function(...h){let m=t.flag(this,"promise"),g=t.flag(this,"object"),b=t.flag(this,"negate");if(m==="rejects")t.flag(this,"object",()=>{throw g});else if(m==="resolves"&&typeof g!="function"){if(b)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",E={showDiff:!1};throw new r(y,E,t.flag(this,"ssfi"))}}p.apply(this,h)})}),o("withTest",function(c){return t.flag(this,"vitest-test",c),this}),o("toEqual",function(c){let p=t.flag(this,"object"),h=st(p,c,[...nP,cr]);return this.assert(h,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",c,p)}),o("toStrictEqual",function(c){let p=t.flag(this,"object"),h=st(p,c,[...nP,cr,h0,Wd,m0],!0);return this.assert(h,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",c,p)}),o("toBe",function(c){let p=this._obj,h=Object.is(p,c),m="";return h||(st(p,c,[...nP,cr,h0,Wd,m0],!0)?m="toStrictEqual":st(p,c,[...nP,cr])&&(m="toEqual")),this.assert(h,o5(m),"expected #{this} not to be #{exp} // Object.is equality",c,p)}),o("toMatchObject",function(c){let p=this._obj,h=st(p,c,[...nP,cr,Qi]),m=t.flag(this,"negate"),{subset:g,stripped:b}=i5(p,c);if(h&&m||!h&&!m){let y=t.getMessage(this,[h,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",c,g,!1]),E=b===0?y:`${y}
|
|
357
|
+
(${b} matching ${b===1?"property":"properties"} omitted from actual)`;throw new r(E,{showDiff:!0,expected:c,actual:g})}}),o("toMatch",function(c){let p=this._obj;if(typeof p!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof p}`);return this.assert(typeof c=="string"?p.includes(c):p.match(c),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",c,p)}),o("toContain",function(c){let p=this._obj;if(typeof Node<"u"&&p instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(p.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,p)}if(typeof DOMTokenList<"u"&&p instanceof DOMTokenList){rn(c,"class name",["string"]);let h=t.flag(this,"negate")?p.value.replace(c,"").trim():`${p.value} ${c}`;return this.assert(p.contains(c),`expected "${p.value}" to contain "${c}"`,`expected "${p.value}" not to contain "${c}"`,h,p.value)}return typeof p=="string"&&typeof c=="string"?this.assert(p.includes(c),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",c,p):(p!=null&&typeof p!="string"&&t.flag(this,"object",Array.from(p)),this.contain(c))}),o("toContainEqual",function(c){let p=t.flag(this,"object"),h=Array.from(p).findIndex(m=>st(m,c,nP));this.assert(h!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",c)}),o("toBeTruthy",function(){let c=t.flag(this,"object");this.assert(!!c,"expected #{this} to be truthy","expected #{this} to not be truthy",c,!1)}),o("toBeFalsy",function(){let c=t.flag(this,"object");this.assert(!c,"expected #{this} to be falsy","expected #{this} to not be falsy",c,!1)}),o("toBeGreaterThan",function(c){let p=this._obj;return rn(p,"actual",["number","bigint"]),rn(c,"expected",["number","bigint"]),this.assert(p>c,`expected ${p} to be greater than ${c}`,`expected ${p} to be not greater than ${c}`,p,c,!1)}),o("toBeGreaterThanOrEqual",function(c){let p=this._obj;return rn(p,"actual",["number","bigint"]),rn(c,"expected",["number","bigint"]),this.assert(p>=c,`expected ${p} to be greater than or equal to ${c}`,`expected ${p} to be not greater than or equal to ${c}`,p,c,!1)}),o("toBeLessThan",function(c){let p=this._obj;return rn(p,"actual",["number","bigint"]),rn(c,"expected",["number","bigint"]),this.assert(p<c,`expected ${p} to be less than ${c}`,`expected ${p} to be not less than ${c}`,p,c,!1)}),o("toBeLessThanOrEqual",function(c){let p=this._obj;return rn(p,"actual",["number","bigint"]),rn(c,"expected",["number","bigint"]),this.assert(p<=c,`expected ${p} to be less than or equal to ${c}`,`expected ${p} to be not less than or equal to ${c}`,p,c,!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 c=t.flag(this,"negate");return t.flag(this,"negate",!1),c?this.be.undefined:this.not.be.undefined}),o("toBeTypeOf",function(c){let p=typeof this._obj,h=c===p;return this.assert(h,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",c,p)}),o("toBeInstanceOf",function(c){return this.instanceOf(c)}),o("toHaveLength",function(c){return this.have.length(c)}),o("toHaveProperty",function(...c){Array.isArray(c[0])&&(c[0]=c[0].map(P=>String(P).replace(/([.[\]])/g,"\\$1")).join("."));let p=this._obj,[h,m]=c,g=()=>Object.prototype.hasOwnProperty.call(p,h)?{value:p[h],exists:!0}:t.getPathInfo(p,h),{value:b,exists:y}=g(),E=y&&(c.length===1||st(m,b,nP)),_=c.length===1?"":` with value ${t.objDisplay(m)}`;return this.assert(E,`expected #{this} to have property "${h}"${_}`,`expected #{this} to not have property "${h}"${_}`,m,y?b:void 0)}),o("toBeCloseTo",function(c,p=2){let h=this._obj,m=!1,g=0,b=0;return c===Number.POSITIVE_INFINITY&&h===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&h===Number.NEGATIVE_INFINITY?m=!0:(g=10**-p/2,b=Math.abs(h-c),m=b<g),this.assert(m,`expected #{this} to be close to #{exp}, received difference is ${b}, but expected ${g}`,`expected #{this} to not be close to #{exp}, received difference is ${b}, but expected ${g}`,c,h,!1)});let i=c=>{if(!pf(c._obj))throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`)},s=c=>(i(c),c._obj),l=c=>{let p=c%10,h=c%100;return p===1&&h!==11?`${c}st`:p===2&&h!==12?`${c}nd`:p===3&&h!==13?`${c}rd`:`${c}uh`},u=(c,p,h)=>(c.mock.calls&&(p+=Rt.gray(`
|
|
358
358
|
|
|
359
359
|
Received:
|
|
360
360
|
|
|
@@ -380,16 +380,16 @@ ${p.map((g,b)=>{let y=Rt.bold(` ${l(b+1)} ${c.getMockName()} call return:
|
|
|
380
380
|
`)}`),h+=Rt.gray(`
|
|
381
381
|
|
|
382
382
|
Number of calls: ${Rt.bold(c.mock.calls.length)}
|
|
383
|
-
`),h);o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let p=s(this),h=p.getMockName(),m=p.mock.calls.length;return this.assert(m===c,`expected "${h}" to be called #{exp} times, but got ${m} times`,`expected "${h}" to not be called #{exp} times`,c,m,!1)}),o("toHaveBeenCalledOnce",function(){let c=s(this),p=c.getMockName(),h=c.mock.calls.length;return this.assert(h===1,`expected "${p}" to be called once, but got ${h} times`,`expected "${p}" to not be called once`,1,h,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let c=s(this),p=c.getMockName(),h=c.mock.calls.length,m=h>0,g=t.flag(this,"negate"),b=t.getMessage(this,[m,`expected "${p}" to be called at least once`,`expected "${p}" to not be called at all, but actually been called ${h} times`,!0,m]);if(m&&g&&(b=u(c,b)),m&&g||!m&&!g)throw new r(b)}),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let p=s(this),h=p.getMockName(),m=p.mock.calls.some(y=>st(y,c,[...nP,cr])),g=t.flag(this,"negate"),b=t.getMessage(this,[m,`expected "${h}" to be called with arguments: #{exp}`,`expected "${h}" to not be called with arguments: #{exp}`,c]);if(m&&g||!m&&!g)throw new r(u(p,b,c))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...p){let h=s(this),m=h.getMockName(),g=h.mock.calls[c-1],b=h.mock.calls.length,y=c<=b;this.assert(st(g,p,[...nP,cr]),`expected ${l(c)} "${m}" call to have been called with #{exp}${y?"":`, but called only ${b} times`}`,`expected ${l(c)} "${m}" call to not have been called with #{exp}`,p,g,y)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let p=s(this),h=p.getMockName(),m=p.mock.calls[p.mock.calls.length-1];this.assert(st(m,c,[...nP,cr]),`expected last "${h}" call to have been called with #{exp}`,`expected last "${h}" call to not have been called with #{exp}`,c,m)}),o(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c);let p=this._obj,h=t.flag(this,"promise"),m=t.flag(this,"negate"),g=null;if(h==="rejects")g=p;else if(h==="resolves"&&typeof p!="function"){if(m)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(b,y,t.flag(this,"ssfi"))}}else{let b=!1;try{p()}catch(y){b=!0,g=y}if(!b&&!m){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",E={showDiff:!1};throw new r(y,E,t.flag(this,"ssfi"))}}if(typeof c=="function"){let b=c.name||c.prototype.constructor.name;return this.assert(g&&g instanceof c,`expected error to be instance of ${b}`,`expected error not to be instance of ${b}`,c,g)}if(c instanceof Error)return this.assert(g&&c.message===g.message,`expected error to have message: ${c.message}`,`expected error not to have message: ${c.message}`,c.message,g&&g.message);if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let b=c;return this.assert(g&&b.asymmetricMatch(g),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",b,g)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),[{name:"toHaveResolved",condition:c=>c.mock.settledResults.length>0&&c.mock.settledResults.some(({type:p})=>p==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:c=>c.mock.calls.length>0&&c.mock.results.some(({type:p})=>p!=="throw"),action:"called"}].forEach(({name:c,condition:p,action:h})=>{o(c,function(){let m=s(this),g=m.getMockName(),b=p(m);this.assert(b,`expected "${g}" to be successfully ${h} at least once`,`expected "${g}" to not be successfully ${h}`,b,!b,!1)})}),[{name:"toHaveResolvedTimes",condition:(c,p)=>c.mock.settledResults.reduce((h,{type:m})=>m==="fulfilled"?++h:h,0)===p,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(c,p)=>c.mock.results.reduce((h,{type:m})=>m==="throw"?h:++h,0)===p,action:"called"}].forEach(({name:c,condition:p,action:h})=>{o(c,function(m){let g=s(this),b=g.getMockName(),y=p(g,m);this.assert(y,`expected "${b}" to be successfully ${h} ${m} times`,`expected "${b}" to not be successfully ${h} ${m} times`,`expected resolved times: ${m}`,`received resolved times: ${y}`,!1)})}),[{name:"toHaveResolvedWith",condition:(c,p)=>c.mock.settledResults.some(({type:h,value:m})=>h==="fulfilled"&&st(p,m)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(c,p)=>c.mock.results.some(({type:h,value:m})=>h==="return"&&st(p,m)),action:"return"}].forEach(({name:c,condition:p,action:h})=>{o(c,function(m){let g=s(this),b=p(g,m),y=t.flag(this,"negate");if(b&&y||!b&&!y){let E=g.getMockName(),_=t.getMessage(this,[b,`expected "${E}" to ${h} with: #{exp} at least once`,`expected "${E}" to not ${h} with: #{exp}`,m]),P=h==="return"?g.mock.results:g.mock.settledResults;throw new r(d(g,P,_,m))}})}),[{name:"toHaveLastResolvedWith",condition:(c,p)=>{let h=c.mock.settledResults[c.mock.settledResults.length-1];return h&&h.type==="fulfilled"&&st(h.value,p)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(c,p)=>{let h=c.mock.results[c.mock.results.length-1];return h&&h.type==="return"&&st(h.value,p)},action:"return"}].forEach(({name:c,condition:p,action:h})=>{o(c,function(m){let g=s(this),b=h==="return"?g.mock.results:g.mock.settledResults,y=b[b.length-1],E=g.getMockName();this.assert(p(g,m),`expected last "${E}" call to ${h} #{exp}`,`expected last "${E}" call to not ${h} #{exp}`,m,y==null?void 0:y.value)})}),[{name:"toHaveNthResolvedWith",condition:(c,p,h)=>{let m=c.mock.settledResults[p-1];return m&&m.type==="fulfilled"&&st(m.value,h)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(c,p,h)=>{let m=c.mock.results[p-1];return m&&m.type==="return"&&st(m.value,h)},action:"return"}].forEach(({name:c,condition:p,action:h})=>{o(c,function(m,g){let b=s(this),y=b.getMockName(),E=(h==="return"?b.mock.results:b.mock.settledResults)[m-1],_=`${l(m)} call`;this.assert(p(b,m,g),`expected ${_} "${y}" call to ${h} #{exp}`,`expected ${_} "${y}" call to not ${h} #{exp}`,g,E==null?void 0:E.value)})}),o("toSatisfy",function(c,p){return this.be.satisfy(c,p)}),o("withContext",function(c){for(let p in c)t.flag(this,p,c[p]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),h=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(h==null?void 0:h.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof h}'.`);let m=new Proxy(this,{get:(g,b,y)=>{let E=Reflect.get(g,b,y);return typeof E!="function"?E instanceof e.Assertion?m:E:async(..._)=>{let P=h.then(C=>(t.flag(this,"object",C),E.call(this,..._)),C=>{let w=new r(`promise rejected "${t.inspect(C)}" instead of resolving`,{showDiff:!1});throw w.cause=C,w.stack=c.stack.replace(c.message,w.message),w});return _0(p,P)}}});return m}),t.addProperty(e.Assertion.prototype,"rejects",function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),h=t.flag(this,"object"),m=typeof h=="function"?h():h;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(m==null?void 0:m.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof m}'.`);let g=new Proxy(this,{get:(b,y,E)=>{let _=Reflect.get(b,y,E);return typeof _!="function"?_ instanceof e.Assertion?g:_:async(...P)=>{let C=m.then(w=>{let S=new r(`promise resolved "${t.inspect(w)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:w});throw S.stack=c.stack.replace(c.message,S.message),S},w=>(t.flag(this,"object",w),_.call(this,...P)));return _0(p,C)}}});return g})};function d5(e,t){let r=e._obj,nP=zr.flag(e,"negate"),o=zr.flag(e,"promise")||"",i={...KE(),diff:qa,stringify:_r,iterableEquality:cr,subsetEquality:Qi};return{state:{...al(t),customTesters:gf(),isNot:nP,utils:i,promise:o,equals:st,suppressedErrors:[],soft:zr.flag(e,"soft"),poll:zr.flag(e,"poll")},isNot:nP,obj:r}}var w0=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function p5(e,t,r){return(nP,o)=>{Object.entries(r).forEach(([i,s])=>{function l(...p){let{state:h,isNot:m,obj:g}=d5(this,t),b=s.call(h,g,...p);if(b&&typeof b=="object"&&b instanceof Promise)return b.then(({pass:C,message:w,actual:S,expected:T})=>{if(C&&m||!C&&!m)throw new w0(w(),S,T)});let{pass:y,message:E,actual:_,expected:P}=b;if(y&&m||!y&&!m)throw new w0(E(),_,P)}let u=t_(o,l);o.addMethod(globalThis[ji].matchers,i,u),o.addMethod(e.Assertion.prototype,i,u);class d extends Fn{constructor(h=!1,...m){super(m,h)}asymmetricMatch(h){let{pass:m}=s.call(this.getMatcherContext(t),h,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let c=(...p)=>new d(!1,...p);Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:c,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:(...p)=>new d(!0,...p),writable:!0}),Object.defineProperty(globalThis[Wd],i,{configurable:!0,enumerable:!0,value:c,writable:!0})})}}var f5=(e,t)=>{t.addMethod(e.expect,"extend",(r,nP)=>{Ai(p5(e,r,nP))})};function h5(){Ai(f5),Ai(c5),Ai(u5);let e=(nP,o)=>{let{assertionCalls:i}=al(e);return sd({assertionCalls:i+1,soft:!1},e),to(nP,o)};Object.assign(e,to),e.getState=()=>al(e),e.setState=nP=>sd(nP,e),e.extend=nP=>to.extend(e,nP),e.soft=(...nP)=>{let o=e(...nP);return e.setState({soft:!0}),o},e.unreachable=nP=>{I.fail(`expected${nP?` "${nP}" `:" "}not to be reached`)};function t(nP){let o=()=>new Error(`expected number of assertions to be ${nP}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:nP,expectedAssertionsNumberErrorGen:o})}function r(){let nP=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(nP,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:nP})}return sd({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),zr.addMethod(e,"assertions",t),zr.addMethod(e,"hasAssertions",r),e.extend(p1),e}var r_=h5();Object.defineProperty(globalThis,hf,{value:r_,writable:!0,configurable:!0});var Kd=new Set;function n_(e){return Kd.add(e),()=>void Kd.delete(e)}var m5=(...e)=>{let t=D$(...e);return a_(t)};function o_(e){let t=e?l0(e):l0();return a_(t)}function a_(e){let t=S0(e),r=t.mockImplementation.bind(null);return t.mockImplementation=nP=>S0(r(nP)),t}function S0(e){let t=ol(e),r=t.impl;return t.willCall(function(...nP){return Kd.forEach(o=>o(e,nP)),r==null?void 0:r.apply(this,nP)}),e}function i_(){Xi.forEach(e=>e.mockClear())}function s_(){Xi.forEach(e=>e.mockReset())}function l_(){Xi.forEach(e=>e.mockRestore())}function g5(e,t={}){return e}var u_={};bl(u_,{buildQueries:()=>fn,configure:()=>T3,createEvent:()=>Ws,findAllByAltText:()=>fw,findAllByDisplayValue:()=>sw,findAllByLabelText:()=>L_,findAllByPlaceholderText:()=>K_,findAllByRole:()=>Rw,findAllByTestId:()=>Mw,findAllByText:()=>tw,findAllByTitle:()=>vw,findByAltText:()=>hw,findByDisplayValue:()=>lw,findByLabelText:()=>$_,findByPlaceholderText:()=>J_,findByRole:()=>Tw,findByTestId:()=>Iw,findByText:()=>rw,findByTitle:()=>Ew,fireEvent:()=>$i,getAllByAltText:()=>dw,getAllByDisplayValue:()=>aw,getAllByLabelText:()=>U_,getAllByPlaceholderText:()=>W_,getAllByRole:()=>Cw,getAllByTestId:()=>Ow,getAllByText:()=>Z_,getAllByTitle:()=>bw,getByAltText:()=>pw,getByDisplayValue:()=>iw,getByLabelText:()=>H_,getByPlaceholderText:()=>Y_,getByRole:()=>Aw,getByTestId:()=>Nw,getByText:()=>ew,getByTitle:()=>yw,getConfig:()=>at,getDefaultNormalizer:()=>Sf,getElementError:()=>Hl,getMultipleElementsFoundError:()=>zl,getNodeText:()=>Zi,getQueriesForElement:()=>ap,getRoles:()=>I_,getSuggestedQuery:()=>ll,isInaccessible:()=>Ul,logDOM:()=>Jd,logRoles:()=>M3,makeFindQuery:()=>Ba,makeGetAllQuery:()=>Rf,makeSingleQuery:()=>ja,prettyDOM:()=>Fi,prettyFormat:()=>yf,queries:()=>ul,queryAllByAltText:()=>uw,queryAllByAttribute:()=>co,queryAllByDisplayValue:()=>nw,queryAllByLabelText:()=>z_,queryAllByPlaceholderText:()=>V_,queryAllByRole:()=>ww,queryAllByTestId:()=>xw,queryAllByText:()=>X_,queryAllByTitle:()=>mw,queryByAltText:()=>cw,queryByAttribute:()=>q_,queryByDisplayValue:()=>ow,queryByLabelText:()=>k_,queryByPlaceholderText:()=>G_,queryByRole:()=>Sw,queryByTestId:()=>Pw,queryByText:()=>Q_,queryByTitle:()=>gw,queryHelpers:()=>G3,screen:()=>E4,waitFor:()=>Af,waitForElementToBeRemoved:()=>f4,within:()=>ap,wrapAllByQueryWithSuggestion:()=>ar,wrapSingleQueryWithSuggestion:()=>qn});var yf=dr(vj()),b5=Object.prototype.toString;function C0(e){return typeof e=="function"||b5.call(e)==="[object Function]"}function y5(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var v5=Math.pow(2,53)-1;function E5(e){var t=y5(e);return Math.min(Math.max(t,0),v5)}function Or(e,t){var r=Array,nP=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!C0(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=E5(nP.length),i=C0(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=nP[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}function Bi(e){"@babel/helpers - typeof";return Bi=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},Bi(e)}function _5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A0(e,t){for(var r=0;r<t.length;r++){var nP=t[r];nP.enumerable=nP.enumerable||!1,nP.configurable=!0,"value"in nP&&(nP.writable=!0),Object.defineProperty(e,c_(nP.key),nP)}}function w5(e,t,r){return t&&A0(e.prototype,t),r&&A0(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function S5(e,t,r){return t=c_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c_(e){var t=C5(e,"string");return Bi(t)==="symbol"?t:String(t)}function C5(e,t){if(Bi(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var nP=r.call(e,t||"default");if(Bi(nP)!=="object")return nP;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var A5=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];_5(this,e),S5(this,"items",void 0),this.items=t}return w5(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(nP){return nP!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(nP){t(nP,nP,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),R5=typeof Set>"u"?Set:A5;function Jt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var T5={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",rs:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},x5={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 P5(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 nP;return e.hasAttribute(r)&&!((nP=x5[t])!==null&&nP!==void 0&&nP.has(r))})}function d_(e,t){return P5(e,t)}function O5(e){var t=M5(e);if(t===null||t==="presentation"){var r=N5(e);if(t!=="presentation"||d_(e,r||""))return r}return t}function N5(e){var t=T5[Jt(e)];if(t!==void 0)return t;switch(Jt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!d_(e,"img")?"presentation":"img";case"input":{var r=e,nP=r.type;switch(nP){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return nP;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 M5(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Et(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function p_(e){return Et(e)&&Jt(e)==="caption"}function Gs(e){return Et(e)&&Jt(e)==="input"}function I5(e){return Et(e)&&Jt(e)==="optgroup"}function D5(e){return Et(e)&&Jt(e)==="select"}function q5(e){return Et(e)&&Jt(e)==="table"}function j5(e){return Et(e)&&Jt(e)==="textarea"}function B5(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function k5(e){return Et(e)&&Jt(e)==="fieldset"}function F5(e){return Et(e)&&Jt(e)==="legend"}function L5(e){return Et(e)&&Jt(e)==="slot"}function $5(e){return Et(e)&&e.ownerSVGElement!==void 0}function U5(e){return Et(e)&&Jt(e)==="svg"}function H5(e){return $5(e)&&Jt(e)==="title"}function sl(e,t){if(Et(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),nP=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return nP.getElementById(o)}).filter(function(o){return o!==null})}return[]}function an(e,t){return Et(e)?t.indexOf(O5(e))!==-1:!1}function z5(e){return e.trim().replace(/\s\s+/g," ")}function V5(e,t){if(!Et(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 G5(e){return an(e,["button","combobox","listbox","textbox"])||f_(e,"range")}function f_(e,t){if(!Et(e))return!1;switch(t){case"range":return an(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function R0(e,t){var r=Or(e.querySelectorAll(t));return sl(e,"aria-owns").forEach(function(nP){r.push.apply(r,Or(nP.querySelectorAll(t)))}),r}function W5(e){return D5(e)?e.selectedOptions||R0(e,"[selected]"):R0(e,'[aria-selected="true"]')}function Y5(e){return an(e,["none","presentation"])}function K5(e){return p_(e)}function J5(e){return an(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function X5(e){return!1}function Q5(e){return Gs(e)||j5(e)?e.value:e.textContent||""}function T0(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function h_(e){var t=Jt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function m_(e){if(h_(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Et(r)){var nP=m_(r);nP!==null&&(t=nP)}}),t}function Z5(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):m_(e)}function e3(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Or(t);if(!h_(e))return null;var r=e.ownerDocument;return Or(r.querySelectorAll("label")).filter(function(nP){return Z5(nP)===e})}function t3(e){var t=e.assignedNodes();return t.length===0?Or(e.childNodes):t}function g_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new R5,nP=B5(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,d=u===void 0?nP.getComputedStyle.bind(nP):u,c=t.hidden,p=c===void 0?!1:c;function h(E,_){var P="";if(Et(E)&&l){var C=d(E,"::before"),w=T0(C);P="".concat(w," ").concat(P)}var S=L5(E)?t3(E):Or(E.childNodes).concat(sl(E,"aria-owns"));if(S.forEach(function(N){var U=y(N,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),X=Et(N)?d(N).getPropertyValue("display"):"inline",V=X!=="inline"?" ":"";P+="".concat(V).concat(U).concat(V)}),Et(E)&&l){var T=d(E,"::after"),A=T0(T);P="".concat(P," ").concat(A)}return P.trim()}function m(E,_){var P=E.getAttributeNode(_);return P!==null&&!r.has(P)&&P.value.trim()!==""?(r.add(P),P.value):null}function g(E){return Et(E)?m(E,"title"):null}function b(E){if(!Et(E))return null;if(k5(E)){r.add(E);for(var _=Or(E.childNodes),P=0;P<_.length;P+=1){var C=_[P];if(F5(C))return y(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(q5(E)){r.add(E);for(var w=Or(E.childNodes),S=0;S<w.length;S+=1){var T=w[S];if(p_(T))return y(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(U5(E)){r.add(E);for(var A=Or(E.childNodes),N=0;N<A.length;N+=1){var U=A[N];if(H5(U))return U.textContent}return null}else if(Jt(E)==="img"||Jt(E)==="area"){var X=m(E,"alt");if(X!==null)return X}else if(I5(E)){var V=m(E,"label");if(V!==null)return V}if(Gs(E)&&(E.type==="button"||E.type==="submit"||E.type==="reset")){var J=m(E,"value");if(J!==null)return J;if(E.type==="submit")return"Submit";if(E.type==="reset")return"Reset"}var x=e3(E);if(x!==null&&x.length!==0)return r.add(E),Or(x).map(function(ce){return y(ce,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ce){return ce.length>0}).join(" ");if(Gs(E)&&E.type==="image"){var B=m(E,"alt");if(B!==null)return B;var K=m(E,"title");return K!==null?K:"Submit Query"}if(an(E,["button"])){var fe=h(E,{isEmbeddedInLabel:!1,isReferenced:!1});if(fe!=="")return fe}return null}function y(E,_){if(r.has(E))return"";if(!p&&V5(E,d)&&!_.isReferenced)return r.add(E),"";var P=Et(E)?E.getAttributeNode("aria-labelledby"):null,C=P!==null&&!r.has(P)?sl(E,"aria-labelledby"):[];if(i==="name"&&!_.isReferenced&&C.length>0)return r.add(P),C.map(function(X){return y(X,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var w=_.recursion&&G5(E)&&i==="name";if(!w){var S=(Et(E)&&E.getAttribute("aria-label")||"").trim();if(S!==""&&i==="name")return r.add(E),S;if(!Y5(E)){var T=b(E);if(T!==null)return r.add(E),T}}if(an(E,["menu"]))return r.add(E),"";if(w||_.isEmbeddedInLabel||_.isReferenced){if(an(E,["combobox","listbox"])){r.add(E);var A=W5(E);return A.length===0?Gs(E)?E.value:"":Or(A).map(function(X){return y(X,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(f_(E,"range"))return r.add(E),E.hasAttribute("aria-valuetext")?E.getAttribute("aria-valuetext"):E.hasAttribute("aria-valuenow")?E.getAttribute("aria-valuenow"):E.getAttribute("value")||"";if(an(E,["textbox"]))return r.add(E),Q5(E)}if(J5(E)||Et(E)&&_.isReferenced||K5(E)||X5(E)){var N=h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});if(N!=="")return r.add(E),N}if(E.nodeType===E.TEXT_NODE)return r.add(E),E.textContent||"";if(_.recursion)return r.add(E),h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});var U=g(E);return U!==null?(r.add(E),U):(r.add(E),"")}return z5(y(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function ki(e){"@babel/helpers - typeof";return ki=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},ki(e)}function x0(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var nP=Object.getOwnPropertySymbols(e);t&&(nP=nP.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,nP)}return r}function P0(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?x0(Object(r),!0).forEach(function(nP){r3(e,nP,r[nP])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x0(Object(r)).forEach(function(nP){Object.defineProperty(e,nP,Object.getOwnPropertyDescriptor(r,nP))})}return e}function r3(e,t,r){return t=n3(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n3(e){var t=o3(e,"string");return ki(t)==="symbol"?t:String(t)}function o3(e,t){if(ki(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var nP=r.call(e,t||"default");if(ki(nP)!=="object")return nP;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function b_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=sl(e,"aria-describedby").map(function(o){return g_(o,P0(P0({},t),{},{compute:"description"}))}).join(" ");if(r===""){var nP=e.getAttribute("title");r=nP===null?"":nP}return r}function a3(e){return an(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function vf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return a3(e)?"":g_(e,t)}var yr=dr(fp()),i3=dr(Ej());function y_(e){return e.replace(/</g,"<").replace(/>/g,">")}var s3=(e,t,r,nP,o,i,s)=>{let l=nP+r.indent,u=r.colors;return e.map(d=>{let c=t[d],p=s(c,r,l,o,i);return typeof c!="string"&&(p.indexOf(`
|
|
384
|
-
`)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+nP),p="{"+p+"}"),r.spacingInner+nP+u.prop.open+d+u.prop.close+"="+u.value.open+p+u.value.close}).join("")},l3=3,u3=(e,t,r,nP,o,i)=>e.map(s=>{let l=typeof s=="string"?v_(s,t):i(s,t,r,nP,o);return l===""&&typeof s=="object"&&s!==null&&s.nodeType!==l3?"":t.spacingOuter+r+l}).join(""),v_=(e,t)=>{let r=t.colors.content;return r.open+y_(e)+r.close},c3=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+y_(e)+"-->"+r.close},d3=(e,t,r,nP,o)=>{let i=nP.colors.tag;return i.open+"<"+e+(t&&i.close+t+nP.spacingOuter+o+i.open)+(r?">"+i.close+r+nP.spacingOuter+o+i.open+"</"+e:(t&&!nP.min?"":" ")+"/")+">"+i.close},p3=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},f3=1,E_=3,__=8,w_=11,h3=/^((HTML|SVG)\w*)?Element$/,S_=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},m3=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===f3&&(h3.test(t)||S_(e))||r===E_&&t==="Text"||r===__&&t==="Comment"||r===w_&&t==="DocumentFragment"};function g3(e){return e.nodeType===E_}function b3(e){return e.nodeType===__}function
|
|
383
|
+
`),h);o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let p=s(this),h=p.getMockName(),m=p.mock.calls.length;return this.assert(m===c,`expected "${h}" to be called #{exp} times, but got ${m} times`,`expected "${h}" to not be called #{exp} times`,c,m,!1)}),o("toHaveBeenCalledOnce",function(){let c=s(this),p=c.getMockName(),h=c.mock.calls.length;return this.assert(h===1,`expected "${p}" to be called once, but got ${h} times`,`expected "${p}" to not be called once`,1,h,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let c=s(this),p=c.getMockName(),h=c.mock.calls.length,m=h>0,g=t.flag(this,"negate"),b=t.getMessage(this,[m,`expected "${p}" to be called at least once`,`expected "${p}" to not be called at all, but actually been called ${h} times`,!0,m]);if(m&&g&&(b=u(c,b)),m&&g||!m&&!g)throw new r(b)}),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let p=s(this),h=p.getMockName(),m=p.mock.calls.some(y=>st(y,c,[...nP,cr])),g=t.flag(this,"negate"),b=t.getMessage(this,[m,`expected "${h}" to be called with arguments: #{exp}`,`expected "${h}" to not be called with arguments: #{exp}`,c]);if(m&&g||!m&&!g)throw new r(u(p,b,c))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...p){let h=s(this),m=h.getMockName(),g=h.mock.calls[c-1],b=h.mock.calls.length,y=c<=b;this.assert(st(g,p,[...nP,cr]),`expected ${l(c)} "${m}" call to have been called with #{exp}${y?"":`, but called only ${b} times`}`,`expected ${l(c)} "${m}" call to not have been called with #{exp}`,p,g,y)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let p=s(this),h=p.getMockName(),m=p.mock.calls[p.mock.calls.length-1];this.assert(st(m,c,[...nP,cr]),`expected last "${h}" call to have been called with #{exp}`,`expected last "${h}" call to not have been called with #{exp}`,c,m)}),o(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c);let p=this._obj,h=t.flag(this,"promise"),m=t.flag(this,"negate"),g=null;if(h==="rejects")g=p;else if(h==="resolves"&&typeof p!="function"){if(m)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(b,y,t.flag(this,"ssfi"))}}else{let b=!1;try{p()}catch(y){b=!0,g=y}if(!b&&!m){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",E={showDiff:!1};throw new r(y,E,t.flag(this,"ssfi"))}}if(typeof c=="function"){let b=c.name||c.prototype.constructor.name;return this.assert(g&&g instanceof c,`expected error to be instance of ${b}`,`expected error not to be instance of ${b}`,c,g)}if(c instanceof Error)return this.assert(g&&c.message===g.message,`expected error to have message: ${c.message}`,`expected error not to have message: ${c.message}`,c.message,g&&g.message);if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let b=c;return this.assert(g&&b.asymmetricMatch(g),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",b,g)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),[{name:"toHaveResolved",condition:c=>c.mock.settledResults.length>0&&c.mock.settledResults.some(({type:p})=>p==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:c=>c.mock.calls.length>0&&c.mock.results.some(({type:p})=>p!=="throw"),action:"called"}].forEach(({name:c,condition:p,action:h})=>{o(c,function(){let m=s(this),g=m.getMockName(),b=p(m);this.assert(b,`expected "${g}" to be successfully ${h} at least once`,`expected "${g}" to not be successfully ${h}`,b,!b,!1)})}),[{name:"toHaveResolvedTimes",condition:(c,p)=>c.mock.settledResults.reduce((h,{type:m})=>m==="fulfilled"?++h:h,0)===p,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(c,p)=>c.mock.results.reduce((h,{type:m})=>m==="throw"?h:++h,0)===p,action:"called"}].forEach(({name:c,condition:p,action:h})=>{o(c,function(m){let g=s(this),b=g.getMockName(),y=p(g,m);this.assert(y,`expected "${b}" to be successfully ${h} ${m} times`,`expected "${b}" to not be successfully ${h} ${m} times`,`expected resolved times: ${m}`,`received resolved times: ${y}`,!1)})}),[{name:"toHaveResolvedWith",condition:(c,p)=>c.mock.settledResults.some(({type:h,value:m})=>h==="fulfilled"&&st(p,m)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(c,p)=>c.mock.results.some(({type:h,value:m})=>h==="return"&&st(p,m)),action:"return"}].forEach(({name:c,condition:p,action:h})=>{o(c,function(m){let g=s(this),b=p(g,m),y=t.flag(this,"negate");if(b&&y||!b&&!y){let E=g.getMockName(),_=t.getMessage(this,[b,`expected "${E}" to ${h} with: #{exp} at least once`,`expected "${E}" to not ${h} with: #{exp}`,m]),P=h==="return"?g.mock.results:g.mock.settledResults;throw new r(d(g,P,_,m))}})}),[{name:"toHaveLastResolvedWith",condition:(c,p)=>{let h=c.mock.settledResults[c.mock.settledResults.length-1];return h&&h.type==="fulfilled"&&st(h.value,p)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(c,p)=>{let h=c.mock.results[c.mock.results.length-1];return h&&h.type==="return"&&st(h.value,p)},action:"return"}].forEach(({name:c,condition:p,action:h})=>{o(c,function(m){let g=s(this),b=h==="return"?g.mock.results:g.mock.settledResults,y=b[b.length-1],E=g.getMockName();this.assert(p(g,m),`expected last "${E}" call to ${h} #{exp}`,`expected last "${E}" call to not ${h} #{exp}`,m,y==null?void 0:y.value)})}),[{name:"toHaveNthResolvedWith",condition:(c,p,h)=>{let m=c.mock.settledResults[p-1];return m&&m.type==="fulfilled"&&st(m.value,h)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(c,p,h)=>{let m=c.mock.results[p-1];return m&&m.type==="return"&&st(m.value,h)},action:"return"}].forEach(({name:c,condition:p,action:h})=>{o(c,function(m,g){let b=s(this),y=b.getMockName(),E=(h==="return"?b.mock.results:b.mock.settledResults)[m-1],_=`${l(m)} call`;this.assert(p(b,m,g),`expected ${_} "${y}" call to ${h} #{exp}`,`expected ${_} "${y}" call to not ${h} #{exp}`,g,E==null?void 0:E.value)})}),o("toSatisfy",function(c,p){return this.be.satisfy(c,p)}),o("withContext",function(c){for(let p in c)t.flag(this,p,c[p]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),h=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(h==null?void 0:h.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof h}'.`);let m=new Proxy(this,{get:(g,b,y)=>{let E=Reflect.get(g,b,y);return typeof E!="function"?E instanceof e.Assertion?m:E:async(..._)=>{let P=h.then(C=>(t.flag(this,"object",C),E.call(this,..._)),C=>{let w=new r(`promise rejected "${t.inspect(C)}" instead of resolving`,{showDiff:!1});throw w.cause=C,w.stack=c.stack.replace(c.message,w.message),w});return _0(p,P)}}});return m}),t.addProperty(e.Assertion.prototype,"rejects",function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),h=t.flag(this,"object"),m=typeof h=="function"?h():h;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(m==null?void 0:m.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof m}'.`);let g=new Proxy(this,{get:(b,y,E)=>{let _=Reflect.get(b,y,E);return typeof _!="function"?_ instanceof e.Assertion?g:_:async(...P)=>{let C=m.then(w=>{let S=new r(`promise resolved "${t.inspect(w)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:w});throw S.stack=c.stack.replace(c.message,S.message),S},w=>(t.flag(this,"object",w),_.call(this,...P)));return _0(p,C)}}});return g})};function d5(e,t){let r=e._obj,nP=zr.flag(e,"negate"),o=zr.flag(e,"promise")||"",i={...KE(),diff:qa,stringify:_r,iterableEquality:cr,subsetEquality:Qi};return{state:{...ol(t),customTesters:mf(),isNot:nP,utils:i,promise:o,equals:st,suppressedErrors:[],soft:zr.flag(e,"soft"),poll:zr.flag(e,"poll")},isNot:nP,obj:r}}var w0=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function p5(e,t,r){return(nP,o)=>{Object.entries(r).forEach(([i,s])=>{function l(...p){let{state:h,isNot:m,obj:g}=d5(this,t),b=s.call(h,g,...p);if(b&&typeof b=="object"&&b instanceof Promise)return b.then(({pass:C,message:w,actual:S,expected:T})=>{if(C&&m||!C&&!m)throw new w0(w(),S,T)});let{pass:y,message:E,actual:_,expected:P}=b;if(y&&m||!y&&!m)throw new w0(E(),_,P)}let u=t_(o,l);o.addMethod(globalThis[ji].matchers,i,u),o.addMethod(e.Assertion.prototype,i,u);class d extends Fn{constructor(h=!1,...m){super(m,h)}asymmetricMatch(h){let{pass:m}=s.call(this.getMatcherContext(t),h,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let c=(...p)=>new d(!1,...p);Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:c,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:(...p)=>new d(!0,...p),writable:!0}),Object.defineProperty(globalThis[Gd],i,{configurable:!0,enumerable:!0,value:c,writable:!0})})}}var f5=(e,t)=>{t.addMethod(e.expect,"extend",(r,nP)=>{Ai(p5(e,r,nP))})};function h5(){Ai(f5),Ai(c5),Ai(u5);let e=(nP,o)=>{let{assertionCalls:i}=ol(e);return id({assertionCalls:i+1,soft:!1},e),to(nP,o)};Object.assign(e,to),e.getState=()=>ol(e),e.setState=nP=>id(nP,e),e.extend=nP=>to.extend(e,nP),e.soft=(...nP)=>{let o=e(...nP);return e.setState({soft:!0}),o},e.unreachable=nP=>{I.fail(`expected${nP?` "${nP}" `:" "}not to be reached`)};function t(nP){let o=()=>new Error(`expected number of assertions to be ${nP}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:nP,expectedAssertionsNumberErrorGen:o})}function r(){let nP=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(nP,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:nP})}return id({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),zr.addMethod(e,"assertions",t),zr.addMethod(e,"hasAssertions",r),e.extend(p1),e}var r_=h5();Object.defineProperty(globalThis,ff,{value:r_,writable:!0,configurable:!0});var Yd=new Set;function n_(e){return Yd.add(e),()=>void Yd.delete(e)}var m5=(...e)=>{let t=D$(...e);return a_(t)};function o_(e){let t=e?l0(e):l0();return a_(t)}function a_(e){let t=S0(e),r=t.mockImplementation.bind(null);return t.mockImplementation=nP=>S0(r(nP)),t}function S0(e){let t=nl(e),r=t.impl;return t.willCall(function(...nP){return Yd.forEach(o=>o(e,nP)),r==null?void 0:r.apply(this,nP)}),e}function i_(){Xi.forEach(e=>e.mockClear())}function s_(){Xi.forEach(e=>e.mockReset())}function l_(){Xi.forEach(e=>e.mockRestore())}function g5(e,t={}){return e}var u_={};gl(u_,{buildQueries:()=>fn,configure:()=>T3,createEvent:()=>Gs,findAllByAltText:()=>fw,findAllByDisplayValue:()=>sw,findAllByLabelText:()=>L_,findAllByPlaceholderText:()=>K_,findAllByRole:()=>Rw,findAllByTestId:()=>Mw,findAllByText:()=>tw,findAllByTitle:()=>vw,findByAltText:()=>hw,findByDisplayValue:()=>lw,findByLabelText:()=>$_,findByPlaceholderText:()=>J_,findByRole:()=>Tw,findByTestId:()=>Iw,findByText:()=>rw,findByTitle:()=>Ew,fireEvent:()=>$i,getAllByAltText:()=>dw,getAllByDisplayValue:()=>aw,getAllByLabelText:()=>U_,getAllByPlaceholderText:()=>W_,getAllByRole:()=>Cw,getAllByTestId:()=>Ow,getAllByText:()=>Z_,getAllByTitle:()=>bw,getByAltText:()=>pw,getByDisplayValue:()=>iw,getByLabelText:()=>H_,getByPlaceholderText:()=>Y_,getByRole:()=>Aw,getByTestId:()=>Nw,getByText:()=>ew,getByTitle:()=>yw,getConfig:()=>at,getDefaultNormalizer:()=>wf,getElementError:()=>Ul,getMultipleElementsFoundError:()=>Hl,getNodeText:()=>Zi,getQueriesForElement:()=>op,getRoles:()=>I_,getSuggestedQuery:()=>sl,isInaccessible:()=>$l,logDOM:()=>Kd,logRoles:()=>M3,makeFindQuery:()=>Ba,makeGetAllQuery:()=>Af,makeSingleQuery:()=>ja,prettyDOM:()=>Fi,prettyFormat:()=>bf,queries:()=>ll,queryAllByAltText:()=>uw,queryAllByAttribute:()=>co,queryAllByDisplayValue:()=>nw,queryAllByLabelText:()=>z_,queryAllByPlaceholderText:()=>V_,queryAllByRole:()=>ww,queryAllByTestId:()=>xw,queryAllByText:()=>X_,queryAllByTitle:()=>mw,queryByAltText:()=>cw,queryByAttribute:()=>q_,queryByDisplayValue:()=>ow,queryByLabelText:()=>k_,queryByPlaceholderText:()=>G_,queryByRole:()=>Sw,queryByTestId:()=>Pw,queryByText:()=>Q_,queryByTitle:()=>gw,queryHelpers:()=>G3,screen:()=>E4,waitFor:()=>Cf,waitForElementToBeRemoved:()=>f4,within:()=>op,wrapAllByQueryWithSuggestion:()=>ar,wrapSingleQueryWithSuggestion:()=>qn});var bf=dr(vj()),b5=Object.prototype.toString;function C0(e){return typeof e=="function"||b5.call(e)==="[object Function]"}function y5(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var v5=Math.pow(2,53)-1;function E5(e){var t=y5(e);return Math.min(Math.max(t,0),v5)}function Or(e,t){var r=Array,nP=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!C0(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=E5(nP.length),i=C0(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=nP[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}function Bi(e){"@babel/helpers - typeof";return Bi=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},Bi(e)}function _5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A0(e,t){for(var r=0;r<t.length;r++){var nP=t[r];nP.enumerable=nP.enumerable||!1,nP.configurable=!0,"value"in nP&&(nP.writable=!0),Object.defineProperty(e,c_(nP.key),nP)}}function w5(e,t,r){return t&&A0(e.prototype,t),r&&A0(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function S5(e,t,r){return t=c_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c_(e){var t=C5(e,"string");return Bi(t)==="symbol"?t:String(t)}function C5(e,t){if(Bi(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var nP=r.call(e,t||"default");if(Bi(nP)!=="object")return nP;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var A5=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];_5(this,e),S5(this,"items",void 0),this.items=t}return w5(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(nP){return nP!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(nP){t(nP,nP,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),R5=typeof Set>"u"?Set:A5;function Jt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var T5={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",uh:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},x5={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 P5(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 nP;return e.hasAttribute(r)&&!((nP=x5[t])!==null&&nP!==void 0&&nP.has(r))})}function d_(e,t){return P5(e,t)}function O5(e){var t=M5(e);if(t===null||t==="presentation"){var r=N5(e);if(t!=="presentation"||d_(e,r||""))return r}return t}function N5(e){var t=T5[Jt(e)];if(t!==void 0)return t;switch(Jt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!d_(e,"img")?"presentation":"img";case"input":{var r=e,nP=r.type;switch(nP){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return nP;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 M5(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Et(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function p_(e){return Et(e)&&Jt(e)==="caption"}function Vs(e){return Et(e)&&Jt(e)==="input"}function I5(e){return Et(e)&&Jt(e)==="optgroup"}function D5(e){return Et(e)&&Jt(e)==="select"}function q5(e){return Et(e)&&Jt(e)==="table"}function j5(e){return Et(e)&&Jt(e)==="textarea"}function B5(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function k5(e){return Et(e)&&Jt(e)==="fieldset"}function F5(e){return Et(e)&&Jt(e)==="legend"}function L5(e){return Et(e)&&Jt(e)==="slot"}function $5(e){return Et(e)&&e.ownerSVGElement!==void 0}function U5(e){return Et(e)&&Jt(e)==="svg"}function H5(e){return $5(e)&&Jt(e)==="title"}function il(e,t){if(Et(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),nP=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return nP.getElementById(o)}).filter(function(o){return o!==null})}return[]}function an(e,t){return Et(e)?t.indexOf(O5(e))!==-1:!1}function z5(e){return e.trim().replace(/\s\s+/g," ")}function V5(e,t){if(!Et(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 G5(e){return an(e,["button","combobox","listbox","textbox"])||f_(e,"range")}function f_(e,t){if(!Et(e))return!1;switch(t){case"range":return an(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function R0(e,t){var r=Or(e.querySelectorAll(t));return il(e,"aria-owns").forEach(function(nP){r.push.apply(r,Or(nP.querySelectorAll(t)))}),r}function W5(e){return D5(e)?e.selectedOptions||R0(e,"[selected]"):R0(e,'[aria-selected="true"]')}function Y5(e){return an(e,["none","presentation"])}function K5(e){return p_(e)}function J5(e){return an(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function X5(e){return!1}function Q5(e){return Vs(e)||j5(e)?e.value:e.textContent||""}function T0(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function h_(e){var t=Jt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function m_(e){if(h_(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Et(r)){var nP=m_(r);nP!==null&&(t=nP)}}),t}function Z5(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):m_(e)}function e3(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Or(t);if(!h_(e))return null;var r=e.ownerDocument;return Or(r.querySelectorAll("label")).filter(function(nP){return Z5(nP)===e})}function t3(e){var t=e.assignedNodes();return t.length===0?Or(e.childNodes):t}function g_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new R5,nP=B5(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,d=u===void 0?nP.getComputedStyle.bind(nP):u,c=t.hidden,p=c===void 0?!1:c;function h(E,_){var P="";if(Et(E)&&l){var C=d(E,"::before"),w=T0(C);P="".concat(w," ").concat(P)}var S=L5(E)?t3(E):Or(E.childNodes).concat(il(E,"aria-owns"));if(S.forEach(function(N){var U=y(N,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),X=Et(N)?d(N).getPropertyValue("display"):"inline",V=X!=="inline"?" ":"";P+="".concat(V).concat(U).concat(V)}),Et(E)&&l){var T=d(E,"::after"),A=T0(T);P="".concat(P," ").concat(A)}return P.trim()}function m(E,_){var P=E.getAttributeNode(_);return P!==null&&!r.has(P)&&P.value.trim()!==""?(r.add(P),P.value):null}function g(E){return Et(E)?m(E,"title"):null}function b(E){if(!Et(E))return null;if(k5(E)){r.add(E);for(var _=Or(E.childNodes),P=0;P<_.length;P+=1){var C=_[P];if(F5(C))return y(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(q5(E)){r.add(E);for(var w=Or(E.childNodes),S=0;S<w.length;S+=1){var T=w[S];if(p_(T))return y(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(U5(E)){r.add(E);for(var A=Or(E.childNodes),N=0;N<A.length;N+=1){var U=A[N];if(H5(U))return U.textContent}return null}else if(Jt(E)==="img"||Jt(E)==="area"){var X=m(E,"alt");if(X!==null)return X}else if(I5(E)){var V=m(E,"label");if(V!==null)return V}if(Vs(E)&&(E.type==="button"||E.type==="submit"||E.type==="reset")){var J=m(E,"value");if(J!==null)return J;if(E.type==="submit")return"Submit";if(E.type==="reset")return"Reset"}var x=e3(E);if(x!==null&&x.length!==0)return r.add(E),Or(x).map(function(ce){return y(ce,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ce){return ce.length>0}).join(" ");if(Vs(E)&&E.type==="image"){var B=m(E,"alt");if(B!==null)return B;var K=m(E,"title");return K!==null?K:"Submit Query"}if(an(E,["button"])){var fe=h(E,{isEmbeddedInLabel:!1,isReferenced:!1});if(fe!=="")return fe}return null}function y(E,_){if(r.has(E))return"";if(!p&&V5(E,d)&&!_.isReferenced)return r.add(E),"";var P=Et(E)?E.getAttributeNode("aria-labelledby"):null,C=P!==null&&!r.has(P)?il(E,"aria-labelledby"):[];if(i==="name"&&!_.isReferenced&&C.length>0)return r.add(P),C.map(function(X){return y(X,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var w=_.recursion&&G5(E)&&i==="name";if(!w){var S=(Et(E)&&E.getAttribute("aria-label")||"").trim();if(S!==""&&i==="name")return r.add(E),S;if(!Y5(E)){var T=b(E);if(T!==null)return r.add(E),T}}if(an(E,["menu"]))return r.add(E),"";if(w||_.isEmbeddedInLabel||_.isReferenced){if(an(E,["combobox","listbox"])){r.add(E);var A=W5(E);return A.length===0?Vs(E)?E.value:"":Or(A).map(function(X){return y(X,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(f_(E,"range"))return r.add(E),E.hasAttribute("aria-valuetext")?E.getAttribute("aria-valuetext"):E.hasAttribute("aria-valuenow")?E.getAttribute("aria-valuenow"):E.getAttribute("value")||"";if(an(E,["textbox"]))return r.add(E),Q5(E)}if(J5(E)||Et(E)&&_.isReferenced||K5(E)||X5(E)){var N=h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});if(N!=="")return r.add(E),N}if(E.nodeType===E.TEXT_NODE)return r.add(E),E.textContent||"";if(_.recursion)return r.add(E),h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});var U=g(E);return U!==null?(r.add(E),U):(r.add(E),"")}return z5(y(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function ki(e){"@babel/helpers - typeof";return ki=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},ki(e)}function x0(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var nP=Object.getOwnPropertySymbols(e);t&&(nP=nP.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,nP)}return r}function P0(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?x0(Object(r),!0).forEach(function(nP){r3(e,nP,r[nP])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x0(Object(r)).forEach(function(nP){Object.defineProperty(e,nP,Object.getOwnPropertyDescriptor(r,nP))})}return e}function r3(e,t,r){return t=n3(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n3(e){var t=o3(e,"string");return ki(t)==="symbol"?t:String(t)}function o3(e,t){if(ki(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var nP=r.call(e,t||"default");if(ki(nP)!=="object")return nP;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function b_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=il(e,"aria-describedby").map(function(o){return g_(o,P0(P0({},t),{},{compute:"description"}))}).join(" ");if(r===""){var nP=e.getAttribute("title");r=nP===null?"":nP}return r}function a3(e){return an(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function yf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return a3(e)?"":g_(e,t)}var yr=dr(pp()),i3=dr(Ej());function y_(e){return e.replace(/</g,"<").replace(/>/g,">")}var s3=(e,t,r,nP,o,i,s)=>{let l=nP+r.indent,u=r.colors;return e.map(d=>{let c=t[d],p=s(c,r,l,o,i);return typeof c!="string"&&(p.indexOf(`
|
|
384
|
+
`)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+nP),p="{"+p+"}"),r.spacingInner+nP+u.prop.open+d+u.prop.close+"="+u.value.open+p+u.value.close}).join("")},l3=3,u3=(e,t,r,nP,o,i)=>e.map(s=>{let l=typeof s=="string"?v_(s,t):i(s,t,r,nP,o);return l===""&&typeof s=="object"&&s!==null&&s.nodeType!==l3?"":t.spacingOuter+r+l}).join(""),v_=(e,t)=>{let r=t.colors.content;return r.open+y_(e)+r.close},c3=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+y_(e)+"-->"+r.close},d3=(e,t,r,nP,o)=>{let i=nP.colors.tag;return i.open+"<"+e+(t&&i.close+t+nP.spacingOuter+o+i.open)+(r?">"+i.close+r+nP.spacingOuter+o+i.open+"</"+e:(t&&!nP.min?"":" ")+"/")+">"+i.close},p3=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},f3=1,E_=3,__=8,w_=11,h3=/^((HTML|SVG)\w*)?Element$/,S_=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},m3=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===f3&&(h3.test(t)||S_(e))||r===E_&&t==="Text"||r===__&&t==="Comment"||r===w_&&t==="DocumentFragment"};function g3(e){return e.nodeType===E_}function b3(e){return e.nodeType===__}function ld(e){return e.nodeType===w_}function y3(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||S_(t))&&m3(t)},serialize:(t,r,nP,o,i,s)=>{if(g3(t))return v_(t.data,r);if(b3(t))return c3(t.data,r);let l=ld(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?p3(l,r):d3(l,s3(ld(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),ld(t)?{}:Array.from(t.attributes).reduce((u,d)=>(u[d.name]=d.value,u),{}),r,nP+r.indent,o,i,s),u3(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,nP+r.indent,o,i,s),r,nP)}}}var C_=null,vf=null,Ef=null;try{let e=Zn&&Zn.require;vf=e.call(Zn,"fs").readFileSync,Ef=e.call(Zn,"@babel/code-frame").codeFrameColumns,C_=e.call(Zn,"chalk")}catch{}function v3(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),nP=e.slice(t,r),o=nP.split(":"),[i,s,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],u="";try{u=vf(i,"utf-8")}catch{return""}let d=Ef(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return C_.dim(nP)+`
|
|
385
385
|
`+d+`
|
|
386
|
-
`}function E3(){if(!Ef
|
|
387
|
-
`).slice(1).find(t=>!t.includes("node_modules/"));return v3(e)}var A_=3;function
|
|
386
|
+
`}function E3(){if(!vf||!Ef)return"";let e=new Error().stack.split(`
|
|
387
|
+
`).slice(1).find(t=>!t.includes("node_modules/"));return v3(e)}var A_=3;function ud(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function _f(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function R_(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function pn(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var _3=()=>{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:w3}=bf.plugins,S3=1,C3=8;function A3(e){return e.nodeType!==C3&&(e.nodeType!==S3||!e.matches(at().defaultIgnore))}function Fi(e,t,r){if(r===void 0&&(r={}),e||(e=_f().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 nP=typeof e;if(nP==="object"?nP=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+nP);let{filterNode:o=A3,...i}=r,s=bf.format(e,{plugins:[y3(o),w3],printFunctionName:!1,highlight:_3(),...i});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}var Kd=function(){let e=E3();console.log(e?Fi(...arguments)+`
|
|
388
388
|
|
|
389
389
|
`+e:Fi(...arguments))},ro={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Fi(t),nP=new Error([e,"Ignored nodes: comments, "+ro.defaultIgnore+`
|
|
390
390
|
`+r].filter(Boolean).join(`
|
|
391
391
|
|
|
392
|
-
`));return nP.name="TestingLibraryElementError",nP},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function R3(e){try{return ro._disableExpensiveErrorDiagnostics=!0,e()}finally{ro._disableExpensiveErrorDiagnostics=!1}}function T3(e){typeof e=="function"&&(e=e(ro)),ro={...ro,...e}}function at(){return ro}var x3=["button","meter","output","progress","select","textarea","input"];function T_(e){return x3.includes(e.nodeName.toLowerCase())?"":e.nodeType===A_?e.textContent:Array.from(e.childNodes).map(t=>T_(t)).join("")}function
|
|
392
|
+
`));return nP.name="TestingLibraryElementError",nP},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function R3(e){try{return ro._disableExpensiveErrorDiagnostics=!0,e()}finally{ro._disableExpensiveErrorDiagnostics=!1}}function T3(e){typeof e=="function"&&(e=e(ro)),ro={...ro,...e}}function at(){return ro}var x3=["button","meter","output","progress","select","textarea","input"];function T_(e){return x3.includes(e.nodeName.toLowerCase())?"":e.nodeType===A_?e.textContent:Array.from(e.childNodes).map(t=>T_(t)).join("")}function Jd(e){let t;return e.tagName.toLowerCase()==="label"?t=T_(e):t=e.value||e.textContent,t}function x_(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!P3(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(nP=>nP.control===e)}function P3(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function P_(e,t,r){let{selector:nP="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),i=o?o.split(" "):[];return i.length?i.map(s=>{let l=e.querySelector('[id="'+s+'"]');return l?{content:Jd(l),formControl:null}:{content:"",formControl:null}}):Array.from(x_(t)).map(s=>{let l=Jd(s),u=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(d=>d.matches(nP))[0];return{content:l,formControl:u}})}function O_(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 Ga(e,t,r,nP){if(typeof e!="string")return!1;O_(r);let o=nP(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):N_(r,o)}function ln(e,t,r,nP){if(typeof e!="string")return!1;O_(r);let o=nP(e);return r instanceof Function?r(o,t):r instanceof RegExp?N_(r,o):o===String(r)}function wf(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return nP=>{let o=nP;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function uo(e){let{trim:t,collapseWhitespace:r,normalizer:nP}=e;if(!nP)return wf({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 nP}function N_(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 Zi(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===A_&&!!t.textContent).map(t=>t.textContent).join("")}var O3=N3(yr.elementRoles);function M_(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function $l(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=M_}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let nP=e;for(;nP;){if(r(nP))return!0;nP=nP.parentElement}return!1}function Sf(e){for(let{match:t,roles:r}of O3)if(t(e))return[...r];return[]}function N3(e){function t(s){let{name:l,attributes:u}=s;return""+l+u.map(d=>{let{name:c,value:p,constraints:h=[]}=d,m=h.indexOf("undefined")!==-1,g=h.indexOf("set")!==-1;return typeof p<"u"?"["+c+'="'+p+'"]':m?":not(["+c+"])":g?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(s){let{attributes:l=[]}=s;return l.length}function nP(s,l){let{specificity:u}=s,{specificity:d}=l;return d-u}function o(s){let{attributes:l=[]}=s,u=l.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let d=t({...s,attributes:l});return c=>u>=0&&c.type!=="text"?!1:c.matches(d)}let i=[];for(let[s,l]of e.entries())i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}];return i.sort(nP)}function I_(e,t){let{hidden:r=!1}=t===void 0?{}:t;function nP(o){return[o,...Array.from(o.children).reduce((i,s)=>[...i,...nP(s)],[])]}return nP(e).filter(o=>r===!1?$l(o)===!1:!0).reduce((o,i)=>{let s=[];return i.hasAttribute("role")?s=i.getAttribute("role").split(" ").slice(0,1):s=Sf(i),s.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],i]}:{...l,[u]:[i]},o)},{})}function D_(e,t){let{hidden:r,includeDescription:nP}=t,o=I_(e,{hidden:r});return Object.entries(o).filter(i=>{let[s]=i;return s!=="generic"}).map(i=>{let[s,l]=i,u="-".repeat(50),d=l.map(c=>{let p='Name "'+yf(c,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements})+`":
|
|
393
393
|
`,h=Fi(c.cloneNode(!1));if(nP){let m='Description "'+b_(c,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements})+`":
|
|
394
394
|
`;return""+p+m+h}return""+p+h}).join(`
|
|
395
395
|
|
|
@@ -398,19 +398,19 @@ Number of calls: ${Rt.bold(c.mock.calls.length)}
|
|
|
398
398
|
`+d+`
|
|
399
399
|
|
|
400
400
|
`+u}).join(`
|
|
401
|
-
`)}var M3=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(D_(e,{hidden:r}))};function I3(e){return e.tagName==="OPTION"?e.selected:es(e,"aria-selected")}function D3(e){return e.getAttribute("aria-busy")==="true"}function q3(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:es(e,"aria-checked")}function j3(e){return es(e,"aria-pressed")}function B3(e){var t,r;return(t=(r=es(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function k3(e){return es(e,"aria-expanded")}function es(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function F3(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 L3(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function $3(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function U3(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function H3(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var O0=
|
|
401
|
+
`)}var M3=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(D_(e,{hidden:r}))};function I3(e){return e.tagName==="OPTION"?e.selected:es(e,"aria-selected")}function D3(e){return e.getAttribute("aria-busy")==="true"}function q3(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:es(e,"aria-checked")}function j3(e){return es(e,"aria-pressed")}function B3(e){var t,r;return(t=(r=es(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function k3(e){return es(e,"aria-expanded")}function es(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function F3(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 L3(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function $3(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function U3(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function H3(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var O0=wf();function z3(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function N0(e){return new RegExp(z3(e.toLowerCase()),"i")}function Rn(e,t,r,nP){let{variant:o,name:i}=nP,s="",l={},u=[["Role","TestId"].includes(e)?r:N0(r)];i&&(l.name=N0(i)),e==="Role"&&$l(t)&&(l.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
402
402
|
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
403
|
-
`),Object.keys(l).length>0&&u.push(l);let d=o+"By"+e;return{queryName:e,queryMethod:d,queryArgs:u,variant:o,warning:s,toString(){s&&console.warn(s);let[c,p]=u;return c=typeof c=="string"?"'"+c+"'":c,p=p?", { "+Object.entries(p).map(h=>{let[m,g]=h;return m+": "+g}).join(", ")+" }":"",d+"("+c+p+")"}}}function Tn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function
|
|
403
|
+
`),Object.keys(l).length>0&&u.push(l);let d=o+"By"+e;return{queryName:e,queryMethod:d,queryArgs:u,variant:o,warning:s,toString(){s&&console.warn(s);let[c,p]=u;return c=typeof c=="string"?"'"+c+"'":c,p=p?", { "+Object.entries(p).map(h=>{let[m,g]=h;return m+": "+g}).join(", ")+" }":"",d+"("+c+p+")"}}}function Tn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function sl(e,t,r){var nP,o;if(t===void 0&&(t="get"),e.matches(at().defaultIgnore))return;let i=(nP=e.getAttribute("role"))!=null?nP:(o=Sf(e))==null?void 0:o[0];if(i!=="generic"&&Tn("Role",r,i))return Rn("Role",e,i,{variant:t,name:yf(e,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements})});let s=P_(document,e).map(h=>h.content).join(" ");if(Tn("LabelText",r,s))return Rn("LabelText",e,s,{variant:t});let l=e.getAttribute("placeholder");if(Tn("PlaceholderText",r,l))return Rn("PlaceholderText",e,l,{variant:t});let u=O0(Zi(e));if(Tn("Text",r,u))return Rn("Text",e,u,{variant:t});if(Tn("DisplayValue",r,e.value))return Rn("DisplayValue",e,O0(e.value),{variant:t});let d=e.getAttribute("alt");if(Tn("AltText",r,d))return Rn("AltText",e,d,{variant:t});let c=e.getAttribute("title");if(Tn("Title",r,c))return Rn("Title",e,c,{variant:t});let p=e.getAttribute(at().testIdAttribute);if(Tn("TestId",r,p))return Rn("TestId",e,p,{variant:t})}function qs(e,t){e.stack=t.stack.replace(t.message,e.message)}function V3(e,t){let{container:r=_f(),timeout:nP=at().asyncUtilTimeout,showOriginalStackTrace:o=at().showOriginalStackTrace,stackTraceError:i,interval:s=50,onTimeout:l=d=>(Object.defineProperty(d,"message",{value:at().getElementError(d.message,r).message}),d),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(d,c)=>{let p,h,m,g=!1,b="idle",y=setTimeout(w,nP),E=ud();if(E){let{unstable_advanceTimersWrapper:S}=at();for(C();!g;){if(!ud()){let T=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 zf to https://github.com/testing-library/dom-testing-library/issues/830");o||qs(T,i),c(T);return}if(await S(async()=>{jest.advanceTimersByTime(s)}),g)break;C()}}else{try{pn(r)}catch(T){c(T);return}h=setInterval(P,s);let{MutationObserver:S}=R_(r);m=new S(P),m.observe(r,u),C()}function _(S,T){g=!0,clearTimeout(y),E||(clearInterval(h),m.disconnect()),S?c(S):d(T)}function P(){if(ud()){let S=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 zf to https://github.com/testing-library/dom-testing-library/issues/830");return o||qs(S,i),c(S)}else return C()}function C(){if(b!=="pending")try{let S=R3(e);typeof(S==null?void 0:S.then)=="function"?(b="pending",S.then(T=>{b="resolved",_(null,T)},T=>{b="rejected",p=T})):_(null,S)}catch(S){p=S}}function w(){let S;p?(S=p,!o&&S.name==="TestingLibraryElementError"&&qs(S,i)):(S=new Error("Timed out in waitFor."),o||qs(S,i)),_(l(S),null)}})}function Cf(e,t){let r=new Error("STACK_TRACE_MESSAGE");return at().asyncWrapper(()=>V3(e,{stackTraceError:r,...t}))}function Ul(e,t){return at().getElementError(e,t)}function Hl(e,t){return Ul(e+"\nP\nP(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function co(e,t,r,nP){let{exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=nP===void 0?{}:nP,u=o?ln:Ga,d=uo({collapseWhitespace:i,trim:s,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>u(c.getAttribute(e),c,r,d))}function q_(e,t,r,nP){let o=co(e,t,r,nP);if(o.length>1)throw Hl("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function ja(e,t){return function(r){for(var nP=arguments.length,o=new Array(nP>1?nP-1:0),i=1;i<nP;i++)o[i-1]=arguments[i];let s=e(r,...o);if(s.length>1){let l=s.map(u=>Ul(null,u).message).join(`
|
|
404
404
|
|
|
405
|
-
`);throw
|
|
405
|
+
`);throw Hl(t(r,...o)+`
|
|
406
406
|
|
|
407
407
|
Here are the matching elements:
|
|
408
408
|
|
|
409
409
|
`+l,r)}return s[0]||null}}function j_(e,t){return at().getElementError(`A better query is available, try this:
|
|
410
410
|
`+e.toString()+`
|
|
411
|
-
`,t)}function
|
|
411
|
+
`,t)}function Af(e,t){return function(r){for(var nP=arguments.length,o=new Array(nP>1?nP-1:0),i=1;i<nP;i++)o[i-1]=arguments[i];let s=e(r,...o);if(!s.length)throw at().getElementError(t(r,...o),r);return s}}function Ba(e){return(t,r,nP,o)=>Cf(()=>e(t,r,nP),{container:t,...o})}var qn=(e,t,r)=>function(nP){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(nP,...i),[{suggest:u=at().throwSuggestions}={}]=i.slice(-1);if(l&&u){let d=sl(l,r);if(d&&!t.endsWith(d.queryName))throw j_(d.toString(),nP)}return l},ar=(e,t,r)=>function(nP){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(nP,...i),[{suggest:u=at().throwSuggestions}={}]=i.slice(-1);if(l.length&&u){let d=[...new Set(l.map(c=>{var p;return(p=sl(c,r))==null?void 0:p.toString()}))];if(d.length===1&&!t.endsWith(sl(l[0],r).queryName))throw j_(d[0],nP)}return l};function fn(e,t,r){let nP=qn(ja(e,t),e.name,"query"),o=Af(e,r),i=ja(o,t),s=qn(i,e.name,"get"),l=ar(o,e.name.replace("query","get"),"getAll"),u=Ba(ar(o,e.name,"findAll")),d=Ba(qn(i,e.name,"find"));return[nP,l,s,u,d]}var G3=Object.freeze({__proto__:null,getElementError:Ul,wrapAllByQueryWithSuggestion:ar,wrapSingleQueryWithSuggestion:qn,getMultipleElementsFoundError:Hl,queryAllByAttribute:co,queryByAttribute:q_,makeSingleQuery:ja,makeGetAllQuery:Af,makeFindQuery:Ba,buildQueries:fn});function W3(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Jd(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var Y3=function(e,t,r){let{exact:nP=!0,trim:o,collapseWhitespace:i,normalizer:s}=r===void 0?{}:r,l=nP?ln:Ga,u=uo({collapseWhitespace:i,trim:o,normalizer:s});return W3(e).filter(d=>{let{node:c,textToMatch:p}=d;return l(p,c,t,u)}).map(d=>{let{node:c}=d;return c})},Li=function(e,t,r){let{selector:nP="*",exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=r===void 0?{}:r;pn(e);let u=o?ln:Ga,d=uo({collapseWhitespace:i,trim:s,normalizer:l}),c=Array.from(e.querySelectorAll("*")).filter(p=>x_(p).length||p.hasAttribute("aria-labelledby")).reduce((p,h)=>{let m=P_(e,h,{selector:nP});m.filter(b=>!!b.formControl).forEach(b=>{u(b.content,b.formControl,t,d)&&b.formControl&&p.push(b.formControl)});let g=m.filter(b=>!!b.content).map(b=>b.content);return u(g.join(" "),h,t,d)&&p.push(h),g.length>1&&g.forEach((b,y)=>{u(b,h,t,d)&&p.push(h);let E=[...g];E.splice(y,1),E.length>1&&u(E.join(" "),h,t,d)&&p.push(h)}),p},[]).concat(co("aria-label",e,t,{exact:o,normalizer:d}));return Array.from(new Set(c)).filter(p=>p.matches(nP))},ao=function(e,t){for(var r=arguments.length,nP=new Array(r>2?r-2:0),o=2;o<r;o++)nP[o-2]=arguments[o];let i=Li(e,t,...nP);if(!i.length){let s=Y3(e,t,...nP);if(s.length){let l=s.map(u=>K3(e,u)).filter(u=>!!u);throw l.length?at().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
412
412
|
|
|
413
|
-
`),e):at().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 at().getElementError("Unable to find a label with the text of: "+t,e)}return i};function K3(e,t){let r=t.getAttribute("for");if(!r)return null;let nP=e.querySelector('[id="'+r+'"]');return nP?nP.tagName.toLowerCase():null}var B_=(e,t)=>"Found multiple elements with the text of: "+t,k_=qn(ja(Li,B_),Li.name,"query"),F_=ja(ao,B_),L_=Ba(ar(ao,ao.name,"findAll")),$_=Ba(qn(F_,ao.name,"find")),U_=ar(ao,ao.name,"getAll"),H_=qn(F_,ao.name,"get"),z_=ar(Li,Li.name,"queryAll"),
|
|
413
|
+
`),e):at().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 at().getElementError("Unable to find a label with the text of: "+t,e)}return i};function K3(e,t){let r=t.getAttribute("for");if(!r)return null;let nP=e.querySelector('[id="'+r+'"]');return nP?nP.tagName.toLowerCase():null}var B_=(e,t)=>"Found multiple elements with the text of: "+t,k_=qn(ja(Li,B_),Li.name,"query"),F_=ja(ao,B_),L_=Ba(ar(ao,ao.name,"findAll")),$_=Ba(qn(F_,ao.name,"find")),U_=ar(ao,ao.name,"getAll"),H_=qn(F_,ao.name,"get"),z_=ar(Li,Li.name,"queryAll"),Xd=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return pn(t[0]),co("placeholder",...t)},J3=(e,t)=>"Found multiple elements with the placeholder text of: "+t,X3=(e,t)=>"Unable to find an element with the placeholder text of: "+t,V_=ar(Xd,Xd.name,"queryAll"),[G_,W_,Y_,K_,J_]=fn(Xd,J3,X3),Qd=function(e,t,r){let{selector:nP="*",exact:o=!0,collapseWhitespace:i,trim:s,ignore:l=at().defaultIgnore,normalizer:u}=r===void 0?{}:r;pn(e);let d=o?ln:Ga,c=uo({collapseWhitespace:i,trim:s,normalizer:u}),p=[];return typeof e.matches=="function"&&e.matches(nP)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(nP))].filter(h=>!l||!h.matches(l)).filter(h=>d(Zi(h),h,t,c))},Q3=(e,t)=>"Found multiple elements with the text: "+t,Z3=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:nP,trim:o,normalizer:i,selector:s}=r,l=uo({collapseWhitespace:nP,trim:o,normalizer:i})(t.toString()),u=l!==t.toString(),d=(s!=null?s:"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(d?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},X_=ar(Qd,Qd.name,"queryAll"),[Q_,Z_,ew,tw,rw]=fn(Qd,Q3,Z3),Zd=function(e,t,r){let{exact:nP=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;pn(e);let l=nP?ln:Ga,u=uo({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(c=>c.selected).some(c=>l(Zi(c),c,t,u)):l(d.value,d,t,u))},e4=(e,t)=>"Found multiple elements with the display value: "+t+".",t4=(e,t)=>"Unable to find an element with the display value: "+t+".",nw=ar(Zd,Zd.name,"queryAll"),[ow,aw,iw,sw,lw]=fn(Zd,e4,t4),r4=/^(img|input|area|.+-.+)$/i,ep=function(e,t,r){return r===void 0&&(r={}),pn(e),co("alt",e,t,r).filter(nP=>r4.test(nP.tagName))},n4=(e,t)=>"Found multiple elements with the alt text: "+t,o4=(e,t)=>"Unable to find an element with the alt text: "+t,uw=ar(ep,ep.name,"queryAll"),[cw,dw,pw,fw,hw]=fn(ep,n4,o4),a4=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},tp=function(e,t,r){let{exact:nP=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;pn(e);let l=nP?ln:Ga,u=uo({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>l(d.getAttribute("title"),d,t,u)||a4(d)&&l(Zi(d),d,t,u))},i4=(e,t)=>"Found multiple elements with the title: "+t+".",s4=(e,t)=>"Unable to find an element with the title: "+t+".",mw=ar(tp,tp.name,"queryAll"),[gw,bw,yw,vw,Ew]=fn(tp,i4,s4),rp=function(e,t,r){let{hidden:nP=at().defaultHidden,name:o,description:i,queryFallbacks:s=!1,selected:l,busy:u,checked:d,pressed:c,current:p,level:h,expanded:m,value:{now:g,min:b,max:y,text:E}={}}=r===void 0?{}:r;if(pn(e),l!==void 0){var _;if(((_=yr.roles.get(t))==null?void 0:_.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var P;if(((P=yr.roles.get(t))==null?void 0:P.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(d!==void 0){var C;if(((C=yr.roles.get(t))==null?void 0:C.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var w;if(((w=yr.roles.get(t))==null?void 0:w.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var S;if(((S=yr.roles.get(t))==null?void 0:S.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(g!==void 0){var T;if(((T=yr.roles.get(t))==null?void 0:T.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(y!==void 0){var A;if(((A=yr.roles.get(t))==null?void 0:A.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(b!==void 0){var N;if(((N=yr.roles.get(t))==null?void 0:N.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(E!==void 0){var U;if(((U=yr.roles.get(t))==null?void 0:U.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(m!==void 0){var X;if(((X=yr.roles.get(t))==null?void 0:X.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let V=new WeakMap;function J(x){return V.has(x)||V.set(x,M_(x)),V.get(x)}return Array.from(e.querySelectorAll(l4(t))).filter(x=>{if(x.hasAttribute("role")){let B=x.getAttribute("role");if(s)return B.split(" ").filter(Boolean).some(fe=>fe===t);let[K]=B.split(" ");return K===t}return Sf(x).some(B=>B===t)}).filter(x=>{if(l!==void 0)return l===I3(x);if(u!==void 0)return u===D3(x);if(d!==void 0)return d===q3(x);if(c!==void 0)return c===j3(x);if(p!==void 0)return p===B3(x);if(m!==void 0)return m===k3(x);if(h!==void 0)return h===F3(x);if(g!==void 0||y!==void 0||b!==void 0||E!==void 0){let K=!0;if(g!==void 0&&K&&(K=g===L3(x)),y!==void 0&&K&&(K=y===$3(x)),b!==void 0&&K&&(K=b===U3(x)),E!==void 0){var B;K&&(K=ln((B=H3(x))!=null?B:null,x,E,fe=>fe))}return K}return!0}).filter(x=>o===void 0?!0:ln(yf(x,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements}),x,o,B=>B)).filter(x=>i===void 0?!0:ln(b_(x,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements}),x,i,B=>B)).filter(x=>nP===!1?$l(x,{isSubtreeInaccessible:J})===!1:!0)};function l4(e){var t;let r='*[role~="'+e+'"]',nP=(t=yr.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(nP).map(i=>{let{name:s}=i;return s}));return[r].concat(Array.from(o)).join(",")}var _w=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},u4=function(e,t,r){let{name:nP}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+_w(nP)},c4=function(e,t,r){let{hidden:nP=at().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(at()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+_w(o);let s="";Array.from(e.children).forEach(c=>{s+=D_(c,{hidden:nP,includeDescription:i!==void 0})});let l;s.length===0?nP===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
|
|
414
414
|
Here are the `+(nP===!1?"accessible":"available")+` roles:
|
|
415
415
|
|
|
416
416
|
`+s.replace(/\nP/g,`
|
|
@@ -420,20 +420,20 @@ Here are the `+(nP===!1?"accessible":"available")+` roles:
|
|
|
420
420
|
`).trim();let u="";o===void 0?u="":typeof o=="string"?u=' and name "'+o+'"':u=" and name `"+o+"`";let d="";return i===void 0?d="":typeof i=="string"?d=' and description "'+i+'"':d=" and description `"+i+"`",(`
|
|
421
421
|
Unable to find an `+(nP===!1?"accessible ":"")+'element with the role "'+t+'"'+u+d+`
|
|
422
422
|
|
|
423
|
-
`+l).trim()},ww=ar(np,np.name,"queryAll"),[Sw,Cw,Aw,Rw,Tw]=fn(np,u4,c4),Tf=()=>at().testIdAttribute,op=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return pn(t[0]),co(Tf(),...t)},d4=(e,t)=>"Found multiple elements by: ["+Tf()+'="'+t+'"]',p4=(e,t)=>"Unable to find an element by: ["+Tf()+'="'+t+'"]',xw=ar(op,op.name,"queryAll"),[Pw,Ow,Nw,Mw,Iw]=fn(op,d4,p4),ul=Object.freeze({__proto__:null,queryAllByLabelText:z_,queryByLabelText:k_,getAllByLabelText:U_,getByLabelText:H_,findAllByLabelText:L_,findByLabelText:$_,queryByPlaceholderText:G_,queryAllByPlaceholderText:V_,getByPlaceholderText:Y_,getAllByPlaceholderText:W_,findAllByPlaceholderText:K_,findByPlaceholderText:J_,queryByText:Q_,queryAllByText:X_,getByText:ew,getAllByText:Z_,findAllByText:tw,findByText:rw,queryByDisplayValue:ow,queryAllByDisplayValue:nw,getByDisplayValue:iw,getAllByDisplayValue:aw,findAllByDisplayValue:sw,findByDisplayValue:lw,queryByAltText:cw,queryAllByAltText:uw,getByAltText:pw,getAllByAltText:dw,findAllByAltText:fw,findByAltText:hw,queryByTitle:gw,queryAllByTitle:mw,getByTitle:yw,getAllByTitle:bw,findAllByTitle:vw,findByTitle:Ew,queryByRole:Sw,queryAllByRole:ww,getAllByRole:Cw,getByRole:Aw,findAllByRole:Rw,findByRole:Tw,queryByTestId:Pw,queryAllByTestId:xw,getByTestId:Nw,getAllByTestId:Ow,findAllByTestId:Mw,findByTestId:Iw});function ap(e,t,r){return t===void 0&&(t=ul),r===void 0&&(r={}),Object.keys(t).reduce((nP,o)=>{let i=t[o];return nP[o]=i.bind(null,e),nP},r)}var Dw=e=>!e||Array.isArray(e)&&!e.length;function M0(e){if(Dw(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 f4(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){M0(e);let nP=(Array.isArray(e)?e:[e]).map(o=>{let i=o.parentElement;if(i===null)return()=>null;for(;i.parentElement;)i=i.parentElement;return()=>i.contains(o)?o:null});e=()=>nP.map(o=>o()).filter(Boolean)}return M0(e()),Af(()=>{let nP;try{nP=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!Dw(nP))throw r},t)}var I0={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}}},D0={doubleClick:"dblClick"};function $i(e,t){return at().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 Ws(e,t,r,nP){let{EventType:o="Event",defaultInit:i={}}=nP===void 0?{}:nP;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...i,...r},{target:{value:l,files:u,...d}={}}=s;l!==void 0&&h4(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,d);let c=R_(t),p=c[o]||c.Event,h;if(typeof p=="function")h=new p(e,s);else{h=c.document.createEvent(o);let{bubbles:m,cancelable:g,detail:b,...y}=s;h.initEvent(e,m,g,b),Object.keys(y).forEach(E=>{h[E]=y[E]})}return["dataTransfer","clipboardData"].forEach(m=>{let g=s[m];typeof g=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(h,m,{value:Object.getOwnPropertyNames(g).reduce((b,y)=>(Object.defineProperty(b,y,{value:g[y]}),b),new c.DataTransfer)}):Object.defineProperty(h,m,{value:g}))}),h}Object.keys(I0).forEach(e=>{let{EventType:t,defaultInit:r}=I0[e],nP=e.toLowerCase();Ws[e]=(o,i)=>Ws(nP,o,i,{EventType:t,defaultInit:r}),$i[e]=(o,i)=>$i(o,Ws[e](o,i))});function h4(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},nP=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(nP,"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(D0).forEach(e=>{let t=D0[e];$i[e]=function(){return $i[t](...arguments)}});function m4(e){return e.replace(/[ \t]*[\nP][ \t]*/g,`
|
|
424
|
-
`)}function g4(e){return i3.default.compressToEncodedURIComponent(m4(e))}function b4(e){return"https://testing-playground.com/#markup="+g4(e)}var y4=(e,t,r)=>Array.isArray(e)?e.forEach(nP=>
|
|
423
|
+
`+l).trim()},ww=ar(rp,rp.name,"queryAll"),[Sw,Cw,Aw,Rw,Tw]=fn(rp,u4,c4),Rf=()=>at().testIdAttribute,np=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return pn(t[0]),co(Rf(),...t)},d4=(e,t)=>"Found multiple elements by: ["+Rf()+'="'+t+'"]',p4=(e,t)=>"Unable to find an element by: ["+Rf()+'="'+t+'"]',xw=ar(np,np.name,"queryAll"),[Pw,Ow,Nw,Mw,Iw]=fn(np,d4,p4),ll=Object.freeze({__proto__:null,queryAllByLabelText:z_,queryByLabelText:k_,getAllByLabelText:U_,getByLabelText:H_,findAllByLabelText:L_,findByLabelText:$_,queryByPlaceholderText:G_,queryAllByPlaceholderText:V_,getByPlaceholderText:Y_,getAllByPlaceholderText:W_,findAllByPlaceholderText:K_,findByPlaceholderText:J_,queryByText:Q_,queryAllByText:X_,getByText:ew,getAllByText:Z_,findAllByText:tw,findByText:rw,queryByDisplayValue:ow,queryAllByDisplayValue:nw,getByDisplayValue:iw,getAllByDisplayValue:aw,findAllByDisplayValue:sw,findByDisplayValue:lw,queryByAltText:cw,queryAllByAltText:uw,getByAltText:pw,getAllByAltText:dw,findAllByAltText:fw,findByAltText:hw,queryByTitle:gw,queryAllByTitle:mw,getByTitle:yw,getAllByTitle:bw,findAllByTitle:vw,findByTitle:Ew,queryByRole:Sw,queryAllByRole:ww,getAllByRole:Cw,getByRole:Aw,findAllByRole:Rw,findByRole:Tw,queryByTestId:Pw,queryAllByTestId:xw,getByTestId:Nw,getAllByTestId:Ow,findAllByTestId:Mw,findByTestId:Iw});function op(e,t,r){return t===void 0&&(t=ll),r===void 0&&(r={}),Object.keys(t).reduce((nP,o)=>{let i=t[o];return nP[o]=i.bind(null,e),nP},r)}var Dw=e=>!e||Array.isArray(e)&&!e.length;function M0(e){if(Dw(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 f4(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){M0(e);let nP=(Array.isArray(e)?e:[e]).map(o=>{let i=o.parentElement;if(i===null)return()=>null;for(;i.parentElement;)i=i.parentElement;return()=>i.contains(o)?o:null});e=()=>nP.map(o=>o()).filter(Boolean)}return M0(e()),Cf(()=>{let nP;try{nP=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!Dw(nP))throw r},t)}var I0={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}}},D0={doubleClick:"dblClick"};function $i(e,t){return at().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Gs(e,t,r,nP){let{EventType:o="Event",defaultInit:i={}}=nP===void 0?{}:nP;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...i,...r},{target:{value:l,files:u,...d}={}}=s;l!==void 0&&h4(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,d);let c=R_(t),p=c[o]||c.Event,h;if(typeof p=="function")h=new p(e,s);else{h=c.document.createEvent(o);let{bubbles:m,cancelable:g,detail:b,...y}=s;h.initEvent(e,m,g,b),Object.keys(y).forEach(E=>{h[E]=y[E]})}return["dataTransfer","clipboardData"].forEach(m=>{let g=s[m];typeof g=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(h,m,{value:Object.getOwnPropertyNames(g).reduce((b,y)=>(Object.defineProperty(b,y,{value:g[y]}),b),new c.DataTransfer)}):Object.defineProperty(h,m,{value:g}))}),h}Object.keys(I0).forEach(e=>{let{EventType:t,defaultInit:r}=I0[e],nP=e.toLowerCase();Gs[e]=(o,i)=>Gs(nP,o,i,{EventType:t,defaultInit:r}),$i[e]=(o,i)=>$i(o,Gs[e](o,i))});function h4(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},nP=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(nP,"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(D0).forEach(e=>{let t=D0[e];$i[e]=function(){return $i[t](...arguments)}});function m4(e){return e.replace(/[ \t]*[\nP][ \t]*/g,`
|
|
424
|
+
`)}function g4(e){return i3.default.compressToEncodedURIComponent(m4(e))}function b4(e){return"https://testing-playground.com/#markup="+g4(e)}var y4=(e,t,r)=>Array.isArray(e)?e.forEach(nP=>Kd(nP,t,r)):Kd(e,t,r),v4=function(e){if(e===void 0&&(e=_f().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=b4(e.innerHTML);return console.log(`Open this URL in your browser
|
|
425
425
|
|
|
426
|
-
`+t),t},q0={debug:y4,logTestingPlaygroundURL:v4},E4=typeof document<"u"&&document.body?
|
|
426
|
+
`+t),t},q0={debug:y4,logTestingPlaygroundURL:v4},E4=typeof document<"u"&&document.body?op(document.body,ll,q0):Object.keys(ll).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),q0);function tt(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(([nP,o])=>e[nP]===o):!0}var ap;(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"})(ap||(ap={}));function qw(e){return tt(e,"button")||tt(e,"input")&&e.type in ap}function Gr(e){var t;if(_4(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 ${w4(e)}`)}function _4(e){return e.nodeType===9}function w4(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function jw(e,t){return new Promise((r,nP)=>{let o=new t;o.onerror=nP,o.onabort=nP,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function Tf(e,t){let r={...t,length:t.length,item:nP=>r[nP],[Symbol.iterator]:function*(){for(let nP=0;nP<r.length;nP++)yield r[nP]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bw=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Mn(this,"kind",void 0),Mn(this,"type",void 0),Mn(this,"file",null),Mn(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)}},S4=class extends Array{add(...e){let t=new Bw(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function js(e,t){let[r,nP]=e.split("/"),o=!nP||nP==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}function C4(e){return new class{getData(t){var r;let nP=(r=this.items.find(js(t,!0)))!==null&&r!==void 0?r:this.items.find(js(t,!1)),o="";return nP==null||nP.getAsString(i=>{o=i}),o}setData(t,r){let nP=this.items.findIndex(js(t,!0)),o=new Bw(r,t);nP>=0?this.items.splice(nP,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(js(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(){Mn(this,"dropEffect","none"),Mn(this,"effectAllowed","uninitialized"),Mn(this,"items",new S4),Mn(this,"files",Tf(e,[]))}}}function xf(e,t=[]){let r=typeof e.DataTransfer>"u"?C4(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Tf(e,t)}),r}function A4(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(nP=>{r=nP}),new e.Blob([r],{type:t.type})}function kw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fw(e,...t){let r=Object.fromEntries(t.map(nP=>[typeof nP=="string"?"text/plain":nP.type,Promise.resolve(nP)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(nP){let o=await this.data[nP];if(!o)throw new Error(`${nP} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:nP})}constructor(nP){kw(this,"data",void 0),this.data=nP}}(r)}var ka=Symbol("Manage ClipboardSub");function j0(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let nP of this.items){let o=nP.types.includes("text/plain")?"text/plain":nP.types.find(i=>i.startsWith("text/"));o&&(r+=await nP.getType(o).then(i=>jw(i,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[Fw(e,r)]}constructor(...r){super(...r),kw(this,"items",[])}},{[ka]:t})}function Pf(e){return!!(e!=null&&e[ka])}function R4(e){if(Pf(e.navigator.clipboard))return e.navigator.clipboard[ka];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,nP={resetClipboardStub:()=>{r=j0(e,nP)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=j0(e,nP),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[ka]}function T4(e){Pf(e.navigator.clipboard)&&e.navigator.clipboard[ka].resetClipboardStub()}function x4(e){Pf(e.navigator.clipboard)&&e.navigator.clipboard[ka].detachClipboardStub()}async function P4(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,nP=r&&await r.read();if(!nP)throw new Error("The Clipboard API is unavailable.");let o=xf(t);for(let i of nP)for(let s of i.types)o.setData(s,await i.getType(s).then(l=>jw(l,t.FileReader)));return o}async function Lw(e,t){let r=Gr(e),nP=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let s=t.items[i],l=A4(r,s);o.push(Fw(r,l))}if(!(nP&&await nP.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var ul=globalThis;typeof ul.afterEach=="function"&&ul.afterEach(()=>T4(globalThis.window));typeof ul.afterAll=="function"&&ul.afterAll(()=>x4(globalThis.window));function io(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Ui(e){let t=O4(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function O4(e){return e.nodeType===1?e:e.parentElement}function Fa(e){return $w(e)&&!e.readOnly||io(e)}var ip;(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"})(ip||(ip={}));function $w(e){return tt(e,"textarea")||tt(e,"input")&&e.type in ip}var sp;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(sp||(sp={}));function N4(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 M4(e){return tt(e,"textarea")||tt(e,"input")&&e.type in sp}var Uw=["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 Of(e){return e.matches(Uw)}var cl;(function(e){e["{"]="}",e["["]="]"})(cl||(cl={}));function Hw(e,t){let r=0,nP=e[r]in cl?e[r]:"";r+=nP.length;let o=new RegExp(`^\\${nP}{2}`).test(e)?"":nP;return{type:o,...o===""?I4(e,r,t):D4(e,r,o,t)}}function I4(e,t,r){let nP=e[t];return zw(nP,e,t,r),t+=nP.length,{consumedLength:t,descriptor:nP,releasePrevious:!1,releaseSelf:!0,repeat:1}}function D4(e,t,r,nP){var o,i;let s=e[t]==="/"?"/":"";t+=s.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];zw(u,e,t,nP),t+=u.length;var d;let c=(d=(i=e.slice(t).match(/^>\d+/))===null||i===void 0?void 0:i[0])!==null&&d!==void 0?d:"";t+=c.length;let p=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=p.length;let h=cl[r],m=e[t]===h?h:"";if(!m)throw new Error(Vw([!c&&"repeat modifier",!p&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,nP));return t+=m.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:q4(p,c)}}function zw(e,t,r,nP){if(!e)throw new Error(Vw("key descriptor",t[r],t,nP))}function q4(e,t){if(e)return e==="/";if(t)return!1}function Vw(e,t,r,nP){return`Expected ${e} but found "${t!=null?t:""}" in "${r}"
|
|
427
427
|
See ${nP==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
|
|
428
|
-
for more information about how userEvent parses your input.`}function j4(e){return new e.constructor(e.type,e)}var tr;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(tr||(tr={}));function _i(e,t){e.levelRefs[t]={}}function ks(e,t){return e.levelRefs[t]}var Pa;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(Pa||(Pa={}));function un(e){for(let r=e;r;r=r.parentElement)if(tt(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(tt(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 Vl(e){let t=e.activeElement;return t!=null&&t.shadowRoot?Vl(t.shadowRoot):un(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function dd(e){var t;return(t=Vl(e))!==null&&t!==void 0?t:e.body}function B4(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function Wr(e){return Gw(e)&&$w(e)}function k4(e){return Gw(e)&&qw(e)}function Gw(e){return e.nodeType===1}function F4(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&Wr(e)){let nP=Ui(t.focusNode);if(nP){if(!t.isCollapsed){var r;let o=((r=nP.firstChild)===null||r===void 0?void 0:r.nodeType)===3?nP.firstChild:nP;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function La(e,t){return at().eventWrapper(e)}function jn(e){let t=B4(e,Nf),r=Vl(e.ownerDocument);(t!=null?t:e.ownerDocument.body)!==r&&(La(t?()=>t.focus():()=>r==null?void 0:r.blur()),F4(t!=null?t:e.ownerDocument.body))}function L4(e){!Nf(e)||Vl(e.ownerDocument)!==e||La(()=>e.blur())}var Bn={};Bn.click=(e,t,r)=>{let nP=t.closest("button,input,label,select,textarea"),o=nP&&tt(nP,"label")&&nP.control;if(o)return()=>{Nf(o)&&jn(o),r.dispatchEvent(o,j4(e))};if(tt(t,"input",{type:"file"}))return()=>{L4(t),t.dispatchEvent(new(Gr(t)).Event("fileDialog")),jn(t)}};var $a=Symbol("Displayed value in UI"),sn=Symbol("Displayed selection in UI"),pl=Symbol("Initial value to compare on blur");function $4(e){return typeof e=="object"&&$a in e}function U4(e){return!!e&&typeof e=="object"&&sn in e}function H4(e,t){e[pl]===void 0&&(e[pl]=e.value),e[$a]=t,e.value=Object.assign(new String(t),{[$a]:!0})}function Yr(e){return e[$a]===void 0?e.value:String(e[$a])}function Mf(e){e[$a]=void 0}function Ww(e){e[pl]=void 0}function z4(e){return e[pl]}function V4(e,t){e[sn]=t}function Wa(e,{focusOffset:t,anchorOffset:r=t},nP="replace"){let o=Yr(e).length,i=p=>Math.max(0,Math.min(o,p)),s=nP==="replace"||e[sn]===void 0?i(r):e[sn].anchorOffset,l=i(t),u=Math.min(s,l),d=Math.max(s,l);if(e[sn]={anchorOffset:s,focusOffset:l},e.selectionStart===u&&e.selectionEnd===d)return;let c=Object.assign(new Number(u),{[sn]:!0});try{e.setSelectionRange(c,d)}catch{}}function Hi(e){var t,r,nP;let o=(nP=e[sn])!==null&&nP!==void 0?nP:{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 G4(e){return!!e[sn]}function Ys(e){e[sn]=void 0}var fl=globalThis.parseInt;function W4(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=fl(t[0],10),nP=fl(t[1],10);if(r>=3||r===2&&nP>=4){let o;return r>=3?o=1:o=2,B0(t,o)}return e.length===2?e:B0(t,2)}function B0(e,t){let r=e.slice(0,t),nP=Math.min(fl(r,10),23),o=e.slice(t),i=fl(o,10),s=Math.min(i,59);return`${nP.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}function Yw(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function Kw(e,t,r,nP){if(Ks(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=k0(e,t,r);if(o){if(Ks(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(tt(o,"br")){let i=k0(o,void 0,r);return i?Ks(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&tt(i,"br")?{node:o.parentNode,offset:Fs(o)}:{node:i.parentNode,offset:Fs(i)+(r>0?0:1)}:r<0&&nP==="deleteContentBackward"?{node:o.parentNode,offset:Fs(o)}:void 0}else return{node:o.parentNode,offset:Fs(o)+(r>0?1:0)}}}function k0(e,t,r){let nP=Number(t)+(r<0?-1:0);return t!==void 0&&If(e)&&nP>=0&&nP<e.children.length&&(e=e.children[nP]),K4(e,r===1?"next":"previous",Y4)}function Y4(e){if(Ks(e))return!0;if(If(e)){if(tt(e,["input","textarea"]))return e.type!=="hidden";if(tt(e,"br"))return!0}return!1}function Fs(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function If(e){return e.nodeType===1}function Ks(e){return e.nodeType===3}function K4(e,t,r){for(;;){var nP;let o=e[`${t}Sibling`];if(o){if(e=J4(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!If(e.parentNode)||!io(e.parentNode)&&e.parentNode!==((nP=e.ownerDocument)===null||nP===void 0?void 0:nP.body)))e=e.parentNode;else break}}function J4(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var zi=Symbol("Track programmatic changes for React workaround");function X4(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Gr(e).REACT_VERSION===17}function Q4(e){X4(e)&&(e[zi]={previousValue:String(e.value),tracked:[]})}function Z4(e,t){var r,nP;(nP=e[zi])===null||nP===void 0||(r=nP.tracked)===null||r===void 0||r.push(t),e[zi]||(Mf(e),Wa(e,{focusOffset:t.length}))}function e9(e,t){var r;let nP=e[zi];if(e[zi]=void 0,!(!(nP==null||(r=nP.tracked)===null||r===void 0)&&r.length))return;let o=nP.tracked.length===2&&nP.tracked[0]===nP.previousValue&&nP.tracked[1]===e.value;o||Mf(e),G4(e)&&Wa(e,{focusOffset:o?t:e.value.length})}function Jw(e){let t=t9(e);if(t&&Wr(t))return{type:"input",selection:Hi(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:Ui(e)&&(r!=null&&r.anchorNode)&&Ui(r.anchorNode)?"contenteditable":"default",selection:r}}function t9(e){return e.nodeType===1?e:e.parentElement}function r9(e){let t=Jw(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 so({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:nP=t}){var o,i;if(Jw(e).type==="input")return Wa(e,{anchorOffset:nP,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,nP,e,t)}function Xw(e){return tt(e,"input")&&["date","time"].includes(e.type)}function Ua(e,t,r,nP="insertText"){let o=r9(t);o&&(!Xw(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:nP,data:r})||("startContainer"in o?n9(e,t,o,r,nP):o9(e,t,o,r,nP)))}function n9(e,t,r,nP,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let s=Kw(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(s){i=!0;let l=r.cloneRange();l.comparePoint(s.node,s.offset)<0?l.setStart(s.node,s.offset):l.setEnd(s.node,s.offset),l.deleteContents()}}if(nP)if(r.endContainer.nodeType===3){let s=r.endOffset;r.endContainer.insertData(s,nP),r.setStart(r.endContainer,s+nP.length),r.setEnd(r.endContainer,s+nP.length)}else{let s=t.ownerDocument.createTextNode(nP);r.insertNode(s),r.setStart(s,nP.length),r.setEnd(s,nP.length)}(i||nP)&&e.dispatchUIEvent(t,"input",{inputType:o})}function o9(e,t,r,nP,o){let i=nP;if(M4(t)){let d=N4(t);if(d!==void 0&&nP.length>0){let c=d-t.value.length;if(c>0)i=nP.substring(0,c);else return}}let{newValue:s,newOffset:l,oldValue:u}=a9(i,t,r,o);s===u&&l===r.startOffset&&l===r.endOffset||tt(t,"input",{type:"number"})&&!i9(s)||(H4(t,s),so({focusNode:t,anchorOffset:l,focusOffset:l}),Xw(t)?Yw(t,s)&&(F0(e,t,l,{}),e.dispatchUIEvent(t,"change"),Ww(t)):F0(e,t,l,{data:nP,inputType:o}))}function a9(e,t,{startOffset:r,endOffset:nP},o){let i=Yr(t),s=Math.max(0,r===nP&&o==="deleteContentBackward"?r-1:r),l=i.substring(0,s),u=Math.min(i.length,r===nP&&o==="deleteContentForward"?r+1:nP),d=i.substring(u,i.length),c=`${l}${e}${d}`,p=s+e.length;if(tt(t,"input",{type:"time"})){let h=W4(c);h!==""&&Yw(t,h)&&(c=h,p=h.length)}return{oldValue:i,newValue:c,newOffset:p}}function F0(e,t,r,nP){e.dispatchUIEvent(t,"input",nP),e9(t,r)}function i9(e){var t,r;let nP=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||nP[1]&&!/^-?\d*$/.test(nP[1]))}Bn.cut=(e,t,r)=>()=>{Fa(t)&&Ua(r,t,"","deleteByCut")};function s9(e){return e?io(e)?e.textContent:Yr(e):null}function l9(e){let t=Gr(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:nP,visibility:o}=t.getComputedStyle(r);if(nP==="none"||o==="hidden")return!1}return!0}function u9(e,t){let r=e.ownerDocument,nP=r.querySelectorAll(Uw),o=Array.from(nP).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||un(u)));Number(e.getAttribute("tabindex"))>=0&&o.sort((u,d)=>{let c=Number(u.getAttribute("tabindex")),p=Number(d.getAttribute("tabindex"));return c===p?0:c===0?1:p===0?-1:c-p});let i={},s=[r.body],l=tt(e,"input",{type:"radio"})?e.name:void 0;o.forEach(u=>{let d=u;if(tt(d,"input",{type:"radio"})&&d.name){if(d===e){s.push(d);return}else if(d.name===l)return;if(d.checked){s=s.filter(c=>!tt(c,"input",{type:"radio",name:d.name})),s.push(d),i[d.name]=d;return}if(typeof i[d.name]<"u")return}s.push(d)});for(let u=s.findIndex(d=>d===e);;)if(u+=t?-1:1,u===s.length?u=0:u===-1&&(u=s.length-1),s[u]===e||s[u]===r.body||l9(s[u]))return s[u]}function L0(e,t){if(Wr(e)){let r=Hi(e);so({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let nP=Kw(r.focusNode,r.focusOffset,t);nP&&so({focusNode:nP.node,focusOffset:nP.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function Qw(e){if(Wr(e))return so({focusNode:e,anchorOffset:0,focusOffset:Yr(e).length});var t;let r=(t=Ui(e))!==null&&t!==void 0?t:e.ownerDocument.body;so({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function c9(e){if(Wr(e))return Hi(e).startOffset===0&&Hi(e).endOffset===Yr(e).length;var t;let r=(t=Ui(e))!==null&&t!==void 0?t:e.ownerDocument.body,nP=e.ownerDocument.getSelection();return(nP==null?void 0:nP.anchorNode)===r&&nP.focusNode===r&&nP.anchorOffset===0&&nP.focusOffset===r.childNodes.length}function wi(e,t,r){var nP;if(Wr(e))return so({focusNode:e,anchorOffset:t,focusOffset:r});if(io(e)&&((nP=e.firstChild)===null||nP===void 0?void 0:nP.nodeType)===3)return so({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Ls(e,t,r){let nP=Gr(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${nP.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(s=>s===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;un(o[i])||(jn(o[i]),e.dispatchUIEvent(o[i],"click"))}}Bn.keydown=(e,t,r)=>{var nP,o;return(o=(nP=$0[e.key])===null||nP===void 0?void 0:nP.call($0,e,t,r))!==null&&o!==void 0?o:d9(e,t,r)};var $0={ArrowDown:(e,t,r)=>{if(tt(t,"input",{type:"radio"}))return()=>Ls(r,t,-1)},ArrowLeft:(e,t,r)=>tt(t,"input",{type:"radio"})?()=>Ls(r,t,-1):()=>L0(t,-1),ArrowRight:(e,t,r)=>tt(t,"input",{type:"radio"})?()=>Ls(r,t,1):()=>L0(t,1),ArrowUp:(e,t,r)=>{if(tt(t,"input",{type:"radio"}))return()=>Ls(r,t,1)},Backspace:(e,t,r)=>{if(Fa(t))return()=>{Ua(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Fa(t))return()=>{Ua(r,t,"","deleteContentForward")}},End:(e,t)=>{if(tt(t,["input","textarea"])||io(t))return()=>{var r,nP;let o=(nP=(r=s9(t))===null||r===void 0?void 0:r.length)!==null&&nP!==void 0?nP:0;wi(t,o,o)}},Home:(e,t)=>{if(tt(t,["input","textarea"])||io(t))return()=>{wi(t,0,0)}},PageDown:(e,t)=>{if(tt(t,["input"]))return()=>{let r=Yr(t).length;wi(t,r,r)}},PageUp:(e,t)=>{if(tt(t,["input"]))return()=>{wi(t,0,0)}},Tab:(e,t,r)=>()=>{let nP=u9(t,r.system.keyboard.modifiers.Shift);jn(nP),Wr(nP)&&Wa(nP,{anchorOffset:0,focusOffset:nP.value.length})}},d9=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Qw(t)};Bn.keypress=(e,t,r)=>{if(e.key==="Enter"){if(tt(t,"button")||tt(t,"input")&&p9.includes(t.type)||tt(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(tt(t,"input")){let nP=t.form,o=nP==null?void 0:nP.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):nP&&f9.includes(t.type)&&nP.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(nP,"submit"):void 0}}if(Fa(t)){let nP=e.key==="Enter"?io(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
|
|
429
|
-
`:e.key;return()=>Ua(r,t,o,nP)}};var p9=["button","color","file","image","reset","submit"],f9=["email","month","password","search","tel","text","url","week"];Bn.keyup=(e,t,r)=>{var nP;return(nP=U0[e.key])===null||nP===void 0?void 0:nP.call(U0,e,t,r)};var U0={" ":(e,t,r)=>{if(qw(t))return()=>r.dispatchUIEvent(t,"click")}};Bn.paste=(e,t,r)=>{if(Fa(t))return()=>{var nP;let o=(nP=e.clipboardData)===null||nP===void 0?void 0:nP.getData("text");o&&Ua(r,t,o,"insertFromPaste")}};var Zw={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 eS(e){return Zw[e].EventType}var h9=["MouseEvent","PointerEvent"];function m9(e){return h9.includes(eS(e))}function g9(e){return eS(e)==="KeyboardEvent"}var b9={ClipboardEvent:[v9],Event:[],InputEvent:[$s,E9],MouseEvent:[$s,pd,H0],PointerEvent:[$s,pd,H0,w9],KeyboardEvent:[$s,pd,_9]};function tS(e,t,r){let nP=Gr(t),{EventType:o,defaultInit:i}=Zw[e],s=new(y9(nP))[o](e,i);return b9[o].forEach(l=>l(s,r!=null?r:{})),s}function y9(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var nP;let o=(nP=e.AnimationEvent)!==null&&nP!==void 0?nP:class extends r{};var i;let s=(i=e.ClipboardEvent)!==null&&i!==void 0?i:class extends r{};var l;let u=(l=e.PopStateEvent)!==null&&l!==void 0?l:class extends r{};var d;let c=(d=e.ProgressEvent)!==null&&d!==void 0?d:class extends r{};var p;let h=(p=e.TransitionEvent)!==null&&p!==void 0?p:class extends r{};var m;let g=(m=e.UIEvent)!==null&&m!==void 0?m:class extends r{};var b;let y=(b=e.CompositionEvent)!==null&&b!==void 0?b:class extends g{};var E;let _=(E=e.FocusEvent)!==null&&E!==void 0?E:class extends g{};var P;let C=(P=e.InputEvent)!==null&&P!==void 0?P:class extends g{};var w;let S=(w=e.KeyboardEvent)!==null&&w!==void 0?w:class extends g{};var T;let A=(T=e.MouseEvent)!==null&&T!==void 0?T:class extends g{};var N;let U=(N=e.DragEvent)!==null&&N!==void 0?N:class extends A{};var X;let V=(X=e.PointerEvent)!==null&&X!==void 0?X:class extends A{};var J;let x=(J=e.TouchEvent)!==null&&J!==void 0?J:class extends g{};return{Event:r,AnimationEvent:o,ClipboardEvent:s,PopStateEvent:u,ProgressEvent:c,TransitionEvent:h,UIEvent:g,CompositionEvent:y,FocusEvent:_,InputEvent:C,KeyboardEvent:S,MouseEvent:A,DragEvent:U,PointerEvent:V,TouchEvent:x}}function po(e,t){for(let[r,nP]of Object.entries(t))Object.defineProperty(e,r,{get:()=>nP!=null?nP:null})}function Lt(e){return Number(e!=null?e:0)}function v9(e,{clipboardData:t}){po(e,{clipboardData:t})}function E9(e,{data:t,inputType:r,isComposing:nP}){po(e,{data:t,isComposing:!!nP,inputType:String(r)})}function $s(e,{view:t,detail:r}){po(e,{view:t,detail:Lt(r!=null?r:0)})}function pd(e,{altKey:t,ctrlKey:r,metaKey:nP,shiftKey:o,modifierAltGraph:i,modifierCapsLock:s,modifierFn:l,modifierFnLock:u,modifierNumLock:d,modifierScrollLock:c,modifierSymbol:p,modifierSymbolLock:h}){po(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!nP,shiftKey:!!o,getModifierState(m){return!!{Alt:t,AltGraph:i,CapsLock:s,Control:r,Fn:l,FnLock:u,Meta:nP,NumLock:d,ScrollLock:c,Shift:o,Symbol:p,SymbolLock:h}[m]}})}function _9(e,{key:t,code:r,location:nP,repeat:o,isComposing:i,charCode:s}){po(e,{key:String(t),code:String(r),location:Lt(nP),repeat:!!o,isComposing:!!i,charCode:s})}function H0(e,{x:t,y:r,screenX:nP,screenY:o,clientX:i=t,clientY:s=r,button:l,buttons:u,relatedTarget:d}){po(e,{screenX:Lt(nP),screenY:Lt(o),clientX:Lt(i),x:Lt(i),clientY:Lt(s),y:Lt(s),button:Lt(l),buttons:Lt(u),relatedTarget:d})}function w9(e,{pointerId:t,width:r,height:nP,pressure:o,tangentialPressure:i,tiltX:s,tiltY:l,twist:u,pointerType:d,isPrimary:c}){po(e,{pointerId:Lt(t),width:Lt(r),height:Lt(nP),pressure:Lt(o),tangentialPressure:Lt(i),tiltX:Lt(s),tiltY:Lt(l),twist:Lt(u),pointerType:String(d),isPrimary:!!c})}function S9(e,t,r,nP=!1){(m9(t)||g9(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=tS(t,e,r);return rS.call(this,e,o,nP)}function rS(e,t,r=!1){var nP;let o=t.type,i=r?()=>{}:(nP=Bn[o])===null||nP===void 0?void 0:nP.call(Bn,t,e,this);if(i){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>s}),Object.defineProperty(t,"preventDefault",{value:()=>{s=t.cancelable}}),La(()=>e.dispatchEvent(t)),s||i(),!s}return La(()=>e.dispatchEvent(t))}function C9(e,t,r){let nP=tS(t,e,r);La(()=>e.dispatchEvent(nP))}var fd=Symbol("Interceptor for programmatical calls");function Ta(e,t,r){let nP=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=nP!=null&&nP.set?"set":"value";if(typeof(nP==null?void 0:nP[i])!="function"||nP[i][fd])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...l){let{applyNative:u=!1,realArgs:d,then:c}=r.call(this,...l),p=(!u&&o||nP)[i];i==="set"?p.call(this,d):p.call(this,...d),c==null||c()}s[fd]=fd,Object.defineProperty(e,t,{...o!=null?o:nP,[i]:s})}function A9(e){Ta(e,"value",function(t){let r=$4(t);return r&&Q4(this),{applyNative:!!r,realArgs:R9(this,t),then:r?void 0:()=>Z4(this,String(t))}})}function R9(e,t){return tt(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function T9(e){Ta(e,"setSelectionRange",function(t,...r){let nP=U4(t);return{applyNative:!!nP,realArgs:[Number(t),...r],then:()=>nP?void 0:Ys(e)}}),Ta(e,"selectionStart",function(t){return{realArgs:t,then:()=>Ys(e)}}),Ta(e,"selectionEnd",function(t){return{realArgs:t,then:()=>Ys(e)}}),Ta(e,"select",function(){return{realArgs:[],then:()=>V4(e,{anchorOffset:0,focusOffset:Yr(e).length})}})}function x9(e){Ta(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Mf(e),Ys(e)}}})}var Oa=Symbol("Node prepared with document state workarounds");function nS(e){e[Oa]||(e.addEventListener("focus",t=>{let r=t.target;z0(r)},{capture:!0,passive:!0}),e.activeElement&&z0(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,nP=z4(r);nP!==void 0&&(r.value!==nP&&C9(r,"change"),Ww(r))},{capture:!0,passive:!0}),e[Oa]=Oa)}function z0(e){e[Oa]||(tt(e,["input","textarea"])&&(A9(e),T9(e),x9(e)),e[Oa]=Oa)}function P9(e){return O9(e)?e:e.ownerDocument}function O9(e){return e.nodeType===9}function Ha(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function _a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vr;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(vr||(vr={}));var N9=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function V0(e){return N9.includes(e)}var M9=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function G0(e){return M9.includes(e)}var I9=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,nP,o;let i=String(t.key),s=String(t.code),l=dd(e.config.document);this.setKeydownTarget(l);var u;(u=(r=this.pressed)[nP=s])!==null&&u!==void 0||(r[nP]={keyDef:t,unpreventedDefault:!1}),V0(i)&&(this.modifiers[i]=!0);let d=e.dispatchUIEvent(l,"keydown",{key:i,code:s});G0(i)&&!this.modifiers[i]&&(this.modifiers[i]=!0,this.modifierLockStart[i]=!0),(o=this.pressed[s]).unpreventedDefault||(o.unpreventedDefault=d),d&&this.hasKeyPress(i)&&e.dispatchUIEvent(dd(e.config.document),"keypress",{key:i,code:s,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),nP=String(t.code),o=this.pressed[nP].unpreventedDefault;delete this.pressed[nP],V0(r)&&!Object.values(this.pressed).find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(dd(e.config.document),"keyup",{key:r,code:nP},!o),G0(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){_a(this,"system",void 0),_a(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}),_a(this,"pressed",{}),_a(this,"carryChar",""),_a(this,"lastKeydownTarget",void 0),_a(this,"modifierLockStart",{}),this.system=e}},D9=[..."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:vr.LEFT},{code:"AltRight",key:"Alt",location:vr.RIGHT},{code:"ShiftLeft",key:"Shift",location:vr.LEFT},{code:"ShiftRight",key:"Shift",location:vr.RIGHT},{code:"ControlLeft",key:"Control",location:vr.LEFT},{code:"ControlRight",key:"Control",location:vr.RIGHT},{code:"MetaLeft",key:"Meta",location:vr.LEFT},{code:"MetaRight",key:"Meta",location:vr.RIGHT},{code:"OSLeft",key:"OS",location:vr.LEFT},{code:"OSRight",key:"OS",location:vr.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"}],q9=[{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 j9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oS=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=up(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=up(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(){j9(this,"pressed",{})}},W0={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function up(e=0){return e in W0?W0[e]:Number(e)}var Y0={1:2,2:1};function K0(e){return e=up(e),e in Y0?Y0[e]:e}function B9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var k9=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(){B9(this,"pressedKeys",new Set)}};function xi(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let nP=[];for(let i=t;i;i=i.parentElement)nP.push(i);let o=0;for(;!(o>=r.length||o>=nP.length||r[r.length-1-o]!==nP[nP.length-1-o]);o++);return[r.slice(0,r.length-o),nP.slice(0,nP.length-o),nP.slice(nP.length-o)]}function cp({target:e,node:t,offset:r}){return Wr(e)?{node:e,offset:r!=null?r:Yr(e).length}:t?{node:t,offset:r!=null?r:t.nodeType===3?t.nodeValue.length:t.childNodes.length}:aS(e,r)}function aS(e,t,r=!0){let nP=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?nP>=(r?Math.max(e.childNodes.length-1,0):0):nP<=e.childNodes.length;){if(t&&nP===e.childNodes.length)throw new Error("The given offset is out of bounds.");let i=e.childNodes.item(nP),s=String(i.textContent);if(s.length)if(t!==void 0&&s.length<t)t-=s.length;else{if(i.nodeType===1)return aS(i,t,!1);if(i.nodeType===3)return{node:i,offset:t!=null?t:i.nodeValue.length}}nP+=o}return{node:e,offset:e.childNodes.length}}function F9({document:e,target:t,clickCount:r,node:nP,offset:o}){if(k4(t))return;let i=Wr(t),s=String(i?Yr(t):t.textContent),[l,u]=nP?[o,o]:L9(s,o,r);if(i)return Wa(t,{anchorOffset:l!=null?l:s.length,focusOffset:u!=null?u:s.length}),{node:t,start:l!=null?l:0,end:u!=null?u:s.length};{let{node:d,offset:c}=cp({target:t,node:nP,offset:l}),{node:p,offset:h}=cp({target:t,node:nP,offset:u}),m=t.ownerDocument.createRange();try{m.setStart(d,c),m.setEnd(p,h)}catch{throw new Error("The given offset is out of bounds.")}let g=e.getSelection();return g==null||g.removeAllRanges(),g==null||g.addRange(m.cloneRange()),m}}function L9(e,t,r){if(r%3===1||e.length===0)return[t,t];let nP=t!=null?t:e.length;return r%3===2?[nP-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[nP-e.substr(0,t).match(/[^\r\nP]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\nP]*/)[0].length]}function $9(e,{document:t,target:r,node:nP,offset:o}){let i=cp({target:r,node:nP,offset:o});if("node"in e){if(i.node===e.node){let s=i.offset<e.start?e.end:e.start,l=i.offset>e.end||i.offset<e.start?i.offset:e.end;Wa(e.node,{anchorOffset:s,focusOffset:l})}}else{let s=e.cloneRange(),l=s.comparePoint(i.node,i.offset);l<0?s.setStart(i.node,i.offset):l>0&&s.setEnd(i.node,i.offset);let u=t.getSelection();u==null||u.removeAllRanges(),u==null||u.addRange(s.cloneRange())}}function iS(e,t){var r,nP,o,i,s,l,u,d;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((nP=t.coords)===null||nP===void 0?void 0:nP.y)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((s=e.caret)===null||s===void 0?void 0:s.node)!==((l=t.caret)===null||l===void 0?void 0:l.node)||((u=e.caret)===null||u===void 0?void 0:u.offset)!==((d=t.caret)===null||d===void 0?void 0:d.offset)}function Xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var U9=class{move(e,t){let r=this.position,nP=this.getTarget(e);if(this.position=t,!iS(r,t))return;let o=this.getTarget(e),i=this.getEventInit("mousemove"),[s,l]=xi(nP,o);return{leave:()=>{nP!==o&&(e.dispatchUIEvent(nP,"mouseout",i),s.forEach(u=>e.dispatchUIEvent(u,"mouseleave",i)))},enter:()=>{nP!==o&&(e.dispatchUIEvent(o,"mouseover",i),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",i)))},move:()=>{e.dispatchUIEvent(o,"mousemove",i),this.modifySelecting(e)}}}down(e,t,r){let nP=this.buttons.down(t);if(nP===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[nP]=o;let i=un(o),s=this.getEventInit("mousedown",t.button);(i||e.dispatchUIEvent(o,"mousedown",s))&&(this.startSelecting(e,s.detail),jn(o)),!i&&K0(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let nP=this.buttons.up(t);if(nP===void 0)return;let o=this.getTarget(e);if(!un(o)){e.dispatchUIEvent(o,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let i=xi(this.buttonDownTarget[nP],o)[2][0];if(i){let s=this.getEventInit("click",t.button,r);s.detail&&(e.dispatchUIEvent(i,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&e.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",t.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let nP={...this.position.coords};return r&&(nP.pointerId=r.pointerId,nP.pointerType=r.pointerType,nP.isPrimary=r.isPrimary),nP.button=K0(t),nP.buttons=this.buttons.getButtons(),e==="mousedown"?nP.detail=this.clickCount.getOnDown(nP.button):e==="mouseup"?nP.detail=this.clickCount.getOnUp(nP.button):(e==="click"||e==="auxclick")&&(nP.detail=this.clickCount.incOnClick(nP.button)),nP}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,nP;this.selecting=F9({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(nP=this.position.caret)===null||nP===void 0?void 0:nP.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&$9(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(){Xn(this,"position",{}),Xn(this,"buttons",new oS),Xn(this,"selecting",void 0),Xn(this,"buttonDownTarget",{}),Xn(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(){Xn(this,"down",{}),Xn(this,"count",{})}})}};function hl(e,t){var r;return((r=sS(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function H9(e){let t=Gr(e);for(let r=e,nP=[];r!=null&&r.ownerDocument;r=r.parentElement){nP.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:nP}}}var J0=Symbol("Last check for pointer-events");function sS(e,t){let r=t[J0];if(!(e.config.pointerEventsCheck!==Pa.Never&&(!r||X0(e.config.pointerEventsCheck,Pa.EachApiCall)&&r[tr.Call]!==ks(e,tr.Call)||X0(e.config.pointerEventsCheck,Pa.EachTrigger)&&r[tr.Trigger]!==ks(e,tr.Trigger))))return r==null?void 0:r.result;let nP=H9(t);return t[J0]={[tr.Call]:ks(e,tr.Call),[tr.Trigger]:ks(e,tr.Trigger),result:nP},nP}function Si(e,t){let r=sS(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",z9(r.tree)].join(`
|
|
428
|
+
for more information about how userEvent parses your input.`}function j4(e){return new e.constructor(e.type,e)}var tr;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(tr||(tr={}));function _i(e,t){e.levelRefs[t]={}}function Bs(e,t){return e.levelRefs[t]}var Pa;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(Pa||(Pa={}));function un(e){for(let r=e;r;r=r.parentElement)if(tt(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(tt(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 zl(e){let t=e.activeElement;return t!=null&&t.shadowRoot?zl(t.shadowRoot):un(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function cd(e){var t;return(t=zl(e))!==null&&t!==void 0?t:e.body}function B4(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function Wr(e){return Gw(e)&&$w(e)}function k4(e){return Gw(e)&&qw(e)}function Gw(e){return e.nodeType===1}function F4(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&Wr(e)){let nP=Ui(t.focusNode);if(nP){if(!t.isCollapsed){var r;let o=((r=nP.firstChild)===null||r===void 0?void 0:r.nodeType)===3?nP.firstChild:nP;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function La(e,t){return at().eventWrapper(e)}function jn(e){let t=B4(e,Of),r=zl(e.ownerDocument);(t!=null?t:e.ownerDocument.body)!==r&&(La(t?()=>t.focus():()=>r==null?void 0:r.blur()),F4(t!=null?t:e.ownerDocument.body))}function L4(e){!Of(e)||zl(e.ownerDocument)!==e||La(()=>e.blur())}var Bn={};Bn.click=(e,t,r)=>{let nP=t.closest("button,input,label,select,textarea"),o=nP&&tt(nP,"label")&&nP.control;if(o)return()=>{Of(o)&&jn(o),r.dispatchEvent(o,j4(e))};if(tt(t,"input",{type:"file"}))return()=>{L4(t),t.dispatchEvent(new(Gr(t)).Event("fileDialog")),jn(t)}};var $a=Symbol("Displayed value in UI"),sn=Symbol("Displayed selection in UI"),dl=Symbol("Initial value to compare on blur");function $4(e){return typeof e=="object"&&$a in e}function U4(e){return!!e&&typeof e=="object"&&sn in e}function H4(e,t){e[dl]===void 0&&(e[dl]=e.value),e[$a]=t,e.value=Object.assign(new String(t),{[$a]:!0})}function Yr(e){return e[$a]===void 0?e.value:String(e[$a])}function Nf(e){e[$a]=void 0}function Ww(e){e[dl]=void 0}function z4(e){return e[dl]}function V4(e,t){e[sn]=t}function Wa(e,{focusOffset:t,anchorOffset:r=t},nP="replace"){let o=Yr(e).length,i=p=>Math.max(0,Math.min(o,p)),s=nP==="replace"||e[sn]===void 0?i(r):e[sn].anchorOffset,l=i(t),u=Math.min(s,l),d=Math.max(s,l);if(e[sn]={anchorOffset:s,focusOffset:l},e.selectionStart===u&&e.selectionEnd===d)return;let c=Object.assign(new Number(u),{[sn]:!0});try{e.setSelectionRange(c,d)}catch{}}function Hi(e){var t,r,nP;let o=(nP=e[sn])!==null&&nP!==void 0?nP:{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 G4(e){return!!e[sn]}function Ws(e){e[sn]=void 0}var pl=globalThis.parseInt;function W4(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=pl(t[0],10),nP=pl(t[1],10);if(r>=3||r===2&&nP>=4){let o;return r>=3?o=1:o=2,B0(t,o)}return e.length===2?e:B0(t,2)}function B0(e,t){let r=e.slice(0,t),nP=Math.min(pl(r,10),23),o=e.slice(t),i=pl(o,10),s=Math.min(i,59);return`${nP.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}function Yw(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function Kw(e,t,r,nP){if(Ys(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=k0(e,t,r);if(o){if(Ys(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(tt(o,"br")){let i=k0(o,void 0,r);return i?Ys(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&tt(i,"br")?{node:o.parentNode,offset:ks(o)}:{node:i.parentNode,offset:ks(i)+(r>0?0:1)}:r<0&&nP==="deleteContentBackward"?{node:o.parentNode,offset:ks(o)}:void 0}else return{node:o.parentNode,offset:ks(o)+(r>0?1:0)}}}function k0(e,t,r){let nP=Number(t)+(r<0?-1:0);return t!==void 0&&Mf(e)&&nP>=0&&nP<e.children.length&&(e=e.children[nP]),K4(e,r===1?"next":"previous",Y4)}function Y4(e){if(Ys(e))return!0;if(Mf(e)){if(tt(e,["input","textarea"]))return e.type!=="hidden";if(tt(e,"br"))return!0}return!1}function ks(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Mf(e){return e.nodeType===1}function Ys(e){return e.nodeType===3}function K4(e,t,r){for(;;){var nP;let o=e[`${t}Sibling`];if(o){if(e=J4(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Mf(e.parentNode)||!io(e.parentNode)&&e.parentNode!==((nP=e.ownerDocument)===null||nP===void 0?void 0:nP.body)))e=e.parentNode;else break}}function J4(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var zi=Symbol("Track programmatic changes for React workaround");function X4(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Gr(e).REACT_VERSION===17}function Q4(e){X4(e)&&(e[zi]={previousValue:String(e.value),tracked:[]})}function Z4(e,t){var r,nP;(nP=e[zi])===null||nP===void 0||(r=nP.tracked)===null||r===void 0||r.push(t),e[zi]||(Nf(e),Wa(e,{focusOffset:t.length}))}function e9(e,t){var r;let nP=e[zi];if(e[zi]=void 0,!(!(nP==null||(r=nP.tracked)===null||r===void 0)&&r.length))return;let o=nP.tracked.length===2&&nP.tracked[0]===nP.previousValue&&nP.tracked[1]===e.value;o||Nf(e),G4(e)&&Wa(e,{focusOffset:o?t:e.value.length})}function Jw(e){let t=t9(e);if(t&&Wr(t))return{type:"input",selection:Hi(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:Ui(e)&&(r!=null&&r.anchorNode)&&Ui(r.anchorNode)?"contenteditable":"default",selection:r}}function t9(e){return e.nodeType===1?e:e.parentElement}function r9(e){let t=Jw(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 so({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:nP=t}){var o,i;if(Jw(e).type==="input")return Wa(e,{anchorOffset:nP,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,nP,e,t)}function Xw(e){return tt(e,"input")&&["date","time"].includes(e.type)}function Ua(e,t,r,nP="insertText"){let o=r9(t);o&&(!Xw(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:nP,data:r})||("startContainer"in o?n9(e,t,o,r,nP):o9(e,t,o,r,nP)))}function n9(e,t,r,nP,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let s=Kw(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(s){i=!0;let l=r.cloneRange();l.comparePoint(s.node,s.offset)<0?l.setStart(s.node,s.offset):l.setEnd(s.node,s.offset),l.deleteContents()}}if(nP)if(r.endContainer.nodeType===3){let s=r.endOffset;r.endContainer.insertData(s,nP),r.setStart(r.endContainer,s+nP.length),r.setEnd(r.endContainer,s+nP.length)}else{let s=t.ownerDocument.createTextNode(nP);r.insertNode(s),r.setStart(s,nP.length),r.setEnd(s,nP.length)}(i||nP)&&e.dispatchUIEvent(t,"input",{inputType:o})}function o9(e,t,r,nP,o){let i=nP;if(M4(t)){let d=N4(t);if(d!==void 0&&nP.length>0){let c=d-t.value.length;if(c>0)i=nP.substring(0,c);else return}}let{newValue:s,newOffset:l,oldValue:u}=a9(i,t,r,o);s===u&&l===r.startOffset&&l===r.endOffset||tt(t,"input",{type:"number"})&&!i9(s)||(H4(t,s),so({focusNode:t,anchorOffset:l,focusOffset:l}),Xw(t)?Yw(t,s)&&(F0(e,t,l,{}),e.dispatchUIEvent(t,"change"),Ww(t)):F0(e,t,l,{data:nP,inputType:o}))}function a9(e,t,{startOffset:r,endOffset:nP},o){let i=Yr(t),s=Math.max(0,r===nP&&o==="deleteContentBackward"?r-1:r),l=i.substring(0,s),u=Math.min(i.length,r===nP&&o==="deleteContentForward"?r+1:nP),d=i.substring(u,i.length),c=`${l}${e}${d}`,p=s+e.length;if(tt(t,"input",{type:"time"})){let h=W4(c);h!==""&&Yw(t,h)&&(c=h,p=h.length)}return{oldValue:i,newValue:c,newOffset:p}}function F0(e,t,r,nP){e.dispatchUIEvent(t,"input",nP),e9(t,r)}function i9(e){var t,r;let nP=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||nP[1]&&!/^-?\d*$/.test(nP[1]))}Bn.cut=(e,t,r)=>()=>{Fa(t)&&Ua(r,t,"","deleteByCut")};function s9(e){return e?io(e)?e.textContent:Yr(e):null}function l9(e){let t=Gr(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:nP,visibility:o}=t.getComputedStyle(r);if(nP==="none"||o==="hidden")return!1}return!0}function u9(e,t){let r=e.ownerDocument,nP=r.querySelectorAll(Uw),o=Array.from(nP).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||un(u)));Number(e.getAttribute("tabindex"))>=0&&o.sort((u,d)=>{let c=Number(u.getAttribute("tabindex")),p=Number(d.getAttribute("tabindex"));return c===p?0:c===0?1:p===0?-1:c-p});let i={},s=[r.body],l=tt(e,"input",{type:"radio"})?e.name:void 0;o.forEach(u=>{let d=u;if(tt(d,"input",{type:"radio"})&&d.name){if(d===e){s.push(d);return}else if(d.name===l)return;if(d.checked){s=s.filter(c=>!tt(c,"input",{type:"radio",name:d.name})),s.push(d),i[d.name]=d;return}if(typeof i[d.name]<"u")return}s.push(d)});for(let u=s.findIndex(d=>d===e);;)if(u+=t?-1:1,u===s.length?u=0:u===-1&&(u=s.length-1),s[u]===e||s[u]===r.body||l9(s[u]))return s[u]}function L0(e,t){if(Wr(e)){let r=Hi(e);so({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let nP=Kw(r.focusNode,r.focusOffset,t);nP&&so({focusNode:nP.node,focusOffset:nP.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function Qw(e){if(Wr(e))return so({focusNode:e,anchorOffset:0,focusOffset:Yr(e).length});var t;let r=(t=Ui(e))!==null&&t!==void 0?t:e.ownerDocument.body;so({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function c9(e){if(Wr(e))return Hi(e).startOffset===0&&Hi(e).endOffset===Yr(e).length;var t;let r=(t=Ui(e))!==null&&t!==void 0?t:e.ownerDocument.body,nP=e.ownerDocument.getSelection();return(nP==null?void 0:nP.anchorNode)===r&&nP.focusNode===r&&nP.anchorOffset===0&&nP.focusOffset===r.childNodes.length}function wi(e,t,r){var nP;if(Wr(e))return so({focusNode:e,anchorOffset:t,focusOffset:r});if(io(e)&&((nP=e.firstChild)===null||nP===void 0?void 0:nP.nodeType)===3)return so({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Fs(e,t,r){let nP=Gr(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${nP.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(s=>s===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;un(o[i])||(jn(o[i]),e.dispatchUIEvent(o[i],"click"))}}Bn.keydown=(e,t,r)=>{var nP,o;return(o=(nP=$0[e.key])===null||nP===void 0?void 0:nP.call($0,e,t,r))!==null&&o!==void 0?o:d9(e,t,r)};var $0={ArrowDown:(e,t,r)=>{if(tt(t,"input",{type:"radio"}))return()=>Fs(r,t,-1)},ArrowLeft:(e,t,r)=>tt(t,"input",{type:"radio"})?()=>Fs(r,t,-1):()=>L0(t,-1),ArrowRight:(e,t,r)=>tt(t,"input",{type:"radio"})?()=>Fs(r,t,1):()=>L0(t,1),ArrowUp:(e,t,r)=>{if(tt(t,"input",{type:"radio"}))return()=>Fs(r,t,1)},Backspace:(e,t,r)=>{if(Fa(t))return()=>{Ua(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Fa(t))return()=>{Ua(r,t,"","deleteContentForward")}},End:(e,t)=>{if(tt(t,["input","textarea"])||io(t))return()=>{var r,nP;let o=(nP=(r=s9(t))===null||r===void 0?void 0:r.length)!==null&&nP!==void 0?nP:0;wi(t,o,o)}},Home:(e,t)=>{if(tt(t,["input","textarea"])||io(t))return()=>{wi(t,0,0)}},PageDown:(e,t)=>{if(tt(t,["input"]))return()=>{let r=Yr(t).length;wi(t,r,r)}},PageUp:(e,t)=>{if(tt(t,["input"]))return()=>{wi(t,0,0)}},Tab:(e,t,r)=>()=>{let nP=u9(t,r.system.keyboard.modifiers.Shift);jn(nP),Wr(nP)&&Wa(nP,{anchorOffset:0,focusOffset:nP.value.length})}},d9=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Qw(t)};Bn.keypress=(e,t,r)=>{if(e.key==="Enter"){if(tt(t,"button")||tt(t,"input")&&p9.includes(t.type)||tt(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(tt(t,"input")){let nP=t.form,o=nP==null?void 0:nP.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):nP&&f9.includes(t.type)&&nP.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(nP,"submit"):void 0}}if(Fa(t)){let nP=e.key==="Enter"?io(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
|
|
429
|
+
`:e.key;return()=>Ua(r,t,o,nP)}};var p9=["button","color","file","image","reset","submit"],f9=["email","month","password","search","tel","text","url","week"];Bn.keyup=(e,t,r)=>{var nP;return(nP=U0[e.key])===null||nP===void 0?void 0:nP.call(U0,e,t,r)};var U0={" ":(e,t,r)=>{if(qw(t))return()=>r.dispatchUIEvent(t,"click")}};Bn.paste=(e,t,r)=>{if(Fa(t))return()=>{var nP;let o=(nP=e.clipboardData)===null||nP===void 0?void 0:nP.getData("text");o&&Ua(r,t,o,"insertFromPaste")}};var Zw={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 eS(e){return Zw[e].EventType}var h9=["MouseEvent","PointerEvent"];function m9(e){return h9.includes(eS(e))}function g9(e){return eS(e)==="KeyboardEvent"}var b9={ClipboardEvent:[v9],Event:[],InputEvent:[Ls,E9],MouseEvent:[Ls,dd,H0],PointerEvent:[Ls,dd,H0,w9],KeyboardEvent:[Ls,dd,_9]};function tS(e,t,r){let nP=Gr(t),{EventType:o,defaultInit:i}=Zw[e],s=new(y9(nP))[o](e,i);return b9[o].forEach(l=>l(s,r!=null?r:{})),s}function y9(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var nP;let o=(nP=e.AnimationEvent)!==null&&nP!==void 0?nP:class extends r{};var i;let s=(i=e.ClipboardEvent)!==null&&i!==void 0?i:class extends r{};var l;let u=(l=e.PopStateEvent)!==null&&l!==void 0?l:class extends r{};var d;let c=(d=e.ProgressEvent)!==null&&d!==void 0?d:class extends r{};var p;let h=(p=e.TransitionEvent)!==null&&p!==void 0?p:class extends r{};var m;let g=(m=e.UIEvent)!==null&&m!==void 0?m:class extends r{};var b;let y=(b=e.CompositionEvent)!==null&&b!==void 0?b:class extends g{};var E;let _=(E=e.FocusEvent)!==null&&E!==void 0?E:class extends g{};var P;let C=(P=e.InputEvent)!==null&&P!==void 0?P:class extends g{};var w;let S=(w=e.KeyboardEvent)!==null&&w!==void 0?w:class extends g{};var T;let A=(T=e.MouseEvent)!==null&&T!==void 0?T:class extends g{};var N;let U=(N=e.DragEvent)!==null&&N!==void 0?N:class extends A{};var X;let V=(X=e.PointerEvent)!==null&&X!==void 0?X:class extends A{};var J;let x=(J=e.TouchEvent)!==null&&J!==void 0?J:class extends g{};return{Event:r,AnimationEvent:o,ClipboardEvent:s,PopStateEvent:u,ProgressEvent:c,TransitionEvent:h,UIEvent:g,CompositionEvent:y,FocusEvent:_,InputEvent:C,KeyboardEvent:S,MouseEvent:A,DragEvent:U,PointerEvent:V,TouchEvent:x}}function po(e,t){for(let[r,nP]of Object.entries(t))Object.defineProperty(e,r,{get:()=>nP!=null?nP:null})}function Lt(e){return Number(e!=null?e:0)}function v9(e,{clipboardData:t}){po(e,{clipboardData:t})}function E9(e,{data:t,inputType:r,isComposing:nP}){po(e,{data:t,isComposing:!!nP,inputType:String(r)})}function Ls(e,{view:t,detail:r}){po(e,{view:t,detail:Lt(r!=null?r:0)})}function dd(e,{altKey:t,ctrlKey:r,metaKey:nP,shiftKey:o,modifierAltGraph:i,modifierCapsLock:s,modifierFn:l,modifierFnLock:u,modifierNumLock:d,modifierScrollLock:c,modifierSymbol:p,modifierSymbolLock:h}){po(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!nP,shiftKey:!!o,getModifierState(m){return!!{Alt:t,AltGraph:i,CapsLock:s,Control:r,Fn:l,FnLock:u,Meta:nP,NumLock:d,ScrollLock:c,Shift:o,Symbol:p,SymbolLock:h}[m]}})}function _9(e,{key:t,code:r,location:nP,repeat:o,isComposing:i,charCode:s}){po(e,{key:String(t),code:String(r),location:Lt(nP),repeat:!!o,isComposing:!!i,charCode:s})}function H0(e,{x:t,y:r,screenX:nP,screenY:o,clientX:i=t,clientY:s=r,button:l,buttons:u,relatedTarget:d}){po(e,{screenX:Lt(nP),screenY:Lt(o),clientX:Lt(i),x:Lt(i),clientY:Lt(s),y:Lt(s),button:Lt(l),buttons:Lt(u),relatedTarget:d})}function w9(e,{pointerId:t,width:r,height:nP,pressure:o,tangentialPressure:i,tiltX:s,tiltY:l,twist:u,pointerType:d,isPrimary:c}){po(e,{pointerId:Lt(t),width:Lt(r),height:Lt(nP),pressure:Lt(o),tangentialPressure:Lt(i),tiltX:Lt(s),tiltY:Lt(l),twist:Lt(u),pointerType:String(d),isPrimary:!!c})}function S9(e,t,r,nP=!1){(m9(t)||g9(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=tS(t,e,r);return rS.call(this,e,o,nP)}function rS(e,t,r=!1){var nP;let o=t.type,i=r?()=>{}:(nP=Bn[o])===null||nP===void 0?void 0:nP.call(Bn,t,e,this);if(i){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>s}),Object.defineProperty(t,"preventDefault",{value:()=>{s=t.cancelable}}),La(()=>e.dispatchEvent(t)),s||i(),!s}return La(()=>e.dispatchEvent(t))}function C9(e,t,r){let nP=tS(t,e,r);La(()=>e.dispatchEvent(nP))}var pd=Symbol("Interceptor for programmatical calls");function Ta(e,t,r){let nP=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=nP!=null&&nP.set?"set":"value";if(typeof(nP==null?void 0:nP[i])!="function"||nP[i][pd])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...l){let{applyNative:u=!1,realArgs:d,then:c}=r.call(this,...l),p=(!u&&o||nP)[i];i==="set"?p.call(this,d):p.call(this,...d),c==null||c()}s[pd]=pd,Object.defineProperty(e,t,{...o!=null?o:nP,[i]:s})}function A9(e){Ta(e,"value",function(t){let r=$4(t);return r&&Q4(this),{applyNative:!!r,realArgs:R9(this,t),then:r?void 0:()=>Z4(this,String(t))}})}function R9(e,t){return tt(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function T9(e){Ta(e,"setSelectionRange",function(t,...r){let nP=U4(t);return{applyNative:!!nP,realArgs:[Number(t),...r],then:()=>nP?void 0:Ws(e)}}),Ta(e,"selectionStart",function(t){return{realArgs:t,then:()=>Ws(e)}}),Ta(e,"selectionEnd",function(t){return{realArgs:t,then:()=>Ws(e)}}),Ta(e,"select",function(){return{realArgs:[],then:()=>V4(e,{anchorOffset:0,focusOffset:Yr(e).length})}})}function x9(e){Ta(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Nf(e),Ws(e)}}})}var Oa=Symbol("Node prepared with document state workarounds");function nS(e){e[Oa]||(e.addEventListener("focus",t=>{let r=t.target;z0(r)},{capture:!0,passive:!0}),e.activeElement&&z0(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,nP=z4(r);nP!==void 0&&(r.value!==nP&&C9(r,"change"),Ww(r))},{capture:!0,passive:!0}),e[Oa]=Oa)}function z0(e){e[Oa]||(tt(e,["input","textarea"])&&(A9(e),T9(e),x9(e)),e[Oa]=Oa)}function P9(e){return O9(e)?e:e.ownerDocument}function O9(e){return e.nodeType===9}function Ha(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function _a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vr;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(vr||(vr={}));var N9=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function V0(e){return N9.includes(e)}var M9=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function G0(e){return M9.includes(e)}var I9=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,nP,o;let i=String(t.key),s=String(t.code),l=cd(e.config.document);this.setKeydownTarget(l);var u;(u=(r=this.pressed)[nP=s])!==null&&u!==void 0||(r[nP]={keyDef:t,unpreventedDefault:!1}),V0(i)&&(this.modifiers[i]=!0);let d=e.dispatchUIEvent(l,"keydown",{key:i,code:s});G0(i)&&!this.modifiers[i]&&(this.modifiers[i]=!0,this.modifierLockStart[i]=!0),(o=this.pressed[s]).unpreventedDefault||(o.unpreventedDefault=d),d&&this.hasKeyPress(i)&&e.dispatchUIEvent(cd(e.config.document),"keypress",{key:i,code:s,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),nP=String(t.code),o=this.pressed[nP].unpreventedDefault;delete this.pressed[nP],V0(r)&&!Object.values(this.pressed).find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(cd(e.config.document),"keyup",{key:r,code:nP},!o),G0(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){_a(this,"system",void 0),_a(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}),_a(this,"pressed",{}),_a(this,"carryChar",""),_a(this,"lastKeydownTarget",void 0),_a(this,"modifierLockStart",{}),this.system=e}},D9=[..."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:vr.LEFT},{code:"AltRight",key:"Alt",location:vr.RIGHT},{code:"ShiftLeft",key:"Shift",location:vr.LEFT},{code:"ShiftRight",key:"Shift",location:vr.RIGHT},{code:"ControlLeft",key:"Control",location:vr.LEFT},{code:"ControlRight",key:"Control",location:vr.RIGHT},{code:"MetaLeft",key:"Meta",location:vr.LEFT},{code:"MetaRight",key:"Meta",location:vr.RIGHT},{code:"OSLeft",key:"OS",location:vr.LEFT},{code:"OSRight",key:"OS",location:vr.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"}],q9=[{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 j9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oS=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=lp(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=lp(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(){j9(this,"pressed",{})}},W0={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function lp(e=0){return e in W0?W0[e]:Number(e)}var Y0={1:2,2:1};function K0(e){return e=lp(e),e in Y0?Y0[e]:e}function B9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var k9=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(){B9(this,"pressedKeys",new Set)}};function xi(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let nP=[];for(let i=t;i;i=i.parentElement)nP.push(i);let o=0;for(;!(o>=r.length||o>=nP.length||r[r.length-1-o]!==nP[nP.length-1-o]);o++);return[r.slice(0,r.length-o),nP.slice(0,nP.length-o),nP.slice(nP.length-o)]}function up({target:e,node:t,offset:r}){return Wr(e)?{node:e,offset:r!=null?r:Yr(e).length}:t?{node:t,offset:r!=null?r:t.nodeType===3?t.nodeValue.length:t.childNodes.length}:aS(e,r)}function aS(e,t,r=!0){let nP=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?nP>=(r?Math.max(e.childNodes.length-1,0):0):nP<=e.childNodes.length;){if(t&&nP===e.childNodes.length)throw new Error("The given offset is out of bounds.");let i=e.childNodes.item(nP),s=String(i.textContent);if(s.length)if(t!==void 0&&s.length<t)t-=s.length;else{if(i.nodeType===1)return aS(i,t,!1);if(i.nodeType===3)return{node:i,offset:t!=null?t:i.nodeValue.length}}nP+=o}return{node:e,offset:e.childNodes.length}}function F9({document:e,target:t,clickCount:r,node:nP,offset:o}){if(k4(t))return;let i=Wr(t),s=String(i?Yr(t):t.textContent),[l,u]=nP?[o,o]:L9(s,o,r);if(i)return Wa(t,{anchorOffset:l!=null?l:s.length,focusOffset:u!=null?u:s.length}),{node:t,start:l!=null?l:0,end:u!=null?u:s.length};{let{node:d,offset:c}=up({target:t,node:nP,offset:l}),{node:p,offset:h}=up({target:t,node:nP,offset:u}),m=t.ownerDocument.createRange();try{m.setStart(d,c),m.setEnd(p,h)}catch{throw new Error("The given offset is out of bounds.")}let g=e.getSelection();return g==null||g.removeAllRanges(),g==null||g.addRange(m.cloneRange()),m}}function L9(e,t,r){if(r%3===1||e.length===0)return[t,t];let nP=t!=null?t:e.length;return r%3===2?[nP-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[nP-e.substr(0,t).match(/[^\r\nP]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\nP]*/)[0].length]}function $9(e,{document:t,target:r,node:nP,offset:o}){let i=up({target:r,node:nP,offset:o});if("node"in e){if(i.node===e.node){let s=i.offset<e.start?e.end:e.start,l=i.offset>e.end||i.offset<e.start?i.offset:e.end;Wa(e.node,{anchorOffset:s,focusOffset:l})}}else{let s=e.cloneRange(),l=s.comparePoint(i.node,i.offset);l<0?s.setStart(i.node,i.offset):l>0&&s.setEnd(i.node,i.offset);let u=t.getSelection();u==null||u.removeAllRanges(),u==null||u.addRange(s.cloneRange())}}function iS(e,t){var r,nP,o,i,s,l,u,d;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((nP=t.coords)===null||nP===void 0?void 0:nP.y)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((s=e.caret)===null||s===void 0?void 0:s.node)!==((l=t.caret)===null||l===void 0?void 0:l.node)||((u=e.caret)===null||u===void 0?void 0:u.offset)!==((d=t.caret)===null||d===void 0?void 0:d.offset)}function Xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var U9=class{move(e,t){let r=this.position,nP=this.getTarget(e);if(this.position=t,!iS(r,t))return;let o=this.getTarget(e),i=this.getEventInit("mousemove"),[s,l]=xi(nP,o);return{leave:()=>{nP!==o&&(e.dispatchUIEvent(nP,"mouseout",i),s.forEach(u=>e.dispatchUIEvent(u,"mouseleave",i)))},enter:()=>{nP!==o&&(e.dispatchUIEvent(o,"mouseover",i),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",i)))},move:()=>{e.dispatchUIEvent(o,"mousemove",i),this.modifySelecting(e)}}}down(e,t,r){let nP=this.buttons.down(t);if(nP===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[nP]=o;let i=un(o),s=this.getEventInit("mousedown",t.button);(i||e.dispatchUIEvent(o,"mousedown",s))&&(this.startSelecting(e,s.detail),jn(o)),!i&&K0(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let nP=this.buttons.up(t);if(nP===void 0)return;let o=this.getTarget(e);if(!un(o)){e.dispatchUIEvent(o,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let i=xi(this.buttonDownTarget[nP],o)[2][0];if(i){let s=this.getEventInit("click",t.button,r);s.detail&&(e.dispatchUIEvent(i,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&e.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",t.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let nP={...this.position.coords};return r&&(nP.pointerId=r.pointerId,nP.pointerType=r.pointerType,nP.isPrimary=r.isPrimary),nP.button=K0(t),nP.buttons=this.buttons.getButtons(),e==="mousedown"?nP.detail=this.clickCount.getOnDown(nP.button):e==="mouseup"?nP.detail=this.clickCount.getOnUp(nP.button):(e==="click"||e==="auxclick")&&(nP.detail=this.clickCount.incOnClick(nP.button)),nP}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,nP;this.selecting=F9({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(nP=this.position.caret)===null||nP===void 0?void 0:nP.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&$9(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(){Xn(this,"position",{}),Xn(this,"buttons",new oS),Xn(this,"selecting",void 0),Xn(this,"buttonDownTarget",{}),Xn(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(){Xn(this,"down",{}),Xn(this,"count",{})}})}};function fl(e,t){var r;return((r=sS(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function H9(e){let t=Gr(e);for(let r=e,nP=[];r!=null&&r.ownerDocument;r=r.parentElement){nP.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:nP}}}var J0=Symbol("Last check for pointer-events");function sS(e,t){let r=t[J0];if(!(e.config.pointerEventsCheck!==Pa.Never&&(!r||X0(e.config.pointerEventsCheck,Pa.EachApiCall)&&r[tr.Call]!==Bs(e,tr.Call)||X0(e.config.pointerEventsCheck,Pa.EachTrigger)&&r[tr.Trigger]!==Bs(e,tr.Trigger))))return r==null?void 0:r.result;let nP=H9(t);return t[J0]={[tr.Call]:Bs(e,tr.Call),[tr.Trigger]:Bs(e,tr.Trigger),result:nP},nP}function Si(e,t){let r=sS(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",z9(r.tree)].join(`
|
|
430
430
|
`))}function z9(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,V9(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(`
|
|
431
|
-
`)}function V9(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var nP,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(nP=o.textContent)===null||nP===void 0?void 0:nP.trim()}else if(tt(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(s=>{var l;return(l=s.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(tt(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r==null?void 0:r.replace(/\nP/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}\u2026`),r?`(label=${r})`:""}function X0(e,t){return(e&t)>0}function xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Q0=class{init(e,t){this.position=t;let r=this.getTarget(e),[,nP]=xi(null,r),o=this.getEventInit();return Si(e,r),e.dispatchUIEvent(r,"pointerover",o),nP.forEach(i=>e.dispatchUIEvent(i,"pointerenter",o)),this}move(e,t){let r=this.position,nP=this.getTarget(e);if(this.position=t,!iS(r,t))return;let o=this.getTarget(e),i=this.getEventInit(),[s,l]=xi(nP,o);return{leave:()=>{hl(e,nP)&&nP!==o&&(e.dispatchUIEvent(nP,"pointerout",i),s.forEach(u=>e.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{Si(e,o),nP!==o&&(e.dispatchUIEvent(o,"pointerover",i),l.forEach(u=>e.dispatchUIEvent(u,"pointerenter",i)))},move:()=>{e.dispatchUIEvent(o,"pointermove",i)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Si(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);Si(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=xi(t,null),nP=this.getEventInit();hl(e,t)&&(e.dispatchUIEvent(t,"pointerout",nP),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",nP))),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}){xn(this,"pointerId",void 0),xn(this,"pointerType",void 0),xn(this,"isPrimary",void 0),xn(this,"isMultitouch",!1),xn(this,"isCancelled",!1),xn(this,"isDown",!1),xn(this,"isPrevented",!1),xn(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var G9=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let nP=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(nP,t).init(e,r):this.pointers.get(nP);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 nP=this.pointers.get(t),o=nP.move(e,r),i=nP.pointerType==="touch"||nP.isPrevented&&nP.isDown?void 0:this.mouse.move(e,r);o==null||o.leave(),i==null||i.leave(),o==null||o.enter(),i==null||i.enter(),o==null||o.move(),i==null||i.move()}async release(e,t,r){let nP=this.devices.get(t.pointerType);nP.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),nP.countPressed===0&&o.up(e,t),o.pointerType==="touch"&&o.release(e),!o.isPrevented){if(o.pointerType==="touch"&&!o.isMultitouch){let i=this.mouse.move(e,o.position);i==null||i.leave(),i==null||i.enter(),i==null||i.move(),this.mouse.down(e,t,o)}if(!o.isMultitouch){let i=this.mouse.move(e,o.position);i==null||i.leave(),i==null||i.enter(),i==null||i.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){Pn(this,"system",void 0),Pn(this,"mouse",void 0),Pn(this,"buttons",void 0),Pn(this,"devices",new class{get(t){var r,nP,o;return(o=(r=this.registry)[nP=t])!==null&&o!==void 0||(r[nP]=new k9),this.registry[t]}constructor(){Pn(this,"registry",{})}}),Pn(this,"pointers",new class{new(t,r){let nP=r.pointerType!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return nP||Object.values(this.registry).forEach(o=>{o.pointerType===r.pointerType&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new Q0({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:nP}),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(){Pn(this,"registry",{mouse:new Q0({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Pn(this,"nextId",2)}}),this.system=e,this.buttons=new oS,this.mouse=new U9}};function Z0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var lS=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(){Z0(this,"keyboard",new I9(this)),Z0(this,"pointer",new G9(this))}};async function W9(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Y9(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function K9(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function J9(e){return this.pointer({target:e})}async function X9(e){return Si(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Q9({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function Z9(e,t){let r=[];do{let{type:o,descriptor:i,consumedLength:s,releasePrevious:l,releaseSelf:u=!0,repeat:d}=Hw(t,"keyboard");var nP;let c=(nP=e.find(p=>{if(o==="["){var h;return((h=p.code)===null||h===void 0?void 0:h.toLowerCase())===i.toLowerCase()}else if(o==="{"){var m;return((m=p.key)===null||m===void 0?void 0:m.toLowerCase())===i.toLowerCase()}return p.key===i}))!==null&&nP!==void 0?nP:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:l,releaseSelf:u,repeat:d}),t=t.slice(s)}while(t);return r}async function e6(e){let t=Z9(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Ha(this.config),await t6(this,t[r])}async function t6(e,{keyDef:t,releasePrevious:r,releaseSelf:nP,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let s=1;s<=o;s++)await i.keyboard.keydown(e,t),s<o&&await Ha(e.config);nP&&await i.keyboard.keyup(e,t)}}async function r6(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function uS(e){let t=Wr(e)?{"text/plain":n6(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Pf(Gr(e));for(let nP in t)t[nP]&&r.setData(nP,t[nP]);return r}function n6(e){let t=Hi(e);return Yr(e).substring(t.startOffset,t.endOffset)}async function o6(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,nP=uS(r);if(nP.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:nP})&&this.config.writeToClipboard&&await Lw(e,nP),nP}async function a6(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,nP=uS(r);if(nP.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:nP})&&this.config.writeToClipboard&&await Lw(r.ownerDocument,nP),nP}async function i6(e){let t=this.config.document;var r;let nP=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let i=(o=typeof e=="string"?s6(t,e):e)!==null&&o!==void 0?o:await P4(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(nP,"paste",{clipboardData:i})}function s6(e,t){let r=Pf(Gr(e));return r.setData("text",t),r}function ev(e,t){let r=[];do{let{descriptor:nP,consumedLength:o,releasePrevious:i,releaseSelf:s=!0}=Hw(t,"pointer"),l=e.find(u=>u.name===nP);l&&r.push({keyDef:l,releasePrevious:i,releaseSelf:s}),t=t.slice(o)}while(t);return r}async function l6(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(nP=>{typeof nP=="string"?r.push(...ev(t,nP)):"keys"in nP?r.push(...ev(t,nP.keys).map(o=>({...nP,...o}))):r.push(nP)});for(let nP=0;nP<r.length;nP++)await Ha(this.config),await u6(this,r[nP]);this.system.pointer.resetClickCount()}async function u6(e,t){var r,nP;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",i=e.system.pointer.getPreviousPosition(o);var s,l,u,d;let c={target:(s=t.target)!==null&&s!==void 0?s:c6(e,i),coords:(l=t.coords)!==null&&l!==void 0?l:i==null?void 0:i.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:tv(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(d=t.offset)!==null&&d!==void 0?d:tv(t)||i==null||(nP=i.caret)===null||nP===void 0?void 0:nP.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(_i(e,tr.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(_i(e,tr.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(_i(e,tr.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(_i(e,tr.Trigger),await e.system.pointer.move(e,o,c))}function tv(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 c6(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 d6(e){if(!Fa(e)||un(e))throw new Error("clear()` is only supported on editable elements.");if(jn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Qw(e),!c9(e))throw new Error("The element content to be cleared could not be selected.");Ua(this,e,"","deleteContentBackward")}async function p6(e,t){return cS.call(this,!0,e,t)}async function f6(e,t){return cS.call(this,!1,e,t)}async function cS(e,t,r){if(!e&&!t.multiple)throw at().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let nP=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=nP.map(l=>{if(typeof l!="string"&&o.includes(l))return l;{let u=o.find(d=>d.value===l||d.innerHTML===l);if(u)return u;throw at().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!un(l));if(un(t)||!i.length)return;let s=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(tt(t,"select"))if(t.multiple)for(let l of i){let u=this.config.pointerEventsCheck===0?!0:hl(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),jn(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),s(l),u&&this.dispatchUIEvent(l,"click"),await Ha(this.config)}else if(i.length===1){let l=this.config.pointerEventsCheck===0?!0:hl(this,t);l?await this.click(t):jn(t),s(i[0]),l&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Ha(this.config)}else throw at().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of i)await this.click(l),await this.unhover(l);else throw at().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function h6(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:nP=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&wi(e,o,i!=null?i:o),await this.keyboard(t),nP||await r6(this))}var rv=Symbol("files and value properties are mocked");function hd(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function m6(e,t){var r;(r=e[rv])===null||r===void 0||r.restore();let nP=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function s(){hd(e,"type",nP),hd(e,"value",o),hd(e,"files",i)}e[rv]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")s();else{var u;o==null||(u=o.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(s(),e.type=l)}}})}async function g6(e,t){let r=tt(e,"label")?e.control:e;if(!r||!tt(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(un(e))return;let nP=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||b6(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;nP.length===((i=r.files)===null||i===void 0?void 0:i.length)&&nP.every((s,l)=>{var u;return s===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(m6(r,xf(Gr(e),nP)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function b6(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(nP=>nP.startsWith(".")?e.name.endsWith(nP):r.includes(nP)?e.type.startsWith(nP.substr(0,nP.length-1)):e.type===nP)}var nv={click:W9,dblClick:Y9,tripleClick:K9,hover:J9,unhover:X9,tab:Q9,keyboard:e6,copy:o6,cut:a6,paste:i6,pointer:l6,clear:d6,deselectOptions:f6,selectOptions:p6,type:h6,upload:g6};function y6(e){return at().asyncWrapper(e)}var dS={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:D9,pointerMap:q9,pointerEventsCheck:Pa.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},v6={...dS,writeToClipboard:!0};function pS(e={},t=v6,r){let nP=S6(e,r,t);return{...t,...e,document:nP}}function E6(e={}){let t=pS(e);nS(t.document);var r;let nP=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return R4(nP),Df(t).api}function Xt({keyboardState:e,pointerState:t,...r}={},nP){let o=pS(r,dS,nP);nS(o.document);var i;let s=(i=t!=null?t:e)!==null&&i!==void 0?i:new lS;return{api:Df(o,s).api,system:s}}function _6(e){return Df({...this.config,...e},this.system).api}function w6(e,t){function r(...nP){return _i(e,tr.Call),y6(()=>t.apply(e,nP).then(async o=>(await Ha(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Df(e,t=new lS){let r={};return Object.assign(r,{config:e,dispatchEvent:rS.bind(r),dispatchUIEvent:S9.bind(r),system:t,levelRefs:{},...nv}),{instance:r,api:{...Object.fromEntries(Object.entries(nv).map(([nP,o])=>[nP,w6(r,o)])),setup:_6.bind(r)}}}function S6(e,t,r){var nP,o;return(o=(nP=e.document)!==null&&nP!==void 0?nP:t&&P9(t))!==null&&o!==void 0?o:r.document}var fS={};bl(fS,{clear:()=>C6,click:()=>A6,copy:()=>R6,cut:()=>T6,dblClick:()=>x6,deselectOptions:()=>P6,hover:()=>O6,keyboard:()=>N6,paste:()=>I6,pointer:()=>M6,selectOptions:()=>D6,tab:()=>F6,tripleClick:()=>q6,type:()=>j6,unhover:()=>B6,upload:()=>k6});function C6(e){return Xt().api.clear(e)}function A6(e,t={}){return Xt(t,e).api.click(e)}function R6(e={}){return Xt(e).api.copy()}function T6(e={}){return Xt(e).api.cut()}function x6(e,t={}){return Xt(t).api.dblClick(e)}function P6(e,t,r={}){return Xt(r).api.deselectOptions(e,t)}function O6(e,t={}){return Xt(t).api.hover(e)}async function N6(e,t={}){let{api:r,system:nP}=Xt(t);return r.keyboard(e).then(()=>nP)}async function M6(e,t={}){let{api:r,system:nP}=Xt(t);return r.pointer(e).then(()=>nP)}function I6(e,t){return Xt(t).api.paste(e)}function D6(e,t,r={}){return Xt(r).api.selectOptions(e,t)}function q6(e,t={}){return Xt(t).api.tripleClick(e)}function j6(e,t,r={}){return Xt(r,e).api.type(e,t,r)}function B6(e,t={}){let{api:r,system:nP}=Xt(t);return nP.pointer.setMousePosition({target:e}),r.unhover(e)}function k6(e,t,r={}){return Xt(r).api.upload(e,t)}function F6(e={}){return Xt().api.tab(e)}var L6={...fS,setup:E6},$6=Tu(),hS=Yc();function U6(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var nP=Array.from(typeof e=="string"?[e]:e);nP[nP.length-1]=nP[nP.length-1].replace(/\r?\nP([\t ]*)$/,"");var o=nP.reduce(function(l,u){var d=u.match(/\nP([\t ]+|(?!\s).)/g);return d?l.concat(d.map(function(c){var p,h;return(h=(p=c.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):l},[]);if(o.length){var i=new RegExp(`
|
|
431
|
+
`)}function V9(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var nP,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(nP=o.textContent)===null||nP===void 0?void 0:nP.trim()}else if(tt(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(s=>{var l;return(l=s.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(tt(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r==null?void 0:r.replace(/\nP/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}\u2026`),r?`(label=${r})`:""}function X0(e,t){return(e&t)>0}function xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Q0=class{init(e,t){this.position=t;let r=this.getTarget(e),[,nP]=xi(null,r),o=this.getEventInit();return Si(e,r),e.dispatchUIEvent(r,"pointerover",o),nP.forEach(i=>e.dispatchUIEvent(i,"pointerenter",o)),this}move(e,t){let r=this.position,nP=this.getTarget(e);if(this.position=t,!iS(r,t))return;let o=this.getTarget(e),i=this.getEventInit(),[s,l]=xi(nP,o);return{leave:()=>{fl(e,nP)&&nP!==o&&(e.dispatchUIEvent(nP,"pointerout",i),s.forEach(u=>e.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{Si(e,o),nP!==o&&(e.dispatchUIEvent(o,"pointerover",i),l.forEach(u=>e.dispatchUIEvent(u,"pointerenter",i)))},move:()=>{e.dispatchUIEvent(o,"pointermove",i)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Si(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);Si(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=xi(t,null),nP=this.getEventInit();fl(e,t)&&(e.dispatchUIEvent(t,"pointerout",nP),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",nP))),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}){xn(this,"pointerId",void 0),xn(this,"pointerType",void 0),xn(this,"isPrimary",void 0),xn(this,"isMultitouch",!1),xn(this,"isCancelled",!1),xn(this,"isDown",!1),xn(this,"isPrevented",!1),xn(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var G9=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let nP=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(nP,t).init(e,r):this.pointers.get(nP);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 nP=this.pointers.get(t),o=nP.move(e,r),i=nP.pointerType==="touch"||nP.isPrevented&&nP.isDown?void 0:this.mouse.move(e,r);o==null||o.leave(),i==null||i.leave(),o==null||o.enter(),i==null||i.enter(),o==null||o.move(),i==null||i.move()}async release(e,t,r){let nP=this.devices.get(t.pointerType);nP.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),nP.countPressed===0&&o.up(e,t),o.pointerType==="touch"&&o.release(e),!o.isPrevented){if(o.pointerType==="touch"&&!o.isMultitouch){let i=this.mouse.move(e,o.position);i==null||i.leave(),i==null||i.enter(),i==null||i.move(),this.mouse.down(e,t,o)}if(!o.isMultitouch){let i=this.mouse.move(e,o.position);i==null||i.leave(),i==null||i.enter(),i==null||i.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){Pn(this,"system",void 0),Pn(this,"mouse",void 0),Pn(this,"buttons",void 0),Pn(this,"devices",new class{get(t){var r,nP,o;return(o=(r=this.registry)[nP=t])!==null&&o!==void 0||(r[nP]=new k9),this.registry[t]}constructor(){Pn(this,"registry",{})}}),Pn(this,"pointers",new class{new(t,r){let nP=r.pointerType!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return nP||Object.values(this.registry).forEach(o=>{o.pointerType===r.pointerType&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new Q0({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:nP}),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(){Pn(this,"registry",{mouse:new Q0({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Pn(this,"nextId",2)}}),this.system=e,this.buttons=new oS,this.mouse=new U9}};function Z0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var lS=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(){Z0(this,"keyboard",new I9(this)),Z0(this,"pointer",new G9(this))}};async function W9(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Y9(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function K9(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function J9(e){return this.pointer({target:e})}async function X9(e){return Si(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Q9({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function Z9(e,t){let r=[];do{let{type:o,descriptor:i,consumedLength:s,releasePrevious:l,releaseSelf:u=!0,repeat:d}=Hw(t,"keyboard");var nP;let c=(nP=e.find(p=>{if(o==="["){var h;return((h=p.code)===null||h===void 0?void 0:h.toLowerCase())===i.toLowerCase()}else if(o==="{"){var m;return((m=p.key)===null||m===void 0?void 0:m.toLowerCase())===i.toLowerCase()}return p.key===i}))!==null&&nP!==void 0?nP:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:l,releaseSelf:u,repeat:d}),t=t.slice(s)}while(t);return r}async function e6(e){let t=Z9(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Ha(this.config),await t6(this,t[r])}async function t6(e,{keyDef:t,releasePrevious:r,releaseSelf:nP,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let s=1;s<=o;s++)await i.keyboard.keydown(e,t),s<o&&await Ha(e.config);nP&&await i.keyboard.keyup(e,t)}}async function r6(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function uS(e){let t=Wr(e)?{"text/plain":n6(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=xf(Gr(e));for(let nP in t)t[nP]&&r.setData(nP,t[nP]);return r}function n6(e){let t=Hi(e);return Yr(e).substring(t.startOffset,t.endOffset)}async function o6(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,nP=uS(r);if(nP.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:nP})&&this.config.writeToClipboard&&await Lw(e,nP),nP}async function a6(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,nP=uS(r);if(nP.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:nP})&&this.config.writeToClipboard&&await Lw(r.ownerDocument,nP),nP}async function i6(e){let t=this.config.document;var r;let nP=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let i=(o=typeof e=="string"?s6(t,e):e)!==null&&o!==void 0?o:await P4(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(nP,"paste",{clipboardData:i})}function s6(e,t){let r=xf(Gr(e));return r.setData("text",t),r}function ev(e,t){let r=[];do{let{descriptor:nP,consumedLength:o,releasePrevious:i,releaseSelf:s=!0}=Hw(t,"pointer"),l=e.find(u=>u.name===nP);l&&r.push({keyDef:l,releasePrevious:i,releaseSelf:s}),t=t.slice(o)}while(t);return r}async function l6(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(nP=>{typeof nP=="string"?r.push(...ev(t,nP)):"keys"in nP?r.push(...ev(t,nP.keys).map(o=>({...nP,...o}))):r.push(nP)});for(let nP=0;nP<r.length;nP++)await Ha(this.config),await u6(this,r[nP]);this.system.pointer.resetClickCount()}async function u6(e,t){var r,nP;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",i=e.system.pointer.getPreviousPosition(o);var s,l,u,d;let c={target:(s=t.target)!==null&&s!==void 0?s:c6(e,i),coords:(l=t.coords)!==null&&l!==void 0?l:i==null?void 0:i.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:tv(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(d=t.offset)!==null&&d!==void 0?d:tv(t)||i==null||(nP=i.caret)===null||nP===void 0?void 0:nP.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(_i(e,tr.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(_i(e,tr.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(_i(e,tr.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(_i(e,tr.Trigger),await e.system.pointer.move(e,o,c))}function tv(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 c6(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 d6(e){if(!Fa(e)||un(e))throw new Error("clear()` is only supported on editable elements.");if(jn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Qw(e),!c9(e))throw new Error("The element content to be cleared could not be selected.");Ua(this,e,"","deleteContentBackward")}async function p6(e,t){return cS.call(this,!0,e,t)}async function f6(e,t){return cS.call(this,!1,e,t)}async function cS(e,t,r){if(!e&&!t.multiple)throw at().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let nP=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=nP.map(l=>{if(typeof l!="string"&&o.includes(l))return l;{let u=o.find(d=>d.value===l||d.innerHTML===l);if(u)return u;throw at().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!un(l));if(un(t)||!i.length)return;let s=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(tt(t,"select"))if(t.multiple)for(let l of i){let u=this.config.pointerEventsCheck===0?!0:fl(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),jn(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),s(l),u&&this.dispatchUIEvent(l,"click"),await Ha(this.config)}else if(i.length===1){let l=this.config.pointerEventsCheck===0?!0:fl(this,t);l?await this.click(t):jn(t),s(i[0]),l&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Ha(this.config)}else throw at().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of i)await this.click(l),await this.unhover(l);else throw at().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function h6(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:nP=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&wi(e,o,i!=null?i:o),await this.keyboard(t),nP||await r6(this))}var rv=Symbol("files and value properties are mocked");function fd(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function m6(e,t){var r;(r=e[rv])===null||r===void 0||r.restore();let nP=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function s(){fd(e,"type",nP),fd(e,"value",o),fd(e,"files",i)}e[rv]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")s();else{var u;o==null||(u=o.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(s(),e.type=l)}}})}async function g6(e,t){let r=tt(e,"label")?e.control:e;if(!r||!tt(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(un(e))return;let nP=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||b6(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;nP.length===((i=r.files)===null||i===void 0?void 0:i.length)&&nP.every((s,l)=>{var u;return s===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(m6(r,Tf(Gr(e),nP)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function b6(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(nP=>nP.startsWith(".")?e.name.endsWith(nP):r.includes(nP)?e.type.startsWith(nP.substr(0,nP.length-1)):e.type===nP)}var nv={click:W9,dblClick:Y9,tripleClick:K9,hover:J9,unhover:X9,tab:Q9,keyboard:e6,copy:o6,cut:a6,paste:i6,pointer:l6,clear:d6,deselectOptions:f6,selectOptions:p6,type:h6,upload:g6};function y6(e){return at().asyncWrapper(e)}var dS={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:D9,pointerMap:q9,pointerEventsCheck:Pa.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},v6={...dS,writeToClipboard:!0};function pS(e={},t=v6,r){let nP=S6(e,r,t);return{...t,...e,document:nP}}function E6(e={}){let t=pS(e);nS(t.document);var r;let nP=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return R4(nP),If(t).api}function Xt({keyboardState:e,pointerState:t,...r}={},nP){let o=pS(r,dS,nP);nS(o.document);var i;let s=(i=t!=null?t:e)!==null&&i!==void 0?i:new lS;return{api:If(o,s).api,system:s}}function _6(e){return If({...this.config,...e},this.system).api}function w6(e,t){function r(...nP){return _i(e,tr.Call),y6(()=>t.apply(e,nP).then(async o=>(await Ha(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function If(e,t=new lS){let r={};return Object.assign(r,{config:e,dispatchEvent:rS.bind(r),dispatchUIEvent:S9.bind(r),system:t,levelRefs:{},...nv}),{instance:r,api:{...Object.fromEntries(Object.entries(nv).map(([nP,o])=>[nP,w6(r,o)])),setup:_6.bind(r)}}}function S6(e,t,r){var nP,o;return(o=(nP=e.document)!==null&&nP!==void 0?nP:t&&P9(t))!==null&&o!==void 0?o:r.document}var fS={};gl(fS,{clear:()=>C6,click:()=>A6,copy:()=>R6,cut:()=>T6,dblClick:()=>x6,deselectOptions:()=>P6,hover:()=>O6,keyboard:()=>N6,paste:()=>I6,pointer:()=>M6,selectOptions:()=>D6,tab:()=>F6,tripleClick:()=>q6,type:()=>j6,unhover:()=>B6,upload:()=>k6});function C6(e){return Xt().api.clear(e)}function A6(e,t={}){return Xt(t,e).api.click(e)}function R6(e={}){return Xt(e).api.copy()}function T6(e={}){return Xt(e).api.cut()}function x6(e,t={}){return Xt(t).api.dblClick(e)}function P6(e,t,r={}){return Xt(r).api.deselectOptions(e,t)}function O6(e,t={}){return Xt(t).api.hover(e)}async function N6(e,t={}){let{api:r,system:nP}=Xt(t);return r.keyboard(e).then(()=>nP)}async function M6(e,t={}){let{api:r,system:nP}=Xt(t);return r.pointer(e).then(()=>nP)}function I6(e,t){return Xt(t).api.paste(e)}function D6(e,t,r={}){return Xt(r).api.selectOptions(e,t)}function q6(e,t={}){return Xt(t).api.tripleClick(e)}function j6(e,t,r={}){return Xt(r,e).api.type(e,t,r)}function B6(e,t={}){let{api:r,system:nP}=Xt(t);return nP.pointer.setMousePosition({target:e}),r.unhover(e)}function k6(e,t,r={}){return Xt(r).api.upload(e,t)}function F6(e={}){return Xt().api.tab(e)}var L6={...fS,setup:E6},$6=Ru(),hS=Wc();function U6(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var nP=Array.from(typeof e=="string"?[e]:e);nP[nP.length-1]=nP[nP.length-1].replace(/\r?\nP([\t ]*)$/,"");var o=nP.reduce(function(l,u){var d=u.match(/\nP([\t ]+|(?!\s).)/g);return d?l.concat(d.map(function(c){var p,h;return(h=(p=c.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):l},[]);if(o.length){var i=new RegExp(`
|
|
432
432
|
[ ]{`+Math.min.apply(Math,o)+"}","g");nP=nP.map(function(l){return l.replace(i,`
|
|
433
433
|
`)})}nP[0]=nP[0].replace(/^\r?\nP/,"");var s=nP[0];return t.forEach(function(l,u){var d=s.match(/(?:^|\nP)( *)$/),c=d?d[1]:"",p=l;typeof l=="string"&&l.includes(`
|
|
434
434
|
`)&&(p=String(l).split(`
|
|
435
435
|
`).map(function(h,m){return m===0?h:""+c+h}).join(`
|
|
436
|
-
`)),s+=p+nP[u+1]}),s}var H6=U6,
|
|
436
|
+
`)),s+=p+nP[u+1]}),s}var H6=U6,cp=(0,hS.instrument)({...u_},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});cp.screen=new Proxy(cp.screen,{get(e,t,r){return $6.once.warn(H6`
|
|
437
437
|
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
438
438
|
More info: https://storybook.js.org/docs/essentials/interactions
|
|
439
|
-
`),Reflect.get(e,t,r)}});var{buildQueries:z6,configure:V6,createEvent:G6,fireEvent:W6,findAllByAltText:Y6,findAllByDisplayValue:K6,findAllByLabelText:J6,findAllByPlaceholderText:X6,findAllByRole:Q6,findAllByTestId:Z6,findAllByText:eU,findAllByTitle:tU,findByAltText:rU,findByDisplayValue:nU,findByLabelText:oU,findByPlaceholderText:aU,findByRole:iU,findByTestId:sU,findByText:lU,findByTitle:uU,getAllByAltText:cU,getAllByDisplayValue:dU,getAllByLabelText:pU,getAllByPlaceholderText:fU,getAllByRole:hU,getAllByTestId:mU,getAllByText:gU,getAllByTitle:bU,getByAltText:yU,getByDisplayValue:vU,getByLabelText:EU,getByPlaceholderText:_U,getByRole:wU,getByTestId:SU,getByText:CU,getByTitle:AU,getConfig:RU,getDefaultNormalizer:TU,getElementError:xU,getNodeText:PU,getQueriesForElement:OU,getRoles:NU,getSuggestedQuery:MU,isInaccessible:IU,logDOM:DU,logRoles:qU,prettyDOM:jU,queries:BU,queryAllByAltText:kU,queryAllByAttribute:FU,queryAllByDisplayValue:LU,queryAllByLabelText:$U,queryAllByPlaceholderText:UU,queryAllByRole:HU,queryAllByTestId:zU,queryAllByText:VU,queryAllByTitle:GU,queryByAltText:WU,queryByAttribute:YU,queryByDisplayValue:KU,queryByLabelText:JU,queryByPlaceholderText:XU,queryByRole:QU,queryByTestId:ZU,queryByText:eH,queryByTitle:tH,queryHelpers:rH,screen:nH,waitFor:oH,waitForElementToBeRemoved:aH,within:mS,prettyFormat:iH}=dp,{userEvent:sH}=(0,hS.instrument)({userEvent:L6},{intercept:!0}),{expect:lH}=(0,_j.instrument)({expect:r_},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let nP=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?nP:[...nP,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),uH=({parameters:e})=>{var t,r,nP;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?s_():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?i_():((nP=e==null?void 0:e.test)==null?void 0:nP.restoreMocks)!==!1&&l_()},ml=(e,t=0,r)=>{var nP;if(t>5||e==null)return e;if(ff(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=o_(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>ml(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(nP=Object.getOwnPropertyDescriptor(e,o))!=null&&nP.writable&&(e[o]=ml(i,t,o));return e}return e},cH=({initialArgs:e})=>{ml(e)},dH=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=mS(e.canvasElement))};Sv.global.__STORYBOOK_TEST_LOADERS__=[uH,cH,dH];Sv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=n_});var _H={};QS(_H,{Default:()=>EH,default:()=>yH});module.exports=ZS(_H);var Ln=require("lucide-react");var mo=$t(require("react")),rs=require("@radix-ui/react-icons"),Vf=require("@radix-ui/react-slot");var zf=require("clsx");var Xl="-",e2=e=>{let t=r2(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:nP}=e;return{getClassGroupId:s=>{let l=s.split(Xl);return l[0]===""&&l.length!==1&&l.shift(),kf(l,t)||t2(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&nP[s]?[...u,...nP[s]]:u}}},kf=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],nP=t.nextPart.get(r),o=nP?kf(e.slice(1),nP):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Xl);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},jf=/^\[(.+)\]$/,t2=e=>{if(jf.test(e)){let t=jf.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},r2=e=>{let{theme:t,prefix:r}=e,nP={nextPart:new Map,validators:[]};return o2(Object.entries(e.classGroups),r).forEach(([i,s])=>{Jl(s,nP,i,t)}),nP},Jl=(e,t,r,nP)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:Bf(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(n2(o)){Jl(o(nP),t,r,nP);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Jl(s,Bf(t,i),r,nP)})})},Bf=(e,t)=>{let r=e;return t.split(Xl).forEach(nP=>{r.nextPart.has(nP)||r.nextPart.set(nP,{nextPart:new Map,validators:[]}),r=r.nextPart.get(nP)}),r},n2=e=>e.isThemeGetter,o2=(e,t)=>t?e.map(([r,nP])=>{let o=nP.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,a2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,nP=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,nP=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=nP.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},Ff="!",i2=e=>{let{separator:t,experimentalParseClassName:r}=e,nP=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let y=0;y<l.length;y++){let E=l[y];if(d===0){if(E===o&&(nP||l.slice(y,y+i)===t)){u.push(l.slice(c,y)),c=y+i;continue}if(E==="/"){p=y;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(Ff),g=m?h.substring(1):h,b=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:b}};return r?l=>r({className:l,parseClassName:s}):s},s2=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(nP=>{nP[0]==="["?(t.push(...r.sort(),nP),r=[]):r.push(nP)}),t.push(...r.sort()),t},l2=e=>({cache:a2(e.cacheSize),parseClassName:i2(e),...e2(e)}),u2=/\s+/,c2=(e,t)=>{let{parseClassName:r,getClassGroupId:nP,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(u2),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}=r(d),g=!!m,b=nP(g?h.substring(0,m):h);if(!b){if(!g){l=d+(l.length>0?" "+l:l);continue}if(b=nP(h),!b){l=d+(l.length>0?" "+l:l);continue}g=!1}let y=s2(c).join(":"),E=p?y+Ff:y,_=E+b;if(i.includes(_))continue;i.push(_);let P=o(b,g);for(let C=0;C<P.length;++C){let w=P[C];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function d2(){let e=0,t,r,nP="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Lf(t))&&(nP&&(nP+=" "),nP+=r);return nP}var Lf=e=>{if(typeof e=="string")return e;let t,r="";for(let nP=0;nP<e.length;nP++)e[nP]&&(t=Lf(e[nP]))&&(r&&(r+=" "),r+=t);return r};function p2(e,...t){let r,nP,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=l2(d),nP=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=nP(u);if(d)return d;let c=c2(u,r);return o(u,c),c}return function(){return i(d2.apply(null,arguments))}}var yt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},$f=/^\[(?:([a-z-]+):)?(.+)\]$/i,f2=/^\d+\/\d+$/,h2=new Set(["px","full","screen"]),m2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,b2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,y2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,v2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xr=e=>fo(e)||h2.has(e)||f2.test(e),hn=e=>ho(e,"length",T2),fo=e=>!!e&&!Number.isNaN(Number(e)),Kl=e=>ho(e,"number",fo),Ja=e=>!!e&&Number.isInteger(Number(e)),E2=e=>e.endsWith("%")&&fo(e.slice(0,-1)),ze=e=>$f.test(e),mn=e=>m2.test(e),_2=new Set(["length","size","percentage"]),w2=e=>ho(e,_2,Uf),S2=e=>ho(e,"position",Uf),C2=new Set(["image","url"]),A2=e=>ho(e,C2,P2),R2=e=>ho(e,"",x2),Xa=()=>!0,ho=(e,t,r)=>{let nP=$f.exec(e);return nP?nP[1]?typeof t=="string"?nP[1]===t:t.has(nP[1]):r(nP[2]):!1},T2=e=>g2.test(e)&&!b2.test(e),Uf=()=>!1,x2=e=>y2.test(e),P2=e=>v2.test(e);var O2=()=>{let e=yt("colors"),t=yt("spacing"),r=yt("blur"),nP=yt("brightness"),o=yt("borderColor"),i=yt("borderRadius"),s=yt("borderSpacing"),l=yt("borderWidth"),u=yt("contrast"),d=yt("grayscale"),c=yt("hueRotate"),p=yt("invert"),h=yt("gap"),m=yt("gradientColorStops"),g=yt("gradientColorStopPositions"),b=yt("inset"),y=yt("margin"),E=yt("opacity"),_=yt("padding"),P=yt("saturate"),C=yt("scale"),w=yt("sepia"),S=yt("skew"),T=yt("space"),A=yt("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",ze,t],V=()=>[ze,t],J=()=>["",Xr,hn],x=()=>["auto",fo,ze],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Re=()=>["","0",ze],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Oe=()=>[fo,ze];return{cacheSize:500,separator:":",theme:{colors:[Xa],spacing:[Xr,hn],blur:["none","",mn,ze],brightness:Oe(),borderColor:[e],borderRadius:["none","","full",mn,ze],borderSpacing:V(),borderWidth:J(),contrast:Oe(),grayscale:Re(),hueRotate:Oe(),invert:Re(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[E2,hn],inset:X(),margin:X(),opacity:Oe(),padding:V(),saturate:Oe(),scale:Oe(),sepia:Re(),skew:Oe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",ze]}],container:["container"],columns:[{columns:[mn]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),ze]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ja,ze]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ze]}],grow:[{grow:Re()}],shrink:[{shrink:Re()}],order:[{order:["first","last","none",Ja,ze]}],"grid-cols":[{"grid-cols":[Xa]}],"col-start-end":[{col:["auto",{span:["full",Ja,ze]},ze]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[Xa]}],"row-start-end":[{row:["auto",{span:[Ja,ze]},ze]}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ze]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ze]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],fr:[{fr:[y]}],Ln:[{Ln:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ze,t]}],"min-w":[{"min-w":[ze,t,"min","max","fit"]}],"max-w":[{"max-w":[ze,t,"none","full","min","max","fit","prose",{screen:[mn]},mn]}],h:[{h:[ze,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ze,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ze,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ze,t,"auto","min","max","fit"]}],"font-size":[{text:["base",mn,hn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Kl]}],"font-family":[{font:[Xa]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ze]}],"line-clamp":[{"line-clamp":["none",fo,Kl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xr,ze]}],"list-image":[{"list-image":["none",ze]}],"list-style-type":[{list:["none","disc","decimal",ze]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xr,hn]}],"underline-offset":[{"underline-offset":["auto",Xr,ze]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ze]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ze]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),S2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",w2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},A2]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Xr,ze]}],"outline-w":[{outline:[Xr,hn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[Xr,hn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",mn,R2]}],"shadow-color":[{shadow:[Xa]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[nP]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",mn,ze]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[P]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[nP]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ze]}],duration:[{duration:Oe()}],ease:[{ease:["linear","in","out","in-out",ze]}],delay:[{delay:Oe()}],animate:[{animate:["none","spin","ping","pulse","bounce",ze]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Ja,ze]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ze]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","nP-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ze]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-fr":[{"scroll-fr":V()}],"scroll-Ln":[{"scroll-Ln":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ze]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Xr,hn,Kl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","fr","Ln","mb","ml"],mx:["Ln","ml"],my:["fr","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-fr","scroll-Ln","scroll-mb","scroll-ml"],"scroll-mx":["scroll-Ln","scroll-ml"],"scroll-my":["scroll-fr","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Hf=p2(O2);function De(...e){return Hf((0,zf.clsx)(e))}var fr=require("react/jsx-runtime"),Ql=mo.forwardRef(({...e},t)=>(0,fr.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Ql.displayName="Breadcrumb";var Zl=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ol",{ref:r,className:De("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Zl.displayName="BreadcrumbList";var ns=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("li",{ref:r,className:De("inline-flex items-center gap-1.5",e),...t}));ns.displayName="BreadcrumbItem";var eu=mo.forwardRef(({asChild:e,className:t,...r},nP)=>(0,fr.jsx)(e?Vf.Slot:"a",{ref:nP,className:De("transition-colors hover:text-foreground",t),...r}));eu.displayName="BreadcrumbLink";var tu=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:De("font-normal text-foreground",e),...t}));tu.displayName="BreadcrumbPage";var ru=({children:e,className:t,...r})=>(0,fr.jsx)("li",{role:"presentation","aria-hidden":"true",className:De("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...r,children:e!=null?e:(0,fr.jsx)(rs.ChevronRightIcon,{})});ru.displayName="BreadcrumbSeparator";var N2=({className:e,...t})=>(0,fr.jsxs)("span",{role:"presentation","aria-hidden":"true",className:De("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,fr.jsx)(rs.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,fr.jsx)("span",{className:"sr-only",children:"More"})]});N2.displayName="BreadcrumbElipssis";var Gf=$t(require("react")),nu=$t(require("@radix-ui/react-separator"));var Qa=Gf.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...nP},o)=>(0,fr.jsx)(nu.Root,{ref:o,decorative:r,orientation:t,className:De("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...nP}));Qa.displayName=nu.Root.displayName;var et=$t(require("react")),ch=require("class-variance-authority");var os=require("react"),Yf=(e=768)=>{let[t,r]=(0,os.useState)(!1);return(0,os.useEffect)(()=>{let nP=()=>{r(window.innerWidth<e)};return nP(),window.addEventListener("resize",nP),()=>window.removeEventListener("resize",nP)},[e]),t};var Xf=$t(require("react")),M2=(0,ch.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),ou=Xf.forwardRef(({asChild:e=!1,className:t,size:r,variant:nP,...o},i)=>(0,fr.jsx)(e?Vf.Slot:"button",{className:De(M2({className:t,size:r,variant:nP})),ref:i,...o}));ou.displayName="Button";var Zf=$t(require("react"));var au=Zf.forwardRef(({className:e,type:t,...r},nP)=>(0,fr.jsx)("input",{type:t,className:De("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:nP,...r}));au.displayName="Input";var Za=$t(require("react")),It=$t(require("@radix-ui/react-dialog"));var nh=It.Root;var I2=It.Portal,oh=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Overlay,{className:De("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));oh.displayName=It.Overlay.displayName;var D2=(0,ch.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),iu=Za.forwardRef(({side:e="right",className:t,children:r,...nP},o)=>(0,fr.jsxs)(I2,{children:[(0,fr.jsx)(oh,{}),(0,fr.jsxs)(It.Content,{ref:o,className:De(D2({side:e}),t),...nP,children:[(0,fr.jsxs)(It.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,fr.jsx)(rs.Cross2Icon,{className:"h-4 w-4"}),(0,fr.jsx)("span",{className:"sr-only",children:"Close"})]}),r]})]}));iu.displayName=It.Content.displayName;var q2=({className:e,...t})=>(0,fr.jsx)("div",{className:De("flex flex-col space-y-2 text-center sm:text-left",e),...t});q2.displayName="SheetHeader";var j2=({className:e,...t})=>(0,fr.jsx)("div",{className:De("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});j2.displayName="SheetFooter";var B2=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Title,{ref:r,className:De("text-lg font-semibold text-foreground",e),...t}));B2.displayName=It.Title.displayName;var k2=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Description,{ref:r,className:De("text-sm text-muted-foreground",e),...t}));k2.displayName=It.Description.displayName;function Dt({className:e,...t}){return(0,fr.jsx)("div",{className:De("animate-pulse rounded-md bg-primary/10",e),...t})}var ih=$t(require("react")),wr=$t(require("@radix-ui/react-tooltip"));var sh=wr.Provider,lh=wr.Root,uh=wr.Trigger,lu=ih.forwardRef(({className:e,sideOffset:t=4,...r},nP)=>(0,fr.jsx)(wr.Portal,{children:(0,fr.jsx)(wr.Content,{ref:nP,sideOffset:t,className:De("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));lu.displayName=wr.Content.displayName;var F2="sidebar:state",L2=60*60*24*7,$2="16rem",U2="18rem",H2="3rem",z2="b",ph=et.createContext(null);function as(){let e=et.useContext(ph);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var uu=et.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:r,className:nP,style:o,children:i,...s},l)=>{let u=Yf(),[d,c]=et.useState(!1),[p,h]=et.useState(e),m=t!=null?t:p,g=et.useCallback(_=>{if(r)return r==null?void 0:r(typeof _=="function"?_(m):_);h(_),document.cookie=`${F2}=${m}; path=/; max-age=${L2}`},[r,m]),b=et.useCallback(()=>u?c(_=>!_):g(_=>!_),[u,g,c]);et.useEffect(()=>{let _=P=>{P.key===z2&&(P.metaKey||P.ctrlKey)&&(P.preventDefault(),b())};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[b]);let y=m?"expanded":"collapsed",E=et.useMemo(()=>({state:y,open:m,setOpen:g,isMobile:u,openMobile:d,setOpenMobile:c,toggleSidebar:b}),[y,m,g,u,d,c,b]);return(0,fr.jsx)(ph.Provider,{value:E,children:(0,fr.jsx)(sh,{delayDuration:0,children:(0,fr.jsx)("div",{style:{"--sidebar-width":$2,"--sidebar-width-icon":H2,...o},className:De("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",nP),ref:l,...s,children:i})})})});uu.displayName="SidebarProvider";var ei=et.forwardRef(({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:nP,children:o,...i},s)=>{let{isMobile:l,state:u,openMobile:d,setOpenMobile:c}=as();return r==="none"?(0,fr.jsx)("div",{className:De("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",nP),ref:s,...i,children:o}):l?(0,fr.jsx)(nh,{open:d,onOpenChange:c,...i,children:(0,fr.jsx)(iu,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":U2},side:e,children:(0,fr.jsx)("div",{className:"flex h-full w-full flex-col",children:o})})}):(0,fr.jsxs)("div",{ref:s,className:"group peer hidden md:block text-sidebar-foreground","data-state":u,"data-collapsible":u==="collapsed"?r:"","data-variant":t,"data-side":e,children:[(0,fr.jsx)("div",{className:De("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,fr.jsx)("div",{className:De("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",nP),...i,children:(0,fr.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:o})})]})});ei.displayName="Sidebar";var cu=et.forwardRef(({className:e,onClick:t,...r},nP)=>{let{toggleSidebar:o}=as();return(0,fr.jsxs)(ou,{ref:nP,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:De("h-7 w-7",e),onClick:i=>{t==null||t(i),o()},...r,children:[(0,fr.jsx)(Ln.PanelLeft,{}),(0,fr.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});cu.displayName="SidebarTrigger";var V2=et.forwardRef(({className:e,...t},r)=>{let{toggleSidebar:nP}=as();return(0,fr.jsx)("button",{ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:nP,title:"Toggle Sidebar",className:De("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});V2.displayName="SidebarRail";var du=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("main",{ref:r,className:De("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));du.displayName="SidebarInset";var G2=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(au,{ref:r,"data-sidebar":"input",className:De("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));G2.displayName="SidebarInput";var ti=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"header",className:De("flex flex-col gap-2 p-2",e),...t}));ti.displayName="SidebarHeader";var ri=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"footer",className:De("flex flex-col gap-2 p-2",e),...t}));ri.displayName="SidebarFooter";var pu=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Qa,{ref:r,"data-sidebar":"separator",className:De("mx-2 w-auto bg-sidebar-border",e),...t}));pu.displayName="SidebarSeparator";var bo=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"content",className:De("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));bo.displayName="SidebarContent";var Dr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"group",className:De("relative flex w-full min-w-0 flex-col p-2",e),...t}));Dr.displayName="SidebarGroup";var $nP=et.forwardRef(({className:e,asChild:t=!1,...r},nP)=>(0,fr.jsx)(t?Vf.Slot:"div",{ref:nP,"data-sidebar":"group-label",className:De("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-fr-8 group-data-[collapsible=icon]:opacity-0",e),...r}));$nP.displayName="SidebarGroupLabel";var W2=et.forwardRef(({className:e,asChild:t=!1,...r},nP)=>(0,fr.jsx)(t?Vf.Slot:"button",{ref:nP,"data-sidebar":"group-action",className:De("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...r}));W2.displayName="SidebarGroupAction";var Qr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"group-content",className:De("w-full text-sm",e),...t}));Qr.displayName="SidebarGroupContent";var hr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ul",{ref:r,"data-sidebar":"menu",className:De("flex w-full min-w-0 flex-col gap-1",e),...t}));hr.displayName="SidebarMenu";var rr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("li",{ref:r,"data-sidebar":"menu-item",className:De("group/menu-item relative",e),...t}));rr.displayName="SidebarMenuItem";var Y2=(0,ch.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),qr=et.forwardRef(({asChild:e=!1,isActive:t=!1,variant:r="default",size:nP="default",tooltip:o,className:i,...s},l)=>{let u=e?Vf.Slot:"button",{isMobile:d,state:c}=as(),p=(0,fr.jsx)(u,{ref:l,"data-sidebar":"menu-button","data-size":nP,"data-active":t,className:De(Y2({variant:r,size:nP}),i),...s});return o?(typeof o=="string"&&(o={children:o}),(0,fr.jsxs)(lh,{children:[(0,fr.jsx)(uh,{asChild:!0,children:p}),(0,fr.jsx)(lu,{side:"right",align:"center",hidden:c!=="collapsed"||d,...o})]})):p});qr.displayName="SidebarMenuButton";var fu=et.forwardRef(({className:e,asChild:t=!1,showOnHover:r=!1,...nP},o)=>(0,fr.jsx)(t?Vf.Slot:"button",{ref:o,"data-sidebar":"menu-action",className:De("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...nP}));fu.displayName="SidebarMenuAction";var K2=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"menu-badge",className:De("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));K2.displayName="SidebarMenuBadge";var J2=et.forwardRef(({className:e,showIcon:t=!1,...r},nP)=>{let o=et.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,fr.jsxs)("div",{ref:nP,"data-sidebar":"menu-skeleton",className:De("rounded-md h-8 flex gap-2 px-2 items-center",e),...r,children:[t&&(0,fr.jsx)(Dt,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,fr.jsx)(Dt,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})});J2.displayName="SidebarMenuSkeleton";var yo=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ul",{ref:r,"data-sidebar":"menu-sub",className:De("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));yo.displayName="SidebarMenuSub";var vo=et.forwardRef(({...e},t)=>(0,fr.jsx)("li",{ref:t,...e}));vo.displayName="SidebarMenuSubItem";var Eo=et.forwardRef(({asChild:e=!1,size:t="md",isActive:r,className:nP,...o},i)=>(0,fr.jsx)(e?Vf.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:De("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",nP),...o}));Eo.displayName="SidebarMenuSubButton";var _o=$t(require("@radix-ui/react-collapsible")),Un=_o.Root,wo=_o.CollapsibleTrigger,So=_o.CollapsibleContent;var hh=$t(require("clsx"));var X2=({type:e="solid",iconName:t="cloud",size:r="lg",className:nP})=>{let o="fa-"+e+" ",i="fa-"+t,s=nP!=null?nP:"",l=o+i+" fa-"+r+" "+s;return(0,fr.jsx)("i",{className:l})},Sr=X2;var Q2=()=>(0,fr.jsx)(Sr,{iconName:"github",size:"10x"});function hu({relatedContent:e,tableOfContents:t,editorComponent:r,loading:nP=!1,editMode:o=!1,onAddDocument:i,onEditDocument:s,onPrintDocument:l,onGithubClick:u,onNavClick:d,LinkComponent:c,...p}){let g=c?b=>(0,fr.jsx)(c,{...b}):d?({item:b,children:y,...E})=>(0,fr.jsx)("button",{onClick:()=>d&&d(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...E,children:y}):b=>(0,fr.jsx)("a",{href:b.href,...b});return(0,fr.jsxs)(ei,{side:"right",variant:"inset",...p,children:[(0,fr.jsxs)(ti,{className:"border-b border-sidebar-border",children:[(0,fr.jsxs)(hr,{className:"flex-row space-x-1",children:[(0,fr.jsx)(rr,{children:(0,fr.jsxs)(qr,{onClick:i,children:[(0,fr.jsx)(Ln.FilePlus,{})," ",(0,fr.jsx)("span",{children:"Add Document"})]})}),u&&(0,fr.jsx)(rr,{children:(0,fr.jsx)(qr,{onClick:u,tooltip:"Open in GitHub",children:(0,fr.jsx)(Q2,{})})})]}),(0,fr.jsxs)(hr,{className:"flex-row space-x-1",children:[(0,fr.jsx)(rr,{className:"w-5/12",children:(0,fr.jsxs)(qr,{onClick:()=>s(),variant:o?"outline":"default",className:(0,hh.default)(o&&"text-accent"),children:[(0,fr.jsx)(Ln.Edit,{})," ",(0,fr.jsx)("span",{children:"Edit"})]})}),(0,fr.jsx)(rr,{className:"w-5/12",children:(0,fr.jsxs)(qr,{onClick:l,children:[(0,fr.jsx)(Ln.Printer,{})," ",(0,fr.jsx)("span",{children:"Print"})]})})]})]}),r&&(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Dr,{children:[(0,fr.jsx)($nP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Editor Controls",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:r})})]})}),(0,fr.jsx)(pu,{className:"mx-0"})]}),(0,fr.jsxs)(bo,{className:"overflow-auto",children:[nP&&(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsxs)(Dr,{children:[(0,fr.jsx)($nP,{children:"Related Content"}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:Array.from({length:3}).map((b,y)=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dt,{className:"bg-gray-200 w-full h-10"})},y))})})]}),(0,fr.jsxs)(Dr,{children:[(0,fr.jsx)($nP,{children:"Table of Contents"}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:Array.from({length:3}).map((b,y)=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dt,{className:"bg-gray-200 w-full h-10"})},y))})})]})]}),e&&!nP&&Object.keys(e).length>0&&(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Dr,{children:[(0,fr.jsx)($nP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Related Content",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:(0,fr.jsx)(hr,{children:e&&Object.keys(e).map(b=>(0,fr.jsxs)(rr,{children:[(0,fr.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",b.charAt(0).toUpperCase()+b.slice(1)]}),b&&e[b]&&(0,fr.jsx)(yo,{children:e[b].map(y=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,isActive:!1,size:"sm",children:(0,fr.jsxs)(g,{href:y.url,item:y,className:"flex justify-between items-center w-full text-xs",children:[(0,fr.jsx)("span",{children:y.label}),y.type==="note"&&(0,fr.jsx)(Ln.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),y.type==="draft"&&(0,fr.jsx)(Sr,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},y.label))})]},b))})})})]})}),t&&!nP&&(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Dr,{children:[(0,fr.jsx)($nP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Table of Contents",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:(0,fr.jsx)(hr,{children:t.map(b=>{var y;return(0,fr.jsxs)(rr,{children:[(0,fr.jsx)(qr,{asChild:!0,children:(0,fr.jsx)("a",{href:`#${b.url}`,className:"text-xs",children:b.title})}),(y=b.items)!=null&&y.length?(0,fr.jsx)(yo,{children:b.items.map(E=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,isActive:E.isActive,size:"sm",children:(0,fr.jsx)("a",{href:`#${E.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,fr.jsx)("span",{children:E.title})})})},E.title))}):null]},b.title)})})})})]})})]}),(0,fr.jsx)(ri,{})]})}var mu=$t(require("clsx"));function gu({mainNav:e,secondaryNav:t,title:r,subTitle:nP,pathName:o,menuHeading:i,onNavClick:s,loading:l=!1,LinkComponent:u,...d}){let p=u?h=>(0,fr.jsx)(u,{...h}):s?({href:h,children:m,...g})=>(0,fr.jsx)("button",{onClick:()=>s&&s(h),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...g,children:m}):h=>(0,fr.jsx)("a",{...h});return(0,fr.jsxs)(ei,{...d,variant:"inset",children:[(0,fr.jsx)(ti,{children:(0,fr.jsx)(hr,{children:(0,fr.jsx)(rr,{children:l?(0,fr.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,fr.jsx)(Dt,{className:"bg-gray-200 my-2 w-full h-7"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,fr.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,fr.jsx)("span",{className:"truncate font-semibold",children:r}),nP&&(0,fr.jsx)("span",{className:"truncate text-sm",children:nP})]})})})}),l&&(0,fr.jsxs)(bo,{children:[(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,fr.jsxs)(bo,{children:[e&&!l&&e.map((h,m)=>(0,fr.jsx)(Z2,{subNav:h,pathName:o,Link:p},m)),(0,fr.jsx)(Dr,{className:"fr-auto",children:(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:t&&!l&&t.map(h=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(qr,{asChild:!0,size:"sm",children:(0,fr.jsxs)(p,{href:h.url||"",children:[h.icon&&(0,fr.jsx)(h.icon,{}),(0,fr.jsx)("span",{children:h.label})]})})},h.label))})})})]}),(0,fr.jsx)(ri,{})]})}function Z2({subNav:e,pathName:t,Link:r}){var i,s;let nP=e,o=!1;return nP.links&&nP.links.map(l=>{l.url===t&&(o=!0)}),(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsx)(Dr,{className:"py-0",children:(0,fr.jsx)(hr,{children:(0,fr.jsx)(Un,{asChild:!0,defaultOpen:nP.isActive,children:(0,fr.jsxs)(rr,{children:[(0,fr.jsx)(qr,{asChild:!0,tooltip:nP.label,className:(0,mu.default)(o&&"font-bold text-accent"),children:(0,fr.jsxs)(r,{href:nP.url,children:[nP.icon&&(0,fr.jsx)(nP.icon,{}),(0,fr.jsx)("span",{children:nP.label})]})}),(i=nP.links)!=null&&i.length?(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(wo,{asChild:!0,children:(0,fr.jsxs)(fu,{className:"data-[state=open]:rotate-90",children:[(0,fr.jsx)(Ln.ChevronRight,{}),(0,fr.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,fr.jsx)(So,{children:(0,fr.jsx)(yo,{children:(s=nP.links)==null?void 0:s.map(l=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,className:(0,mu.default)(l.url===t&&"font-bold text-accent"),children:(0,fr.jsx)(r,{href:l.url,children:(0,fr.jsx)("span",{children:l.label})})})},l.label))})})]}):null]})},nP.label)})})})}var sr=require("@headlessui/react"),ss=require("@heroicons/react/24/outline"),ni=require("@heroicons/react/20/solid");var eC=({name:e,items:t,actions:r=[],href:nP})=>!t&&nP?(0,fr.jsxs)("a",{href:nP,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,fr.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,fr.jsxs)(sr.Popover,{children:[(0,fr.jsxs)(sr.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,fr.jsxs)("span",{className:"relative",children:[e,(0,fr.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,fr.jsx)(ni.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,fr.jsxs)(sr.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover fr-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,fr.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,fr.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,fr.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,fr.jsx)(o.icon,{"aria-hidden":"true",size:"6x"})}),(0,fr.jsxs)("a",{href:o.href,className:"fr-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,fr.jsx)("span",{className:"absolute inset-0"})]}),(0,fr.jsx)("p",{className:"fr-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,fr.jsx)("div",{className:"bg-gray-50",children:(0,fr.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,fr.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,fr.jsxs)("a",{href:o.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,fr.jsx)(o.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),bh=eC;var is=["light","dark","green"];function ls({title:e,logo:t,menuItems:r}){let[nP,o]=(0,os.useState)(!1),[i,s]=(0,os.useState)(!1),[l,u]=(0,os.useState)("light"),d=t==null?void 0:t.split(".")[0],c=t==null?void 0:t.split(".")[1],[p,h]=(0,os.useState)(`${d}.${c}`),m=b=>{is.includes(b)?h(b==="light"?`${d}.${c}`:`${d}-${b}.${c}`):h(`${d}.${c}`)};(0,os.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";console.log("storedTheme",b),u(b),document.documentElement.setAttribute("class",b),m(b)},[]);let g=()=>{let b=is[(is.indexOf(l)+1)%is.length];u(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b),m(b)};return(0,fr.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,fr.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,fr.jsx)("div",{className:"flex lg:flex-1",children:(0,fr.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:e}),(0,fr.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,fr.jsx)("div",{className:"flex lg:hidden",children:(0,fr.jsxs)("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,fr.jsx)(ss.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,fr.jsx)(sr.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(b=>(0,fr.jsx)(bh,{...b},b.name))}),(0,fr.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,fr.jsx)("button",{onClick:g,className:"p-2 text-gray-700 outline-none",children:l==="dark"?(0,fr.jsx)(ni.SunIcon,{className:"h-6 w-6"}):l==="green"?(0,fr.jsx)(ni.MoonIcon,{className:"h-6 w-6"}):(0,fr.jsx)(ni.SunIcon,{className:"h-6 w-6"})})})]}),(0,fr.jsxs)(sr.Dialog,{open:nP,onClose:o,className:"lg:hidden",children:[(0,fr.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,fr.jsxs)(sr.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,fr.jsxs)("div",{className:"flex items-center justify-between",children:[(0,fr.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,fr.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,fr.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,fr.jsx)(ss.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,fr.jsx)("div",{className:"fr-6 flow-root",children:(0,fr.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,fr.jsx)("div",{className:"space-y-2 py-6",children:r.map(b=>(0,fr.jsx)(tC,{...b},b.name))})})})]})]})]})}function tC({name:e,items:t,actions:r,href:nP}){return!t&&nP?(0,fr.jsx)("a",{href:nP,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,fr.jsxs)(sr.Disclosure,{as:"div",className:"-mx-3",children:[(0,fr.jsx)(sr.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,fr.jsx)(sr.DisclosurePanel,{className:"fr-2 space-y-2",children:t&&t.map(o=>(0,fr.jsx)(sr.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}var ds=$t(require("react")),rC=1,nC=1e6;var bu=0;function oC(){return bu=(bu+1)%Number.MAX_SAFE_INTEGER,bu.toString()}var yu=new Map,yh=e=>{if(yu.has(e))return;let t=setTimeout(()=>{yu.delete(e),oi({type:"REMOVE_TOAST",toastId:e})},nC);yu.set(e,t)},aC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,rC)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?yh(r):e.toasts.forEach(nP=>{yh(nP.id)}),{...e,toasts:e.toasts.map(nP=>nP.id===r||r===void 0?{...nP,open:!1}:nP)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},us=[],cs={toasts:[]};function oi(e){cs=aC(cs,e),us.forEach(t=>{t(cs)})}function iC({...e}){let t=oC(),r=o=>oi({type:"UPDATE_TOAST",toast:{...o,id:t}}),nP=()=>oi({type:"DISMISS_TOAST",toastId:t});return oi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||nP()}}}),{id:t,dismiss:nP,update:r}}function vh(){let[e,t]=ds.useState(cs);return ds.useEffect(()=>(us.push(t),()=>{let r=us.indexOf(t);r>-1&&us.splice(r,1)}),[e]),{...e,toast:iC,dismiss:r=>oi({type:"DISMISS_TOAST",toastId:r})}}var zn=$t(require("react")),Nt=$t(require("@radix-ui/react-toast"));var wh=Nt.Provider,vu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Viewport,{ref:r,className:De("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));vu.displayName=Nt.Viewport.displayName;var sC=(0,ch.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Eu=zn.forwardRef(({className:e,variant:t,...r},nP)=>(0,fr.jsx)(Nt.Root,{ref:nP,className:De(sC({variant:t}),e),...r}));Eu.displayName=Nt.Root.displayName;var lC=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Action,{ref:r,className:De("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));lC.displayName=Nt.Action.displayName;var _u=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Close,{ref:r,className:De("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,fr.jsx)(Ln.X,{className:"h-4 w-4"})}));_u.displayName=Nt.Close.displayName;var wu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Title,{ref:r,className:De("text-sm font-semibold [&+div]:text-xs",e),...t}));wu.displayName=Nt.Title.displayName;var Su=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Description,{ref:r,className:De("text-sm opacity-90",e),...t}));Su.displayName=Nt.Description.displayName;function Sh(){let{toasts:e}=vh();return(0,fr.jsxs)(wh,{children:[e.map(function({id:t,title:r,description:nP,action:o,...i}){return(0,fr.jsxs)(Eu,{...i,children:[(0,fr.jsxs)("div",{className:"grid gap-1",children:[r&&(0,fr.jsx)(wu,{children:r}),nP&&(0,fr.jsx)(Su,{children:nP})]}),o,(0,fr.jsx)(_u,{})]},t)}),(0,fr.jsx)(vu,{})]})}function ps({...e}){return(0,fr.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,fr.jsx)(ls,{...e.header}),(0,fr.jsxs)(uu,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[(0,fr.jsx)(gu,{...e.sidebarLeft,className:"flex-none"}),(0,fr.jsxs)(du,{className:"grow overflow-hidden",children:[(0,fr.jsx)("header",{className:"flex h-16 shrink-0 items-center gap-2",children:(0,fr.jsxs)("div",{className:"flex items-center gap-2 px-4",children:[(0,fr.jsx)(cu,{className:"-ml-1"}),(0,fr.jsx)(Qa,{orientation:"vertical",className:"Ln-2 h-4"}),(0,fr.jsx)(Ql,{children:(0,fr.jsxs)(Zl,{children:[(0,fr.jsx)(ns,{className:"hidden md:block",children:(0,fr.jsx)(eu,{href:"#",children:"Building Your Application"})}),(0,fr.jsx)(ru,{className:"hidden md:block"}),(0,fr.jsx)(ns,{children:(0,fr.jsx)(tu,{children:"Data Fetching"})})]})})]})}),(0,fr.jsxs)("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[(0,fr.jsxs)("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),(0,fr.jsx)("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),(0,fr.jsx)(hu,{...e.sidebarRight,className:"flex-none"})]}),(0,fr.jsx)(Sh,{})]})}var Kr=$t(gS());var pH=()=>(0,fr.jsx)(Sr,{iconName:"github",size:"4x",type:"brands"}),fH=()=>(0,fr.jsx)(Sr,{iconName:"aws",type:"brands"}),hH=()=>(0,fr.jsx)(Sr,{iconName:"azure",type:"kit"}),mH=()=>(0,fr.jsx)(Sr,{iconName:"people-sharing",size:"4x",type:"kit"}),gH=()=>(0,fr.jsx)(Sr,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),bH=()=>(0,fr.jsx)(Sr,{iconName:"development",size:"4x",type:"kit"}),yH={title:"Pages/Documentation",component:ps,decorators:[e=>(0,fr.jsx)("div",{className:"bg-sidebar",children:(0,fr.jsx)(e,{})})]},vH=e=>(0,fr.jsx)(ps,{...e}),EH={render:vH,args:{header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:gH},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:mH},{name:"Products",description:"Products that we sell",href:"#",icon:bH}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:ss.ChartPieIcon},{name:"API Reference",href:"#",icon:ss.CursorArrowRaysIcon},{name:"Github",href:"#",icon:pH}],actions:[{name:"Watch demo",href:"#",icon:ni.PlayCircleIcon},{name:"Contact sales",href:"#",icon:ni.PhoneIcon},{name:"View all products",href:"#",icon:ni.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},onToggleAppGrid:()=>{(0,Kr.fn)()},sidebarLeft:{title:"Playground",subTitle:"Airview",mainNav:[{label:"AWS",url:"#",icon:fH,isActive:!0,links:[{label:"EC2",url:"#"},{label:"IAM",url:"#"},{label:"S3",url:"#"}]},{label:"Microsoft Azure",url:"#",icon:hH,links:[{label:"Virtual Machines",url:"#"},{label:"Storage",url:"#"},{label:"Azure SQL",url:"#"}]},{label:"Documentation",url:"#",icon:Ln.BookOpen,links:[{label:"Introduction",url:"#"},{label:"Get Started",url:"#"},{label:"Tutorials",url:"#"},{label:"Changelog",url:"#"}]},{label:"Settings",url:"#",icon:Ln.Settings2,links:[{label:"General",url:"#"},{label:"Team",url:"#"},{label:"Billing",url:"#"},{label:"Limits",url:"#"}]}],secondaryNav:[{label:"Support",url:"#",icon:Ln.LifeBuoy},{label:"Feedback",url:"#",icon:Ln.Send}],onSidebarMenu:(0,Kr.fn)()},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,Kr.fn)(),onEditDocument:(0,Kr.fn)(),onPrintDocument:(0,Kr.fn)()},github:{onPublishDraft:(0,Kr.fn)(),handleNewBranch:(0,Kr.fn)(),handlePR:(0,Kr.fn)(),onSave:(0,Kr.fn)()}}};0&&(module.exports={Default});
|
|
439
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:z6,configure:V6,createEvent:G6,fireEvent:W6,findAllByAltText:Y6,findAllByDisplayValue:K6,findAllByLabelText:J6,findAllByPlaceholderText:X6,findAllByRole:Q6,findAllByTestId:Z6,findAllByText:eU,findAllByTitle:tU,findByAltText:rU,findByDisplayValue:nU,findByLabelText:oU,findByPlaceholderText:aU,findByRole:iU,findByTestId:sU,findByText:lU,findByTitle:uU,getAllByAltText:cU,getAllByDisplayValue:dU,getAllByLabelText:pU,getAllByPlaceholderText:fU,getAllByRole:hU,getAllByTestId:mU,getAllByText:gU,getAllByTitle:bU,getByAltText:yU,getByDisplayValue:vU,getByLabelText:EU,getByPlaceholderText:_U,getByRole:wU,getByTestId:SU,getByText:CU,getByTitle:AU,getConfig:RU,getDefaultNormalizer:TU,getElementError:xU,getNodeText:PU,getQueriesForElement:OU,getRoles:NU,getSuggestedQuery:MU,isInaccessible:IU,logDOM:DU,logRoles:qU,prettyDOM:jU,queries:BU,queryAllByAltText:kU,queryAllByAttribute:FU,queryAllByDisplayValue:LU,queryAllByLabelText:$U,queryAllByPlaceholderText:UU,queryAllByRole:HU,queryAllByTestId:zU,queryAllByText:VU,queryAllByTitle:GU,queryByAltText:WU,queryByAttribute:YU,queryByDisplayValue:KU,queryByLabelText:JU,queryByPlaceholderText:XU,queryByRole:QU,queryByTestId:ZU,queryByText:eH,queryByTitle:tH,queryHelpers:rH,screen:nH,waitFor:oH,waitForElementToBeRemoved:aH,within:mS,prettyFormat:iH}=cp,{userEvent:sH}=(0,hS.instrument)({userEvent:L6},{intercept:!0}),{expect:lH}=(0,_j.instrument)({expect:r_},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let nP=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?nP:[...nP,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),uH=({parameters:e})=>{var t,r,nP;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?s_():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?i_():((nP=e==null?void 0:e.test)==null?void 0:nP.restoreMocks)!==!1&&l_()},hl=(e,t=0,r)=>{var nP;if(t>5||e==null)return e;if(pf(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=o_(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>hl(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(nP=Object.getOwnPropertyDescriptor(e,o))!=null&&nP.writable&&(e[o]=hl(i,t,o));return e}return e},cH=({initialArgs:e})=>{hl(e)},dH=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=mS(e.canvasElement))};Sv.global.__STORYBOOK_TEST_LOADERS__=[uH,cH,dH];Sv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=n_});var _H={};QS(_H,{Default:()=>EH,default:()=>yH});module.exports=ZS(_H);var Ln=require("lucide-react");var mo=$t(require("react")),rs=require("@radix-ui/react-icons"),zf=require("@radix-ui/react-slot");var Hf=require("clsx");var Jl="-",e2=e=>{let t=r2(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:nP}=e;return{getClassGroupId:s=>{let l=s.split(Jl);return l[0]===""&&l.length!==1&&l.shift(),Bf(l,t)||t2(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&nP[s]?[...u,...nP[s]]:u}}},Bf=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],nP=t.nextPart.get(r),o=nP?Bf(e.slice(1),nP):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Jl);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},qf=/^\[(.+)\]$/,t2=e=>{if(qf.test(e)){let t=qf.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},r2=e=>{let{theme:t,prefix:r}=e,nP={nextPart:new Map,validators:[]};return o2(Object.entries(e.classGroups),r).forEach(([i,s])=>{Kl(s,nP,i,t)}),nP},Kl=(e,t,r,nP)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:jf(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(n2(o)){Kl(o(nP),t,r,nP);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Kl(s,jf(t,i),r,nP)})})},jf=(e,t)=>{let r=e;return t.split(Jl).forEach(nP=>{r.nextPart.has(nP)||r.nextPart.set(nP,{nextPart:new Map,validators:[]}),r=r.nextPart.get(nP)}),r},n2=e=>e.isThemeGetter,o2=(e,t)=>t?e.map(([r,nP])=>{let o=nP.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,a2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,nP=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,nP=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=nP.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},kf="!",i2=e=>{let{separator:t,experimentalParseClassName:r}=e,nP=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let y=0;y<l.length;y++){let E=l[y];if(d===0){if(E===o&&(nP||l.slice(y,y+i)===t)){u.push(l.slice(c,y)),c=y+i;continue}if(E==="/"){p=y;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(kf),g=m?h.substring(1):h,b=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:b}};return r?l=>r({className:l,parseClassName:s}):s},s2=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(nP=>{nP[0]==="["?(t.push(...r.sort(),nP),r=[]):r.push(nP)}),t.push(...r.sort()),t},l2=e=>({cache:a2(e.cacheSize),parseClassName:i2(e),...e2(e)}),u2=/\s+/,c2=(e,t)=>{let{parseClassName:r,getClassGroupId:nP,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(u2),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}=r(d),g=!!m,b=nP(g?h.substring(0,m):h);if(!b){if(!g){l=d+(l.length>0?" "+l:l);continue}if(b=nP(h),!b){l=d+(l.length>0?" "+l:l);continue}g=!1}let y=s2(c).join(":"),E=p?y+kf:y,_=E+b;if(i.includes(_))continue;i.push(_);let P=o(b,g);for(let C=0;C<P.length;++C){let w=P[C];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function d2(){let e=0,t,r,nP="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ff(t))&&(nP&&(nP+=" "),nP+=r);return nP}var Ff=e=>{if(typeof e=="string")return e;let t,r="";for(let nP=0;nP<e.length;nP++)e[nP]&&(t=Ff(e[nP]))&&(r&&(r+=" "),r+=t);return r};function p2(e,...t){let r,nP,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=l2(d),nP=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=nP(u);if(d)return d;let c=c2(u,r);return o(u,c),c}return function(){return i(d2.apply(null,arguments))}}var yt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Lf=/^\[(?:([a-z-]+):)?(.+)\]$/i,f2=/^\d+\/\d+$/,h2=new Set(["px","full","screen"]),m2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|Ln|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,b2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,y2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,v2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xr=e=>fo(e)||h2.has(e)||f2.test(e),hn=e=>ho(e,"length",T2),fo=e=>!!e&&!Number.isNaN(Number(e)),Yl=e=>ho(e,"number",fo),Ja=e=>!!e&&Number.isInteger(Number(e)),E2=e=>e.endsWith("%")&&fo(e.slice(0,-1)),ze=e=>Lf.test(e),mn=e=>m2.test(e),_2=new Set(["length","size","percentage"]),w2=e=>ho(e,_2,$f),S2=e=>ho(e,"position",$f),C2=new Set(["image","url"]),A2=e=>ho(e,C2,P2),R2=e=>ho(e,"",x2),Xa=()=>!0,ho=(e,t,r)=>{let nP=Lf.exec(e);return nP?nP[1]?typeof t=="string"?nP[1]===t:t.has(nP[1]):r(nP[2]):!1},T2=e=>g2.test(e)&&!b2.test(e),$f=()=>!1,x2=e=>y2.test(e),P2=e=>v2.test(e);var O2=()=>{let e=yt("colors"),t=yt("spacing"),r=yt("blur"),nP=yt("brightness"),o=yt("borderColor"),i=yt("borderRadius"),s=yt("borderSpacing"),l=yt("borderWidth"),u=yt("contrast"),d=yt("grayscale"),c=yt("hueRotate"),p=yt("invert"),h=yt("gap"),m=yt("gradientColorStops"),g=yt("gradientColorStopPositions"),b=yt("inset"),y=yt("margin"),E=yt("opacity"),_=yt("padding"),P=yt("saturate"),C=yt("scale"),w=yt("sepia"),S=yt("skew"),T=yt("space"),A=yt("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",ze,t],V=()=>[ze,t],J=()=>["",Xr,hn],x=()=>["auto",fo,ze],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Re=()=>["","0",ze],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Oe=()=>[fo,ze];return{cacheSize:500,separator:":",theme:{colors:[Xa],spacing:[Xr,hn],blur:["none","",mn,ze],brightness:Oe(),borderColor:[e],borderRadius:["none","","full",mn,ze],borderSpacing:V(),borderWidth:J(),contrast:Oe(),grayscale:Re(),hueRotate:Oe(),invert:Re(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[E2,hn],inset:X(),margin:X(),opacity:Oe(),padding:V(),saturate:Oe(),scale:Oe(),sepia:Re(),skew:Oe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",ze]}],container:["container"],columns:[{columns:[mn]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),ze]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ja,ze]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ze]}],grow:[{grow:Re()}],shrink:[{shrink:Re()}],order:[{order:["first","last","none",Ja,ze]}],"grid-cols":[{"grid-cols":[Xa]}],"col-start-end":[{col:["auto",{span:["full",Ja,ze]},ze]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[Xa]}],"row-start-end":[{row:["auto",{span:[Ja,ze]},ze]}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ze]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ze]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],fr:[{fr:[y]}],Ln:[{Ln:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ze,t]}],"min-w":[{"min-w":[ze,t,"min","max","fit"]}],"max-w":[{"max-w":[ze,t,"none","full","min","max","fit","prose",{screen:[mn]},mn]}],h:[{h:[ze,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ze,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ze,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ze,t,"auto","min","max","fit"]}],"font-size":[{text:["base",mn,hn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Yl]}],"font-family":[{font:[Xa]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ze]}],"line-clamp":[{"line-clamp":["none",fo,Yl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xr,ze]}],"list-image":[{"list-image":["none",ze]}],"list-style-type":[{list:["none","disc","decimal",ze]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xr,hn]}],"underline-offset":[{"underline-offset":["auto",Xr,ze]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ze]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ze]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),S2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",w2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},A2]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Xr,ze]}],"outline-w":[{outline:[Xr,hn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[Xr,hn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",mn,R2]}],"shadow-color":[{shadow:[Xa]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[nP]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",mn,ze]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[P]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[nP]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ze]}],duration:[{duration:Oe()}],ease:[{ease:["linear","in","out","in-out",ze]}],delay:[{delay:Oe()}],animate:[{animate:["none","spin","ping","pulse","bounce",ze]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Ja,ze]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ze]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","nP-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ze]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-fr":[{"scroll-fr":V()}],"scroll-Ln":[{"scroll-Ln":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ze]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Xr,hn,Yl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","fr","Ln","mb","ml"],mx:["Ln","ml"],my:["fr","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-fr","scroll-Ln","scroll-mb","scroll-ml"],"scroll-mx":["scroll-Ln","scroll-ml"],"scroll-my":["scroll-fr","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Uf=p2(O2);function De(...e){return Uf((0,Hf.clsx)(e))}var fr=require("react/jsx-runtime"),Xl=mo.forwardRef(({...e},t)=>(0,fr.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Xl.displayName="Breadcrumb";var Ql=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ol",{ref:r,className:De("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Ql.displayName="BreadcrumbList";var ns=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("li",{ref:r,className:De("inline-flex items-center gap-1.5",e),...t}));ns.displayName="BreadcrumbItem";var Zl=mo.forwardRef(({asChild:e,className:t,...r},nP)=>(0,fr.jsx)(e?zf.Slot:"a",{ref:nP,className:De("transition-colors hover:text-foreground",t),...r}));Zl.displayName="BreadcrumbLink";var eu=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:De("font-normal text-foreground",e),...t}));eu.displayName="BreadcrumbPage";var tu=({children:e,className:t,...r})=>(0,fr.jsx)("li",{role:"presentation","aria-hidden":"true",className:De("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...r,children:e!=null?e:(0,fr.jsx)(rs.ChevronRightIcon,{})});tu.displayName="BreadcrumbSeparator";var N2=({className:e,...t})=>(0,fr.jsxs)("span",{role:"presentation","aria-hidden":"true",className:De("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,fr.jsx)(rs.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,fr.jsx)("span",{className:"sr-only",children:"More"})]});N2.displayName="BreadcrumbElipssis";var Vf=$t(require("react")),ru=$t(require("@radix-ui/react-separator"));var Qa=Vf.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...nP},o)=>(0,fr.jsx)(ru.Root,{ref:o,decorative:r,orientation:t,className:De("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...nP}));Qa.displayName=ru.Root.displayName;var et=$t(require("react")),uh=require("class-variance-authority");var os=require("react"),Wf=(e=768)=>{let[t,r]=(0,os.useState)(!1);return(0,os.useEffect)(()=>{let nP=()=>{r(window.innerWidth<e)};return nP(),window.addEventListener("resize",nP),()=>window.removeEventListener("resize",nP)},[e]),t};var Jf=$t(require("react")),M2=(0,uh.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),nu=Jf.forwardRef(({asChild:e=!1,className:t,size:r,variant:nP,...o},i)=>(0,fr.jsx)(e?zf.Slot:"button",{className:De(M2({className:t,size:r,variant:nP})),ref:i,...o}));nu.displayName="Button";var Qf=$t(require("react"));var ou=Qf.forwardRef(({className:e,type:t,...r},nP)=>(0,fr.jsx)("input",{type:t,className:De("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:nP,...r}));ou.displayName="Input";var Za=$t(require("react")),It=$t(require("@radix-ui/react-dialog"));var rh=It.Root;var I2=It.Portal,nh=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Overlay,{className:De("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));nh.displayName=It.Overlay.displayName;var D2=(0,uh.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),au=Za.forwardRef(({side:e="right",className:t,children:r,...nP},o)=>(0,fr.jsxs)(I2,{children:[(0,fr.jsx)(nh,{}),(0,fr.jsxs)(It.Content,{ref:o,className:De(D2({side:e}),t),...nP,children:[(0,fr.jsxs)(It.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,fr.jsx)(rs.Cross2Icon,{className:"h-4 w-4"}),(0,fr.jsx)("span",{className:"sr-only",children:"Close"})]}),r]})]}));au.displayName=It.Content.displayName;var q2=({className:e,...t})=>(0,fr.jsx)("div",{className:De("flex flex-col space-y-2 text-center sm:text-left",e),...t});q2.displayName="SheetHeader";var j2=({className:e,...t})=>(0,fr.jsx)("div",{className:De("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});j2.displayName="SheetFooter";var B2=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Title,{ref:r,className:De("text-lg font-semibold text-foreground",e),...t}));B2.displayName=It.Title.displayName;var k2=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Description,{ref:r,className:De("text-sm text-muted-foreground",e),...t}));k2.displayName=It.Description.displayName;function Dt({className:e,...t}){return(0,fr.jsx)("div",{className:De("animate-pulse rounded-md bg-primary/10",e),...t})}var ah=$t(require("react")),wr=$t(require("@radix-ui/react-tooltip"));var ih=wr.Provider,sh=wr.Root,lh=wr.Trigger,su=ah.forwardRef(({className:e,sideOffset:t=4,...r},nP)=>(0,fr.jsx)(wr.Portal,{children:(0,fr.jsx)(wr.Content,{ref:nP,sideOffset:t,className:De("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));su.displayName=wr.Content.displayName;var F2="sidebar:state",L2=60*60*24*7,$2="16rem",U2="18rem",H2="3rem",z2="b",dh=et.createContext(null);function as(){let e=et.useContext(dh);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var lu=et.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:r,className:nP,style:o,children:i,...s},l)=>{let u=Wf(),[d,c]=et.useState(!1),[p,h]=et.useState(e),m=t!=null?t:p,g=et.useCallback(_=>{if(r)return r==null?void 0:r(typeof _=="function"?_(m):_);h(_),document.cookie=`${F2}=${m}; path=/; max-age=${L2}`},[r,m]),b=et.useCallback(()=>u?c(_=>!_):g(_=>!_),[u,g,c]);et.useEffect(()=>{let _=P=>{P.key===z2&&(P.metaKey||P.ctrlKey)&&(P.preventDefault(),b())};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[b]);let y=m?"expanded":"collapsed",E=et.useMemo(()=>({state:y,open:m,setOpen:g,isMobile:u,openMobile:d,setOpenMobile:c,toggleSidebar:b}),[y,m,g,u,d,c,b]);return(0,fr.jsx)(dh.Provider,{value:E,children:(0,fr.jsx)(ih,{delayDuration:0,children:(0,fr.jsx)("div",{style:{"--sidebar-width":$2,"--sidebar-width-icon":H2,...o},className:De("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",nP),ref:l,...s,children:i})})})});lu.displayName="SidebarProvider";var ei=et.forwardRef(({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:nP,children:o,...i},s)=>{let{isMobile:l,state:u,openMobile:d,setOpenMobile:c}=as();return r==="none"?(0,fr.jsx)("div",{className:De("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",nP),ref:s,...i,children:o}):l?(0,fr.jsx)(rh,{open:d,onOpenChange:c,...i,children:(0,fr.jsx)(au,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":U2},side:e,children:(0,fr.jsx)("div",{className:"flex h-full w-full flex-col",children:o})})}):(0,fr.jsxs)("div",{ref:s,className:"group peer hidden md:block text-sidebar-foreground","data-state":u,"data-collapsible":u==="collapsed"?r:"","data-variant":t,"data-side":e,children:[(0,fr.jsx)("div",{className:De("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,fr.jsx)("div",{className:De("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",nP),...i,children:(0,fr.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:o})})]})});ei.displayName="Sidebar";var uu=et.forwardRef(({className:e,onClick:t,...r},nP)=>{let{toggleSidebar:o}=as();return(0,fr.jsxs)(nu,{ref:nP,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:De("h-7 w-7",e),onClick:i=>{t==null||t(i),o()},...r,children:[(0,fr.jsx)(Ln.PanelLeft,{}),(0,fr.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});uu.displayName="SidebarTrigger";var V2=et.forwardRef(({className:e,...t},r)=>{let{toggleSidebar:nP}=as();return(0,fr.jsx)("button",{ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:nP,title:"Toggle Sidebar",className:De("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});V2.displayName="SidebarRail";var cu=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("main",{ref:r,className:De("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));cu.displayName="SidebarInset";var G2=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(ou,{ref:r,"data-sidebar":"input",className:De("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));G2.displayName="SidebarInput";var ti=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"header",className:De("flex flex-col gap-2 p-2",e),...t}));ti.displayName="SidebarHeader";var ri=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"footer",className:De("flex flex-col gap-2 p-2",e),...t}));ri.displayName="SidebarFooter";var du=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Qa,{ref:r,"data-sidebar":"separator",className:De("mx-2 w-auto bg-sidebar-border",e),...t}));du.displayName="SidebarSeparator";var bo=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"content",className:De("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));bo.displayName="SidebarContent";var Dr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"group",className:De("relative flex w-full min-w-0 flex-col p-2",e),...t}));Dr.displayName="SidebarGroup";var $nP=et.forwardRef(({className:e,asChild:t=!1,...r},nP)=>(0,fr.jsx)(t?zf.Slot:"div",{ref:nP,"data-sidebar":"group-label",className:De("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-fr-8 group-data-[collapsible=icon]:opacity-0",e),...r}));$nP.displayName="SidebarGroupLabel";var W2=et.forwardRef(({className:e,asChild:t=!1,...r},nP)=>(0,fr.jsx)(t?zf.Slot:"button",{ref:nP,"data-sidebar":"group-action",className:De("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...r}));W2.displayName="SidebarGroupAction";var Qr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"group-content",className:De("w-full text-sm",e),...t}));Qr.displayName="SidebarGroupContent";var hr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ul",{ref:r,"data-sidebar":"menu",className:De("flex w-full min-w-0 flex-col gap-1",e),...t}));hr.displayName="SidebarMenu";var rr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("li",{ref:r,"data-sidebar":"menu-item",className:De("group/menu-item relative",e),...t}));rr.displayName="SidebarMenuItem";var Y2=(0,uh.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),qr=et.forwardRef(({asChild:e=!1,isActive:t=!1,variant:r="default",size:nP="default",tooltip:o,className:i,...s},l)=>{let u=e?zf.Slot:"button",{isMobile:d,state:c}=as(),p=(0,fr.jsx)(u,{ref:l,"data-sidebar":"menu-button","data-size":nP,"data-active":t,className:De(Y2({variant:r,size:nP}),i),...s});return o?(typeof o=="string"&&(o={children:o}),(0,fr.jsxs)(sh,{children:[(0,fr.jsx)(lh,{asChild:!0,children:p}),(0,fr.jsx)(su,{side:"right",align:"center",hidden:c!=="collapsed"||d,...o})]})):p});qr.displayName="SidebarMenuButton";var pu=et.forwardRef(({className:e,asChild:t=!1,showOnHover:r=!1,...nP},o)=>(0,fr.jsx)(t?zf.Slot:"button",{ref:o,"data-sidebar":"menu-action",className:De("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...nP}));pu.displayName="SidebarMenuAction";var K2=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"menu-badge",className:De("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));K2.displayName="SidebarMenuBadge";var J2=et.forwardRef(({className:e,showIcon:t=!1,...r},nP)=>{let o=et.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,fr.jsxs)("div",{ref:nP,"data-sidebar":"menu-skeleton",className:De("rounded-md h-8 flex gap-2 px-2 items-center",e),...r,children:[t&&(0,fr.jsx)(Dt,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,fr.jsx)(Dt,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})});J2.displayName="SidebarMenuSkeleton";var yo=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ul",{ref:r,"data-sidebar":"menu-sub",className:De("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));yo.displayName="SidebarMenuSub";var vo=et.forwardRef(({...e},t)=>(0,fr.jsx)("li",{ref:t,...e}));vo.displayName="SidebarMenuSubItem";var Eo=et.forwardRef(({asChild:e=!1,size:t="md",isActive:r,className:nP,...o},i)=>(0,fr.jsx)(e?zf.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:De("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",nP),...o}));Eo.displayName="SidebarMenuSubButton";var _o=$t(require("@radix-ui/react-collapsible")),Un=_o.Root,wo=_o.CollapsibleTrigger,So=_o.CollapsibleContent;var fh=$t(require("clsx"));var X2=({type:e="solid",iconName:t="cloud",size:r="lg",className:nP})=>{let o="fa-"+e+" ",i="fa-"+t,s=nP!=null?nP:"",l=o+i+" fa-"+r+" "+s;return(0,fr.jsx)("i",{className:l})},Sr=X2;var Q2=()=>(0,fr.jsx)(Sr,{iconName:"github",size:"10x"});function fu({relatedContent:e,tableOfContents:t,editorComponent:r,loading:nP=!1,editMode:o=!1,onAddDocument:i,onEditDocument:s,onPrintDocument:l,onGithubClick:u,onNavClick:d,LinkComponent:c,...p}){let g=c?b=>(0,fr.jsx)(c,{...b}):d?({item:b,children:y,...E})=>(0,fr.jsx)("button",{onClick:()=>d&&d(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...E,children:y}):b=>(0,fr.jsx)("a",{href:b.href,...b});return(0,fr.jsxs)(ei,{side:"right",variant:"inset",...p,children:[(0,fr.jsxs)(ti,{className:"border-b border-sidebar-border",children:[(0,fr.jsxs)(hr,{className:"flex-row space-x-1",children:[(0,fr.jsx)(rr,{children:(0,fr.jsxs)(qr,{onClick:i,children:[(0,fr.jsx)(Ln.FilePlus,{})," ",(0,fr.jsx)("span",{children:"Add Document"})]})}),u&&(0,fr.jsx)(rr,{children:(0,fr.jsx)(qr,{onClick:u,tooltip:"Open in GitHub",children:(0,fr.jsx)(Q2,{})})})]}),(0,fr.jsxs)(hr,{className:"flex-row space-x-1",children:[(0,fr.jsx)(rr,{className:"w-5/12",children:(0,fr.jsxs)(qr,{onClick:()=>s(),variant:o?"outline":"default",className:(0,fh.default)(o&&"text-accent"),children:[(0,fr.jsx)(Ln.Edit,{})," ",(0,fr.jsx)("span",{children:"Edit"})]})}),(0,fr.jsx)(rr,{className:"w-5/12",children:(0,fr.jsxs)(qr,{onClick:l,children:[(0,fr.jsx)(Ln.Printer,{})," ",(0,fr.jsx)("span",{children:"Print"})]})})]})]}),r&&(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Dr,{children:[(0,fr.jsx)($nP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Editor Controls",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:r})})]})}),(0,fr.jsx)(du,{className:"mx-0"})]}),(0,fr.jsxs)(bo,{className:"overflow-auto",children:[nP&&(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsxs)(Dr,{children:[(0,fr.jsx)($nP,{children:"Related Content"}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:Array.from({length:3}).map((b,y)=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dt,{className:"bg-gray-200 w-full h-10"})},y))})})]}),(0,fr.jsxs)(Dr,{children:[(0,fr.jsx)($nP,{children:"Table of Contents"}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:Array.from({length:3}).map((b,y)=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dt,{className:"bg-gray-200 w-full h-10"})},y))})})]})]}),e&&!nP&&Object.keys(e).length>0&&(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Dr,{children:[(0,fr.jsx)($nP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Related Content",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:(0,fr.jsx)(hr,{children:e&&Object.keys(e).map(b=>(0,fr.jsxs)(rr,{children:[(0,fr.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",b.charAt(0).toUpperCase()+b.slice(1)]}),b&&e[b]&&(0,fr.jsx)(yo,{children:e[b].map(y=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,isActive:!1,size:"sm",children:(0,fr.jsxs)(g,{href:y.url,item:y,className:"flex justify-between items-center w-full text-xs",children:[(0,fr.jsx)("span",{children:y.label}),y.type==="note"&&(0,fr.jsx)(Ln.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),y.type==="draft"&&(0,fr.jsx)(Sr,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},y.label))})]},b))})})})]})}),t&&!nP&&(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Dr,{children:[(0,fr.jsx)($nP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Table of Contents",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:(0,fr.jsx)(hr,{children:t.map(b=>{var y;return(0,fr.jsxs)(rr,{children:[(0,fr.jsx)(qr,{asChild:!0,children:(0,fr.jsx)("a",{href:`#${b.url}`,className:"text-xs",children:b.title})}),(y=b.items)!=null&&y.length?(0,fr.jsx)(yo,{children:b.items.map(E=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,isActive:E.isActive,size:"sm",children:(0,fr.jsx)("a",{href:`#${E.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,fr.jsx)("span",{children:E.title})})})},E.title))}):null]},b.title)})})})})]})})]}),(0,fr.jsx)(ri,{})]})}var hu=$t(require("clsx"));function mu({mainNav:e,secondaryNav:t,title:r,subTitle:nP,pathName:o,menuHeading:i,onNavClick:s,loading:l=!1,LinkComponent:u,...d}){let p=u?h=>(0,fr.jsx)(u,{...h}):s?({href:h,children:m,...g})=>(0,fr.jsx)("button",{onClick:()=>s&&s(h),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...g,children:m}):h=>(0,fr.jsx)("a",{...h});return(0,fr.jsxs)(ei,{...d,variant:"inset",children:[(0,fr.jsx)(ti,{children:(0,fr.jsx)(hr,{children:(0,fr.jsx)(rr,{children:l?(0,fr.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,fr.jsx)(Dt,{className:"bg-gray-200 my-2 w-full h-7"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,fr.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,fr.jsx)("span",{className:"truncate font-semibold",children:r}),nP&&(0,fr.jsx)("span",{className:"truncate text-sm",children:nP})]})})})}),l&&(0,fr.jsxs)(bo,{children:[(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,fr.jsxs)(bo,{children:[e&&!l&&e.map((h,m)=>(0,fr.jsx)(Z2,{subNav:h,pathName:o,Link:p},m)),(0,fr.jsx)(Dr,{className:"fr-auto",children:(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:t&&!l&&t.map(h=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(qr,{asChild:!0,size:"sm",children:(0,fr.jsxs)(p,{href:h.url||"",children:[h.icon&&(0,fr.jsx)(h.icon,{}),(0,fr.jsx)("span",{children:h.label})]})})},h.label))})})})]}),(0,fr.jsx)(ri,{})]})}function Z2({subNav:e,pathName:t,Link:r}){var i,s;let nP=e,o=!1;return nP.links&&nP.links.map(l=>{l.url===t&&(o=!0)}),(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsx)(Dr,{className:"py-0",children:(0,fr.jsx)(hr,{children:(0,fr.jsx)(Un,{asChild:!0,defaultOpen:nP.isActive,children:(0,fr.jsxs)(rr,{children:[(0,fr.jsx)(qr,{asChild:!0,tooltip:nP.label,className:(0,hu.default)(o&&"font-bold text-accent"),children:(0,fr.jsxs)(r,{href:nP.url,children:[nP.icon&&(0,fr.jsx)(nP.icon,{}),(0,fr.jsx)("span",{children:nP.label})]})}),(i=nP.links)!=null&&i.length?(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(wo,{asChild:!0,children:(0,fr.jsxs)(pu,{className:"data-[state=open]:rotate-90",children:[(0,fr.jsx)(Ln.ChevronRight,{}),(0,fr.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,fr.jsx)(So,{children:(0,fr.jsx)(yo,{children:(s=nP.links)==null?void 0:s.map(l=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,className:(0,hu.default)(l.url===t&&"font-bold text-accent"),children:(0,fr.jsx)(r,{href:l.url,children:(0,fr.jsx)("span",{children:l.label})})})},l.label))})})]}):null]})},nP.label)})})})}var sr=require("@headlessui/react"),ss=require("@heroicons/react/24/outline"),ni=require("@heroicons/react/20/solid");var eC=({name:e,items:t,actions:r=[],href:nP})=>!t&&nP?(0,fr.jsxs)("a",{href:nP,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,fr.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,fr.jsxs)(sr.Popover,{children:[(0,fr.jsxs)(sr.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,fr.jsxs)("span",{className:"relative",children:[e,(0,fr.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,fr.jsx)(ni.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,fr.jsxs)(sr.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover fr-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,fr.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,fr.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,fr.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,fr.jsx)(o.icon,{"aria-hidden":"true",size:"6x"})}),(0,fr.jsxs)("a",{href:o.href,className:"fr-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,fr.jsx)("span",{className:"absolute inset-0"})]}),(0,fr.jsx)("p",{className:"fr-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,fr.jsx)("div",{className:"bg-gray-50",children:(0,fr.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,fr.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,fr.jsxs)("a",{href:o.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,fr.jsx)(o.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),gh=eC;var is=["light","dark","green"];function bh({title:e,logo:t,menuItems:r}){let[nP,o]=(0,os.useState)(!1),[i,s]=(0,os.useState)(!1),[l,u]=(0,os.useState)("light"),d=t==null?void 0:t.split(".")[0],c=t==null?void 0:t.split(".")[1],[p,h]=(0,os.useState)(`${d}.${c}`),m=b=>{is.includes(b)?h(b==="light"?`${d}.${c}`:`${d}-${b}.${c}`):h(`${d}.${c}`)};(0,os.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";console.log("storedTheme",b),u(b),document.documentElement.setAttribute("class",b),m(b)},[]);let g=()=>{let b=is[(is.indexOf(l)+1)%is.length];u(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b),m(b)};return(0,fr.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,fr.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,fr.jsx)("div",{className:"flex lg:flex-1",children:(0,fr.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:e}),(0,fr.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,fr.jsx)("div",{className:"flex lg:hidden",children:(0,fr.jsxs)("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,fr.jsx)(ss.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,fr.jsx)(sr.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(b=>(0,fr.jsx)(gh,{...b},b.name))}),(0,fr.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,fr.jsx)("button",{onClick:g,className:"p-2 text-gray-700 outline-none",children:l==="dark"?(0,fr.jsx)(ni.SunIcon,{className:"h-6 w-6"}):l==="green"?(0,fr.jsx)(ni.MoonIcon,{className:"h-6 w-6"}):(0,fr.jsx)(ni.SunIcon,{className:"h-6 w-6"})})})]}),(0,fr.jsxs)(sr.Dialog,{open:nP,onClose:o,className:"lg:hidden",children:[(0,fr.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,fr.jsxs)(sr.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,fr.jsxs)("div",{className:"flex items-center justify-between",children:[(0,fr.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,fr.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,fr.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,fr.jsx)(ss.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,fr.jsx)("div",{className:"fr-6 flow-root",children:(0,fr.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,fr.jsx)("div",{className:"space-y-2 py-6",children:r.map(b=>(0,fr.jsx)(tC,{...b},b.name))})})})]})]})]})}function tC({name:e,items:t,actions:r,href:nP}){return!t&&nP?(0,fr.jsx)("a",{href:nP,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,fr.jsxs)(sr.Disclosure,{as:"div",className:"-mx-3",children:[(0,fr.jsx)(sr.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,fr.jsx)(sr.DisclosurePanel,{className:"fr-2 space-y-2",children:t&&t.map(o=>(0,fr.jsx)(sr.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}var cs=$t(require("react")),rC=1,nC=1e6;var gu=0;function oC(){return gu=(gu+1)%Number.MAX_SAFE_INTEGER,gu.toString()}var bu=new Map,yh=e=>{if(bu.has(e))return;let t=setTimeout(()=>{bu.delete(e),oi({type:"REMOVE_TOAST",toastId:e})},nC);bu.set(e,t)},aC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,rC)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?yh(r):e.toasts.forEach(nP=>{yh(nP.id)}),{...e,toasts:e.toasts.map(nP=>nP.id===r||r===void 0?{...nP,open:!1}:nP)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},ls=[],us={toasts:[]};function oi(e){us=aC(us,e),ls.forEach(t=>{t(us)})}function iC({...e}){let t=oC(),r=o=>oi({type:"UPDATE_TOAST",toast:{...o,id:t}}),nP=()=>oi({type:"DISMISS_TOAST",toastId:t});return oi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||nP()}}}),{id:t,dismiss:nP,update:r}}function vh(){let[e,t]=cs.useState(us);return cs.useEffect(()=>(ls.push(t),()=>{let r=ls.indexOf(t);r>-1&&ls.splice(r,1)}),[e]),{...e,toast:iC,dismiss:r=>oi({type:"DISMISS_TOAST",toastId:r})}}var zn=$t(require("react")),Nt=$t(require("@radix-ui/react-toast"));var wh=Nt.Provider,yu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Viewport,{ref:r,className:De("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));yu.displayName=Nt.Viewport.displayName;var sC=(0,uh.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),vu=zn.forwardRef(({className:e,variant:t,...r},nP)=>(0,fr.jsx)(Nt.Root,{ref:nP,className:De(sC({variant:t}),e),...r}));vu.displayName=Nt.Root.displayName;var lC=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Action,{ref:r,className:De("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));lC.displayName=Nt.Action.displayName;var Eu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Close,{ref:r,className:De("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,fr.jsx)(Ln.X,{className:"h-4 w-4"})}));Eu.displayName=Nt.Close.displayName;var _u=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Title,{ref:r,className:De("text-sm font-semibold [&+div]:text-xs",e),...t}));_u.displayName=Nt.Title.displayName;var wu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Description,{ref:r,className:De("text-sm opacity-90",e),...t}));wu.displayName=Nt.Description.displayName;function Sh(){let{toasts:e}=vh();return(0,fr.jsxs)(wh,{children:[e.map(function({id:t,title:r,description:nP,action:o,...i}){return(0,fr.jsxs)(vu,{...i,children:[(0,fr.jsxs)("div",{className:"grid gap-1",children:[r&&(0,fr.jsx)(_u,{children:r}),nP&&(0,fr.jsx)(wu,{children:nP})]}),o,(0,fr.jsx)(Eu,{})]},t)}),(0,fr.jsx)(yu,{})]})}function ds({...e}){return(0,fr.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,fr.jsx)(bh,{...e.header}),(0,fr.jsxs)(lu,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[(0,fr.jsx)(mu,{...e.sidebarLeft,className:"flex-none"}),(0,fr.jsxs)(cu,{className:"grow overflow-hidden",children:[(0,fr.jsx)("header",{className:"flex h-16 shrink-0 items-center gap-2",children:(0,fr.jsxs)("div",{className:"flex items-center gap-2 px-4",children:[(0,fr.jsx)(uu,{className:"-ml-1"}),(0,fr.jsx)(Qa,{orientation:"vertical",className:"Ln-2 h-4"}),(0,fr.jsx)(Xl,{children:(0,fr.jsxs)(Ql,{children:[(0,fr.jsx)(ns,{className:"hidden md:block",children:(0,fr.jsx)(Zl,{href:"#",children:"Building Your Application"})}),(0,fr.jsx)(tu,{className:"hidden md:block"}),(0,fr.jsx)(ns,{children:(0,fr.jsx)(eu,{children:"Data Fetching"})})]})})]})}),(0,fr.jsxs)("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[(0,fr.jsxs)("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),(0,fr.jsx)("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),(0,fr.jsx)(fu,{...e.sidebarRight,className:"flex-none"})]}),(0,fr.jsx)(Sh,{})]})}var Kr=$t(gS());var pH=()=>(0,fr.jsx)(Sr,{iconName:"github",size:"4x",type:"brands"}),fH=()=>(0,fr.jsx)(Sr,{iconName:"aws",type:"brands"}),hH=()=>(0,fr.jsx)(Sr,{iconName:"azure",type:"kit"}),mH=()=>(0,fr.jsx)(Sr,{iconName:"people-sharing",size:"4x",type:"kit"}),gH=()=>(0,fr.jsx)(Sr,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),bH=()=>(0,fr.jsx)(Sr,{iconName:"development",size:"4x",type:"kit"}),yH={title:"Pages/Documentation",component:ds,decorators:[e=>(0,fr.jsx)("div",{className:"bg-sidebar",children:(0,fr.jsx)(e,{})})]},vH=e=>(0,fr.jsx)(ds,{...e}),EH={render:vH,args:{header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:gH},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:mH},{name:"Products",description:"Products that we sell",href:"#",icon:bH}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:ss.ChartPieIcon},{name:"API Reference",href:"#",icon:ss.CursorArrowRaysIcon},{name:"Github",href:"#",icon:pH}],actions:[{name:"Watch demo",href:"#",icon:ni.PlayCircleIcon},{name:"Contact sales",href:"#",icon:ni.PhoneIcon},{name:"View all products",href:"#",icon:ni.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},onToggleAppGrid:()=>{(0,Kr.fn)()},sidebarLeft:{title:"Playground",subTitle:"Airview",mainNav:[{label:"AWS",url:"#",icon:fH,isActive:!0,links:[{label:"EC2",url:"#"},{label:"IAM",url:"#"},{label:"S3",url:"#"}]},{label:"Microsoft Azure",url:"#",icon:hH,links:[{label:"Virtual Machines",url:"#"},{label:"Storage",url:"#"},{label:"Azure SQL",url:"#"}]},{label:"Documentation",url:"#",icon:Ln.BookOpen,links:[{label:"Introduction",url:"#"},{label:"Get Started",url:"#"},{label:"Tutorials",url:"#"},{label:"Changelog",url:"#"}]},{label:"Settings",url:"#",icon:Ln.Settings2,links:[{label:"General",url:"#"},{label:"Team",url:"#"},{label:"Billing",url:"#"},{label:"Limits",url:"#"}]}],secondaryNav:[{label:"Support",url:"#",icon:Ln.LifeBuoy},{label:"Feedback",url:"#",icon:Ln.Send}],onSidebarMenu:(0,Kr.fn)()},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,Kr.fn)(),onEditDocument:(0,Kr.fn)(),onPrintDocument:(0,Kr.fn)()},github:{onPublishDraft:(0,Kr.fn)(),handleNewBranch:(0,Kr.fn)(),handlePR:(0,Kr.fn)(),onSave:(0,Kr.fn)()}}};0&&(module.exports={Default});
|