@warp-ds/elements 2.3.0-next.28 → 2.3.0-next.29
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/dist/custom-elements.json +75 -2
- package/dist/packages/combobox/index.js +6 -5
- package/dist/packages/combobox/index.js.map +2 -2
- package/dist/packages/combobox/styles.js +2 -1
- package/dist/packages/radio/radio.stories.d.ts +14 -7
- package/dist/packages/radio/radio.stories.js +1062 -13
- package/dist/packages/radio/radio.stories.js.map +4 -4
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,1040 @@
|
|
|
1
|
-
var X=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var V=i=>{throw TypeError(i)};var n=(i,o,e,r)=>{for(var t=r>1?void 0:r?P(o,e):o,a=i.length-1,s;a>=0;a--)(s=i[a])&&(t=(r?s(o,e,t):s(t))||t);return r&&t&&X(o,e,t),t};var C=(i,o,e)=>o.has(i)||V("Cannot "+e);var S=(i,o,e)=>(C(i,o,"read from private field"),e?e.call(i):o.get(i)),A=(i,o,e)=>o.has(i)?V("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(i):o.set(i,e),R=(i,o,e,r)=>(C(i,o,"write to private field"),r?r.call(i,e):o.set(i,e),e);import{html as ee}from"lit";import{html as J}from"lit";import{property as w,state as D}from"lit/decorators.js";import{isServer as E}from"lit";import{property as m}from"lit/decorators.js";import{LitElement as Z,unsafeCSS as $}from"lit";import{property as T}from"lit/decorators.js";import{css as B}from"lit";var L=B`
|
|
1
|
+
var Ic=Object.defineProperty;var rj=Object.getOwnPropertyDescriptor;var Ny=e=>{throw TypeError(e)};var nj=(e,t,r)=>t in e?Ic(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var an=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,r)=>(typeof require!="undefined"?require:t)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var oj=(e,t)=>{for(var r in t)Ic(e,r,{get:t[r],enumerable:!0})};var ve=(e,t,r,n)=>{for(var o=n>1?void 0:n?rj(t,r):t,a=e.length-1,i;a>=0;a--)(i=e[a])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Ic(t,r,o),o};var De=(e,t,r)=>nj(e,typeof t!="symbol"?t+"":t,r),Fy=(e,t,r)=>t.has(e)||Ny("Cannot "+r);var $y=(e,t,r)=>(Fy(e,t,"read from private field"),r?r.call(e):t.get(e)),Ly=(e,t,r)=>t.has(e)?Ny("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),By=(e,t,r,n)=>(Fy(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);import{nothing as aj}from"lit/html.js";import{directive as Nc}from"lit/directive.js";import{AsyncDirective as ij}from"lit/async-directive.js";var ji=class extends ij{constructor(){super(...arguments),this.prevData={}}render(t){return aj}update(t,[r]){var n;this.element!==t.element&&(this.element=t.element),this.host=((n=t.options)===null||n===void 0?void 0:n.host)||this.element,this.apply(r),this.groom(r),this.prevData={...r}}apply(t){if(!t)return;let{prevData:r,element:n}=this;for(let o in t){let a=t[o];a!==r[o]&&(n[o]=a)}}groom(t){let{prevData:r,element:n}=this;if(r)for(let o in r)(!t||!(o in t)&&n[o]===r[o])&&(n[o]=void 0)}},tG=Nc(ji),Ii=class extends ji{constructor(){super(...arguments),this.eventData={}}apply(t){if(t)for(let r in t){let n=t[r];n!==this.eventData[r]&&this.applyEvent(r,n)}}applyEvent(t,r){let{prevData:n,element:o}=this;this.eventData[t]=r,n[t]&&o.removeEventListener(t,this,r),o.addEventListener(t,this,r)}groom(t){let{prevData:r,element:n}=this;if(r)for(let o in r)(!t||!(o in t)&&n[o]===r[o])&&this.groomEvent(o,r[o])}groomEvent(t,r){let{element:n}=this;delete this.eventData[t],n.removeEventListener(t,this,r)}handleEvent(t){let r=this.eventData[t.type];typeof r=="function"?r.call(this.host,t):r.handleEvent(t)}disconnected(){let{eventData:t,element:r}=this;for(let n in t){let o=n.slice(1),a=t[n];r.removeEventListener(o,this,a)}}reconnected(){let{eventData:t,element:r}=this;for(let n in t){let o=n.slice(1),a=t[n];r.addEventListener(o,this,a)}}},rG=Nc(Ii),Dc=class extends Ii{apply(t){if(!t)return;let{prevData:r,element:n}=this;for(let o in t){let a=t[o];if(a===r[o])continue;let i=o.slice(1);switch(o[0]){case"@":this.eventData[i]=a,this.applyEvent(i,a);break;case".":n[i]=a;break;case"?":a?n.setAttribute(i,""):n.removeAttribute(i);break;default:a!=null?n.setAttribute(o,String(a)):n.removeAttribute(o);break}}}groom(t){let{prevData:r,element:n}=this;if(r)for(let o in r){let a=o.slice(1);if(!t||!(o in t)&&n[a]===r[o])switch(o[0]){case"@":this.groomEvent(a,r[o]);break;case".":n[a]=void 0;break;case"?":n.removeAttribute(a);break;default:n.removeAttribute(o);break}}}},Hy=Nc(Dc);import{nothing as hW}from"lit/html.js";import{directive as Oy}from"lit/directive.js";import{AsyncDirective as mW}from"lit/async-directive.js";var Z=(()=>{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 sj=Object.defineProperty,Dr=(e,t)=>sj(e,"name",{value:t,configurable:!0}),{LOGLEVEL:lj}=Z,Nr={trace:1,debug:2,info:3,warn:4,error:5,silent:10},uj=lj,$n=Nr[uj]||Nr.info,pe={trace:Dr((e,...t)=>{$n<=Nr.trace&&console.trace(e,...t)},"trace"),debug:Dr((e,...t)=>{$n<=Nr.debug&&console.debug(e,...t)},"debug"),info:Dr((e,...t)=>{$n<=Nr.info&&console.info(e,...t)},"info"),warn:Dr((e,...t)=>{$n<=Nr.warn&&console.warn(e,...t)},"warn"),error:Dr((e,...t)=>{$n<=Nr.error&&console.error(e,...t)},"error"),log:Dr((e,...t)=>{$n<Nr.silent&&console.log(e,...t)},"log")},Fc=new Set,je=Dr(e=>(t,...r)=>{if(!Fc.has(t))return Fc.add(t),pe[e](t,...r)},"once");je.clear=()=>Fc.clear();je.trace=je("trace");je.debug=je("debug");je.info=je("info");je.warn=je("warn");je.error=je("error");je.log=je("log");var Ln=je("warn"),ft=Dr(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,a;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));a=n.exec(t[0]);)r.push(a[2]),r.push("");for(let i=1;i<t.length;i++)r.push(t[i])}pe[e].apply(pe,r)},"pretty");ft.trace=ft("trace");ft.debug=ft("debug");ft.info=ft("info");ft.warn=ft("warn");ft.error=ft("error");var Li={};oj(Li,{ARGTYPES_INFO_REQUEST:()=>ad,ARGTYPES_INFO_RESPONSE:()=>$i,CHANNEL_CREATED:()=>dj,CHANNEL_WS_DISCONNECT:()=>Lc,CONFIG_ERROR:()=>Bc,CREATE_NEW_STORYFILE_REQUEST:()=>pj,CREATE_NEW_STORYFILE_RESPONSE:()=>fj,CURRENT_STORY_WAS_SET:()=>Di,DOCS_PREPARED:()=>Hc,DOCS_RENDERED:()=>ta,FILE_COMPONENT_SEARCH_REQUEST:()=>hj,FILE_COMPONENT_SEARCH_RESPONSE:()=>mj,FORCE_REMOUNT:()=>Bn,FORCE_RE_RENDER:()=>ra,GLOBALS_UPDATED:()=>sn,NAVIGATE_URL:()=>bj,PLAY_FUNCTION_THREW_EXCEPTION:()=>Uc,PRELOAD_ENTRIES:()=>zc,PREVIEW_BUILDER_PROGRESS:()=>gj,PREVIEW_INITIALIZED:()=>Wc,PREVIEW_KEYDOWN:()=>Gc,REGISTER_SUBSCRIPTION:()=>yj,REQUEST_WHATS_NEW_DATA:()=>Tj,RESET_STORY_ARGS:()=>na,RESULT_WHATS_NEW_DATA:()=>Rj,SAVE_STORY_REQUEST:()=>Mj,SAVE_STORY_RESPONSE:()=>jj,SELECT_STORY:()=>vj,SET_CONFIG:()=>wj,SET_CURRENT_STORY:()=>oa,SET_FILTER:()=>Ej,SET_GLOBALS:()=>Yc,SET_INDEX:()=>xj,SET_STORIES:()=>Cj,SET_WHATS_NEW_CACHE:()=>_j,SHARED_STATE_CHANGED:()=>Sj,SHARED_STATE_SET:()=>Aj,STORIES_COLLAPSE_ALL:()=>Pj,STORIES_EXPAND_ALL:()=>Oj,STORY_ARGS_UPDATED:()=>Kc,STORY_CHANGED:()=>Xc,STORY_ERRORED:()=>Jc,STORY_FINISHED:()=>Fi,STORY_HOT_UPDATED:()=>nd,STORY_INDEX_INVALIDATED:()=>Qc,STORY_MISSING:()=>Ni,STORY_PREPARED:()=>Zc,STORY_RENDERED:()=>lr,STORY_RENDER_PHASE_CHANGED:()=>kt,STORY_SPECIFIED:()=>ed,STORY_THREW_EXCEPTION:()=>td,STORY_UNCHANGED:()=>rd,TELEMETRY_ERROR:()=>qj,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>kj,UNHANDLED_ERRORS_WHILE_PLAYING:()=>Vc,UPDATE_GLOBALS:()=>aa,UPDATE_QUERY_PARAMS:()=>od,UPDATE_STORY_ARGS:()=>ia,default:()=>cj});var $c=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_INITIALIZED="previewInitialized",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e))($c||{}),cj=$c,{CHANNEL_WS_DISCONNECT:Lc,CHANNEL_CREATED:dj,CONFIG_ERROR:Bc,CREATE_NEW_STORYFILE_REQUEST:pj,CREATE_NEW_STORYFILE_RESPONSE:fj,CURRENT_STORY_WAS_SET:Di,DOCS_PREPARED:Hc,DOCS_RENDERED:ta,FILE_COMPONENT_SEARCH_REQUEST:hj,FILE_COMPONENT_SEARCH_RESPONSE:mj,FORCE_RE_RENDER:ra,FORCE_REMOUNT:Bn,GLOBALS_UPDATED:sn,NAVIGATE_URL:bj,PLAY_FUNCTION_THREW_EXCEPTION:Uc,UNHANDLED_ERRORS_WHILE_PLAYING:Vc,PRELOAD_ENTRIES:zc,PREVIEW_INITIALIZED:Wc,PREVIEW_BUILDER_PROGRESS:gj,PREVIEW_KEYDOWN:Gc,REGISTER_SUBSCRIPTION:yj,RESET_STORY_ARGS:na,SELECT_STORY:vj,SET_CONFIG:wj,SET_CURRENT_STORY:oa,SET_FILTER:Ej,SET_GLOBALS:Yc,SET_INDEX:xj,SET_STORIES:Cj,SHARED_STATE_CHANGED:Sj,SHARED_STATE_SET:Aj,STORIES_COLLAPSE_ALL:Pj,STORIES_EXPAND_ALL:Oj,STORY_ARGS_UPDATED:Kc,STORY_CHANGED:Xc,STORY_ERRORED:Jc,STORY_INDEX_INVALIDATED:Qc,STORY_MISSING:Ni,STORY_PREPARED:Zc,STORY_RENDER_PHASE_CHANGED:kt,STORY_RENDERED:lr,STORY_FINISHED:Fi,STORY_SPECIFIED:ed,STORY_THREW_EXCEPTION:td,STORY_UNCHANGED:rd,STORY_HOT_UPDATED:nd,UPDATE_GLOBALS:aa,UPDATE_QUERY_PARAMS:od,UPDATE_STORY_ARGS:ia,REQUEST_WHATS_NEW_DATA:Tj,RESULT_WHATS_NEW_DATA:Rj,SET_WHATS_NEW_CACHE:_j,TOGGLE_WHATS_NEW_NOTIFICATIONS:kj,TELEMETRY_ERROR:qj,SAVE_STORY_REQUEST:Mj,SAVE_STORY_RESPONSE:jj,ARGTYPES_INFO_REQUEST:ad,ARGTYPES_INFO_RESPONSE:$i}=$c;var Ij=Object.defineProperty,Q=(e,t)=>Ij(e,"name",{value:t,configurable:!0});function ln(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(s,c){var u=c.match(/\n([\t ]+|(?!\s).)/g);return u?s.concat(u.map(function(d){var p,f;return(f=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&f!==void 0?f:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
2
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
3
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,c){var u=i.match(/(?:^|\n)( *)$/),d=u?u[1]:"",p=s;typeof s=="string"&&s.includes(`
|
|
4
|
+
`)&&(p=String(s).split(`
|
|
5
|
+
`).map(function(f,h){return h===0?f:""+d+f}).join(`
|
|
6
|
+
`)),i+=p+n[c+1]}),i}Q(ln,"dedent");var Uy=new Map,Dj="UNIVERSAL_STORE:",Ct={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},Fr=class ce{constructor(t,r){var n,o,a;if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=Q(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=Q((i,s)=>{let c=typeof i=="function",u=c?"*":i,d=c?i:s;if(this.debug("subscribe",{eventType:u,listener:d}),!d)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(u)||this.listeners.set(u,new Set),this.listeners.get(u).add(d),()=>{var p;this.debug("unsubscribe",{eventType:u,listener:d}),this.listeners.has(u)&&(this.listeners.get(u).delete(d),((p=this.listeners.get(u))==null?void 0:p.size)===0&&this.listeners.delete(u))}},"subscribe"),this.send=Q(i=>{if(this.debug("send",{event:i}),this.status!==ce.Status.READY)throw new TypeError(ln`Cannot send event before store is ready. You can get the current status with store.status,
|
|
7
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
8
|
+
${JSON.stringify({event:i,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(i,{actor:this.actor}),this.emitToChannel(i,{actor:this.actor})},"send"),this.debugging=(n=t.debug)!=null?n:!1,!ce.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(ce.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?ce.ActorType.LEADER:ce.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${Dj}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===ce.ActorType.LEADER)this.syncing={state:Ct.RESOLVED,promise:Promise.resolve()};else{let i,s,c=new Promise((u,d)=>{i=Q(()=>{this.syncing.state===Ct.PENDING&&(this.syncing.state=Ct.RESOLVED,u())},"syncingResolve"),s=Q(p=>{this.syncing.state===Ct.PENDING&&(this.syncing.state=Ct.REJECTED,d(p))},"syncingReject")});this.syncing={state:Ct.PENDING,promise:c,resolve:i,reject:s}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=(o=r==null?void 0:r.channel)!=null?o:ce.preparation.channel,this.environment=(a=r==null?void 0:r.environment)!=null?a:ce.preparation.environment,this.channel&&this.environment?(ce.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):ce.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,a)=>{t=Q(i=>{o(i)},"resolveRef"),r=Q((...i)=>{a(i)},"rejectRef")});ce.preparation={resolve:t,reject:r,promise:n}}get actor(){var t;return Object.freeze({id:this.actorId,type:this.actorType,environment:(t=this.environment)!=null?t:ce.Environment.UNKNOWN})}get status(){var t;if(!this.channel||!this.environment)return ce.Status.UNPREPARED;switch((t=this.syncing)==null?void 0:t.state){case Ct.PENDING:case void 0:return ce.Status.SYNCING;case Ct.REJECTED:return ce.Status.ERROR;case Ct.RESOLVED:default:return ce.Status.READY}}untilReady(){var t;return Promise.all([ce.preparation.promise,(t=this.syncing)==null?void 0:t.promise])}static create(t){if(!t||typeof(t==null?void 0:t.id)!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(ln`[UniversalStore]
|
|
9
|
+
create`,{options:t});let r=Uy.get(t.id);if(r)return console.warn(ln`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
|
|
10
|
+
You should reuse the existing instance instead of trying to create a new one.`),r;ce.isInternalConstructing=!0;let n=new ce(t);return Uy.set(t.id,n),n}static __prepare(t,r){ce.preparation.channel=t,ce.preparation.environment=r,ce.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==ce.Status.READY)throw new TypeError(ln`Cannot set state before store is ready. You can get the current status with store.status,
|
|
11
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
12
|
+
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:ce.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(ce.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){var n;this.debug("emitToChannel",{event:t,eventInfo:r,channel:!!this.channel}),(n=this.channel)==null||n.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:!!t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===ce.ActorType.LEADER?this.emitToChannel({type:ce.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:ce.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:ce.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n!=null?n:[],...o!=null?o:[]].forEach(a=>a(t,r))}handleChannelEvents(t){var o,a,i,s,c;let{event:r,eventInfo:n}=t;if([n.actor.id,(o=n.forwardingActor)==null?void 0:o.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(((a=this.syncing)==null?void 0:a.state)===Ct.PENDING&&r.type!==ce.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===ce.ActorType.LEADER){let u=!0;switch(r.type){case ce.InternalEventType.EXISTING_STATE_REQUEST:u=!1;let d={type:ce.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:d}),this.emitToChannel(d,{actor:this.actor}),this.emitToListeners(d,{actor:this.actor});break;case ce.InternalEventType.LEADER_CREATED:u=!1,this.syncing.state=Ct.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(ln`Detected multiple UniversalStore leaders created with the same id "${this.id}".
|
|
13
|
+
Only one leader can exists at a time, your stores are now in an invalid state.
|
|
14
|
+
Leaders detected:
|
|
15
|
+
this: ${JSON.stringify(this.actor,null,2)}
|
|
16
|
+
other: ${JSON.stringify(n.actor,null,2)}`);break}u&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===ce.ActorType.FOLLOWER)switch(r.type){case ce.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),((i=this.syncing)==null?void 0:i.state)!==Ct.PENDING)break;(c=(s=this.syncing).resolve)==null||c.call(s);let u={type:ce.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(u,n);break}switch(r.type){case ce.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){var n;this.debugging&&console.debug(ln`[UniversalStore::${this.id}::${(n=this.environment)!=null?n:ce.Environment.UNKNOWN}]
|
|
17
|
+
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){ce.preparation.reject(new Error("reset")),ce.setupPreparationPromise(),ce.isInternalConstructing=!1}};Q(Fr,"UniversalStore"),Fr.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},Fr.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},Fr.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},Fr.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},Fr.isInternalConstructing=!1,Fr.setupPreparationPromise();var id=Fr,Nj=Q(e=>e.transports!==void 0,"isMulti"),Fj=Q(()=>Math.random().toString(16).slice(2),"generateRandomId"),Xy=class{constructor(t={}){this.sender=Fj(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,Nj(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);let a=Q(()=>{this.transports.forEach(i=>{i.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(a):a()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(o=>o!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=Q((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}};Q(Xy,"Channel");var ca=Xy,$j=Object.create,Jy=Object.defineProperty,Lj=Object.getOwnPropertyDescriptor,Qy=Object.getOwnPropertyNames,Bj=Object.getPrototypeOf,Hj=Object.prototype.hasOwnProperty,fe=Q((e,t)=>Q(function(){return t||(0,e[Qy(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),Uj=Q((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Qy(t))!Hj.call(e,o)&&o!==r&&Jy(e,o,{get:Q(()=>t[o],"get"),enumerable:!(n=Lj(t,o))||n.enumerable});return e},"__copyProps"),cd=Q((e,t,r)=>(r=e!=null?$j(Bj(e)):{},Uj(t||!e||!e.__esModule?Jy(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),Vj=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],zj=["detail"];function Zy(e){let t=Vj.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of zj.filter(n=>e[n]!==void 0))t[r]=e[r];return t}Q(Zy,"extractEventHiddenProperties");var ev=fe({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){"use strict";t.exports=Object}}),Wj=fe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){"use strict";t.exports=Error}}),Gj=fe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){"use strict";t.exports=EvalError}}),Yj=fe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){"use strict";t.exports=RangeError}}),Kj=fe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){"use strict";t.exports=ReferenceError}}),Xj=fe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){"use strict";t.exports=SyntaxError}}),dd=fe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){"use strict";t.exports=TypeError}}),Jj=fe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){"use strict";t.exports=URIError}}),Qj=fe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){"use strict";t.exports=Math.abs}}),Zj=fe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){"use strict";t.exports=Math.floor}}),eI=fe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){"use strict";t.exports=Math.max}}),tI=fe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){"use strict";t.exports=Math.min}}),rI=fe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){"use strict";t.exports=Math.pow}}),nI=fe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){"use strict";t.exports=Math.round}}),oI=fe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){"use strict";t.exports=Number.isNaN||Q(function(r){return r!==r},"isNaN2")}}),aI=fe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){"use strict";var r=oI();t.exports=Q(function(n){return r(n)||n===0?n:n<0?-1:1},"sign")}}),iI=fe({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){"use strict";t.exports=Object.getOwnPropertyDescriptor}}),pd=fe({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){"use strict";var r=iI();if(r)try{r([],"length")}catch(n){r=null}t.exports=r}}),sI=fe({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){"use strict";var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(n){r=!1}t.exports=r}}),tv=fe({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=Q(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(var i 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]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(r,n);if(c.value!==a||c.enumerable!==!0)return!1}return!0},"hasSymbols")}}),rv=fe({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=tv();t.exports=Q(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),nv=fe({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){"use strict";t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),ov=fe({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){"use strict";var r=ev();t.exports=r.getPrototypeOf||null}}),lI=fe({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,a="[object Function]",i=Q(function(u,d){for(var p=[],f=0;f<u.length;f+=1)p[f]=u[f];for(var h=0;h<d.length;h+=1)p[h+u.length]=d[h];return p},"concatty2"),s=Q(function(u,d){for(var p=[],f=d||0,h=0;f<u.length;f+=1,h+=1)p[h]=u[f];return p},"slicy2"),c=Q(function(u,d){for(var p="",f=0;f<u.length;f+=1)p+=u[f],f+1<u.length&&(p+=d);return p},"joiny");t.exports=Q(function(u){var d=this;if(typeof d!="function"||n.apply(d)!==a)throw new TypeError(r+d);for(var p=s(arguments,1),f,h=Q(function(){if(this instanceof f){var E=d.apply(this,i(p,arguments));return Object(E)===E?E:this}return d.apply(u,i(p,arguments))},"binder"),m=o(0,d.length-p.length),b=[],w=0;w<m;w++)b[w]="$"+w;if(f=Function("binder","return function ("+c(b,",")+"){ return binder.apply(this,arguments); }")(h),d.prototype){var g=Q(function(){},"Empty2");g.prototype=d.prototype,f.prototype=new g,g.prototype=null}return f},"bind")}}),Hi=fe({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){"use strict";var r=lI();t.exports=Function.prototype.bind||r}}),fd=fe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){"use strict";t.exports=Function.prototype.call}}),av=fe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){"use strict";t.exports=Function.prototype.apply}}),uI=fe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){"use strict";t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),cI=fe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){"use strict";var r=Hi(),n=av(),o=fd(),a=uI();t.exports=a||r.call(o,n)}}),iv=fe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){"use strict";var r=Hi(),n=dd(),o=fd(),a=cI();t.exports=Q(function(i){if(i.length<1||typeof i[0]!="function")throw new n("a function is required");return a(r,o,i)},"callBindBasic")}}),dI=fe({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){"use strict";var r=iv(),n=pd(),o;try{o=[].__proto__===Array.prototype}catch(c){if(!c||typeof c!="object"||!("code"in c)||c.code!=="ERR_PROTO_ACCESS")throw c}var a=!!o&&n&&n(Object.prototype,"__proto__"),i=Object,s=i.getPrototypeOf;t.exports=a&&typeof a.get=="function"?r([a.get]):typeof s=="function"?Q(function(c){return s(c==null?c:i(c))},"getDunder"):!1}}),pI=fe({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){"use strict";var r=nv(),n=ov(),o=dI();t.exports=r?Q(function(a){return r(a)},"getProto"):n?Q(function(a){if(!a||typeof a!="object"&&typeof a!="function")throw new TypeError("getProto: not an object");return n(a)},"getProto"):o?Q(function(a){return o(a)},"getProto"):null}}),sv=fe({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){"use strict";var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=Hi();t.exports=o.call(r,n)}}),fI=fe({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){"use strict";var r,n=ev(),o=Wj(),a=Gj(),i=Yj(),s=Kj(),c=Xj(),u=dd(),d=Jj(),p=Qj(),f=Zj(),h=eI(),m=tI(),b=rI(),w=nI(),g=aI(),E=Function,C=Q(function(L){try{return E('"use strict"; return ('+L+").constructor;")()}catch(ne){}},"getEvalledConstructor"),x=pd(),P=sI(),S=Q(function(){throw new u},"throwTypeError"),y=x?(function(){try{return arguments.callee,S}catch(L){try{return x(arguments,"callee").get}catch(ne){return S}}})():S,v=rv()(),A=pI(),T=ov(),_=nv(),N=av(),$=fd(),R={},k=typeof Uint8Array>"u"||!A?r:A(Uint8Array),D={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":v&&A?A([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":E,"%GeneratorFunction%":R,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":v&&A?A(A([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!v||!A?r:A(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!v||!A?r:A(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":v&&A?A(""[Symbol.iterator]()):r,"%Symbol%":v?Symbol:r,"%SyntaxError%":c,"%ThrowTypeError%":y,"%TypedArray%":k,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":$,"%Function.prototype.apply%":N,"%Object.defineProperty%":P,"%Object.getPrototypeOf%":T,"%Math.abs%":p,"%Math.floor%":f,"%Math.max%":h,"%Math.min%":m,"%Math.pow%":b,"%Math.round%":w,"%Math.sign%":g,"%Reflect.getPrototypeOf%":_};if(A)try{null.error}catch(L){K=A(A(L)),D["%Error.prototype%"]=K}var K,G=Q(function L(ne){var ae;if(ne==="%AsyncFunction%")ae=C("async function () {}");else if(ne==="%GeneratorFunction%")ae=C("function* () {}");else if(ne==="%AsyncGeneratorFunction%")ae=C("async function* () {}");else if(ne==="%AsyncGenerator%"){var V=L("%AsyncGeneratorFunction%");V&&(ae=V.prototype)}else if(ne==="%AsyncIteratorPrototype%"){var J=L("%AsyncGenerator%");J&&A&&(ae=A(J.prototype))}return D[ne]=ae,ae},"doEval2"),te={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},oe=Hi(),ee=sv(),W=oe.call($,Array.prototype.concat),z=oe.call(N,Array.prototype.splice),Y=oe.call($,String.prototype.replace),re=oe.call($,String.prototype.slice),X=oe.call($,RegExp.prototype.exec),ie=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,se=/\\(\\)?/g,me=Q(function(L){var ne=re(L,0,1),ae=re(L,-1);if(ne==="%"&&ae!=="%")throw new c("invalid intrinsic syntax, expected closing `%`");if(ae==="%"&&ne!=="%")throw new c("invalid intrinsic syntax, expected opening `%`");var V=[];return Y(L,ie,function(J,le,ue,Oe){V[V.length]=ue?Y(Oe,se,"$1"):le||J}),V},"stringToPath3"),Pe=Q(function(L,ne){var ae=L,V;if(ee(te,ae)&&(V=te[ae],ae="%"+V[0]+"%"),ee(D,ae)){var J=D[ae];if(J===R&&(J=G(ae)),typeof J>"u"&&!ne)throw new u("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:V,name:ae,value:J}}throw new c("intrinsic "+L+" does not exist!")},"getBaseIntrinsic2");t.exports=Q(function(L,ne){if(typeof L!="string"||L.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ne!="boolean")throw new u('"allowMissing" argument must be a boolean');if(X(/^%?[^%]*%?$/,L)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ae=me(L),V=ae.length>0?ae[0]:"",J=Pe("%"+V+"%",ne),le=J.name,ue=J.value,Oe=!1,Je=J.alias;Je&&(V=Je[0],z(ae,W([0,1],Je)));for(var Ht=1,ir=!0;Ht<ae.length;Ht+=1){var pt=ae[Ht],Mr=re(pt,0,1),jr=re(pt,-1);if((Mr==='"'||Mr==="'"||Mr==="`"||jr==='"'||jr==="'"||jr==="`")&&Mr!==jr)throw new c("property names with quotes must have matching quotes");if((pt==="constructor"||!ir)&&(Oe=!0),V+="."+pt,le="%"+V+"%",ee(D,le))ue=D[le];else if(ue!=null){if(!(pt in ue)){if(!ne)throw new u("base intrinsic for "+L+" exists, but the property is not available.");return}if(x&&Ht+1>=ae.length){var Ir=x(ue,pt);ir=!!Ir,ir&&"get"in Ir&&!("originalValue"in Ir.get)?ue=Ir.get:ue=ue[pt]}else ir=ee(ue,pt),ue=ue[pt];ir&&!Oe&&(D[le]=ue)}}return ue},"GetIntrinsic")}}),hd=fe({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){"use strict";var r=fI(),n=iv(),o=n([r("%String.prototype.indexOf%")]);t.exports=Q(function(a,i){var s=r(a,!!i);return typeof s=="function"&&o(a,".prototype.")>-1?n([s]):s},"callBoundIntrinsic")}}),hI=fe({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=tv();t.exports=Q(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),lv=fe({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){"use strict";var r=hd(),n=hI()(),o=sv(),a=pd(),i;n?(s=r("RegExp.prototype.exec"),c={},u=Q(function(){throw c},"throwRegexMarker"),d={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(d[Symbol.toPrimitive]=u),i=Q(function(h){if(!h||typeof h!="object")return!1;var m=a(h,"lastIndex"),b=m&&o(m,"value");if(!b)return!1;try{s(h,d)}catch(w){return w===c}},"isRegex")):(p=r("Object.prototype.toString"),f="[object RegExp]",i=Q(function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:p(h)===f},"isRegex"));var s,c,u,d,p,f;t.exports=i}}),mI=fe({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}Q(n,"isFunction3")}}),bI=fe({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){"use strict";var r=hd(),n=lv(),o=r("RegExp.prototype.exec"),a=dd();t.exports=Q(function(i){if(!n(i))throw new a("`regex` must be a RegExp");return Q(function(s){return o(i,s)!==null},"test")},"regexTester")}}),gI=fe({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){"use strict";var r=hd(),n=r("Object.prototype.toString"),o=rv()(),a=bI();o?(i=r("Symbol.prototype.toString"),s=a(/^Symbol\(.*\)$/),c=Q(function(u){return typeof u.valueOf()!="symbol"?!1:s(i(u))},"isRealSymbolObject"),t.exports=Q(function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||n(u)!=="[object Symbol]")return!1;try{return c(u)}catch(d){return!1}},"isSymbol3")):t.exports=Q(function(u){return!1},"isSymbol3");var i,s,c}}),yI=cd(lv()),vI=cd(mI()),wI=cd(gI());function uv(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}Q(uv,"isObject");var EI=typeof global=="object"&&global&&global.Object===Object&&global,xI=EI,CI=typeof self=="object"&&self&&self.Object===Object&&self,SI=xI||CI||Function("return this")(),md=SI,AI=md.Symbol,Hn=AI,cv=Object.prototype,PI=cv.hasOwnProperty,OI=cv.toString,sa=Hn?Hn.toStringTag:void 0;function dv(e){var t=PI.call(e,sa),r=e[sa];try{e[sa]=void 0;var n=!0}catch(a){}var o=OI.call(e);return n&&(t?e[sa]=r:delete e[sa]),o}Q(dv,"getRawTag");var TI=dv,RI=Object.prototype,_I=RI.toString;function pv(e){return _I.call(e)}Q(pv,"objectToString");var kI=pv,qI="[object Null]",MI="[object Undefined]",Vy=Hn?Hn.toStringTag:void 0;function fv(e){return e==null?e===void 0?MI:qI:Vy&&Vy in Object(e)?TI(e):kI(e)}Q(fv,"baseGetTag");var hv=fv;function mv(e){return e!=null&&typeof e=="object"}Q(mv,"isObjectLike");var jI=mv,II="[object Symbol]";function bv(e){return typeof e=="symbol"||jI(e)&&hv(e)==II}Q(bv,"isSymbol");var bd=bv;function gv(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}Q(gv,"arrayMap");var DI=gv,NI=Array.isArray,gd=NI,FI=1/0,zy=Hn?Hn.prototype:void 0,Wy=zy?zy.toString:void 0;function yd(e){if(typeof e=="string")return e;if(gd(e))return DI(e,yd)+"";if(bd(e))return Wy?Wy.call(e):"";var t=e+"";return t=="0"&&1/e==-FI?"-0":t}Q(yd,"baseToString");var $I=yd;function yv(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Q(yv,"isObject2");var vv=yv,LI="[object AsyncFunction]",BI="[object Function]",HI="[object GeneratorFunction]",UI="[object Proxy]";function wv(e){if(!vv(e))return!1;var t=hv(e);return t==BI||t==HI||t==LI||t==UI}Q(wv,"isFunction");var VI=wv,zI=md["__core-js_shared__"],sd=zI,Gy=(function(){var e=/[^.]+$/.exec(sd&&sd.keys&&sd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Ev(e){return!!Gy&&Gy in e}Q(Ev,"isMasked");var WI=Ev,GI=Function.prototype,YI=GI.toString;function xv(e){if(e!=null){try{return YI.call(e)}catch(t){}try{return e+""}catch(t){}}return""}Q(xv,"toSource");var KI=xv,XI=/[\\^$.*+?()[\]{}|]/g,JI=/^\[object .+?Constructor\]$/,QI=Function.prototype,ZI=Object.prototype,eD=QI.toString,tD=ZI.hasOwnProperty,rD=RegExp("^"+eD.call(tD).replace(XI,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Cv(e){if(!vv(e)||WI(e))return!1;var t=VI(e)?rD:JI;return t.test(KI(e))}Q(Cv,"baseIsNative");var nD=Cv;function Sv(e,t){return e==null?void 0:e[t]}Q(Sv,"getValue");var oD=Sv;function Av(e,t){var r=oD(e,t);return nD(r)?r:void 0}Q(Av,"getNative");var Pv=Av;function Ov(e,t){return e===t||e!==e&&t!==t}Q(Ov,"eq");var aD=Ov,iD=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,sD=/^\w*$/;function Tv(e,t){if(gd(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||bd(e)?!0:sD.test(e)||!iD.test(e)||t!=null&&e in Object(t)}Q(Tv,"isKey");var lD=Tv,uD=Pv(Object,"create"),ua=uD;function Rv(){this.__data__=ua?ua(null):{},this.size=0}Q(Rv,"hashClear");var cD=Rv;function _v(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Q(_v,"hashDelete");var dD=_v,pD="__lodash_hash_undefined__",fD=Object.prototype,hD=fD.hasOwnProperty;function kv(e){var t=this.__data__;if(ua){var r=t[e];return r===pD?void 0:r}return hD.call(t,e)?t[e]:void 0}Q(kv,"hashGet");var mD=kv,bD=Object.prototype,gD=bD.hasOwnProperty;function qv(e){var t=this.__data__;return ua?t[e]!==void 0:gD.call(t,e)}Q(qv,"hashHas");var yD=qv,vD="__lodash_hash_undefined__";function Mv(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ua&&t===void 0?vD:t,this}Q(Mv,"hashSet");var wD=Mv;function un(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Q(un,"Hash");un.prototype.clear=cD;un.prototype.delete=dD;un.prototype.get=mD;un.prototype.has=yD;un.prototype.set=wD;var Yy=un;function jv(){this.__data__=[],this.size=0}Q(jv,"listCacheClear");var ED=jv;function Iv(e,t){for(var r=e.length;r--;)if(aD(e[r][0],t))return r;return-1}Q(Iv,"assocIndexOf");var Ui=Iv,xD=Array.prototype,CD=xD.splice;function Dv(e){var t=this.__data__,r=Ui(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():CD.call(t,r,1),--this.size,!0}Q(Dv,"listCacheDelete");var SD=Dv;function Nv(e){var t=this.__data__,r=Ui(t,e);return r<0?void 0:t[r][1]}Q(Nv,"listCacheGet");var AD=Nv;function Fv(e){return Ui(this.__data__,e)>-1}Q(Fv,"listCacheHas");var PD=Fv;function $v(e,t){var r=this.__data__,n=Ui(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}Q($v,"listCacheSet");var OD=$v;function cn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Q(cn,"ListCache");cn.prototype.clear=ED;cn.prototype.delete=SD;cn.prototype.get=AD;cn.prototype.has=PD;cn.prototype.set=OD;var TD=cn,RD=Pv(md,"Map"),_D=RD;function Lv(){this.size=0,this.__data__={hash:new Yy,map:new(_D||TD),string:new Yy}}Q(Lv,"mapCacheClear");var kD=Lv;function Bv(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}Q(Bv,"isKeyable");var qD=Bv;function Hv(e,t){var r=e.__data__;return qD(t)?r[typeof t=="string"?"string":"hash"]:r.map}Q(Hv,"getMapData");var Vi=Hv;function Uv(e){var t=Vi(this,e).delete(e);return this.size-=t?1:0,t}Q(Uv,"mapCacheDelete");var MD=Uv;function Vv(e){return Vi(this,e).get(e)}Q(Vv,"mapCacheGet");var jD=Vv;function zv(e){return Vi(this,e).has(e)}Q(zv,"mapCacheHas");var ID=zv;function Wv(e,t){var r=Vi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}Q(Wv,"mapCacheSet");var DD=Wv;function dn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Q(dn,"MapCache");dn.prototype.clear=kD;dn.prototype.delete=MD;dn.prototype.get=jD;dn.prototype.has=ID;dn.prototype.set=DD;var Gv=dn,ND="Expected a function";function zi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(ND);var r=Q(function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i},"memoized");return r.cache=new(zi.Cache||Gv),r}Q(zi,"memoize");zi.Cache=Gv;var FD=zi,$D=500;function Yv(e){var t=FD(e,function(n){return r.size===$D&&r.clear(),n}),r=t.cache;return t}Q(Yv,"memoizeCapped");var LD=Yv,BD=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,HD=/\\(\\)?/g,UD=LD(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(BD,function(r,n,o,a){t.push(o?a.replace(HD,"$1"):n||r)}),t}),VD=UD;function Kv(e){return e==null?"":$I(e)}Q(Kv,"toString");var zD=Kv;function Xv(e,t){return gd(e)?e:lD(e,t)?[e]:VD(zD(e))}Q(Xv,"castPath");var WD=Xv,GD=1/0;function Jv(e){if(typeof e=="string"||bd(e))return e;var t=e+"";return t=="0"&&1/e==-GD?"-0":t}Q(Jv,"toKey");var YD=Jv;function Qv(e,t){t=WD(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[YD(t[r++])];return r&&r==n?e:void 0}Q(Qv,"baseGet");var KD=Qv;function Zv(e,t,r){var n=e==null?void 0:KD(e,t);return n===void 0?r:n}Q(Zv,"get");var XD=Zv,vd=uv,JD=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,wd=Q(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function Ed(e){if(!vd(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Zy(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch(a){r=!0}return n},{}),r?t:e}Q(Ed,"convertUnconventionalData");var QD=Q(function(e){let t,r,n,o;return Q(function(a,i){var s;try{if(a==="")return o=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let c=r.get(this)||this;for(;n.length&&c!==n[0];)n.shift(),o.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===Number.NEGATIVE_INFINITY?"_-Infinity_":i===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return JD.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,yI.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,vI.default)(i))return;if((0,wI.default)(i)){if(!e.allowSymbol)return;let d=Symbol.keyFor(i);return d!==void 0?`_gsymbol_${d}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(o)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if((s=i==null?void 0:i.constructor)!=null&&s.name&&i.constructor.name!=="Object"&&!Array.isArray(i)){let d=t.get(i);if(!d){let p={__isClassInstance__:!0,__className__:i.constructor.name,...Object.getOwnPropertyNames(i).reduce((f,h)=>{try{f[h]=i[h]}catch(m){}return f},{})};return o.push(a),n.unshift(p),t.set(i,JSON.stringify(o)),i!==p&&r.set(i,p),p}return`_duplicate_${d}`}let u=t.get(i);if(!u){let d=Array.isArray(i)?i:Ed(i);return o.push(a),n.unshift(d),t.set(i,JSON.stringify(o)),i!==d&&r.set(i,d),d}return`_duplicate_${u}`}catch(c){return}},"replace")},"replacer2"),ZD=Q(function(e){let t=[],r;return Q(function(n,o){if(n===""&&(r=o,t.forEach(({target:a,container:i,replacement:s})=>{let c=wd(s)?JSON.parse(s):s.split(".");c.length===0?i[a]=r:i[a]=XD(r,c)})),n==="_constructor-name_")return o;if(vd(o)&&o.__isConvertedError__){let{message:a,...i}=o.errorProperties,s=new Error(a);return Object.assign(s,i),s}if(typeof o=="string"&&o.startsWith("_regexp_")&&e.allowRegExp){let[,a,i]=o.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(i,a)}return typeof o=="string"&&o.startsWith("_date_")&&e.allowDate?new Date(o.replace("_date_","")):typeof o=="string"&&o.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:o.replace(/^_duplicate_/,"")}),null):typeof o=="string"&&o.startsWith("_symbol_")&&e.allowSymbol?Symbol(o.replace("_symbol_","")):typeof o=="string"&&o.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(o.replace("_gsymbol_","")):typeof o=="string"&&o==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof o=="string"&&o==="_Infinity_"?Number.POSITIVE_INFINITY:typeof o=="string"&&o==="_NaN_"?Number.NaN:typeof o=="string"&&o.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(o.replace("_bigint_","")):o},"revive")},"reviver2"),e0={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},t0=Q((e,t={})=>{let r={...e0,...t};return JSON.stringify(Ed(e),QD(r),t.space)},"stringify"),eN=Q(()=>{let e=new Map;return Q(function t(r){vd(r)&&Object.entries(r).forEach(([n,o])=>{o==="_undefined_"?r[n]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((n,o)=>{n==="_undefined_"?(e.set(n,!0),r[o]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),r0=Q((e,t={})=>{let r={...e0,...t},n=JSON.parse(e,ZD(r));return eN()(n),n},"parse"),tN=!1,ld="Invariant failed";function Bi(e,t){if(!e){if(tN)throw new Error(ld);var r=typeof t=="function"?t():t,n=r?"".concat(ld,": ").concat(r):ld;throw new Error(n)}}Q(Bi,"invariant");var rN=Q(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(a=>{var c,u;try{return((c=a.contentWindow)==null?void 0:c.location.origin)===e.source.location.origin&&((u=a.contentWindow)==null?void 0:u.location.pathname)===e.source.location.pathname}catch(d){}try{return a.contentWindow===e.source}catch(d){}let i=a.getAttribute("src"),s;try{if(!i)return!1;({origin:s}=new URL(i,document.location.toString()))}catch(d){return!1}return s===e.origin}),o=r==null?void 0:r.getAttribute("src");if(o&&n.length===0){let{protocol:a,host:i,pathname:s}=new URL(o,document.location.toString());return`${a}//${i}${s}`}return n.length>0&&pe.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:ud,location:la}=Z,Ky="storybook-channel",nN={maxDepth:25},n0=class{constructor(t){var r;if(this.config=t,this.connected=!1,this.buffer=[],typeof((r=Z)==null?void 0:r.addEventListener)=="function"&&Z.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:o,allowSymbol:a,allowDate:i,allowError:s,allowUndefined:c,maxDepth:u,space:d}=r||{},p=Object.fromEntries(Object.entries({allowRegExp:o,allowSymbol:a,allowDate:i,allowError:s,allowUndefined:c,maxDepth:u,space:d}).filter(([w,g])=>typeof g<"u")),f={...nN,...Z.CHANNEL_OPTIONS||{},...p},h=this.getFrames(n),m=new URLSearchParams((la==null?void 0:la.search)||""),b=t0({key:Ky,event:t,refId:m.get("refId")},f);return h.length?(this.buffer.length&&this.flush(),h.forEach(w=>{try{w.postMessage(b,"*")}catch(g){pe.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((w,g)=>{this.buffer.push({event:t,resolve:w,reject:g})})}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(ud.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch(o){return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return Z&&Z.parent&&Z.parent!==Z.self?[Z.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(ud.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):Z&&Z.parent?[Z.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(ud.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):Z&&Z.parent?[Z.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:o,refId:a}=typeof r=="string"&&wd(r)?r0(r,Z.CHANNEL_OPTIONS||{}):r;if(n===Ky){let i=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',s=Object.values(Li).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(a&&(o.refId=a),o.source=this.config.page==="preview"?t.origin:rN(t),!o.source){ft.error(`${i} received ${s} but was unable to determine the source of the event`);return}let c=`${i} received ${s} (${r.length})`;ft.debug(la.origin!==o.source?c:`${c} <span style="color: gray">(on ${la.origin} from ${o.source})</span>`,...o.args),Bi(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){pe.error(r)}}};Q(n0,"PostMessageTransport");var oN=n0,{WebSocket:aN}=Z,iN=15e3,sN=5e3,o0=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new aN(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:o})=>{let a=typeof o=="string"&&wd(o)?r0(o):o;Bi(this.handler,"WebsocketTransport handler should be set"),this.handler(a),a.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=o=>{Bi(this.handler,"WebsocketTransport handler should be set"),this.handler({type:Lc,args:[{reason:o.reason,code:o.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},iN+sN)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){let r=t0(t,{maxDepth:15,...Z.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};Q(o0,"WebsocketTransport");var lN=o0,{CONFIG_TYPE:uN}=Z;function cN({page:e,extraTransports:t=[]}){let r=[new oN({page:e}),...t];if(uN==="DEVELOPMENT"){let o=window.location.protocol==="http:"?"ws":"wss",{hostname:a,port:i}=window.location,s=`${o}://${a}:${i}/storybook-server-channel`;r.push(new lN({url:s,onError:Q(()=>{},"onError"),page:e}))}let n=new ca({transports:r});return id.__prepare(n,e==="manager"?id.Environment.MANAGER:id.Environment.PREVIEW),n}Q(cN,"createBrowserChannel");var dN=Object.defineProperty,Ie=(e,t)=>dN(e,"name",{value:t,configurable:!0});function Ve(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(s,c){var u=c.match(/\n([\t ]+|(?!\s).)/g);return u?s.concat(u.map(function(d){var p,f;return(f=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&f!==void 0?f:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
18
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
19
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,c){var u=i.match(/(?:^|\n)( *)$/),d=u?u[1]:"",p=s;typeof s=="string"&&s.includes(`
|
|
20
|
+
`)&&(p=String(s).split(`
|
|
21
|
+
`).map(function(f,h){return h===0?f:""+d+f}).join(`
|
|
22
|
+
`)),i+=p+n[c+1]}),i}Ie(Ve,"dedent");function xd({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}Ie(xd,"parseErrorCode");function Cd(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set("ref","error"),t.toString()}catch(t){return e}}Ie(Cd,"appendErrorRef");var a0=class i0 extends Error{constructor(t){var r;super(i0.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 xd({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:o}){let a;return t===!0?a=`https://storybook.js.org/error/${xd({code:r,category:n})}?ref=error`:typeof t=="string"?a=Cd(t):Array.isArray(t)&&(a=`
|
|
23
|
+
${t.map(i=>` - ${Cd(i)}`).join(`
|
|
24
|
+
`)}`),`${o}${a!=null?`
|
|
25
|
+
|
|
26
|
+
More info: ${a}
|
|
27
|
+
`:""}`}};Ie(a0,"StorybookError");var Ue=a0;var s0=class extends Ue{constructor(t){super({category:"PREVIEW_API",code:1,message:Ve`
|
|
28
|
+
Couldn't find story matching id '${t.storyId}' after HMR.
|
|
29
|
+
- Did you just rename a story?
|
|
30
|
+
- Did you remove it from your CSF file?
|
|
31
|
+
- Are you sure a story with the id '${t.storyId}' exists?
|
|
32
|
+
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
|
33
|
+
- Also check the browser console and terminal for potential error messages.`}),this.data=t}};Ie(s0,"MissingStoryAfterHmrError");var l0=s0,u0=class extends Ue{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:Ve`
|
|
34
|
+
We detected that you use an implicit action arg while ${t.phase} of your story.
|
|
35
|
+
${t.deprecated?`
|
|
36
|
+
This is deprecated and won't work in Storybook 8 anymore.
|
|
37
|
+
`:""}
|
|
38
|
+
Please provide an explicit spy to your args like this:
|
|
39
|
+
import { fn } from 'storybook/test';
|
|
40
|
+
...
|
|
41
|
+
args: {
|
|
42
|
+
${t.name}: fn()
|
|
43
|
+
}`}),this.data=t}};Ie(u0,"ImplicitActionsDuringRendering");var c0=u0,d0=class extends Ue{constructor(){super({category:"PREVIEW_API",code:3,message:Ve`
|
|
44
|
+
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
|
45
|
+
|
|
46
|
+
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};Ie(d0,"CalledExtractOnStoreError");var p0=d0,f0=class extends Ue{constructor(){super({category:"PREVIEW_API",code:4,message:Ve`
|
|
47
|
+
Expected your framework's preset to export a \`renderToCanvas\` field.
|
|
48
|
+
|
|
49
|
+
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};Ie(f0,"MissingRenderToCanvasError");var h0=f0,m0=class extends Ue{constructor(t){super({category:"PREVIEW_API",code:5,message:Ve`
|
|
50
|
+
Called \`Preview.${t.methodName}()\` before initialization.
|
|
51
|
+
|
|
52
|
+
The preview needs to load the story index before most methods can be called. If you want
|
|
53
|
+
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
|
|
54
|
+
|
|
55
|
+
If you didn't call the above code, then likely it was called by an addon that needs to
|
|
56
|
+
do the above.`}),this.data=t}};Ie(m0,"CalledPreviewMethodBeforeInitializationError");var lt=m0,b0=class extends Ue{constructor(t){super({category:"PREVIEW_API",code:6,message:Ve`
|
|
57
|
+
Error fetching \`/index.json\`:
|
|
58
|
+
|
|
59
|
+
${t.text}
|
|
60
|
+
|
|
61
|
+
If you are in development, this likely indicates a problem with your Storybook process,
|
|
62
|
+
check the terminal for errors.
|
|
63
|
+
|
|
64
|
+
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
|
65
|
+
build.`}),this.data=t}};Ie(b0,"StoryIndexFetchError");var g0=b0,y0=class extends Ue{constructor(t){super({category:"PREVIEW_API",code:7,message:Ve`
|
|
66
|
+
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
|
|
67
|
+
references, or autodocs for a CSF file that some doesn't refer to itself.
|
|
68
|
+
|
|
69
|
+
This likely is an internal error in Storybook's indexing, or you've attached the
|
|
70
|
+
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};Ie(y0,"MdxFileWithNoCsfReferencesError");var v0=y0,w0=class extends Ue{constructor(){super({category:"PREVIEW_API",code:8,message:Ve`
|
|
71
|
+
Couldn't find any stories in your Storybook.
|
|
72
|
+
|
|
73
|
+
- Please check your stories field of your main.js config: does it match correctly?
|
|
74
|
+
- Also check the browser console and terminal for error messages.`})}};Ie(w0,"EmptyIndexError");var E0=w0,x0=class extends Ue{constructor(t){super({category:"PREVIEW_API",code:9,message:Ve`
|
|
75
|
+
Couldn't find story matching '${t.storySpecifier}'.
|
|
76
|
+
|
|
77
|
+
- Are you sure a story with that id exists?
|
|
78
|
+
- Please check your stories field of your main.js config.
|
|
79
|
+
- Also check the browser console and terminal for error messages.`}),this.data=t}};Ie(x0,"NoStoryMatchError");var C0=x0,S0=class extends Ue{constructor(t){super({category:"PREVIEW_API",code:10,message:Ve`
|
|
80
|
+
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
|
|
81
|
+
|
|
82
|
+
The file was indexed as if the story was there, but then after importing the file in the browser
|
|
83
|
+
we didn't find the story. Possible reasons:
|
|
84
|
+
- You are using a custom story indexer that is misbehaving.
|
|
85
|
+
- You have a custom file loader that is removing or renaming exports.
|
|
86
|
+
|
|
87
|
+
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};Ie(S0,"MissingStoryFromCsfFileError");var A0=S0,P0=class extends Ue{constructor(){super({category:"PREVIEW_API",code:11,message:Ve`
|
|
88
|
+
Cannot access the Story Store until the index is ready.
|
|
89
|
+
|
|
90
|
+
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
|
91
|
+
remove access to the store entirely`})}};Ie(P0,"StoryStoreAccessedBeforeInitializationError");var O0=P0,T0=class extends Ue{constructor(t){super({category:"PREVIEW_API",code:12,message:Ve`
|
|
92
|
+
Incorrect use of mount in the play function.
|
|
93
|
+
|
|
94
|
+
To use mount in the play function, you must satisfy the following two requirements:
|
|
95
|
+
|
|
96
|
+
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
|
97
|
+
This makes sure that Storybook does not start rendering the story before the play function begins.
|
|
98
|
+
|
|
99
|
+
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
|
100
|
+
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
|
101
|
+
which prevents Storybook from recognizing your usage of \`mount\`.
|
|
102
|
+
|
|
103
|
+
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
|
104
|
+
|
|
105
|
+
More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#run-code-before-the-component-gets-rendered
|
|
106
|
+
|
|
107
|
+
Received the following play function:
|
|
108
|
+
${t.playFunction}`}),this.data=t}};Ie(T0,"MountMustBeDestructuredError");var Un=T0,R0=class extends Ue{constructor(t){super({category:"PREVIEW_API",code:14,message:Ve`
|
|
109
|
+
No render function available for storyId '${t.id}'
|
|
110
|
+
`}),this.data=t}};Ie(R0,"NoRenderFunctionError");var Wi=R0,_0=class extends Ue{constructor(){super({category:"PREVIEW_API",code:15,message:Ve`
|
|
111
|
+
No component is mounted in your story.
|
|
112
|
+
|
|
113
|
+
This usually occurs when you destructure mount in the play function, but forget to call it.
|
|
114
|
+
|
|
115
|
+
For example:
|
|
116
|
+
|
|
117
|
+
async play({ mount, canvasElement }) {
|
|
118
|
+
// 👈 mount should be called: await mount();
|
|
119
|
+
const canvas = within(canvasElement);
|
|
120
|
+
const button = await canvas.findByRole('button');
|
|
121
|
+
await userEvent.click(button);
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
Make sure to either remove it or call mount in your play function.
|
|
125
|
+
`})}};Ie(_0,"NoStoryMountedError");var k0=_0,pN=class extends Ue{constructor(t){super({category:"PREVIEW_API",code:16,message:`Status has typeId "${t.status.typeId}" but was added to store with typeId "${t.typeId}". Full status: ${JSON.stringify(t.status,null,2)}`}),this.data=t}};Ie(pN,"StatusTypeIdMismatchError");var fN=class extends Ue{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:Ve`
|
|
126
|
+
You are importing avif images, but you don't have sharp installed.
|
|
127
|
+
|
|
128
|
+
You have to install sharp in order to use image optimization features in Next.js.
|
|
129
|
+
`})}};Ie(fN,"NextJsSharpError");var hN=class extends Ue{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:Ve`
|
|
130
|
+
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
|
131
|
+
`}),this.data=t}};Ie(hN,"NextjsRouterMocksNotAvailable");var mN=class extends Ue{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:Ve`
|
|
132
|
+
There was a failure when generating detailed ArgTypes in ${t.language} for:
|
|
133
|
+
${JSON.stringify(t.type,null,2)}
|
|
134
|
+
|
|
135
|
+
Storybook will fall back to use a generic type description instead.
|
|
136
|
+
|
|
137
|
+
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
|
138
|
+
If you think this is a bug, please detail it as much as possible in the Github issue.
|
|
139
|
+
`}),this.data=t}};Ie(mN,"UnknownArgTypesError");var bN=class extends Ue{constructor(t){super({category:"ADDON_VITEST",code:1,message:Ve`
|
|
140
|
+
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
|
|
141
|
+
|
|
142
|
+
The Storybook plugin only supports values in the following units:
|
|
143
|
+
- px, vh, vw, em, rem and %.
|
|
144
|
+
|
|
145
|
+
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
|
|
146
|
+
`}),this.data=t}};Ie(bN,"UnsupportedViewportDimensionError");var gN=class extends Ue{constructor(){super({category:"ADDON_A11Y",code:1,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-parameter",message:'The "element" parameter in parameters.a11y has been removed. Use "context" instead.'})}};Ie(gN,"ElementA11yParameterError");var yN=Object.defineProperty,I=(e,t)=>yN(e,"name",{value:t,configurable:!0}),vN={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},wN=Object.entries(vN);function ns(e){return String(e)}I(ns,"a");ns.open="";ns.close="";function t1(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}I(t1,"C");function r1(e=!1){let t=t1(e),r=I((i,s,c,u)=>{let d="",p=0;do d+=i.substring(p,u)+c,p=u+s.length,u=i.indexOf(s,p);while(~u);return d+i.substring(p)},"i"),n=I((i,s,c=i)=>{let u=I(d=>{let p=String(d),f=p.indexOf(s,i.length);return~f?i+r(p,s,c,f)+s:i+p+s},"o");return u.open=i,u.close=s,u},"g"),o={isColorSupported:t},a=I(i=>`\x1B[${i}m`,"d");for(let[i,s]of wN)o[i]=t?n(a(s[0]),a(s[1]),s[2]):ns;return o}I(r1,"p");var pr=r1();function ep(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:I(function(){return r[n]},"get")})}})}),Object.freeze(e)}I(ep,"_mergeNamespaces");function n1(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}I(n1,"getKeysOfEnumerableProperties");function Kn(e,t,r,n,o,a,i=": "){let s="",c=0,u=e.next();if(!u.done){s+=t.spacingOuter;let d=r+t.indent;for(;!u.done;){if(s+=d,c++===t.maxWidth){s+="\u2026";break}let p=a(u.value[0],t,d,n,o),f=a(u.value[1],t,d,n,o);s+=p+i+f,u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}I(Kn,"printIteratorEntries");function os(e,t,r,n,o,a){let i="",s=0,c=e.next();if(!c.done){i+=t.spacingOuter;let u=r+t.indent;for(;!c.done;){if(i+=u,s++===t.maxWidth){i+="\u2026";break}i+=a(c.value,t,u,n,o),c=e.next(),c.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}I(os,"printIteratorValues");function ma(e,t,r,n,o,a){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let s=I(u=>u instanceof DataView,"isDataView"),c=s(e)?e.byteLength:e.length;if(c>0){i+=t.spacingOuter;let u=r+t.indent;for(let d=0;d<c;d++){if(i+=u,d===t.maxWidth){i+="\u2026";break}(s(e)||d in e)&&(i+=a(s(e)?e.getInt8(d):e[d],t,u,n,o)),d<c-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}I(ma,"printListItems");function as(e,t,r,n,o,a){let i="",s=n1(e,t.compareKeys);if(s.length>0){i+=t.spacingOuter;let c=r+t.indent;for(let u=0;u<s.length;u++){let d=s[u],p=a(d,t,c,n,o),f=a(e[d],t,c,n,o);i+=`${c+p}: ${f}`,u<s.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}I(as,"printObjectProperties");var EN=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Sd=" ",xN=I((e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+Sd}[${ma(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+Sd}{${as(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+Sd+a(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},"serialize$5"),CN=I(e=>e&&e.$$typeof===EN,"test$5"),SN={serialize:xN,test:CN},AN=" ",o1=new Set(["DOMStringMap","NamedNodeMap"]),PN=/^(?:HTML\w*Collection|NodeList)$/;function a1(e){return o1.has(e)||PN.test(e)}I(a1,"testName");var ON=I(e=>e&&e.constructor&&!!e.constructor.name&&a1(e.constructor.name),"test$4");function i1(e){return e.constructor.name==="NamedNodeMap"}I(i1,"isNamedNodeMap");var TN=I((e,t,r,n,o,a)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+AN)+(o1.has(i)?`{${as(i1(e)?[...e].reduce((s,c)=>(s[c.name]=c.value,s),{}):{...e},t,r,n,o,a)}}`:`[${ma([...e],t,r,n,o,a)}]`)},"serialize$4"),RN={serialize:TN,test:ON};function tp(e){return e.replaceAll("<","<").replaceAll(">",">")}I(tp,"escapeHTML");function is(e,t,r,n,o,a,i){let s=n+r.indent,c=r.colors;return e.map(u=>{let d=t[u],p=i(d,r,s,o,a);return typeof d!="string"&&(p.includes(`
|
|
147
|
+
`)&&(p=r.spacingOuter+s+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+c.prop.open+u+c.prop.close}=${c.value.open}${p}${c.value.close}`}).join("")}I(is,"printProps");function ss(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?rp(i,t):a(i,t,r,n,o))).join("")}I(ss,"printChildren");function rp(e,t){let r=t.colors.content;return r.open+tp(e)+r.close}I(rp,"printText");function s1(e,t){let r=t.colors.comment;return`${r.open}<!--${tp(e)}-->${r.close}`}I(s1,"printComment");function ls(e,t,r,n,o){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+o+a.open}${r?`>${a.close}${r}${n.spacingOuter}${o}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}I(ls,"printElement");function us(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}I(us,"printElementAsLeaf");var _N=1,l1=3,u1=8,c1=11,kN=/^(?:(?:HTML|SVG)\w*)?Element$/;function d1(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch(t){return!1}}I(d1,"testHasAttribute");function p1(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||d1(e);return r===_N&&(kN.test(t)||o)||r===l1&&t==="Text"||r===u1&&t==="Comment"||r===c1&&t==="DocumentFragment"}I(p1,"testNode");var qN=I(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&p1(e)},"test$3");function f1(e){return e.nodeType===l1}I(f1,"nodeIsText");function h1(e){return e.nodeType===u1}I(h1,"nodeIsComment");function Yi(e){return e.nodeType===c1}I(Yi,"nodeIsFragment");var MN=I((e,t,r,n,o,a)=>{if(f1(e))return rp(e.data,t);if(h1(e))return s1(e.data,t);let i=Yi(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?us(i,t):ls(i,is(Yi(e)?[]:Array.from(e.attributes,s=>s.name).sort(),Yi(e)?{}:[...e.attributes].reduce((s,c)=>(s[c.name]=c.value,s),{}),t,r+t.indent,n,o,a),ss(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},"serialize$3"),jN={serialize:MN,test:qN},IN="@@__IMMUTABLE_ITERABLE__@@",DN="@@__IMMUTABLE_LIST__@@",NN="@@__IMMUTABLE_KEYED__@@",FN="@@__IMMUTABLE_MAP__@@",q0="@@__IMMUTABLE_ORDERED__@@",$N="@@__IMMUTABLE_RECORD__@@",LN="@@__IMMUTABLE_SEQ__@@",BN="@@__IMMUTABLE_SET__@@",HN="@@__IMMUTABLE_STACK__@@",zn=I(e=>`Immutable.${e}`,"getImmutableName"),cs=I(e=>`[${e}]`,"printAsLeaf"),ba=" ",M0="\u2026";function m1(e,t,r,n,o,a,i){return++n>t.maxDepth?cs(zn(i)):`${zn(i)+ba}{${Kn(e.entries(),t,r,n,o,a)}}`}I(m1,"printImmutableEntries");function b1(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}}}}I(b1,"getRecordEntries");function g1(e,t,r,n,o,a){let i=zn(e._name||"Record");return++n>t.maxDepth?cs(i):`${i+ba}{${Kn(b1(e),t,r,n,o,a)}}`}I(g1,"printImmutableRecord");function y1(e,t,r,n,o,a){let i=zn("Seq");return++n>t.maxDepth?cs(i):e[NN]?`${i+ba}{${e._iter||e._object?Kn(e.entries(),t,r,n,o,a):M0}}`:`${i+ba}[${e._iter||e._array||e._collection||e._iterable?os(e.values(),t,r,n,o,a):M0}]`}I(y1,"printImmutableSeq");function Ki(e,t,r,n,o,a,i){return++n>t.maxDepth?cs(zn(i)):`${zn(i)+ba}[${os(e.values(),t,r,n,o,a)}]`}I(Ki,"printImmutableValues");var UN=I((e,t,r,n,o,a)=>e[FN]?m1(e,t,r,n,o,a,e[q0]?"OrderedMap":"Map"):e[DN]?Ki(e,t,r,n,o,a,"List"):e[BN]?Ki(e,t,r,n,o,a,e[q0]?"OrderedSet":"Set"):e[HN]?Ki(e,t,r,n,o,a,"Stack"):e[LN]?y1(e,t,r,n,o,a):g1(e,t,r,n,o,a),"serialize$2"),VN=I(e=>e&&(e[IN]===!0||e[$N]===!0),"test$2"),zN={serialize:UN,test:VN};function np(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}I(np,"getDefaultExportFromCjs");var j0={exports:{}},Te={},I0;function v1(){return I0||(I0=1,(function(){function e(b){if(typeof b=="object"&&b!==null){var w=b.$$typeof;switch(w){case t:switch(b=b.type,b){case n:case a:case o:case u:case d:case h:return b;default:switch(b=b&&b.$$typeof,b){case s:case c:case f:case p:return b;case i:return b;default:return w}}case r:return w}}}I(e,"typeOf");var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");Te.ContextConsumer=i,Te.ContextProvider=s,Te.Element=t,Te.ForwardRef=c,Te.Fragment=n,Te.Lazy=f,Te.Memo=p,Te.Portal=r,Te.Profiler=a,Te.StrictMode=o,Te.Suspense=u,Te.SuspenseList=d,Te.isContextConsumer=function(b){return e(b)===i},Te.isContextProvider=function(b){return e(b)===s},Te.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},Te.isForwardRef=function(b){return e(b)===c},Te.isFragment=function(b){return e(b)===n},Te.isLazy=function(b){return e(b)===f},Te.isMemo=function(b){return e(b)===p},Te.isPortal=function(b){return e(b)===r},Te.isProfiler=function(b){return e(b)===a},Te.isStrictMode=function(b){return e(b)===o},Te.isSuspense=function(b){return e(b)===u},Te.isSuspenseList=function(b){return e(b)===d},Te.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===a||b===o||b===u||b===d||typeof b=="object"&&b!==null&&(b.$$typeof===f||b.$$typeof===p||b.$$typeof===s||b.$$typeof===i||b.$$typeof===c||b.$$typeof===m||b.getModuleId!==void 0)},Te.typeOf=e})()),Te}I(v1,"requireReactIs_development$1");var D0;function w1(){return D0||(D0=1,j0.exports=v1()),j0.exports}I(w1,"requireReactIs$1");var E1=w1(),WN=np(E1),GN=ep({__proto__:null,default:WN},[E1]),N0={exports:{}},Ce={},F0;function x1(){return F0||(F0=1,(function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=!1,b=!1,w=!1,g=!1,E=!1,C;C=Symbol.for("react.module.reference");function x(V){return!!(typeof V=="string"||typeof V=="function"||V===r||V===o||E||V===n||V===u||V===d||g||V===h||m||b||w||typeof V=="object"&&V!==null&&(V.$$typeof===f||V.$$typeof===p||V.$$typeof===a||V.$$typeof===i||V.$$typeof===c||V.$$typeof===C||V.getModuleId!==void 0))}I(x,"isValidElementType");function P(V){if(typeof V=="object"&&V!==null){var J=V.$$typeof;switch(J){case e:var le=V.type;switch(le){case r:case o:case n:case u:case d:return le;default:var ue=le&&le.$$typeof;switch(ue){case s:case i:case c:case f:case p:case a:return ue;default:return J}}case t:return J}}}I(P,"typeOf");var S=i,y=a,v=e,A=c,T=r,_=f,N=p,$=t,R=o,k=n,D=u,K=d,G=!1,te=!1;function oe(V){return G||(G=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}I(oe,"isAsyncMode");function ee(V){return te||(te=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}I(ee,"isConcurrentMode");function W(V){return P(V)===i}I(W,"isContextConsumer");function z(V){return P(V)===a}I(z,"isContextProvider");function Y(V){return typeof V=="object"&&V!==null&&V.$$typeof===e}I(Y,"isElement");function re(V){return P(V)===c}I(re,"isForwardRef");function X(V){return P(V)===r}I(X,"isFragment");function ie(V){return P(V)===f}I(ie,"isLazy");function se(V){return P(V)===p}I(se,"isMemo");function me(V){return P(V)===t}I(me,"isPortal");function Pe(V){return P(V)===o}I(Pe,"isProfiler");function L(V){return P(V)===n}I(L,"isStrictMode");function ne(V){return P(V)===u}I(ne,"isSuspense");function ae(V){return P(V)===d}I(ae,"isSuspenseList"),Ce.ContextConsumer=S,Ce.ContextProvider=y,Ce.Element=v,Ce.ForwardRef=A,Ce.Fragment=T,Ce.Lazy=_,Ce.Memo=N,Ce.Portal=$,Ce.Profiler=R,Ce.StrictMode=k,Ce.Suspense=D,Ce.SuspenseList=K,Ce.isAsyncMode=oe,Ce.isConcurrentMode=ee,Ce.isContextConsumer=W,Ce.isContextProvider=z,Ce.isElement=Y,Ce.isForwardRef=re,Ce.isFragment=X,Ce.isLazy=ie,Ce.isMemo=se,Ce.isPortal=me,Ce.isProfiler=Pe,Ce.isStrictMode=L,Ce.isSuspense=ne,Ce.isSuspenseList=ae,Ce.isValidElementType=x,Ce.typeOf=P})()),Ce}I(x1,"requireReactIs_development");var $0;function C1(){return $0||($0=1,N0.exports=x1()),N0.exports}I(C1,"requireReactIs");var S1=C1(),YN=np(S1),KN=ep({__proto__:null,default:YN},[S1]),XN=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],pn=Object.fromEntries(XN.map(e=>[e,t=>KN[e](t)||GN[e](t)]));function op(e,t=[]){if(Array.isArray(e))for(let r of e)op(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}I(op,"getChildren");function kd(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(pn.isFragment(e))return"React.Fragment";if(pn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(pn.isContextProvider(e))return"Context.Provider";if(pn.isContextConsumer(e))return"Context.Consumer";if(pn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(pn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}I(kd,"getType");function A1(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}I(A1,"getPropKeys$1");var JN=I((e,t,r,n,o,a)=>++n>t.maxDepth?us(kd(e),t):ls(kd(e),is(A1(e),e.props,t,r+t.indent,n,o,a),ss(op(e.props.children),t,r+t.indent,n,o,a),t,r),"serialize$1"),QN=I(e=>e!=null&&pn.isElement(e),"test$1"),ZN={serialize:JN,test:QN},eF=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function P1(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}I(P1,"getPropKeys");var tF=I((e,t,r,n,o,a)=>++n>t.maxDepth?us(e.type,t):ls(e.type,e.props?is(P1(e),e.props,t,r+t.indent,n,o,a):"",e.children?ss(e.children,t,r+t.indent,n,o,a):"",t,r),"serialize"),rF=I(e=>e&&e.$$typeof===eF,"test"),nF={serialize:tF,test:rF},O1=Object.prototype.toString,oF=Date.prototype.toISOString,aF=Error.prototype.toString,L0=RegExp.prototype.toString;function fa(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}I(fa,"getConstructorName");function T1(e){return typeof window<"u"&&e===window}I(T1,"isWindow");var iF=/^Symbol\((.*)\)(.*)$/,sF=/\n/g,R1=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};I(R1,"PrettyFormatPluginError");var _1=R1;function k1(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]"}I(k1,"isToStringedArrayType");function q1(e){return Object.is(e,-0)?"-0":String(e)}I(q1,"printNumber");function M1(e){return`${e}n`}I(M1,"printBigInt");function qd(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}I(qd,"printFunction");function Md(e){return String(e).replace(iF,"Symbol($1)")}I(Md,"printSymbol");function jd(e){return`[${aF.call(e)}]`}I(jd,"printError");function ap(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return q1(e);if(o==="bigint")return M1(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return qd(e,t);if(o==="symbol")return Md(e);let a=O1.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?qd(e,t):a==="[object Symbol]"?Md(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":oF.call(e):a==="[object Error]"?jd(e):a==="[object RegExp]"?r?L0.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):L0.call(e):e instanceof Error?jd(e):null}I(ap,"printBasicValue");function ip(e,t,r,n,o,a){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let i=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!a)return cr(e.toJSON(),t,r,n,o,!0);let c=O1.call(e);return c==="[object Arguments]"?i?"[Arguments]":`${s?"":"Arguments "}[${ma(e,t,r,n,o,cr)}]`:k1(c)?i?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${ma(e,t,r,n,o,cr)}]`:c==="[object Map]"?i?"[Map]":`Map {${Kn(e.entries(),t,r,n,o,cr," => ")}}`:c==="[object Set]"?i?"[Set]":`Set {${os(e.values(),t,r,n,o,cr)}}`:i||T1(e)?`[${fa(e)}]`:`${s||!t.printBasicPrototype&&fa(e)==="Object"?"":`${fa(e)} `}{${as(e,t,r,n,o,cr)}}`}I(ip,"printComplexValue");var lF={test:I(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,o,a){if(o.includes(e))return"[Circular]";o=[...o,e];let i=++n>t.maxDepth,{message:s,cause:c,...u}=e,d={message:s,...typeof c<"u"?{cause:c}:{},...e instanceof AggregateError?{errors:e.errors}:{},...u},p=e.name!=="Error"?e.name:fa(e);return i?`[${p}]`:`${p} {${Kn(Object.entries(d).values(),t,r,n,o,a)}}`}};function j1(e){return e.serialize!=null}I(j1,"isNewPlugin");function sp(e,t,r,n,o,a){let i;try{i=j1(e)?e.serialize(t,r,n,o,a,cr):e.print(t,s=>cr(s,r,n,o,a),s=>{let c=n+r.indent;return c+s.replaceAll(sF,`
|
|
148
|
+
${c}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new _1(s.message,s.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}I(sp,"printPlugin");function lp(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new _1(n.message,n.stack)}return null}I(lp,"findPlugin");function cr(e,t,r,n,o,a){let i=lp(t.plugins,e);if(i!==null)return sp(i,e,t,r,n,o);let s=ap(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:ip(e,t,r,n,o,a)}I(cr,"printer");var up={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},I1=Object.keys(up),qt={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:up};function D1(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(qt,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.')}I(D1,"validateOptions");function N1(){return I1.reduce((e,t)=>{let r=up[t],n=r&&pr[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}I(N1,"getColorsHighlight");function F1(){return I1.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}I(F1,"getColorsEmpty");function cp(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:qt.printFunctionName}I(cp,"getPrintFunctionName");function dp(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:qt.escapeRegex}I(dp,"getEscapeRegex");function pp(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:qt.escapeString}I(pp,"getEscapeString");function Id(e){var t,r,n,o,a,i,s;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:qt.callToJSON,colors:e!=null&&e.highlight?N1():F1(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:qt.compareKeys,escapeRegex:dp(e),escapeString:pp(e),indent:e!=null&&e.min?"":$1((r=e==null?void 0:e.indent)!=null?r:qt.indent),maxDepth:(n=e==null?void 0:e.maxDepth)!=null?n:qt.maxDepth,maxWidth:(o=e==null?void 0:e.maxWidth)!=null?o:qt.maxWidth,min:(a=e==null?void 0:e.min)!=null?a:qt.min,plugins:(i=e==null?void 0:e.plugins)!=null?i:qt.plugins,printBasicPrototype:(s=e==null?void 0:e.printBasicPrototype)!=null?s:!0,printFunctionName:cp(e),spacingInner:e!=null&&e.min?" ":`
|
|
149
|
+
`,spacingOuter:e!=null&&e.min?"":`
|
|
150
|
+
`}}I(Id,"getConfig");function $1(e){return Array.from({length:e+1}).join(" ")}I($1,"createIndent");function Mt(e,t){if(t&&(D1(t),t.plugins)){let n=lp(t.plugins,e);if(n!==null)return sp(n,e,Id(t),"",0,[])}let r=ap(e,cp(t),dp(t),pp(t));return r!==null?r:ip(e,Id(t),"",0,[])}I(Mt,"format");var fp={AsymmetricMatcher:SN,DOMCollection:RN,DOMElement:jN,Immutable:zN,ReactElement:ZN,ReactTestComponent:nF,Error:lF},B0={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"]},uF={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Wn="\u2026";function L1(e,t){let r=B0[uF[t]]||B0[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}I(L1,"colorise");function B1({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:s=[],truncate:c=1/0,stylize:u=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(c),seen:s,inspect:d,stylize:u};return p.colors&&(p.stylize=L1),p}I(B1,"normaliseOptions");function H1(e){return e>="\uD800"&&e<="\uDBFF"}I(H1,"isHighSurrogate");function fr(e,t,r=Wn){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&H1(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}I(fr,"truncate");function St(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",s="",c="";for(let u=0;u<o;u+=1){let d=u+1===e.length,p=u+2===e.length;c=`${Wn}(${e.length-u})`;let f=e[u];t.truncate=a-i.length-(d?0:n.length);let h=s||r(f,t)+(d?"":n),m=i.length+h.length,b=m+c.length;if(d&&m>a&&i.length+c.length<=a||!d&&!p&&b>a||(s=d?"":r(e[u+1],t)+(p?"":n),!d&&p&&b>a&&m+s.length>a))break;if(i+=h,!d&&!p&&m+s.length>=a){c=`${Wn}(${e.length-u-1})`;break}c=""}return`${i}${c}`}I(St,"inspectList");function U1(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}I(U1,"quoteComplexKey");function Gn([e,t],r){return r.truncate-=2,typeof e=="string"?e=U1(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}I(Gn,"inspectProperty");function V1(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=St(e,t);t.truncate-=n.length;let o="";return r.length&&(o=St(r.map(a=>[a,e[a]]),t,Gn)),`[ ${n}${o?`, ${o}`:""} ]`}I(V1,"inspectArray");var cF=I(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Ut(e,t){let r=cF(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let i=0;i<e.length;i++){let s=`${t.stylize(fr(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${Wn}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=St(n.map(i=>[i,e[i]]),t,Gn)),`${r}[ ${o}${a?`, ${a}`:""} ]`}I(Ut,"inspectTypedArray");function z1(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${fr(n[1],t.truncate-o.length-1)}`,"date")}I(z1,"inspectDate");function Dd(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${fr(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}I(Dd,"inspectFunction");function W1([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}I(W1,"inspectMapEntry");function G1(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}I(G1,"mapToEntries");function Y1(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${St(G1(e),t,W1)} }`)}I(Y1,"inspectMap");var dF=Number.isNaN||(e=>e!==e);function Nd(e,t){return dF(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(fr(String(e),t.truncate),"number")}I(Nd,"inspectNumber");function Fd(e,t){let r=fr(e.toString(),t.truncate-1);return r!==Wn&&(r+="n"),t.stylize(r,"bigint")}I(Fd,"inspectBigInt");function K1(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${fr(o,n)}/${r}`,"regexp")}I(K1,"inspectRegExp");function X1(e){let t=[];return e.forEach(r=>{t.push(r)}),t}I(X1,"arrayFromSet");function J1(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${St(X1(e),t)} }`)}I(J1,"inspectSet");var H0=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),pF={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},fF=16,hF=4;function Q1(e){return pF[e]||`\\u${`0000${e.charCodeAt(0).toString(fF)}`.slice(-hF)}`}I(Q1,"escape");function $d(e,t){return H0.test(e)&&(e=e.replace(H0,Q1)),t.stylize(`'${fr(e,t.truncate-2)}'`,"string")}I($d,"inspectString");function Ld(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}I(Ld,"inspectSymbol");var Z1=I(()=>"Promise{\u2026}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Z1=I((n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`},"getPromiseValue"))}catch(e){}var mF=Z1;function ha(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=St(r.map(s=>[s,e[s]]),t,Gn),a=St(n.map(s=>[s,e[s]]),t,Gn);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}I(ha,"inspectObject");var Ad=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ew(e,t){let r="";return Ad&&Ad in e&&(r=e[Ad]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ha(e,t)}`}I(ew,"inspectClass");function tw(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${St(e,t)} ]`)}I(tw,"inspectArguments");var bF=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function rw(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>bF.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=fr(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=St(r.map(i=>[i,e[i]]),t,Gn);return`${n}${o}${a?` { ${a} }`:""}`}I(rw,"inspectObject");function nw([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}I(nw,"inspectAttribute");function Ji(e,t){return St(e,t,ow,`
|
|
151
|
+
`)}I(Ji,"inspectNodeCollection");function ow(e,t){switch(e.nodeType){case 1:return hp(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}I(ow,"inspectNode");function hp(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=St(r.map(d=>[d,e.getAttribute(d)]),t,nw," ")),t.truncate-=s.length;let c=t.truncate,u=Ji(e.children,t);return u&&u.length>c&&(u=`${Wn}(${e.children.length})`),`${o}${s}${a}${u}${i}`}I(hp,"inspectHTML");var gF=typeof Symbol=="function"&&typeof Symbol.for=="function",Pd=gF?Symbol.for("chai/inspect"):"@@chai/inspect",Od=Symbol.for("nodejs.util.inspect.custom"),U0=new WeakMap,V0={},z0={undefined:I((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:I((e,t)=>t.stylize("null","null"),"null"),boolean:I((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:I((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Nd,Number:Nd,bigint:Fd,BigInt:Fd,string:$d,String:$d,function:Dd,Function:Dd,symbol:Ld,Symbol:Ld,Array:V1,Date:z1,Map:Y1,Set:J1,RegExp:K1,Promise:mF,WeakSet:I((e,t)=>t.stylize("WeakSet{\u2026}","special"),"WeakSet"),WeakMap:I((e,t)=>t.stylize("WeakMap{\u2026}","special"),"WeakMap"),Arguments:tw,Int8Array:Ut,Uint8Array:Ut,Uint8ClampedArray:Ut,Int16Array:Ut,Uint16Array:Ut,Int32Array:Ut,Uint32Array:Ut,Float32Array:Ut,Float64Array:Ut,Generator:I(()=>"","Generator"),DataView:I(()=>"","DataView"),ArrayBuffer:I(()=>"","ArrayBuffer"),Error:rw,HTMLCollection:Ji,NodeList:Ji},yF=I((e,t,r)=>Pd in e&&typeof e[Pd]=="function"?e[Pd](t):Od in e&&typeof e[Od]=="function"?e[Od](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&U0.has(e.constructor)?U0.get(e.constructor)(e,t):V0[r]?V0[r](e,t):"","inspectCustom"),vF=Object.prototype.toString;function Qi(e,t={}){let r=B1(t,Qi),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=vF.call(e).slice(8,-1)),o in z0)return z0[o](e,r);if(n&&e){let i=yF(e,r,o);if(i)return typeof i=="string"?i:Qi(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?ha(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?hp(e,r):"constructor"in e?e.constructor!==Object?ew(e,r):ha(e,r):e===Object(e)?ha(e,r):r.stylize(String(e),o)}I(Qi,"inspect");var{AsymmetricMatcher:wF,DOMCollection:EF,DOMElement:xF,Immutable:CF,ReactElement:SF,ReactTestComponent:AF}=fp,W0=[AF,SF,xF,EF,CF,wF];function Yn(e,t=10,{maxLength:r,...n}={}){let o=r!=null?r:1e4,a;try{a=Mt(e,{maxDepth:t,escapeString:!1,plugins:W0,...n})}catch(i){a=Mt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:W0,...n})}return a.length>=o&&t>1?Yn(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):a}I(Yn,"stringify");var PF=/%[sdjifoOc%]/g;function aw(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push(Vn(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(PF,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?typeof i.toString=="function"&&i.toString!==Object.prototype.toString?i.toString():Vn(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Vn(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Vn(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let s=i.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw i}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?o+=` ${a}`:o+=` ${Vn(a)}`;return o}I(aw,"format");function Vn(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Qi(e,t)}I(Vn,"inspect");function iw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}I(iw,"getDefaultExportFromCjs");function sw(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}I(sw,"isFinalObj");function Zi(e){return Object.prototype.toString.apply(e).slice(8,-1)}I(Zi,"getType");function lw(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}I(lw,"collectOwnProperties");function mp(e){let t=new Set;return sw(e)?[]:(lw(e,t),Array.from(t))}I(mp,"getOwnProperties");var uw={forceWritable:!1};function Bd(e,t=uw){return es(e,new WeakMap,t)}I(Bd,"deepClone");function es(e,t,r=uw){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=es(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let a=mp(e);for(let i of a){let s=Object.getOwnPropertyDescriptor(e,i);if(!s)continue;let c=es(e[i],t,r);r.forceWritable?Object.defineProperty(o,i,{enumerable:s.enumerable,configurable:!0,writable:!0,value:c}):"get"in s?Object.defineProperty(o,i,{...s,get(){return c}}):Object.defineProperty(o,i,{...s,value:c})}return o}return e}I(es,"clone");var ot=-1,Qe=1,Le=0,cw=class{constructor(t,r){De(this,0);De(this,1);this[0]=t,this[1]=r}};I(cw,"Diff");var Ne=cw;function dw(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(a,o)===t.substring(a,o)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o}I(dw,"diff_commonPrefix");function bp(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(e.length-o,e.length-a)===t.substring(t.length-o,t.length-a)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o}I(bp,"diff_commonSuffix");function Hd(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let a=0,i=1;for(;;){let s=e.substring(o-i),c=t.indexOf(s);if(c===-1)return a;i+=c,(c===0||e.substring(o-i)===t.substring(0,i))&&(a=i,i++)}}I(Hd,"diff_commonOverlap_");function pw(e){let t=!1,r=[],n=0,o=null,a=0,i=0,s=0,c=0,u=0;for(;a<e.length;)e[a][0]===Le?(r[n++]=a,i=c,s=u,c=0,u=0,o=e[a][1]):(e[a][0]===Qe?c+=e[a][1].length:u+=e[a][1].length,o&&o.length<=Math.max(i,s)&&o.length<=Math.max(c,u)&&(e.splice(r[n-1],0,new Ne(ot,o)),e[r[n-1]+1][0]=Qe,n--,n--,a=n>0?r[n-1]:-1,i=0,s=0,c=0,u=0,o=null,t=!0)),a++;for(t&&gp(e),fw(e),a=1;a<e.length;){if(e[a-1][0]===ot&&e[a][0]===Qe){let d=e[a-1][1],p=e[a][1],f=Hd(d,p),h=Hd(p,d);f>=h?(f>=d.length/2||f>=p.length/2)&&(e.splice(a,0,new Ne(Le,p.substring(0,f))),e[a-1][1]=d.substring(0,d.length-f),e[a+1][1]=p.substring(f),a++):(h>=d.length/2||h>=p.length/2)&&(e.splice(a,0,new Ne(Le,d.substring(0,h))),e[a-1][0]=Qe,e[a-1][1]=p.substring(0,p.length-h),e[a+1][0]=ot,e[a+1][1]=d.substring(h),a++),a++}a++}}I(pw,"diff_cleanupSemantic");var G0=/[^a-z0-9]/i,Y0=/\s/,K0=/[\r\n]/,OF=/\n\r?\n$/,TF=/^\r?\n\r?\n/;function fw(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Le&&e[t+1][0]===Le){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],a=bp(r,n);if(a){let d=n.substring(n.length-a);r=r.substring(0,r.length-a),n=d+n.substring(0,n.length-a),o=d+o}let i=r,s=n,c=o,u=da(r,n)+da(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let d=da(r,n)+da(n,o);d>=u&&(u=d,i=r,s=n,c=o)}e[t-1][1]!==i&&(i?e[t-1][1]=i:(e.splice(t-1,1),t--),e[t][1]=s,c?e[t+1][1]=c:(e.splice(t+1,1),t--))}t++}}I(fw,"diff_cleanupSemanticLossless");function gp(e){e.push(new Ne(Le,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case Qe:n++,a+=e[t][1],t++;break;case ot:r++,o+=e[t][1],t++;break;case Le:r+n>1?(r!==0&&n!==0&&(i=dw(a,o),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===Le?e[t-r-n-1][1]+=a.substring(0,i):(e.splice(0,0,new Ne(Le,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=bp(a,o),i!==0&&(e[t][1]=a.substring(a.length-i)+e[t][1],a=a.substring(0,a.length-i),o=o.substring(0,o.length-i))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Ne(ot,o)),t++),a.length&&(e.splice(t,0,new Ne(Qe,a)),t++),t++):t!==0&&e[t-1][0]===Le?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",a="";break}e[e.length-1][1]===""&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===Le&&e[t+1][0]===Le&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),s=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),s=!0)),t++;s&&gp(e)}I(gp,"diff_cleanupMerge");function da(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(G0),a=n.match(G0),i=o&&r.match(Y0),s=a&&n.match(Y0),c=i&&r.match(K0),u=s&&n.match(K0),d=c&&e.match(OF),p=u&&t.match(TF);return d||p?5:c||u?4:o&&!i&&s?3:i||s?2:o||a?1:0}I(da,"diff_cleanupSemanticScore_");var hw="Compared values have no visual difference.",RF="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Gi={},X0;function mw(){if(X0)return Gi;X0=1,Object.defineProperty(Gi,"__esModule",{value:!0}),Gi.default=f;let e="diff-sequences",t=0,r=I((h,m,b,w,g)=>{let E=0;for(;h<m&&b<w&&g(h,b);)h+=1,b+=1,E+=1;return E},"countCommonItemsF"),n=I((h,m,b,w,g)=>{let E=0;for(;h<=m&&b<=w&&g(m,w);)m-=1,w-=1,E+=1;return E},"countCommonItemsR"),o=I((h,m,b,w,g,E,C)=>{let x=0,P=-h,S=E[x],y=S;E[x]+=r(S+1,m,w+S-P+1,b,g);let v=h<C?h:C;for(x+=1,P+=2;x<=v;x+=1,P+=2){if(x!==h&&y<E[x])S=E[x];else if(S=y+1,m<=S)return x-1;y=E[x],E[x]=S+r(S+1,m,w+S-P+1,b,g)}return C},"extendPathsF"),a=I((h,m,b,w,g,E,C)=>{let x=0,P=h,S=E[x],y=S;E[x]-=n(m,S-1,b,w+S-P-1,g);let v=h<C?h:C;for(x+=1,P-=2;x<=v;x+=1,P-=2){if(x!==h&&E[x]<y)S=E[x];else if(S=y-1,S<m)return x-1;y=E[x],E[x]=S-n(m,S-1,b,w+S-P-1,g)}return C},"extendPathsR"),i=I((h,m,b,w,g,E,C,x,P,S,y)=>{let v=w-m,A=b-m,T=g-w-A,_=-T-(h-1),N=-T+(h-1),$=t,R=h<x?h:x;for(let k=0,D=-h;k<=R;k+=1,D+=2){let K=k===0||k!==h&&$<C[k],G=K?C[k]:$,te=K?G:G+1,oe=v+te-D,ee=r(te+1,b,oe+1,g,E),W=te+ee;if($=C[k],C[k]=W,_<=D&&D<=N){let z=(h-1-(D+T))/2;if(z<=S&&P[z]-1<=W){let Y=v+G-(K?D+1:D-1),re=n(m,G,w,Y,E),X=G-re,ie=Y-re,se=X+1,me=ie+1;y.nChangePreceding=h-1,h-1===se+me-m-w?(y.aEndPreceding=m,y.bEndPreceding=w):(y.aEndPreceding=se,y.bEndPreceding=me),y.nCommonPreceding=re,re!==0&&(y.aCommonPreceding=se,y.bCommonPreceding=me),y.nCommonFollowing=ee,ee!==0&&(y.aCommonFollowing=te+1,y.bCommonFollowing=oe+1);let Pe=W+1,L=oe+ee+1;return y.nChangeFollowing=h-1,h-1===b+g-Pe-L?(y.aStartFollowing=b,y.bStartFollowing=g):(y.aStartFollowing=Pe,y.bStartFollowing=L),!0}}}return!1},"extendOverlappablePathsF"),s=I((h,m,b,w,g,E,C,x,P,S,y)=>{let v=g-b,A=b-m,T=g-w-A,_=T-h,N=T+h,$=t,R=h<S?h:S;for(let k=0,D=h;k<=R;k+=1,D-=2){let K=k===0||k!==h&&P[k]<$,G=K?P[k]:$,te=K?G:G-1,oe=v+te-D,ee=n(m,te-1,w,oe-1,E),W=te-ee;if($=P[k],P[k]=W,_<=D&&D<=N){let z=(h+(D-T))/2;if(z<=x&&W-1<=C[z]){let Y=oe-ee;if(y.nChangePreceding=h,h===W+Y-m-w?(y.aEndPreceding=m,y.bEndPreceding=w):(y.aEndPreceding=W,y.bEndPreceding=Y),y.nCommonPreceding=ee,ee!==0&&(y.aCommonPreceding=W,y.bCommonPreceding=Y),y.nChangeFollowing=h-1,h===1)y.nCommonFollowing=0,y.aStartFollowing=b,y.bStartFollowing=g;else{let re=v+G-(K?D-1:D+1),X=r(G,b,re,g,E);y.nCommonFollowing=X,X!==0&&(y.aCommonFollowing=G,y.bCommonFollowing=re);let ie=G+X,se=re+X;h-1===b+g-ie-se?(y.aStartFollowing=b,y.bStartFollowing=g):(y.aStartFollowing=ie,y.bStartFollowing=se)}return!0}}}return!1},"extendOverlappablePathsR"),c=I((h,m,b,w,g,E,C,x,P)=>{let S=w-m,y=g-b,v=b-m,A=g-w,T=A-v,_=v,N=v;if(C[0]=m-1,x[0]=b,T%2===0){let $=(h||T)/2,R=(v+A)/2;for(let k=1;k<=R;k+=1)if(_=o(k,b,g,S,E,C,_),k<$)N=a(k,m,w,y,E,x,N);else if(s(k,m,b,w,g,E,C,_,x,N,P))return}else{let $=((h||T)+1)/2,R=(v+A+1)/2,k=1;for(_=o(k,b,g,S,E,C,_),k+=1;k<=R;k+=1)if(N=a(k-1,m,w,y,E,x,N),k<$)_=o(k,b,g,S,E,C,_);else if(i(k,m,b,w,g,E,C,_,x,N,P))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${b} bStart=${w} bEnd=${g}`)},"divide"),u=I((h,m,b,w,g,E,C,x,P,S)=>{if(g-w<b-m){if(E=!E,E&&C.length===1){let{foundSubsequence:z,isCommon:Y}=C[0];C[1]={foundSubsequence:I((re,X,ie)=>{z(re,ie,X)},"foundSubsequence"),isCommon:I((re,X)=>Y(X,re),"isCommon")}}let ee=m,W=b;m=w,b=g,w=ee,g=W}let{foundSubsequence:y,isCommon:v}=C[E?1:0];c(h,m,b,w,g,v,x,P,S);let{nChangePreceding:A,aEndPreceding:T,bEndPreceding:_,nCommonPreceding:N,aCommonPreceding:$,bCommonPreceding:R,nCommonFollowing:k,aCommonFollowing:D,bCommonFollowing:K,nChangeFollowing:G,aStartFollowing:te,bStartFollowing:oe}=S;m<T&&w<_&&u(A,m,T,w,_,E,C,x,P,S),N!==0&&y(N,$,R),k!==0&&y(k,D,K),te<b&&oe<g&&u(G,te,b,oe,g,E,C,x,P,S)},"findSubsequences"),d=I((h,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${h} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${h} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${h} value ${m} is a negative integer`)},"validateLength"),p=I((h,m)=>{let b=typeof m;if(b!=="function")throw new TypeError(`${e}: ${h} typeof ${b} is not a function`)},"validateCallback");function f(h,m,b,w){d("aLength",h),d("bLength",m),p("isCommon",b),p("foundSubsequence",w);let g=r(0,h,0,m,b);if(g!==0&&w(g,0,0),h!==g||m!==g){let E=g,C=g,x=n(E,h-1,C,m-1,b),P=h-x,S=m-x,y=g+x;h!==y&&m!==y&&u(0,E,P,C,S,!1,[{foundSubsequence:w,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}),x!==0&&w(x,P,S)}}return I(f,"diffSequence"),Gi}I(mw,"requireBuild");var _F=mw(),bw=iw(_F);function gw(e,t){return e.replace(/\s+$/,r=>t(r))}I(gw,"formatTrailingSpaces");function ds(e,t,r,n,o,a){return e.length!==0?r(`${n} ${gw(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}I(ds,"printDiffLine");function yp(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return ds(e,t,r,n,o,a)}I(yp,"printDeleteLine");function vp(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return ds(e,t,r,n,o,a)}I(vp,"printInsertLine");function wp(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return ds(e,t,r,n,o,a)}I(wp,"printCommonLine");function Ud(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}I(Ud,"createPatchMark");function yw(e,t){let r=e.length,n=t.contextLines,o=n+n,a=r,i=!1,s=0,c=0;for(;c!==r;){let x=c;for(;c!==r&&e[c][0]===Le;)c+=1;if(x!==c)if(x===0)c>n&&(a-=c-n,i=!0);else if(c===r){let P=c-x;P>n&&(a-=P-n,i=!0)}else{let P=c-x;P>o&&(a-=P-o,s+=1)}for(;c!==r&&e[c][0]!==Le;)c+=1}let u=s!==0||i;s!==0?a+=s+1:i&&(a+=1);let d=a-1,p=[],f=0;u&&p.push("");let h=0,m=0,b=0,w=0,g=I(x=>{let P=p.length;p.push(wp(x,P===0||P===d,t)),b+=1,w+=1},"pushCommonLine"),E=I(x=>{let P=p.length;p.push(yp(x,P===0||P===d,t)),b+=1},"pushDeleteLine"),C=I(x=>{let P=p.length;p.push(vp(x,P===0||P===d,t)),w+=1},"pushInsertLine");for(c=0;c!==r;){let x=c;for(;c!==r&&e[c][0]===Le;)c+=1;if(x!==c)if(x===0){c>n&&(x=c-n,h=x,m=x,b=h,w=m);for(let P=x;P!==c;P+=1)g(e[P][1])}else if(c===r){let P=c-x>n?x+n:c;for(let S=x;S!==P;S+=1)g(e[S][1])}else{let P=c-x;if(P>o){let S=x+n;for(let v=x;v!==S;v+=1)g(e[v][1]);p[f]=Ud(h,b,m,w,t),f=p.length,p.push("");let y=P-o;h=b+y,m=w+y,b=h,w=m;for(let v=c-n;v!==c;v+=1)g(e[v][1])}else for(let S=x;S!==c;S+=1)g(e[S][1])}for(;c!==r&&e[c][0]===ot;)E(e[c][1]),c+=1;for(;c!==r&&e[c][0]===Qe;)C(e[c][1]),c+=1}return u&&(p[f]=Ud(h,b,m,w,t)),p.join(`
|
|
152
|
+
`)}I(yw,"joinAlignedDiffsNoExpand");function vw(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case ot:return yp(a,i,t);case Qe:return vp(a,i,t);default:return wp(a,i,t)}}).join(`
|
|
153
|
+
`)}I(vw,"joinAlignedDiffsExpand");var Td=I(e=>e,"noColor"),ww=5,kF=0;function Ew(){return{aAnnotation:"Expected",aColor:pr.green,aIndicator:"-",bAnnotation:"Received",bColor:pr.red,bIndicator:"+",changeColor:pr.inverse,changeLineTrailingSpaceColor:Td,commonColor:pr.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Td,compareKeys:void 0,contextLines:ww,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:pr.yellow,printBasicPrototype:!1,truncateThreshold:kF,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Td}}I(Ew,"getDefaultOptions");function xw(e){return e&&typeof e=="function"?e:void 0}I(xw,"getCompareKeys");function Cw(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:ww}I(Cw,"getContextLines");function $r(e={}){return{...Ew(),...e,compareKeys:xw(e.compareKeys),contextLines:Cw(e.contextLines)}}I($r,"normalizeDiffOptions");function fn(e){return e.length===1&&e[0].length===0}I(fn,"isEmptyString");function Sw(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case ot:t+=1;break;case Qe:r+=1;break}}),{a:t,b:r}}I(Sw,"countChanges");function Aw({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:a,includeChangeCounts:i,omitAnnotationLines:s},c){if(s)return"";let u="",d="";if(i){let h=String(c.a),m=String(c.b),b=n.length-e.length,w=" ".repeat(Math.max(0,b)),g=" ".repeat(Math.max(0,-b)),E=m.length-h.length,C=" ".repeat(Math.max(0,E)),x=" ".repeat(Math.max(0,-E));u=`${w} ${r} ${C}${h}`,d=`${g} ${a} ${x}${m}`}let p=`${r} ${e}${u}`,f=`${a} ${n}${d}`;return`${t(p)}
|
|
154
|
+
${o(f)}
|
|
155
|
+
|
|
156
|
+
`}I(Aw,"printAnnotation");function ps(e,t,r){return Aw(r,Sw(e))+(r.expand?vw(e,r):yw(e,r))+(t?r.truncateAnnotationColor(`
|
|
157
|
+
${r.truncateAnnotation}`):"")}I(ps,"printDiffLines");function ga(e,t,r){let n=$r(r),[o,a]=Ep(fn(e)?[]:e,fn(t)?[]:t,n);return ps(o,a,n)}I(ga,"diffLinesUnified");function Pw(e,t,r,n,o){if(fn(e)&&fn(r)&&(e=[],r=[]),fn(t)&&fn(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return ga(e,t,o);let[a,i]=Ep(r,n,o),s=0,c=0;return a.forEach(u=>{switch(u[0]){case ot:u[1]=e[s],s+=1;break;case Qe:u[1]=t[c],c+=1;break;default:u[1]=t[c],s+=1,c+=1}}),ps(a,i,$r(o))}I(Pw,"diffLinesUnified2");function Ep(e,t,r){var f,h;let n=(f=r==null?void 0:r.truncateThreshold)!=null?f:!1,o=Math.max(Math.floor((h=r==null?void 0:r.truncateThreshold)!=null?h:0),0),a=n?Math.min(e.length,o):e.length,i=n?Math.min(t.length,o):t.length,s=a!==e.length||i!==t.length,c=I((m,b)=>e[m]===t[b],"isCommon"),u=[],d=0,p=0;for(bw(a,i,c,I((m,b,w)=>{for(;d!==b;d+=1)u.push(new Ne(ot,e[d]));for(;p!==w;p+=1)u.push(new Ne(Qe,t[p]));for(;m!==0;m-=1,d+=1,p+=1)u.push(new Ne(Le,t[p]))},"foundSubsequence"));d!==a;d+=1)u.push(new Ne(ot,e[d]));for(;p!==i;p+=1)u.push(new Ne(Qe,t[p]));return[u,s]}I(Ep,"diffLinesRaw");function Vd(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}`)}I(Vd,"getType");function zd(e){return e.includes(`\r
|
|
158
|
+
`)?`\r
|
|
159
|
+
`:`
|
|
160
|
+
`}I(zd,"getNewLineSymbol");function Ow(e,t,r){var f,h;let n=(f=r==null?void 0:r.truncateThreshold)!=null?f:!1,o=Math.max(Math.floor((h=r==null?void 0:r.truncateThreshold)!=null?h:0),0),a=e.length,i=t.length;if(n){let m=e.includes(`
|
|
161
|
+
`),b=t.includes(`
|
|
162
|
+
`),w=zd(e),g=zd(t),E=m?`${e.split(w,o).join(w)}
|
|
163
|
+
`:e,C=b?`${t.split(g,o).join(g)}
|
|
164
|
+
`:t;a=E.length,i=C.length}let s=a!==e.length||i!==t.length,c=I((m,b)=>e[m]===t[b],"isCommon"),u=0,d=0,p=[];return bw(a,i,c,I((m,b,w)=>{u!==b&&p.push(new Ne(ot,e.slice(u,b))),d!==w&&p.push(new Ne(Qe,t.slice(d,w))),u=b+m,d=w+m,p.push(new Ne(Le,t.slice(w,d)))},"foundSubsequence")),u!==a&&p.push(new Ne(ot,e.slice(u))),d!==i&&p.push(new Ne(Qe,t.slice(d))),[p,s]}I(Ow,"diffStrings");function Tw(e,t,r){return t.reduce((n,o)=>n+(o[0]===Le?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}I(Tw,"concatenateRelevantDiffs");var Rw=class{constructor(t,r){De(this,"op");De(this,"line");De(this,"lines");De(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new Ne(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new Ne(this.op,Tw(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Ne(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
|
|
165
|
+
`)){let n=r.split(`
|
|
166
|
+
`),o=n.length-1;n.forEach((a,i)=>{i<o?(this.pushSubstring(a),this.pushLine()):a.length!==0&&this.pushSubstring(a)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};I(Rw,"ChangeBuffer");var J0=Rw,_w=class{constructor(t,r){De(this,"deleteBuffer");De(this,"insertBuffer");De(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
|
|
167
|
+
`)){let o=n.split(`
|
|
168
|
+
`),a=o.length-1;o.forEach((i,s)=>{if(s===0){let c=new Ne(r,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(c)):(this.pushDiffChangeLines(c),this.flushChangeLines())}else s<a?this.pushDiffCommonLine(new Ne(r,i)):i.length!==0&&this.pushDiffChangeLines(new Ne(r,i))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};I(_w,"CommonBuffer");var qF=_w;function kw(e,t){let r=new J0(ot,t),n=new J0(Qe,t),o=new qF(r,n);return e.forEach(a=>{switch(a[0]){case ot:r.align(a);break;case Qe:n.align(a);break;default:o.align(a)}}),o.getLines()}I(kw,"getAlignedDiffs");function qw(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Le&&(o!==r||n[1]!==`
|
|
169
|
+
`))}return e.some(r=>r[0]===Le)}I(qw,"hasCommonDiff");function Mw(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
170
|
+
`)||t.includes(`
|
|
171
|
+
`),[o,a]=xp(n?`${e}
|
|
172
|
+
`:e,n?`${t}
|
|
173
|
+
`:t,!0,r);if(qw(o,n)){let i=$r(r),s=kw(o,i.changeColor);return ps(s,a,i)}}return ga(e.split(`
|
|
174
|
+
`),t.split(`
|
|
175
|
+
`),r)}I(Mw,"diffStringsUnified");function xp(e,t,r,n){let[o,a]=Ow(e,t,n);return r&&pw(o),[o,a]}I(xp,"diffStringsRaw");function ts(e,t){let{commonColor:r}=$r(t);return r(e)}I(ts,"getCommonMessage");var{AsymmetricMatcher:MF,DOMCollection:jF,DOMElement:IF,Immutable:DF,ReactElement:NF,ReactTestComponent:FF}=fp,jw=[FF,NF,IF,jF,DF,MF,fp.Error],Wd={maxDepth:20,plugins:jw},Iw={callToJSON:!1,maxDepth:8,plugins:jw};function Dw(e,t,r){if(Object.is(e,t))return"";let n=Vd(e),o=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),a=o==="string"}if(o!==Vd(t)){let i=function(C){return C.length<=w?C:`${C.slice(0,w)}...`};I(i,"truncate");let{aAnnotation:s,aColor:c,aIndicator:u,bAnnotation:d,bColor:p,bIndicator:f}=$r(r),h=rs(Iw,r),m=Mt(e,h),b=Mt(t,h),w=1e5;m=i(m),b=i(b);let g=`${c(`${u} ${s}:`)}
|
|
176
|
+
${m}`,E=`${p(`${f} ${d}:`)}
|
|
177
|
+
${b}`;return`${g}
|
|
178
|
+
|
|
179
|
+
${E}`}if(!a)switch(n){case"string":return ga(e.split(`
|
|
180
|
+
`),t.split(`
|
|
181
|
+
`),r);case"boolean":case"number":return Nw(e,t,r);case"map":return Xi(Gd(e),Gd(t),r);case"set":return Xi(Yd(e),Yd(t),r);default:return Xi(e,t,r)}}I(Dw,"diff");function Nw(e,t,r){let n=Mt(e,Wd),o=Mt(t,Wd);return n===o?"":ga(n.split(`
|
|
182
|
+
`),o.split(`
|
|
183
|
+
`),r)}I(Nw,"comparePrimitive");function Gd(e){return new Map(Array.from(e.entries()).sort())}I(Gd,"sortMap");function Yd(e){return new Set(Array.from(e.values()).sort())}I(Yd,"sortSet");function Xi(e,t,r){let n,o=!1;try{let i=rs(Wd,r);n=Kd(e,t,i,r)}catch(i){o=!0}let a=ts(hw,r);if(n===void 0||n===a){let i=rs(Iw,r);n=Kd(e,t,i,r),n!==a&&!o&&(n=`${ts(RF,r)}
|
|
184
|
+
|
|
185
|
+
${n}`)}return n}I(Xi,"compareObjects");function rs(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:o}=$r(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o!=null?o:e.maxDepth}}I(rs,"getFormatOptions");function Kd(e,t,r,n){let o={...r,indent:0},a=Mt(e,o),i=Mt(t,o);if(a===i)return ts(hw,n);{let s=Mt(e,r),c=Mt(t,r);return Pw(s.split(`
|
|
186
|
+
`),c.split(`
|
|
187
|
+
`),a.split(`
|
|
188
|
+
`),i.split(`
|
|
189
|
+
`),n)}}I(Kd,"getObjectsDifference");var Q0=2e4;function Xd(e){return Zi(e)==="Object"&&typeof e.asymmetricMatch=="function"}I(Xd,"isAsymmetricMatcher");function Jd(e,t){let r=Zi(e),n=Zi(t);return r===n&&(r==="Object"||r==="Array")}I(Jd,"isReplaceable");function Fw(e,t,r){let{aAnnotation:n,bAnnotation:o}=$r(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=Q0&&e.length<=Q0&&t!==e){if(t.includes(`
|
|
190
|
+
`)||e.includes(`
|
|
191
|
+
`))return Mw(t,e,r);let[u]=xp(t,e,!0),d=u.some(m=>m[0]===Le),p=$w(n,o),f=p(n)+Bw(Qd(u,ot,d)),h=p(o)+Lw(Qd(u,Qe,d));return`${f}
|
|
192
|
+
${h}`}let a=Bd(t,{forceWritable:!0}),i=Bd(e,{forceWritable:!0}),{replacedExpected:s,replacedActual:c}=Cp(i,a);return Dw(s,c,r)}I(Fw,"printDiffOrStringify");function Cp(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):Jd(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),mp(t).forEach(o=>{let a=t[o],i=e[o];if(Xd(a))a.asymmetricMatch(i)&&(e[o]=a);else if(Xd(i))i.asymmetricMatch(a)&&(t[o]=i);else if(Jd(i,a)){let s=Cp(i,a,r,n);e[o]=s.replacedActual,t[o]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}I(Cp,"replaceAsymmetricMatcher");function $w(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}I($w,"getLabelPrinter");var $F="\xB7";function Sp(e){return e.replace(/\s+$/gm,t=>$F.repeat(t.length))}I(Sp,"replaceTrailingSpaces");function Lw(e){return pr.red(Sp(Yn(e)))}I(Lw,"printReceived");function Bw(e){return pr.green(Sp(Yn(e)))}I(Bw,"printExpected");function Qd(e,t,r){return e.reduce((n,o)=>n+(o[0]===Le?o[1]:o[0]===t?r?pr.inverse(o[1]):o[1]:""),"")}I(Qd,"getCommonAndChangedSubstrings");var LF="@@__IMMUTABLE_RECORD__@@",BF="@@__IMMUTABLE_ITERABLE__@@";function Hw(e){return e&&(e[BF]||e[LF])}I(Hw,"isImmutable");var HF=Object.getPrototypeOf({});function Zd(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}I(Zd,"getUnserializableMessage");function dr(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&pa(()=>{var n;return(n=r.message)!=null?n:r.message=e.message}),typeof e.stack=="string"&&pa(()=>{var n;return(n=r.stack)!=null?n:r.stack=e.stack}),typeof e.name=="string"&&pa(()=>{var n;return(n=r.name)!=null?n:r.name=e.name}),e.cause!=null&&pa(()=>{var n;return(n=r.cause)!=null?n:r.cause=dr(e.cause,t)})),dr(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(Hw(e))return dr(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()} ${aw(e.sample)}`;if(typeof e.toJSON=="function")return dr(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=dr(n,t)}catch(a){r[o]=Zd(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==HF;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=dr(e[o],t)}catch(a){delete r[o],r[o]=Zd(a)}}),n=Object.getPrototypeOf(n);return r}}I(dr,"serializeValue");function pa(e){try{return e()}catch(t){}}I(pa,"safe");function Uw(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}I(Uw,"normalizeErrorMessage");function Ap(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Fw(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Yn(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Yn(n.actual,10));try{typeof n.message=="string"&&(n.message=Uw(n.message))}catch(o){}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Ap(n.cause,t,r))}catch(o){}try{return dr(n)}catch(o){return dr(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
|
|
193
|
+
Inner error message: ${n==null?void 0:n.message}`))}}I(Ap,"processError");var ur={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"},Rd=globalThis.__STORYBOOK_ADDONS_PREVIEW;var UF=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Z0=I(e=>Object.prototype.toString.call(e)==="[object Object]","isObject"),VF=I(e=>Object.prototype.toString.call(e)==="[object Module]","isModule"),zF=I(e=>{if(!Z0(e)&&!VF(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Z0(t)},"isInstrumentable"),WF=I(e=>{try{return new e.constructor}catch(t){return{}}},"construct"),_d=I(()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),"getInitialState"),e1=I((e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},"getRetainedState"),Vw=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=I(()=>{var c,u;try{this.state=((u=(c=Z.window)==null?void 0:c.parent)==null?void 0:u.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{}}catch(d){this.detached=!0}},"loadParentWindowState"),this.updateParentWindowState=I(()=>{try{Z.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch(c){this.detached=!0}},"updateParentWindowState"),this.loadParentWindowState();let t=I(({storyId:c,renderPhase:u,isPlaying:d=!0,isDebugging:p=!1})=>{let f=this.getState(c);this.setState(c,{..._d(),...e1(f,p),renderPhase:u||f.renderPhase,shadowCalls:p?f.shadowCalls:[],chainedCallIds:p?f.chainedCallIds:new Set,playUntil:p?f.playUntil:void 0,isPlaying:d,isDebugging:p}),this.sync(c)},"resetState"),r=I(c=>({storyId:u,playUntil:d})=>{this.getState(u).isDebugging||this.setState(u,({calls:f})=>({calls:[],shadowCalls:f.map(h=>({...h,status:"waiting"})),isDebugging:!0}));let p=this.getLog(u);this.setState(u,({shadowCalls:f})=>{var m;if(d||!p.length)return{playUntil:d};let h=f.findIndex(b=>b.id===p[0].callId);return{playUntil:(m=f.slice(0,h).filter(b=>{var w;return b.interceptable&&!((w=b.ancestors)!=null&&w.length)}).slice(-1)[0])==null?void 0:m.id}}),c.emit(Bn,{storyId:u,isDebugging:!0})},"start"),n=I(c=>({storyId:u})=>{var f;let d=this.getLog(u).filter(h=>{var m;return!((m=h.ancestors)!=null&&m.length)}),p=d.reduceRight((h,m,b)=>h>=0||m.status==="waiting"?h:b,-1);r(c)({storyId:u,playUntil:(f=d[p-1])==null?void 0:f.callId})},"back"),o=I(c=>({storyId:u,callId:d})=>{var w;let{calls:p,shadowCalls:f,resolvers:h}=this.getState(u),m=p.find(({id:g})=>g===d),b=f.find(({id:g})=>g===d);if(!m&&b&&Object.values(h).length>0){let g=(w=this.getLog(u).find(E=>E.status==="waiting"))==null?void 0:w.callId;b.id!==g&&this.setState(u,{playUntil:b.id}),Object.values(h).forEach(E=>E())}else r(c)({storyId:u,playUntil:d})},"goto"),a=I(c=>({storyId:u})=>{var p;let{resolvers:d}=this.getState(u);if(Object.values(d).length>0)Object.values(d).forEach(f=>f());else{let f=(p=this.getLog(u).find(h=>h.status==="waiting"))==null?void 0:p.callId;f?r(c)({storyId:u,playUntil:f}):i({storyId:u})}},"next"),i=I(({storyId:c})=>{this.setState(c,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(c).resolvers).forEach(u=>u())},"end"),s=I(({storyId:c,newPhase:u})=>{let{isDebugging:d}=this.getState(c);if(u==="preparing"&&d)return t({storyId:c,renderPhase:u});if(u==="playing")return t({storyId:c,renderPhase:u,isDebugging:d});u==="played"?this.setState(c,{renderPhase:u,isLocked:!1,isPlaying:!1,isDebugging:!1}):u==="errored"?this.setState(c,{renderPhase:u,isLocked:!1,isPlaying:!1}):u==="aborted"?this.setState(c,{renderPhase:u,isLocked:!0,isPlaying:!1}):this.setState(c,{renderPhase:u}),this.sync(c)},"renderPhaseChanged");Rd&&Rd.ready().then(()=>{this.channel=Rd.getChannel(),this.channel.on(Bn,t),this.channel.on(kt,s),this.channel.on(oa,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(ur.START,r(this.channel)),this.channel.on(ur.BACK,n(this.channel)),this.channel.on(ur.GOTO,o(this.channel)),this.channel.on(ur.NEXT,a(this.channel)),this.channel.on(ur.END,i)})}getState(t){return this.state[t]||_d()}setState(t,r){if(t){let n=this.getState(t),o=typeof r=="function"?r(n):r;this.state={...this.state,[t]:{...n,...o}},this.updateParentWindowState()}}cleanup(){var r;this.state=Object.entries(this.state).reduce((n,[o,a])=>{let i=e1(a);return i&&(n[o]=Object.assign(_d(),i)),n},{});let t={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};(r=this.channel)==null||r.emit(ur.SYNC,t),this.updateParentWindowState()}getLog(t){let{calls:r,shadowCalls:n}=this.getState(t),o=[...n];r.forEach((i,s)=>{o[s]=i});let a=new Set;return o.reduceRight((i,s)=>(s.args.forEach(c=>{c!=null&&c.__callId__&&a.add(c.__callId__)}),s.path.forEach(c=>{c.__callId__&&a.add(c.__callId__)}),(s.interceptable||s.exception)&&!a.has(s.id)&&(i.unshift({callId:s.id,status:s.status,ancestors:s.ancestors}),a.add(s.id)),i),[])}instrument(t,r,n=0){if(!zF(t))return t;let{mutate:o=!1,path:a=[]}=r,i=r.getKeys?r.getKeys(t,n):Object.keys(t);return n+=1,i.reduce((s,c)=>{let u=zw(t,c);if(typeof(u==null?void 0:u.get)=="function"){if(u.configurable){let p=I(()=>{var f,h;return(h=(f=u==null?void 0:u.get)==null?void 0:f.bind(t))==null?void 0:h()},"getter");Object.defineProperty(s,c,{get:I(()=>this.instrument(p(),{...r,path:a.concat(c)},n),"get")})}return s}let d=t[c];return typeof d!="function"?(s[c]=this.instrument(d,{...r,path:a.concat(c)},n),s):"__originalFn__"in d&&typeof d.__originalFn__=="function"?(s[c]=d,s):(s[c]=(...p)=>this.track(c,d,t,p,r),s[c].__originalFn__=d,Object.defineProperty(s[c],"name",{value:c,writable:!1}),Object.keys(d).length>0&&Object.assign(s[c],this.instrument({...d},{...r,path:a.concat(c)},n)),s)},o?t:WF(t))}track(t,r,n,o,a){var w,g,E,C;let i=((w=o==null?void 0:o[0])==null?void 0:w.__storyId__)||((C=(E=(g=Z.__STORYBOOK_PREVIEW__)==null?void 0:g.selectionStore)==null?void 0:E.selection)==null?void 0:C.storyId),{cursor:s,ancestors:c}=this.getState(i);this.setState(i,{cursor:s+1});let u=`${c.slice(-1)[0]||i} [${s}] ${t}`,{path:d=[],intercept:p=!1,retain:f=!1}=a,h=typeof p=="function"?p(t,d):p,m={id:u,cursor:s,storyId:i,ancestors:c,path:d,method:t,args:o,interceptable:h,retain:f},b=(h&&!c.length?this.intercept:this.invoke).call(this,r,n,m,a);return this.instrument(b,{...a,mutate:!0,path:[{__callId__:m.id}]})}intercept(t,r,n,o){let{chainedCallIds:a,isDebugging:i,playUntil:s}=this.getState(n.storyId),c=a.has(n.id);return!i||c||s?(s===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(t,r,n,o)):new Promise(u=>{this.setState(n.storyId,({resolvers:d})=>({isLocked:!1,resolvers:{...d,[n.id]:u}}))}).then(()=>(this.setState(n.storyId,u=>{let{[n.id]:d,...p}=u.resolvers;return{isLocked:!0,resolvers:p}}),this.invoke(t,r,n,o)))}invoke(t,r,n,o){let{callRefsByResult:a,renderPhase:i}=this.getState(n.storyId),s=25,c=I((p,f,h)=>{var m,b,w;if(h.includes(p))return"[Circular]";if(h=[...h,p],f>s)return"...";if(a.has(p))return a.get(p);if(p instanceof Array)return p.map(g=>c(g,++f,h));if(p instanceof Date)return{__date__:{value:p.toISOString()}};if(p instanceof Error){let{name:g,message:E,stack:C}=p;return{__error__:{name:g,message:E,stack:C}}}if(p instanceof RegExp){let{flags:g,source:E}=p;return{__regexp__:{flags:g,source:E}}}if(p instanceof((m=Z.window)==null?void 0:m.HTMLElement)){let{prefix:g,localName:E,id:C,classList:x,innerText:P}=p,S=Array.from(x);return{__element__:{prefix:g,localName:E,id:C,classNames:S,innerText:P}}}return typeof p=="function"?{__function__:{name:"getMockName"in p?p.getMockName():p.name}}:typeof p=="symbol"?{__symbol__:{description:p.description}}:typeof p=="object"&&((b=p==null?void 0:p.constructor)!=null&&b.name)&&((w=p==null?void 0:p.constructor)==null?void 0:w.name)!=="Object"?{__class__:{name:p.constructor.name}}:Object.prototype.toString.call(p)==="[object Object]"?Object.fromEntries(Object.entries(p).map(([g,E])=>[g,c(E,++f,h)])):p},"serializeValues"),u={...n,args:n.args.map(p=>c(p,0,[]))};n.path.forEach(p=>{p!=null&&p.__callId__&&this.setState(n.storyId,({chainedCallIds:f})=>({chainedCallIds:new Set(Array.from(f).concat(p.__callId__))}))});let d=I(p=>{var f;if(p instanceof Error){let{name:h,message:m,stack:b,callId:w=n.id}=p,{showDiff:g=void 0,diff:E=void 0,actual:C=void 0,expected:x=void 0}=p.name==="AssertionError"?Ap(p):p,P={name:h,message:m,stack:b,callId:w,showDiff:g,diff:E,actual:C,expected:x};if(this.update({...u,status:"error",exception:P}),this.setState(n.storyId,S=>({callRefsByResult:new Map([...Array.from(S.callRefsByResult.entries()),[p,{__callId__:n.id,retain:n.retain}]])})),(f=n.ancestors)==null?void 0:f.length)throw Object.prototype.hasOwnProperty.call(p,"callId")||Object.defineProperty(p,"callId",{value:n.id}),p}throw p},"handleException");try{if(i==="played"&&!n.retain)throw UF;let p=(o.getArgs?o.getArgs(n,this.getState(n.storyId)):n.args).map(h=>typeof h!="function"||Ww(h)||Object.keys(h).length?h:(...m)=>{let{cursor:b,ancestors:w}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...w,n.id]});let g=I(()=>this.setState(n.storyId,{cursor:b,ancestors:w}),"restore"),E=!1;try{let C=h(...m);return C instanceof Promise?(E=!0,C.finally(g)):C}finally{E||g()}}),f=t.apply(r,p);return f&&["object","function","symbol"].includes(typeof f)&&this.setState(n.storyId,h=>({callRefsByResult:new Map([...Array.from(h.callRefsByResult.entries()),[f,{__callId__:n.id,retain:n.retain}]])})),this.update({...u,status:f instanceof Promise?"active":"done"}),f instanceof Promise?f.then(h=>(this.update({...u,status:"done"}),h),d):f}catch(p){return d(p)}}update(t){var r;(r=this.channel)==null||r.emit(ur.CALL,t),this.setState(t.storyId,({calls:n})=>{let o=n.concat(t).reduce((a,i)=>Object.assign(a,{[i.id]:i}),{});return{calls:Object.values(o).sort((a,i)=>a.id.localeCompare(i.id,void 0,{numeric:!0}))}}),this.sync(t.storyId)}sync(t){let r=I(()=>{var d,p,f;let{isLocked:n,isPlaying:o}=this.getState(t),a=this.getLog(t),i=(d=a.filter(({ancestors:h})=>!h.length).find(h=>h.status==="waiting"))==null?void 0:d.callId,s=a.some(h=>h.status==="active");if(this.detached||n||s||a.length===0){let h={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:a};(p=this.channel)==null||p.emit(ur.SYNC,h);return}let c=a.some(h=>h.status==="done"||h.status==="error"),u={controlStates:{detached:this.detached,start:c,back:c,goto:!0,next:o,end:o},logItems:a,pausedAt:i};(f=this.channel)==null||f.emit(ur.SYNC,u)},"synchronize");this.setState(t,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(r,0)}))}};I(Vw,"Instrumenter");var GF=Vw;function Vt(e,t={}){var r,n,o,a,i,s,c,u;try{let d=!1,p=!1;return(o=(n=(r=Z.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&o.includes("instrument=true")?d=!0:(s=(i=(a=Z.window)==null?void 0:a.location)==null?void 0:i.search)!=null&&s.includes("instrument=false")&&(p=!0),((c=Z.window)==null?void 0:c.parent)===Z.window&&!d||p?e:(Z.window&&!Z.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(Z.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new GF),((u=Z.window)==null?void 0:u.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(d){return je.warn(d),e}}I(Vt,"instrument");function zw(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}I(zw,"getPropertyDescriptor");function Ww(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}I(Ww,"isClass");var YF=Object.create,ti=Object.defineProperty,KF=Object.getOwnPropertyDescriptor,XF=Object.getOwnPropertyNames,JF=Object.getPrototypeOf,QF=Object.prototype.hasOwnProperty,l=(e,t)=>ti(e,"name",{value:t,configurable:!0}),ZF=(e,t)=>()=>(e&&(t=e(e=0)),t),O=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),pl=(e,t)=>{for(var r in t)ti(e,r,{get:t[r],enumerable:!0})},WE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of XF(t))!QF.call(e,o)&&o!==r&&ti(e,o,{get:()=>t[o],enumerable:!(n=KF(t,o))||n.enumerable});return e},vt=(e,t,r)=>(r=e!=null?YF(JF(e)):{},WE(t||!e||!e.__esModule?ti(r,"default",{value:e,enumerable:!0}):r,e)),e$=e=>WE(ti({},"__esModule",{value:!0}),e),t$=O((e,t)=>{"use strict";t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,a)=>Math.min(o,a.length),1/0):0}}),r$=O((e,t)=>{"use strict";var r=t$();t.exports=n=>{let o=r(n);if(o===0)return n;let a=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(a,"")}}),n$=O((e,t)=>{"use strict";t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let a=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(a,o.indent.repeat(n))}}),GE=O((e,t)=>{"use strict";var r=r$(),n=n$();t.exports=(o,a=0,i)=>n(r(o),a,i)}),o$=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,a={"@@iterator":l(function(){return a},"iterator"),next:l(function(){if(o<n.length){var i=n[o];return o=o+1,{done:!1,value:i}}else return{done:!0}},"next")};return a}l(t,"iteratorProxy");var r=e.default=t}),ri=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(o$());function r(a){return a&&a.__esModule?a:{default:a}}l(r,"_interopRequireDefault");function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(a)}l(n,"_typeof");function o(a,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(i)}),a}l(o,"iterationDecorator")}),a$=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ri());function r(f){return f&&f.__esModule?f:{default:f}}l(r,"_interopRequireDefault");function n(f,h){return c(f)||s(f,h)||a(f,h)||o()}l(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
194
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(o,"_nonIterableRest");function a(f,h){if(f){if(typeof f=="string")return i(f,h);var m={}.toString.call(f).slice(8,-1);return m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set"?Array.from(f):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?i(f,h):void 0}}l(a,"_unsupportedIterableToArray");function i(f,h){(h==null||h>f.length)&&(h=f.length);for(var m=0,b=Array(h);m<h;m++)b[m]=f[m];return b}l(i,"_arrayLikeToArray");function s(f,h){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var b,w,g,E,C=[],x=!0,P=!1;try{if(g=(m=m.call(f)).next,h===0){if(Object(m)!==m)return;x=!1}else for(;!(x=(b=g.call(m)).done)&&(C.push(b.value),C.length!==h);x=!0);}catch(S){P=!0,w=S}finally{try{if(!x&&m.return!=null&&(E=m.return(),Object(E)!==E))return}finally{if(P)throw w}}return C}}l(s,"_iterableToArrayLimit");function c(f){if(Array.isArray(f))return f}l(c,"_arrayWithHoles");var u=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:l(function(){return u},"entries"),forEach:l(function(f){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=0,b=u;m<b.length;m++){var w=n(b[m],2),g=w[0],E=w[1];f.call(h,E,g,u)}},"forEach"),get:l(function(f){var h=u.filter(function(m){return m[0]===f})[0];return h&&h[1]},"get"),has:l(function(f){return!!d.get(f)},"has"),keys:l(function(){return u.map(function(f){var h=n(f,1),m=h[0];return m})},"keys"),values:l(function(){return u.map(function(f){var h=n(f,2),m=h[1];return m})},"values")},p=e.default=(0,t.default)(d,d.entries())}),i$=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ri());function r(f){return f&&f.__esModule?f:{default:f}}l(r,"_interopRequireDefault");function n(f,h){return c(f)||s(f,h)||a(f,h)||o()}l(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
195
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(o,"_nonIterableRest");function a(f,h){if(f){if(typeof f=="string")return i(f,h);var m={}.toString.call(f).slice(8,-1);return m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set"?Array.from(f):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?i(f,h):void 0}}l(a,"_unsupportedIterableToArray");function i(f,h){(h==null||h>f.length)&&(h=f.length);for(var m=0,b=Array(h);m<h;m++)b[m]=f[m];return b}l(i,"_arrayLikeToArray");function s(f,h){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var b,w,g,E,C=[],x=!0,P=!1;try{if(g=(m=m.call(f)).next,h===0){if(Object(m)!==m)return;x=!1}else for(;!(x=(b=g.call(m)).done)&&(C.push(b.value),C.length!==h);x=!0);}catch(S){P=!0,w=S}finally{try{if(!x&&m.return!=null&&(E=m.return(),Object(E)!==E))return}finally{if(P)throw w}}return C}}l(s,"_iterableToArrayLimit");function c(f){if(Array.isArray(f))return f}l(c,"_arrayWithHoles");var u=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:l(function(){return u},"entries"),forEach:l(function(f){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=0,b=u;m<b.length;m++){var w=n(b[m],2),g=w[0],E=w[1];f.call(h,E,g,u)}},"forEach"),get:l(function(f){var h=u.filter(function(m){return m[0]===f})[0];return h&&h[1]},"get"),has:l(function(f){return!!d.get(f)},"has"),keys:l(function(){return u.map(function(f){var h=n(f,1),m=h[0];return m})},"keys"),values:l(function(){return u.map(function(f){var h=n(f,2),m=h[1];return m})},"values")},p=e.default=(0,t.default)(d,d.entries())}),s$=O(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=e.default=t}),l$=O(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=e.default=t}),u$=O(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=e.default=t}),c$=O(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=e.default=t}),d$=O(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=e.default=t}),p$=O(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=e.default=t}),f$=O(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=e.default=t}),h$=O(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=e.default=t}),m$=O(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=e.default=t}),b$=O(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=e.default=t}),g$=O(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=e.default=t}),y$=O(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=e.default=t}),v$=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=h(s$()),r=h(l$()),n=h(u$()),o=h(c$()),a=h(d$()),i=h(p$()),s=h(f$()),c=h(h$()),u=h(m$()),d=h(b$()),p=h(g$()),f=h(y$());function h(w){return w&&w.__esModule?w:{default:w}}l(h,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",a.default],["roletype",i.default],["section",s.default],["sectionhead",c.default],["select",u.default],["structure",d.default],["widget",p.default],["window",f.default]],b=e.default=m}),w$=O(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=e.default=t}),E$=O(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=e.default=t}),x$=O(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=e.default=t}),C$=O(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=e.default=t}),S$=O(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=e.default=t}),A$=O(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=e.default=t}),P$=O(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=e.default=t}),O$=O(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=e.default=t}),T$=O(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=e.default=t}),R$=O(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=e.default=t}),_$=O(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=e.default=t}),k$=O(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:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=e.default=t}),q$=O(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=e.default=t}),M$=O(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","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=e.default=t}),j$=O(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=e.default=t}),I$=O(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=e.default=t}),D$=O(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=e.default=t}),N$=O(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=e.default=t}),F$=O(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=e.default=t}),$$=O(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=e.default=t}),L$=O(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=e.default=t}),B$=O(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=e.default=t}),H$=O(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=e.default=t}),U$=O(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=e.default=t}),V$=O(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=e.default=t}),z$=O(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=e.default=t}),W$=O(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=e.default=t}),G$=O(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=e.default=t}),Y$=O(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=e.default=t}),K$=O(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=e.default=t}),X$=O(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=e.default=t}),J$=O(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=e.default=t}),Q$=O(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=e.default=t}),Z$=O(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=e.default=t}),eL=O(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=e.default=t}),tL=O(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=e.default=t}),rL=O(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=e.default=t}),nL=O(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=e.default=t}),oL=O(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=e.default=t}),aL=O(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=e.default=t}),iL=O(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=e.default=t}),sL=O(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=e.default=t}),lL=O(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=e.default=t}),uL=O(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=e.default=t}),cL=O(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=e.default=t}),dL=O(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=e.default=t}),pL=O(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=e.default=t}),fL=O(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=e.default=t}),hL=O(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=e.default=t}),mL=O(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=e.default=t}),bL=O(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=e.default=t}),gL=O(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=e.default=t}),yL=O(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=e.default=t}),vL=O(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=e.default=t}),wL=O(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=e.default=t}),EL=O(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=e.default=t}),xL=O(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=e.default=t}),CL=O(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=e.default=t}),SL=O(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:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=e.default=t}),AL=O(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=e.default=t}),PL=O(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=e.default=t}),OL=O(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=e.default=t}),TL=O(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=e.default=t}),RL=O(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=e.default=t}),_L=O(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=e.default=t}),kL=O(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=e.default=t}),qL=O(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=e.default=t}),ML=O(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=e.default=t}),jL=O(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=e.default=t}),IL=O(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=e.default=t}),DL=O(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=e.default=t}),NL=O(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=e.default=t}),FL=O(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=e.default=t}),$L=O(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=e.default=t}),LL=O(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=e.default=t}),BL=O(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=e.default=t}),HL=O(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=e.default=t}),UL=O(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=e.default=t}),VL=O(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=e.default=t}),zL=O(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=e.default=t}),WL=O(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=e.default=t}),GL=O(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=e.default=t}),YL=O(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=e.default=t}),KL=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=H(w$()),r=H(E$()),n=H(x$()),o=H(C$()),a=H(S$()),i=H(A$()),s=H(P$()),c=H(O$()),u=H(T$()),d=H(R$()),p=H(_$()),f=H(k$()),h=H(q$()),m=H(M$()),b=H(j$()),w=H(I$()),g=H(D$()),E=H(N$()),C=H(F$()),x=H($$()),P=H(L$()),S=H(B$()),y=H(H$()),v=H(U$()),A=H(V$()),T=H(z$()),_=H(W$()),N=H(G$()),$=H(Y$()),R=H(K$()),k=H(X$()),D=H(J$()),K=H(Q$()),G=H(Z$()),te=H(eL()),oe=H(tL()),ee=H(rL()),W=H(nL()),z=H(oL()),Y=H(aL()),re=H(iL()),X=H(sL()),ie=H(lL()),se=H(uL()),me=H(cL()),Pe=H(dL()),L=H(pL()),ne=H(fL()),ae=H(hL()),V=H(mL()),J=H(bL()),le=H(gL()),ue=H(yL()),Oe=H(vL()),Je=H(wL()),Ht=H(EL()),ir=H(xL()),pt=H(CL()),Mr=H(SL()),jr=H(AL()),Ir=H(PL()),pc=H(OL()),fc=H(TL()),hc=H(RL()),mc=H(_L()),bc=H(kL()),gc=H(qL()),yc=H(ML()),vc=H(jL()),wc=H(IL()),Ec=H(DL()),xc=H(NL()),Cc=H(FL()),Sc=H($L()),Ac=H(LL()),Pc=H(BL()),Oc=H(HL()),Tc=H(UL()),Rc=H(VL()),_c=H(zL()),kc=H(WL()),qc=H(GL()),Mc=H(YL());function H(sr){return sr&&sr.__esModule?sr:{default:sr}}l(H,"_interopRequireDefault");var jc=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",a.default],["blockquote",i.default],["button",s.default],["caption",c.default],["cell",u.default],["checkbox",d.default],["code",p.default],["columnheader",f.default],["combobox",h.default],["complementary",m.default],["contentinfo",b.default],["definition",w.default],["deletion",g.default],["dialog",E.default],["directory",C.default],["document",x.default],["emphasis",P.default],["feed",S.default],["figure",y.default],["form",v.default],["generic",A.default],["grid",T.default],["gridcell",_.default],["group",N.default],["heading",$.default],["img",R.default],["insertion",k.default],["link",D.default],["list",K.default],["listbox",G.default],["listitem",te.default],["log",oe.default],["main",ee.default],["mark",W.default],["marquee",z.default],["math",Y.default],["menu",re.default],["menubar",X.default],["menuitem",ie.default],["menuitemcheckbox",se.default],["menuitemradio",me.default],["meter",Pe.default],["navigation",L.default],["none",ne.default],["note",ae.default],["option",V.default],["paragraph",J.default],["presentation",le.default],["progressbar",ue.default],["radio",Oe.default],["radiogroup",Je.default],["region",Ht.default],["row",ir.default],["rowgroup",pt.default],["rowheader",Mr.default],["scrollbar",jr.default],["search",Ir.default],["searchbox",pc.default],["separator",fc.default],["slider",hc.default],["spinbutton",mc.default],["status",bc.default],["strong",gc.default],["subscript",yc.default],["superscript",vc.default],["switch",wc.default],["tab",Ec.default],["table",xc.default],["tablist",Cc.default],["tabpanel",Sc.default],["term",Ac.default],["textbox",Pc.default],["time",Oc.default],["timer",Tc.default],["toolbar",Rc.default],["tooltip",_c.default],["tree",kc.default],["treegrid",qc.default],["treeitem",Mc.default]],Dy=e.default=jc}),XL=O(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=e.default=t}),JL=O(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=e.default=t}),QL=O(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=e.default=t}),ZL=O(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=e.default=t}),eB=O(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=e.default=t}),tB=O(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=e.default=t}),rB=O(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=e.default=t}),nB=O(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=e.default=t}),oB=O(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=e.default=t}),aB=O(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=e.default=t}),iB=O(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=e.default=t}),sB=O(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=e.default=t}),lB=O(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=e.default=t}),uB=O(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=e.default=t}),cB=O(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=e.default=t}),dB=O(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=e.default=t}),pB=O(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=e.default=t}),fB=O(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=e.default=t}),hB=O(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=e.default=t}),mB=O(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=e.default=t}),bB=O(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=e.default=t}),gB=O(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=e.default=t}),yB=O(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=e.default=t}),vB=O(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=e.default=t}),wB=O(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=e.default=t}),EB=O(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=e.default=t}),xB=O(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=e.default=t}),CB=O(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=e.default=t}),SB=O(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=e.default=t}),AB=O(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=e.default=t}),PB=O(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,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=e.default=t}),OB=O(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,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=e.default=t}),TB=O(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=e.default=t}),RB=O(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=e.default=t}),_B=O(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=e.default=t}),kB=O(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=e.default=t}),qB=O(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=e.default=t}),MB=O(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=e.default=t}),jB=O(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=e.default=t}),IB=O(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=e.default=t}),DB=O(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=e.default=t}),NB=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=X(XL()),r=X(JL()),n=X(QL()),o=X(ZL()),a=X(eB()),i=X(tB()),s=X(rB()),c=X(nB()),u=X(oB()),d=X(aB()),p=X(iB()),f=X(sB()),h=X(lB()),m=X(uB()),b=X(cB()),w=X(dB()),g=X(pB()),E=X(fB()),C=X(hB()),x=X(mB()),P=X(bB()),S=X(gB()),y=X(yB()),v=X(vB()),A=X(wB()),T=X(EB()),_=X(xB()),N=X(CB()),$=X(SB()),R=X(AB()),k=X(PB()),D=X(OB()),K=X(TB()),G=X(RB()),te=X(_B()),oe=X(kB()),ee=X(qB()),W=X(MB()),z=X(jB()),Y=X(IB()),re=X(DB());function X(me){return me&&me.__esModule?me:{default:me}}l(X,"_interopRequireDefault");var ie=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",a.default],["doc-biblioentry",i.default],["doc-bibliography",s.default],["doc-biblioref",c.default],["doc-chapter",u.default],["doc-colophon",d.default],["doc-conclusion",p.default],["doc-cover",f.default],["doc-credit",h.default],["doc-credits",m.default],["doc-dedication",b.default],["doc-endnote",w.default],["doc-endnotes",g.default],["doc-epigraph",E.default],["doc-epilogue",C.default],["doc-errata",x.default],["doc-example",P.default],["doc-footnote",S.default],["doc-foreword",y.default],["doc-glossary",v.default],["doc-glossref",A.default],["doc-index",T.default],["doc-introduction",_.default],["doc-noteref",N.default],["doc-notice",$.default],["doc-pagebreak",R.default],["doc-pagefooter",k.default],["doc-pageheader",D.default],["doc-pagelist",K.default],["doc-part",G.default],["doc-preface",te.default],["doc-prologue",oe.default],["doc-pullquote",ee.default],["doc-qna",W.default],["doc-subtitle",z.default],["doc-tip",Y.default],["doc-toc",re.default]],se=e.default=ie}),FB=O(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=e.default=t}),$B=O(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=e.default=t}),LB=O(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=e.default=t}),BB=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(FB()),r=o($B()),n=o(LB());function o(s){return s&&s.__esModule?s:{default:s}}l(o,"_interopRequireDefault");var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],i=e.default=a}),ch=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(v$()),r=i(KL()),n=i(NB()),o=i(BB()),a=i(ri());function i(g){return g&&g.__esModule?g:{default:g}}l(i,"_interopRequireDefault");function s(g,E){var C=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!C){if(Array.isArray(g)||(C=d(g))||E&&g&&typeof g.length=="number"){C&&(g=C);var x=0,P=l(function(){},"F");return{s:P,n:l(function(){return x>=g.length?{done:!0}:{done:!1,value:g[x++]}},"n"),e:l(function(A){throw A},"e"),f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
196
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S,y=!0,v=!1;return{s:l(function(){C=C.call(g)},"s"),n:l(function(){var A=C.next();return y=A.done,A},"n"),e:l(function(A){v=!0,S=A},"e"),f:l(function(){try{y||C.return==null||C.return()}finally{if(v)throw S}},"f")}}l(s,"_createForOfIteratorHelper");function c(g,E){return h(g)||f(g,E)||d(g,E)||u()}l(c,"_slicedToArray");function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
197
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(u,"_nonIterableRest");function d(g,E){if(g){if(typeof g=="string")return p(g,E);var C={}.toString.call(g).slice(8,-1);return C==="Object"&&g.constructor&&(C=g.constructor.name),C==="Map"||C==="Set"?Array.from(g):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?p(g,E):void 0}}l(d,"_unsupportedIterableToArray");function p(g,E){(E==null||E>g.length)&&(E=g.length);for(var C=0,x=Array(E);C<E;C++)x[C]=g[C];return x}l(p,"_arrayLikeToArray");function f(g,E){var C=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(C!=null){var x,P,S,y,v=[],A=!0,T=!1;try{if(S=(C=C.call(g)).next,E===0){if(Object(C)!==C)return;A=!1}else for(;!(A=(x=S.call(C)).done)&&(v.push(x.value),v.length!==E);A=!0);}catch(_){T=!0,P=_}finally{try{if(!A&&C.return!=null&&(y=C.return(),Object(y)!==y))return}finally{if(T)throw P}}return v}}l(f,"_iterableToArrayLimit");function h(g){if(Array.isArray(g))return g}l(h,"_arrayWithHoles");var m=[].concat(t.default,r.default,n.default,o.default);m.forEach(function(g){var E=c(g,2),C=E[1],x=s(C.superClass),P;try{for(x.s();!(P=x.n()).done;){var S=P.value,y=s(S),v;try{var A=l(function(){var T=v.value,_=m.filter(function(D){var K=c(D,1),G=K[0];return G===T})[0];if(_)for(var N=_[1],$=0,R=Object.keys(N.props);$<R.length;$++){var k=R[$];Object.prototype.hasOwnProperty.call(C.props,k)||(C.props[k]=N.props[k])}},"_loop");for(y.s();!(v=y.n()).done;)A()}catch(T){y.e(T)}finally{y.f()}}}catch(T){x.e(T)}finally{x.f()}});var b={entries:l(function(){return m},"entries"),forEach:l(function(g){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=s(m),x;try{for(C.s();!(x=C.n()).done;){var P=c(x.value,2),S=P[0],y=P[1];g.call(E,y,S,m)}}catch(v){C.e(v)}finally{C.f()}},"forEach"),get:l(function(g){var E=m.filter(function(C){return C[0]===g})[0];return E&&E[1]},"get"),has:l(function(g){return!!b.get(g)},"has"),keys:l(function(){return m.map(function(g){var E=c(g,1),C=E[0];return C})},"keys"),values:l(function(){return m.map(function(g){var E=c(g,2),C=E[1];return C})},"values")},w=e.default=(0,a.default)(b,b.entries())}),HB=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(ri()),r=n(ch());function n(y){return y&&y.__esModule?y:{default:y}}l(n,"_interopRequireDefault");function o(y,v){return u(y)||c(y,v)||i(y,v)||a()}l(o,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
198
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(a,"_nonIterableRest");function i(y,v){if(y){if(typeof y=="string")return s(y,v);var A={}.toString.call(y).slice(8,-1);return A==="Object"&&y.constructor&&(A=y.constructor.name),A==="Map"||A==="Set"?Array.from(y):A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A)?s(y,v):void 0}}l(i,"_unsupportedIterableToArray");function s(y,v){(v==null||v>y.length)&&(v=y.length);for(var A=0,T=Array(v);A<v;A++)T[A]=y[A];return T}l(s,"_arrayLikeToArray");function c(y,v){var A=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(A!=null){var T,_,N,$,R=[],k=!0,D=!1;try{if(N=(A=A.call(y)).next,v===0){if(Object(A)!==A)return;k=!1}else for(;!(k=(T=N.call(A)).done)&&(R.push(T.value),R.length!==v);k=!0);}catch(K){D=!0,_=K}finally{try{if(!k&&A.return!=null&&($=A.return(),Object($)!==$))return}finally{if(D)throw _}}return R}}l(c,"_iterableToArrayLimit");function u(y){if(Array.isArray(y))return y}l(u,"_arrayWithHoles");var d=[],p=r.default.keys();for(g=0;g<p.length;g++)if(f=p[g],h=r.default.get(f),h)for(m=[].concat(h.baseConcepts,h.relatedConcepts),b=l(function(){var y=m[w];if(y.module==="HTML"){var v=y.concept;if(v){var A=d.filter(function($){return C($[0],v)})[0],T;A?T=A[1]:T=[];for(var _=!0,N=0;N<T.length;N++)if(T[N]===f){_=!1;break}_&&T.push(f),A||d.push([v,T])}}},"_loop"),w=0;w<m.length;w++)b();var f,h,m,b,w,g,E={entries:l(function(){return d},"entries"),forEach:l(function(y){for(var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=0,T=d;A<T.length;A++){var _=o(T[A],2),N=_[0],$=_[1];y.call(v,$,N,d)}},"forEach"),get:l(function(y){var v=d.filter(function(A){return y.name===A[0].name&&P(y.attributes,A[0].attributes)})[0];return v&&v[1]},"get"),has:l(function(y){return!!E.get(y)},"has"),keys:l(function(){return d.map(function(y){var v=o(y,1),A=v[0];return A})},"keys"),values:l(function(){return d.map(function(y){var v=o(y,2),A=v[1];return A})},"values")};function C(y,v){return y.name===v.name&&x(y.constraints,v.constraints)&&P(y.attributes,v.attributes)}l(C,"ariaRoleRelationConceptEquals");function x(y,v){if(y===void 0&&v!==void 0||y!==void 0&&v===void 0)return!1;if(y!==void 0&&v!==void 0){if(y.length!==v.length)return!1;for(var A=0;A<y.length;A++)if(y[A]!==v[A])return!1}return!0}l(x,"ariaRoleRelationConstraintsEquals");function P(y,v){if(y===void 0&&v!==void 0||y!==void 0&&v===void 0)return!1;if(y!==void 0&&v!==void 0){if(y.length!==v.length)return!1;for(var A=0;A<y.length;A++){if(y[A].name!==v[A].name||y[A].value!==v[A].value||y[A].constraints===void 0&&v[A].constraints!==void 0||y[A].constraints!==void 0&&v[A].constraints===void 0)return!1;if(y[A].constraints!==void 0&&v[A].constraints!==void 0){if(y[A].constraints.length!==v[A].constraints.length)return!1;for(var T=0;T<y[A].constraints.length;T++)if(y[A].constraints[T]!==v[A].constraints[T])return!1}}}return!0}l(P,"ariaRoleRelationConceptAttributeEquals");var S=e.default=(0,t.default)(E,E.entries())}),UB=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(ri()),r=n(ch());function n(S){return S&&S.__esModule?S:{default:S}}l(n,"_interopRequireDefault");function o(S,y){return u(S)||c(S,y)||i(S,y)||a()}l(o,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
199
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(a,"_nonIterableRest");function i(S,y){if(S){if(typeof S=="string")return s(S,y);var v={}.toString.call(S).slice(8,-1);return v==="Object"&&S.constructor&&(v=S.constructor.name),v==="Map"||v==="Set"?Array.from(S):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?s(S,y):void 0}}l(i,"_unsupportedIterableToArray");function s(S,y){(y==null||y>S.length)&&(y=S.length);for(var v=0,A=Array(y);v<y;v++)A[v]=S[v];return A}l(s,"_arrayLikeToArray");function c(S,y){var v=S==null?null:typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(v!=null){var A,T,_,N,$=[],R=!0,k=!1;try{if(_=(v=v.call(S)).next,y===0){if(Object(v)!==v)return;R=!1}else for(;!(R=(A=_.call(v)).done)&&($.push(A.value),$.length!==y);R=!0);}catch(D){k=!0,T=D}finally{try{if(!R&&v.return!=null&&(N=v.return(),Object(N)!==N))return}finally{if(k)throw T}}return $}}l(c,"_iterableToArrayLimit");function u(S){if(Array.isArray(S))return S}l(u,"_arrayWithHoles");var d=[],p=r.default.keys();for(C=0;C<p.length;C++)if(f=p[C],h=r.default.get(f),m=[],h){for(b=[].concat(h.baseConcepts,h.relatedConcepts),E=0;E<b.length;E++)w=b[E],w.module==="HTML"&&(g=w.concept,g!=null&&m.push(g));m.length>0&&d.push([f,m])}var f,h,m,b,w,g,E,C,x={entries:l(function(){return d},"entries"),forEach:l(function(S){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=0,A=d;v<A.length;v++){var T=o(A[v],2),_=T[0],N=T[1];S.call(y,N,_,d)}},"forEach"),get:l(function(S){var y=d.filter(function(v){return v[0]===S})[0];return y&&y[1]},"get"),has:l(function(S){return!!x.get(S)},"has"),keys:l(function(){return d.map(function(S){var y=o(S,1),v=y[0];return v})},"keys"),values:l(function(){return d.map(function(S){var y=o(S,2),v=y[1];return v})},"values")},P=e.default=(0,t.default)(x,x.entries())}),YE=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(a$()),r=i(i$()),n=i(ch()),o=i(HB()),a=i(UB());function i(f){return f&&f.__esModule?f:{default:f}}l(i,"_interopRequireDefault");var s=e.aria=t.default,c=e.dom=r.default,u=e.roles=n.default,d=e.elementRoles=o.default,p=e.roleElements=a.default}),VB=O((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]}}),KE=O((e,t)=>{var r=VB(),n={};for(let i of Object.keys(r))n[r[i]]=i;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let i of Object.keys(o)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:s,labels:c}=o[i];delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:s}),Object.defineProperty(o[i],"labels",{value:c})}o.rgb.hsl=function(i){let s=i[0]/255,c=i[1]/255,u=i[2]/255,d=Math.min(s,c,u),p=Math.max(s,c,u),f=p-d,h,m;p===d?h=0:s===p?h=(c-u)/f:c===p?h=2+(u-s)/f:u===p&&(h=4+(s-c)/f),h=Math.min(h*60,360),h<0&&(h+=360);let b=(d+p)/2;return p===d?m=0:b<=.5?m=f/(p+d):m=f/(2-p-d),[h,m*100,b*100]},o.rgb.hsv=function(i){let s,c,u,d,p,f=i[0]/255,h=i[1]/255,m=i[2]/255,b=Math.max(f,h,m),w=b-Math.min(f,h,m),g=l(function(E){return(b-E)/6/w+1/2},"diffc");return w===0?(d=0,p=0):(p=w/b,s=g(f),c=g(h),u=g(m),f===b?d=u-c:h===b?d=1/3+s-u:m===b&&(d=2/3+c-s),d<0?d+=1:d>1&&(d-=1)),[d*360,p*100,b*100]},o.rgb.hwb=function(i){let s=i[0],c=i[1],u=i[2],d=o.rgb.hsl(i)[0],p=1/255*Math.min(s,Math.min(c,u));return u=1-1/255*Math.max(s,Math.max(c,u)),[d,p*100,u*100]},o.rgb.cmyk=function(i){let s=i[0]/255,c=i[1]/255,u=i[2]/255,d=Math.min(1-s,1-c,1-u),p=(1-s-d)/(1-d)||0,f=(1-c-d)/(1-d)||0,h=(1-u-d)/(1-d)||0;return[p*100,f*100,h*100,d*100]};function a(i,s){return(i[0]-s[0])**2+(i[1]-s[1])**2+(i[2]-s[2])**2}l(a,"comparativeDistance"),o.rgb.keyword=function(i){let s=n[i];if(s)return s;let c=1/0,u;for(let d of Object.keys(r)){let p=r[d],f=a(i,p);f<c&&(c=f,u=d)}return u},o.keyword.rgb=function(i){return r[i]},o.rgb.xyz=function(i){let s=i[0]/255,c=i[1]/255,u=i[2]/255;s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92;let d=s*.4124+c*.3576+u*.1805,p=s*.2126+c*.7152+u*.0722,f=s*.0193+c*.1192+u*.9505;return[d*100,p*100,f*100]},o.rgb.lab=function(i){let s=o.rgb.xyz(i),c=s[0],u=s[1],d=s[2];c/=95.047,u/=100,d/=108.883,c=c>.008856?c**(1/3):7.787*c+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 p=116*u-16,f=500*(c-u),h=200*(u-d);return[p,f,h]},o.hsl.rgb=function(i){let s=i[0]/360,c=i[1]/100,u=i[2]/100,d,p,f;if(c===0)return f=u*255,[f,f,f];u<.5?d=u*(1+c):d=u+c-u*c;let h=2*u-d,m=[0,0,0];for(let b=0;b<3;b++)p=s+1/3*-(b-1),p<0&&p++,p>1&&p--,6*p<1?f=h+(d-h)*6*p:2*p<1?f=d:3*p<2?f=h+(d-h)*(2/3-p)*6:f=h,m[b]=f*255;return m},o.hsl.hsv=function(i){let s=i[0],c=i[1]/100,u=i[2]/100,d=c,p=Math.max(u,.01);u*=2,c*=u<=1?u:2-u,d*=p<=1?p:2-p;let f=(u+c)/2,h=u===0?2*d/(p+d):2*c/(u+c);return[s,h*100,f*100]},o.hsv.rgb=function(i){let s=i[0]/60,c=i[1]/100,u=i[2]/100,d=Math.floor(s)%6,p=s-Math.floor(s),f=255*u*(1-c),h=255*u*(1-c*p),m=255*u*(1-c*(1-p));switch(u*=255,d){case 0:return[u,m,f];case 1:return[h,u,f];case 2:return[f,u,m];case 3:return[f,h,u];case 4:return[m,f,u];case 5:return[u,f,h]}},o.hsv.hsl=function(i){let s=i[0],c=i[1]/100,u=i[2]/100,d=Math.max(u,.01),p,f;f=(2-c)*u;let h=(2-c)*d;return p=c*d,p/=h<=1?h:2-h,p=p||0,f/=2,[s,p*100,f*100]},o.hwb.rgb=function(i){let s=i[0]/360,c=i[1]/100,u=i[2]/100,d=c+u,p;d>1&&(c/=d,u/=d);let f=Math.floor(6*s),h=1-u;p=6*s-f,(f&1)!==0&&(p=1-p);let m=c+p*(h-c),b,w,g;switch(f){default:case 6:case 0:b=h,w=m,g=c;break;case 1:b=m,w=h,g=c;break;case 2:b=c,w=h,g=m;break;case 3:b=c,w=m,g=h;break;case 4:b=m,w=c,g=h;break;case 5:b=h,w=c,g=m;break}return[b*255,w*255,g*255]},o.cmyk.rgb=function(i){let s=i[0]/100,c=i[1]/100,u=i[2]/100,d=i[3]/100,p=1-Math.min(1,s*(1-d)+d),f=1-Math.min(1,c*(1-d)+d),h=1-Math.min(1,u*(1-d)+d);return[p*255,f*255,h*255]},o.xyz.rgb=function(i){let s=i[0]/100,c=i[1]/100,u=i[2]/100,d,p,f;return d=s*3.2406+c*-1.5372+u*-.4986,p=s*-.9689+c*1.8758+u*.0415,f=s*.0557+c*-.204+u*1.057,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),f=Math.min(Math.max(0,f),1),[d*255,p*255,f*255]},o.xyz.lab=function(i){let s=i[0],c=i[1],u=i[2];s/=95.047,c/=100,u/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let d=116*c-16,p=500*(s-c),f=200*(c-u);return[d,p,f]},o.lab.xyz=function(i){let s=i[0],c=i[1],u=i[2],d,p,f;p=(s+16)/116,d=c/500+p,f=p-u/200;let h=p**3,m=d**3,b=f**3;return p=h>.008856?h:(p-16/116)/7.787,d=m>.008856?m:(d-16/116)/7.787,f=b>.008856?b:(f-16/116)/7.787,d*=95.047,p*=100,f*=108.883,[d,p,f]},o.lab.lch=function(i){let s=i[0],c=i[1],u=i[2],d;d=Math.atan2(u,c)*360/2/Math.PI,d<0&&(d+=360);let p=Math.sqrt(c*c+u*u);return[s,p,d]},o.lch.lab=function(i){let s=i[0],c=i[1],u=i[2]/360*2*Math.PI,d=c*Math.cos(u),p=c*Math.sin(u);return[s,d,p]},o.rgb.ansi16=function(i,s=null){let[c,u,d]=i,p=s===null?o.rgb.hsv(i)[2]:s;if(p=Math.round(p/50),p===0)return 30;let f=30+(Math.round(d/255)<<2|Math.round(u/255)<<1|Math.round(c/255));return p===2&&(f+=60),f},o.hsv.ansi16=function(i){return o.rgb.ansi16(o.hsv.rgb(i),i[2])},o.rgb.ansi256=function(i){let s=i[0],c=i[1],u=i[2];return s===c&&c===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(c/255*5)+Math.round(u/255*5)},o.ansi16.rgb=function(i){let s=i%10;if(s===0||s===7)return i>50&&(s+=3.5),s=s/10.5*255,[s,s,s];let c=(~~(i>50)+1)*.5,u=(s&1)*c*255,d=(s>>1&1)*c*255,p=(s>>2&1)*c*255;return[u,d,p]},o.ansi256.rgb=function(i){if(i>=232){let p=(i-232)*10+8;return[p,p,p]}i-=16;let s,c=Math.floor(i/36)/5*255,u=Math.floor((s=i%36)/6)/5*255,d=s%6/5*255;return[c,u,d]},o.rgb.hex=function(i){let s=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},o.hex.rgb=function(i){let s=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];let c=s[0];s[0].length===3&&(c=c.split("").map(h=>h+h).join(""));let u=parseInt(c,16),d=u>>16&255,p=u>>8&255,f=u&255;return[d,p,f]},o.rgb.hcg=function(i){let s=i[0]/255,c=i[1]/255,u=i[2]/255,d=Math.max(Math.max(s,c),u),p=Math.min(Math.min(s,c),u),f=d-p,h,m;return f<1?h=p/(1-f):h=0,f<=0?m=0:d===s?m=(c-u)/f%6:d===c?m=2+(u-s)/f:m=4+(s-c)/f,m/=6,m%=1,[m*360,f*100,h*100]},o.hsl.hcg=function(i){let s=i[1]/100,c=i[2]/100,u=c<.5?2*s*c:2*s*(1-c),d=0;return u<1&&(d=(c-.5*u)/(1-u)),[i[0],u*100,d*100]},o.hsv.hcg=function(i){let s=i[1]/100,c=i[2]/100,u=s*c,d=0;return u<1&&(d=(c-u)/(1-u)),[i[0],u*100,d*100]},o.hcg.rgb=function(i){let s=i[0]/360,c=i[1]/100,u=i[2]/100;if(c===0)return[u*255,u*255,u*255];let d=[0,0,0],p=s%1*6,f=p%1,h=1-f,m=0;switch(Math.floor(p)){case 0:d[0]=1,d[1]=f,d[2]=0;break;case 1:d[0]=h,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=f;break;case 3:d[0]=0,d[1]=h,d[2]=1;break;case 4:d[0]=f,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=h}return m=(1-c)*u,[(c*d[0]+m)*255,(c*d[1]+m)*255,(c*d[2]+m)*255]},o.hcg.hsv=function(i){let s=i[1]/100,c=i[2]/100,u=s+c*(1-s),d=0;return u>0&&(d=s/u),[i[0],d*100,u*100]},o.hcg.hsl=function(i){let s=i[1]/100,c=i[2]/100*(1-s)+.5*s,u=0;return c>0&&c<.5?u=s/(2*c):c>=.5&&c<1&&(u=s/(2*(1-c))),[i[0],u*100,c*100]},o.hcg.hwb=function(i){let s=i[1]/100,c=i[2]/100,u=s+c*(1-s);return[i[0],(u-s)*100,(1-u)*100]},o.hwb.hcg=function(i){let s=i[1]/100,c=1-i[2]/100,u=c-s,d=0;return u<1&&(d=(c-u)/(1-u)),[i[0],u*100,d*100]},o.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},o.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},o.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},o.gray.hsl=function(i){return[0,0,i[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(i){return[0,100,i[0]]},o.gray.cmyk=function(i){return[0,0,0,i[0]]},o.gray.lab=function(i){return[i[0],0,0]},o.gray.hex=function(i){let s=Math.round(i[0]/100*255)&255,c=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(c.length)+c},o.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}),zB=O((e,t)=>{var r=KE();function n(){let s={},c=Object.keys(r);for(let u=c.length,d=0;d<u;d++)s[c[d]]={distance:-1,parent:null};return s}l(n,"buildGraph");function o(s){let c=n(),u=[s];for(c[s].distance=0;u.length;){let d=u.pop(),p=Object.keys(r[d]);for(let f=p.length,h=0;h<f;h++){let m=p[h],b=c[m];b.distance===-1&&(b.distance=c[d].distance+1,b.parent=d,u.unshift(m))}}return c}l(o,"deriveBFS");function a(s,c){return function(u){return c(s(u))}}l(a,"link");function i(s,c){let u=[c[s].parent,s],d=r[c[s].parent][s],p=c[s].parent;for(;c[p].parent;)u.unshift(c[p].parent),d=a(r[c[p].parent][p],d),p=c[p].parent;return d.conversion=u,d}l(i,"wrapConversion"),t.exports=function(s){let c=o(s),u={},d=Object.keys(c);for(let p=d.length,f=0;f<p;f++){let h=d[f];c[h].parent!==null&&(u[h]=i(h,c))}return u}}),WB=O((e,t)=>{var r=KE(),n=zB(),o={},a=Object.keys(r);function i(c){let u=l(function(...d){let p=d[0];return p==null?p:(p.length>1&&(d=p),c(d))},"wrappedFn");return"conversion"in c&&(u.conversion=c.conversion),u}l(i,"wrapRaw");function s(c){let u=l(function(...d){let p=d[0];if(p==null)return p;p.length>1&&(d=p);let f=c(d);if(typeof f=="object")for(let h=f.length,m=0;m<h;m++)f[m]=Math.round(f[m]);return f},"wrappedFn");return"conversion"in c&&(u.conversion=c.conversion),u}l(s,"wrapRounded"),a.forEach(c=>{o[c]={},Object.defineProperty(o[c],"channels",{value:r[c].channels}),Object.defineProperty(o[c],"labels",{value:r[c].labels});let u=n(c);Object.keys(u).forEach(d=>{let p=u[d];o[c][d]=s(p),o[c][d].raw=i(p)})}),t.exports=o}),GB=O((e,t)=>{"use strict";var r=l((p,f)=>(...h)=>`\x1B[${p(...h)+f}m`,"wrapAnsi16"),n=l((p,f)=>(...h)=>{let m=p(...h);return`\x1B[${38+f};5;${m}m`},"wrapAnsi256"),o=l((p,f)=>(...h)=>{let m=p(...h);return`\x1B[${38+f};2;${m[0]};${m[1]};${m[2]}m`},"wrapAnsi16m"),a=l(p=>p,"ansi2ansi"),i=l((p,f,h)=>[p,f,h],"rgb2rgb"),s=l((p,f,h)=>{Object.defineProperty(p,f,{get:l(()=>{let m=h();return Object.defineProperty(p,f,{value:m,enumerable:!0,configurable:!0}),m},"get"),enumerable:!0,configurable:!0})},"setLazyProperty"),c,u=l((p,f,h,m)=>{c===void 0&&(c=WB());let b=m?10:0,w={};for(let[g,E]of Object.entries(c)){let C=g==="ansi16"?"ansi":g;g===f?w[C]=p(h,b):typeof E=="object"&&(w[C]=p(E[f],b))}return w},"makeDynamicStyles");function d(){let p=new Map,f={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]}};f.color.gray=f.color.blackBright,f.bgColor.bgGray=f.bgColor.bgBlackBright,f.color.grey=f.color.blackBright,f.bgColor.bgGrey=f.bgColor.bgBlackBright;for(let[h,m]of Object.entries(f)){for(let[b,w]of Object.entries(m))f[b]={open:`\x1B[${w[0]}m`,close:`\x1B[${w[1]}m`},m[b]=f[b],p.set(w[0],w[1]);Object.defineProperty(f,h,{value:m,enumerable:!1})}return Object.defineProperty(f,"codes",{value:p,enumerable:!1}),f.color.close="\x1B[39m",f.bgColor.close="\x1B[49m",s(f.color,"ansi",()=>u(r,"ansi16",a,!1)),s(f.color,"ansi256",()=>u(n,"ansi256",a,!1)),s(f.color,"ansi16m",()=>u(o,"rgb",i,!1)),s(f.bgColor,"ansi",()=>u(r,"ansi16",a,!0)),s(f.bgColor,"ansi256",()=>u(n,"ansi256",a,!0)),s(f.bgColor,"ansi16m",()=>u(o,"rgb",i,!0)),f}l(d,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:d})}),YB=O((e,t)=>{"use strict";t.exports={stdout:!1,stderr:!1}}),KB=O((e,t)=>{"use strict";var r=l((o,a,i)=>{let s=o.indexOf(a);if(s===-1)return o;let c=a.length,u=0,d="";do d+=o.substr(u,s-u)+a+i,u=s+c,s=o.indexOf(a,u);while(s!==-1);return d+=o.substr(u),d},"stringReplaceAll"),n=l((o,a,i,s)=>{let c=0,u="";do{let d=o[s-1]==="\r";u+=o.substr(c,(d?s-1:s)-c)+a+(d?`\r
|
|
200
|
+
`:`
|
|
201
|
+
`)+i,c=s+1,s=o.indexOf(`
|
|
202
|
+
`,c)}while(s!==-1);return u+=o.substr(c),u},"stringEncaseCRLFWithFirstIndex");t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}),XB=O((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?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,a=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n",`
|
|
203
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function s(p){let f=p[0]==="u",h=p[1]==="{";return f&&!h&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):f&&h?String.fromCodePoint(parseInt(p.slice(2,-1),16)):i.get(p)||p}l(s,"unescape");function c(p,f){let h=[],m=f.trim().split(/\s*,\s*/g),b;for(let w of m){let g=Number(w);if(!Number.isNaN(g))h.push(g);else if(b=w.match(o))h.push(b[2].replace(a,(E,C,x)=>C?s(C):x));else throw new Error(`Invalid Chalk template style argument: ${w} (in style '${p}')`)}return h}l(c,"parseArguments");function u(p){n.lastIndex=0;let f=[],h;for(;(h=n.exec(p))!==null;){let m=h[1];if(h[2]){let b=c(m,h[2]);f.push([m].concat(b))}else f.push([m])}return f}l(u,"parseStyle");function d(p,f){let h={};for(let b of f)for(let w of b.styles)h[w[0]]=b.inverse?null:w.slice(1);let m=p;for(let[b,w]of Object.entries(h))if(Array.isArray(w)){if(!(b in m))throw new Error(`Unknown Chalk style: ${b}`);m=w.length>0?m[b](...w):m[b]}return m}l(d,"buildStyle"),t.exports=(p,f)=>{let h=[],m=[],b=[];if(f.replace(r,(w,g,E,C,x,P)=>{if(g)b.push(s(g));else if(C){let S=b.join("");b=[],m.push(h.length===0?S:d(p,h)(S)),h.push({inverse:E,styles:u(C)})}else if(x){if(h.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(d(p,h)(b.join(""))),b=[],h.pop()}else b.push(P)}),m.push(b.join("")),h.length>0){let w=`Chalk template literal is missing ${h.length} closing bracket${h.length===1?"":"s"} (\`}\`)`;throw new Error(w)}return m.join("")}}),XE=O((e,t)=>{"use strict";var r=GB(),{stdout:n,stderr:o}=YB(),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:i}=KB(),s=["ansi","ansi","ansi256","ansi16m"],c=Object.create(null),u=l((S,y={})=>{if(y.level>3||y.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let v=n?n.level:0;S.level=y.level===void 0?v:y.level},"applyOptions"),d=class{constructor(y){return f(y)}};l(d,"ChalkClass");var p=d,f=l(S=>{let y={};return u(y,S),y.template=(...v)=>x(y.template,...v),Object.setPrototypeOf(y,h.prototype),Object.setPrototypeOf(y.template,y),y.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},y.template.Instance=p,y.template},"chalkFactory");function h(S){return f(S)}l(h,"Chalk");for(let[S,y]of Object.entries(r))c[S]={get(){let v=g(this,w(y.open,y.close,this._styler),this._isEmpty);return Object.defineProperty(this,S,{value:v}),v}};c.visible={get(){let S=g(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:S}),S}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let S of m)c[S]={get(){let{level:y}=this;return function(...v){let A=w(r.color[s[y]][S](...v),r.color.close,this._styler);return g(this,A,this._isEmpty)}}};for(let S of m){let y="bg"+S[0].toUpperCase()+S.slice(1);c[y]={get(){let{level:v}=this;return function(...A){let T=w(r.bgColor[s[v]][S](...A),r.bgColor.close,this._styler);return g(this,T,this._isEmpty)}}}}var b=Object.defineProperties(()=>{},{...c,level:{enumerable:!0,get(){return this._generator.level},set(S){this._generator.level=S}}}),w=l((S,y,v)=>{let A,T;return v===void 0?(A=S,T=y):(A=v.openAll+S,T=y+v.closeAll),{open:S,close:y,openAll:A,closeAll:T,parent:v}},"createStyler"),g=l((S,y,v)=>{let A=l((...T)=>E(A,T.length===1?""+T[0]:T.join(" ")),"builder");return A.__proto__=b,A._generator=S,A._styler=y,A._isEmpty=v,A},"createBuilder"),E=l((S,y)=>{if(S.level<=0||!y)return S._isEmpty?"":y;let v=S._styler;if(v===void 0)return y;let{openAll:A,closeAll:T}=v;if(y.indexOf("\x1B")!==-1)for(;v!==void 0;)y=a(y,v.close,v.open),v=v.parent;let _=y.indexOf(`
|
|
204
|
+
`);return _!==-1&&(y=i(y,T,A,_)),A+y+T},"applyStyle"),C,x=l((S,...y)=>{let[v]=y;if(!Array.isArray(v))return y.join(" ");let A=y.slice(1),T=[v.raw[0]];for(let _=1;_<v.length;_++)T.push(String(A[_-1]).replace(/[{}\\]/g,"\\$&"),String(v.raw[_]));return C===void 0&&(C=XB()),C(S,T.join(""))},"chalkTag");Object.defineProperties(h.prototype,c);var P=h();P.supportsColor=n,P.stderr=h({level:o?o.level:0}),P.stderr.supportsColor=o,P.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=P}),JB=O((e,t)=>{function r(){this.__data__=[],this.size=0}l(r,"listCacheClear"),t.exports=r}),JE=O((e,t)=>{function r(n,o){return n===o||n!==n&&o!==o}l(r,"eq"),t.exports=r}),fl=O((e,t)=>{var r=JE();function n(o,a){for(var i=o.length;i--;)if(r(o[i][0],a))return i;return-1}l(n,"assocIndexOf"),t.exports=n}),QB=O((e,t)=>{var r=fl(),n=Array.prototype,o=n.splice;function a(i){var s=this.__data__,c=r(s,i);if(c<0)return!1;var u=s.length-1;return c==u?s.pop():o.call(s,c,1),--this.size,!0}l(a,"listCacheDelete"),t.exports=a}),ZB=O((e,t)=>{var r=fl();function n(o){var a=this.__data__,i=r(a,o);return i<0?void 0:a[i][1]}l(n,"listCacheGet"),t.exports=n}),e3=O((e,t)=>{var r=fl();function n(o){return r(this.__data__,o)>-1}l(n,"listCacheHas"),t.exports=n}),t3=O((e,t)=>{var r=fl();function n(o,a){var i=this.__data__,s=r(i,o);return s<0?(++this.size,i.push([o,a])):i[s][1]=a,this}l(n,"listCacheSet"),t.exports=n}),hl=O((e,t)=>{var r=JB(),n=QB(),o=ZB(),a=e3(),i=t3();function s(c){var u=-1,d=c==null?0:c.length;for(this.clear();++u<d;){var p=c[u];this.set(p[0],p[1])}}l(s,"ListCache"),s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=a,s.prototype.set=i,t.exports=s}),r3=O((e,t)=>{var r=hl();function n(){this.__data__=new r,this.size=0}l(n,"stackClear"),t.exports=n}),n3=O((e,t)=>{function r(n){var o=this.__data__,a=o.delete(n);return this.size=o.size,a}l(r,"stackDelete"),t.exports=r}),o3=O((e,t)=>{function r(n){return this.__data__.get(n)}l(r,"stackGet"),t.exports=r}),a3=O((e,t)=>{function r(n){return this.__data__.has(n)}l(r,"stackHas"),t.exports=r}),QE=O((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),Sr=O((e,t)=>{var r=QE(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}),dh=O((e,t)=>{var r=Sr(),n=r.Symbol;t.exports=n}),i3=O((e,t)=>{var r=dh(),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,i=r?r.toStringTag:void 0;function s(c){var u=o.call(c,i),d=c[i];try{c[i]=void 0;var p=!0}catch(h){}var f=a.call(c);return p&&(u?c[i]=d:delete c[i]),f}l(s,"getRawTag"),t.exports=s}),s3=O((e,t)=>{var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}l(o,"objectToString"),t.exports=o}),ml=O((e,t)=>{var r=dh(),n=i3(),o=s3(),a="[object Null]",i="[object Undefined]",s=r?r.toStringTag:void 0;function c(u){return u==null?u===void 0?i:a:s&&s in Object(u)?n(u):o(u)}l(c,"baseGetTag"),t.exports=c}),ZE=O((e,t)=>{function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}l(r,"isObject"),t.exports=r}),ex=O((e,t)=>{var r=ml(),n=ZE(),o="[object AsyncFunction]",a="[object Function]",i="[object GeneratorFunction]",s="[object Proxy]";function c(u){if(!n(u))return!1;var d=r(u);return d==a||d==i||d==o||d==s}l(c,"isFunction"),t.exports=c}),l3=O((e,t)=>{var r=Sr(),n=r["__core-js_shared__"];t.exports=n}),u3=O((e,t)=>{var r=l3(),n=(function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})();function o(a){return!!n&&n in a}l(o,"isMasked"),t.exports=o}),tx=O((e,t)=>{var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch(i){}try{return a+""}catch(i){}}return""}l(o,"toSource"),t.exports=o}),c3=O((e,t)=>{var r=ex(),n=u3(),o=ZE(),a=tx(),i=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,d=c.toString,p=u.hasOwnProperty,f=RegExp("^"+d.call(p).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(m){if(!o(m)||n(m))return!1;var b=r(m)?f:s;return b.test(a(m))}l(h,"baseIsNative"),t.exports=h}),d3=O((e,t)=>{function r(n,o){return n==null?void 0:n[o]}l(r,"getValue"),t.exports=r}),So=O((e,t)=>{var r=c3(),n=d3();function o(a,i){var s=n(a,i);return r(s)?s:void 0}l(o,"getNative"),t.exports=o}),ph=O((e,t)=>{var r=So(),n=Sr(),o=r(n,"Map");t.exports=o}),bl=O((e,t)=>{var r=So(),n=r(Object,"create");t.exports=n}),p3=O((e,t)=>{var r=bl();function n(){this.__data__=r?r(null):{},this.size=0}l(n,"hashClear"),t.exports=n}),f3=O((e,t)=>{function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}l(r,"hashDelete"),t.exports=r}),h3=O((e,t)=>{var r=bl(),n="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function i(s){var c=this.__data__;if(r){var u=c[s];return u===n?void 0:u}return a.call(c,s)?c[s]:void 0}l(i,"hashGet"),t.exports=i}),m3=O((e,t)=>{var r=bl(),n=Object.prototype,o=n.hasOwnProperty;function a(i){var s=this.__data__;return r?s[i]!==void 0:o.call(s,i)}l(a,"hashHas"),t.exports=a}),b3=O((e,t)=>{var r=bl(),n="__lodash_hash_undefined__";function o(a,i){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=r&&i===void 0?n:i,this}l(o,"hashSet"),t.exports=o}),g3=O((e,t)=>{var r=p3(),n=f3(),o=h3(),a=m3(),i=b3();function s(c){var u=-1,d=c==null?0:c.length;for(this.clear();++u<d;){var p=c[u];this.set(p[0],p[1])}}l(s,"Hash"),s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=a,s.prototype.set=i,t.exports=s}),y3=O((e,t)=>{var r=g3(),n=hl(),o=ph();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}l(a,"mapCacheClear"),t.exports=a}),v3=O((e,t)=>{function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}l(r,"isKeyable"),t.exports=r}),gl=O((e,t)=>{var r=v3();function n(o,a){var i=o.__data__;return r(a)?i[typeof a=="string"?"string":"hash"]:i.map}l(n,"getMapData"),t.exports=n}),w3=O((e,t)=>{var r=gl();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}l(n,"mapCacheDelete"),t.exports=n}),E3=O((e,t)=>{var r=gl();function n(o){return r(this,o).get(o)}l(n,"mapCacheGet"),t.exports=n}),x3=O((e,t)=>{var r=gl();function n(o){return r(this,o).has(o)}l(n,"mapCacheHas"),t.exports=n}),C3=O((e,t)=>{var r=gl();function n(o,a){var i=r(this,o),s=i.size;return i.set(o,a),this.size+=i.size==s?0:1,this}l(n,"mapCacheSet"),t.exports=n}),rx=O((e,t)=>{var r=y3(),n=w3(),o=E3(),a=x3(),i=C3();function s(c){var u=-1,d=c==null?0:c.length;for(this.clear();++u<d;){var p=c[u];this.set(p[0],p[1])}}l(s,"MapCache"),s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=a,s.prototype.set=i,t.exports=s}),S3=O((e,t)=>{var r=hl(),n=ph(),o=rx(),a=200;function i(s,c){var u=this.__data__;if(u instanceof r){var d=u.__data__;if(!n||d.length<a-1)return d.push([s,c]),this.size=++u.size,this;u=this.__data__=new o(d)}return u.set(s,c),this.size=u.size,this}l(i,"stackSet"),t.exports=i}),A3=O((e,t)=>{var r=hl(),n=r3(),o=n3(),a=o3(),i=a3(),s=S3();function c(u){var d=this.__data__=new r(u);this.size=d.size}l(c,"Stack"),c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,t.exports=c}),P3=O((e,t)=>{var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}l(n,"setCacheAdd"),t.exports=n}),O3=O((e,t)=>{function r(n){return this.__data__.has(n)}l(r,"setCacheHas"),t.exports=r}),T3=O((e,t)=>{var r=rx(),n=P3(),o=O3();function a(i){var s=-1,c=i==null?0:i.length;for(this.__data__=new r;++s<c;)this.add(i[s])}l(a,"SetCache"),a.prototype.add=a.prototype.push=n,a.prototype.has=o,t.exports=a}),R3=O((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length;++a<i;)if(o(n[a],a,n))return!0;return!1}l(r,"arraySome"),t.exports=r}),_3=O((e,t)=>{function r(n,o){return n.has(o)}l(r,"cacheHas"),t.exports=r}),nx=O((e,t)=>{var r=T3(),n=R3(),o=_3(),a=1,i=2;function s(c,u,d,p,f,h){var m=d&a,b=c.length,w=u.length;if(b!=w&&!(m&&w>b))return!1;var g=h.get(c),E=h.get(u);if(g&&E)return g==u&&E==c;var C=-1,x=!0,P=d&i?new r:void 0;for(h.set(c,u),h.set(u,c);++C<b;){var S=c[C],y=u[C];if(p)var v=m?p(y,S,C,u,c,h):p(S,y,C,c,u,h);if(v!==void 0){if(v)continue;x=!1;break}if(P){if(!n(u,function(A,T){if(!o(P,T)&&(S===A||f(S,A,d,p,h)))return P.push(T)})){x=!1;break}}else if(!(S===y||f(S,y,d,p,h))){x=!1;break}}return h.delete(c),h.delete(u),x}l(s,"equalArrays"),t.exports=s}),k3=O((e,t)=>{var r=Sr(),n=r.Uint8Array;t.exports=n}),q3=O((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i,s){a[++o]=[s,i]}),a}l(r,"mapToArray"),t.exports=r}),M3=O((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i){a[++o]=i}),a}l(r,"setToArray"),t.exports=r}),j3=O((e,t)=>{var r=dh(),n=k3(),o=JE(),a=nx(),i=q3(),s=M3(),c=1,u=2,d="[object Boolean]",p="[object Date]",f="[object Error]",h="[object Map]",m="[object Number]",b="[object RegExp]",w="[object Set]",g="[object String]",E="[object Symbol]",C="[object ArrayBuffer]",x="[object DataView]",P=r?r.prototype:void 0,S=P?P.valueOf:void 0;function y(v,A,T,_,N,$,R){switch(T){case x:if(v.byteLength!=A.byteLength||v.byteOffset!=A.byteOffset)return!1;v=v.buffer,A=A.buffer;case C:return!(v.byteLength!=A.byteLength||!$(new n(v),new n(A)));case d:case p:case m:return o(+v,+A);case f:return v.name==A.name&&v.message==A.message;case b:case g:return v==A+"";case h:var k=i;case w:var D=_&c;if(k||(k=s),v.size!=A.size&&!D)return!1;var K=R.get(v);if(K)return K==A;_|=u,R.set(v,A);var G=a(k(v),k(A),_,N,$,R);return R.delete(v),G;case E:if(S)return S.call(v)==S.call(A)}return!1}l(y,"equalByTag"),t.exports=y}),I3=O((e,t)=>{function r(n,o){for(var a=-1,i=o.length,s=n.length;++a<i;)n[s+a]=o[a];return n}l(r,"arrayPush"),t.exports=r}),fh=O((e,t)=>{var r=Array.isArray;t.exports=r}),D3=O((e,t)=>{var r=I3(),n=fh();function o(a,i,s){var c=i(a);return n(a)?c:r(c,s(a))}l(o,"baseGetAllKeys"),t.exports=o}),N3=O((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=0,c=[];++a<i;){var u=n[a];o(u,a,n)&&(c[s++]=u)}return c}l(r,"arrayFilter"),t.exports=r}),F3=O((e,t)=>{function r(){return[]}l(r,"stubArray"),t.exports=r}),$3=O((e,t)=>{var r=N3(),n=F3(),o=Object.prototype,a=o.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(c){return c==null?[]:(c=Object(c),r(i(c),function(u){return a.call(c,u)}))}:n;t.exports=s}),L3=O((e,t)=>{function r(n,o){for(var a=-1,i=Array(n);++a<n;)i[a]=o(a);return i}l(r,"baseTimes"),t.exports=r}),yl=O((e,t)=>{function r(n){return n!=null&&typeof n=="object"}l(r,"isObjectLike"),t.exports=r}),B3=O((e,t)=>{var r=ml(),n=yl(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}l(a,"baseIsArguments"),t.exports=a}),H3=O((e,t)=>{var r=B3(),n=yl(),o=Object.prototype,a=o.hasOwnProperty,i=o.propertyIsEnumerable,s=r((function(){return arguments})())?r:function(c){return n(c)&&a.call(c,"callee")&&!i.call(c,"callee")};t.exports=s}),U3=O((e,t)=>{function r(){return!1}l(r,"stubFalse"),t.exports=r}),ox=O((e,t)=>{var r=Sr(),n=U3(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i?r.Buffer:void 0,c=s?s.isBuffer:void 0,u=c||n;t.exports=u}),V3=O((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var s=typeof a;return i=i!=null?i:r,!!i&&(s=="number"||s!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a<i}l(o,"isIndex"),t.exports=o}),ax=O((e,t)=>{var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}l(n,"isLength"),t.exports=n}),z3=O((e,t)=>{var r=ml(),n=ax(),o=yl(),a="[object Arguments]",i="[object Array]",s="[object Boolean]",c="[object Date]",u="[object Error]",d="[object Function]",p="[object Map]",f="[object Number]",h="[object Object]",m="[object RegExp]",b="[object Set]",w="[object String]",g="[object WeakMap]",E="[object ArrayBuffer]",C="[object DataView]",x="[object Float32Array]",P="[object Float64Array]",S="[object Int8Array]",y="[object Int16Array]",v="[object Int32Array]",A="[object Uint8Array]",T="[object Uint8ClampedArray]",_="[object Uint16Array]",N="[object Uint32Array]",$={};$[x]=$[P]=$[S]=$[y]=$[v]=$[A]=$[T]=$[_]=$[N]=!0,$[a]=$[i]=$[E]=$[s]=$[C]=$[c]=$[u]=$[d]=$[p]=$[f]=$[h]=$[m]=$[b]=$[w]=$[g]=!1;function R(k){return o(k)&&n(k.length)&&!!$[r(k)]}l(R,"baseIsTypedArray"),t.exports=R}),W3=O((e,t)=>{function r(n){return function(o){return n(o)}}l(r,"baseUnary"),t.exports=r}),G3=O((e,t)=>{var r=QE(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a&&r.process,s=(function(){try{var c=o&&o.require&&o.require("util").types;return c||i&&i.binding&&i.binding("util")}catch(u){}})();t.exports=s}),ix=O((e,t)=>{var r=z3(),n=W3(),o=G3(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i}),Y3=O((e,t)=>{var r=L3(),n=H3(),o=fh(),a=ox(),i=V3(),s=ix(),c=Object.prototype,u=c.hasOwnProperty;function d(p,f){var h=o(p),m=!h&&n(p),b=!h&&!m&&a(p),w=!h&&!m&&!b&&s(p),g=h||m||b||w,E=g?r(p.length,String):[],C=E.length;for(var x in p)(f||u.call(p,x))&&!(g&&(x=="length"||b&&(x=="offset"||x=="parent")||w&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||i(x,C)))&&E.push(x);return E}l(d,"arrayLikeKeys"),t.exports=d}),K3=O((e,t)=>{var r=Object.prototype;function n(o){var a=o&&o.constructor,i=typeof a=="function"&&a.prototype||r;return o===i}l(n,"isPrototype"),t.exports=n}),X3=O((e,t)=>{function r(n,o){return function(a){return n(o(a))}}l(r,"overArg"),t.exports=r}),J3=O((e,t)=>{var r=X3(),n=r(Object.keys,Object);t.exports=n}),Q3=O((e,t)=>{var r=K3(),n=J3(),o=Object.prototype,a=o.hasOwnProperty;function i(s){if(!r(s))return n(s);var c=[];for(var u in Object(s))a.call(s,u)&&u!="constructor"&&c.push(u);return c}l(i,"baseKeys"),t.exports=i}),Z3=O((e,t)=>{var r=ex(),n=ax();function o(a){return a!=null&&n(a.length)&&!r(a)}l(o,"isArrayLike"),t.exports=o}),e5=O((e,t)=>{var r=Y3(),n=Q3(),o=Z3();function a(i){return o(i)?r(i):n(i)}l(a,"keys"),t.exports=a}),t5=O((e,t)=>{var r=D3(),n=$3(),o=e5();function a(i){return r(i,o,n)}l(a,"getAllKeys"),t.exports=a}),r5=O((e,t)=>{var r=t5(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(s,c,u,d,p,f){var h=u&n,m=r(s),b=m.length,w=r(c),g=w.length;if(b!=g&&!h)return!1;for(var E=b;E--;){var C=m[E];if(!(h?C in c:a.call(c,C)))return!1}var x=f.get(s),P=f.get(c);if(x&&P)return x==c&&P==s;var S=!0;f.set(s,c),f.set(c,s);for(var y=h;++E<b;){C=m[E];var v=s[C],A=c[C];if(d)var T=h?d(A,v,C,c,s,f):d(v,A,C,s,c,f);if(!(T===void 0?v===A||p(v,A,u,d,f):T)){S=!1;break}y||(y=C=="constructor")}if(S&&!y){var _=s.constructor,N=c.constructor;_!=N&&"constructor"in s&&"constructor"in c&&!(typeof _=="function"&&_ instanceof _&&typeof N=="function"&&N instanceof N)&&(S=!1)}return f.delete(s),f.delete(c),S}l(i,"equalObjects"),t.exports=i}),n5=O((e,t)=>{var r=So(),n=Sr(),o=r(n,"DataView");t.exports=o}),o5=O((e,t)=>{var r=So(),n=Sr(),o=r(n,"Promise");t.exports=o}),a5=O((e,t)=>{var r=So(),n=Sr(),o=r(n,"Set");t.exports=o}),i5=O((e,t)=>{var r=So(),n=Sr(),o=r(n,"WeakMap");t.exports=o}),s5=O((e,t)=>{var r=n5(),n=ph(),o=o5(),a=a5(),i=i5(),s=ml(),c=tx(),u="[object Map]",d="[object Object]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",m="[object DataView]",b=c(r),w=c(n),g=c(o),E=c(a),C=c(i),x=s;(r&&x(new r(new ArrayBuffer(1)))!=m||n&&x(new n)!=u||o&&x(o.resolve())!=p||a&&x(new a)!=f||i&&x(new i)!=h)&&(x=l(function(P){var S=s(P),y=S==d?P.constructor:void 0,v=y?c(y):"";if(v)switch(v){case b:return m;case w:return u;case g:return p;case E:return f;case C:return h}return S},"getTag")),t.exports=x}),l5=O((e,t)=>{var r=A3(),n=nx(),o=j3(),a=r5(),i=s5(),s=fh(),c=ox(),u=ix(),d=1,p="[object Arguments]",f="[object Array]",h="[object Object]",m=Object.prototype,b=m.hasOwnProperty;function w(g,E,C,x,P,S){var y=s(g),v=s(E),A=y?f:i(g),T=v?f:i(E);A=A==p?h:A,T=T==p?h:T;var _=A==h,N=T==h,$=A==T;if($&&c(g)){if(!c(E))return!1;y=!0,_=!1}if($&&!_)return S||(S=new r),y||u(g)?n(g,E,C,x,P,S):o(g,E,A,C,x,P,S);if(!(C&d)){var R=_&&b.call(g,"__wrapped__"),k=N&&b.call(E,"__wrapped__");if(R||k){var D=R?g.value():g,K=k?E.value():E;return S||(S=new r),P(D,K,C,x,S)}}return $?(S||(S=new r),a(g,E,C,x,P,S)):!1}l(w,"baseIsEqualDeep"),t.exports=w}),u5=O((e,t)=>{var r=l5(),n=yl();function o(a,i,s,c,u){return a===i?!0:a==null||i==null||!n(a)&&!n(i)?a!==a&&i!==i:r(a,i,s,c,o,u)}l(o,"baseIsEqual"),t.exports=o}),sx=O((e,t)=>{var r=u5();function n(o,a,i){i=typeof i=="function"?i:void 0;var s=i?i(o,a):void 0;return s===void 0?r(o,a,void 0,i):!!s}l(n,"isEqualWith"),t.exports=n}),lx=O((e,t)=>{(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=l(function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var a=String(o),i=a.length,s=-1,c,u="",d=a.charCodeAt(0);++s<i;){if(c=a.charCodeAt(s),c==0){u+="\uFFFD";continue}if(c>=1&&c<=31||c==127||s==0&&c>=48&&c<=57||s==1&&c>=48&&c<=57&&d==45){u+="\\"+c.toString(16)+" ";continue}if(s==0&&i==1&&c==45){u+="\\"+a.charAt(s);continue}if(c>=128||c==45||c==95||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122){u+=a.charAt(s);continue}u+="\\"+a.charAt(s)}return u},"cssEscape");return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}),ux=O((e,t)=>{"use strict";var r=l((a=0)=>i=>`\x1B[${38+a};5;${i}m`,"wrapAnsi256"),n=l((a=0)=>(i,s,c)=>`\x1B[${38+a};2;${i};${s};${c}m`,"wrapAnsi16m");function o(){let a=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(let[s,c]of Object.entries(i)){for(let[u,d]of Object.entries(c))i[u]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},c[u]=i[u],a.set(d[0],d[1]);Object.defineProperty(i,s,{value:c,enumerable:!1})}return Object.defineProperty(i,"codes",{value:a,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:l((s,c,u)=>s===c&&c===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(c/255*5)+Math.round(u/255*5),"value"),enumerable:!1},hexToRgb:{value:l(s=>{let c=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!c)return[0,0,0];let{colorString:u}=c.groups;u.length===3&&(u=u.split("").map(p=>p+p).join(""));let d=Number.parseInt(u,16);return[d>>16&255,d>>8&255,d&255]},"value"),enumerable:!1},hexToAnsi256:{value:l(s=>i.rgbToAnsi256(...i.hexToRgb(s)),"value"),enumerable:!1}}),i}l(o,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:o})}),vl=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=a;var t=l((i,s)=>{let c=Object.keys(i).sort(s);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(u=>{Object.getOwnPropertyDescriptor(i,u).enumerable&&c.push(u)}),c},"getKeysOfEnumerableProperties");function r(i,s,c,u,d,p,f=": "){let h="",m=i.next();if(!m.done){h+=s.spacingOuter;let b=c+s.indent;for(;!m.done;){let w=p(m.value[0],s,b,u,d),g=p(m.value[1],s,b,u,d);h+=b+w+f+g,m=i.next(),m.done?s.min||(h+=","):h+=","+s.spacingInner}h+=s.spacingOuter+c}return h}l(r,"printIteratorEntries");function n(i,s,c,u,d,p){let f="",h=i.next();if(!h.done){f+=s.spacingOuter;let m=c+s.indent;for(;!h.done;)f+=m+p(h.value,s,m,u,d),h=i.next(),h.done?s.min||(f+=","):f+=","+s.spacingInner;f+=s.spacingOuter+c}return f}l(n,"printIteratorValues");function o(i,s,c,u,d,p){let f="";if(i.length){f+=s.spacingOuter;let h=c+s.indent;for(let m=0;m<i.length;m++)f+=h,m in i&&(f+=p(i[m],s,h,u,d)),m<i.length-1?f+=","+s.spacingInner:s.min||(f+=",");f+=s.spacingOuter+c}return f}l(o,"printListItems");function a(i,s,c,u,d,p){let f="",h=t(i,s.compareKeys);if(h.length){f+=s.spacingOuter;let m=c+s.indent;for(let b=0;b<h.length;b++){let w=h[b],g=p(w,s,m,u,d),E=p(i[w],s,m,u,d);f+=m+g+": "+E,b<h.length-1?f+=","+s.spacingInner:s.min||(f+=",")}f+=s.spacingOuter+c}return f}l(a,"printObjectProperties")}),c5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=vl(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,a=" ",i=l((d,p,f,h,m,b)=>{let w=d.toString();return w==="ArrayContaining"||w==="ArrayNotContaining"?++h>p.maxDepth?"["+w+"]":w+a+"["+(0,t.printListItems)(d.sample,p,f,h,m,b)+"]":w==="ObjectContaining"||w==="ObjectNotContaining"?++h>p.maxDepth?"["+w+"]":w+a+"{"+(0,t.printObjectProperties)(d.sample,p,f,h,m,b)+"}":w==="StringMatching"||w==="StringNotMatching"||w==="StringContaining"||w==="StringNotContaining"?w+a+b(d.sample,p,f,h,m):d.toAsymmetricMatcher()},"serialize");e.serialize=i;var s=l(d=>d&&d.$$typeof===o,"test");e.test=s;var c={serialize:i,test:s},u=c;e.default=u}),d5=O((e,t)=>{"use strict";t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}),p5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(d5()),r=n(ux());function n(u){return u&&u.__esModule?u:{default:u}}l(n,"_interopRequireDefault");var o=l(u=>u.replace((0,t.default)(),d=>{switch(d){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),"toHumanReadableAnsi"),a=l(u=>typeof u=="string"&&!!u.match((0,t.default)()),"test");e.test=a;var i=l((u,d,p,f,h,m)=>m(o(u),d,p,f,h),"serialize");e.serialize=i;var s={serialize:i,test:a},c=s;e.default=c}),f5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=vl(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,a=l(p=>n.indexOf(p)!==-1||o.test(p),"testName"),i=l(p=>p&&p.constructor&&!!p.constructor.name&&a(p.constructor.name),"test");e.test=i;var s=l(p=>p.constructor.name==="NamedNodeMap","isNamedNodeMap"),c=l((p,f,h,m,b,w)=>{let g=p.constructor.name;return++m>f.maxDepth?"["+g+"]":(f.min?"":g+r)+(n.indexOf(g)!==-1?"{"+(0,t.printObjectProperties)(s(p)?Array.from(p).reduce((E,C)=>(E[C.name]=C.value,E),{}):{...p},f,h,m,b,w)+"}":"["+(0,t.printListItems)(Array.from(p),f,h,m,b,w)+"]")},"serialize");e.serialize=c;var u={serialize:c,test:i},d=u;e.default=d}),h5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}l(t,"escapeHTML")}),hh=O(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(h5());function r(u){return u&&u.__esModule?u:{default:u}}l(r,"_interopRequireDefault");var n=l((u,d,p,f,h,m,b)=>{let w=f+p.indent,g=p.colors;return u.map(E=>{let C=d[E],x=b(C,p,w,h,m);return typeof C!="string"&&(x.indexOf(`
|
|
205
|
+
`)!==-1&&(x=p.spacingOuter+w+x+p.spacingOuter+f),x="{"+x+"}"),p.spacingInner+f+g.prop.open+E+g.prop.close+"="+g.value.open+x+g.value.close}).join("")},"printProps");e.printProps=n;var o=l((u,d,p,f,h,m)=>u.map(b=>d.spacingOuter+p+(typeof b=="string"?a(b,d):m(b,d,p,f,h))).join(""),"printChildren");e.printChildren=o;var a=l((u,d)=>{let p=d.colors.content;return p.open+(0,t.default)(u)+p.close},"printText");e.printText=a;var i=l((u,d)=>{let p=d.colors.comment;return p.open+"<!--"+(0,t.default)(u)+"-->"+p.close},"printComment");e.printComment=i;var s=l((u,d,p,f,h)=>{let m=f.colors.tag;return m.open+"<"+u+(d&&m.close+d+f.spacingOuter+h+m.open)+(p?">"+m.close+p+f.spacingOuter+h+m.open+"</"+u:(d&&!f.min?"":" ")+"/")+">"+m.close},"printElement");e.printElement=s;var c=l((u,d)=>{let p=d.colors.tag;return p.open+"<"+u+p.close+" \u2026"+p.open+" />"+p.close},"printElementAsLeaf");e.printElementAsLeaf=c}),m5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=hh(),r=1,n=3,o=8,a=11,i=/^((HTML|SVG)\w*)?Element$/,s=l(w=>{try{return typeof w.hasAttribute=="function"&&w.hasAttribute("is")}catch(g){return!1}},"testHasAttribute"),c=l(w=>{let g=w.constructor.name,{nodeType:E,tagName:C}=w,x=typeof C=="string"&&C.includes("-")||s(w);return E===r&&(i.test(g)||x)||E===n&&g==="Text"||E===o&&g==="Comment"||E===a&&g==="DocumentFragment"},"testNode"),u=l(w=>{var g;return(w==null||(g=w.constructor)===null||g===void 0?void 0:g.name)&&c(w)},"test");e.test=u;function d(w){return w.nodeType===n}l(d,"nodeIsText");function p(w){return w.nodeType===o}l(p,"nodeIsComment");function f(w){return w.nodeType===a}l(f,"nodeIsFragment");var h=l((w,g,E,C,x,P)=>{if(d(w))return(0,t.printText)(w.data,g);if(p(w))return(0,t.printComment)(w.data,g);let S=f(w)?"DocumentFragment":w.tagName.toLowerCase();return++C>g.maxDepth?(0,t.printElementAsLeaf)(S,g):(0,t.printElement)(S,(0,t.printProps)(f(w)?[]:Array.from(w.attributes).map(y=>y.name).sort(),f(w)?{}:Array.from(w.attributes).reduce((y,v)=>(y[v.name]=v.value,y),{}),g,E+g.indent,C,x,P),(0,t.printChildren)(Array.prototype.slice.call(w.childNodes||w.children),g,E+g.indent,C,x,P),g,E)},"serialize");e.serialize=h;var m={serialize:h,test:u},b=m;e.default=b}),b5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=vl(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",a="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",s="@@__IMMUTABLE_RECORD__@@",c="@@__IMMUTABLE_SEQ__@@",u="@@__IMMUTABLE_SET__@@",d="@@__IMMUTABLE_STACK__@@",p=l(v=>"Immutable."+v,"getImmutableName"),f=l(v=>"["+v+"]","printAsLeaf"),h=" ",m="\u2026",b=l((v,A,T,_,N,$,R)=>++_>A.maxDepth?f(p(R)):p(R)+h+"{"+(0,t.printIteratorEntries)(v.entries(),A,T,_,N,$)+"}","printImmutableEntries");function w(v){let A=0;return{next(){if(A<v._keys.length){let T=v._keys[A++];return{done:!1,value:[T,v.get(T)]}}return{done:!0,value:void 0}}}}l(w,"getRecordEntries");var g=l((v,A,T,_,N,$)=>{let R=p(v._name||"Record");return++_>A.maxDepth?f(R):R+h+"{"+(0,t.printIteratorEntries)(w(v),A,T,_,N,$)+"}"},"printImmutableRecord"),E=l((v,A,T,_,N,$)=>{let R=p("Seq");return++_>A.maxDepth?f(R):v[o]?R+h+"{"+(v._iter||v._object?(0,t.printIteratorEntries)(v.entries(),A,T,_,N,$):m)+"}":R+h+"["+(v._iter||v._array||v._collection||v._iterable?(0,t.printIteratorValues)(v.values(),A,T,_,N,$):m)+"]"},"printImmutableSeq"),C=l((v,A,T,_,N,$,R)=>++_>A.maxDepth?f(p(R)):p(R)+h+"["+(0,t.printIteratorValues)(v.values(),A,T,_,N,$)+"]","printImmutableValues"),x=l((v,A,T,_,N,$)=>v[a]?b(v,A,T,_,N,$,v[i]?"OrderedMap":"Map"):v[n]?C(v,A,T,_,N,$,"List"):v[u]?C(v,A,T,_,N,$,v[i]?"OrderedSet":"Set"):v[d]?C(v,A,T,_,N,$,"Stack"):v[c]?E(v,A,T,_,N,$):g(v,A,T,_,N,$),"serialize");e.serialize=x;var P=l(v=>v&&(v[r]===!0||v[s]===!0),"test");e.test=P;var S={serialize:x,test:P},y=S;e.default=y}),g5=O(e=>{"use strict";(function(){"use strict";var t=60103,r=60106,n=60107,o=60108,a=60114,i=60109,s=60110,c=60112,u=60113,d=60120,p=60115,f=60116,h=60121,m=60122,b=60117,w=60119,g=60128,E=60129,C=60130,x=60131;if(typeof Symbol=="function"&&Symbol.for){var P=Symbol.for;t=P("react.element"),r=P("react.portal"),n=P("react.fragment"),o=P("react.strict_mode"),a=P("react.profiler"),i=P("react.provider"),s=P("react.context"),c=P("react.forward_ref"),u=P("react.suspense"),d=P("react.suspense_list"),p=P("react.memo"),f=P("react.lazy"),h=P("react.block"),m=P("react.server.block"),b=P("react.fundamental"),w=P("react.scope"),g=P("react.opaque.id"),E=P("react.debug_trace_mode"),C=P("react.offscreen"),x=P("react.legacy_hidden")}var S=!1;function y(J){return!!(typeof J=="string"||typeof J=="function"||J===n||J===a||J===E||J===o||J===u||J===d||J===x||S||typeof J=="object"&&J!==null&&(J.$$typeof===f||J.$$typeof===p||J.$$typeof===i||J.$$typeof===s||J.$$typeof===c||J.$$typeof===b||J.$$typeof===h||J[0]===m))}l(y,"isValidElementType");function v(J){if(typeof J=="object"&&J!==null){var le=J.$$typeof;switch(le){case t:var ue=J.type;switch(ue){case n:case a:case o:case u:case d:return ue;default:var Oe=ue&&ue.$$typeof;switch(Oe){case s:case c:case f:case p:case i:return Oe;default:return le}}case r:return le}}}l(v,"typeOf");var A=s,T=i,_=t,N=c,$=n,R=f,k=p,D=r,K=a,G=o,te=u,oe=!1,ee=!1;function W(J){return oe||(oe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}l(W,"isAsyncMode");function z(J){return ee||(ee=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}l(z,"isConcurrentMode");function Y(J){return v(J)===s}l(Y,"isContextConsumer");function re(J){return v(J)===i}l(re,"isContextProvider");function X(J){return typeof J=="object"&&J!==null&&J.$$typeof===t}l(X,"isElement");function ie(J){return v(J)===c}l(ie,"isForwardRef");function se(J){return v(J)===n}l(se,"isFragment");function me(J){return v(J)===f}l(me,"isLazy");function Pe(J){return v(J)===p}l(Pe,"isMemo");function L(J){return v(J)===r}l(L,"isPortal");function ne(J){return v(J)===a}l(ne,"isProfiler");function ae(J){return v(J)===o}l(ae,"isStrictMode");function V(J){return v(J)===u}l(V,"isSuspense"),e.ContextConsumer=A,e.ContextProvider=T,e.Element=_,e.ForwardRef=N,e.Fragment=$,e.Lazy=R,e.Memo=k,e.Portal=D,e.Profiler=K,e.StrictMode=G,e.Suspense=te,e.isAsyncMode=W,e.isConcurrentMode=z,e.isContextConsumer=Y,e.isContextProvider=re,e.isElement=X,e.isForwardRef=ie,e.isFragment=se,e.isLazy=me,e.isMemo=Pe,e.isPortal=L,e.isProfiler=ne,e.isStrictMode=ae,e.isSuspense=V,e.isValidElementType=y,e.typeOf=v})()}),y5=O((e,t)=>{"use strict";t.exports=g5()}),v5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(y5()),r=hh();function n(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,m=new WeakMap;return(n=l(function(b){return b?m:h},"_getRequireWildcardCache"))(f)}l(n,"_getRequireWildcardCache");function o(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var m=n(h);if(m&&m.has(f))return m.get(f);var b={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in f)if(g!=="default"&&Object.prototype.hasOwnProperty.call(f,g)){var E=w?Object.getOwnPropertyDescriptor(f,g):null;E&&(E.get||E.set)?Object.defineProperty(b,g,E):b[g]=f[g]}return b.default=f,m&&m.set(f,b),b}l(o,"_interopRequireWildcard");var a=l((f,h=[])=>(Array.isArray(f)?f.forEach(m=>{a(m,h)}):f!=null&&f!==!1&&h.push(f),h),"getChildren"),i=l(f=>{let h=f.type;if(typeof h=="string")return h;if(typeof h=="function")return h.displayName||h.name||"Unknown";if(t.isFragment(f))return"React.Fragment";if(t.isSuspense(f))return"React.Suspense";if(typeof h=="object"&&h!==null){if(t.isContextProvider(f))return"Context.Provider";if(t.isContextConsumer(f))return"Context.Consumer";if(t.isForwardRef(f)){if(h.displayName)return h.displayName;let m=h.render.displayName||h.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(f)){let m=h.displayName||h.type.displayName||h.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},"getType"),s=l(f=>{let{props:h}=f;return Object.keys(h).filter(m=>m!=="children"&&h[m]!==void 0).sort()},"getPropKeys"),c=l((f,h,m,b,w,g)=>++b>h.maxDepth?(0,r.printElementAsLeaf)(i(f),h):(0,r.printElement)(i(f),(0,r.printProps)(s(f),f.props,h,m+h.indent,b,w,g),(0,r.printChildren)(a(f.props.children),h,m+h.indent,b,w,g),h,m),"serialize");e.serialize=c;var u=l(f=>f!=null&&t.isElement(f),"test");e.test=u;var d={serialize:c,test:u},p=d;e.default=p}),w5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=hh(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,a=l(d=>{let{props:p}=d;return p?Object.keys(p).filter(f=>p[f]!==void 0).sort():[]},"getPropKeys"),i=l((d,p,f,h,m,b)=>++h>p.maxDepth?(0,t.printElementAsLeaf)(d.type,p):(0,t.printElement)(d.type,d.props?(0,t.printProps)(a(d),d.props,p,f+p.indent,h,m,b):"",d.children?(0,t.printChildren)(d.children,p,f+p.indent,h,m,b):"",p,f),"serialize");e.serialize=i;var s=l(d=>d&&d.$$typeof===o,"test");e.test=s;var c={serialize:i,test:s},u=c;e.default=u}),E5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=se,e.plugins=void 0;var t=d(ux()),r=vl(),n=d(c5()),o=d(p5()),a=d(f5()),i=d(m5()),s=d(b5()),c=d(v5()),u=d(w5());function d(L){return L&&L.__esModule?L:{default:L}}l(d,"_interopRequireDefault");var p=Object.prototype.toString,f=Date.prototype.toISOString,h=Error.prototype.toString,m=RegExp.prototype.toString,b=l(L=>typeof L.constructor=="function"&&L.constructor.name||"Object","getConstructorName"),w=l(L=>typeof window<"u"&&L===window,"isWindow"),g=/^Symbol\((.*)\)(.*)$/,E=/\n/gi,C=class extends Error{constructor(ne,ae){super(ne),this.stack=ae,this.name=this.constructor.name}};l(C,"PrettyFormatPluginError");var x=C;function P(L){return L==="[object Array]"||L==="[object ArrayBuffer]"||L==="[object DataView]"||L==="[object Float32Array]"||L==="[object Float64Array]"||L==="[object Int8Array]"||L==="[object Int16Array]"||L==="[object Int32Array]"||L==="[object Uint8Array]"||L==="[object Uint8ClampedArray]"||L==="[object Uint16Array]"||L==="[object Uint32Array]"}l(P,"isToStringedArrayType");function S(L){return Object.is(L,-0)?"-0":String(L)}l(S,"printNumber");function y(L){return`${L}n`}l(y,"printBigInt");function v(L,ne){return ne?"[Function "+(L.name||"anonymous")+"]":"[Function]"}l(v,"printFunction");function A(L){return String(L).replace(g,"Symbol($1)")}l(A,"printSymbol");function T(L){return"["+h.call(L)+"]"}l(T,"printError");function _(L,ne,ae,V){if(L===!0||L===!1)return""+L;if(L===void 0)return"undefined";if(L===null)return"null";let J=typeof L;if(J==="number")return S(L);if(J==="bigint")return y(L);if(J==="string")return V?'"'+L.replace(/"|\\/g,"\\$&")+'"':'"'+L+'"';if(J==="function")return v(L,ne);if(J==="symbol")return A(L);let le=p.call(L);return le==="[object WeakMap]"?"WeakMap {}":le==="[object WeakSet]"?"WeakSet {}":le==="[object Function]"||le==="[object GeneratorFunction]"?v(L,ne):le==="[object Symbol]"?A(L):le==="[object Date]"?isNaN(+L)?"Date { NaN }":f.call(L):le==="[object Error]"?T(L):le==="[object RegExp]"?ae?m.call(L).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(L):L instanceof Error?T(L):null}l(_,"printBasicValue");function N(L,ne,ae,V,J,le){if(J.indexOf(L)!==-1)return"[Circular]";J=J.slice(),J.push(L);let ue=++V>ne.maxDepth,Oe=ne.min;if(ne.callToJSON&&!ue&&L.toJSON&&typeof L.toJSON=="function"&&!le)return D(L.toJSON(),ne,ae,V,J,!0);let Je=p.call(L);return Je==="[object Arguments]"?ue?"[Arguments]":(Oe?"":"Arguments ")+"["+(0,r.printListItems)(L,ne,ae,V,J,D)+"]":P(Je)?ue?"["+L.constructor.name+"]":(Oe||!ne.printBasicPrototype&&L.constructor.name==="Array"?"":L.constructor.name+" ")+"["+(0,r.printListItems)(L,ne,ae,V,J,D)+"]":Je==="[object Map]"?ue?"[Map]":"Map {"+(0,r.printIteratorEntries)(L.entries(),ne,ae,V,J,D," => ")+"}":Je==="[object Set]"?ue?"[Set]":"Set {"+(0,r.printIteratorValues)(L.values(),ne,ae,V,J,D)+"}":ue||w(L)?"["+b(L)+"]":(Oe||!ne.printBasicPrototype&&b(L)==="Object"?"":b(L)+" ")+"{"+(0,r.printObjectProperties)(L,ne,ae,V,J,D)+"}"}l(N,"printComplexValue");function $(L){return L.serialize!=null}l($,"isNewPlugin");function R(L,ne,ae,V,J,le){let ue;try{ue=$(L)?L.serialize(ne,ae,V,J,le,D):L.print(ne,Oe=>D(Oe,ae,V,J,le),Oe=>{let Je=V+ae.indent;return Je+Oe.replace(E,`
|
|
206
|
+
`+Je)},{edgeSpacing:ae.spacingOuter,min:ae.min,spacing:ae.spacingInner},ae.colors)}catch(Oe){throw new x(Oe.message,Oe.stack)}if(typeof ue!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ue}".`);return ue}l(R,"printPlugin");function k(L,ne){for(let ae=0;ae<L.length;ae++)try{if(L[ae].test(ne))return L[ae]}catch(V){throw new x(V.message,V.stack)}return null}l(k,"findPlugin");function D(L,ne,ae,V,J,le){let ue=k(ne.plugins,L);if(ue!==null)return R(ue,L,ne,ae,V,J);let Oe=_(L,ne.printFunctionName,ne.escapeRegex,ne.escapeString);return Oe!==null?Oe:N(L,ne,ae,V,J,le)}l(D,"printer");var K={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},G=Object.keys(K),te={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=te;function oe(L){if(Object.keys(L).forEach(ne=>{if(!te.hasOwnProperty(ne))throw new Error(`pretty-format: Unknown option "${ne}".`)}),L.min&&L.indent!==void 0&&L.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(L.theme!==void 0){if(L.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof L.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof L.theme}".`)}}l(oe,"validateOptions");var ee=l(L=>G.reduce((ne,ae)=>{let V=L.theme&&L.theme[ae]!==void 0?L.theme[ae]:K[ae],J=V&&t.default[V];if(J&&typeof J.close=="string"&&typeof J.open=="string")ne[ae]=J;else throw new Error(`pretty-format: Option "theme" has a key "${ae}" whose value "${V}" is undefined in ansi-styles.`);return ne},Object.create(null)),"getColorsHighlight"),W=l(()=>G.reduce((L,ne)=>(L[ne]={close:"",open:""},L),Object.create(null)),"getColorsEmpty"),z=l(L=>L&&L.printFunctionName!==void 0?L.printFunctionName:te.printFunctionName,"getPrintFunctionName"),Y=l(L=>L&&L.escapeRegex!==void 0?L.escapeRegex:te.escapeRegex,"getEscapeRegex"),re=l(L=>L&&L.escapeString!==void 0?L.escapeString:te.escapeString,"getEscapeString"),X=l(L=>{var ne;return{callToJSON:L&&L.callToJSON!==void 0?L.callToJSON:te.callToJSON,colors:L&&L.highlight?ee(L):W(),compareKeys:L&&typeof L.compareKeys=="function"?L.compareKeys:te.compareKeys,escapeRegex:Y(L),escapeString:re(L),indent:L&&L.min?"":ie(L&&L.indent!==void 0?L.indent:te.indent),maxDepth:L&&L.maxDepth!==void 0?L.maxDepth:te.maxDepth,min:L&&L.min!==void 0?L.min:te.min,plugins:L&&L.plugins!==void 0?L.plugins:te.plugins,printBasicPrototype:(ne=L==null?void 0:L.printBasicPrototype)!==null&&ne!==void 0?ne:!0,printFunctionName:z(L),spacingInner:L&&L.min?" ":`
|
|
207
|
+
`,spacingOuter:L&&L.min?"":`
|
|
208
|
+
`}},"getConfig");function ie(L){return new Array(L+1).join(" ")}l(ie,"createIndent");function se(L,ne){if(ne&&(oe(ne),ne.plugins)){let V=k(ne.plugins,L);if(V!==null)return R(V,L,X(ne),"",0,[])}let ae=_(L,z(ne),Y(ne),re(ne));return ae!==null?ae:N(L,X(ne),"",0,[])}l(se,"format");var me={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:a.default,DOMElement:i.default,Immutable:s.default,ReactElement:c.default,ReactTestComponent:u.default};e.plugins=me;var Pe=se;e.default=Pe}),x5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,a={"@@iterator":l(function(){return a},"iterator"),next:l(function(){if(o<n.length){var i=n[o];return o=o+1,{done:!1,value:i}}else return{done:!0}},"next")};return a}l(t,"iteratorProxy");var r=t;e.default=r}),ni=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(x5());function r(a){return a&&a.__esModule?a:{default:a}}l(r,"_interopRequireDefault");function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(a)}l(n,"_typeof");function o(a,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(i)}),a}l(o,"iterationDecorator")}),C5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ni());function r(h){return h&&h.__esModule?h:{default:h}}l(r,"_interopRequireDefault");function n(h,m){return i(h)||a(h,m)||c(h,m)||o()}l(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
209
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(o,"_nonIterableRest");function a(h,m){var b=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(b!=null){var w=[],g=!0,E=!1,C,x;try{for(b=b.call(h);!(g=(C=b.next()).done)&&(w.push(C.value),!(m&&w.length===m));g=!0);}catch(P){E=!0,x=P}finally{try{!g&&b.return!=null&&b.return()}finally{if(E)throw x}}return w}}l(a,"_iterableToArrayLimit");function i(h){if(Array.isArray(h))return h}l(i,"_arrayWithHoles");function s(h,m){var b=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!b){if(Array.isArray(h)||(b=c(h))||m&&h&&typeof h.length=="number"){b&&(h=b);var w=0,g=l(function(){},"F");return{s:g,n:l(function(){return w>=h.length?{done:!0}:{done:!1,value:h[w++]}},"n"),e:l(function(P){throw P},"e"),f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
210
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,C=!1,x;return{s:l(function(){b=b.call(h)},"s"),n:l(function(){var P=b.next();return E=P.done,P},"n"),e:l(function(P){C=!0,x=P},"e"),f:l(function(){try{!E&&b.return!=null&&b.return()}finally{if(C)throw x}},"f")}}l(s,"_createForOfIteratorHelper");function c(h,m){if(h){if(typeof h=="string")return u(h,m);var b=Object.prototype.toString.call(h).slice(8,-1);if(b==="Object"&&h.constructor&&(b=h.constructor.name),b==="Map"||b==="Set")return Array.from(h);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return u(h,m)}}l(c,"_unsupportedIterableToArray");function u(h,m){(m==null||m>h.length)&&(m=h.length);for(var b=0,w=new Array(m);b<m;b++)w[b]=h[b];return w}l(u,"_arrayLikeToArray");var d=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],p={entries:l(function(){return d},"entries"),forEach:l(function(h){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=s(d),w;try{for(b.s();!(w=b.n()).done;){var g=n(w.value,2),E=g[0],C=g[1];h.call(m,C,E,d)}}catch(x){b.e(x)}finally{b.f()}},"forEach"),get:l(function(h){var m=d.find(function(b){return b[0]===h});return m&&m[1]},"get"),has:l(function(h){return!!p.get(h)},"has"),keys:l(function(){return d.map(function(h){var m=n(h,1),b=m[0];return b})},"keys"),values:l(function(){return d.map(function(h){var m=n(h,2),b=m[1];return b})},"values")},f=(0,t.default)(p,p.entries());e.default=f}),S5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ni());function r(h){return h&&h.__esModule?h:{default:h}}l(r,"_interopRequireDefault");function n(h,m){return i(h)||a(h,m)||c(h,m)||o()}l(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
211
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(o,"_nonIterableRest");function a(h,m){var b=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(b!=null){var w=[],g=!0,E=!1,C,x;try{for(b=b.call(h);!(g=(C=b.next()).done)&&(w.push(C.value),!(m&&w.length===m));g=!0);}catch(P){E=!0,x=P}finally{try{!g&&b.return!=null&&b.return()}finally{if(E)throw x}}return w}}l(a,"_iterableToArrayLimit");function i(h){if(Array.isArray(h))return h}l(i,"_arrayWithHoles");function s(h,m){var b=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!b){if(Array.isArray(h)||(b=c(h))||m&&h&&typeof h.length=="number"){b&&(h=b);var w=0,g=l(function(){},"F");return{s:g,n:l(function(){return w>=h.length?{done:!0}:{done:!1,value:h[w++]}},"n"),e:l(function(P){throw P},"e"),f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
212
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,C=!1,x;return{s:l(function(){b=b.call(h)},"s"),n:l(function(){var P=b.next();return E=P.done,P},"n"),e:l(function(P){C=!0,x=P},"e"),f:l(function(){try{!E&&b.return!=null&&b.return()}finally{if(C)throw x}},"f")}}l(s,"_createForOfIteratorHelper");function c(h,m){if(h){if(typeof h=="string")return u(h,m);var b=Object.prototype.toString.call(h).slice(8,-1);if(b==="Object"&&h.constructor&&(b=h.constructor.name),b==="Map"||b==="Set")return Array.from(h);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return u(h,m)}}l(c,"_unsupportedIterableToArray");function u(h,m){(m==null||m>h.length)&&(m=h.length);for(var b=0,w=new Array(m);b<m;b++)w[b]=h[b];return w}l(u,"_arrayLikeToArray");var d=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],p={entries:l(function(){return d},"entries"),forEach:l(function(h){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=s(d),w;try{for(b.s();!(w=b.n()).done;){var g=n(w.value,2),E=g[0],C=g[1];h.call(m,C,E,d)}}catch(x){b.e(x)}finally{b.f()}},"forEach"),get:l(function(h){var m=d.find(function(b){return b[0]===h});return m&&m[1]},"get"),has:l(function(h){return!!p.get(h)},"has"),keys:l(function(){return d.map(function(h){var m=n(h,1),b=m[0];return b})},"keys"),values:l(function(){return d.map(function(h){var m=n(h,2),b=m[1];return b})},"values")},f=(0,t.default)(p,p.entries());e.default=f}),A5=O(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}),P5=O(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}),O5=O(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}),T5=O(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}),R5=O(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}),_5=O(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}),k5=O(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}),q5=O(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}),M5=O(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}),j5=O(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}),I5=O(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}),D5=O(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}),N5=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=h(A5()),r=h(P5()),n=h(O5()),o=h(T5()),a=h(R5()),i=h(_5()),s=h(k5()),c=h(q5()),u=h(M5()),d=h(j5()),p=h(I5()),f=h(D5());function h(w){return w&&w.__esModule?w:{default:w}}l(h,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",a.default],["roletype",i.default],["section",s.default],["sectionhead",c.default],["select",u.default],["structure",d.default],["widget",p.default],["window",f.default]],b=m;e.default=b}),F5=O(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}),$5=O(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}),L5=O(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}),B5=O(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}),H5=O(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}),U5=O(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}),V5=O(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}),z5=O(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}),W5=O(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}),G5=O(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}),Y5=O(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}),K5=O(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:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),X5=O(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}),J5=O(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}),Q5=O(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}),Z5=O(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}),e4=O(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}),t4=O(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}),r4=O(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}),n4=O(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}),o4=O(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}),a4=O(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}),i4=O(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}),s4=O(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}),l4=O(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}),u4=O(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}),c4=O(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}),d4=O(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}),p4=O(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}),f4=O(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}),h4=O(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}),m4=O(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}),b4=O(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}),g4=O(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}),y4=O(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}),v4=O(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}),w4=O(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}),E4=O(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}),x4=O(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}),C4=O(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}),S4=O(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}),A4=O(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}),P4=O(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}),O4=O(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}),T4=O(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}),R4=O(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}),_4=O(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}),k4=O(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}),q4=O(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}),M4=O(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}),j4=O(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}),I4=O(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}),D4=O(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}),N4=O(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}),F4=O(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}),$4=O(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}),L4=O(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}),B4=O(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}),H4=O(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:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),U4=O(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}),V4=O(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}),z4=O(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}),W4=O(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}),G4=O(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}),Y4=O(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}),K4=O(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}),X4=O(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}),J4=O(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}),Q4=O(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}),Z4=O(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}),eH=O(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}),tH=O(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}),rH=O(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}),nH=O(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}),oH=O(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}),aH=O(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}),iH=O(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}),sH=O(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}),lH=O(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}),uH=O(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}),cH=O(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}),dH=O(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}),pH=O(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}),fH=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=H(F5()),r=H($5()),n=H(L5()),o=H(B5()),a=H(H5()),i=H(U5()),s=H(V5()),c=H(z5()),u=H(W5()),d=H(G5()),p=H(Y5()),f=H(K5()),h=H(X5()),m=H(J5()),b=H(Q5()),w=H(Z5()),g=H(e4()),E=H(t4()),C=H(r4()),x=H(n4()),P=H(o4()),S=H(a4()),y=H(i4()),v=H(s4()),A=H(l4()),T=H(u4()),_=H(c4()),N=H(d4()),$=H(p4()),R=H(f4()),k=H(h4()),D=H(m4()),K=H(b4()),G=H(g4()),te=H(y4()),oe=H(v4()),ee=H(w4()),W=H(E4()),z=H(x4()),Y=H(C4()),re=H(S4()),X=H(A4()),ie=H(P4()),se=H(O4()),me=H(T4()),Pe=H(R4()),L=H(_4()),ne=H(k4()),ae=H(q4()),V=H(M4()),J=H(j4()),le=H(I4()),ue=H(D4()),Oe=H(N4()),Je=H(F4()),Ht=H($4()),ir=H(L4()),pt=H(B4()),Mr=H(H4()),jr=H(U4()),Ir=H(V4()),pc=H(z4()),fc=H(W4()),hc=H(G4()),mc=H(Y4()),bc=H(K4()),gc=H(X4()),yc=H(J4()),vc=H(Q4()),wc=H(Z4()),Ec=H(eH()),xc=H(tH()),Cc=H(rH()),Sc=H(nH()),Ac=H(oH()),Pc=H(aH()),Oc=H(iH()),Tc=H(sH()),Rc=H(lH()),_c=H(uH()),kc=H(cH()),qc=H(dH()),Mc=H(pH());function H(sr){return sr&&sr.__esModule?sr:{default:sr}}l(H,"_interopRequireDefault");var jc=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",a.default],["blockquote",i.default],["button",s.default],["caption",c.default],["cell",u.default],["checkbox",d.default],["code",p.default],["columnheader",f.default],["combobox",h.default],["complementary",m.default],["contentinfo",b.default],["definition",w.default],["deletion",g.default],["dialog",E.default],["directory",C.default],["document",x.default],["emphasis",P.default],["feed",S.default],["figure",y.default],["form",v.default],["generic",A.default],["grid",T.default],["gridcell",_.default],["group",N.default],["heading",$.default],["img",R.default],["insertion",k.default],["link",D.default],["list",K.default],["listbox",G.default],["listitem",te.default],["log",oe.default],["main",ee.default],["mark",W.default],["marquee",z.default],["math",Y.default],["menu",re.default],["menubar",X.default],["menuitem",ie.default],["menuitemcheckbox",se.default],["menuitemradio",me.default],["meter",Pe.default],["navigation",L.default],["none",ne.default],["note",ae.default],["option",V.default],["paragraph",J.default],["presentation",le.default],["progressbar",ue.default],["radio",Oe.default],["radiogroup",Je.default],["region",Ht.default],["row",ir.default],["rowgroup",pt.default],["rowheader",Mr.default],["scrollbar",jr.default],["search",Ir.default],["searchbox",pc.default],["separator",fc.default],["slider",hc.default],["spinbutton",mc.default],["status",bc.default],["strong",gc.default],["subscript",yc.default],["superscript",vc.default],["switch",wc.default],["tab",Ec.default],["table",xc.default],["tablist",Cc.default],["tabpanel",Sc.default],["term",Ac.default],["textbox",Pc.default],["time",Oc.default],["timer",Tc.default],["toolbar",Rc.default],["tooltip",_c.default],["tree",kc.default],["treegrid",qc.default],["treeitem",Mc.default]],Dy=jc;e.default=Dy}),hH=O(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}),mH=O(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}),bH=O(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}),gH=O(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}),yH=O(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}),vH=O(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}),wH=O(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}),EH=O(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}),xH=O(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}),CH=O(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}),SH=O(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}),AH=O(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}),PH=O(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}),OH=O(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}),TH=O(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}),RH=O(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}),_H=O(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}),kH=O(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}),qH=O(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}),MH=O(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}),jH=O(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}),IH=O(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}),DH=O(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}),NH=O(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}),FH=O(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}),$H=O(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}),LH=O(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}),BH=O(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}),HH=O(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}),UH=O(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}),VH=O(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}),zH=O(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}),WH=O(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}),GH=O(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}),YH=O(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}),KH=O(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}),XH=O(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}),JH=O(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}),QH=O(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}),ZH=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Y(hH()),r=Y(mH()),n=Y(bH()),o=Y(gH()),a=Y(yH()),i=Y(vH()),s=Y(wH()),c=Y(EH()),u=Y(xH()),d=Y(CH()),p=Y(SH()),f=Y(AH()),h=Y(PH()),m=Y(OH()),b=Y(TH()),w=Y(RH()),g=Y(_H()),E=Y(kH()),C=Y(qH()),x=Y(MH()),P=Y(jH()),S=Y(IH()),y=Y(DH()),v=Y(NH()),A=Y(FH()),T=Y($H()),_=Y(LH()),N=Y(BH()),$=Y(HH()),R=Y(UH()),k=Y(VH()),D=Y(zH()),K=Y(WH()),G=Y(GH()),te=Y(YH()),oe=Y(KH()),ee=Y(XH()),W=Y(JH()),z=Y(QH());function Y(ie){return ie&&ie.__esModule?ie:{default:ie}}l(Y,"_interopRequireDefault");var re=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",a.default],["doc-biblioentry",i.default],["doc-bibliography",s.default],["doc-biblioref",c.default],["doc-chapter",u.default],["doc-colophon",d.default],["doc-conclusion",p.default],["doc-cover",f.default],["doc-credit",h.default],["doc-credits",m.default],["doc-dedication",b.default],["doc-endnote",w.default],["doc-endnotes",g.default],["doc-epigraph",E.default],["doc-epilogue",C.default],["doc-errata",x.default],["doc-example",P.default],["doc-footnote",S.default],["doc-foreword",y.default],["doc-glossary",v.default],["doc-glossref",A.default],["doc-index",T.default],["doc-introduction",_.default],["doc-noteref",N.default],["doc-notice",$.default],["doc-pagebreak",R.default],["doc-pagelist",k.default],["doc-part",D.default],["doc-preface",K.default],["doc-prologue",G.default],["doc-pullquote",te.default],["doc-qna",oe.default],["doc-subtitle",ee.default],["doc-tip",W.default],["doc-toc",z.default]],X=re;e.default=X}),e6=O(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}),t6=O(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}),r6=O(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}),n6=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(e6()),r=o(t6()),n=o(r6());function o(s){return s&&s.__esModule?s:{default:s}}l(o,"_interopRequireDefault");var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],i=a;e.default=i}),mh=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(N5()),r=i(fH()),n=i(ZH()),o=i(n6()),a=i(ni());function i(E){return E&&E.__esModule?E:{default:E}}l(i,"_interopRequireDefault");function s(E,C,x){return C in E?Object.defineProperty(E,C,{value:x,enumerable:!0,configurable:!0,writable:!0}):E[C]=x,E}l(s,"_defineProperty");function c(E,C){var x=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!x){if(Array.isArray(E)||(x=p(E))||C&&E&&typeof E.length=="number"){x&&(E=x);var P=0,S=l(function(){},"F");return{s:S,n:l(function(){return P>=E.length?{done:!0}:{done:!1,value:E[P++]}},"n"),e:l(function(T){throw T},"e"),f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
213
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,v=!1,A;return{s:l(function(){x=x.call(E)},"s"),n:l(function(){var T=x.next();return y=T.done,T},"n"),e:l(function(T){v=!0,A=T},"e"),f:l(function(){try{!y&&x.return!=null&&x.return()}finally{if(v)throw A}},"f")}}l(c,"_createForOfIteratorHelper");function u(E,C){return m(E)||h(E,C)||p(E,C)||d()}l(u,"_slicedToArray");function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
214
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(d,"_nonIterableRest");function p(E,C){if(E){if(typeof E=="string")return f(E,C);var x=Object.prototype.toString.call(E).slice(8,-1);if(x==="Object"&&E.constructor&&(x=E.constructor.name),x==="Map"||x==="Set")return Array.from(E);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return f(E,C)}}l(p,"_unsupportedIterableToArray");function f(E,C){(C==null||C>E.length)&&(C=E.length);for(var x=0,P=new Array(C);x<C;x++)P[x]=E[x];return P}l(f,"_arrayLikeToArray");function h(E,C){var x=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(x!=null){var P=[],S=!0,y=!1,v,A;try{for(x=x.call(E);!(S=(v=x.next()).done)&&(P.push(v.value),!(C&&P.length===C));S=!0);}catch(T){y=!0,A=T}finally{try{!S&&x.return!=null&&x.return()}finally{if(y)throw A}}return P}}l(h,"_iterableToArrayLimit");function m(E){if(Array.isArray(E))return E}l(m,"_arrayWithHoles");var b=[].concat(t.default,r.default,n.default,o.default);b.forEach(function(E){var C=u(E,2),x=C[1],P=c(x.superClass),S;try{for(P.s();!(S=P.n()).done;){var y=S.value,v=c(y),A;try{var T=l(function(){var _=A.value,N=b.find(function(K){var G=u(K,1),te=G[0];return te===_});if(N)for(var $=N[1],R=0,k=Object.keys($.props);R<k.length;R++){var D=k[R];Object.prototype.hasOwnProperty.call(x.props,D)||Object.assign(x.props,s({},D,$.props[D]))}},"_loop");for(v.s();!(A=v.n()).done;)T()}catch(_){v.e(_)}finally{v.f()}}}catch(_){P.e(_)}finally{P.f()}});var w={entries:l(function(){return b},"entries"),forEach:l(function(E){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=c(b),P;try{for(x.s();!(P=x.n()).done;){var S=u(P.value,2),y=S[0],v=S[1];E.call(C,v,y,b)}}catch(A){x.e(A)}finally{x.f()}},"forEach"),get:l(function(E){var C=b.find(function(x){return x[0]===E});return C&&C[1]},"get"),has:l(function(E){return!!w.get(E)},"has"),keys:l(function(){return b.map(function(E){var C=u(E,1),x=C[0];return x})},"keys"),values:l(function(){return b.map(function(E){var C=u(E,2),x=C[1];return x})},"values")},g=(0,a.default)(w,w.entries());e.default=g}),cx={};pl(cx,{dequal:()=>Os});function Os(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Os(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Dp.call(e,r)&&++n&&!Dp.call(t,r)||!(r in t)||!Os(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var Dp,o6=ZF(()=>{Dp=Object.prototype.hasOwnProperty,l(Os,"dequal")}),a6=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(o6(),e$(cx)),r=o(ni()),n=o(mh());function o(S){return S&&S.__esModule?S:{default:S}}l(o,"_interopRequireDefault");function a(S,y){return c(S)||s(S,y)||d(S,y)||i()}l(a,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
215
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(i,"_nonIterableRest");function s(S,y){var v=S==null?null:typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(v!=null){var A=[],T=!0,_=!1,N,$;try{for(v=v.call(S);!(T=(N=v.next()).done)&&(A.push(N.value),!(y&&A.length===y));T=!0);}catch(R){_=!0,$=R}finally{try{!T&&v.return!=null&&v.return()}finally{if(_)throw $}}return A}}l(s,"_iterableToArrayLimit");function c(S){if(Array.isArray(S))return S}l(c,"_arrayWithHoles");function u(S,y){var v=typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(!v){if(Array.isArray(S)||(v=d(S))||y&&S&&typeof S.length=="number"){v&&(S=v);var A=0,T=l(function(){},"F");return{s:T,n:l(function(){return A>=S.length?{done:!0}:{done:!1,value:S[A++]}},"n"),e:l(function(R){throw R},"e"),f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
216
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _=!0,N=!1,$;return{s:l(function(){v=v.call(S)},"s"),n:l(function(){var R=v.next();return _=R.done,R},"n"),e:l(function(R){N=!0,$=R},"e"),f:l(function(){try{!_&&v.return!=null&&v.return()}finally{if(N)throw $}},"f")}}l(u,"_createForOfIteratorHelper");function d(S,y){if(S){if(typeof S=="string")return p(S,y);var v=Object.prototype.toString.call(S).slice(8,-1);if(v==="Object"&&S.constructor&&(v=S.constructor.name),v==="Map"||v==="Set")return Array.from(S);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return p(S,y)}}l(d,"_unsupportedIterableToArray");function p(S,y){(y==null||y>S.length)&&(y=S.length);for(var v=0,A=new Array(y);v<y;v++)A[v]=S[v];return A}l(p,"_arrayLikeToArray");var f=[],h=n.default.keys();for(C=0;C<h.length;C++)if(m=h[C],b=n.default.get(m),b)for(w=[].concat(b.baseConcepts,b.relatedConcepts),E=0;E<w.length;E++)g=w[E],g.module==="HTML"&&(function(){var S=g.concept;if(S){var y=f.find(function(_){return(0,t.dequal)(_,S)}),v;y?v=y[1]:v=[];for(var A=!0,T=0;T<v.length;T++)if(v[T]===m){A=!1;break}A&&v.push(m),f.push([S,v])}})();var m,b,w,g,E,C,x={entries:l(function(){return f},"entries"),forEach:l(function(S){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=u(f),A;try{for(v.s();!(A=v.n()).done;){var T=a(A.value,2),_=T[0],N=T[1];S.call(y,N,_,f)}}catch($){v.e($)}finally{v.f()}},"forEach"),get:l(function(S){var y=f.find(function(v){return S.name===v[0].name&&(0,t.dequal)(S.attributes,v[0].attributes)});return y&&y[1]},"get"),has:l(function(S){return!!x.get(S)},"has"),keys:l(function(){return f.map(function(S){var y=a(S,1),v=y[0];return v})},"keys"),values:l(function(){return f.map(function(S){var y=a(S,2),v=y[1];return v})},"values")},P=(0,r.default)(x,x.entries());e.default=P}),i6=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(ni()),r=n(mh());function n(y){return y&&y.__esModule?y:{default:y}}l(n,"_interopRequireDefault");function o(y,v){return s(y)||i(y,v)||u(y,v)||a()}l(o,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
217
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(a,"_nonIterableRest");function i(y,v){var A=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(A!=null){var T=[],_=!0,N=!1,$,R;try{for(A=A.call(y);!(_=($=A.next()).done)&&(T.push($.value),!(v&&T.length===v));_=!0);}catch(k){N=!0,R=k}finally{try{!_&&A.return!=null&&A.return()}finally{if(N)throw R}}return T}}l(i,"_iterableToArrayLimit");function s(y){if(Array.isArray(y))return y}l(s,"_arrayWithHoles");function c(y,v){var A=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!A){if(Array.isArray(y)||(A=u(y))||v&&y&&typeof y.length=="number"){A&&(y=A);var T=0,_=l(function(){},"F");return{s:_,n:l(function(){return T>=y.length?{done:!0}:{done:!1,value:y[T++]}},"n"),e:l(function(k){throw k},"e"),f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
218
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,$=!1,R;return{s:l(function(){A=A.call(y)},"s"),n:l(function(){var k=A.next();return N=k.done,k},"n"),e:l(function(k){$=!0,R=k},"e"),f:l(function(){try{!N&&A.return!=null&&A.return()}finally{if($)throw R}},"f")}}l(c,"_createForOfIteratorHelper");function u(y,v){if(y){if(typeof y=="string")return d(y,v);var A=Object.prototype.toString.call(y).slice(8,-1);if(A==="Object"&&y.constructor&&(A=y.constructor.name),A==="Map"||A==="Set")return Array.from(y);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return d(y,v)}}l(u,"_unsupportedIterableToArray");function d(y,v){(v==null||v>y.length)&&(v=y.length);for(var A=0,T=new Array(v);A<v;A++)T[A]=y[A];return T}l(d,"_arrayLikeToArray");var p=[],f=r.default.keys();for(x=0;x<f.length;x++)if(h=f[x],m=r.default.get(h),b=[],m){for(w=[].concat(m.baseConcepts,m.relatedConcepts),C=0;C<w.length;C++)g=w[C],g.module==="HTML"&&(E=g.concept,E!=null&&b.push(E));b.length>0&&p.push([h,b])}var h,m,b,w,g,E,C,x,P={entries:l(function(){return p},"entries"),forEach:l(function(y){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=c(p),T;try{for(A.s();!(T=A.n()).done;){var _=o(T.value,2),N=_[0],$=_[1];y.call(v,$,N,p)}}catch(R){A.e(R)}finally{A.f()}},"forEach"),get:l(function(y){var v=p.find(function(A){return A[0]===y});return v&&v[1]},"get"),has:l(function(y){return!!P.get(y)},"has"),keys:l(function(){return p.map(function(y){var v=o(y,1),A=v[0];return A})},"keys"),values:l(function(){return p.map(function(y){var v=o(y,2),A=v[1];return A})},"values")},S=(0,t.default)(P,P.entries());e.default=S}),s6=O(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(C5()),r=i(S5()),n=i(mh()),o=i(a6()),a=i(i6());function i(f){return f&&f.__esModule?f:{default:f}}l(i,"_interopRequireDefault");var s=t.default;e.aria=s;var c=r.default;e.dom=c;var u=n.default;e.roles=u;var d=o.default;e.elementRoles=d;var p=a.default;e.roleElements=p}),l6=O((e,t)=>{var r=(function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function s(u,d){if(!i[u]){i[u]={};for(var p=0;p<u.length;p++)i[u][u.charAt(p)]=p}return i[u][d]}l(s,"getBaseValue");var c={compressToBase64:l(function(u){if(u==null)return"";var d=c._compress(u,6,function(p){return o.charAt(p)});switch(d.length%4){default:case 0:return d;case 1:return d+"===";case 2:return d+"==";case 3:return d+"="}},"compressToBase64"),decompressFromBase64:l(function(u){return u==null?"":u==""?null:c._decompress(u.length,32,function(d){return s(o,u.charAt(d))})},"decompressFromBase64"),compressToUTF16:l(function(u){return u==null?"":c._compress(u,15,function(d){return n(d+32)})+" "},"compressToUTF16"),decompressFromUTF16:l(function(u){return u==null?"":u==""?null:c._decompress(u.length,16384,function(d){return u.charCodeAt(d)-32})},"decompressFromUTF16"),compressToUint8Array:l(function(u){for(var d=c.compress(u),p=new Uint8Array(d.length*2),f=0,h=d.length;f<h;f++){var m=d.charCodeAt(f);p[f*2]=m>>>8,p[f*2+1]=m%256}return p},"compressToUint8Array"),decompressFromUint8Array:l(function(u){if(u==null)return c.decompress(u);for(var d=new Array(u.length/2),p=0,f=d.length;p<f;p++)d[p]=u[p*2]*256+u[p*2+1];var h=[];return d.forEach(function(m){h.push(n(m))}),c.decompress(h.join(""))},"decompressFromUint8Array"),compressToEncodedURIComponent:l(function(u){return u==null?"":c._compress(u,6,function(d){return a.charAt(d)})},"compressToEncodedURIComponent"),decompressFromEncodedURIComponent:l(function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),c._decompress(u.length,32,function(d){return s(a,u.charAt(d))}))},"decompressFromEncodedURIComponent"),compress:l(function(u){return c._compress(u,16,function(d){return n(d)})},"compress"),_compress:l(function(u,d,p){if(u==null)return"";var f,h,m={},b={},w="",g="",E="",C=2,x=3,P=2,S=[],y=0,v=0,A;for(A=0;A<u.length;A+=1)if(w=u.charAt(A),Object.prototype.hasOwnProperty.call(m,w)||(m[w]=x++,b[w]=!0),g=E+w,Object.prototype.hasOwnProperty.call(m,g))E=g;else{if(Object.prototype.hasOwnProperty.call(b,E)){if(E.charCodeAt(0)<256){for(f=0;f<P;f++)y=y<<1,v==d-1?(v=0,S.push(p(y)),y=0):v++;for(h=E.charCodeAt(0),f=0;f<8;f++)y=y<<1|h&1,v==d-1?(v=0,S.push(p(y)),y=0):v++,h=h>>1}else{for(h=1,f=0;f<P;f++)y=y<<1|h,v==d-1?(v=0,S.push(p(y)),y=0):v++,h=0;for(h=E.charCodeAt(0),f=0;f<16;f++)y=y<<1|h&1,v==d-1?(v=0,S.push(p(y)),y=0):v++,h=h>>1}C--,C==0&&(C=Math.pow(2,P),P++),delete b[E]}else for(h=m[E],f=0;f<P;f++)y=y<<1|h&1,v==d-1?(v=0,S.push(p(y)),y=0):v++,h=h>>1;C--,C==0&&(C=Math.pow(2,P),P++),m[g]=x++,E=String(w)}if(E!==""){if(Object.prototype.hasOwnProperty.call(b,E)){if(E.charCodeAt(0)<256){for(f=0;f<P;f++)y=y<<1,v==d-1?(v=0,S.push(p(y)),y=0):v++;for(h=E.charCodeAt(0),f=0;f<8;f++)y=y<<1|h&1,v==d-1?(v=0,S.push(p(y)),y=0):v++,h=h>>1}else{for(h=1,f=0;f<P;f++)y=y<<1|h,v==d-1?(v=0,S.push(p(y)),y=0):v++,h=0;for(h=E.charCodeAt(0),f=0;f<16;f++)y=y<<1|h&1,v==d-1?(v=0,S.push(p(y)),y=0):v++,h=h>>1}C--,C==0&&(C=Math.pow(2,P),P++),delete b[E]}else for(h=m[E],f=0;f<P;f++)y=y<<1|h&1,v==d-1?(v=0,S.push(p(y)),y=0):v++,h=h>>1;C--,C==0&&(C=Math.pow(2,P),P++)}for(h=2,f=0;f<P;f++)y=y<<1|h&1,v==d-1?(v=0,S.push(p(y)),y=0):v++,h=h>>1;for(;;)if(y=y<<1,v==d-1){S.push(p(y));break}else v++;return S.join("")},"_compress"),decompress:l(function(u){return u==null?"":u==""?null:c._decompress(u.length,32768,function(d){return u.charCodeAt(d)})},"decompress"),_decompress:l(function(u,d,p){var f=[],h,m=4,b=4,w=3,g="",E=[],C,x,P,S,y,v,A,T={val:p(0),position:d,index:1};for(C=0;C<3;C+=1)f[C]=C;for(P=0,y=Math.pow(2,2),v=1;v!=y;)S=T.val&T.position,T.position>>=1,T.position==0&&(T.position=d,T.val=p(T.index++)),P|=(S>0?1:0)*v,v<<=1;switch(h=P){case 0:for(P=0,y=Math.pow(2,8),v=1;v!=y;)S=T.val&T.position,T.position>>=1,T.position==0&&(T.position=d,T.val=p(T.index++)),P|=(S>0?1:0)*v,v<<=1;A=n(P);break;case 1:for(P=0,y=Math.pow(2,16),v=1;v!=y;)S=T.val&T.position,T.position>>=1,T.position==0&&(T.position=d,T.val=p(T.index++)),P|=(S>0?1:0)*v,v<<=1;A=n(P);break;case 2:return""}for(f[3]=A,x=A,E.push(A);;){if(T.index>u)return"";for(P=0,y=Math.pow(2,w),v=1;v!=y;)S=T.val&T.position,T.position>>=1,T.position==0&&(T.position=d,T.val=p(T.index++)),P|=(S>0?1:0)*v,v<<=1;switch(A=P){case 0:for(P=0,y=Math.pow(2,8),v=1;v!=y;)S=T.val&T.position,T.position>>=1,T.position==0&&(T.position=d,T.val=p(T.index++)),P|=(S>0?1:0)*v,v<<=1;f[b++]=n(P),A=b-1,m--;break;case 1:for(P=0,y=Math.pow(2,16),v=1;v!=y;)S=T.val&T.position,T.position>>=1,T.position==0&&(T.position=d,T.val=p(T.index++)),P|=(S>0?1:0)*v,v<<=1;f[b++]=n(P),A=b-1,m--;break;case 2:return E.join("")}if(m==0&&(m=Math.pow(2,w),w++),f[A])g=f[A];else if(A===b)g=x+x.charAt(0);else return null;E.push(g),f[b++]=x+g.charAt(0),m--,x=g,m==0&&(m=Math.pow(2,w),w++)}},"_decompress")};return c})();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})}),dx=Object.defineProperty,u6=Object.getOwnPropertyNames,U=l((e,t)=>dx(e,"name",{value:t,configurable:!0}),"__name"),c6=l((e,t)=>l(function(){return t||(0,e[u6(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),bh=l((e,t)=>{for(var r in t)dx(e,r,{get:t[r],enumerable:!0})},"__export"),d6=c6({"(disabled):util"(){}}),Kt={};bh(Kt,{addChainableMethod:l(()=>kl,"addChainableMethod"),addLengthGuard:l(()=>Oo,"addLengthGuard"),addMethod:l(()=>Tl,"addMethod"),addProperty:l(()=>Ol,"addProperty"),checkError:l(()=>mt,"checkError"),compareByInspect:l(()=>La,"compareByInspect"),eql:l(()=>hx,"eql"),expectTypes:l(()=>Ch,"expectTypes"),flag:l(()=>de,"flag"),getActual:l(()=>ai,"getActual"),getMessage:l(()=>xl,"getMessage"),getName:l(()=>si,"getName"),getOperator:l(()=>Il,"getOperator"),getOwnEnumerableProperties:l(()=>jl,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:l(()=>Ml,"getOwnEnumerablePropertySymbols"),getPathInfo:l(()=>Pl,"getPathInfo"),hasProperty:l(()=>ii,"hasProperty"),inspect:l(()=>ge,"inspect"),isNaN:l(()=>Hs,"isNaN"),isNumeric:l(()=>ze,"isNumeric"),isProxyEnabled:l(()=>Po,"isProxyEnabled"),isRegExp:l(()=>Ba,"isRegExp"),objDisplay:l(()=>Vr,"objDisplay"),overwriteChainableMethod:l(()=>ql,"overwriteChainableMethod"),overwriteMethod:l(()=>_l,"overwriteMethod"),overwriteProperty:l(()=>Rl,"overwriteProperty"),proxify:l(()=>_n,"proxify"),test:l(()=>wl,"test"),transferFlags:l(()=>Rt,"transferFlags"),type:l(()=>Ae,"type")});var mt={};bh(mt,{compatibleConstructor:l(()=>vh,"compatibleConstructor"),compatibleInstance:l(()=>yh,"compatibleInstance"),compatibleMessage:l(()=>wh,"compatibleMessage"),getConstructorName:l(()=>Eh,"getConstructorName"),getMessage:l(()=>xh,"getMessage")});function oi(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}l(oi,"isErrorInstance");U(oi,"isErrorInstance");function gh(e){return Object.prototype.toString.call(e)==="[object RegExp]"}l(gh,"isRegExp");U(gh,"isRegExp");function yh(e,t){return oi(t)&&e===t}l(yh,"compatibleInstance");U(yh,"compatibleInstance");function vh(e,t){return oi(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}l(vh,"compatibleConstructor");U(vh,"compatibleConstructor");function wh(e,t){let r=typeof e=="string"?e:e.message;return gh(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}l(wh,"compatibleMessage");U(wh,"compatibleMessage");function Eh(e){let t=e;return oi(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}l(Eh,"getConstructorName");U(Eh,"getConstructorName");function xh(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}l(xh,"getMessage");U(xh,"getMessage");function de(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}l(de,"flag");U(de,"flag");function wl(e,t){var r=de(e,"negate"),n=t[0];return r?!n:n}l(wl,"test");U(wl,"test");function Ae(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}l(Ae,"type");U(Ae,"type");var p6="captureStackTrace"in Error,ya,Ee=(ya=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);De(this,"message");this.message=t,p6&&Error.captureStackTrace(this,n||ya);for(let o in r)o in this||(this[o]=r[o])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},l(ya,"_AssertionError"),U(ya,"AssertionError"),ya);function Ch(e,t){var r=de(e,"message"),n=de(e,"ssfi");r=r?r+": ":"",e=de(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();var o=t.map(function(i,s){var c=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a",u=t.length>1&&s===t.length-1?"or ":"";return u+c+" "+i}).join(", "),a=Ae(e).toLowerCase();if(!t.some(function(i){return a===i}))throw new Ee(r+"object tested must be "+o+", but "+a+" given",void 0,n)}l(Ch,"expectTypes");U(Ch,"expectTypes");function ai(e,t){return t.length>4?t[4]:e._obj}l(ai,"getActual");U(ai,"getActual");var Gw={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"]},f6={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},lo="\u2026";function Sh(e,t){let r=Gw[f6[t]]||Gw[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}l(Sh,"colorise");U(Sh,"colorise");function Ah({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:s=[],truncate:c=1/0,stylize:u=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(c),seen:s,inspect:d,stylize:u};return p.colors&&(p.stylize=Sh),p}l(Ah,"normaliseOptions");U(Ah,"normaliseOptions");function Ph(e){return e>="\uD800"&&e<="\uDBFF"}l(Ph,"isHighSurrogate");U(Ph,"isHighSurrogate");function er(e,t,r=lo){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&Ph(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}l(er,"truncate");U(er,"truncate");function yt(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",s="",c="";for(let u=0;u<o;u+=1){let d=u+1===e.length,p=u+2===e.length;c=`${lo}(${e.length-u})`;let f=e[u];t.truncate=a-i.length-(d?0:n.length);let h=s||r(f,t)+(d?"":n),m=i.length+h.length,b=m+c.length;if(d&&m>a&&i.length+c.length<=a||!d&&!p&&b>a||(s=d?"":r(e[u+1],t)+(p?"":n),!d&&p&&b>a&&m+s.length>a))break;if(i+=h,!d&&!p&&m+s.length>=a){c=`${lo}(${e.length-u-1})`;break}c=""}return`${i}${c}`}l(yt,"inspectList");U(yt,"inspectList");function Oh(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}l(Oh,"quoteComplexKey");U(Oh,"quoteComplexKey");function xn([e,t],r){return r.truncate-=2,typeof e=="string"?e=Oh(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}l(xn,"inspectProperty");U(xn,"inspectProperty");function Th(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=yt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=yt(r.map(a=>[a,e[a]]),t,xn)),`[ ${n}${o?`, ${o}`:""} ]`}l(Th,"inspectArray");U(Th,"inspectArray");var h6=U(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function jt(e,t){let r=h6(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let i=0;i<e.length;i++){let s=`${t.stylize(er(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${lo}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=yt(n.map(i=>[i,e[i]]),t,xn)),`${r}[ ${o}${a?`, ${a}`:""} ]`}l(jt,"inspectTypedArray");U(jt,"inspectTypedArray");function Rh(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${er(n[1],t.truncate-o.length-1)}`,"date")}l(Rh,"inspectDate");U(Rh,"inspectDate");function Ts(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${er(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}l(Ts,"inspectFunction");U(Ts,"inspectFunction");function _h([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}l(_h,"inspectMapEntry");U(_h,"inspectMapEntry");function kh(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}l(kh,"mapToEntries");U(kh,"mapToEntries");function qh(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${yt(kh(e),t,_h)} }`)}l(qh,"inspectMap");U(qh,"inspectMap");var m6=Number.isNaN||(e=>e!==e);function Rs(e,t){return m6(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(er(String(e),t.truncate),"number")}l(Rs,"inspectNumber");U(Rs,"inspectNumber");function _s(e,t){let r=er(e.toString(),t.truncate-1);return r!==lo&&(r+="n"),t.stylize(r,"bigint")}l(_s,"inspectBigInt");U(_s,"inspectBigInt");function Mh(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${er(o,n)}/${r}`,"regexp")}l(Mh,"inspectRegExp");U(Mh,"inspectRegExp");function jh(e){let t=[];return e.forEach(r=>{t.push(r)}),t}l(jh,"arrayFromSet");U(jh,"arrayFromSet");function Ih(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${yt(jh(e),t)} }`)}l(Ih,"inspectSet");U(Ih,"inspectSet");var Yw=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),b6={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},g6=16,y6=4;function Dh(e){return b6[e]||`\\u${`0000${e.charCodeAt(0).toString(g6)}`.slice(-y6)}`}l(Dh,"escape");U(Dh,"escape");function ks(e,t){return Yw.test(e)&&(e=e.replace(Yw,Dh)),t.stylize(`'${er(e,t.truncate-2)}'`,"string")}l(ks,"inspectString");U(ks,"inspectString");function qs(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}l(qs,"inspectSymbol");U(qs,"inspectSymbol");var px=U(()=>"Promise{\u2026}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(px=U((n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`},"getPromiseValue"))}catch(e){}var v6=px;function no(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=yt(r.map(s=>[s,e[s]]),t,xn),a=yt(n.map(s=>[s,e[s]]),t,xn);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}l(no,"inspectObject");U(no,"inspectObject");var Pp=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Nh(e,t){let r="";return Pp&&Pp in e&&(r=e[Pp]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${no(e,t)}`}l(Nh,"inspectClass");U(Nh,"inspectClass");function Fh(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${yt(e,t)} ]`)}l(Fh,"inspectArguments");U(Fh,"inspectArguments");var w6=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function $h(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>w6.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=er(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=yt(r.map(i=>[i,e[i]]),t,xn);return`${n}${o}${a?` { ${a} }`:""}`}l($h,"inspectObject2");U($h,"inspectObject");function Lh([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}l(Lh,"inspectAttribute");U(Lh,"inspectAttribute");function Na(e,t){return yt(e,t,El,`
|
|
219
|
+
`)}l(Na,"inspectHTMLCollection");U(Na,"inspectHTMLCollection");function El(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=yt(r.map(d=>[d,e.getAttribute(d)]),t,Lh," ")),t.truncate-=s.length;let c=t.truncate,u=Na(e.children,t);return u&&u.length>c&&(u=`${lo}(${e.children.length})`),`${o}${s}${a}${u}${i}`}l(El,"inspectHTML");U(El,"inspectHTML");var E6=typeof Symbol=="function"&&typeof Symbol.for=="function",Op=E6?Symbol.for("chai/inspect"):"@@chai/inspect",Qn=!1;try{let e=d6();Qn=e.inspect?e.inspect.custom:!1}catch(e){Qn=!1}var Kw=new WeakMap,Xw={},Jw={undefined:l((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:l((e,t)=>t.stylize("null","null"),"null"),boolean:l((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:l((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Rs,Number:Rs,bigint:_s,BigInt:_s,string:ks,String:ks,function:Ts,Function:Ts,symbol:qs,Symbol:qs,Array:Th,Date:Rh,Map:qh,Set:Ih,RegExp:Mh,Promise:v6,WeakSet:l((e,t)=>t.stylize("WeakSet{\u2026}","special"),"WeakSet"),WeakMap:l((e,t)=>t.stylize("WeakMap{\u2026}","special"),"WeakMap"),Arguments:Fh,Int8Array:jt,Uint8Array:jt,Uint8ClampedArray:jt,Int16Array:jt,Uint16Array:jt,Int32Array:jt,Uint32Array:jt,Float32Array:jt,Float64Array:jt,Generator:l(()=>"","Generator"),DataView:l(()=>"","DataView"),ArrayBuffer:l(()=>"","ArrayBuffer"),Error:$h,HTMLCollection:Na,NodeList:Na},x6=U((e,t,r)=>Op in e&&typeof e[Op]=="function"?e[Op](t):Qn&&Qn in e&&typeof e[Qn]=="function"?e[Qn](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Kw.has(e.constructor)?Kw.get(e.constructor)(e,t):Xw[r]?Xw[r](e,t):"","inspectCustom"),C6=Object.prototype.toString;function Fa(e,t={}){let r=Ah(t,Fa),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=C6.call(e).slice(8,-1)),o in Jw)return Jw[o](e,r);if(n&&e){let i=x6(e,r,o);if(i)return typeof i=="string"?i:Fa(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?no(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?El(e,r):"constructor"in e?e.constructor!==Object?Nh(e,r):no(e,r):e===Object(e)?no(e,r):r.stylize(String(e),o)}l(Fa,"inspect");U(Fa,"inspect");var st={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function ge(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:st.truncateThreshold?st.truncateThreshold:1/0};return Fa(e,o)}l(ge,"inspect2");U(ge,"inspect");function Vr(e){var t=ge(e),r=Object.prototype.toString.call(e);if(st.truncateThreshold&&t.length>=st.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),o=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+o+") }"}else return t}else return t}l(Vr,"objDisplay");U(Vr,"objDisplay");function xl(e,t){var r=de(e,"negate"),n=de(e,"object"),o=t[3],a=ai(e,t),i=r?t[2]:t[1],s=de(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Vr(n)}).replace(/#\{act\}/g,function(){return Vr(a)}).replace(/#\{exp\}/g,function(){return Vr(o)}),s?s+": "+i:i}l(xl,"getMessage2");U(xl,"getMessage");function Rt(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}l(Rt,"transferFlags");U(Rt,"transferFlags");function Ms(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}l(Ms,"type2");U(Ms,"type");function Cl(){this._key="chai/deep-eql__"+Math.random()+Date.now()}l(Cl,"FakeMap");U(Cl,"FakeMap");Cl.prototype={get:U(l(function(e){return e[this._key]},"get"),"get"),set:U(l(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set"),"set")};var fx=typeof WeakMap=="function"?WeakMap:Cl;function js(e,t,r){if(!r||Yr(e)||Yr(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}l(js,"memoizeCompare");U(js,"memoizeCompare");function Zn(e,t,r,n){if(!(!r||Yr(e)||Yr(t))){var o=r.get(e);o?o.set(t,n):(o=new fx,o.set(t,n),r.set(e,o))}}l(Zn,"memoizeSet");U(Zn,"memoizeSet");var hx=Ao;function Ao(e,t,r){if(r&&r.comparator)return Is(e,t,r);var n=Sl(e,t);return n!==null?n:Is(e,t,r)}l(Ao,"deepEqual");U(Ao,"deepEqual");function Sl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Yr(e)||Yr(t)?!1:null}l(Sl,"simpleEqual");U(Sl,"simpleEqual");function Is(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new fx;var n=r&&r.comparator,o=js(e,t,r.memoize);if(o!==null)return o;var a=js(t,e,r.memoize);if(a!==null)return a;if(n){var i=n(e,t);if(i===!1||i===!0)return Zn(e,t,r.memoize,i),i;var s=Sl(e,t);if(s!==null)return s}var c=Ms(e);if(c!==Ms(t))return Zn(e,t,r.memoize,!1),!1;Zn(e,t,r.memoize,!0);var u=Bh(e,t,c,r);return Zn(e,t,r.memoize,u),u}l(Is,"extensiveDeepEqual");U(Is,"extensiveDeepEqual");function Bh(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Ao(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Al(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return Er(e,t,n);case"RegExp":return Hh(e,t);case"Generator":return Uh(e,t,n);case"DataView":return Er(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Er(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Ds(e,t,n);case"Map":return Ds(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return zh(e,t,n)}}l(Bh,"extensiveDeepEqualByType");U(Bh,"extensiveDeepEqualByType");function Hh(e,t){return e.toString()===t.toString()}l(Hh,"regexpEqual");U(Hh,"regexpEqual");function Ds(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch(a){return!1}var n=[],o=[];return e.forEach(U(l(function(a,i){n.push([a,i])},"gatherEntries"),"gatherEntries")),t.forEach(U(l(function(a,i){o.push([a,i])},"gatherEntries"),"gatherEntries")),Er(n.sort(),o.sort(),r)}l(Ds,"entriesEqual");U(Ds,"entriesEqual");function Er(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(Ao(e[o],t[o],r)===!1)return!1;return!0}l(Er,"iterableEqual");U(Er,"iterableEqual");function Uh(e,t,r){return Er($a(e),$a(t),r)}l(Uh,"generatorEqual");U(Uh,"generatorEqual");function Vh(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}l(Vh,"hasIteratorFunction");U(Vh,"hasIteratorFunction");function Ns(e){if(Vh(e))try{return $a(e[Symbol.iterator]())}catch(t){return[]}return[]}l(Ns,"getIteratorEntries");U(Ns,"getIteratorEntries");function $a(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}l($a,"getGeneratorEntries");U($a,"getGeneratorEntries");function Fs(e){var t=[];for(var r in e)t.push(r);return t}l(Fs,"getEnumerableKeys");U(Fs,"getEnumerableKeys");function $s(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}l($s,"getEnumerableSymbols");U($s,"getEnumerableSymbols");function Al(e,t,r,n){var o=r.length;if(o===0)return!0;for(var a=0;a<o;a+=1)if(Ao(e[r[a]],t[r[a]],n)===!1)return!1;return!0}l(Al,"keysEqual");U(Al,"keysEqual");function zh(e,t,r){var n=Fs(e),o=Fs(t),a=$s(e),i=$s(t);if(n=n.concat(a),o=o.concat(i),n.length&&n.length===o.length)return Er(Ls(n).sort(),Ls(o).sort())===!1?!1:Al(e,t,n,r);var s=Ns(e),c=Ns(t);return s.length&&s.length===c.length?(s.sort(),c.sort(),Er(s,c,r)):n.length===0&&s.length===0&&o.length===0&&c.length===0}l(zh,"objectEqual");U(zh,"objectEqual");function Yr(e){return e===null||typeof e!="object"}l(Yr,"isPrimitive");U(Yr,"isPrimitive");function Ls(e){return e.map(U(l(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"),"mapSymbol"))}l(Ls,"mapSymbols");U(Ls,"mapSymbols");function ii(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}l(ii,"hasProperty");U(ii,"hasProperty");function Wh(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}l(Wh,"parsePath");U(Wh,"parsePath");function Bs(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let a=0;a<r;a++){let i=t[a];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],a===r-1&&(o=n))}return o}l(Bs,"internalGetPathValue");U(Bs,"internalGetPathValue");function Pl(e,t){let r=Wh(t),n=r[r.length-1],o={parent:r.length>1?Bs(e,r,r.length-1):e,name:n.p||n.i,value:Bs(e,r)};return o.exists=ii(o.parent,o.name),o}l(Pl,"getPathInfo");U(Pl,"getPathInfo");function j(e,t,r,n){return de(this,"ssfi",r||j),de(this,"lockSsfi",n),de(this,"object",e),de(this,"message",t),de(this,"eql",st.deepEqual||hx),_n(this)}l(j,"Assertion");U(j,"Assertion");Object.defineProperty(j,"includeStack",{get:l(function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),st.includeStack},"get"),set:l(function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),st.includeStack=e},"set")});Object.defineProperty(j,"showDiff",{get:l(function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),st.showDiff},"get"),set:l(function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),st.showDiff=e},"set")});j.addProperty=function(e,t){Ol(this.prototype,e,t)};j.addMethod=function(e,t){Tl(this.prototype,e,t)};j.addChainableMethod=function(e,t,r){kl(this.prototype,e,t,r)};j.overwriteProperty=function(e,t){Rl(this.prototype,e,t)};j.overwriteMethod=function(e,t){_l(this.prototype,e,t)};j.overwriteChainableMethod=function(e,t,r){ql(this.prototype,e,t,r)};j.prototype.assert=function(e,t,r,n,o,a){var i=wl(this,arguments);if(a!==!1&&(a=!0),n===void 0&&o===void 0&&(a=!1),st.showDiff!==!0&&(a=!1),!i){t=xl(this,arguments);var s=ai(this,arguments),c={actual:s,expected:n,showDiff:a},u=Il(this,arguments);throw u&&(c.operator=u),new Ee(t,c,st.includeStack?this.assert:de(this,"ssfi"))}};Object.defineProperty(j.prototype,"_obj",{get:l(function(){return de(this,"object")},"get"),set:l(function(e){de(this,"object",e)},"set")});function Po(){return st.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}l(Po,"isProxyEnabled");U(Po,"isProxyEnabled");function Ol(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:U(l(function n(){!Po()&&!de(this,"lockSsfi")&&de(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var a=new j;return Rt(this,a),a},"propertyGetter"),"propertyGetter"),configurable:!0})}l(Ol,"addProperty");U(Ol,"addProperty");var S6=Object.getOwnPropertyDescriptor(function(){},"length");function Oo(e,t,r){return S6.configurable&&Object.defineProperty(e,"length",{get:l(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}l(Oo,"addLengthGuard");U(Oo,"addLengthGuard");function Gh(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}l(r,"addProperty2"),U(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}l(Gh,"getProperties");U(Gh,"getProperties");var Qw=["__flags","__methods","_obj","assert"];function _n(e,t){return Po()?new Proxy(e,{get:U(l(function r(n,o){if(typeof o=="string"&&st.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');var a=null,i=4;throw Gh(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&Qw.indexOf(s)===-1){var c=Yh(o,s,i);c<i&&(a=s,i=c)}}),Error(a!==null?"Invalid Chai property: "+o+'. Did you mean "'+a+'"?':"Invalid Chai property: "+o)}return Qw.indexOf(o)===-1&&!de(n,"lockSsfi")&&de(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter"),"proxyGetter")}):e}l(_n,"proxify");U(_n,"proxify");function Yh(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(let a=0;a<t.length;a++)n[0][a]=a;for(let a=1;a<=e.length;a++){var o=e.charCodeAt(a-1);for(let i=1;i<=t.length;i++){if(Math.abs(a-i)>=r){n[a][i]=r;continue}n[a][i]=Math.min(n[a-1][i]+1,n[a][i-1]+1,n[a-1][i-1]+(o===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}l(Yh,"stringDistanceCapped");U(Yh,"stringDistanceCapped");function Tl(e,t,r){var n=U(function(){de(this,"lockSsfi")||de(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var a=new j;return Rt(this,a),a},"methodWrapper");Oo(n,t,!1),e[t]=_n(n,t)}l(Tl,"addMethod");U(Tl,"addMethod");function Rl(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=U(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:U(l(function a(){!Po()&&!de(this,"lockSsfi")&&de(this,"ssfi",a);var i=de(this,"lockSsfi");de(this,"lockSsfi",!0);var s=r(o).call(this);if(de(this,"lockSsfi",i),s!==void 0)return s;var c=new j;return Rt(this,c),c},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}l(Rl,"overwriteProperty");U(Rl,"overwriteProperty");function _l(e,t,r){var n=e[t],o=U(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var a=U(function(){de(this,"lockSsfi")||de(this,"ssfi",a);var i=de(this,"lockSsfi");de(this,"lockSsfi",!0);var s=r(o).apply(this,arguments);if(de(this,"lockSsfi",i),s!==void 0)return s;var c=new j;return Rt(this,c),c},"overwritingMethodWrapper");Oo(a,t,!1),e[t]=_n(a,t)}l(_l,"overwriteMethod");U(_l,"overwriteMethod");var A6=typeof Object.setPrototypeOf=="function",Zw=U(function(){},"testFn"),P6=Object.getOwnPropertyNames(Zw).filter(function(e){var t=Object.getOwnPropertyDescriptor(Zw,e);return typeof t!="object"?!0:!t.configurable}),O6=Function.prototype.call,T6=Function.prototype.apply;function kl(e,t,r,n){typeof n!="function"&&(n=U(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:U(l(function(){o.chainingBehavior.call(this);var a=U(function(){de(this,"lockSsfi")||de(this,"ssfi",a);var c=o.method.apply(this,arguments);if(c!==void 0)return c;var u=new j;return Rt(this,u),u},"chainableMethodWrapper");if(Oo(a,t,!0),A6){var i=Object.create(this);i.call=O6,i.apply=T6,Object.setPrototypeOf(a,i)}else{var s=Object.getOwnPropertyNames(e);s.forEach(function(c){if(P6.indexOf(c)===-1){var u=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(a,c,u)}})}return Rt(this,a),_n(a)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}l(kl,"addChainableMethod");U(kl,"addChainableMethod");function ql(e,t,r,n){var o=e.__methods[t],a=o.chainingBehavior;o.chainingBehavior=U(l(function(){var s=n(a).call(this);if(s!==void 0)return s;var c=new j;return Rt(this,c),c},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");var i=o.method;o.method=U(l(function(){var s=r(i).apply(this,arguments);if(s!==void 0)return s;var c=new j;return Rt(this,c),c},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}l(ql,"overwriteChainableMethod");U(ql,"overwriteChainableMethod");function La(e,t){return ge(e)<ge(t)?-1:1}l(La,"compareByInspect");U(La,"compareByInspect");function Ml(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}l(Ml,"getOwnEnumerablePropertySymbols");U(Ml,"getOwnEnumerablePropertySymbols");function jl(e){return Object.keys(e).concat(Ml(e))}l(jl,"getOwnEnumerableProperties");U(jl,"getOwnEnumerableProperties");var Hs=Number.isNaN;function Kh(e){var t=Ae(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}l(Kh,"isObjectType");U(Kh,"isObjectType");function Il(e,t){var r=de(e,"operator"),n=de(e,"negate"),o=t[3],a=n?t[2]:t[1];if(r)return r;if(typeof a=="function"&&(a=a()),a=a||"",!!a&&!/\shave\s/.test(a)){var i=Kh(o);return/\snot\s/.test(a)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}}l(Il,"getOperator");U(Il,"getOperator");function si(e){return e.name}l(si,"getName");U(si,"getName");function Ba(e){return Object.prototype.toString.call(e)==="[object RegExp]"}l(Ba,"isRegExp2");U(Ba,"isRegExp");function ze(e){return["Number","BigInt"].includes(Ae(e))}l(ze,"isNumeric");U(ze,"isNumeric");var{flag:B}=Kt;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){j.addProperty(e)});j.addProperty("not",function(){B(this,"negate",!0)});j.addProperty("deep",function(){B(this,"deep",!0)});j.addProperty("nested",function(){B(this,"nested",!0)});j.addProperty("own",function(){B(this,"own",!0)});j.addProperty("ordered",function(){B(this,"ordered",!0)});j.addProperty("any",function(){B(this,"any",!0),B(this,"all",!1)});j.addProperty("all",function(){B(this,"all",!0),B(this,"any",!1)});var eE={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Dl(e,t){t&&B(this,"message",t),e=e.toLowerCase();var r=B(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=Ae(r).toLowerCase();eE.function.includes(e)?this.assert(eE[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}l(Dl,"an");U(Dl,"an");j.addChainableMethod("an",Dl);j.addChainableMethod("a",Dl);function Xh(e,t){return Hs(e)&&Hs(t)||e===t}l(Xh,"SameValueZero");U(Xh,"SameValueZero");function To(){B(this,"contains",!0)}l(To,"includeChainingBehavior");U(To,"includeChainingBehavior");function Ro(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=Ae(r).toLowerCase(),o=B(this,"message"),a=B(this,"negate"),i=B(this,"ssfi"),s=B(this,"deep"),c=s?"deep ":"",u=s?B(this,"eql"):Xh;o=o?o+": ":"";var d=!1;switch(n){case"string":d=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new Ee(o+"unable to use .deep.include with WeakSet",void 0,i);d=r.has(e);break;case"map":r.forEach(function(m){d=d||u(m,e)});break;case"set":s?r.forEach(function(m){d=d||u(m,e)}):d=r.has(e);break;case"array":s?d=r.some(function(m){return u(m,e)}):d=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new Ee(o+"the given combination of arguments ("+n+" and "+Ae(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 "+Ae(e).toLowerCase(),void 0,i);var p=Object.keys(e),f=null,h=0;if(p.forEach(function(m){var b=new j(r);if(Rt(this,b,!0),B(b,"lockSsfi",!0),!a||p.length===1){b.property(m,e[m]);return}try{b.property(m,e[m])}catch(w){if(!mt.compatibleConstructor(w,Ee))throw w;f===null&&(f=w),h++}},this),a&&p.length>1&&h===p.length)throw f;return}this.assert(d,"expected #{this} to "+c+"include "+ge(e),"expected #{this} to not "+c+"include "+ge(e))}l(Ro,"include");U(Ro,"include");j.addChainableMethod("include",Ro,To);j.addChainableMethod("contain",Ro,To);j.addChainableMethod("contains",Ro,To);j.addChainableMethod("includes",Ro,To);j.addProperty("ok",function(){this.assert(B(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});j.addProperty("true",function(){this.assert(B(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!B(this,"negate"))});j.addProperty("numeric",function(){let e=B(this,"object");this.assert(["Number","BigInt"].includes(Ae(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!B(this,"negate"))});j.addProperty("callable",function(){let e=B(this,"object"),t=B(this,"ssfi"),r=B(this,"message"),n=r?`${r}: `:"",o=B(this,"negate"),a=o?`${n}expected ${ge(e)} not to be a callable function`:`${n}expected ${ge(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Ae(e));if(i&&o||!i&&!o)throw new Ee(a,void 0,t)});j.addProperty("false",function(){this.assert(B(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!B(this,"negate"))});j.addProperty("null",function(){this.assert(B(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});j.addProperty("undefined",function(){this.assert(B(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});j.addProperty("NaN",function(){this.assert(Hs(B(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Nl(){var e=B(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}l(Nl,"assertExist");U(Nl,"assertExist");j.addProperty("exist",Nl);j.addProperty("exists",Nl);j.addProperty("empty",function(){var e=B(this,"object"),t=B(this,"ssfi"),r=B(this,"message"),n;switch(r=r?r+": ":"",Ae(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Ee(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+si(e);throw new Ee(o.trim(),void 0,t);default:if(e!==Object(e))throw new Ee(r+".empty was passed non-string primitive "+ge(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Fl(){var e=B(this,"object"),t=Ae(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}l(Fl,"checkArguments");U(Fl,"checkArguments");j.addProperty("arguments",Fl);j.addProperty("Arguments",Fl);function li(e,t){t&&B(this,"message",t);var r=B(this,"object");if(B(this,"deep")){var n=B(this,"lockSsfi");B(this,"lockSsfi",!0),this.eql(e),B(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}l(li,"assertEqual");U(li,"assertEqual");j.addMethod("equal",li);j.addMethod("equals",li);j.addMethod("eq",li);function $l(e,t){t&&B(this,"message",t);var r=B(this,"eql");this.assert(r(e,B(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}l($l,"assertEql");U($l,"assertEql");j.addMethod("eql",$l);j.addMethod("eqls",$l);function ui(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),a=o?o+": ":"",i=B(this,"ssfi"),s=Ae(r).toLowerCase(),c=Ae(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new j(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&c!=="date")throw new Ee(a+"the argument to above must be a date",void 0,i);if(!ze(e)&&(n||ze(r)))throw new Ee(a+"the argument to above must be a number",void 0,i);if(!n&&s!=="date"&&!ze(r)){var u=s==="string"?"'"+r+"'":r;throw new Ee(a+"expected "+u+" to be a number or a date",void 0,i)}if(n){var d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p>e,"expected #{this} to have a "+d+" above #{exp} but got #{act}","expected #{this} to not have a "+d+" above #{exp}",e,p)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}l(ui,"assertAbove");U(ui,"assertAbove");j.addMethod("above",ui);j.addMethod("gt",ui);j.addMethod("greaterThan",ui);function ci(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),a=o?o+": ":"",i=B(this,"ssfi"),s=Ae(r).toLowerCase(),c=Ae(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new j(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&c!=="date")u=a+"the argument to least must be a date";else if(!ze(e)&&(n||ze(r)))u=a+"the argument to least must be a number";else if(!n&&s!=="date"&&!ze(r)){var p=s==="string"?"'"+r+"'":r;u=a+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new Ee(u,void 0,i);if(n){var f="length",h;s==="map"||s==="set"?(f="size",h=r.size):h=r.length,this.assert(h>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,h)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}l(ci,"assertLeast");U(ci,"assertLeast");j.addMethod("least",ci);j.addMethod("gte",ci);j.addMethod("greaterThanOrEqual",ci);function di(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),a=o?o+": ":"",i=B(this,"ssfi"),s=Ae(r).toLowerCase(),c=Ae(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new j(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&c!=="date")u=a+"the argument to below must be a date";else if(!ze(e)&&(n||ze(r)))u=a+"the argument to below must be a number";else if(!n&&s!=="date"&&!ze(r)){var p=s==="string"?"'"+r+"'":r;u=a+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new Ee(u,void 0,i);if(n){var f="length",h;s==="map"||s==="set"?(f="size",h=r.size):h=r.length,this.assert(h<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,h)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}l(di,"assertBelow");U(di,"assertBelow");j.addMethod("below",di);j.addMethod("lt",di);j.addMethod("lessThan",di);function pi(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),a=o?o+": ":"",i=B(this,"ssfi"),s=Ae(r).toLowerCase(),c=Ae(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new j(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&c!=="date")u=a+"the argument to most must be a date";else if(!ze(e)&&(n||ze(r)))u=a+"the argument to most must be a number";else if(!n&&s!=="date"&&!ze(r)){var p=s==="string"?"'"+r+"'":r;u=a+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new Ee(u,void 0,i);if(n){var f="length",h;s==="map"||s==="set"?(f="size",h=r.size):h=r.length,this.assert(h<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,h)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}l(pi,"assertMost");U(pi,"assertMost");j.addMethod("most",pi);j.addMethod("lte",pi);j.addMethod("lessThanOrEqual",pi);j.addMethod("within",function(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"doLength"),a=B(this,"message"),i=a?a+": ":"",s=B(this,"ssfi"),c=Ae(n).toLowerCase(),u=Ae(e).toLowerCase(),d=Ae(t).toLowerCase(),p,f=!0,h=u==="date"&&d==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&c!=="map"&&c!=="set"&&new j(n,a,s,!0).to.have.property("length"),!o&&c==="date"&&(u!=="date"||d!=="date"))p=i+"the arguments to within must be dates";else if((!ze(e)||!ze(t))&&(o||ze(n)))p=i+"the arguments to within must be numbers";else if(!o&&c!=="date"&&!ze(n)){var m=c==="string"?"'"+n+"'":n;p=i+"expected "+m+" to be a number or a date"}else f=!1;if(f)throw new Ee(p,void 0,s);if(o){var b="length",w;c==="map"||c==="set"?(b="size",w=n.size):w=n.length,this.assert(w>=e&&w<=t,"expected #{this} to have a "+b+" within "+h,"expected #{this} to not have a "+b+" within "+h)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+h,"expected #{this} to not be within "+h)});function Ll(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"ssfi"),o=B(this,"message");try{var a=r instanceof e}catch(s){throw s instanceof TypeError?(o=o?o+": ":"",new Ee(o+"The instanceof assertion needs a constructor but "+Ae(e)+" was given.",void 0,n)):s}var i=si(e);i==null&&(i="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}l(Ll,"assertInstanceOf");U(Ll,"assertInstanceOf");j.addMethod("instanceof",Ll);j.addMethod("instanceOf",Ll);function Bl(e,t,r){r&&B(this,"message",r);var n=B(this,"nested"),o=B(this,"own"),a=B(this,"message"),i=B(this,"object"),s=B(this,"ssfi"),c=typeof e;if(a=a?a+": ":"",n){if(c!=="string")throw new Ee(a+"the argument to property must be a string when using nested syntax",void 0,s)}else if(c!=="string"&&c!=="number"&&c!=="symbol")throw new Ee(a+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&o)throw new Ee(a+'The "nested" and "own" flags cannot be combined.',void 0,s);if(i==null)throw new Ee(a+"Target cannot be null or undefined.",void 0,s);var u=B(this,"deep"),d=B(this,"negate"),p=n?Pl(i,e):null,f=n?p.value:i[e],h=u?B(this,"eql"):(w,g)=>w===g,m="";u&&(m+="deep "),o&&(m+="own "),n&&(m+="nested "),m+="property ";var b;o?b=Object.prototype.hasOwnProperty.call(i,e):n?b=p.exists:b=ii(i,e),(!d||arguments.length===1)&&this.assert(b,"expected #{this} to have "+m+ge(e),"expected #{this} to not have "+m+ge(e)),arguments.length>1&&this.assert(b&&h(t,f),"expected #{this} to have "+m+ge(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+ge(e)+" of #{act}",t,f),B(this,"object",f)}l(Bl,"assertProperty");U(Bl,"assertProperty");j.addMethod("property",Bl);function Hl(e,t,r){B(this,"own",!0),Bl.apply(this,arguments)}l(Hl,"assertOwnProperty");U(Hl,"assertOwnProperty");j.addMethod("ownProperty",Hl);j.addMethod("haveOwnProperty",Hl);function Ul(e,t,r){typeof t=="string"&&(r=t,t=null),r&&B(this,"message",r);var n=B(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),a=B(this,"eql");o&&t?this.assert(a(t,o),"expected the own property descriptor for "+ge(e)+" on #{this} to match "+ge(t)+", got "+ge(o),"expected the own property descriptor for "+ge(e)+" on #{this} to not match "+ge(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+ge(e),"expected #{this} to not have an own property descriptor for "+ge(e)),B(this,"object",o)}l(Ul,"assertOwnPropertyDescriptor");U(Ul,"assertOwnPropertyDescriptor");j.addMethod("ownPropertyDescriptor",Ul);j.addMethod("haveOwnPropertyDescriptor",Ul);function Vl(){B(this,"doLength",!0)}l(Vl,"assertLengthChain");U(Vl,"assertLengthChain");function zl(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=Ae(r).toLowerCase(),o=B(this,"message"),a=B(this,"ssfi"),i="length",s;switch(n){case"map":case"set":i="size",s=r.size;break;default:new j(r,o,a,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,s)}l(zl,"assertLength");U(zl,"assertLength");j.addChainableMethod("length",zl,Vl);j.addChainableMethod("lengthOf",zl,Vl);function Wl(e,t){t&&B(this,"message",t);var r=B(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}l(Wl,"assertMatch");U(Wl,"assertMatch");j.addMethod("match",Wl);j.addMethod("matches",Wl);j.addMethod("string",function(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi");new j(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+ge(e),"expected #{this} to not contain "+ge(e))});function Gl(e){var t=B(this,"object"),r=Ae(t),n=Ae(e),o=B(this,"ssfi"),a=B(this,"deep"),i,s="",c,u=!0,d=B(this,"message");d=d?d+": ":"";var p=d+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")s=a?"deeply ":"",c=[],t.forEach(function(E,C){c.push(C)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(c=jl(t),n){case"Array":if(arguments.length>1)throw new Ee(p,void 0,o);break;case"Object":if(arguments.length>1)throw new Ee(p,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(E){return typeof E=="symbol"?E:String(E)})}if(!e.length)throw new Ee(d+"keys required",void 0,o);var f=e.length,h=B(this,"any"),m=B(this,"all"),b=e,w=a?B(this,"eql"):(E,C)=>E===C;if(!h&&!m&&(m=!0),h&&(u=b.some(function(E){return c.some(function(C){return w(E,C)})})),m&&(u=b.every(function(E){return c.some(function(C){return w(E,C)})}),B(this,"contains")||(u=u&&e.length==c.length)),f>1){e=e.map(function(E){return ge(E)});var g=e.pop();m&&(i=e.join(", ")+", and "+g),h&&(i=e.join(", ")+", or "+g)}else i=ge(e[0]);i=(f>1?"keys ":"key ")+i,i=(B(this,"contains")?"contain ":"have ")+i,this.assert(u,"expected #{this} to "+s+i,"expected #{this} to not "+s+i,b.slice(0).sort(La),c.sort(La),!0)}l(Gl,"assertKeys");U(Gl,"assertKeys");j.addMethod("keys",Gl);j.addMethod("key",Gl);function fi(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"ssfi"),a=B(this,"message"),i=B(this,"negate")||!1;new j(n,a,o,!0).is.a("function"),(Ba(e)||typeof e=="string")&&(t=e,e=null);let s,c=!1;try{n()}catch(E){c=!0,s=E}var u=e===void 0&&t===void 0,d=!!(e&&t),p=!1,f=!1;if(u||!u&&!i){var h="an error";e instanceof Error?h="#{exp}":e&&(h=mt.getConstructorName(e));let E=s;if(s instanceof Error)E=s.toString();else if(typeof s=="string")E=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{E=mt.getConstructorName(s)}catch(C){}this.assert(c,"expected #{this} to throw "+h,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),E)}if(e&&s){if(e instanceof Error){var m=mt.compatibleInstance(s,e);m===i&&(d&&i?p=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!i?" but #{act} was thrown":""),e.toString(),s.toString()))}var b=mt.compatibleConstructor(s,e);b===i&&(d&&i?p=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&mt.getConstructorName(e),s instanceof Error?s.toString():s&&mt.getConstructorName(s)))}if(s&&t!==void 0&&t!==null){var w="including";Ba(t)&&(w="matching");var g=mt.compatibleMessage(s,t);g===i&&(d&&i?f=!0:this.assert(i,"expected #{this} to throw error "+w+" #{exp} but got #{act}","expected #{this} to throw error not "+w+" #{exp}",t,mt.getMessage(s)))}p&&f&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&mt.getConstructorName(e),s instanceof Error?s.toString():s&&mt.getConstructorName(s)),B(this,"object",s)}l(fi,"assertThrows");U(fi,"assertThrows");j.addMethod("throw",fi);j.addMethod("throws",fi);j.addMethod("Throw",fi);function Yl(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+ge(e),"expected #{this} to not respond to "+ge(e))}l(Yl,"respondTo");U(Yl,"respondTo");j.addMethod("respondTo",Yl);j.addMethod("respondsTo",Yl);j.addProperty("itself",function(){B(this,"itself",!0)});function Kl(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Vr(e),"expected #{this} to not satisfy"+Vr(e),!B(this,"negate"),n)}l(Kl,"satisfy");U(Kl,"satisfy");j.addMethod("satisfy",Kl);j.addMethod("satisfies",Kl);function Xl(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"message"),a=B(this,"ssfi");new j(n,o,a,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new Ee(o?`${o}: ${i}`:i,void 0,a);if(new j(t,o,a,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new Ee(o?`${o}: ${i}`:i,void 0,a);new j(e,o,a,!0).is.numeric;let s=U(u=>u<BigInt(0)?-u:u,"abs"),c=U(u=>parseFloat(parseFloat(u).toPrecision(12)),"strip");this.assert(c(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}l(Xl,"closeTo");U(Xl,"closeTo");j.addMethod("closeTo",Xl);j.addMethod("approximately",Xl);function Jh(e,t,r,n,o){let a=Array.from(t),i=Array.from(e);if(!n){if(i.length!==a.length)return!1;a=a.slice()}return i.every(function(s,c){if(o)return r?r(s,a[c]):s===a[c];if(!r){var u=a.indexOf(s);return u===-1?!1:(n||a.splice(u,1),!0)}return a.some(function(d,p){return r(s,d)?(n||a.splice(p,1),!0):!1})})}l(Jh,"isSubsetOf");U(Jh,"isSubsetOf");j.addMethod("members",function(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi");new j(r,n,o,!0).to.be.iterable,new j(e,n,o,!0).to.be.iterable;var a=B(this,"contains"),i=B(this,"ordered"),s,c,u;a?(s=i?"an ordered superset":"a superset",c="expected #{this} to be "+s+" of #{exp}",u="expected #{this} to not be "+s+" of #{exp}"):(s=i?"ordered members":"members",c="expected #{this} to have the same "+s+" as #{exp}",u="expected #{this} to not have the same "+s+" as #{exp}");var d=B(this,"deep")?B(this,"eql"):void 0;this.assert(Jh(e,r,d,a,i),c,u,e,r,!0)});j.addProperty("iterable",function(e){e&&B(this,"message",e);var t=B(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function Qh(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi"),a=B(this,"contains"),i=B(this,"deep"),s=B(this,"eql");new j(e,n,o,!0).to.be.an("array"),a?this.assert(e.some(function(c){return r.indexOf(c)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(c){return s(r,c)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}l(Qh,"oneOf");U(Qh,"oneOf");j.addMethod("oneOf",Qh);function Jl(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"message"),a=B(this,"ssfi");new j(n,o,a,!0).is.a("function");var i;t?(new j(e,o,a,!0).to.have.property(t),i=e[t]):(new j(e,o,a,!0).is.a("function"),i=e()),n();var s=t==null?e():e[t],c=t==null?i:"."+t;B(this,"deltaMsgObj",c),B(this,"initialDeltaValue",i),B(this,"finalDeltaValue",s),B(this,"deltaBehavior","change"),B(this,"realDelta",s!==i),this.assert(i!==s,"expected "+c+" to change","expected "+c+" to not change")}l(Jl,"assertChanges");U(Jl,"assertChanges");j.addMethod("change",Jl);j.addMethod("changes",Jl);function Ql(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"message"),a=B(this,"ssfi");new j(n,o,a,!0).is.a("function");var i;t?(new j(e,o,a,!0).to.have.property(t),i=e[t]):(new j(e,o,a,!0).is.a("function"),i=e()),new j(i,o,a,!0).is.a("number"),n();var s=t==null?e():e[t],c=t==null?i:"."+t;B(this,"deltaMsgObj",c),B(this,"initialDeltaValue",i),B(this,"finalDeltaValue",s),B(this,"deltaBehavior","increase"),B(this,"realDelta",s-i),this.assert(s-i>0,"expected "+c+" to increase","expected "+c+" to not increase")}l(Ql,"assertIncreases");U(Ql,"assertIncreases");j.addMethod("increase",Ql);j.addMethod("increases",Ql);function Zl(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"message"),a=B(this,"ssfi");new j(n,o,a,!0).is.a("function");var i;t?(new j(e,o,a,!0).to.have.property(t),i=e[t]):(new j(e,o,a,!0).is.a("function"),i=e()),new j(i,o,a,!0).is.a("number"),n();var s=t==null?e():e[t],c=t==null?i:"."+t;B(this,"deltaMsgObj",c),B(this,"initialDeltaValue",i),B(this,"finalDeltaValue",s),B(this,"deltaBehavior","decrease"),B(this,"realDelta",i-s),this.assert(s-i<0,"expected "+c+" to decrease","expected "+c+" to not decrease")}l(Zl,"assertDecreases");U(Zl,"assertDecreases");j.addMethod("decrease",Zl);j.addMethod("decreases",Zl);function Zh(e,t){t&&B(this,"message",t);var r=B(this,"deltaMsgObj"),n=B(this,"initialDeltaValue"),o=B(this,"finalDeltaValue"),a=B(this,"deltaBehavior"),i=B(this,"realDelta"),s;a==="change"?s=Math.abs(o-n)===Math.abs(e):s=i===Math.abs(e),this.assert(s,"expected "+r+" to "+a+" by "+e,"expected "+r+" to not "+a+" by "+e)}l(Zh,"assertDelta");U(Zh,"assertDelta");j.addMethod("by",Zh);j.addProperty("extensible",function(){var e=B(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});j.addProperty("sealed",function(){var e=B(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});j.addProperty("frozen",function(){var e=B(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});j.addProperty("finite",function(e){var t=B(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 Ha(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return Ha(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?Ha(n,o):typeof n=="function"?n(o):o===n}):!1}l(Ha,"compareSubset");U(Ha,"compareSubset");j.addMethod("containSubset",function(e){let t=de(this,"object"),r=st.showDiff;this.assert(Ha(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function zr(e,t){return new j(e,t)}l(zr,"expect");U(zr,"expect");zr.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Ee(r,{actual:e,expected:t,operator:n},zr.fail)};var mx={};bh(mx,{Should:l(()=>_6,"Should"),should:l(()=>R6,"should")});function eu(){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 j(this.valueOf(),null,e):new j(this,null,e)}l(e,"shouldGetter"),U(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}l(t,"shouldSetter"),U(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,o,a,i){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new Ee(a,{actual:n,expected:o,operator:i},r.fail)},r.equal=function(n,o,a){new j(n,a).to.equal(o)},r.Throw=function(n,o,a,i){new j(n,i).to.Throw(o,a)},r.exist=function(n,o){new j(n,o).to.exist},r.not={},r.not.equal=function(n,o,a){new j(n,a).to.not.equal(o)},r.not.Throw=function(n,o,a,i){new j(n,i).to.not.Throw(o,a)},r.not.exist=function(n,o){new j(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}l(eu,"loadShould");U(eu,"loadShould");var R6=eu,_6=eu;function M(e,t){var r=new j(null,null,M,!0);r.assert(e,t,"[ negation message unavailable ]")}l(M,"assert");U(M,"assert");M.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Ee(r,{actual:e,expected:t,operator:n},M.fail)};M.isOk=function(e,t){new j(e,t,M.isOk,!0).is.ok};M.isNotOk=function(e,t){new j(e,t,M.isNotOk,!0).is.not.ok};M.equal=function(e,t,r){var n=new j(e,r,M.equal,!0);n.assert(t==de(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};M.notEqual=function(e,t,r){var n=new j(e,r,M.notEqual,!0);n.assert(t!=de(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};M.strictEqual=function(e,t,r){new j(e,r,M.strictEqual,!0).to.equal(t)};M.notStrictEqual=function(e,t,r){new j(e,r,M.notStrictEqual,!0).to.not.equal(t)};M.deepEqual=M.deepStrictEqual=function(e,t,r){new j(e,r,M.deepEqual,!0).to.eql(t)};M.notDeepEqual=function(e,t,r){new j(e,r,M.notDeepEqual,!0).to.not.eql(t)};M.isAbove=function(e,t,r){new j(e,r,M.isAbove,!0).to.be.above(t)};M.isAtLeast=function(e,t,r){new j(e,r,M.isAtLeast,!0).to.be.least(t)};M.isBelow=function(e,t,r){new j(e,r,M.isBelow,!0).to.be.below(t)};M.isAtMost=function(e,t,r){new j(e,r,M.isAtMost,!0).to.be.most(t)};M.isTrue=function(e,t){new j(e,t,M.isTrue,!0).is.true};M.isNotTrue=function(e,t){new j(e,t,M.isNotTrue,!0).to.not.equal(!0)};M.isFalse=function(e,t){new j(e,t,M.isFalse,!0).is.false};M.isNotFalse=function(e,t){new j(e,t,M.isNotFalse,!0).to.not.equal(!1)};M.isNull=function(e,t){new j(e,t,M.isNull,!0).to.equal(null)};M.isNotNull=function(e,t){new j(e,t,M.isNotNull,!0).to.not.equal(null)};M.isNaN=function(e,t){new j(e,t,M.isNaN,!0).to.be.NaN};M.isNotNaN=function(e,t){new j(e,t,M.isNotNaN,!0).not.to.be.NaN};M.exists=function(e,t){new j(e,t,M.exists,!0).to.exist};M.notExists=function(e,t){new j(e,t,M.notExists,!0).to.not.exist};M.isUndefined=function(e,t){new j(e,t,M.isUndefined,!0).to.equal(void 0)};M.isDefined=function(e,t){new j(e,t,M.isDefined,!0).to.not.equal(void 0)};M.isCallable=function(e,t){new j(e,t,M.isCallable,!0).is.callable};M.isNotCallable=function(e,t){new j(e,t,M.isNotCallable,!0).is.not.callable};M.isObject=function(e,t){new j(e,t,M.isObject,!0).to.be.a("object")};M.isNotObject=function(e,t){new j(e,t,M.isNotObject,!0).to.not.be.a("object")};M.isArray=function(e,t){new j(e,t,M.isArray,!0).to.be.an("array")};M.isNotArray=function(e,t){new j(e,t,M.isNotArray,!0).to.not.be.an("array")};M.isString=function(e,t){new j(e,t,M.isString,!0).to.be.a("string")};M.isNotString=function(e,t){new j(e,t,M.isNotString,!0).to.not.be.a("string")};M.isNumber=function(e,t){new j(e,t,M.isNumber,!0).to.be.a("number")};M.isNotNumber=function(e,t){new j(e,t,M.isNotNumber,!0).to.not.be.a("number")};M.isNumeric=function(e,t){new j(e,t,M.isNumeric,!0).is.numeric};M.isNotNumeric=function(e,t){new j(e,t,M.isNotNumeric,!0).is.not.numeric};M.isFinite=function(e,t){new j(e,t,M.isFinite,!0).to.be.finite};M.isBoolean=function(e,t){new j(e,t,M.isBoolean,!0).to.be.a("boolean")};M.isNotBoolean=function(e,t){new j(e,t,M.isNotBoolean,!0).to.not.be.a("boolean")};M.typeOf=function(e,t,r){new j(e,r,M.typeOf,!0).to.be.a(t)};M.notTypeOf=function(e,t,r){new j(e,r,M.notTypeOf,!0).to.not.be.a(t)};M.instanceOf=function(e,t,r){new j(e,r,M.instanceOf,!0).to.be.instanceOf(t)};M.notInstanceOf=function(e,t,r){new j(e,r,M.notInstanceOf,!0).to.not.be.instanceOf(t)};M.include=function(e,t,r){new j(e,r,M.include,!0).include(t)};M.notInclude=function(e,t,r){new j(e,r,M.notInclude,!0).not.include(t)};M.deepInclude=function(e,t,r){new j(e,r,M.deepInclude,!0).deep.include(t)};M.notDeepInclude=function(e,t,r){new j(e,r,M.notDeepInclude,!0).not.deep.include(t)};M.nestedInclude=function(e,t,r){new j(e,r,M.nestedInclude,!0).nested.include(t)};M.notNestedInclude=function(e,t,r){new j(e,r,M.notNestedInclude,!0).not.nested.include(t)};M.deepNestedInclude=function(e,t,r){new j(e,r,M.deepNestedInclude,!0).deep.nested.include(t)};M.notDeepNestedInclude=function(e,t,r){new j(e,r,M.notDeepNestedInclude,!0).not.deep.nested.include(t)};M.ownInclude=function(e,t,r){new j(e,r,M.ownInclude,!0).own.include(t)};M.notOwnInclude=function(e,t,r){new j(e,r,M.notOwnInclude,!0).not.own.include(t)};M.deepOwnInclude=function(e,t,r){new j(e,r,M.deepOwnInclude,!0).deep.own.include(t)};M.notDeepOwnInclude=function(e,t,r){new j(e,r,M.notDeepOwnInclude,!0).not.deep.own.include(t)};M.match=function(e,t,r){new j(e,r,M.match,!0).to.match(t)};M.notMatch=function(e,t,r){new j(e,r,M.notMatch,!0).to.not.match(t)};M.property=function(e,t,r){new j(e,r,M.property,!0).to.have.property(t)};M.notProperty=function(e,t,r){new j(e,r,M.notProperty,!0).to.not.have.property(t)};M.propertyVal=function(e,t,r,n){new j(e,n,M.propertyVal,!0).to.have.property(t,r)};M.notPropertyVal=function(e,t,r,n){new j(e,n,M.notPropertyVal,!0).to.not.have.property(t,r)};M.deepPropertyVal=function(e,t,r,n){new j(e,n,M.deepPropertyVal,!0).to.have.deep.property(t,r)};M.notDeepPropertyVal=function(e,t,r,n){new j(e,n,M.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};M.ownProperty=function(e,t,r){new j(e,r,M.ownProperty,!0).to.have.own.property(t)};M.notOwnProperty=function(e,t,r){new j(e,r,M.notOwnProperty,!0).to.not.have.own.property(t)};M.ownPropertyVal=function(e,t,r,n){new j(e,n,M.ownPropertyVal,!0).to.have.own.property(t,r)};M.notOwnPropertyVal=function(e,t,r,n){new j(e,n,M.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};M.deepOwnPropertyVal=function(e,t,r,n){new j(e,n,M.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};M.notDeepOwnPropertyVal=function(e,t,r,n){new j(e,n,M.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};M.nestedProperty=function(e,t,r){new j(e,r,M.nestedProperty,!0).to.have.nested.property(t)};M.notNestedProperty=function(e,t,r){new j(e,r,M.notNestedProperty,!0).to.not.have.nested.property(t)};M.nestedPropertyVal=function(e,t,r,n){new j(e,n,M.nestedPropertyVal,!0).to.have.nested.property(t,r)};M.notNestedPropertyVal=function(e,t,r,n){new j(e,n,M.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};M.deepNestedPropertyVal=function(e,t,r,n){new j(e,n,M.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};M.notDeepNestedPropertyVal=function(e,t,r,n){new j(e,n,M.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};M.lengthOf=function(e,t,r){new j(e,r,M.lengthOf,!0).to.have.lengthOf(t)};M.hasAnyKeys=function(e,t,r){new j(e,r,M.hasAnyKeys,!0).to.have.any.keys(t)};M.hasAllKeys=function(e,t,r){new j(e,r,M.hasAllKeys,!0).to.have.all.keys(t)};M.containsAllKeys=function(e,t,r){new j(e,r,M.containsAllKeys,!0).to.contain.all.keys(t)};M.doesNotHaveAnyKeys=function(e,t,r){new j(e,r,M.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};M.doesNotHaveAllKeys=function(e,t,r){new j(e,r,M.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};M.hasAnyDeepKeys=function(e,t,r){new j(e,r,M.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};M.hasAllDeepKeys=function(e,t,r){new j(e,r,M.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};M.containsAllDeepKeys=function(e,t,r){new j(e,r,M.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};M.doesNotHaveAnyDeepKeys=function(e,t,r){new j(e,r,M.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};M.doesNotHaveAllDeepKeys=function(e,t,r){new j(e,r,M.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};M.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new j(e,n,M.throws,!0).to.throw(t,r);return de(o,"object")};M.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new j(e,n,M.doesNotThrow,!0).to.not.throw(t,r)};M.operator=function(e,t,r,n){var o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new Ee(n+'Invalid operator "'+t+'"',void 0,M.operator)}var a=new j(o,n,M.operator,!0);a.assert(de(a,"object")===!0,"expected "+ge(e)+" to be "+t+" "+ge(r),"expected "+ge(e)+" to not be "+t+" "+ge(r))};M.closeTo=function(e,t,r,n){new j(e,n,M.closeTo,!0).to.be.closeTo(t,r)};M.approximately=function(e,t,r,n){new j(e,n,M.approximately,!0).to.be.approximately(t,r)};M.sameMembers=function(e,t,r){new j(e,r,M.sameMembers,!0).to.have.same.members(t)};M.notSameMembers=function(e,t,r){new j(e,r,M.notSameMembers,!0).to.not.have.same.members(t)};M.sameDeepMembers=function(e,t,r){new j(e,r,M.sameDeepMembers,!0).to.have.same.deep.members(t)};M.notSameDeepMembers=function(e,t,r){new j(e,r,M.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};M.sameOrderedMembers=function(e,t,r){new j(e,r,M.sameOrderedMembers,!0).to.have.same.ordered.members(t)};M.notSameOrderedMembers=function(e,t,r){new j(e,r,M.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};M.sameDeepOrderedMembers=function(e,t,r){new j(e,r,M.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};M.notSameDeepOrderedMembers=function(e,t,r){new j(e,r,M.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};M.includeMembers=function(e,t,r){new j(e,r,M.includeMembers,!0).to.include.members(t)};M.notIncludeMembers=function(e,t,r){new j(e,r,M.notIncludeMembers,!0).to.not.include.members(t)};M.includeDeepMembers=function(e,t,r){new j(e,r,M.includeDeepMembers,!0).to.include.deep.members(t)};M.notIncludeDeepMembers=function(e,t,r){new j(e,r,M.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};M.includeOrderedMembers=function(e,t,r){new j(e,r,M.includeOrderedMembers,!0).to.include.ordered.members(t)};M.notIncludeOrderedMembers=function(e,t,r){new j(e,r,M.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};M.includeDeepOrderedMembers=function(e,t,r){new j(e,r,M.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};M.notIncludeDeepOrderedMembers=function(e,t,r){new j(e,r,M.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};M.oneOf=function(e,t,r){new j(e,r,M.oneOf,!0).to.be.oneOf(t)};M.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${ge(e)} to be an iterable`:`expected ${ge(e)} to be an iterable`,new Ee(t,void 0,M.isIterable)};M.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,M.changes,!0).to.change(t,r)};M.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new j(e,o,M.changesBy,!0).to.change(t,r).by(n)};M.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,M.doesNotChange,!0).to.not.change(t,r)};M.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new j(e,o,M.changesButNotBy,!0).to.change(t,r).but.not.by(n)};M.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,M.increases,!0).to.increase(t,r)};M.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new j(e,o,M.increasesBy,!0).to.increase(t,r).by(n)};M.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,M.doesNotIncrease,!0).to.not.increase(t,r)};M.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new j(e,o,M.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};M.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,M.decreases,!0).to.decrease(t,r)};M.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new j(e,o,M.decreasesBy,!0).to.decrease(t,r).by(n)};M.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,M.doesNotDecrease,!0).to.not.decrease(t,r)};M.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);return new j(e,o,M.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};M.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new j(e,o,M.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};M.ifError=function(e){if(e)throw e};M.isExtensible=function(e,t){new j(e,t,M.isExtensible,!0).to.be.extensible};M.isNotExtensible=function(e,t){new j(e,t,M.isNotExtensible,!0).to.not.be.extensible};M.isSealed=function(e,t){new j(e,t,M.isSealed,!0).to.be.sealed};M.isNotSealed=function(e,t){new j(e,t,M.isNotSealed,!0).to.not.be.sealed};M.isFrozen=function(e,t){new j(e,t,M.isFrozen,!0).to.be.frozen};M.isNotFrozen=function(e,t){new j(e,t,M.isNotFrozen,!0).to.not.be.frozen};M.isEmpty=function(e,t){new j(e,t,M.isEmpty,!0).to.be.empty};M.isNotEmpty=function(e,t){new j(e,t,M.isNotEmpty,!0).to.not.be.empty};M.containsSubset=function(e,t,r){new j(e,r).to.containSubset(t)};M.doesNotContainSubset=function(e,t,r){new j(e,r).to.not.containSubset(t)};var k6=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of k6)M[t]=M[e];var tE=[];function yn(e){let t={use:yn,AssertionError:Ee,util:Kt,config:st,expect:zr,assert:M,Assertion:j,...mx};return~tE.indexOf(e)||(e(t,Kt),tE.push(e)),t}l(yn,"use");U(yn,"use");var bx={};pl(bx,{toBeChecked:()=>Dm,toBeDisabled:()=>Tm,toBeEmpty:()=>fm,toBeEmptyDOMElement:()=>hm,toBeEnabled:()=>Rm,toBeInTheDOM:()=>Vs,toBeInTheDocument:()=>pm,toBeInvalid:()=>qm,toBePartiallyChecked:()=>Fm,toBeRequired:()=>_m,toBeValid:()=>Mm,toBeVisible:()=>Cm,toContainElement:()=>zs,toContainHTML:()=>mm,toHaveAccessibleDescription:()=>Ws,toHaveAccessibleErrorMessage:()=>gm,toHaveAccessibleName:()=>Ys,toHaveAttribute:()=>ym,toHaveClass:()=>vm,toHaveDescription:()=>$m,toHaveDisplayValue:()=>Im,toHaveErrorMessage:()=>Lm,toHaveFocus:()=>wm,toHaveFormValues:()=>Em,toHaveRole:()=>Gs,toHaveSelection:()=>Bm,toHaveStyle:()=>Ks,toHaveTextContent:()=>bm,toHaveValue:()=>jm});var rE=vt(GE(),1);function em(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}l(em,"$parcel$defineInteropFlag");function tu(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}l(tu,"$parcel$export");var gx={};em(gx);tu(gx,"default",()=>vx);var yx=class extends Error{constructor(t,r,n,o,a){super(t+":"+n+":"+o+": "+r),this.reason=r,this.filename=t,this.line=n,this.column=o,this.source=a}};l(yx,"$009ddb00d3ec72b8$export$2e2bcd8739ae039");var vx=yx,wx={};em(wx);tu(wx,"default",()=>xx);var Ex=class{constructor(t,r,n){this.start=t,this.end=r,this.source=n}};l(Ex,"$0865a9fb4cc365fe$export$2e2bcd8739ae039");var xx=Ex,q6={};tu(q6,"CssTypes",()=>Ye);var Ye=(function(e){return e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports",e})({}),Tp=/\/\*[^]*?(?:\*\/|$)/g,M6=l((e,t)=>{t=t||{};let r=1,n=1;function o(W){let z=W.match(/\n/g);z&&(r+=z.length);let Y=W.lastIndexOf(`
|
|
220
|
+
`);n=~Y?W.length-Y:n+W.length}l(o,"updatePosition");function a(){let W={line:r,column:n};return function(z){return z.position=new xx(W,{line:r,column:n},(t==null?void 0:t.source)||""),h(),z}}l(a,"position");let i=[];function s(W){let z=new vx((t==null?void 0:t.source)||"",W,r,n,e);if(t!=null&&t.silent)i.push(z);else throw z}l(s,"error");function c(){let W=p();return{type:Ye.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:W,parsingErrors:i}}}l(c,"stylesheet");function u(){return f(/^{\s*/)}l(u,"open");function d(){return f(/^}/)}l(d,"close");function p(){let W,z=[];for(h(),m(z);e.length&&e.charAt(0)!=="}"&&(W=oe()||ee());)W&&(z.push(W),m(z));return z}l(p,"rules");function f(W){let z=W.exec(e);if(!z)return;let Y=z[0];return o(Y),e=e.slice(Y.length),z}l(f,"match");function h(){f(/^\s*/)}l(h,"whitespace");function m(W){let z;for(W=W||[];z=b();)z&&W.push(z);return W}l(m,"comments");function b(){let W=a();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let z=f(/^\/\*[^]*?\*\//);return z?W({type:Ye.comment,comment:z[0].slice(2,-2)}):s("End of comment missing")}l(b,"comment");function w(W,z,Y){let re=z+1,X=!1,ie=W.indexOf(")",re);for(;!X&&ie!==-1;){let se=W.indexOf("(",re);se!==-1&&se<ie?(re=w(W,se+1,Y+1)+1,ie=W.indexOf(")",re)):X=!0}return X&&ie!==-1?ie:-1}l(w,"findClosingParenthese");function g(){let W=f(/^([^{]+)/);if(!W)return;let z=ht(W[0]).replace(Tp,"");if(z.indexOf(",")===-1)return[z];let Y=0,re=z.indexOf("(",Y);for(;re!==-1;){let X=w(z,re,0);if(X===-1)break;Y=X+1,z=z.substring(0,re)+z.substring(re,X).replace(/,/g,"\u200C")+z.substring(X),re=z.indexOf("(",Y)}return z=z.replace(/("|')(?:\\\1|.)*?\1/g,X=>X.replace(/,/g,"\u200C")),z.split(",").map(X=>ht(X.replace(/\u200C/g,",")))}l(g,"selector");function E(){let W=a(),z=f(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!z)return;let Y=ht(z[0]);if(!f(/^:\s*/))return s("property missing ':'");let re=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/),X=W({type:Ye.declaration,property:Y.replace(Tp,""),value:re?ht(re[0]).replace(Tp,""):""});return f(/^[;\s]*/),X}l(E,"declaration");function C(){let W=[];if(!u())return s("missing '{'");m(W);let z;for(;z=E();)z&&(W.push(z),m(W));return d()?W:s("missing '}'")}l(C,"declarations");function x(){let W,z=[],Y=a();for(;W=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)z.push(W[1]),f(/^,\s*/);if(z.length)return Y({type:Ye.keyframe,values:z,declarations:C()||[]})}l(x,"keyframe");function P(){let W=a(),z=f(/^@([-\w]+)?keyframes\s*/);if(!z)return;let Y=z[1],re=f(/^([-\w]+)\s*/);if(!re)return s("@keyframes missing name");let X=re[1];if(!u())return s("@keyframes missing '{'");let ie,se=m();for(;ie=x();)se.push(ie),se=se.concat(m());return d()?W({type:Ye.keyframes,name:X,vendor:Y,keyframes:se}):s("@keyframes missing '}'")}l(P,"atkeyframes");function S(){let W=a(),z=f(/^@supports *([^{]+)/);if(!z)return;let Y=ht(z[1]);if(!u())return s("@supports missing '{'");let re=m().concat(p());return d()?W({type:Ye.supports,supports:Y,rules:re}):s("@supports missing '}'")}l(S,"atsupports");function y(){let W=a();if(!f(/^@host\s*/))return;if(!u())return s("@host missing '{'");let z=m().concat(p());return d()?W({type:Ye.host,rules:z}):s("@host missing '}'")}l(y,"athost");function v(){let W=a(),z=f(/^@container *([^{]+)/);if(!z)return;let Y=ht(z[1]);if(!u())return s("@container missing '{'");let re=m().concat(p());return d()?W({type:Ye.container,container:Y,rules:re}):s("@container missing '}'")}l(v,"atcontainer");function A(){let W=a(),z=f(/^@layer *([^{;@]+)/);if(!z)return;let Y=ht(z[1]);if(!u())return f(/^[;\s]*/),W({type:Ye.layer,layer:Y});let re=m().concat(p());return d()?W({type:Ye.layer,layer:Y,rules:re}):s("@layer missing '}'")}l(A,"atlayer");function T(){let W=a(),z=f(/^@media *([^{]+)/);if(!z)return;let Y=ht(z[1]);if(!u())return s("@media missing '{'");let re=m().concat(p());return d()?W({type:Ye.media,media:Y,rules:re}):s("@media missing '}'")}l(T,"atmedia");function _(){let W=a(),z=f(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(z)return W({type:Ye.customMedia,name:ht(z[1]),media:ht(z[2])})}l(_,"atcustommedia");function N(){let W=a();if(!f(/^@page */))return;let z=g()||[];if(!u())return s("@page missing '{'");let Y=m(),re;for(;re=E();)Y.push(re),Y=Y.concat(m());return d()?W({type:Ye.page,selectors:z,declarations:Y}):s("@page missing '}'")}l(N,"atpage");function $(){let W=a(),z=f(/^@([-\w]+)?document *([^{]+)/);if(!z)return;let Y=ht(z[1]),re=ht(z[2]);if(!u())return s("@document missing '{'");let X=m().concat(p());return d()?W({type:Ye.document,document:re,vendor:Y,rules:X}):s("@document missing '}'")}l($,"atdocument");function R(){let W=a();if(!f(/^@font-face\s*/))return;if(!u())return s("@font-face missing '{'");let z=m(),Y;for(;Y=E();)z.push(Y),z=z.concat(m());return d()?W({type:Ye.fontFace,declarations:z}):s("@font-face missing '}'")}l(R,"atfontface");function k(){let W=a();if(!f(/^@starting-style\s*/))return;if(!u())return s("@starting-style missing '{'");let z=m().concat(p());return d()?W({type:Ye.startingStyle,rules:z}):s("@starting-style missing '}'")}l(k,"atstartingstyle");let D=te("import"),K=te("charset"),G=te("namespace");function te(W){let z=new RegExp("^@"+W+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let Y=a(),re=f(z);if(!re)return;let X={type:W};return X[W]=re[1].trim(),Y(X)}}l(te,"_compileAtrule");function oe(){if(e[0]==="@")return P()||T()||_()||S()||D()||K()||G()||$()||N()||y()||R()||v()||k()||A()}l(oe,"atrule");function ee(){let W=a(),z=g();return z?(m(),W({type:Ye.rule,selectors:z,declarations:C()||[]})):s("selector missing")}return l(ee,"rule"),Us(c())},"$d708735ed1303b43$export$98e6a39c04603d36");function ht(e){return e?e.trim():""}l(ht,"$d708735ed1303b43$var$trim");function Us(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let a=e[o];Array.isArray(a)?a.forEach(i=>{Us(i,n)}):a&&typeof a=="object"&&Us(a,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}l(Us,"$d708735ed1303b43$var$addParent");var j6=M6,I6=j6,D6=Object.prototype.toString;function Np(e){return typeof e=="function"||D6.call(e)==="[object Function]"}l(Np,"isCallable");function Cx(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}l(Cx,"toInteger");var N6=Math.pow(2,53)-1;function Sx(e){var t=Cx(e);return Math.min(Math.max(t,0),N6)}l(Sx,"toLength");function Pt(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Np(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Sx(n.length),a=Np(r)?Object(new r(o)):new Array(o),i=0,s;i<o;)s=n[i],t?a[i]=t(s,i):a[i]=s,i+=1;return a.length=o,a}l(Pt,"arrayFrom");function uo(e){"@babel/helpers - typeof";return uo=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},uo(e)}l(uo,"_typeof");function Ax(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}l(Ax,"_classCallCheck");function Fp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,tm(n.key),n)}}l(Fp,"_defineProperties");function Px(e,t,r){return t&&Fp(e.prototype,t),r&&Fp(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}l(Px,"_createClass");function Ox(e,t,r){return t=tm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Ox,"_defineProperty");function tm(e){var t=Tx(e,"string");return uo(t)==="symbol"?t:String(t)}l(tm,"_toPropertyKey");function Tx(e,t){if(uo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(uo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}l(Tx,"_toPrimitive");var F6=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ax(this,e),Ox(this,"items",void 0),this.items=t}return l(e,"SetLike"),Px(e,[{key:"add",value:l(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:l(function(){this.items=[]},"clear")},{key:"delete",value:l(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:l(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:l(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:l(function(){return this.items.length},"get")}]),e})(),$6=typeof Set>"u"?Set:F6;function et(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}l(et,"getLocalName");var L6={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},B6={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 Rx(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=B6[t])!==null&&n!==void 0&&n.has(r))})}l(Rx,"hasGlobalAriaAttributes");function rm(e,t){return Rx(e,t)}l(rm,"ignorePresentationalRole");function _x(e){var t=qx(e);if(t===null||$p.indexOf(t)!==-1){var r=kx(e);if($p.indexOf(t||"")===-1||rm(e,r||""))return r}return t}l(_x,"getRole");function kx(e){var t=L6[et(e)];if(t!==void 0)return t;switch(et(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!rm(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}l(kx,"getImplicitRole");function qx(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}l(qx,"getExplicitRole");var $p=["presentation","none"];function _e(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}l(_e,"isElement");function nm(e){return _e(e)&&et(e)==="caption"}l(nm,"isHTMLTableCaptionElement");function Ta(e){return _e(e)&&et(e)==="input"}l(Ta,"isHTMLInputElement");function Mx(e){return _e(e)&&et(e)==="optgroup"}l(Mx,"isHTMLOptGroupElement");function jx(e){return _e(e)&&et(e)==="select"}l(jx,"isHTMLSelectElement");function Ix(e){return _e(e)&&et(e)==="table"}l(Ix,"isHTMLTableElement");function Dx(e){return _e(e)&&et(e)==="textarea"}l(Dx,"isHTMLTextAreaElement");function Nx(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}l(Nx,"safeWindow");function Fx(e){return _e(e)&&et(e)==="fieldset"}l(Fx,"isHTMLFieldSetElement");function $x(e){return _e(e)&&et(e)==="legend"}l($x,"isHTMLLegendElement");function Lx(e){return _e(e)&&et(e)==="slot"}l(Lx,"isHTMLSlotElement");function Bx(e){return _e(e)&&e.ownerSVGElement!==void 0}l(Bx,"isSVGElement");function Hx(e){return _e(e)&&et(e)==="svg"}l(Hx,"isSVGSVGElement");function Ux(e){return Bx(e)&&et(e)==="title"}l(Ux,"isSVGTitleElement");function Ua(e,t){if(_e(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}l(Ua,"queryIdRefs");function Xt(e,t){return _e(e)?t.indexOf(_x(e))!==-1:!1}l(Xt,"hasAnyConcreteRoles");function Vx(e){return e.trim().replace(/\s\s+/g," ")}l(Vx,"asFlatString");function zx(e,t){if(!_e(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}l(zx,"isHidden");function Wx(e){return Xt(e,["button","combobox","listbox","textbox"])||om(e,"range")}l(Wx,"isControl");function om(e,t){if(!_e(e))return!1;switch(t){case"range":return Xt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}l(om,"hasAbstractRole");function Lp(e,t){var r=Pt(e.querySelectorAll(t));return Ua(e,"aria-owns").forEach(function(n){r.push.apply(r,Pt(n.querySelectorAll(t)))}),r}l(Lp,"querySelectorAllSubtree");function Gx(e){return jx(e)?e.selectedOptions||Lp(e,"[selected]"):Lp(e,'[aria-selected="true"]')}l(Gx,"querySelectedOptions");function Yx(e){return Xt(e,$p)}l(Yx,"isMarkedPresentational");function Kx(e){return nm(e)}l(Kx,"isNativeHostLanguageTextAlternativeElement");function Xx(e){return Xt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}l(Xx,"allowsNameFromContent");function Jx(e){return!1}l(Jx,"isDescendantOfNativeHostLanguageTextAlternativeElement");function Qx(e){return Ta(e)||Dx(e)?e.value:e.textContent||""}l(Qx,"getValueOfTextbox");function Bp(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}l(Bp,"getTextualContent");function am(e){var t=et(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}l(am,"isLabelableElement");function im(e){if(am(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&_e(r)){var n=im(r);n!==null&&(t=n)}}),t}l(im,"findLabelableElement");function Zx(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):im(e)}l(Zx,"getControlOfLabel");function e2(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Pt(t);if(!am(e))return null;var r=e.ownerDocument;return Pt(r.querySelectorAll("label")).filter(function(n){return Zx(n)===e})}l(e2,"getLabels");function t2(e){var t=e.assignedNodes();return t.length===0?Pt(e.childNodes):t}l(t2,"getSlotContents");function sm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new $6,n=Nx(e),o=t.compute,a=o===void 0?"name":o,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,c=t.getComputedStyle,u=c===void 0?n.getComputedStyle.bind(n):c,d=t.hidden,p=d===void 0?!1:d;function f(g,E){var C="";if(_e(g)&&s){var x=u(g,"::before"),P=Bp(x);C="".concat(P," ").concat(C)}var S=Lx(g)?t2(g):Pt(g.childNodes).concat(Ua(g,"aria-owns"));if(S.forEach(function(A){var T=w(A,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),_=_e(A)?u(A).getPropertyValue("display"):"inline",N=_!=="inline"?" ":"";C+="".concat(N).concat(T).concat(N)}),_e(g)&&s){var y=u(g,"::after"),v=Bp(y);C="".concat(C," ").concat(v)}return C.trim()}l(f,"computeMiscTextAlternative");function h(g,E){var C=g.getAttributeNode(E);return C!==null&&!r.has(C)&&C.value.trim()!==""?(r.add(C),C.value):null}l(h,"useAttribute");function m(g){return _e(g)?h(g,"title"):null}l(m,"computeTooltipAttributeValue");function b(g){if(!_e(g))return null;if(Fx(g)){r.add(g);for(var E=Pt(g.childNodes),C=0;C<E.length;C+=1){var x=E[C];if($x(x))return w(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Ix(g)){r.add(g);for(var P=Pt(g.childNodes),S=0;S<P.length;S+=1){var y=P[S];if(nm(y))return w(y,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Hx(g)){r.add(g);for(var v=Pt(g.childNodes),A=0;A<v.length;A+=1){var T=v[A];if(Ux(T))return T.textContent}return null}else if(et(g)==="img"||et(g)==="area"){var _=h(g,"alt");if(_!==null)return _}else if(Mx(g)){var N=h(g,"label");if(N!==null)return N}if(Ta(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var $=h(g,"value");if($!==null)return $;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var R=e2(g);if(R!==null&&R.length!==0)return r.add(g),Pt(R).map(function(G){return w(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(Ta(g)&&g.type==="image"){var k=h(g,"alt");if(k!==null)return k;var D=h(g,"title");return D!==null?D:"Submit Query"}if(Xt(g,["button"])){var K=f(g,{isEmbeddedInLabel:!1,isReferenced:!1});if(K!=="")return K}return null}l(b,"computeElementTextAlternative");function w(g,E){if(r.has(g))return"";if(!p&&zx(g,u)&&!E.isReferenced)return r.add(g),"";var C=_e(g)?g.getAttributeNode("aria-labelledby"):null,x=C!==null&&!r.has(C)?Ua(g,"aria-labelledby"):[];if(a==="name"&&!E.isReferenced&&x.length>0)return r.add(C),x.map(function(_){return w(_,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=E.recursion&&Wx(g)&&a==="name";if(!P){var S=(_e(g)&&g.getAttribute("aria-label")||"").trim();if(S!==""&&a==="name")return r.add(g),S;if(!Yx(g)){var y=b(g);if(y!==null)return r.add(g),y}}if(Xt(g,["menu"]))return r.add(g),"";if(P||E.isEmbeddedInLabel||E.isReferenced){if(Xt(g,["combobox","listbox"])){r.add(g);var v=Gx(g);return v.length===0?Ta(g)?g.value:"":Pt(v).map(function(_){return w(_,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(om(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(Xt(g,["textbox"]))return r.add(g),Qx(g)}if(Xx(g)||_e(g)&&E.isReferenced||Kx(g)||Jx(g)){var A=f(g,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1});if(A!=="")return r.add(g),A}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(E.recursion)return r.add(g),f(g,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1});var T=m(g);return T!==null?(r.add(g),T):(r.add(g),"")}return l(w,"computeTextAlternative"),Vx(w(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}l(sm,"computeTextAlternative");function co(e){"@babel/helpers - typeof";return co=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},co(e)}l(co,"_typeof");function Hp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}l(Hp,"ownKeys");function Up(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Hp(Object(r),!0).forEach(function(n){r2(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}l(Up,"_objectSpread");function r2(e,t,r){return t=n2(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(r2,"_defineProperty");function n2(e){var t=o2(e,"string");return co(t)==="symbol"?t:String(t)}l(n2,"_toPropertyKey");function o2(e,t){if(co(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(co(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}l(o2,"_toPrimitive");function a2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ua(e,"aria-describedby").map(function(a){return sm(a,Up(Up({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}l(a2,"computeAccessibleDescription");function i2(e){return Xt(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}l(i2,"prohibitsNaming");function s2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return i2(e)?"":sm(e,t)}l(s2,"computeAccessibleName");var lm=vt(YE(),1),H6=vt(XE(),1),um=vt(sx(),1),U6=vt(lx(),1),l2=class extends Error{constructor(t,r,n,o){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let a="";try{a=o.utils.printWithType("Received",r,o.utils.printReceived)}catch(i){}this.message=[o.utils.matcherHint(`${o.isNot?".not":""}.${n.name}`,"received",""),"",`${o.utils.RECEIVED_COLOR("received")} value must ${t}.`,a].join(`
|
|
221
|
+
`)}};l(l2,"GenericTypeError");var u2=l2,c2=class extends u2{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};l(c2,"HtmlElementTypeError");var nE=c2,d2=class extends u2{constructor(...t){super("be a Node",...t)}};l(d2,"NodeTypeError");var oE=d2;function cm(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}l(cm,"checkHasWindow");function p2(e,...t){cm(e,oE,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new oE(e,...t)}l(p2,"checkNode");function xe(e,...t){cm(e,nE,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new nE(e,...t)}l(xe,"checkHtmlElement");var f2=class extends Error{constructor(t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.message=[t.message,"",n.utils.RECEIVED_COLOR("Failing css:"),n.utils.RECEIVED_COLOR(`${t.css}`)].join(`
|
|
222
|
+
`)}};l(f2,"InvalidCSSError");var V6=f2;function h2(e,...t){let r=I6(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new V6({css:e,message:`Syntax error parsing expected css: ${n} on line: ${o}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:o,value:a})=>Object.assign(n,{[o]:a}),{})}l(h2,"parseCSS");function Vp(e,t){return typeof t=="string"?t:e.utils.stringify(t)}l(Vp,"display");function Ke(e,t,r,n,o,a){return[`${t}
|
|
223
|
+
`,`${r}:
|
|
224
|
+
${e.utils.EXPECTED_COLOR((0,rE.default)(Vp(e,n),2))}`,`${o}:
|
|
225
|
+
${e.utils.RECEIVED_COLOR((0,rE.default)(Vp(e,a),2))}`].join(`
|
|
226
|
+
`)}l(Ke,"getMessage");function m2(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}l(m2,"matches");function hi(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}l(hi,"deprecate");function mi(e){return e.replace(/\s+/g," ").trim()}l(mi,"normalize");function xr(e){return e.tagName&&e.tagName.toLowerCase()}l(xr,"getTag");function b2({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}l(b2,"getSelectValue");function g2(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}l(g2,"getInputValue");var z6=["meter","progressbar","slider","spinbutton"];function y2(e){if(z6.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}l(y2,"getAccessibleValue");function dm(e){var t;if(e)switch(e.tagName.toLowerCase()){case"input":return g2(e);case"select":return b2(e);default:return(t=e.value)!=null?t:y2(e)}}l(dm,"getSingleElementValue");function v2(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}l(v2,"toSentence");function ru(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}l(ru,"compareArraysAsSet");function Vs(e,t){return hi("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&xe(e,Vs,this),t&&xe(t,Vs,this),{pass:t?t.contains(e):!!e,message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
|
|
227
|
+
`),"message")}}l(Vs,"toBeInTheDOM");function pm(e){(e!==null||!this.isNot)&&xe(e,pm,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=l(()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,"errorFound"),n=l(()=>"element could not be found in the document","errorNotFound");return{pass:t,message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
|
|
228
|
+
`),"message")}}l(pm,"toBeInTheDocument");function fm(e){return hi("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),xe(e,fm,this),{pass:e.innerHTML==="",message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
229
|
+
`),"message")}}l(fm,"toBeEmpty");function hm(e){return xe(e,hm,this),{pass:w2(e),message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
230
|
+
`),"message")}}l(hm,"toBeEmptyDOMElement");function w2(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}l(w2,"isEmptyElement");function zs(e,t){return xe(e,zs,this),t!==null&&xe(t,zs,this),{pass:e.contains(t),message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
|
|
231
|
+
`)].join(`
|
|
232
|
+
`),"message")}}l(zs,"toContainElement");function E2(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}l(E2,"getNormalizedHtml");function mm(e,t){if(xe(e,mm,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(E2(e,t)),message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
|
|
233
|
+
`),"message")}}l(mm,"toContainHTML");function bm(e,t,r={normalizeWhitespace:!0}){p2(e,bm,this);let n=r.normalizeWhitespace?mi(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&m2(n,t),message:l(()=>{let a=this.isNot?"not to":"to";return Ke(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${a} have text content`,t,"Received",n)},"message")}}l(bm,"toHaveTextContent");function Ws(e,t){xe(e,Ws,this);let r=a2(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:l(()=>{let a=this.isNot?"not to":"to";return Ke(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Ws.name}`,"element",""),`Expected element ${a} have accessible description`,t,"Received",r)},"message")}}l(Ws,"toHaveAccessibleDescription");var va="aria-invalid",W6=["false"];function gm(e,t){var s,c;xe(e,gm,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return{pass:!1,message:l(()=>Ke(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`),"message")};let a=e.getAttribute(va);if(!e.hasAttribute(va)||W6.includes(a))return{pass:!1,message:l(()=>Ke(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${va}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${va}="${e.getAttribute(va)}`:null),"message")};let i=mi((c=(s=e.ownerDocument.getElementById(o))==null?void 0:s.textContent)!=null?c:"");return{pass:t===void 0?!!i:t instanceof RegExp?t.test(i):this.equals(i,t),message:l(()=>Ke(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t!=null?t:"","Received",i),"message")}}l(gm,"toHaveAccessibleErrorMessage");var G6=S2(lm.elementRoles);function Gs(e,t){xe(e,Gs,this);let r=x2(e);return{pass:r.some(n=>n===t),message:l(()=>{let n=this.isNot?"not to":"to";return Ke(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Gs.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))},"message")}}l(Gs,"toHaveRole");function x2(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):C2(e)}l(x2,"getExplicitOrImplicitRoles");function C2(e){for(let{match:t,roles:r}of G6)if(t(e))return[...r];return[]}l(C2,"getImplicitAriaRoles");function S2(e){function t({name:i,attributes:s}){return`${i}${s.map(({name:c,value:u,constraints:d=[]})=>d.indexOf("undefined")!==-1?`:not([${c}])`:u?`[${c}="${u}"]`:`[${c}]`).join("")}`}l(t,"makeElementSelector");function r({attributes:i=[]}){return i.length}l(r,"getSelectorSpecificity");function n({specificity:i},{specificity:s}){return s-i}l(n,"bySelectorSpecificity");function o(i){let{attributes:s=[]}=i,c=s.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");c>=0&&(s=[...s.slice(0,c),...s.slice(c+1)]);let u=t({...i,attributes:s});return d=>c>=0&&d.type!=="text"?!1:d.matches(u)}l(o,"match");let a=[];for(let[i,s]of e.entries())a=[...a,{match:o(i),roles:Array.from(s),specificity:r(i)}];return a.sort(n)}l(S2,"buildElementRoleList");function Ys(e,t){xe(e,Ys,this);let r=s2(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:l(()=>{let a=this.isNot?"not to":"to";return Ke(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Ys.name}`,"element",""),`Expected element ${a} have accessible name`,t,"Received",r)},"message")}}l(Ys,"toHaveAccessibleName");function zp(e,t,r){return r===void 0?t:`${t}=${e(r)}`}l(zp,"printAttribute");function A2(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}l(A2,"getAttributeComment");function ym(e,t,r){xe(e,ym,this);let n=r!==void 0,o=e.hasAttribute(t),a=e.getAttribute(t);return{pass:n?o&&this.equals(a,r):o,message:l(()=>{let i=this.isNot?"not to":"to",s=o?zp(this.utils.stringify,t,a):null,c=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:A2(this.utils.stringify,t,r)});return Ke(this,c,`Expected the element ${i} have attribute`,zp(this.utils.stringify,t,r),"Received",s)},"message")}}l(ym,"toHaveAttribute");function P2(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}l(P2,"getExpectedClassNamesAndOptions");function Wp(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}l(Wp,"splitClassNames");function Gp(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}l(Gp,"isSubset$1");function vm(e,...t){xe(e,vm,this);let{expectedClassNames:r,options:n}=P2(t),o=Wp(e.getAttribute("class")),a=r.reduce((s,c)=>s.concat(typeof c=="string"||!c?Wp(c):c),[]),i=a.some(s=>s instanceof RegExp);if(n.exact&&i)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Gp(a,o)&&a.length===o.length,message:l(()=>{let s=this.isNot?"not to":"to";return Ke(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${s} have EXACTLY defined classes`,a.join(" "),"Received",o.join(" "))},"message")}:a.length>0?{pass:Gp(a,o),message:l(()=>{let s=this.isNot?"not to":"to";return Ke(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${s} have class`,a.join(" "),"Received",o.join(" "))},"message")}:{pass:this.isNot?o.length>0:!1,message:l(()=>this.isNot?Ke(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(`
|
|
234
|
+
`),"message")}}l(vm,"toHaveClass");function O2(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o]}),r}l(O2,"getStyleDeclaration");function T2(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),a=[r];return o||a.push(r.toLowerCase()),a.some(i=>t[i]===n||t.getPropertyValue(i)===n)})}l(T2,"isSubset");function Yp(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
235
|
+
`)}l(Yp,"printoutStyles");function R2(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,a)=>Object.assign(o,{[a]:r.getPropertyValue(a)}),{});return e(Yp(t),Yp(n)).replace(`${H6.default.red("+ Received")}
|
|
236
|
+
`,"")}l(R2,"expectedDiff");function Ks(e,t){xe(e,Ks,this);let r=typeof t=="object"?t:h2(t,Ks,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=O2(e.ownerDocument,r),a=n(e);return{pass:T2(o,a),message:l(()=>{let i=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(i,"element",""),R2(this.utils.diff,o,a)].join(`
|
|
237
|
+
|
|
238
|
+
`)},"message")}}l(Ks,"toHaveStyle");function wm(e){return xe(e,wm,this),{pass:e.ownerDocument.activeElement===e,message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
|
|
239
|
+
`),"message")}}l(wm,"toHaveFocus");function _2(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}l(_2,"getMultiElementValue");function k2(e,t){let r=[...e.querySelectorAll(`[name="${(0,U6.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return dm(r[0]);default:return _2(r)}}l(k2,"getFormValue");function q2(e){return/\[\]$/.test(e)?e.slice(0,-2):e}l(q2,"getPureName");function M2(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[q2(r)]:k2(e,r)}),{})}l(M2,"getAllFormValues");function Em(e,t){if(xe(e,Em,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=M2(e);return{pass:Object.entries(t).every(([n,o])=>(0,um.default)(r[n],o,ru)),message:l(()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,a=Object.keys(r).filter(i=>t.hasOwnProperty(i)).reduce((i,s)=>({...i,[s]:r[s]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,a)].join(`
|
|
240
|
+
|
|
241
|
+
`)},"message")}}l(Em,"toHaveFormValues");function j2(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}l(j2,"isStyleVisible");function I2(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}l(I2,"isAttributeVisible");function xm(e,t){return j2(e)&&I2(e,t)&&(!e.parentElement||xm(e.parentElement,e))}l(xm,"isElementVisible");function Cm(e){xe(e,Cm,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&xm(e);return{pass:r,message:l(()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
242
|
+
`)},"message")}}l(Cm,"toBeVisible");var Y6=["fieldset","input","select","optgroup","option","button","textarea"];function D2(e,t){return xr(e)==="legend"&&xr(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>xr(r)==="legend"))}l(D2,"isFirstLegendChildOfFieldset");function N2(e,t){return Am(t)&&!D2(e,t)}l(N2,"isElementDisabledByParent");function F2(e){return e.includes("-")}l(F2,"isCustomElement");function Sm(e){let t=xr(e);return Y6.includes(t)||F2(t)}l(Sm,"canElementBeDisabled");function Am(e){return Sm(e)&&e.hasAttribute("disabled")}l(Am,"isElementDisabled");function Pm(e){let t=e.parentElement;return!!t&&(N2(e,t)||Pm(t))}l(Pm,"isAncestorDisabled");function Om(e){return Sm(e)&&(Am(e)||Pm(e))}l(Om,"isElementOrAncestorDisabled");function Tm(e){xe(e,Tm,this);let t=Om(e);return{pass:t,message:l(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
243
|
+
`)},"message")}}l(Tm,"toBeDisabled");function Rm(e){xe(e,Rm,this);let t=!Om(e);return{pass:t,message:l(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
244
|
+
`)},"message")}}l(Rm,"toBeEnabled");var K6=["select","textarea"],X6=["input","select","textarea"],J6=["color","hidden","range","submit","image","reset"],Q6=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function $2(e){return K6.includes(xr(e))&&e.hasAttribute("required")}l($2,"isRequiredOnFormTagsExceptInput");function L2(e){return xr(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!J6.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}l(L2,"isRequiredOnSupportedInput");function B2(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(X6.includes(xr(e))||e.hasAttribute("role")&&Q6.includes(e.getAttribute("role")))}l(B2,"isElementRequiredByARIA");function _m(e){xe(e,_m,this);let t=$2(e)||L2(e)||B2(e);return{pass:t,message:l(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
245
|
+
`)},"message")}}l(_m,"toBeRequired");var Z6=["form","input","select","textarea"];function H2(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}l(H2,"isElementHavingAriaInvalid");function U2(e){return Z6.includes(xr(e))}l(U2,"isSupportsValidityMethod");function km(e){let t=H2(e);return U2(e)?t||!e.checkValidity():t}l(km,"isElementInvalid");function qm(e){xe(e,qm,this);let t=km(e);return{pass:t,message:l(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
246
|
+
`)},"message")}}l(qm,"toBeInvalid");function Mm(e){xe(e,Mm,this);let t=!km(e);return{pass:t,message:l(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
247
|
+
`)},"message")}}l(Mm,"toBeValid");function jm(e,t){if(xe(e,jm,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=dm(e),n=t!==void 0,o=t,a=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,a=`${r} (${typeof r})`),{pass:n?(0,um.default)(r,t,ru):!!r,message:l(()=>{let i=this.isNot?"not to":"to",s=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Ke(this,s,`Expected the element ${i} have value`,n?o:"(any)","Received",a)},"message")}}l(jm,"toHaveValue");function Im(e,t){xe(e,Im,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=V2(r,e),o=z2(t),a=o.filter(c=>n.some(u=>c instanceof RegExp?c.test(u):this.equals(u,String(c)))).length,i=a===n.length,s=a===o.length;return{pass:i&&s,message:l(()=>Ke(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n),"message")}}l(Im,"toHaveDisplayValue");function V2(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}l(V2,"getValues");function z2(e){return e instanceof Array?e:[e]}l(z2,"getExpectedValues");function Dm(e){xe(e,Dm,this);let t=l(()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),"isValidInput"),r=l(()=>Nm(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked")),"isValidAriaElement");if(!t()&&!r())return{pass:!1,message:l(()=>`only inputs with type="checkbox" or type="radio" or elements with ${W2()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`,"message")};let n=l(()=>t()?e.checked:e.getAttribute("aria-checked")==="true","isChecked");return{pass:n(),message:l(()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
248
|
+
`)},"message")}}l(Dm,"toBeChecked");function W2(){return v2(G2().map(e=>`role="${e}"`),{lastWordConnector:" or "})}l(W2,"supportedRolesSentence");function G2(){return lm.roles.keys().filter(Nm)}l(G2,"supportedRoles");function Nm(e){var t;return((t=lm.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}l(Nm,"roleSupportsChecked");function Fm(e){xe(e,Fm,this);let t=l(()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox","isValidInput"),r=l(()=>e.getAttribute("role")==="checkbox","isValidAriaElement");if(!t()&&!r())return{pass:!1,message:l(()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead',"message")};let n=l(()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o},"isPartiallyChecked");return{pass:n(),message:l(()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
249
|
+
`)},"message")}}l(Fm,"toBePartiallyChecked");function $m(e,t){hi("toHaveDescription","Please use toHaveAccessibleDescription."),xe(e,$m,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let a=e.ownerDocument,i=n.map(s=>a.getElementById(s)).filter(Boolean);o=mi(i.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:l(()=>{let a=this.isNot?"not to":"to";return Ke(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${a} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))},"message")}}l($m,"toHaveDescription");function Lm(e,t){if(hi("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),xe(e,Lm,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let a=this.isNot?".not":"";return{pass:!1,message:l(()=>Ke(this,this.utils.matcherHint(`${a}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived("")),"message")}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let a=e.ownerDocument,i=n.map(s=>a.getElementById(s)).filter(Boolean);o=mi(i.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:l(()=>{let a=this.isNot?"not to":"to";return Ke(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${a} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))},"message")}}l(Lm,"toHaveErrorMessage");function Y2(e){let t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";let r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let a=e===r.startContainer||e.contains(r.startContainer),i=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(a||i)&&(n.selectNodeContents(e),a&&n.setStart(r.startContainer,r.startOffset),i&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let o=t.toString();return t.removeAllRanges(),t.addRange(r),o}l(Y2,"getSelection");function Bm(e,t){xe(e,Bm,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=Y2(e);return{pass:r?(0,um.default)(n,t,ru):!!n,message:l(()=>{let o=this.isNot?"not to":"to",a=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Ke(this,a,`Expected the element ${o} have selection`,r?t:"(any)","Received",n)},"message")}}l(Bm,"toHaveSelection");var rY=vt(GE(),1),nY=vt(YE(),1),oY=vt(XE(),1),aY=vt(sx(),1),iY=vt(lx(),1),e9={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]},t9=Object.entries(e9);function nu(e){return String(e)}l(nu,"a");nu.open="";nu.close="";function K2(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}l(K2,"C");function X2(e=!1){let t=K2(e),r=l((i,s,c,u)=>{let d="",p=0;do d+=i.substring(p,u)+c,p=u+s.length,u=i.indexOf(s,p);while(~u);return d+i.substring(p)},"i"),n=l((i,s,c=i)=>{let u=l(d=>{let p=String(d),f=p.indexOf(s,i.length);return~f?i+r(p,s,c,f)+s:i+p+s},"o");return u.open=i,u.close=s,u},"g"),o={isColorSupported:t},a=l(i=>`\x1B[${i}m`,"d");for(let[i,s]of t9)o[i]=t?n(a(s[0]),a(s[1]),s[2]):nu;return o}l(X2,"p");var He=X2();function Hm(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:l(function(){return r[n]},"get")})}})}),Object.freeze(e)}l(Hm,"_mergeNamespaces");function J2(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}l(J2,"getKeysOfEnumerableProperties");function _o(e,t,r,n,o,a,i=": "){let s="",c=0,u=e.next();if(!u.done){s+=t.spacingOuter;let d=r+t.indent;for(;!u.done;){if(s+=d,c++===t.maxWidth){s+="\u2026";break}let p=a(u.value[0],t,d,n,o),f=a(u.value[1],t,d,n,o);s+=p+i+f,u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}l(_o,"printIteratorEntries");function ou(e,t,r,n,o,a){let i="",s=0,c=e.next();if(!c.done){i+=t.spacingOuter;let u=r+t.indent;for(;!c.done;){if(i+=u,s++===t.maxWidth){i+="\u2026";break}i+=a(c.value,t,u,n,o),c=e.next(),c.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}l(ou,"printIteratorValues");function Va(e,t,r,n,o,a){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let s=l(u=>u instanceof DataView,"isDataView"),c=s(e)?e.byteLength:e.length;if(c>0){i+=t.spacingOuter;let u=r+t.indent;for(let d=0;d<c;d++){if(i+=u,d===t.maxWidth){i+="\u2026";break}(s(e)||d in e)&&(i+=a(s(e)?e.getInt8(d):e[d],t,u,n,o)),d<c-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}l(Va,"printListItems");function au(e,t,r,n,o,a){let i="",s=J2(e,t.compareKeys);if(s.length>0){i+=t.spacingOuter;let c=r+t.indent;for(let u=0;u<s.length;u++){let d=s[u],p=a(d,t,c,n,o),f=a(e[d],t,c,n,o);i+=`${c+p}: ${f}`,u<s.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}l(au,"printObjectProperties");var r9=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Rp=" ",n9=l((e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+Rp}[${Va(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+Rp}{${au(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+Rp+a(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},"serialize$5"),o9=l(e=>e&&e.$$typeof===r9,"test$5"),a9={serialize:n9,test:o9},i9=" ",Q2=new Set(["DOMStringMap","NamedNodeMap"]),s9=/^(?:HTML\w*Collection|NodeList)$/;function Z2(e){return Q2.has(e)||s9.test(e)}l(Z2,"testName");var l9=l(e=>e&&e.constructor&&!!e.constructor.name&&Z2(e.constructor.name),"test$4");function eC(e){return e.constructor.name==="NamedNodeMap"}l(eC,"isNamedNodeMap");var u9=l((e,t,r,n,o,a)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+i9)+(Q2.has(i)?`{${au(eC(e)?[...e].reduce((s,c)=>(s[c.name]=c.value,s),{}):{...e},t,r,n,o,a)}}`:`[${Va([...e],t,r,n,o,a)}]`)},"serialize$4"),c9={serialize:u9,test:l9};function Um(e){return e.replaceAll("<","<").replaceAll(">",">")}l(Um,"escapeHTML");function iu(e,t,r,n,o,a,i){let s=n+r.indent,c=r.colors;return e.map(u=>{let d=t[u],p=i(d,r,s,o,a);return typeof d!="string"&&(p.includes(`
|
|
250
|
+
`)&&(p=r.spacingOuter+s+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+c.prop.open+u+c.prop.close}=${c.value.open}${p}${c.value.close}`}).join("")}l(iu,"printProps");function su(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?Vm(i,t):a(i,t,r,n,o))).join("")}l(su,"printChildren");function Vm(e,t){let r=t.colors.content;return r.open+Um(e)+r.close}l(Vm,"printText");function tC(e,t){let r=t.colors.comment;return`${r.open}<!--${Um(e)}-->${r.close}`}l(tC,"printComment");function lu(e,t,r,n,o){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+o+a.open}${r?`>${a.close}${r}${n.spacingOuter}${o}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}l(lu,"printElement");function uu(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}l(uu,"printElementAsLeaf");var d9=1,rC=3,nC=8,oC=11,p9=/^(?:(?:HTML|SVG)\w*)?Element$/;function aC(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch(t){return!1}}l(aC,"testHasAttribute");function iC(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||aC(e);return r===d9&&(p9.test(t)||o)||r===rC&&t==="Text"||r===nC&&t==="Comment"||r===oC&&t==="DocumentFragment"}l(iC,"testNode");var f9=l(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&iC(e)},"test$3");function sC(e){return e.nodeType===rC}l(sC,"nodeIsText");function lC(e){return e.nodeType===nC}l(lC,"nodeIsComment");function hs(e){return e.nodeType===oC}l(hs,"nodeIsFragment");var h9=l((e,t,r,n,o,a)=>{if(sC(e))return Vm(e.data,t);if(lC(e))return tC(e.data,t);let i=hs(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?uu(i,t):lu(i,iu(hs(e)?[]:Array.from(e.attributes,s=>s.name).sort(),hs(e)?{}:[...e.attributes].reduce((s,c)=>(s[c.name]=c.value,s),{}),t,r+t.indent,n,o,a),su(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},"serialize$3"),m9={serialize:h9,test:f9},b9="@@__IMMUTABLE_ITERABLE__@@",g9="@@__IMMUTABLE_LIST__@@",y9="@@__IMMUTABLE_KEYED__@@",v9="@@__IMMUTABLE_MAP__@@",aE="@@__IMMUTABLE_ORDERED__@@",w9="@@__IMMUTABLE_RECORD__@@",E9="@@__IMMUTABLE_SEQ__@@",x9="@@__IMMUTABLE_SET__@@",C9="@@__IMMUTABLE_STACK__@@",po=l(e=>`Immutable.${e}`,"getImmutableName"),cu=l(e=>`[${e}]`,"printAsLeaf"),za=" ",iE="\u2026";function uC(e,t,r,n,o,a,i){return++n>t.maxDepth?cu(po(i)):`${po(i)+za}{${_o(e.entries(),t,r,n,o,a)}}`}l(uC,"printImmutableEntries");function cC(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}l(cC,"getRecordEntries");function dC(e,t,r,n,o,a){let i=po(e._name||"Record");return++n>t.maxDepth?cu(i):`${i+za}{${_o(cC(e),t,r,n,o,a)}}`}l(dC,"printImmutableRecord");function pC(e,t,r,n,o,a){let i=po("Seq");return++n>t.maxDepth?cu(i):e[y9]?`${i+za}{${e._iter||e._object?_o(e.entries(),t,r,n,o,a):iE}}`:`${i+za}[${e._iter||e._array||e._collection||e._iterable?ou(e.values(),t,r,n,o,a):iE}]`}l(pC,"printImmutableSeq");function ms(e,t,r,n,o,a,i){return++n>t.maxDepth?cu(po(i)):`${po(i)+za}[${ou(e.values(),t,r,n,o,a)}]`}l(ms,"printImmutableValues");var S9=l((e,t,r,n,o,a)=>e[v9]?uC(e,t,r,n,o,a,e[aE]?"OrderedMap":"Map"):e[g9]?ms(e,t,r,n,o,a,"List"):e[x9]?ms(e,t,r,n,o,a,e[aE]?"OrderedSet":"Set"):e[C9]?ms(e,t,r,n,o,a,"Stack"):e[E9]?pC(e,t,r,n,o,a):dC(e,t,r,n,o,a),"serialize$2"),A9=l(e=>e&&(e[b9]===!0||e[w9]===!0),"test$2"),P9={serialize:S9,test:A9};function zm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(zm,"getDefaultExportFromCjs");var sE={exports:{}},Re={},lE;function fC(){return lE||(lE=1,(function(){function e(b){if(typeof b=="object"&&b!==null){var w=b.$$typeof;switch(w){case t:switch(b=b.type,b){case n:case a:case o:case u:case d:case h:return b;default:switch(b=b&&b.$$typeof,b){case s:case c:case f:case p:return b;case i:return b;default:return w}}case r:return w}}}l(e,"typeOf");var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");Re.ContextConsumer=i,Re.ContextProvider=s,Re.Element=t,Re.ForwardRef=c,Re.Fragment=n,Re.Lazy=f,Re.Memo=p,Re.Portal=r,Re.Profiler=a,Re.StrictMode=o,Re.Suspense=u,Re.SuspenseList=d,Re.isContextConsumer=function(b){return e(b)===i},Re.isContextProvider=function(b){return e(b)===s},Re.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},Re.isForwardRef=function(b){return e(b)===c},Re.isFragment=function(b){return e(b)===n},Re.isLazy=function(b){return e(b)===f},Re.isMemo=function(b){return e(b)===p},Re.isPortal=function(b){return e(b)===r},Re.isProfiler=function(b){return e(b)===a},Re.isStrictMode=function(b){return e(b)===o},Re.isSuspense=function(b){return e(b)===u},Re.isSuspenseList=function(b){return e(b)===d},Re.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===a||b===o||b===u||b===d||typeof b=="object"&&b!==null&&(b.$$typeof===f||b.$$typeof===p||b.$$typeof===s||b.$$typeof===i||b.$$typeof===c||b.$$typeof===m||b.getModuleId!==void 0)},Re.typeOf=e})()),Re}l(fC,"requireReactIs_development$1");var uE;function hC(){return uE||(uE=1,sE.exports=fC()),sE.exports}l(hC,"requireReactIs$1");var mC=hC(),O9=zm(mC),T9=Hm({__proto__:null,default:O9},[mC]),cE={exports:{}},Se={},dE;function bC(){return dE||(dE=1,(function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=!1,b=!1,w=!1,g=!1,E=!1,C;C=Symbol.for("react.module.reference");function x(V){return!!(typeof V=="string"||typeof V=="function"||V===r||V===o||E||V===n||V===u||V===d||g||V===h||m||b||w||typeof V=="object"&&V!==null&&(V.$$typeof===f||V.$$typeof===p||V.$$typeof===a||V.$$typeof===i||V.$$typeof===c||V.$$typeof===C||V.getModuleId!==void 0))}l(x,"isValidElementType");function P(V){if(typeof V=="object"&&V!==null){var J=V.$$typeof;switch(J){case e:var le=V.type;switch(le){case r:case o:case n:case u:case d:return le;default:var ue=le&&le.$$typeof;switch(ue){case s:case i:case c:case f:case p:case a:return ue;default:return J}}case t:return J}}}l(P,"typeOf");var S=i,y=a,v=e,A=c,T=r,_=f,N=p,$=t,R=o,k=n,D=u,K=d,G=!1,te=!1;function oe(V){return G||(G=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}l(oe,"isAsyncMode");function ee(V){return te||(te=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}l(ee,"isConcurrentMode");function W(V){return P(V)===i}l(W,"isContextConsumer");function z(V){return P(V)===a}l(z,"isContextProvider");function Y(V){return typeof V=="object"&&V!==null&&V.$$typeof===e}l(Y,"isElement");function re(V){return P(V)===c}l(re,"isForwardRef");function X(V){return P(V)===r}l(X,"isFragment");function ie(V){return P(V)===f}l(ie,"isLazy");function se(V){return P(V)===p}l(se,"isMemo");function me(V){return P(V)===t}l(me,"isPortal");function Pe(V){return P(V)===o}l(Pe,"isProfiler");function L(V){return P(V)===n}l(L,"isStrictMode");function ne(V){return P(V)===u}l(ne,"isSuspense");function ae(V){return P(V)===d}l(ae,"isSuspenseList"),Se.ContextConsumer=S,Se.ContextProvider=y,Se.Element=v,Se.ForwardRef=A,Se.Fragment=T,Se.Lazy=_,Se.Memo=N,Se.Portal=$,Se.Profiler=R,Se.StrictMode=k,Se.Suspense=D,Se.SuspenseList=K,Se.isAsyncMode=oe,Se.isConcurrentMode=ee,Se.isContextConsumer=W,Se.isContextProvider=z,Se.isElement=Y,Se.isForwardRef=re,Se.isFragment=X,Se.isLazy=ie,Se.isMemo=se,Se.isPortal=me,Se.isProfiler=Pe,Se.isStrictMode=L,Se.isSuspense=ne,Se.isSuspenseList=ae,Se.isValidElementType=x,Se.typeOf=P})()),Se}l(bC,"requireReactIs_development");var pE;function gC(){return pE||(pE=1,cE.exports=bC()),cE.exports}l(gC,"requireReactIs");var yC=gC(),R9=zm(yC),_9=Hm({__proto__:null,default:R9},[yC]),k9=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],hn=Object.fromEntries(k9.map(e=>[e,t=>_9[e](t)||T9[e](t)]));function Wm(e,t=[]){if(Array.isArray(e))for(let r of e)Wm(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}l(Wm,"getChildren");function Kp(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(hn.isFragment(e))return"React.Fragment";if(hn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(hn.isContextProvider(e))return"Context.Provider";if(hn.isContextConsumer(e))return"Context.Consumer";if(hn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(hn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}l(Kp,"getType");function vC(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}l(vC,"getPropKeys$1");var q9=l((e,t,r,n,o,a)=>++n>t.maxDepth?uu(Kp(e),t):lu(Kp(e),iu(vC(e),e.props,t,r+t.indent,n,o,a),su(Wm(e.props.children),t,r+t.indent,n,o,a),t,r),"serialize$1"),M9=l(e=>e!=null&&hn.isElement(e),"test$1"),j9={serialize:q9,test:M9},I9=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function wC(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}l(wC,"getPropKeys");var D9=l((e,t,r,n,o,a)=>++n>t.maxDepth?uu(e.type,t):lu(e.type,e.props?iu(wC(e),e.props,t,r+t.indent,n,o,a):"",e.children?su(e.children,t,r+t.indent,n,o,a):"",t,r),"serialize"),N9=l(e=>e&&e.$$typeof===I9,"test"),F9={serialize:D9,test:N9},EC=Object.prototype.toString,$9=Date.prototype.toISOString,L9=Error.prototype.toString,fE=RegExp.prototype.toString;function Ra(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}l(Ra,"getConstructorName");function xC(e){return typeof window<"u"&&e===window}l(xC,"isWindow");var B9=/^Symbol\((.*)\)(.*)$/,H9=/\n/g,CC=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};l(CC,"PrettyFormatPluginError");var SC=CC;function AC(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}l(AC,"isToStringedArrayType");function PC(e){return Object.is(e,-0)?"-0":String(e)}l(PC,"printNumber");function OC(e){return`${e}n`}l(OC,"printBigInt");function Xp(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}l(Xp,"printFunction");function Jp(e){return String(e).replace(B9,"Symbol($1)")}l(Jp,"printSymbol");function Qp(e){return`[${L9.call(e)}]`}l(Qp,"printError");function Gm(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return PC(e);if(o==="bigint")return OC(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Xp(e,t);if(o==="symbol")return Jp(e);let a=EC.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?Xp(e,t):a==="[object Symbol]"?Jp(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":$9.call(e):a==="[object Error]"?Qp(e):a==="[object RegExp]"?r?fE.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):fE.call(e):e instanceof Error?Qp(e):null}l(Gm,"printBasicValue");function Ym(e,t,r,n,o,a){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let i=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!a)return gr(e.toJSON(),t,r,n,o,!0);let c=EC.call(e);return c==="[object Arguments]"?i?"[Arguments]":`${s?"":"Arguments "}[${Va(e,t,r,n,o,gr)}]`:AC(c)?i?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Va(e,t,r,n,o,gr)}]`:c==="[object Map]"?i?"[Map]":`Map {${_o(e.entries(),t,r,n,o,gr," => ")}}`:c==="[object Set]"?i?"[Set]":`Set {${ou(e.values(),t,r,n,o,gr)}}`:i||xC(e)?`[${Ra(e)}]`:`${s||!t.printBasicPrototype&&Ra(e)==="Object"?"":`${Ra(e)} `}{${au(e,t,r,n,o,gr)}}`}l(Ym,"printComplexValue");var U9={test:l(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,o,a){if(o.includes(e))return"[Circular]";o=[...o,e];let i=++n>t.maxDepth,{message:s,cause:c,...u}=e,d={message:s,...typeof c<"u"?{cause:c}:{},...e instanceof AggregateError?{errors:e.errors}:{},...u},p=e.name!=="Error"?e.name:Ra(e);return i?`[${p}]`:`${p} {${_o(Object.entries(d).values(),t,r,n,o,a)}}`}};function TC(e){return e.serialize!=null}l(TC,"isNewPlugin");function Km(e,t,r,n,o,a){let i;try{i=TC(e)?e.serialize(t,r,n,o,a,gr):e.print(t,s=>gr(s,r,n,o,a),s=>{let c=n+r.indent;return c+s.replaceAll(H9,`
|
|
251
|
+
${c}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new SC(s.message,s.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}l(Km,"printPlugin");function Xm(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new SC(n.message,n.stack)}return null}l(Xm,"findPlugin");function gr(e,t,r,n,o,a){let i=Xm(t.plugins,e);if(i!==null)return Km(i,e,t,r,n,o);let s=Gm(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Ym(e,t,r,n,o,a)}l(gr,"printer");var Jm={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},RC=Object.keys(Jm),It={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:Jm};function _C(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(It,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}l(_C,"validateOptions");function kC(){return RC.reduce((e,t)=>{let r=Jm[t],n=r&&He[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}l(kC,"getColorsHighlight");function qC(){return RC.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}l(qC,"getColorsEmpty");function Qm(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:It.printFunctionName}l(Qm,"getPrintFunctionName");function Zm(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:It.escapeRegex}l(Zm,"getEscapeRegex");function eb(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:It.escapeString}l(eb,"getEscapeString");function Zp(e){var t,r,n,o,a,i,s;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:It.callToJSON,colors:e!=null&&e.highlight?kC():qC(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:It.compareKeys,escapeRegex:Zm(e),escapeString:eb(e),indent:e!=null&&e.min?"":MC((r=e==null?void 0:e.indent)!=null?r:It.indent),maxDepth:(n=e==null?void 0:e.maxDepth)!=null?n:It.maxDepth,maxWidth:(o=e==null?void 0:e.maxWidth)!=null?o:It.maxWidth,min:(a=e==null?void 0:e.min)!=null?a:It.min,plugins:(i=e==null?void 0:e.plugins)!=null?i:It.plugins,printBasicPrototype:(s=e==null?void 0:e.printBasicPrototype)!=null?s:!0,printFunctionName:Qm(e),spacingInner:e!=null&&e.min?" ":`
|
|
252
|
+
`,spacingOuter:e!=null&&e.min?"":`
|
|
253
|
+
`}}l(Zp,"getConfig");function MC(e){return Array.from({length:e+1}).join(" ")}l(MC,"createIndent");function Dt(e,t){if(t&&(_C(t),t.plugins)){let n=Xm(t.plugins,e);if(n!==null)return Km(n,e,Zp(t),"",0,[])}let r=Gm(e,Qm(t),Zm(t),eb(t));return r!==null?r:Ym(e,Zp(t),"",0,[])}l(Dt,"format");var tb={AsymmetricMatcher:a9,DOMCollection:c9,DOMElement:m9,Immutable:P9,ReactElement:j9,ReactTestComponent:F9,Error:U9},hE={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"]},V9={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},fo="\u2026";function jC(e,t){let r=hE[V9[t]]||hE[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}l(jC,"colorise");function IC({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:s=[],truncate:c=1/0,stylize:u=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(c),seen:s,inspect:d,stylize:u};return p.colors&&(p.stylize=jC),p}l(IC,"normaliseOptions");function DC(e){return e>="\uD800"&&e<="\uDBFF"}l(DC,"isHighSurrogate");function Ar(e,t,r=fo){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&DC(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}l(Ar,"truncate");function _t(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",s="",c="";for(let u=0;u<o;u+=1){let d=u+1===e.length,p=u+2===e.length;c=`${fo}(${e.length-u})`;let f=e[u];t.truncate=a-i.length-(d?0:n.length);let h=s||r(f,t)+(d?"":n),m=i.length+h.length,b=m+c.length;if(d&&m>a&&i.length+c.length<=a||!d&&!p&&b>a||(s=d?"":r(e[u+1],t)+(p?"":n),!d&&p&&b>a&&m+s.length>a))break;if(i+=h,!d&&!p&&m+s.length>=a){c=`${fo}(${e.length-u-1})`;break}c=""}return`${i}${c}`}l(_t,"inspectList");function NC(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}l(NC,"quoteComplexKey");function ho([e,t],r){return r.truncate-=2,typeof e=="string"?e=NC(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}l(ho,"inspectProperty");function FC(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=_t(e,t);t.truncate-=n.length;let o="";return r.length&&(o=_t(r.map(a=>[a,e[a]]),t,ho)),`[ ${n}${o?`, ${o}`:""} ]`}l(FC,"inspectArray");var z9=l(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Wt(e,t){let r=z9(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let i=0;i<e.length;i++){let s=`${t.stylize(Ar(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${fo}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=_t(n.map(i=>[i,e[i]]),t,ho)),`${r}[ ${o}${a?`, ${a}`:""} ]`}l(Wt,"inspectTypedArray");function $C(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Ar(n[1],t.truncate-o.length-1)}`,"date")}l($C,"inspectDate");function ef(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ar(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}l(ef,"inspectFunction");function LC([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}l(LC,"inspectMapEntry");function BC(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}l(BC,"mapToEntries");function HC(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${_t(BC(e),t,LC)} }`)}l(HC,"inspectMap");var W9=Number.isNaN||(e=>e!==e);function tf(e,t){return W9(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(Ar(String(e),t.truncate),"number")}l(tf,"inspectNumber");function rf(e,t){let r=Ar(e.toString(),t.truncate-1);return r!==fo&&(r+="n"),t.stylize(r,"bigint")}l(rf,"inspectBigInt");function UC(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Ar(o,n)}/${r}`,"regexp")}l(UC,"inspectRegExp");function VC(e){let t=[];return e.forEach(r=>{t.push(r)}),t}l(VC,"arrayFromSet");function zC(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${_t(VC(e),t)} }`)}l(zC,"inspectSet");var mE=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),G9={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Y9=16,K9=4;function WC(e){return G9[e]||`\\u${`0000${e.charCodeAt(0).toString(Y9)}`.slice(-K9)}`}l(WC,"escape");function nf(e,t){return mE.test(e)&&(e=e.replace(mE,WC)),t.stylize(`'${Ar(e,t.truncate-2)}'`,"string")}l(nf,"inspectString");function of(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}l(of,"inspectSymbol");var GC=l(()=>"Promise{\u2026}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(GC=l((n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`},"getPromiseValue"))}catch(e){}var X9=GC;function _a(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=_t(r.map(s=>[s,e[s]]),t,ho),a=_t(n.map(s=>[s,e[s]]),t,ho);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}l(_a,"inspectObject");var _p=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function YC(e,t){let r="";return _p&&_p in e&&(r=e[_p]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${_a(e,t)}`}l(YC,"inspectClass");function KC(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${_t(e,t)} ]`)}l(KC,"inspectArguments");var J9=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function XC(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>J9.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Ar(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=_t(r.map(i=>[i,e[i]]),t,ho);return`${n}${o}${a?` { ${a} }`:""}`}l(XC,"inspectObject");function JC([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}l(JC,"inspectAttribute");function Xs(e,t){return _t(e,t,QC,`
|
|
254
|
+
`)}l(Xs,"inspectNodeCollection");function QC(e,t){switch(e.nodeType){case 1:return rb(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}l(QC,"inspectNode");function rb(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=_t(r.map(d=>[d,e.getAttribute(d)]),t,JC," ")),t.truncate-=s.length;let c=t.truncate,u=Xs(e.children,t);return u&&u.length>c&&(u=`${fo}(${e.children.length})`),`${o}${s}${a}${u}${i}`}l(rb,"inspectHTML");var Q9=typeof Symbol=="function"&&typeof Symbol.for=="function",kp=Q9?Symbol.for("chai/inspect"):"@@chai/inspect",qp=Symbol.for("nodejs.util.inspect.custom"),bE=new WeakMap,gE={},yE={undefined:l((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:l((e,t)=>t.stylize("null","null"),"null"),boolean:l((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:l((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:tf,Number:tf,bigint:rf,BigInt:rf,string:nf,String:nf,function:ef,Function:ef,symbol:of,Symbol:of,Array:FC,Date:$C,Map:HC,Set:zC,RegExp:UC,Promise:X9,WeakSet:l((e,t)=>t.stylize("WeakSet{\u2026}","special"),"WeakSet"),WeakMap:l((e,t)=>t.stylize("WeakMap{\u2026}","special"),"WeakMap"),Arguments:KC,Int8Array:Wt,Uint8Array:Wt,Uint8ClampedArray:Wt,Int16Array:Wt,Uint16Array:Wt,Int32Array:Wt,Uint32Array:Wt,Float32Array:Wt,Float64Array:Wt,Generator:l(()=>"","Generator"),DataView:l(()=>"","DataView"),ArrayBuffer:l(()=>"","ArrayBuffer"),Error:XC,HTMLCollection:Xs,NodeList:Xs},Z9=l((e,t,r)=>kp in e&&typeof e[kp]=="function"?e[kp](t):qp in e&&typeof e[qp]=="function"?e[qp](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&bE.has(e.constructor)?bE.get(e.constructor)(e,t):gE[r]?gE[r](e,t):"","inspectCustom"),eU=Object.prototype.toString;function Js(e,t={}){let r=IC(t,Js),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=eU.call(e).slice(8,-1)),o in yE)return yE[o](e,r);if(n&&e){let i=Z9(e,r,o);if(i)return typeof i=="string"?i:Js(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?_a(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?rb(e,r):"constructor"in e?e.constructor!==Object?YC(e,r):_a(e,r):e===Object(e)?_a(e,r):r.stylize(String(e),o)}l(Js,"inspect");var{AsymmetricMatcher:tU,DOMCollection:rU,DOMElement:nU,Immutable:oU,ReactElement:aU,ReactTestComponent:iU}=tb,vE=[iU,aU,nU,rU,oU,tU];function ut(e,t=10,{maxLength:r,...n}={}){let o=r!=null?r:1e4,a;try{a=Dt(e,{maxDepth:t,escapeString:!1,plugins:vE,...n})}catch(i){a=Dt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:vE,...n})}return a.length>=o&&t>1?ut(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):a}l(ut,"stringify");var sU=/%[sdjifoOc%]/g;function ZC(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push(Xn(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(sU,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?typeof i.toString=="function"&&i.toString!==Object.prototype.toString?i.toString():Xn(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Xn(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Xn(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let s=i.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw i}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?o+=` ${a}`:o+=` ${Xn(a)}`;return o}l(ZC,"format");function Xn(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Js(e,t)}l(Xn,"inspect");function eS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(eS,"getDefaultExportFromCjs");function Gt(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}l(Gt,"assertTypes");function ka(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}l(ka,"isObject");function tS(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}l(tS,"isFinalObj");function Wa(e){return Object.prototype.toString.apply(e).slice(8,-1)}l(Wa,"getType");function rS(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}l(rS,"collectOwnProperties");function nb(e){let t=new Set;return tS(e)?[]:(rS(e,t),Array.from(t))}l(nb,"getOwnProperties");var nS={forceWritable:!1};function af(e,t=nS){return Qs(e,new WeakMap,t)}l(af,"deepClone");function Qs(e,t,r=nS){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=Qs(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let a=nb(e);for(let i of a){let s=Object.getOwnPropertyDescriptor(e,i);if(!s)continue;let c=Qs(e[i],t,r);r.forceWritable?Object.defineProperty(o,i,{enumerable:s.enumerable,configurable:!0,writable:!0,value:c}):"get"in s?Object.defineProperty(o,i,{...s,get(){return c}}):Object.defineProperty(o,i,{...s,value:c})}return o}return e}l(Qs,"clone");function oS(){}l(oS,"noop");var Mp,wE;function aS(){if(wE)return Mp;wE=1;var e,t,r,n,o,a,i,s,c,u,d,p,f,h,m,b,w,g,E;return f=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,p=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,m=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,b=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,E=/[\t\v\f\ufeff\p{Zs}]+/yu,s=/\r?\n|[\r\u2028\u2029]/y,c=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,h=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,o=/[^<>{}]+/y,g=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,w=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,a=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,i=/^(?:return|throw|yield)$/,u=RegExp(s.source),Mp=l(function*(C,{jsx:x=!1}={}){var P,S,y,v,A,T,_,N,$,R,k,D,K,G;for({length:T}=C,v=0,A="",G=[{tag:"JS"}],P=[],k=0,D=!1;v<T;){switch(N=G[G.length-1],N.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(C[v]==="/"&&(g.test(A)||a.test(A))&&(f.lastIndex=v,_=f.exec(C))){v=f.lastIndex,A=_[0],D=!0,yield{type:"RegularExpressionLiteral",value:_[0],closed:_[1]!==void 0&&_[1]!=="\\"};continue}if(p.lastIndex=v,_=p.exec(C)){switch(K=_[0],$=p.lastIndex,R=K,K){case"(":A==="?NonExpressionParenKeyword"&&G.push({tag:"JSNonExpressionParen",nesting:k}),k++,D=!1;break;case")":k--,D=!0,N.tag==="JSNonExpressionParen"&&k===N.nesting&&(G.pop(),R="?NonExpressionParenEnd",D=!1);break;case"{":p.lastIndex=0,y=!w.test(A)&&(g.test(A)||a.test(A)),P.push(y),D=!1;break;case"}":switch(N.tag){case"InterpolationInTemplate":if(P.length===N.nesting){b.lastIndex=v,_=b.exec(C),v=b.lastIndex,A=_[0],_[1]==="${"?(A="?InterpolationInTemplate",D=!1,yield{type:"TemplateMiddle",value:_[0]}):(G.pop(),D=!0,yield{type:"TemplateTail",value:_[0],closed:_[1]==="`"});continue}break;case"InterpolationInJSX":if(P.length===N.nesting){G.pop(),v+=1,A="}",yield{type:"JSXPunctuator",value:"}"};continue}}D=P.pop(),R=D?"?ExpressionBraceEnd":"}";break;case"]":D=!0;break;case"++":case"--":R=D?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(x&&(g.test(A)||a.test(A))){G.push({tag:"JSXTag"}),v+=1,A="<",yield{type:"JSXPunctuator",value:K};continue}D=!1;break;default:D=!1}v=$,A=R,yield{type:"Punctuator",value:K};continue}if(e.lastIndex=v,_=e.exec(C)){switch(v=e.lastIndex,R=_[0],_[0]){case"for":case"if":case"while":case"with":A!=="."&&A!=="?."&&(R="?NonExpressionParenKeyword")}A=R,D=!a.test(_[0]),yield{type:_[1]==="#"?"PrivateIdentifier":"IdentifierName",value:_[0]};continue}if(m.lastIndex=v,_=m.exec(C)){v=m.lastIndex,A=_[0],D=!0,yield{type:"StringLiteral",value:_[0],closed:_[2]!==void 0};continue}if(d.lastIndex=v,_=d.exec(C)){v=d.lastIndex,A=_[0],D=!0,yield{type:"NumericLiteral",value:_[0]};continue}if(b.lastIndex=v,_=b.exec(C)){v=b.lastIndex,A=_[0],_[1]==="${"?(A="?InterpolationInTemplate",G.push({tag:"InterpolationInTemplate",nesting:P.length}),D=!1,yield{type:"TemplateHead",value:_[0]}):(D=!0,yield{type:"NoSubstitutionTemplate",value:_[0],closed:_[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=v,_=r.exec(C)){switch(v=r.lastIndex,R=_[0],_[0]){case"<":G.push({tag:"JSXTag"});break;case">":G.pop(),A==="/"||N.tag==="JSXTagEnd"?(R="?JSX",D=!0):G.push({tag:"JSXChildren"});break;case"{":G.push({tag:"InterpolationInJSX",nesting:P.length}),R="?InterpolationInJSX",D=!1;break;case"/":A==="<"&&(G.pop(),G[G.length-1].tag==="JSXChildren"&&G.pop(),G.push({tag:"JSXTagEnd"}))}A=R,yield{type:"JSXPunctuator",value:_[0]};continue}if(t.lastIndex=v,_=t.exec(C)){v=t.lastIndex,A=_[0],yield{type:"JSXIdentifier",value:_[0]};continue}if(n.lastIndex=v,_=n.exec(C)){v=n.lastIndex,A=_[0],yield{type:"JSXString",value:_[0],closed:_[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=v,_=o.exec(C)){v=o.lastIndex,A=_[0],yield{type:"JSXText",value:_[0]};continue}switch(C[v]){case"<":G.push({tag:"JSXTag"}),v++,A="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":G.push({tag:"InterpolationInJSX",nesting:P.length}),v++,A="?InterpolationInJSX",D=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(E.lastIndex=v,_=E.exec(C)){v=E.lastIndex,yield{type:"WhiteSpace",value:_[0]};continue}if(s.lastIndex=v,_=s.exec(C)){v=s.lastIndex,D=!1,i.test(A)&&(A="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:_[0]};continue}if(c.lastIndex=v,_=c.exec(C)){v=c.lastIndex,u.test(_[0])&&(D=!1,i.test(A)&&(A="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:_[0],closed:_[1]!==void 0};continue}if(h.lastIndex=v,_=h.exec(C)){v=h.lastIndex,D=!1,yield{type:"SingleLineComment",value:_[0]};continue}S=String.fromCodePoint(C.codePointAt(v)),v+=S.length,A=S,D=!1,yield{type:N.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:S}}},"jsTokens_1"),Mp}l(aS,"requireJsTokens");var lY=aS(),iS={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"]},uY=new Set(iS.keyword),cY=new Set(iS.strict),dY=Symbol("vitest:SAFE_TIMERS"),at=-1,Ze=1,Be=0,sS=class{constructor(t,r){De(this,0);De(this,1);this[0]=t,this[1]=r}};l(sS,"Diff");var $e=sS;function lS(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(a,o)===t.substring(a,o)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o}l(lS,"diff_commonPrefix");function ob(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(e.length-o,e.length-a)===t.substring(t.length-o,t.length-a)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o}l(ob,"diff_commonSuffix");function sf(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let a=0,i=1;for(;;){let s=e.substring(o-i),c=t.indexOf(s);if(c===-1)return a;i+=c,(c===0||e.substring(o-i)===t.substring(0,i))&&(a=i,i++)}}l(sf,"diff_commonOverlap_");function uS(e){let t=!1,r=[],n=0,o=null,a=0,i=0,s=0,c=0,u=0;for(;a<e.length;)e[a][0]===Be?(r[n++]=a,i=c,s=u,c=0,u=0,o=e[a][1]):(e[a][0]===Ze?c+=e[a][1].length:u+=e[a][1].length,o&&o.length<=Math.max(i,s)&&o.length<=Math.max(c,u)&&(e.splice(r[n-1],0,new $e(at,o)),e[r[n-1]+1][0]=Ze,n--,n--,a=n>0?r[n-1]:-1,i=0,s=0,c=0,u=0,o=null,t=!0)),a++;for(t&&ab(e),cS(e),a=1;a<e.length;){if(e[a-1][0]===at&&e[a][0]===Ze){let d=e[a-1][1],p=e[a][1],f=sf(d,p),h=sf(p,d);f>=h?(f>=d.length/2||f>=p.length/2)&&(e.splice(a,0,new $e(Be,p.substring(0,f))),e[a-1][1]=d.substring(0,d.length-f),e[a+1][1]=p.substring(f),a++):(h>=d.length/2||h>=p.length/2)&&(e.splice(a,0,new $e(Be,d.substring(0,h))),e[a-1][0]=Ze,e[a-1][1]=p.substring(0,p.length-h),e[a+1][0]=at,e[a+1][1]=d.substring(h),a++),a++}a++}}l(uS,"diff_cleanupSemantic");var EE=/[^a-z0-9]/i,xE=/\s/,CE=/[\r\n]/,lU=/\n\r?\n$/,uU=/^\r?\n\r?\n/;function cS(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Be&&e[t+1][0]===Be){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],a=ob(r,n);if(a){let d=n.substring(n.length-a);r=r.substring(0,r.length-a),n=d+n.substring(0,n.length-a),o=d+o}let i=r,s=n,c=o,u=wa(r,n)+wa(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let d=wa(r,n)+wa(n,o);d>=u&&(u=d,i=r,s=n,c=o)}e[t-1][1]!==i&&(i?e[t-1][1]=i:(e.splice(t-1,1),t--),e[t][1]=s,c?e[t+1][1]=c:(e.splice(t+1,1),t--))}t++}}l(cS,"diff_cleanupSemanticLossless");function ab(e){e.push(new $e(Be,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case Ze:n++,a+=e[t][1],t++;break;case at:r++,o+=e[t][1],t++;break;case Be:r+n>1?(r!==0&&n!==0&&(i=lS(a,o),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===Be?e[t-r-n-1][1]+=a.substring(0,i):(e.splice(0,0,new $e(Be,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=ob(a,o),i!==0&&(e[t][1]=a.substring(a.length-i)+e[t][1],a=a.substring(0,a.length-i),o=o.substring(0,o.length-i))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new $e(at,o)),t++),a.length&&(e.splice(t,0,new $e(Ze,a)),t++),t++):t!==0&&e[t-1][0]===Be?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",a="";break}e[e.length-1][1]===""&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===Be&&e[t+1][0]===Be&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),s=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),s=!0)),t++;s&&ab(e)}l(ab,"diff_cleanupMerge");function wa(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(EE),a=n.match(EE),i=o&&r.match(xE),s=a&&n.match(xE),c=i&&r.match(CE),u=s&&n.match(CE),d=c&&e.match(lU),p=u&&t.match(uU);return d||p?5:c||u?4:o&&!i&&s?3:i||s?2:o||a?1:0}l(wa,"diff_cleanupSemanticScore_");var dS="Compared values have no visual difference.",cU="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",fs={},SE;function pS(){if(SE)return fs;SE=1,Object.defineProperty(fs,"__esModule",{value:!0}),fs.default=f;let e="diff-sequences",t=0,r=l((h,m,b,w,g)=>{let E=0;for(;h<m&&b<w&&g(h,b);)h+=1,b+=1,E+=1;return E},"countCommonItemsF"),n=l((h,m,b,w,g)=>{let E=0;for(;h<=m&&b<=w&&g(m,w);)m-=1,w-=1,E+=1;return E},"countCommonItemsR"),o=l((h,m,b,w,g,E,C)=>{let x=0,P=-h,S=E[x],y=S;E[x]+=r(S+1,m,w+S-P+1,b,g);let v=h<C?h:C;for(x+=1,P+=2;x<=v;x+=1,P+=2){if(x!==h&&y<E[x])S=E[x];else if(S=y+1,m<=S)return x-1;y=E[x],E[x]=S+r(S+1,m,w+S-P+1,b,g)}return C},"extendPathsF"),a=l((h,m,b,w,g,E,C)=>{let x=0,P=h,S=E[x],y=S;E[x]-=n(m,S-1,b,w+S-P-1,g);let v=h<C?h:C;for(x+=1,P-=2;x<=v;x+=1,P-=2){if(x!==h&&E[x]<y)S=E[x];else if(S=y-1,S<m)return x-1;y=E[x],E[x]=S-n(m,S-1,b,w+S-P-1,g)}return C},"extendPathsR"),i=l((h,m,b,w,g,E,C,x,P,S,y)=>{let v=w-m,A=b-m,T=g-w-A,_=-T-(h-1),N=-T+(h-1),$=t,R=h<x?h:x;for(let k=0,D=-h;k<=R;k+=1,D+=2){let K=k===0||k!==h&&$<C[k],G=K?C[k]:$,te=K?G:G+1,oe=v+te-D,ee=r(te+1,b,oe+1,g,E),W=te+ee;if($=C[k],C[k]=W,_<=D&&D<=N){let z=(h-1-(D+T))/2;if(z<=S&&P[z]-1<=W){let Y=v+G-(K?D+1:D-1),re=n(m,G,w,Y,E),X=G-re,ie=Y-re,se=X+1,me=ie+1;y.nChangePreceding=h-1,h-1===se+me-m-w?(y.aEndPreceding=m,y.bEndPreceding=w):(y.aEndPreceding=se,y.bEndPreceding=me),y.nCommonPreceding=re,re!==0&&(y.aCommonPreceding=se,y.bCommonPreceding=me),y.nCommonFollowing=ee,ee!==0&&(y.aCommonFollowing=te+1,y.bCommonFollowing=oe+1);let Pe=W+1,L=oe+ee+1;return y.nChangeFollowing=h-1,h-1===b+g-Pe-L?(y.aStartFollowing=b,y.bStartFollowing=g):(y.aStartFollowing=Pe,y.bStartFollowing=L),!0}}}return!1},"extendOverlappablePathsF"),s=l((h,m,b,w,g,E,C,x,P,S,y)=>{let v=g-b,A=b-m,T=g-w-A,_=T-h,N=T+h,$=t,R=h<S?h:S;for(let k=0,D=h;k<=R;k+=1,D-=2){let K=k===0||k!==h&&P[k]<$,G=K?P[k]:$,te=K?G:G-1,oe=v+te-D,ee=n(m,te-1,w,oe-1,E),W=te-ee;if($=P[k],P[k]=W,_<=D&&D<=N){let z=(h+(D-T))/2;if(z<=x&&W-1<=C[z]){let Y=oe-ee;if(y.nChangePreceding=h,h===W+Y-m-w?(y.aEndPreceding=m,y.bEndPreceding=w):(y.aEndPreceding=W,y.bEndPreceding=Y),y.nCommonPreceding=ee,ee!==0&&(y.aCommonPreceding=W,y.bCommonPreceding=Y),y.nChangeFollowing=h-1,h===1)y.nCommonFollowing=0,y.aStartFollowing=b,y.bStartFollowing=g;else{let re=v+G-(K?D-1:D+1),X=r(G,b,re,g,E);y.nCommonFollowing=X,X!==0&&(y.aCommonFollowing=G,y.bCommonFollowing=re);let ie=G+X,se=re+X;h-1===b+g-ie-se?(y.aStartFollowing=b,y.bStartFollowing=g):(y.aStartFollowing=ie,y.bStartFollowing=se)}return!0}}}return!1},"extendOverlappablePathsR"),c=l((h,m,b,w,g,E,C,x,P)=>{let S=w-m,y=g-b,v=b-m,A=g-w,T=A-v,_=v,N=v;if(C[0]=m-1,x[0]=b,T%2===0){let $=(h||T)/2,R=(v+A)/2;for(let k=1;k<=R;k+=1)if(_=o(k,b,g,S,E,C,_),k<$)N=a(k,m,w,y,E,x,N);else if(s(k,m,b,w,g,E,C,_,x,N,P))return}else{let $=((h||T)+1)/2,R=(v+A+1)/2,k=1;for(_=o(k,b,g,S,E,C,_),k+=1;k<=R;k+=1)if(N=a(k-1,m,w,y,E,x,N),k<$)_=o(k,b,g,S,E,C,_);else if(i(k,m,b,w,g,E,C,_,x,N,P))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${b} bStart=${w} bEnd=${g}`)},"divide"),u=l((h,m,b,w,g,E,C,x,P,S)=>{if(g-w<b-m){if(E=!E,E&&C.length===1){let{foundSubsequence:z,isCommon:Y}=C[0];C[1]={foundSubsequence:l((re,X,ie)=>{z(re,ie,X)},"foundSubsequence"),isCommon:l((re,X)=>Y(X,re),"isCommon")}}let ee=m,W=b;m=w,b=g,w=ee,g=W}let{foundSubsequence:y,isCommon:v}=C[E?1:0];c(h,m,b,w,g,v,x,P,S);let{nChangePreceding:A,aEndPreceding:T,bEndPreceding:_,nCommonPreceding:N,aCommonPreceding:$,bCommonPreceding:R,nCommonFollowing:k,aCommonFollowing:D,bCommonFollowing:K,nChangeFollowing:G,aStartFollowing:te,bStartFollowing:oe}=S;m<T&&w<_&&u(A,m,T,w,_,E,C,x,P,S),N!==0&&y(N,$,R),k!==0&&y(k,D,K),te<b&&oe<g&&u(G,te,b,oe,g,E,C,x,P,S)},"findSubsequences"),d=l((h,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${h} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${h} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${h} value ${m} is a negative integer`)},"validateLength"),p=l((h,m)=>{let b=typeof m;if(b!=="function")throw new TypeError(`${e}: ${h} typeof ${b} is not a function`)},"validateCallback");function f(h,m,b,w){d("aLength",h),d("bLength",m),p("isCommon",b),p("foundSubsequence",w);let g=r(0,h,0,m,b);if(g!==0&&w(g,0,0),h!==g||m!==g){let E=g,C=g,x=n(E,h-1,C,m-1,b),P=h-x,S=m-x,y=g+x;h!==y&&m!==y&&u(0,E,P,C,S,!1,[{foundSubsequence:w,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}),x!==0&&w(x,P,S)}}return l(f,"diffSequence"),fs}l(pS,"requireBuild");var dU=pS(),fS=eS(dU);function hS(e,t){return e.replace(/\s+$/,r=>t(r))}l(hS,"formatTrailingSpaces");function du(e,t,r,n,o,a){return e.length!==0?r(`${n} ${hS(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}l(du,"printDiffLine");function ib(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return du(e,t,r,n,o,a)}l(ib,"printDeleteLine");function sb(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return du(e,t,r,n,o,a)}l(sb,"printInsertLine");function lb(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return du(e,t,r,n,o,a)}l(lb,"printCommonLine");function lf(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}l(lf,"createPatchMark");function mS(e,t){let r=e.length,n=t.contextLines,o=n+n,a=r,i=!1,s=0,c=0;for(;c!==r;){let x=c;for(;c!==r&&e[c][0]===Be;)c+=1;if(x!==c)if(x===0)c>n&&(a-=c-n,i=!0);else if(c===r){let P=c-x;P>n&&(a-=P-n,i=!0)}else{let P=c-x;P>o&&(a-=P-o,s+=1)}for(;c!==r&&e[c][0]!==Be;)c+=1}let u=s!==0||i;s!==0?a+=s+1:i&&(a+=1);let d=a-1,p=[],f=0;u&&p.push("");let h=0,m=0,b=0,w=0,g=l(x=>{let P=p.length;p.push(lb(x,P===0||P===d,t)),b+=1,w+=1},"pushCommonLine"),E=l(x=>{let P=p.length;p.push(ib(x,P===0||P===d,t)),b+=1},"pushDeleteLine"),C=l(x=>{let P=p.length;p.push(sb(x,P===0||P===d,t)),w+=1},"pushInsertLine");for(c=0;c!==r;){let x=c;for(;c!==r&&e[c][0]===Be;)c+=1;if(x!==c)if(x===0){c>n&&(x=c-n,h=x,m=x,b=h,w=m);for(let P=x;P!==c;P+=1)g(e[P][1])}else if(c===r){let P=c-x>n?x+n:c;for(let S=x;S!==P;S+=1)g(e[S][1])}else{let P=c-x;if(P>o){let S=x+n;for(let v=x;v!==S;v+=1)g(e[v][1]);p[f]=lf(h,b,m,w,t),f=p.length,p.push("");let y=P-o;h=b+y,m=w+y,b=h,w=m;for(let v=c-n;v!==c;v+=1)g(e[v][1])}else for(let S=x;S!==c;S+=1)g(e[S][1])}for(;c!==r&&e[c][0]===at;)E(e[c][1]),c+=1;for(;c!==r&&e[c][0]===Ze;)C(e[c][1]),c+=1}return u&&(p[f]=lf(h,b,m,w,t)),p.join(`
|
|
255
|
+
`)}l(mS,"joinAlignedDiffsNoExpand");function bS(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case at:return ib(a,i,t);case Ze:return sb(a,i,t);default:return lb(a,i,t)}}).join(`
|
|
256
|
+
`)}l(bS,"joinAlignedDiffsExpand");var jp=l(e=>e,"noColor"),gS=5,pU=0;function yS(){return{aAnnotation:"Expected",aColor:He.green,aIndicator:"-",bAnnotation:"Received",bColor:He.red,bIndicator:"+",changeColor:He.inverse,changeLineTrailingSpaceColor:jp,commonColor:He.dim,commonIndicator:" ",commonLineTrailingSpaceColor:jp,compareKeys:void 0,contextLines:gS,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:He.yellow,printBasicPrototype:!1,truncateThreshold:pU,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:jp}}l(yS,"getDefaultOptions");function vS(e){return e&&typeof e=="function"?e:void 0}l(vS,"getCompareKeys");function wS(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:gS}l(wS,"getContextLines");function Qr(e={}){return{...yS(),...e,compareKeys:vS(e.compareKeys),contextLines:wS(e.contextLines)}}l(Qr,"normalizeDiffOptions");function mn(e){return e.length===1&&e[0].length===0}l(mn,"isEmptyString");function ES(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case at:t+=1;break;case Ze:r+=1;break}}),{a:t,b:r}}l(ES,"countChanges");function xS({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:a,includeChangeCounts:i,omitAnnotationLines:s},c){if(s)return"";let u="",d="";if(i){let h=String(c.a),m=String(c.b),b=n.length-e.length,w=" ".repeat(Math.max(0,b)),g=" ".repeat(Math.max(0,-b)),E=m.length-h.length,C=" ".repeat(Math.max(0,E)),x=" ".repeat(Math.max(0,-E));u=`${w} ${r} ${C}${h}`,d=`${g} ${a} ${x}${m}`}let p=`${r} ${e}${u}`,f=`${a} ${n}${d}`;return`${t(p)}
|
|
257
|
+
${o(f)}
|
|
258
|
+
|
|
259
|
+
`}l(xS,"printAnnotation");function pu(e,t,r){return xS(r,ES(e))+(r.expand?bS(e,r):mS(e,r))+(t?r.truncateAnnotationColor(`
|
|
260
|
+
${r.truncateAnnotation}`):"")}l(pu,"printDiffLines");function bi(e,t,r){let n=Qr(r),[o,a]=ub(mn(e)?[]:e,mn(t)?[]:t,n);return pu(o,a,n)}l(bi,"diffLinesUnified");function CS(e,t,r,n,o){if(mn(e)&&mn(r)&&(e=[],r=[]),mn(t)&&mn(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return bi(e,t,o);let[a,i]=ub(r,n,o),s=0,c=0;return a.forEach(u=>{switch(u[0]){case at:u[1]=e[s],s+=1;break;case Ze:u[1]=t[c],c+=1;break;default:u[1]=t[c],s+=1,c+=1}}),pu(a,i,Qr(o))}l(CS,"diffLinesUnified2");function ub(e,t,r){var f,h;let n=(f=r==null?void 0:r.truncateThreshold)!=null?f:!1,o=Math.max(Math.floor((h=r==null?void 0:r.truncateThreshold)!=null?h:0),0),a=n?Math.min(e.length,o):e.length,i=n?Math.min(t.length,o):t.length,s=a!==e.length||i!==t.length,c=l((m,b)=>e[m]===t[b],"isCommon"),u=[],d=0,p=0;for(fS(a,i,c,l((m,b,w)=>{for(;d!==b;d+=1)u.push(new $e(at,e[d]));for(;p!==w;p+=1)u.push(new $e(Ze,t[p]));for(;m!==0;m-=1,d+=1,p+=1)u.push(new $e(Be,t[p]))},"foundSubsequence"));d!==a;d+=1)u.push(new $e(at,e[d]));for(;p!==i;p+=1)u.push(new $e(Ze,t[p]));return[u,s]}l(ub,"diffLinesRaw");function uf(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}l(uf,"getType");function cf(e){return e.includes(`\r
|
|
261
|
+
`)?`\r
|
|
262
|
+
`:`
|
|
263
|
+
`}l(cf,"getNewLineSymbol");function SS(e,t,r){var f,h;let n=(f=r==null?void 0:r.truncateThreshold)!=null?f:!1,o=Math.max(Math.floor((h=r==null?void 0:r.truncateThreshold)!=null?h:0),0),a=e.length,i=t.length;if(n){let m=e.includes(`
|
|
264
|
+
`),b=t.includes(`
|
|
265
|
+
`),w=cf(e),g=cf(t),E=m?`${e.split(w,o).join(w)}
|
|
266
|
+
`:e,C=b?`${t.split(g,o).join(g)}
|
|
267
|
+
`:t;a=E.length,i=C.length}let s=a!==e.length||i!==t.length,c=l((m,b)=>e[m]===t[b],"isCommon"),u=0,d=0,p=[];return fS(a,i,c,l((m,b,w)=>{u!==b&&p.push(new $e(at,e.slice(u,b))),d!==w&&p.push(new $e(Ze,t.slice(d,w))),u=b+m,d=w+m,p.push(new $e(Be,t.slice(w,d)))},"foundSubsequence")),u!==a&&p.push(new $e(at,e.slice(u))),d!==i&&p.push(new $e(Ze,t.slice(d))),[p,s]}l(SS,"diffStrings");function AS(e,t,r){return t.reduce((n,o)=>n+(o[0]===Be?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}l(AS,"concatenateRelevantDiffs");var PS=class{constructor(t,r){De(this,"op");De(this,"line");De(this,"lines");De(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new $e(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new $e(this.op,AS(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new $e(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
|
|
268
|
+
`)){let n=r.split(`
|
|
269
|
+
`),o=n.length-1;n.forEach((a,i)=>{i<o?(this.pushSubstring(a),this.pushLine()):a.length!==0&&this.pushSubstring(a)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};l(PS,"ChangeBuffer");var AE=PS,OS=class{constructor(t,r){De(this,"deleteBuffer");De(this,"insertBuffer");De(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
|
|
270
|
+
`)){let o=n.split(`
|
|
271
|
+
`),a=o.length-1;o.forEach((i,s)=>{if(s===0){let c=new $e(r,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(c)):(this.pushDiffChangeLines(c),this.flushChangeLines())}else s<a?this.pushDiffCommonLine(new $e(r,i)):i.length!==0&&this.pushDiffChangeLines(new $e(r,i))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};l(OS,"CommonBuffer");var fU=OS;function TS(e,t){let r=new AE(at,t),n=new AE(Ze,t),o=new fU(r,n);return e.forEach(a=>{switch(a[0]){case at:r.align(a);break;case Ze:n.align(a);break;default:o.align(a)}}),o.getLines()}l(TS,"getAlignedDiffs");function RS(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Be&&(o!==r||n[1]!==`
|
|
272
|
+
`))}return e.some(r=>r[0]===Be)}l(RS,"hasCommonDiff");function _S(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
273
|
+
`)||t.includes(`
|
|
274
|
+
`),[o,a]=cb(n?`${e}
|
|
275
|
+
`:e,n?`${t}
|
|
276
|
+
`:t,!0,r);if(RS(o,n)){let i=Qr(r),s=TS(o,i.changeColor);return pu(s,a,i)}}return bi(e.split(`
|
|
277
|
+
`),t.split(`
|
|
278
|
+
`),r)}l(_S,"diffStringsUnified");function cb(e,t,r,n){let[o,a]=SS(e,t,n);return r&&uS(o),[o,a]}l(cb,"diffStringsRaw");function Zs(e,t){let{commonColor:r}=Qr(t);return r(e)}l(Zs,"getCommonMessage");var{AsymmetricMatcher:hU,DOMCollection:mU,DOMElement:bU,Immutable:gU,ReactElement:yU,ReactTestComponent:vU}=tb,kS=[vU,yU,bU,mU,gU,hU,tb.Error],df={maxDepth:20,plugins:kS},qS={callToJSON:!1,maxDepth:8,plugins:kS};function kn(e,t,r){if(Object.is(e,t))return"";let n=uf(e),o=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),a=o==="string"}if(o!==uf(t)){let i=function(C){return C.length<=w?C:`${C.slice(0,w)}...`};l(i,"truncate");let{aAnnotation:s,aColor:c,aIndicator:u,bAnnotation:d,bColor:p,bIndicator:f}=Qr(r),h=el(qS,r),m=Dt(e,h),b=Dt(t,h),w=1e5;m=i(m),b=i(b);let g=`${c(`${u} ${s}:`)}
|
|
279
|
+
${m}`,E=`${p(`${f} ${d}:`)}
|
|
280
|
+
${b}`;return`${g}
|
|
281
|
+
|
|
282
|
+
${E}`}if(!a)switch(n){case"string":return bi(e.split(`
|
|
283
|
+
`),t.split(`
|
|
284
|
+
`),r);case"boolean":case"number":return MS(e,t,r);case"map":return bs(pf(e),pf(t),r);case"set":return bs(ff(e),ff(t),r);default:return bs(e,t,r)}}l(kn,"diff");function MS(e,t,r){let n=Dt(e,df),o=Dt(t,df);return n===o?"":bi(n.split(`
|
|
285
|
+
`),o.split(`
|
|
286
|
+
`),r)}l(MS,"comparePrimitive");function pf(e){return new Map(Array.from(e.entries()).sort())}l(pf,"sortMap");function ff(e){return new Set(Array.from(e.values()).sort())}l(ff,"sortSet");function bs(e,t,r){let n,o=!1;try{let i=el(df,r);n=hf(e,t,i,r)}catch(i){o=!0}let a=Zs(dS,r);if(n===void 0||n===a){let i=el(qS,r);n=hf(e,t,i,r),n!==a&&!o&&(n=`${Zs(cU,r)}
|
|
287
|
+
|
|
288
|
+
${n}`)}return n}l(bs,"compareObjects");function el(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:o}=Qr(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o!=null?o:e.maxDepth}}l(el,"getFormatOptions");function hf(e,t,r,n){let o={...r,indent:0},a=Dt(e,o),i=Dt(t,o);if(a===i)return Zs(dS,n);{let s=Dt(e,r),c=Dt(t,r);return CS(s.split(`
|
|
289
|
+
`),c.split(`
|
|
290
|
+
`),a.split(`
|
|
291
|
+
`),i.split(`
|
|
292
|
+
`),n)}}l(hf,"getObjectsDifference");var PE=2e4;function mf(e){return Wa(e)==="Object"&&typeof e.asymmetricMatch=="function"}l(mf,"isAsymmetricMatcher");function bf(e,t){let r=Wa(e),n=Wa(t);return r===n&&(r==="Object"||r==="Array")}l(bf,"isReplaceable");function db(e,t,r){let{aAnnotation:n,bAnnotation:o}=Qr(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=PE&&e.length<=PE&&t!==e){if(t.includes(`
|
|
293
|
+
`)||e.includes(`
|
|
294
|
+
`))return _S(t,e,r);let[u]=cb(t,e,!0),d=u.some(m=>m[0]===Be),p=jS(n,o),f=p(n)+DS(gf(u,at,d)),h=p(o)+IS(gf(u,Ze,d));return`${f}
|
|
295
|
+
${h}`}let a=af(t,{forceWritable:!0}),i=af(e,{forceWritable:!0}),{replacedExpected:s,replacedActual:c}=pb(i,a);return kn(s,c,r)}l(db,"printDiffOrStringify");function pb(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):bf(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),nb(t).forEach(o=>{let a=t[o],i=e[o];if(mf(a))a.asymmetricMatch(i)&&(e[o]=a);else if(mf(i))i.asymmetricMatch(a)&&(t[o]=i);else if(bf(i,a)){let s=pb(i,a,r,n);e[o]=s.replacedActual,t[o]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}l(pb,"replaceAsymmetricMatcher");function jS(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}l(jS,"getLabelPrinter");var wU="\xB7";function fb(e){return e.replace(/\s+$/gm,t=>wU.repeat(t.length))}l(fb,"replaceTrailingSpaces");function IS(e){return He.red(fb(ut(e)))}l(IS,"printReceived");function DS(e){return He.green(fb(ut(e)))}l(DS,"printExpected");function gf(e,t,r){return e.reduce((n,o)=>n+(o[0]===Be?o[1]:o[0]===t?r?He.inverse(o[1]):o[1]:""),"")}l(gf,"getCommonAndChangedSubstrings");function qa(e,t){if(!e)throw new Error(t)}l(qa,"assert");function bn(e,t){return typeof t===e}l(bn,"isType");function NS(e){return e instanceof Promise}l(NS,"isPromise");function mo(e,t,r){Object.defineProperty(e,t,r)}l(mo,"define");function vn(e,t,r){mo(e,t,{value:r,configurable:!0,writable:!0})}l(vn,"defineValue");var Wr=Symbol.for("tinyspy:spy"),EU=new Set,xU=l(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"reset"),CU=l(e=>(mo(e,Wr,{value:{reset:l(()=>xU(e[Wr]),"reset")}}),e[Wr]),"defineState"),yf=l(e=>e[Wr]||CU(e),"getInternalState");function FS(e){qa(bn("function",e)||bn("undefined",e),"cannot spy on a non-function value");let t=l(function(...n){let o=yf(t);o.called=!0,o.callCount++,o.calls.push(n);let a=o.next.shift();if(a){o.results.push(a);let[d,p]=a;if(d==="ok")return p;throw p}let i,s="ok",c=o.results.length;if(o.impl)try{new.target?i=Reflect.construct(o.impl,n,new.target):i=o.impl.apply(this,n),s="ok"}catch(d){throw i=d,s="error",o.results.push([s,d]),d}let u=[s,i];return NS(i)&&i.then(d=>o.resolves[c]=["ok",d],d=>o.resolves[c]=["error",d]),o.results.push(u),i},"fn");vn(t,"_isMockFunction",!0),vn(t,"length",e?e.length:0),vn(t,"name",e&&e.name||"spy");let r=yf(t);return r.reset(),r.impl=e,t}l(FS,"createInternalSpy");function $S(e){return!!e&&e._isMockFunction===!0}l($S,"isMockFunction");var LS=l((e,t)=>{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return[e,r];let n=Object.getPrototypeOf(e);for(;n!==null;){let o=Object.getOwnPropertyDescriptor(n,t);if(o)return[n,o];n=Object.getPrototypeOf(n)}},"getDescriptor"),OE=l((e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)},"setPototype");function hb(e,t,r){qa(!bn("undefined",e),"spyOn could not find an object to spy upon"),qa(bn("object",e)||bn("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!bn("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),[a,i]=LS(e,n)||[];qa(i||n in e,`${String(n)} does not exist`);let s=!1;o==="value"&&i&&!i.value&&i.get&&(o="get",s=!0,r=i.get());let c;i?c=i[o]:o!=="value"?c=l(()=>e[n],"original"):c=e[n],c&&US(c)&&(c=c[Wr].getOriginal());let u=l(h=>{let{value:m,...b}=i||{configurable:!0,writable:!0};o!=="value"&&delete b.writable,b[o]=h,mo(e,n,b)},"reassign"),d=l(()=>{a!==e?Reflect.deleteProperty(e,n):i&&!c?mo(e,n,i):u(c)},"restore");r||(r=c);let p=HS(FS(r),r);o==="value"&&OE(p,c);let f=p[Wr];return vn(f,"restore",d),vn(f,"getOriginal",()=>s?c():c),vn(f,"willCall",h=>(f.impl=h,p)),u(s?()=>(OE(p,r),p):p),EU.add(p),p}l(hb,"internalSpyOn");var SU=new Set(["length","name","prototype"]);function BS(e){let t=new Set,r={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let o of n)r[o]||SU.has(o)||(t.add(o),r[o]=Object.getOwnPropertyDescriptor(e,o));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}l(BS,"getAllProperties");function HS(e,t){if(!t||Wr in t)return e;let{properties:r,descriptors:n}=BS(t);for(let o of r){let a=n[o];LS(e,o)||mo(e,o,a)}return e}l(HS,"wrap");function US(e){return $S(e)&&"getOriginal"in e[Wr]}l(US,"isSpyFunction");var fu=new Set;function wn(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}l(wn,"isMockFunction");function AU(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o,a=VS(e,t),i=a&&a[r||"value"];wn(i)&&(o=i.mock._state());try{let s=hb(e,n),c=mb(s);return o&&c.mock._state(o),c}catch(s){throw s instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(s.message.includes("Cannot redefine property")||s.message.includes("Cannot replace module namespace")||s.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(n)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:s}):s}}l(AU,"spyOn");var PU=0;function mb(e){let t=e,r,n=[],o=!1,a=[],i=[],s=[],c=yf(e),u={get calls(){return c.calls},get contexts(){return i},get instances(){return a},get invocationCallOrder(){return s},get results(){return c.results.map(([h,m])=>({type:h==="error"?"throw":"return",value:m}))},get settledResults(){return c.resolves.map(([h,m])=>({type:h==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return c.calls[c.calls.length-1]},_state(h){return h&&(r=h.implementation,n=h.onceImplementations,o=h.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:o}}};function d(...h){return a.push(this),i.push(this),s.push(++PU),(o?r:n.shift()||r||c.getOriginal()||(()=>{})).apply(this,h)}l(d,"mockCall");let p=t.name;t.getMockName=()=>p||"vi.fn()",t.mockName=h=>(p=h,t),t.mockClear=()=>(c.reset(),a=[],i=[],s=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),c.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>o?r:n.at(0)||r,t.mockImplementation=h=>(r=h,c.willCall(d),t),t.mockImplementationOnce=h=>(n.push(h),t);function f(h,m){let b=r;r=h,c.willCall(d),o=!0;let w=l(()=>{r=b,o=!1},"reset"),g=m();return typeof g=="object"&&g&&typeof g.then=="function"?g.then(()=>(w(),t)):(w(),t)}return l(f,"withImplementation"),t.withImplementation=f,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=h=>t.mockImplementation(()=>h),t.mockReturnValueOnce=h=>t.mockImplementationOnce(()=>h),t.mockResolvedValue=h=>t.mockImplementation(()=>Promise.resolve(h)),t.mockResolvedValueOnce=h=>t.mockImplementationOnce(()=>Promise.resolve(h)),t.mockRejectedValue=h=>t.mockImplementation(()=>Promise.reject(h)),t.mockRejectedValueOnce=h=>t.mockImplementationOnce(()=>Promise.reject(h)),Object.defineProperty(t,"mock",{get:l(()=>u,"get")}),c.willCall(d),fu.add(t),t}l(mb,"enhanceSpy");function vf(e){let t=mb(hb({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}l(vf,"fn");function VS(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;let n=Object.getPrototypeOf(e);for(;n!==null;){let o=Object.getOwnPropertyDescriptor(n,t);if(o)return o;n=Object.getPrototypeOf(n)}}l(VS,"getDescriptor");var OU="@@__IMMUTABLE_RECORD__@@",TU="@@__IMMUTABLE_ITERABLE__@@";function zS(e){return e&&(e[TU]||e[OU])}l(zS,"isImmutable");var RU=Object.getPrototypeOf({});function wf(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}l(wf,"getUnserializableMessage");function yr(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&Ea(()=>{var n;return(n=r.message)!=null?n:r.message=e.message}),typeof e.stack=="string"&&Ea(()=>{var n;return(n=r.stack)!=null?n:r.stack=e.stack}),typeof e.name=="string"&&Ea(()=>{var n;return(n=r.name)!=null?n:r.name=e.name}),e.cause!=null&&Ea(()=>{var n;return(n=r.cause)!=null?n:r.cause=yr(e.cause,t)})),yr(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(zS(e))return yr(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()} ${ZC(e.sample)}`;if(typeof e.toJSON=="function")return yr(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=yr(n,t)}catch(a){r[o]=wf(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==RU;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=yr(e[o],t)}catch(a){delete r[o],r[o]=wf(a)}}),n=Object.getPrototypeOf(n);return r}}l(yr,"serializeValue");function Ea(e){try{return e()}catch(t){}}l(Ea,"safe");function WS(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}l(WS,"normalizeErrorMessage");function bb(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=db(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=ut(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=ut(n.actual,10));try{typeof n.message=="string"&&(n.message=WS(n.message))}catch(o){}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=bb(n.cause,t,r))}catch(o){}try{return yr(n)}catch(o){return yr(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
|
|
296
|
+
Inner error message: ${n==null?void 0:n.message}`))}}l(bb,"processError");var Ga=Symbol.for("matchers-object"),Ya=Symbol.for("$$jest-matchers-object-storybook"),gb=Symbol.for("expect-global"),Ef=Symbol.for("asymmetric-matchers-object"),_U={toSatisfy(e,t,r){let{printReceived:n,printExpected:o,matcherHint:a}=this.utils,i=t(e);return{pass:i,message:l(()=>i?`${a(".not.toSatisfy","received","")}
|
|
297
|
+
|
|
298
|
+
Expected value to not satisfy:
|
|
299
|
+
${r||o(t)}
|
|
300
|
+
Received:
|
|
301
|
+
${n(e)}`:`${a(".toSatisfy","received","")}
|
|
302
|
+
|
|
303
|
+
Expected value to satisfy:
|
|
304
|
+
${r||o(t)}
|
|
305
|
+
|
|
306
|
+
Received:
|
|
307
|
+
${n(e)}`,"message")}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:o,printExpected:a,matcherHint:i}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${i(".toBeOneOf")}, not '${typeof t}'.`);let s=t.length===0||t.some(c=>r(c,e,n));return{pass:s,message:l(()=>s?`${i(".not.toBeOneOf","received","")}
|
|
308
|
+
|
|
309
|
+
Expected value to not be one of:
|
|
310
|
+
${a(t)}
|
|
311
|
+
Received:
|
|
312
|
+
${o(e)}`:`${i(".toBeOneOf","received","")}
|
|
313
|
+
|
|
314
|
+
Expected value to be one of:
|
|
315
|
+
${a(t)}
|
|
316
|
+
|
|
317
|
+
Received:
|
|
318
|
+
${o(e)}`,"message")}}},tl=He.green,yb=He.red,kU=He.inverse,qU=He.bold,Lr=He.dim;function GS(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:a=!1,isNot:i=!1,promise:s="",secondArgument:c="",expectedColor:u=tl,receivedColor:d=yb,secondArgumentColor:p=tl}=n,f="",h="expect";return!a&&t!==""&&(f+=Lr(`${h}(`)+d(t),h=")"),s!==""&&(f+=Lr(`${h}.`)+s,h=""),i&&(f+=`${Lr(`${h}.`)}not`,h=""),e.includes(".")?h+=e:(f+=Lr(`${h}.`)+e,h=""),r===""?h+="()":(f+=Lr(`${h}(`)+u(r),c&&(f+=Lr(", ")+p(c)),h=")"),o!==""&&(h+=` // ${o}`),h!==""&&(f+=Lr(h)),f}l(GS,"matcherHint");var MU="\xB7";function vb(e){return e.replace(/\s+$/gm,t=>MU.repeat(t.length))}l(vb,"replaceTrailingSpaces");function YS(e){return yb(vb(ut(e)))}l(YS,"printReceived");function KS(e){return tl(vb(ut(e)))}l(KS,"printExpected");function wb(){return{EXPECTED_COLOR:tl,RECEIVED_COLOR:yb,INVERTED_COLOR:kU,BOLD_WEIGHT:qU,DIM_COLOR:Lr,diff:kn,matcherHint:GS,printReceived:YS,printExpected:KS,printDiffOrStringify:db,printWithType:XS}}l(wb,"getMatcherUtils");function XS(e,t,r){let n=Wa(t),o=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
|
|
319
|
+
`:"",a=`${e} has value: ${r(t)}`;return o+a}l(XS,"printWithType");function hu(){return globalThis[Ya].customEqualityTesters}l(hu,"getCustomEqualityTesters");function we(e,t,r,n){return r=r||[],oo(e,t,[],[],r,n?Eb:ZS)}l(we,"equals");var mY=Function.prototype.toString;function xf(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Tt("Function",e.asymmetricMatch)}l(xf,"isAsymmetric");function JS(e,t){let r=xf(e),n=xf(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}l(JS,"asymmetricMatch");function oo(e,t,r,n,o,a){let i=!0,s=JS(e,t);if(s!==void 0)return s;let c={equals:we};for(let m=0;m<o.length;m++){let b=o[m].call(c,e,t,o);if(b!==void 0)return b}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 u=Object.prototype.toString.call(e);if(u!==Object.prototype.toString.call(t))return!1;switch(u){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let m=+e,b=+t;return m===b||Number.isNaN(m)&&Number.isNaN(b)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(Sf(e)&&Sf(t))return e.isEqualNode(t);let d=r.length;for(;d--;){if(r[d]===e)return n[d]===t;if(n[d]===t)return!1}if(r.push(e),n.push(t),u==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return QS(e,t,r,n,o,a)}finally{r.pop(),n.pop()}let p=Cf(e,a),f,h=p.length;if(Cf(t,a).length!==h)return!1;for(;h--;)if(f=p[h],i=a(t,f)&&oo(e[f],t[f],r,n,o,a),!i)return!1;return r.pop(),n.pop(),i}l(oo,"eq");function QS(e,t,r,n,o,a){let i=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&i&&(i=oo(e.cause,t.cause,r,n,o,a)),e instanceof AggregateError&&t instanceof AggregateError&&i&&(i=oo(e.errors,t.errors,r,n,o,a)),i&&(i=oo({...e},{...t},r,n,o,a)),i}l(QS,"isErrorEqual");function Cf(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}l(Cf,"keys");function ZS(e,t){return Eb(e,t)&&e[t]!==void 0}l(ZS,"hasDefinedKey");function Eb(e,t){return Object.prototype.hasOwnProperty.call(e,t)}l(Eb,"hasKey");function Tt(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}l(Tt,"isA");function Sf(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}l(Sf,"isDomNode");var eA="@@__IMMUTABLE_KEYED__@@",tA="@@__IMMUTABLE_SET__@@",jU="@@__IMMUTABLE_LIST__@@",mu="@@__IMMUTABLE_ORDERED__@@",IU="@@__IMMUTABLE_RECORD__@@";function rA(e){return!!(e&&e[eA]&&!e[mu])}l(rA,"isImmutableUnorderedKeyed");function nA(e){return!!(e&&e[tA]&&!e[mu])}l(nA,"isImmutableUnorderedSet");function gi(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}l(gi,"isObjectLiteral");function oA(e){return!!(e&&gi(e)&&e[jU])}l(oA,"isImmutableList");function aA(e){return!!(e&&gi(e)&&e[eA]&&e[mu])}l(aA,"isImmutableOrderedKeyed");function iA(e){return!!(e&&gi(e)&&e[tA]&&e[mu])}l(iA,"isImmutableOrderedSet");function sA(e){return!!(e&&gi(e)&&e[IU])}l(sA,"isImmutableRecord");var lA=Symbol.iterator;function Af(e){return!!(e!=null&&e[lA])}l(Af,"hasIterator");function gt(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Af(e)||!Af(t))return;if(e.constructor!==t.constructor)return!1;let a=n.length;for(;a--;)if(n[a]===e)return o[a]===t;n.push(e),o.push(t);let i=[...r.filter(u=>u!==gt),s];function s(u,d){return gt(u,d,[...r],[...n],[...o])}if(l(s,"iterableEqualityWithStack"),e.size!==void 0){if(e.size!==t.size)return!1;if(Tt("Set",e)||nA(e)){let u=!0;for(let d of e)if(!t.has(d)){let p=!1;for(let f of t)we(d,f,i)===!0&&(p=!0);if(p===!1){u=!1;break}}return n.pop(),o.pop(),u}else if(Tt("Map",e)||rA(e)){let u=!0;for(let d of e)if(!t.has(d[0])||!we(d[1],t.get(d[0]),i)){let p=!1;for(let f of t){let h=we(d[0],f[0],i),m=!1;h===!0&&(m=we(d[1],f[1],i)),m===!0&&(p=!0)}if(p===!1){u=!1;break}}return n.pop(),o.pop(),u}}let c=t[lA]();for(let u of e){let d=c.next();if(d.done||!we(u,d.value,i))return!1}if(!c.next().done)return!1;if(!oA(e)&&!aA(e)&&!iA(e)&&!sA(e)){let u=Object.entries(e),d=Object.entries(t);if(!we(u,d,i))return!1}return n.pop(),o.pop(),!0}l(gt,"iterableEquality");function bu(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||bu(Object.getPrototypeOf(e),t)}l(bu,"hasPropertyInObject");function uA(e){return ka(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}l(uA,"isObjectWithKeys");function ko(e,t,r=[]){let n=r.filter(a=>a!==ko),o=l((a=new WeakMap)=>(i,s)=>{if(uA(s))return Object.keys(s).every(c=>{if(s[c]!=null&&typeof s[c]=="object"){if(a.has(s[c]))return we(i[c],s[c],n);a.set(s[c],!0)}let u=i!=null&&bu(i,c)&&we(i[c],s[c],[...n,o(a)]);return a.delete(s[c]),u})},"subsetEqualityWithContext");return o()(e,t)}l(ko,"subsetEquality");function Pf(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}l(Pf,"typeEquality");function Of(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch(o){return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}l(Of,"arrayBufferEquality");function rl(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),a=r.filter(i=>i!==rl);return we(e,t,a,!0)&&we(n,o)}l(rl,"sparseArrayEquality");function cA(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
320
|
+
|
|
321
|
+
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
322
|
+
|
|
323
|
+
Expected: ${t}
|
|
324
|
+
Received: serializes to the same string
|
|
325
|
+
`:n}l(cA,"generateToBeMessage");function dA(e,t){return`${t} ${e}${t===1?"":"s"}`}l(dA,"pluralize");function gs(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}l(gs,"getObjectKeys");function pA(e,t,r){let n=0,o=l((a=new WeakMap)=>(i,s)=>{if(Array.isArray(i)){if(Array.isArray(s)&&s.length===i.length)return s.map((c,u)=>o(a)(i[u],c))}else{if(i instanceof Date)return i;if(ka(i)&&ka(s)){if(we(i,s,[...r,gt,ko]))return s;let c={};a.set(i,c),typeof i.constructor=="function"&&typeof i.constructor.name=="string"&&Object.defineProperty(c,"constructor",{enumerable:!1,value:i.constructor});for(let u of gs(i))bu(s,u)?c[u]=a.has(i[u])?a.get(i[u]):o(a)(i[u],s[u]):a.has(i[u])||(n+=1,ka(i[u])&&(n+=gs(i[u]).length),o(a)(i[u],s[u]));if(gs(c).length>0)return c}}return i},"getObjectSubsetWithContext");return{subset:o()(e,t),stripped:n}}l(pA,"getObjectSubset");if(!Object.prototype.hasOwnProperty.call(globalThis,Ga)){let e=new WeakMap;Object.defineProperty(globalThis,Ga,{get:l(()=>e,"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Ya)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Ya,{configurable:!0,get:l(()=>({state:globalThis[Ga].get(globalThis[gb]),matchers:e,customEqualityTesters:t}),"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Ef)){let e=Object.create(null);Object.defineProperty(globalThis,Ef,{get:l(()=>e,"get")})}function Ka(e){return globalThis[Ga].get(e)}l(Ka,"getState");function ys(e,t){let r=globalThis[Ga],n=r.get(t)||{},o=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,o)}l(ys,"setState");var fA=class{constructor(t,r=!1){De(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=t,this.inverse=r}getMatcherContext(t){return{...Ka(t||globalThis[gb]),equals:we,isNot:this.inverse,customTesters:hu(),utils:{...wb(),diff:kn,stringify:ut,iterableEquality:gt,subsetEquality:ko}}}};l(fA,"AsymmetricMatcher");var Pr=fA;Pr.prototype[Symbol.for("chai/inspect")]=function(e){let t=ut(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{\u2026}`};var hA=class extends Pr{constructor(t,r=!1){if(!Tt("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){let r=Tt("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}};l(hA,"StringContaining");var TE=hA,mA=class extends Pr{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}};l(mA,"Anything");var DU=mA,bA=class extends Pr{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0,n=this.getMatcherContext();for(let o in this.sample)if(!this.hasProperty(t,o)||!we(this.sample[o],t[o],n.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}};l(bA,"ObjectContaining");var RE=bA,gA=class extends Pr{constructor(t,r=!1){super(t,r)}asymmetricMatch(t){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let r=this.getMatcherContext(),n=this.sample.length===0||Array.isArray(t)&&this.sample.every(o=>t.some(a=>we(o,a,r.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}};l(gA,"ArrayContaining");var _E=gA,yA=class extends Pr{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;let r=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return r?r[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}};l(yA,"Any");var NU=yA,vA=class extends Pr{constructor(t,r=!1){if(!Tt("String",t)&&!Tt("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){let r=Tt("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}};l(vA,"StringMatching");var kE=vA,wA=class extends Pr{constructor(r,n=2,o=!1){if(!Tt("Number",r))throw new Error("Expected is not a Number");if(!Tt("Number",n))throw new Error("Precision is not a Number");super(r);De(this,"precision");this.inverse=o,this.precision=n}asymmetricMatch(r){if(!Tt("Number",r))return!1;let n=!1;return r===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||r===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?n=!0:n=Math.abs(this.sample-r)<10**-this.precision/2,this.inverse?!n:n}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${dA("digit",this.precision)})`].join(" ")}};l(wA,"CloseTo");var qE=wA,FU=l((e,t)=>{t.addMethod(e.expect,"anything",()=>new DU),t.addMethod(e.expect,"any",r=>new NU(r)),t.addMethod(e.expect,"stringContaining",r=>new TE(r)),t.addMethod(e.expect,"objectContaining",r=>new RE(r)),t.addMethod(e.expect,"arrayContaining",r=>new _E(r)),t.addMethod(e.expect,"stringMatching",r=>new kE(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new qE(r,n)),e.expect.not={stringContaining:l(r=>new TE(r,!0),"stringContaining"),objectContaining:l(r=>new RE(r,!0),"objectContaining"),arrayContaining:l(r=>new _E(r,!0),"arrayContaining"),stringMatching:l(r=>new kE(r,!0),"stringMatching"),closeTo:l((r,n)=>new qE(r,n,!0),"closeTo")}},"JestAsymmetricMatchers");function Tf(e,t,r){let n=e.flag(t,"negate")?"not.":"",o=`${e.flag(t,"_name")}(${r?"expected":""})`,a=e.flag(t,"promise");return`expect(actual)${a?`.${a}`:""}.${n}${o}`}l(Tf,"createAssertionMessage");function Rf(e,t,r,n){var a;let o=e;if(o&&t instanceof Promise){t=t.finally(()=>{if(!o.promises)return;let s=o.promises.indexOf(t);s!==-1&&o.promises.splice(s,1)}),o.promises||(o.promises=[]),o.promises.push(t);let i=!1;return(a=o.onFinished)!=null||(o.onFinished=[]),o.onFinished.push(()=>{if(!i){var s;let c=(((s=globalThis.__vitest_worker__)===null||s===void 0?void 0:s.onFilterStackTrace)||(u=>u||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
|
|
326
|
+
`,c].join(""))}}),{then(s,c){return i=!0,t.then(s,c)},catch(s){return t.catch(s)},finally(s){return t.finally(s)},[Symbol.toStringTag]:"Promise"}}return t}l(Rf,"recordAsyncExpect");function _f(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(bb(t))}l(_f,"handleTestError");function xb(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{let a=r.apply(this,n);return a&&typeof a=="object"&&typeof a.then=="function"?a.then(oS,i=>{_f(o,i)}):a}catch(a){_f(o,a)}}}l(xb,"wrapAssertion");var $U=l((e,t)=>{let{AssertionError:r}=e,n=hu();function o(u,d){let p=l(f=>{let h=xb(t,f,d);t.addMethod(e.Assertion.prototype,f,h),t.addMethod(globalThis[Ya].matchers,f,h)},"addMethod");Array.isArray(u)?u.forEach(f=>p(f)):p(u)}l(o,"def"),["throw","throws","Throw"].forEach(u=>{t.overwriteMethod(e.Assertion.prototype,u,d=>function(...p){let f=t.flag(this,"promise"),h=t.flag(this,"object"),m=t.flag(this,"negate");if(f==="rejects")t.flag(this,"object",()=>{throw h});else if(f==="resolves"&&typeof h!="function"){if(m)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",w={showDiff:!1};throw new r(b,w,t.flag(this,"ssfi"))}}d.apply(this,p)})}),o("withTest",function(u){return t.flag(this,"vitest-test",u),this}),o("toEqual",function(u){let d=t.flag(this,"object"),p=we(d,u,[...n,gt]);return this.assert(p,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",u,d)}),o("toStrictEqual",function(u){let d=t.flag(this,"object"),p=we(d,u,[...n,gt,Pf,rl,Of],!0);return this.assert(p,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",u,d)}),o("toBe",function(u){let d=this._obj,p=Object.is(d,u),f="";return p||(we(d,u,[...n,gt,Pf,rl,Of],!0)?f="toStrictEqual":we(d,u,[...n,gt])&&(f="toEqual")),this.assert(p,cA(f),"expected #{this} not to be #{exp} // Object.is equality",u,d)}),o("toMatchObject",function(u){let d=this._obj,p=we(d,u,[...n,gt,ko]),f=t.flag(this,"negate"),{subset:h,stripped:m}=pA(d,u,n);if(p&&f||!p&&!f){let b=t.getMessage(this,[p,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",u,h,!1]),w=m===0?b:`${b}
|
|
327
|
+
(${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(w,{showDiff:!0,expected:u,actual:h})}}),o("toMatch",function(u){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof u=="string"?d.includes(u):d.match(u),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",u,d)}),o("toContain",function(u){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(u instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof u}`);return this.assert(d.contains(u),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",u,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){Gt(u,"class name",["string"]);let p=t.flag(this,"negate")?d.value.replace(u,"").trim():`${d.value} ${u}`;return this.assert(d.contains(u),`expected "${d.value}" to contain "${u}"`,`expected "${d.value}" not to contain "${u}"`,p,d.value)}return typeof d=="string"&&typeof u=="string"?this.assert(d.includes(u),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",u,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(u))}),o("toContainEqual",function(u){let d=t.flag(this,"object"),p=Array.from(d).findIndex(f=>we(f,u,n));this.assert(p!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",u)}),o("toBeTruthy",function(){let u=t.flag(this,"object");this.assert(!!u,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,u)}),o("toBeFalsy",function(){let u=t.flag(this,"object");this.assert(!u,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,u)}),o("toBeGreaterThan",function(u){let d=this._obj;return Gt(d,"actual",["number","bigint"]),Gt(u,"expected",["number","bigint"]),this.assert(d>u,`expected ${d} to be greater than ${u}`,`expected ${d} to be not greater than ${u}`,u,d,!1)}),o("toBeGreaterThanOrEqual",function(u){let d=this._obj;return Gt(d,"actual",["number","bigint"]),Gt(u,"expected",["number","bigint"]),this.assert(d>=u,`expected ${d} to be greater than or equal to ${u}`,`expected ${d} to be not greater than or equal to ${u}`,u,d,!1)}),o("toBeLessThan",function(u){let d=this._obj;return Gt(d,"actual",["number","bigint"]),Gt(u,"expected",["number","bigint"]),this.assert(d<u,`expected ${d} to be less than ${u}`,`expected ${d} to be not less than ${u}`,u,d,!1)}),o("toBeLessThanOrEqual",function(u){let d=this._obj;return Gt(d,"actual",["number","bigint"]),Gt(u,"expected",["number","bigint"]),this.assert(d<=u,`expected ${d} to be less than or equal to ${u}`,`expected ${d} to be not less than or equal to ${u}`,u,d,!1)}),o("toBeNaN",function(){let u=t.flag(this,"object");this.assert(Number.isNaN(u),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,u)}),o("toBeUndefined",function(){let u=t.flag(this,"object");this.assert(u===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,u)}),o("toBeNull",function(){let u=t.flag(this,"object");this.assert(u===null,"expected #{this} to be null","expected #{this} not to be null",null,u)}),o("toBeDefined",function(){let u=t.flag(this,"object");this.assert(typeof u<"u","expected #{this} to be defined","expected #{this} to be undefined",u)}),o("toBeTypeOf",function(u){let d=typeof this._obj,p=u===d;return this.assert(p,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",u,d)}),o("toBeInstanceOf",function(u){return this.instanceOf(u)}),o("toHaveLength",function(u){return this.have.length(u)}),o("toHaveProperty",function(...u){Array.isArray(u[0])&&(u[0]=u[0].map(E=>String(E).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[p,f]=u,h=l(()=>Object.prototype.hasOwnProperty.call(d,p)?{value:d[p],exists:!0}:t.getPathInfo(d,p),"getValue"),{value:m,exists:b}=h(),w=b&&(u.length===1||we(f,m,n)),g=u.length===1?"":` with value ${t.objDisplay(f)}`;return this.assert(w,`expected #{this} to have property "${p}"${g}`,`expected #{this} to not have property "${p}"${g}`,f,b?m:void 0)}),o("toBeCloseTo",function(u,d=2){let p=this._obj,f=!1,h=0,m=0;return u===Number.POSITIVE_INFINITY&&p===Number.POSITIVE_INFINITY||u===Number.NEGATIVE_INFINITY&&p===Number.NEGATIVE_INFINITY?f=!0:(h=10**-d/2,m=Math.abs(p-u),f=m<h),this.assert(f,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${h}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${h}`,u,p,!1)});function a(u){if(!wn(u._obj))throw new TypeError(`${t.inspect(u._obj)} is not a spy or a call to a spy!`)}l(a,"assertIsMock");function i(u){return a(u),u._obj}l(i,"getSpy"),o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(u){let d=i(this),p=d.getMockName(),f=d.mock.calls.length;return this.assert(f===u,`expected "${p}" to be called #{exp} times, but got ${f} times`,`expected "${p}" to not be called #{exp} times`,u,f,!1)}),o("toHaveBeenCalledOnce",function(){let u=i(this),d=u.getMockName(),p=u.mock.calls.length;return this.assert(p===1,`expected "${d}" to be called once, but got ${p} times`,`expected "${d}" to not be called once`,1,p,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let u=i(this),d=u.getMockName(),p=u.mock.calls.length,f=p>0,h=t.flag(this,"negate"),m=t.getMessage(this,[f,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${p} times`,!0,f]);if(f&&h&&(m=vs(u,m)),f&&h||!f&&!h)throw new r(m)});function s(u,d){return u.length===d.length&&u.every((p,f)=>we(p,d[f],[...n,gt]))}l(s,"equalsArgumentArray"),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...u){let d=i(this),p=d.getMockName(),f=d.mock.calls.some(b=>s(b,u)),h=t.flag(this,"negate"),m=t.getMessage(this,[f,`expected "${p}" to be called with arguments: #{exp}`,`expected "${p}" to not be called with arguments: #{exp}`,u]);if(f&&h||!f&&!h)throw new r(vs(d,m,u))}),o("toHaveBeenCalledExactlyOnceWith",function(...u){let d=i(this),p=d.getMockName(),f=d.mock.calls.length,h=d.mock.calls.some(w=>s(w,u))&&f===1,m=t.flag(this,"negate"),b=t.getMessage(this,[h,`expected "${p}" to be called once with arguments: #{exp}`,`expected "${p}" to not be called once with arguments: #{exp}`,u]);if(h&&m||!h&&!m)throw new r(vs(d,b,u))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(u,...d){let p=i(this),f=p.getMockName(),h=p.mock.calls[u-1],m=p.mock.calls.length,b=u<=m;this.assert(h&&s(h,d),`expected ${ao(u)} "${f}" call to have been called with #{exp}${b?"":`, but called only ${m} times`}`,`expected ${ao(u)} "${f}" call to not have been called with #{exp}`,d,h,b)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...u){let d=i(this),p=d.getMockName(),f=d.mock.calls[d.mock.calls.length-1];this.assert(f&&s(f,u),`expected last "${p}" call to have been called with #{exp}`,`expected last "${p}" call to not have been called with #{exp}`,u,f)});function c(u,d,p){let f=u.mock.invocationCallOrder,h=d.mock.invocationCallOrder;return f.length===0?!p:h.length===0?!1:f[0]<h[0]}l(c,"isSpyCalledBeforeAnotherSpy"),o(["toHaveBeenCalledBefore"],function(u,d=!0){let p=i(this);if(!wn(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(c(p,u,d),`expected "${p.getMockName()}" to have been called before "${u.getMockName()}"`,`expected "${p.getMockName()}" to not have been called before "${u.getMockName()}"`,u,p)}),o(["toHaveBeenCalledAfter"],function(u,d=!0){let p=i(this);if(!wn(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(c(u,p,d),`expected "${p.getMockName()}" to have been called after "${u.getMockName()}"`,`expected "${p.getMockName()}" to not have been called after "${u.getMockName()}"`,u,p)}),o(["toThrow","toThrowError"],function(u){if(typeof u=="string"||typeof u>"u"||u instanceof RegExp)return this.throws(u===""?/^$/:u);let d=this._obj,p=t.flag(this,"promise"),f=t.flag(this,"negate"),h=null;if(p==="rejects")h=d;else if(p==="resolves"&&typeof d!="function"){if(f)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(m,b,t.flag(this,"ssfi"))}}else{let m=!1;try{d()}catch(b){m=!0,h=b}if(!m&&!f){let b=t.flag(this,"message")||"expected function to throw an error, but it didn't",w={showDiff:!1};throw new r(b,w,t.flag(this,"ssfi"))}}if(typeof u=="function"){let m=u.name||u.prototype.constructor.name;return this.assert(h&&h instanceof u,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,u,h)}if(u instanceof Error){let m=we(h,u,[...n,gt]);return this.assert(m,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",u,h)}if(typeof u=="object"&&"asymmetricMatch"in u&&typeof u.asymmetricMatch=="function"){let m=u;return this.assert(h&&m.asymmetricMatch(h),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,h)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof u}"`)}),[{name:"toHaveResolved",condition:l(u=>u.mock.settledResults.length>0&&u.mock.settledResults.some(({type:d})=>d==="fulfilled"),"condition"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:l(u=>u.mock.calls.length>0&&u.mock.results.some(({type:d})=>d!=="throw"),"condition"),action:"called"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(){let f=i(this),h=f.getMockName(),m=d(f);this.assert(m,`expected "${h}" to be successfully ${p} at least once`,`expected "${h}" to not be successfully ${p}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:l((u,d)=>u.mock.settledResults.reduce((p,{type:f})=>f==="fulfilled"?++p:p,0)===d,"condition"),action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:l((u,d)=>u.mock.results.reduce((p,{type:f})=>f==="throw"?p:++p,0)===d,"condition"),action:"called"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(f){let h=i(this),m=h.getMockName(),b=d(h,f);this.assert(b,`expected "${m}" to be successfully ${p} ${f} times`,`expected "${m}" to not be successfully ${p} ${f} times`,`expected resolved times: ${f}`,`received resolved times: ${b}`,!1)})}),[{name:"toHaveResolvedWith",condition:l((u,d)=>u.mock.settledResults.some(({type:p,value:f})=>p==="fulfilled"&&we(d,f)),"condition"),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:l((u,d)=>u.mock.results.some(({type:p,value:f})=>p==="return"&&we(d,f)),"condition"),action:"return"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(f){let h=i(this),m=d(h,f),b=t.flag(this,"negate");if(m&&b||!m&&!b){let w=h.getMockName(),g=t.getMessage(this,[m,`expected "${w}" to ${p} with: #{exp} at least once`,`expected "${w}" to not ${p} with: #{exp}`,f]),E=p==="return"?h.mock.results:h.mock.settledResults;throw new r(EA(h,E,g,f))}})}),[{name:"toHaveLastResolvedWith",condition:l((u,d)=>{let p=u.mock.settledResults[u.mock.settledResults.length-1];return p&&p.type==="fulfilled"&&we(p.value,d)},"condition"),action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:l((u,d)=>{let p=u.mock.results[u.mock.results.length-1];return p&&p.type==="return"&&we(p.value,d)},"condition"),action:"return"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(f){let h=i(this),m=p==="return"?h.mock.results:h.mock.settledResults,b=m[m.length-1],w=h.getMockName();this.assert(d(h,f),`expected last "${w}" call to ${p} #{exp}`,`expected last "${w}" call to not ${p} #{exp}`,f,b==null?void 0:b.value)})}),[{name:"toHaveNthResolvedWith",condition:l((u,d,p)=>{let f=u.mock.settledResults[d-1];return f&&f.type==="fulfilled"&&we(f.value,p)},"condition"),action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:l((u,d,p)=>{let f=u.mock.results[d-1];return f&&f.type==="return"&&we(f.value,p)},"condition"),action:"return"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(f,h){let m=i(this),b=m.getMockName(),w=(p==="return"?m.mock.results:m.mock.settledResults)[f-1],g=`${ao(f)} call`;this.assert(d(m,f,h),`expected ${g} "${b}" call to ${p} #{exp}`,`expected ${g} "${b}" call to not ${p} #{exp}`,h,w==null?void 0:w.value)})}),o("withContext",function(u){for(let d in u)t.flag(this,d,u[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",l(function(){let u=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(p==null?void 0:p.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof p}'.`);let f=new Proxy(this,{get:l((h,m,b)=>{let w=Reflect.get(h,m,b);return typeof w!="function"?w instanceof e.Assertion?f:w:(...g)=>{t.flag(this,"_name",m);let E=p.then(C=>(t.flag(this,"object",C),w.call(this,...g)),C=>{let x=new r(`promise rejected "${t.inspect(C)}" instead of resolving`,{showDiff:!1});throw x.cause=C,x.stack=u.stack.replace(u.message,x.message),x});return Rf(d,E,Tf(t,this,!!g.length),u)}},"get")});return f},"__VITEST_RESOLVES__")),t.addProperty(e.Assertion.prototype,"rejects",l(function(){let u=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object"),f=typeof p=="function"?p():p;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(f==null?void 0:f.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof f}'.`);let h=new Proxy(this,{get:l((m,b,w)=>{let g=Reflect.get(m,b,w);return typeof g!="function"?g instanceof e.Assertion?h:g:(...E)=>{t.flag(this,"_name",b);let C=f.then(x=>{let P=new r(`promise resolved "${t.inspect(x)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:x});throw P.stack=u.stack.replace(u.message,P.message),P},x=>(t.flag(this,"object",x),g.call(this,...E)));return Rf(d,C,Tf(t,this,!!E.length),u)}},"get")});return h},"__VITEST_REJECTS__"))},"JestChaiExpect");function ao(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}l(ao,"ordinalOf");function vs(e,t,r){return e.mock.calls.length&&(t+=He.gray(`
|
|
328
|
+
|
|
329
|
+
Received:
|
|
330
|
+
|
|
331
|
+
${e.mock.calls.map((n,o)=>{let a=He.bold(` ${ao(o+1)} ${e.getMockName()} call:
|
|
332
|
+
|
|
333
|
+
`);return r?a+=kn(r,n,{omitAnnotationLines:!0}):a+=ut(n).split(`
|
|
334
|
+
`).map(i=>` ${i}`).join(`
|
|
335
|
+
`),a+=`
|
|
336
|
+
`,a}).join(`
|
|
337
|
+
`)}`)),t+=He.gray(`
|
|
338
|
+
|
|
339
|
+
Number of calls: ${He.bold(e.mock.calls.length)}
|
|
340
|
+
`),t}l(vs,"formatCalls");function EA(e,t,r,n){return t.length&&(r+=He.gray(`
|
|
341
|
+
|
|
342
|
+
Received:
|
|
343
|
+
|
|
344
|
+
${t.map((o,a)=>{let i=He.bold(` ${ao(a+1)} ${e.getMockName()} call return:
|
|
345
|
+
|
|
346
|
+
`);return n?i+=kn(n,o.value,{omitAnnotationLines:!0}):i+=ut(o).split(`
|
|
347
|
+
`).map(s=>` ${s}`).join(`
|
|
348
|
+
`),i+=`
|
|
349
|
+
`,i}).join(`
|
|
350
|
+
`)}`)),r+=He.gray(`
|
|
351
|
+
|
|
352
|
+
Number of calls: ${He.bold(e.mock.calls.length)}
|
|
353
|
+
`),r}l(EA,"formatReturns");function xA(e,t){let r=e._obj,n=Kt.flag(e,"negate"),o=Kt.flag(e,"promise")||"",a={...wb(),diff:kn,stringify:ut,iterableEquality:gt,subsetEquality:ko};return{state:{...Ka(t),customTesters:hu(),isNot:n,utils:a,promise:o,equals:we,suppressedErrors:[],soft:Kt.flag(e,"soft"),poll:Kt.flag(e,"poll")},isNot:n,obj:r}}l(xA,"getMatcherState");var CA=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};l(CA,"JestExtendError");var ME=CA;function SA(e,t,r){return(n,o)=>{Object.entries(r).forEach(([a,i])=>{function s(...f){let{state:h,isNot:m,obj:b}=xA(this,t),w=i.call(h,b,...f);if(w&&typeof w=="object"&&typeof w.then=="function")return w.then(({pass:P,message:S,actual:y,expected:v})=>{if(P&&m||!P&&!m)throw new ME(S(),y,v)});let{pass:g,message:E,actual:C,expected:x}=w;if(g&&m||!g&&!m)throw new ME(E(),C,x)}l(s,"expectWrapper");let c=xb(o,a,s);o.addMethod(globalThis[Ya].matchers,a,c),o.addMethod(e.Assertion.prototype,a,c);let u=class extends Pr{constructor(h=!1,...m){super(m,h)}asymmetricMatch(h){let{pass:m}=i.call(this.getMatcherContext(t),h,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(h=>ut(h)).join(", ")}>`}};l(u,"CustomMatcher");let d=u,p=l((...f)=>new d(!1,...f),"customMatcher");Object.defineProperty(t,a,{configurable:!0,enumerable:!0,value:p,writable:!0}),Object.defineProperty(t.not,a,{configurable:!0,enumerable:!0,value:l((...f)=>new d(!0,...f),"value"),writable:!0}),Object.defineProperty(globalThis[Ef],a,{configurable:!0,enumerable:!0,value:p,writable:!0})})}}l(SA,"JestExtendPlugin");var LU=l((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{yn(SA(e,r,n))})},"JestExtend");function AA(){yn(LU),yn($U),yn(FU);let e=l((n,o)=>{let{assertionCalls:a}=Ka(e);return ys({assertionCalls:a+1,soft:!1},e),zr(n,o)},"expect");Object.assign(e,zr),e.getState=()=>Ka(e),e.setState=n=>ys(n,e),e.extend=n=>zr.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.extend(_U),e.unreachable=n=>{M.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=l(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}l(t,"assertions");function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return l(r,"hasAssertions"),ys({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Kt.addMethod(e,"assertions",t),Kt.addMethod(e,"hasAssertions",r),e.extend(bx),e}l(AA,"createExpect");var PA=AA();Object.defineProperty(globalThis,gb,{value:PA,writable:!0,configurable:!0});function OA(e,t,r){Object.defineProperty(e,t,r)}l(OA,"f");var ws=Symbol.for("tinyspy:spy"),BU=l(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),HU=l(e=>(OA(e,ws,{value:{reset:l(()=>BU(e[ws]),"reset")}}),e[ws]),"K"),UU=l(e=>e[ws]||HU(e),"T"),kf=new Set;function Cb(e){return kf.add(e),()=>void kf.delete(e)}l(Cb,"onMockCall");function Sb(e){let t=e?vf(e):vf();return TA(t)}l(Sb,"fn");function TA(e){let t=qf(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>qf(r(n)),t}l(TA,"reactiveMock");function qf(e){let t=UU(e),r=t.impl;return t.willCall(function(...n){return kf.forEach(o=>o(e,n)),r==null?void 0:r.apply(this,n)}),e}l(qf,"listenWhenCalled");function Ab(){fu.forEach(e=>e.mockClear())}l(Ab,"clearAllMocks");function Pb(){fu.forEach(e=>e.mockReset())}l(Pb,"resetAllMocks");function Ob(){fu.forEach(e=>e.mockRestore())}l(Ob,"restoreAllMocks");function VU(e,t={}){return e}l(VU,"mocked");var RA={};pl(RA,{buildQueries:()=>rr,configure:()=>OP,createEvent:()=>ja,findAllByAltText:()=>EO,findAllByDisplayValue:()=>mO,findAllByLabelText:()=>YP,findAllByPlaceholderText:()=>nO,findAllByRole:()=>IO,findAllByTestId:()=>BO,findAllByText:()=>uO,findAllByTitle:()=>OO,findByAltText:()=>xO,findByDisplayValue:()=>bO,findByLabelText:()=>KP,findByPlaceholderText:()=>oO,findByRole:()=>DO,findByTestId:()=>HO,findByText:()=>cO,findByTitle:()=>TO,fireEvent:()=>vo,getAllByAltText:()=>vO,getAllByDisplayValue:()=>fO,getAllByLabelText:()=>XP,getAllByPlaceholderText:()=>tO,getAllByRole:()=>MO,getAllByTestId:()=>$O,getAllByText:()=>sO,getAllByTitle:()=>AO,getByAltText:()=>wO,getByDisplayValue:()=>hO,getByLabelText:()=>JP,getByPlaceholderText:()=>rO,getByRole:()=>jO,getByTestId:()=>LO,getByText:()=>lO,getByTitle:()=>PO,getConfig:()=>be,getDefaultNormalizer:()=>vu,getElementError:()=>vi,getMultipleElementsFoundError:()=>wi,getNodeText:()=>qo,getQueriesForElement:()=>al,getRoles:()=>Gb,getSuggestedQuery:()=>Ja,isInaccessible:()=>yi,logDOM:()=>$f,logRoles:()=>f8,makeFindQuery:()=>Sn,makeGetAllQuery:()=>xu,makeSingleQuery:()=>Cn,prettyDOM:()=>yo,prettyFormat:()=>Tb,queries:()=>ol,queryAllByAltText:()=>gO,queryAllByAttribute:()=>en,queryAllByDisplayValue:()=>dO,queryAllByLabelText:()=>QP,queryAllByPlaceholderText:()=>ZP,queryAllByRole:()=>kO,queryAllByTestId:()=>NO,queryAllByText:()=>aO,queryAllByTitle:()=>CO,queryByAltText:()=>yO,queryByAttribute:()=>Kb,queryByDisplayValue:()=>pO,queryByLabelText:()=>WP,queryByPlaceholderText:()=>eO,queryByRole:()=>qO,queryByTestId:()=>FO,queryByText:()=>iO,queryByTitle:()=>SO,queryHelpers:()=>h8,screen:()=>j8,waitFor:()=>Eu,waitForElementToBeRemoved:()=>VO,within:()=>al,wrapAllByQueryWithSuggestion:()=>ct,wrapSingleQueryWithSuggestion:()=>Gr});var Tb=vt(E5()),zU=Object.prototype.toString;function Mf(e){return typeof e=="function"||zU.call(e)==="[object Function]"}l(Mf,"isCallable");function _A(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}l(_A,"toInteger");var WU=Math.pow(2,53)-1;function kA(e){var t=_A(e);return Math.min(Math.max(t,0),WU)}l(kA,"toLength");function Ot(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Mf(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=kA(n.length),a=Mf(r)?Object(new r(o)):new Array(o),i=0,s;i<o;)s=n[i],t?a[i]=t(s,i):a[i]=s,i+=1;return a.length=o,a}l(Ot,"arrayFrom");function bo(e){"@babel/helpers - typeof";return bo=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},bo(e)}l(bo,"_typeof");function qA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}l(qA,"_classCallCheck");function jf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Rb(n.key),n)}}l(jf,"_defineProperties");function MA(e,t,r){return t&&jf(e.prototype,t),r&&jf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}l(MA,"_createClass");function jA(e,t,r){return t=Rb(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(jA,"_defineProperty");function Rb(e){var t=IA(e,"string");return bo(t)==="symbol"?t:String(t)}l(Rb,"_toPropertyKey");function IA(e,t){if(bo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(bo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}l(IA,"_toPrimitive");var GU=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];qA(this,e),jA(this,"items",void 0),this.items=t}return l(e,"SetLike"),MA(e,[{key:"add",value:l(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:l(function(){this.items=[]},"clear")},{key:"delete",value:l(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:l(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:l(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:l(function(){return this.items.length},"get")}]),e})(),YU=typeof Set>"u"?Set:GU;function tt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}l(tt,"getLocalName");var KU={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},XU={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 DA(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=XU[t])!==null&&n!==void 0&&n.has(r))})}l(DA,"hasGlobalAriaAttributes");function _b(e,t){return DA(e,t)}l(_b,"ignorePresentationalRole");function NA(e){var t=$A(e);if(t===null||t==="presentation"){var r=FA(e);if(t!=="presentation"||_b(e,r||""))return r}return t}l(NA,"getRole");function FA(e){var t=KU[tt(e)];if(t!==void 0)return t;switch(tt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!_b(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}l(FA,"getImplicitRole");function $A(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}l($A,"getExplicitRole");function ke(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}l(ke,"isElement");function kb(e){return ke(e)&&tt(e)==="caption"}l(kb,"isHTMLTableCaptionElement");function Ma(e){return ke(e)&&tt(e)==="input"}l(Ma,"isHTMLInputElement");function LA(e){return ke(e)&&tt(e)==="optgroup"}l(LA,"isHTMLOptGroupElement");function BA(e){return ke(e)&&tt(e)==="select"}l(BA,"isHTMLSelectElement");function HA(e){return ke(e)&&tt(e)==="table"}l(HA,"isHTMLTableElement");function UA(e){return ke(e)&&tt(e)==="textarea"}l(UA,"isHTMLTextAreaElement");function VA(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}l(VA,"safeWindow");function zA(e){return ke(e)&&tt(e)==="fieldset"}l(zA,"isHTMLFieldSetElement");function WA(e){return ke(e)&&tt(e)==="legend"}l(WA,"isHTMLLegendElement");function GA(e){return ke(e)&&tt(e)==="slot"}l(GA,"isHTMLSlotElement");function YA(e){return ke(e)&&e.ownerSVGElement!==void 0}l(YA,"isSVGElement");function KA(e){return ke(e)&&tt(e)==="svg"}l(KA,"isSVGSVGElement");function XA(e){return YA(e)&&tt(e)==="title"}l(XA,"isSVGTitleElement");function Xa(e,t){if(ke(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}l(Xa,"queryIdRefs");function Jt(e,t){return ke(e)?t.indexOf(NA(e))!==-1:!1}l(Jt,"hasAnyConcreteRoles");function JA(e){return e.trim().replace(/\s\s+/g," ")}l(JA,"asFlatString");function QA(e,t){if(!ke(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}l(QA,"isHidden");function ZA(e){return Jt(e,["button","combobox","listbox","textbox"])||qb(e,"range")}l(ZA,"isControl");function qb(e,t){if(!ke(e))return!1;switch(t){case"range":return Jt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}l(qb,"hasAbstractRole");function If(e,t){var r=Ot(e.querySelectorAll(t));return Xa(e,"aria-owns").forEach(function(n){r.push.apply(r,Ot(n.querySelectorAll(t)))}),r}l(If,"querySelectorAllSubtree");function eP(e){return BA(e)?e.selectedOptions||If(e,"[selected]"):If(e,'[aria-selected="true"]')}l(eP,"querySelectedOptions");function tP(e){return Jt(e,["none","presentation"])}l(tP,"isMarkedPresentational");function rP(e){return kb(e)}l(rP,"isNativeHostLanguageTextAlternativeElement");function nP(e){return Jt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}l(nP,"allowsNameFromContent");function oP(e){return!1}l(oP,"isDescendantOfNativeHostLanguageTextAlternativeElement");function aP(e){return Ma(e)||UA(e)?e.value:e.textContent||""}l(aP,"getValueOfTextbox");function Df(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}l(Df,"getTextualContent");function Mb(e){var t=tt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}l(Mb,"isLabelableElement");function jb(e){if(Mb(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ke(r)){var n=jb(r);n!==null&&(t=n)}}),t}l(jb,"findLabelableElement");function iP(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):jb(e)}l(iP,"getControlOfLabel");function sP(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ot(t);if(!Mb(e))return null;var r=e.ownerDocument;return Ot(r.querySelectorAll("label")).filter(function(n){return iP(n)===e})}l(sP,"getLabels");function lP(e){var t=e.assignedNodes();return t.length===0?Ot(e.childNodes):t}l(lP,"getSlotContents");function Ib(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new YU,n=VA(e),o=t.compute,a=o===void 0?"name":o,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,c=t.getComputedStyle,u=c===void 0?n.getComputedStyle.bind(n):c,d=t.hidden,p=d===void 0?!1:d;function f(g,E){var C="";if(ke(g)&&s){var x=u(g,"::before"),P=Df(x);C="".concat(P," ").concat(C)}var S=GA(g)?lP(g):Ot(g.childNodes).concat(Xa(g,"aria-owns"));if(S.forEach(function(A){var T=w(A,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),_=ke(A)?u(A).getPropertyValue("display"):"inline",N=_!=="inline"?" ":"";C+="".concat(N).concat(T).concat(N)}),ke(g)&&s){var y=u(g,"::after"),v=Df(y);C="".concat(C," ").concat(v)}return C.trim()}l(f,"computeMiscTextAlternative");function h(g,E){var C=g.getAttributeNode(E);return C!==null&&!r.has(C)&&C.value.trim()!==""?(r.add(C),C.value):null}l(h,"useAttribute");function m(g){return ke(g)?h(g,"title"):null}l(m,"computeTooltipAttributeValue");function b(g){if(!ke(g))return null;if(zA(g)){r.add(g);for(var E=Ot(g.childNodes),C=0;C<E.length;C+=1){var x=E[C];if(WA(x))return w(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(HA(g)){r.add(g);for(var P=Ot(g.childNodes),S=0;S<P.length;S+=1){var y=P[S];if(kb(y))return w(y,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(KA(g)){r.add(g);for(var v=Ot(g.childNodes),A=0;A<v.length;A+=1){var T=v[A];if(XA(T))return T.textContent}return null}else if(tt(g)==="img"||tt(g)==="area"){var _=h(g,"alt");if(_!==null)return _}else if(LA(g)){var N=h(g,"label");if(N!==null)return N}if(Ma(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var $=h(g,"value");if($!==null)return $;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var R=sP(g);if(R!==null&&R.length!==0)return r.add(g),Ot(R).map(function(G){return w(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(Ma(g)&&g.type==="image"){var k=h(g,"alt");if(k!==null)return k;var D=h(g,"title");return D!==null?D:"Submit Query"}if(Jt(g,["button"])){var K=f(g,{isEmbeddedInLabel:!1,isReferenced:!1});if(K!=="")return K}return null}l(b,"computeElementTextAlternative");function w(g,E){if(r.has(g))return"";if(!p&&QA(g,u)&&!E.isReferenced)return r.add(g),"";var C=ke(g)?g.getAttributeNode("aria-labelledby"):null,x=C!==null&&!r.has(C)?Xa(g,"aria-labelledby"):[];if(a==="name"&&!E.isReferenced&&x.length>0)return r.add(C),x.map(function(_){return w(_,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=E.recursion&&ZA(g)&&a==="name";if(!P){var S=(ke(g)&&g.getAttribute("aria-label")||"").trim();if(S!==""&&a==="name")return r.add(g),S;if(!tP(g)){var y=b(g);if(y!==null)return r.add(g),y}}if(Jt(g,["menu"]))return r.add(g),"";if(P||E.isEmbeddedInLabel||E.isReferenced){if(Jt(g,["combobox","listbox"])){r.add(g);var v=eP(g);return v.length===0?Ma(g)?g.value:"":Ot(v).map(function(_){return w(_,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(qb(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(Jt(g,["textbox"]))return r.add(g),aP(g)}if(nP(g)||ke(g)&&E.isReferenced||rP(g)||oP(g)){var A=f(g,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1});if(A!=="")return r.add(g),A}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(E.recursion)return r.add(g),f(g,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1});var T=m(g);return T!==null?(r.add(g),T):(r.add(g),"")}return l(w,"computeTextAlternative"),JA(w(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}l(Ib,"computeTextAlternative");function go(e){"@babel/helpers - typeof";return go=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},go(e)}l(go,"_typeof");function Nf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}l(Nf,"ownKeys");function Ff(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Nf(Object(r),!0).forEach(function(n){uP(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}l(Ff,"_objectSpread");function uP(e,t,r){return t=cP(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(uP,"_defineProperty");function cP(e){var t=dP(e,"string");return go(t)==="symbol"?t:String(t)}l(cP,"_toPropertyKey");function dP(e,t){if(go(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(go(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}l(dP,"_toPrimitive");function Db(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Xa(e,"aria-describedby").map(function(o){return Ib(o,Ff(Ff({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}l(Db,"computeAccessibleDescription");function pP(e){return Jt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}l(pP,"prohibitsNaming");function gu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return pP(e)?"":Ib(e,t)}l(gu,"computeAccessibleName");var At=vt(s6()),JU=vt(l6());function Nb(e){return e.replace(/</g,"<").replace(/>/g,">")}l(Nb,"escapeHTML");var QU=l((e,t,r,n,o,a,i)=>{let s=n+r.indent,c=r.colors;return e.map(u=>{let d=t[u],p=i(d,r,s,o,a);return typeof d!="string"&&(p.indexOf(`
|
|
354
|
+
`)!==-1&&(p=r.spacingOuter+s+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+c.prop.open+u+c.prop.close+"="+c.value.open+p+c.value.close}).join("")},"printProps"),ZU=3,e8=l((e,t,r,n,o,a)=>e.map(i=>{let s=typeof i=="string"?fP(i,t):a(i,t,r,n,o);return s===""&&typeof i=="object"&&i!==null&&i.nodeType!==ZU?"":t.spacingOuter+r+s}).join(""),"printChildren"),fP=l((e,t)=>{let r=t.colors.content;return r.open+Nb(e)+r.close},"printText"),t8=l((e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Nb(e)+"-->"+r.close},"printComment"),r8=l((e,t,r,n,o)=>{let a=n.colors.tag;return a.open+"<"+e+(t&&a.close+t+n.spacingOuter+o+a.open)+(r?">"+a.close+r+n.spacingOuter+o+a.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+a.close},"printElement"),n8=l((e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},"printElementAsLeaf"),o8=1,hP=3,mP=8,bP=11,a8=/^((HTML|SVG)\w*)?Element$/,gP=l(e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),i8=l(e=>{let t=e.constructor.name,{nodeType:r}=e;return r===o8&&(a8.test(t)||gP(e))||r===hP&&t==="Text"||r===mP&&t==="Comment"||r===bP&&t==="DocumentFragment"},"testNode");function yP(e){return e.nodeType===hP}l(yP,"nodeIsText");function vP(e){return e.nodeType===mP}l(vP,"nodeIsComment");function Es(e){return e.nodeType===bP}l(Es,"nodeIsFragment");function wP(e){return{test:l(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||gP(t))&&i8(t)},"test"),serialize:l((t,r,n,o,a,i)=>{if(yP(t))return fP(t.data,r);if(vP(t))return t8(t.data,r);let s=Es(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?n8(s,r):r8(s,QU(Es(t)?[]:Array.from(t.attributes).map(c=>c.name).sort(),Es(t)?{}:Array.from(t.attributes).reduce((c,u)=>(c[u.name]=u.value,c),{}),r,n+r.indent,o,a,i),e8(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,a,i),r,n)},"serialize")}}l(wP,"createDOMElementFilter");var EP=null,Fb=null,$b=null;try{let e=module&&module.require;Fb=e.call(module,"fs").readFileSync,$b=e.call(module,"@babel/code-frame").codeFrameColumns,EP=e.call(module,"chalk")}catch(e){}function xP(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[a,i,s]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],c="";try{c=Fb(a,"utf-8")}catch(d){return""}let u=$b(c,{start:{line:i,column:s}},{highlightCode:!0,linesBelow:0});return EP.dim(n)+`
|
|
355
|
+
`+u+`
|
|
356
|
+
`}l(xP,"getCodeFrame");function CP(){if(!Fb||!$b)return"";let e=new Error().stack.split(`
|
|
357
|
+
`).slice(1).find(t=>!t.includes("node_modules/"));return xP(e)}l(CP,"getUserCodeFrame");var SP=3;function xs(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}l(xs,"jestFakeTimersAreEnabled");function yu(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}l(yu,"getDocument");function Lb(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}l(Lb,"getWindowFromNode");function tr(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}l(t,"getTypeName")}l(tr,"checkContainerType");var s8=l(()=>{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(r){}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},"shouldHighlight"),{DOMCollection:l8}=Tb.plugins,u8=1,c8=8;function AP(e){return e.nodeType!==c8&&(e.nodeType!==u8||!e.matches(be().defaultIgnore))}l(AP,"filterCommentsAndDefaultIgnoreTagsTags");function yo(e,t,r){if(r===void 0&&(r={}),e||(e=yu().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:o=AP,...a}=r,i=Tb.format(e,{plugins:[wP(o),l8],printFunctionName:!1,highlight:s8(),...a});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}l(yo,"prettyDOM");var $f=l(function(){let e=CP();console.log(e?yo(...arguments)+`
|
|
358
|
+
|
|
359
|
+
`+e:yo(...arguments))},"logDOM"),En={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:l(e=>e(),"asyncWrapper"),unstable_advanceTimersWrapper:l(e=>e(),"unstable_advanceTimersWrapper"),eventWrapper:l(e=>e(),"eventWrapper"),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=yo(t),n=new Error([e,"Ignored nodes: comments, "+En.defaultIgnore+`
|
|
360
|
+
`+r].filter(Boolean).join(`
|
|
361
|
+
|
|
362
|
+
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function PP(e){try{return En._disableExpensiveErrorDiagnostics=!0,e()}finally{En._disableExpensiveErrorDiagnostics=!1}}l(PP,"runWithExpensiveErrorDiagnosticsDisabled");function OP(e){typeof e=="function"&&(e=e(En)),En={...En,...e}}l(OP,"configure");function be(){return En}l(be,"getConfig");var d8=["button","meter","output","progress","select","textarea","input"];function Bb(e){return d8.includes(e.nodeName.toLowerCase())?"":e.nodeType===SP?e.textContent:Array.from(e.childNodes).map(t=>Bb(t)).join("")}l(Bb,"getTextContent");function nl(e){let t;return e.tagName.toLowerCase()==="label"?t=Bb(e):t=e.value||e.textContent,t}l(nl,"getLabelContent");function Hb(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!TP(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}l(Hb,"getRealLabels");function TP(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}l(TP,"isLabelable");function Ub(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),a=o?o.split(" "):[];return a.length?a.map(i=>{let s=e.querySelector('[id="'+i+'"]');return s?{content:nl(s),formControl:null}:{content:"",formControl:null}}):Array.from(Hb(t)).map(i=>{let s=nl(i),c=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(u=>u.matches(n))[0];return{content:s,formControl:c}})}l(Ub,"getLabels");function Vb(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}l(Vb,"assertNotNullOrUndefined");function qn(e,t,r,n){if(typeof e!="string")return!1;Vb(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):zb(r,o)}l(qn,"fuzzyMatches");function Qt(e,t,r,n){if(typeof e!="string")return!1;Vb(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?zb(r,o):o===String(r)}l(Qt,"matches");function vu(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}l(vu,"getDefaultNormalizer");function Zr(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return vu({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}l(Zr,"makeNormalizer");function zb(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}l(zb,"matchRegExp");function qo(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===SP&&!!t.textContent).map(t=>t.textContent).join("")}l(qo,"getNodeText");var p8=RP(At.elementRoles);function Wb(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}l(Wb,"isSubtreeInaccessible");function yi(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Wb}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}l(yi,"isInaccessible");function wu(e){for(let{match:t,roles:r}of p8)if(t(e))return[...r];return[]}l(wu,"getImplicitAriaRoles");function RP(e){function t(i){let{name:s,attributes:c}=i;return""+s+c.map(u=>{let{name:d,value:p,constraints:f=[]}=u,h=f.indexOf("undefined")!==-1,m=f.indexOf("set")!==-1;return typeof p<"u"?"["+d+'="'+p+'"]':h?":not(["+d+"])":m?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}l(t,"makeElementSelector");function r(i){let{attributes:s=[]}=i;return s.length}l(r,"getSelectorSpecificity");function n(i,s){let{specificity:c}=i,{specificity:u}=s;return u-c}l(n,"bySelectorSpecificity");function o(i){let{attributes:s=[]}=i,c=s.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");c>=0&&(s=[...s.slice(0,c),...s.slice(c+1)]);let u=t({...i,attributes:s});return d=>c>=0&&d.type!=="text"?!1:d.matches(u)}l(o,"match");let a=[];for(let[i,s]of e.entries())a=[...a,{match:o(i),roles:Array.from(s),specificity:r(i)}];return a.sort(n)}l(RP,"buildElementRoleList");function Gb(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((a,i)=>[...a,...n(i)],[])]}return l(n,"flattenDOM"),n(e).filter(o=>r===!1?yi(o)===!1:!0).reduce((o,a)=>{let i=[];return a.hasAttribute("role")?i=a.getAttribute("role").split(" ").slice(0,1):i=wu(a),i.reduce((s,c)=>Array.isArray(s[c])?{...s,[c]:[...s[c],a]}:{...s,[c]:[a]},o)},{})}l(Gb,"getRoles");function Yb(e,t){let{hidden:r,includeDescription:n}=t,o=Gb(e,{hidden:r});return Object.entries(o).filter(a=>{let[i]=a;return i!=="generic"}).map(a=>{let[i,s]=a,c="-".repeat(50),u=s.map(d=>{let p='Name "'+gu(d,{computedStyleSupportsPseudoElements:be().computedStyleSupportsPseudoElements})+`":
|
|
363
|
+
`,f=yo(d.cloneNode(!1));if(n){let h='Description "'+Db(d,{computedStyleSupportsPseudoElements:be().computedStyleSupportsPseudoElements})+`":
|
|
364
|
+
`;return""+p+h+f}return""+p+f}).join(`
|
|
365
|
+
|
|
366
|
+
`);return i+`:
|
|
367
|
+
|
|
368
|
+
`+u+`
|
|
369
|
+
|
|
370
|
+
`+c}).join(`
|
|
371
|
+
`)}l(Yb,"prettyRoles");var f8=l(function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Yb(e,{hidden:r}))},"logRoles");function _P(e){return e.tagName==="OPTION"?e.selected:Mo(e,"aria-selected")}l(_P,"computeAriaSelected");function kP(e){return e.getAttribute("aria-busy")==="true"}l(kP,"computeAriaBusy");function qP(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Mo(e,"aria-checked")}l(qP,"computeAriaChecked");function MP(e){return Mo(e,"aria-pressed")}l(MP,"computeAriaPressed");function jP(e){var t,r;return(t=(r=Mo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}l(jP,"computeAriaCurrent");function IP(e){return Mo(e,"aria-expanded")}l(IP,"computeAriaExpanded");function Mo(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}l(Mo,"checkBooleanAttribute");function DP(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}l(DP,"computeHeadingLevel");function NP(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}l(NP,"computeAriaValueNow");function FP(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}l(FP,"computeAriaValueMax");function $P(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}l($P,"computeAriaValueMin");function LP(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}l(LP,"computeAriaValueText");var jE=vu();function BP(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}l(BP,"escapeRegExp");function Lf(e){return new RegExp(BP(e.toLowerCase()),"i")}l(Lf,"getRegExpMatcher");function hr(e,t,r,n){let{variant:o,name:a}=n,i="",s={},c=[["Role","TestId"].includes(e)?r:Lf(r)];a&&(s.name=Lf(a)),e==="Role"&&yi(t)&&(s.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
372
|
+
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
373
|
+
`),Object.keys(s).length>0&&c.push(s);let u=o+"By"+e;return{queryName:e,queryMethod:u,queryArgs:c,variant:o,warning:i,toString(){i&&console.warn(i);let[d,p]=c;return d=typeof d=="string"?"'"+d+"'":d,p=p?", { "+Object.entries(p).map(f=>{let[h,m]=f;return h+": "+m}).join(", ")+" }":"",u+"("+d+p+")"}}}l(hr,"makeSuggestion");function mr(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}l(mr,"canSuggest");function Ja(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(be().defaultIgnore))return;let a=(n=e.getAttribute("role"))!=null?n:(o=wu(e))==null?void 0:o[0];if(a!=="generic"&&mr("Role",r,a))return hr("Role",e,a,{variant:t,name:gu(e,{computedStyleSupportsPseudoElements:be().computedStyleSupportsPseudoElements})});let i=Ub(document,e).map(f=>f.content).join(" ");if(mr("LabelText",r,i))return hr("LabelText",e,i,{variant:t});let s=e.getAttribute("placeholder");if(mr("PlaceholderText",r,s))return hr("PlaceholderText",e,s,{variant:t});let c=jE(qo(e));if(mr("Text",r,c))return hr("Text",e,c,{variant:t});if(mr("DisplayValue",r,e.value))return hr("DisplayValue",e,jE(e.value),{variant:t});let u=e.getAttribute("alt");if(mr("AltText",r,u))return hr("AltText",e,u,{variant:t});let d=e.getAttribute("title");if(mr("Title",r,d))return hr("Title",e,d,{variant:t});let p=e.getAttribute(be().testIdAttribute);if(mr("TestId",r,p))return hr("TestId",e,p,{variant:t})}l(Ja,"getSuggestedQuery");function xa(e,t){e.stack=t.stack.replace(t.message,e.message)}l(xa,"copyStackTrace");function HP(e,t){let{container:r=yu(),timeout:n=be().asyncUtilTimeout,showOriginalStackTrace:o=be().showOriginalStackTrace,stackTraceError:a,interval:i=50,onTimeout:s=l(u=>(Object.defineProperty(u,"message",{value:be().getElementError(u.message,r).message}),u),"onTimeout"),mutationObserverOptions:c={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(u,d)=>{let p,f,h,m=!1,b="idle",w=setTimeout(P,n),g=xs();if(g){let{unstable_advanceTimersWrapper:S}=be();for(x();!m;){if(!xs()){let y=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||xa(y,a),d(y);return}if(await S(async()=>{jest.advanceTimersByTime(i)}),m)break;x()}}else{try{tr(r)}catch(y){d(y);return}f=setInterval(C,i);let{MutationObserver:S}=Lb(r);h=new S(C),h.observe(r,c),x()}function E(S,y){m=!0,clearTimeout(w),g||(clearInterval(f),h.disconnect()),S?d(S):u(y)}l(E,"onDone");function C(){if(xs()){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 go to https://github.com/testing-library/dom-testing-library/issues/830");return o||xa(S,a),d(S)}else return x()}l(C,"checkRealTimersCallback");function x(){if(b!=="pending")try{let S=PP(e);typeof(S==null?void 0:S.then)=="function"?(b="pending",S.then(y=>{b="resolved",E(null,y)},y=>{b="rejected",p=y})):E(null,S)}catch(S){p=S}}l(x,"checkCallback");function P(){let S;p?(S=p,!o&&S.name==="TestingLibraryElementError"&&xa(S,a)):(S=new Error("Timed out in waitFor."),o||xa(S,a)),E(s(S),null)}l(P,"handleTimeout")})}l(HP,"waitFor");function Eu(e,t){let r=new Error("STACK_TRACE_MESSAGE");return be().asyncWrapper(()=>HP(e,{stackTraceError:r,...t}))}l(Eu,"waitForWrapper");function vi(e,t){return be().getElementError(e,t)}l(vi,"getElementError");function wi(e,t){return vi(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}l(wi,"getMultipleElementsFoundError");function en(e,t,r,n){let{exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=n===void 0?{}:n,c=o?Qt:qn,u=Zr({collapseWhitespace:a,trim:i,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>c(d.getAttribute(e),d,r,u))}l(en,"queryAllByAttribute");function Kb(e,t,r,n){let o=en(e,t,r,n);if(o.length>1)throw wi("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}l(Kb,"queryByAttribute");function Cn(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];let i=e(r,...o);if(i.length>1){let s=i.map(c=>vi(null,c).message).join(`
|
|
374
|
+
|
|
375
|
+
`);throw wi(t(r,...o)+`
|
|
376
|
+
|
|
377
|
+
Here are the matching elements:
|
|
378
|
+
|
|
379
|
+
`+s,r)}return i[0]||null}}l(Cn,"makeSingleQuery");function Xb(e,t){return be().getElementError(`A better query is available, try this:
|
|
380
|
+
`+e.toString()+`
|
|
381
|
+
`,t)}l(Xb,"getSuggestionError");function xu(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];let i=e(r,...o);if(!i.length)throw be().getElementError(t(r,...o),r);return i}}l(xu,"makeGetAllQuery");function Sn(e){return(t,r,n,o)=>Eu(()=>e(t,r,n),{container:t,...o})}l(Sn,"makeFindQuery");var Gr=l((e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];let s=e(n,...a),[{suggest:c=be().throwSuggestions}={}]=a.slice(-1);if(s&&c){let u=Ja(s,r);if(u&&!t.endsWith(u.queryName))throw Xb(u.toString(),n)}return s},"wrapSingleQueryWithSuggestion"),ct=l((e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];let s=e(n,...a),[{suggest:c=be().throwSuggestions}={}]=a.slice(-1);if(s.length&&c){let u=[...new Set(s.map(d=>{var p;return(p=Ja(d,r))==null?void 0:p.toString()}))];if(u.length===1&&!t.endsWith(Ja(s[0],r).queryName))throw Xb(u[0],n)}return s},"wrapAllByQueryWithSuggestion");function rr(e,t,r){let n=Gr(Cn(e,t),e.name,"query"),o=xu(e,r),a=Cn(o,t),i=Gr(a,e.name,"get"),s=ct(o,e.name.replace("query","get"),"getAll"),c=Sn(ct(o,e.name,"findAll")),u=Sn(Gr(a,e.name,"find"));return[n,s,i,c,u]}l(rr,"buildQueries");var h8=Object.freeze({__proto__:null,getElementError:vi,wrapAllByQueryWithSuggestion:ct,wrapSingleQueryWithSuggestion:Gr,getMultipleElementsFoundError:wi,queryAllByAttribute:en,queryByAttribute:Kb,makeSingleQuery:Cn,makeGetAllQuery:xu,makeFindQuery:Sn,buildQueries:rr});function UP(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:nl(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}l(UP,"queryAllLabels");var m8=l(function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:a,normalizer:i}=r===void 0?{}:r,s=n?Qt:qn,c=Zr({collapseWhitespace:a,trim:o,normalizer:i});return UP(e).filter(u=>{let{node:d,textToMatch:p}=u;return s(p,d,t,c)}).map(u=>{let{node:d}=u;return d})},"queryAllLabelsByText"),Qa=l(function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=r===void 0?{}:r;tr(e);let c=o?Qt:qn,u=Zr({collapseWhitespace:a,trim:i,normalizer:s}),d=Array.from(e.querySelectorAll("*")).filter(p=>Hb(p).length||p.hasAttribute("aria-labelledby")).reduce((p,f)=>{let h=Ub(e,f,{selector:n});h.filter(b=>!!b.formControl).forEach(b=>{c(b.content,b.formControl,t,u)&&b.formControl&&p.push(b.formControl)});let m=h.filter(b=>!!b.content).map(b=>b.content);return c(m.join(" "),f,t,u)&&p.push(f),m.length>1&&m.forEach((b,w)=>{c(b,f,t,u)&&p.push(f);let g=[...m];g.splice(w,1),g.length>1&&c(g.join(" "),f,t,u)&&p.push(f)}),p},[]).concat(en("aria-label",e,t,{exact:o,normalizer:u}));return Array.from(new Set(d)).filter(p=>p.matches(n))},"queryAllByLabelText"),An=l(function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let a=Qa(e,t,...n);if(!a.length){let i=m8(e,t,...n);if(i.length){let s=i.map(c=>VP(e,c)).filter(c=>!!c);throw s.length?be().getElementError(s.map(c=>"Found a label with the text of: "+t+", however the element associated with this label (<"+c+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+c+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
382
|
+
|
|
383
|
+
`),e):be().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 be().getElementError("Unable to find a label with the text of: "+t,e)}return a},"getAllByLabelText");function VP(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}l(VP,"getTagNameOfElementAssociatedWithLabelViaFor");var zP=l((e,t)=>"Found multiple elements with the text of: "+t,"getMultipleError$7"),WP=Gr(Cn(Qa,zP),Qa.name,"query"),GP=Cn(An,zP),YP=Sn(ct(An,An.name,"findAll")),KP=Sn(Gr(GP,An.name,"find")),XP=ct(An,An.name,"getAll"),JP=Gr(GP,An.name,"get"),QP=ct(Qa,Qa.name,"queryAll"),Bf=l(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return tr(t[0]),en("placeholder",...t)},"queryAllByPlaceholderText"),b8=l((e,t)=>"Found multiple elements with the placeholder text of: "+t,"getMultipleError$6"),g8=l((e,t)=>"Unable to find an element with the placeholder text of: "+t,"getMissingError$6"),ZP=ct(Bf,Bf.name,"queryAll"),[eO,tO,rO,nO,oO]=rr(Bf,b8,g8),Hf=l(function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,ignore:s=be().defaultIgnore,normalizer:c}=r===void 0?{}:r;tr(e);let u=o?Qt:qn,d=Zr({collapseWhitespace:a,trim:i,normalizer:c}),p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(f=>!s||!f.matches(s)).filter(f=>u(qo(f),f,t,d))},"queryAllByText"),y8=l((e,t)=>"Found multiple elements with the text: "+t,"getMultipleError$5"),v8=l(function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:a,selector:i}=r,s=Zr({collapseWhitespace:n,trim:o,normalizer:a})(t.toString()),c=s!==t.toString(),u=(i!=null?i:"*")!=="*";return"Unable to find an element with the text: "+(c?s+" (normalized from '"+t+"')":t)+(u?", which matches selector '"+i+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},"getMissingError$5"),aO=ct(Hf,Hf.name,"queryAll"),[iO,sO,lO,uO,cO]=rr(Hf,y8,v8),Uf=l(function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;tr(e);let s=n?Qt:qn,c=Zr({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(d=>d.selected).some(d=>s(qo(d),d,t,c)):s(u.value,u,t,c))},"queryAllByDisplayValue"),w8=l((e,t)=>"Found multiple elements with the display value: "+t+".","getMultipleError$4"),E8=l((e,t)=>"Unable to find an element with the display value: "+t+".","getMissingError$4"),dO=ct(Uf,Uf.name,"queryAll"),[pO,fO,hO,mO,bO]=rr(Uf,w8,E8),x8=/^(img|input|area|.+-.+)$/i,Vf=l(function(e,t,r){return r===void 0&&(r={}),tr(e),en("alt",e,t,r).filter(n=>x8.test(n.tagName))},"queryAllByAltText"),C8=l((e,t)=>"Found multiple elements with the alt text: "+t,"getMultipleError$3"),S8=l((e,t)=>"Unable to find an element with the alt text: "+t,"getMissingError$3"),gO=ct(Vf,Vf.name,"queryAll"),[yO,vO,wO,EO,xO]=rr(Vf,C8,S8),A8=l(e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},"isSvgTitle"),zf=l(function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;tr(e);let s=n?Qt:qn,c=Zr({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>s(u.getAttribute("title"),u,t,c)||A8(u)&&s(qo(u),u,t,c))},"queryAllByTitle"),P8=l((e,t)=>"Found multiple elements with the title: "+t+".","getMultipleError$2"),O8=l((e,t)=>"Unable to find an element with the title: "+t+".","getMissingError$2"),CO=ct(zf,zf.name,"queryAll"),[SO,AO,PO,OO,TO]=rr(zf,P8,O8),Wf=l(function(e,t,r){let{hidden:n=be().defaultHidden,name:o,description:a,queryFallbacks:i=!1,selected:s,busy:c,checked:u,pressed:d,current:p,level:f,expanded:h,value:{now:m,min:b,max:w,text:g}={}}=r===void 0?{}:r;if(tr(e),s!==void 0){var E;if(((E=At.roles.get(t))==null?void 0:E.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(c!==void 0){var C;if(((C=At.roles.get(t))==null?void 0:C.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var x;if(((x=At.roles.get(t))==null?void 0:x.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(d!==void 0){var P;if(((P=At.roles.get(t))==null?void 0:P.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var S;if(((S=At.roles.get(t))==null?void 0:S.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(f!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var y;if(((y=At.roles.get(t))==null?void 0:y.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(w!==void 0){var v;if(((v=At.roles.get(t))==null?void 0:v.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(b!==void 0){var A;if(((A=At.roles.get(t))==null?void 0:A.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(g!==void 0){var T;if(((T=At.roles.get(t))==null?void 0:T.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(h!==void 0){var _;if(((_=At.roles.get(t))==null?void 0:_.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let N=new WeakMap;function $(R){return N.has(R)||N.set(R,Wb(R)),N.get(R)}return l($,"cachedIsSubtreeInaccessible"),Array.from(e.querySelectorAll(RO(t))).filter(R=>{if(R.hasAttribute("role")){let k=R.getAttribute("role");if(i)return k.split(" ").filter(Boolean).some(K=>K===t);let[D]=k.split(" ");return D===t}return wu(R).some(k=>k===t)}).filter(R=>{if(s!==void 0)return s===_P(R);if(c!==void 0)return c===kP(R);if(u!==void 0)return u===qP(R);if(d!==void 0)return d===MP(R);if(p!==void 0)return p===jP(R);if(h!==void 0)return h===IP(R);if(f!==void 0)return f===DP(R);if(m!==void 0||w!==void 0||b!==void 0||g!==void 0){let D=!0;if(m!==void 0&&D&&(D=m===NP(R)),w!==void 0&&D&&(D=w===FP(R)),b!==void 0&&D&&(D=b===$P(R)),g!==void 0){var k;D&&(D=Qt((k=LP(R))!=null?k:null,R,g,K=>K))}return D}return!0}).filter(R=>o===void 0?!0:Qt(gu(R,{computedStyleSupportsPseudoElements:be().computedStyleSupportsPseudoElements}),R,o,k=>k)).filter(R=>a===void 0?!0:Qt(Db(R,{computedStyleSupportsPseudoElements:be().computedStyleSupportsPseudoElements}),R,a,k=>k)).filter(R=>n===!1?yi(R,{isSubtreeInaccessible:$})===!1:!0)},"queryAllByRole");function RO(e){var t;let r='*[role~="'+e+'"]',n=(t=At.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(a=>{let{name:i}=a;return i}));return[r].concat(Array.from(o)).join(",")}l(RO,"makeRoleSelector");var _O=l(e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},"getNameHint"),T8=l(function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+_O(n)},"getMultipleError$1"),R8=l(function(e,t,r){let{hidden:n=be().defaultHidden,name:o,description:a}=r===void 0?{}:r;if(be()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+_O(o);let i="";Array.from(e.children).forEach(d=>{i+=Yb(d,{hidden:n,includeDescription:a!==void 0})});let s;i.length===0?n===!1?s="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":s="There are no available roles.":s=(`
|
|
384
|
+
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
385
|
+
|
|
386
|
+
`+i.replace(/\n/g,`
|
|
387
|
+
`).replace(/\n\s\s\n/g,`
|
|
388
|
+
|
|
389
|
+
`)+`
|
|
390
|
+
`).trim();let c="";o===void 0?c="":typeof o=="string"?c=' and name "'+o+'"':c=" and name `"+o+"`";let u="";return a===void 0?u="":typeof a=="string"?u=' and description "'+a+'"':u=" and description `"+a+"`",(`
|
|
391
|
+
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+c+u+`
|
|
392
|
+
|
|
393
|
+
`+s).trim()},"getMissingError$1"),kO=ct(Wf,Wf.name,"queryAll"),[qO,MO,jO,IO,DO]=rr(Wf,T8,R8),Jb=l(()=>be().testIdAttribute,"getTestIdAttribute"),Gf=l(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return tr(t[0]),en(Jb(),...t)},"queryAllByTestId"),_8=l((e,t)=>"Found multiple elements by: ["+Jb()+'="'+t+'"]',"getMultipleError"),k8=l((e,t)=>"Unable to find an element by: ["+Jb()+'="'+t+'"]',"getMissingError"),NO=ct(Gf,Gf.name,"queryAll"),[FO,$O,LO,BO,HO]=rr(Gf,_8,k8),ol=Object.freeze({__proto__:null,queryAllByLabelText:QP,queryByLabelText:WP,getAllByLabelText:XP,getByLabelText:JP,findAllByLabelText:YP,findByLabelText:KP,queryByPlaceholderText:eO,queryAllByPlaceholderText:ZP,getByPlaceholderText:rO,getAllByPlaceholderText:tO,findAllByPlaceholderText:nO,findByPlaceholderText:oO,queryByText:iO,queryAllByText:aO,getByText:lO,getAllByText:sO,findAllByText:uO,findByText:cO,queryByDisplayValue:pO,queryAllByDisplayValue:dO,getByDisplayValue:hO,getAllByDisplayValue:fO,findAllByDisplayValue:mO,findByDisplayValue:bO,queryByAltText:yO,queryAllByAltText:gO,getByAltText:wO,getAllByAltText:vO,findAllByAltText:EO,findByAltText:xO,queryByTitle:SO,queryAllByTitle:CO,getByTitle:PO,getAllByTitle:AO,findAllByTitle:OO,findByTitle:TO,queryByRole:qO,queryAllByRole:kO,getAllByRole:MO,getByRole:jO,findAllByRole:IO,findByRole:DO,queryByTestId:FO,queryAllByTestId:NO,getByTestId:LO,getAllByTestId:$O,findAllByTestId:BO,findByTestId:HO});function al(e,t,r){return t===void 0&&(t=ol),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let a=t[o];return n[o]=a.bind(null,e),n},r)}l(al,"getQueriesForElement");var UO=l(e=>!e||Array.isArray(e)&&!e.length,"isRemoved");function Yf(e){if(UO(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}l(Yf,"initialCheck");async function VO(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Yf(e);let n=(Array.isArray(e)?e:[e]).map(o=>{let a=o.parentElement;if(a===null)return()=>null;for(;a.parentElement;)a=a.parentElement;return()=>a.contains(o)?o:null});e=l(()=>n.map(o=>o()).filter(Boolean),"callback")}return Yf(e()),Eu(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!UO(n))throw r},t)}l(VO,"waitForElementToBeRemoved");var IE={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}}},DE={doubleClick:"dblClick"};function vo(e,t){return be().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}l(vo,"fireEvent");function ja(e,t,r,n){let{EventType:o="Event",defaultInit:a={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let i={...a,...r},{target:{value:s,files:c,...u}={}}=i;s!==void 0&&zO(t,s),c!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:c}),Object.assign(t,u);let d=Lb(t),p=d[o]||d.Event,f;if(typeof p=="function")f=new p(e,i);else{f=d.document.createEvent(o);let{bubbles:h,cancelable:m,detail:b,...w}=i;f.initEvent(e,h,m,b),Object.keys(w).forEach(g=>{f[g]=w[g]})}return["dataTransfer","clipboardData"].forEach(h=>{let m=i[h];typeof m=="object"&&(typeof d.DataTransfer=="function"?Object.defineProperty(f,h,{value:Object.getOwnPropertyNames(m).reduce((b,w)=>(Object.defineProperty(b,w,{value:m[w]}),b),new d.DataTransfer)}):Object.defineProperty(f,h,{value:m}))}),f}l(ja,"createEvent");Object.keys(IE).forEach(e=>{let{EventType:t,defaultInit:r}=IE[e],n=e.toLowerCase();ja[e]=(o,a)=>ja(n,o,a,{EventType:t,defaultInit:r}),vo[e]=(o,a)=>vo(o,ja[e](o,a))});function zO(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}l(zO,"setNativeValue");Object.keys(DE).forEach(e=>{let t=DE[e];vo[e]=function(){return vo[t](...arguments)}});function WO(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
394
|
+
`)}l(WO,"unindent");function GO(e){return JU.default.compressToEncodedURIComponent(WO(e))}l(GO,"encode");function YO(e){return"https://testing-playground.com/#markup="+GO(e)}l(YO,"getPlaygroundUrl");var q8=l((e,t,r)=>Array.isArray(e)?e.forEach(n=>$f(n,t,r)):$f(e,t,r),"debug"),M8=l(function(e){if(e===void 0&&(e=yu().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=YO(e.innerHTML);return console.log(`Open this URL in your browser
|
|
395
|
+
|
|
396
|
+
`+t),t},"logTestingPlaygroundURL"),NE={debug:q8,logTestingPlaygroundURL:M8},j8=typeof document<"u"&&document.body?al(document.body,ol,NE):Object.keys(ol).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),NE);function he(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}l(he,"isElementType");function wt(e){var t;if(KO(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 ${XO(e)}`)}l(wt,"getWindow");function KO(e){return e.nodeType===9}l(KO,"isDocument");function XO(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}l(XO,"describe");function Qb(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}l(Qb,"readBlobText");function Cu(e,t){let r={...t,length:t.length,item:l(n=>r[n],"item"),[Symbol.iterator]:l(function*(){for(let n=0;n<r.length;n++)yield r[n]},"nextFile")};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}l(Cu,"createFileList");function vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(vr,"_define_property");var JO=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){vr(this,"kind",void 0),vr(this,"type",void 0),vr(this,"file",null),vr(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};l(JO,"DataTransferItemStub");var QO=JO,ZO=class extends Array{add(...t){let r=new QO(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};l(ZO,"DataTransferItemListStub");var I8=ZO;function Ca(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return a=>t?a.type===(o?r:e):o?a.type.startsWith(`${r}/`):a.type===r}l(Ca,"getTypeMatcher");function eT(e){var t;return new(t=class{getData(r){var n;let o=(n=this.items.find(Ca(r,!0)))!==null&&n!==void 0?n:this.items.find(Ca(r,!1)),a="";return o==null||o.getAsString(i=>{a=i}),a}setData(r,n){let o=this.items.findIndex(Ca(r,!0)),a=new QO(n,r);o>=0?this.items.splice(o,1,a):this.items.push(a)}clearData(r){if(r){let n=this.items.findIndex(Ca(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){let r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){vr(this,"dropEffect","none"),vr(this,"effectAllowed","uninitialized"),vr(this,"items",new I8),vr(this,"files",Cu(e,[]))}},l(t,"DataTransferStub"),t)}l(eT,"createDataTransferStub");function Su(e,t=[]){let r=typeof e.DataTransfer>"u"?eT(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:l(()=>Cu(e,t),"get")}),r}l(Su,"createDataTransfer");async function tT(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}l(tT,"getBlobFromDataTransferItem");function Zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Zb,"_define_property");function eg(e,...t){var r;let n=Object.fromEntries(t.map(o=>[typeof o=="string"?"text/plain":o.type,Promise.resolve(o)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(n):new(r=class{get types(){return Array.from(Object.keys(this.data))}async getType(o){let a=await this.data[o];if(!a)throw new Error(`${o} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:o})}constructor(o){Zb(this,"data",void 0),this.data=o}},l(r,"ClipboardItem"),r)(n)}l(eg,"createClipboardItem");var wo=Symbol("Manage ClipboardSub");function Kf(e,t){var r;return Object.assign(new(r=class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let o of this.items){let a=o.types.includes("text/plain")?"text/plain":o.types.find(i=>i.startsWith("text/"));a&&(n+=await o.getType(a).then(i=>Qb(i,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[eg(e,n)]}constructor(...n){super(...n),Zb(this,"items",[])}},l(r,"Clipboard"),r),{[wo]:t})}l(Kf,"createClipboardStub");function Au(e){return!!(e!=null&&e[wo])}l(Au,"isClipboardStub");function rT(e){if(Au(e.navigator.clipboard))return e.navigator.clipboard[wo];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:l(()=>{r=Kf(e,n)},"resetClipboardStub"),detachClipboardStub:l(()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})},"detachClipboardStub")};return r=Kf(e,n),Object.defineProperty(e.navigator,"clipboard",{get:l(()=>r,"get"),configurable:!0}),r[wo]}l(rT,"attachClipboardStubToView");function nT(e){Au(e.navigator.clipboard)&&e.navigator.clipboard[wo].resetClipboardStub()}l(nT,"resetClipboardStubOnView");function oT(e){Au(e.navigator.clipboard)&&e.navigator.clipboard[wo].detachClipboardStub()}l(oT,"detachClipboardStubFromView");async function aT(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=Su(t);for(let a of n)for(let i of a.types)o.setData(i,await a.getType(i).then(s=>Qb(s,t.FileReader)));return o}l(aT,"readDataTransferFromClipboard");async function tg(e,t){let r=wt(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let i=t.items[a],s=await tT(r,i);o.push(eg(r,s))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}l(tg,"writeDataTransferToClipboard");var il=globalThis;typeof il.afterEach=="function"&&il.afterEach(()=>{typeof globalThis.window<"u"&&nT(globalThis.window)});typeof il.afterAll=="function"&&il.afterAll(()=>{typeof globalThis.window<"u"&&oT(globalThis.window)});var iT=["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 Pu(e){return e.matches(iT)}l(Pu,"isFocusable");function sT(e){return new e.constructor(e.type,e)}l(sT,"cloneEvent");function Zt(e){for(let r=e;r;r=r.parentElement)if(he(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(he(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}l(Zt,"isDisabled");function jo(e){let t=e.activeElement;return t!=null&&t.shadowRoot?jo(t.shadowRoot):Zt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}l(jo,"getActiveElement");function Cs(e){var t;return(t=jo(e))!==null&&t!==void 0?t:e.body}l(Cs,"getActiveElementOrBody");function lT(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}l(lT,"findClosest");function Kr(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}l(Kr,"isContentEditable");function Eo(e){let t=uT(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}l(Eo,"getContentEditable");function uT(e){return e.nodeType===1?e:e.parentElement}l(uT,"getElement");var cT=(function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e})(cT||{});function rg(e){return he(e,"button")||he(e,"input")&&e.type in cT}l(rg,"isClickableInput");function Pn(e){return ng(e)&&!e.readOnly||Kr(e)}l(Pn,"isEditable");var dT=(function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e})(dT||{});function ng(e){return he(e,"textarea")||he(e,"input")&&e.type in dT}l(ng,"isEditableInputOrTextArea");function Nt(e){return og(e)&&ng(e)}l(Nt,"hasOwnSelection");function pT(e){return og(e)&&rg(e)}l(pT,"hasNoSelection");function og(e){return e.nodeType===1}l(og,"isElement");function fT(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&Nt(e)){let n=Eo(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}l(fT,"updateSelectionOnFocus");function On(e,t){return be().eventWrapper(e)}l(On,"wrapEvent");function Cr(e){let t=lT(e,Pu),r=jo(e.ownerDocument);(t!=null?t:e.ownerDocument.body)!==r&&(On(t?()=>t.focus():()=>r==null?void 0:r.blur()),fT(t!=null?t:e.ownerDocument.body))}l(Cr,"focusElement");function hT(e){!Pu(e)||jo(e.ownerDocument)!==e||On(()=>e.blur())}l(hT,"blurElement");var Xr={};Xr.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&he(n,"label")&&n.control;if(o&&o!==t)return()=>{Pu(o)&&(Cr(o),r.dispatchEvent(o,sT(e)))};if(he(t,"input",{type:"file"}))return()=>{hT(t),t.dispatchEvent(new(wt(t)).Event("fileDialog")),Cr(t)}};var xo=Symbol("Displayed value in UI"),wr=Symbol("Displayed selection in UI"),sl=Symbol("Initial value to compare on blur");function mT(e){return typeof e=="object"&&xo in e}l(mT,"isUIValue");function bT(e){return!!e&&typeof e=="object"&&wr in e}l(bT,"isUISelectionStart");function gT(e,t){e[sl]===void 0&&(e[sl]=e.value),e[xo]=t,e.value=Object.assign(new String(t),{[xo]:!0})}l(gT,"setUIValue");function Ft(e){return e[xo]===void 0?e.value:String(e[xo])}l(Ft,"getUIValue");function Ou(e){e[xo]=void 0}l(Ou,"setUIValueClean");function ag(e){e[sl]=void 0}l(ag,"clearInitialValue");function yT(e){return e[sl]}l(yT,"getInitialValue");function vT(e,t){e[wr]=t}l(vT,"setUISelectionRaw");function Mn(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Ft(e).length,a=l(p=>Math.max(0,Math.min(o,p)),"sanitizeOffset"),i=n==="replace"||e[wr]===void 0?a(r):e[wr].anchorOffset,s=a(t),c=Math.min(i,s),u=Math.max(i,s);if(e[wr]={anchorOffset:i,focusOffset:s},e.selectionStart===c&&e.selectionEnd===u)return;let d=Object.assign(new Number(c),{[wr]:!0});try{e.setSelectionRange(d,u)}catch(p){}}l(Mn,"setUISelection");function Co(e){var t,r,n;let o=(n=e[wr])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}l(Co,"getUISelection");function wT(e){return!!e[wr]}l(wT,"hasUISelection");function Ia(e){e[wr]=void 0}l(Ia,"setUISelectionClean");var ll=globalThis.parseInt;function ET(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ll(t[0],10),n=ll(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Xf(t,o)}return e.length===2?e:Xf(t,2)}l(ET,"buildTimeValue");function Xf(e,t){let r=e.slice(0,t),n=Math.min(ll(r,10),23),o=e.slice(t),a=ll(o,10),i=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}l(Xf,"build");function ig(e,t){let r=e.cloneNode();return r.value=t,r.value===t}l(ig,"isValidDateOrTimeValue");var xT=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(xT||{});function CT(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}l(CT,"getMaxLength");function ST(e){return he(e,"textarea")||he(e,"input")&&e.type in xT}l(ST,"supportsMaxLength");function sg(e,t,r,n){if(Da(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=Jf(e,t,r);if(o){if(Da(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(he(o,"br")){let a=Jf(o,void 0,r);return a?Da(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&he(a,"br")?{node:o.parentNode,offset:Sa(o)}:{node:a.parentNode,offset:Sa(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:Sa(o)}:void 0}else return{node:o.parentNode,offset:Sa(o)+(r>0?1:0)}}}l(sg,"getNextCursorPosition");function Jf(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Tu(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),PT(e,r===1?"next":"previous",AT)}l(Jf,"getNextCharacterContentNode");function AT(e){if(Da(e))return!0;if(Tu(e)){if(he(e,["input","textarea"]))return e.type!=="hidden";if(he(e,"br"))return!0}return!1}l(AT,"isTreatedAsCharacterContent");function Sa(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}l(Sa,"getOffset");function Tu(e){return e.nodeType===1}l(Tu,"isElement");function Da(e){return e.nodeType===3}l(Da,"isTextNode");function PT(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=OT(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Tu(e.parentNode)||!Kr(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}l(PT,"walkNodes");function OT(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}l(OT,"getDescendant");var Za=Symbol("Track programmatic changes for React workaround");function TT(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&wt(e).REACT_VERSION===17}l(TT,"isReact17Element");function RT(e){TT(e)&&(e[Za]={previousValue:String(e.value),tracked:[]})}l(RT,"startTrackValue");function _T(e,t){var r,n;(n=e[Za])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Za]||(Ou(e),Mn(e,{focusOffset:t.length}))}l(_T,"trackOrSetValue");function kT(e,t){var r;let n=e[Za];if(e[Za]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||Ou(e),wT(e)&&Mn(e,{focusOffset:o?t:e.value.length})}l(kT,"commitValueAfterInput");function lg(e){let t=qT(e);if(t&&Nt(t))return{type:"input",selection:Co(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:Eo(e)&&(r!=null&&r.anchorNode)&&Eo(r.anchorNode)?"contenteditable":"default",selection:r}}l(lg,"getTargetTypeAndSelection");function qT(e){return e.nodeType===1?e:e.parentElement}l(qT,"getElement");function MT(e){let t=lg(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}l(MT,"getInputRange");function Jr({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,a;if(lg(e).type==="input")return Mn(e,{anchorOffset:n,focusOffset:t});(a=r.ownerDocument)===null||a===void 0||(o=a.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}l(Jr,"setSelection");function ug(e){return he(e,"input")&&["date","time"].includes(e.type)}l(ug,"isDateOrTime");function Tn(e,t,r,n="insertText"){let o=MT(t);o&&(!ug(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?jT(e,t,o,r,n):IT(e,t,o,r,n)))}l(Tn,"input");function jT(e,t,r,n,o){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let i=sg(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(i){a=!0;let s=r.cloneRange();s.comparePoint(i.node,i.offset)<0?s.setStart(i.node,i.offset):s.setEnd(i.node,i.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length)}else{let i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length)}(a||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}l(jT,"editContenteditable");function IT(e,t,r,n,o){let a=n;if(ST(t)){let u=CT(t);if(u!==void 0&&n.length>0){let d=u-t.value.length;if(d>0)a=n.substring(0,d);else return}}let{newValue:i,newOffset:s,oldValue:c}=DT(a,t,r,o);i===c&&s===r.startOffset&&s===r.endOffset||he(t,"input",{type:"number"})&&!NT(i)||(gT(t,i),Jr({focusNode:t,anchorOffset:s,focusOffset:s}),ug(t)?ig(t,i)&&(Qf(e,t,s,{}),e.dispatchUIEvent(t,"change"),ag(t)):Qf(e,t,s,{data:n,inputType:o}))}l(IT,"editInputElement");function DT(e,t,{startOffset:r,endOffset:n},o){let a=Ft(t),i=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=a.substring(0,i),c=Math.min(a.length,r===n&&o==="deleteContentForward"?r+1:n),u=a.substring(c,a.length),d=`${s}${e}${u}`,p=i+e.length;if(he(t,"input",{type:"time"})){let f=ET(d);f!==""&&ig(t,f)&&(d=f,p=f.length)}return{oldValue:a,newValue:d,newOffset:p}}l(DT,"calculateNewValue");function Qf(e,t,r,n){e.dispatchUIEvent(t,"input",n),kT(t,r)}l(Qf,"commitInput");function NT(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}l(NT,"isValidNumberInput");Xr.cut=(e,t,r)=>()=>{Pn(t)&&Tn(r,t,"","deleteByCut")};function FT(e){return e?Kr(e)?e.textContent:Ft(e):null}l(FT,"getValueOrTextContent");function $T(e){let t=wt(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}l($T,"isVisible");function LT(e,t){let r=e.ownerDocument,n=r.querySelectorAll(iT),o=Array.from(n).filter(c=>c===e||!(Number(c.getAttribute("tabindex"))<0||Zt(c)));Number(e.getAttribute("tabindex"))>=0&&o.sort((c,u)=>{let d=Number(c.getAttribute("tabindex")),p=Number(u.getAttribute("tabindex"));return d===p?0:d===0?1:p===0?-1:d-p});let a={},i=[r.body],s=he(e,"input",{type:"radio"})?e.name:void 0;o.forEach(c=>{let u=c;if(he(u,"input",{type:"radio"})&&u.name){if(u===e){i.push(u);return}else if(u.name===s)return;if(u.checked){i=i.filter(d=>!he(d,"input",{type:"radio",name:u.name})),i.push(u),a[u.name]=u;return}if(typeof a[u.name]<"u")return}i.push(u)});for(let c=i.findIndex(u=>u===e);;)if(c+=t?-1:1,c===i.length?c=0:c===-1&&(c=i.length-1),i[c]===e||i[c]===r.body||$T(i[c]))return i[c]}l(LT,"getTabDestination");function Zf(e,t){if(Nt(e)){let r=Co(e);Jr({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=sg(r.focusNode,r.focusOffset,t);n&&Jr({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}l(Zf,"moveSelection");function cg(e){if(Nt(e))return Jr({focusNode:e,anchorOffset:0,focusOffset:Ft(e).length});var t;let r=(t=Eo(e))!==null&&t!==void 0?t:e.ownerDocument.body;Jr({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}l(cg,"selectAll");function BT(e){if(Nt(e))return Co(e).startOffset===0&&Co(e).endOffset===Ft(e).length;var t;let r=(t=Eo(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}l(BT,"isAllSelected");function eo(e,t,r){var n;if(Nt(e))return Jr({focusNode:e,anchorOffset:t,focusOffset:r});if(Kr(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Jr({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}l(eo,"setSelectionRange");function Aa(e,t,r){let n=wt(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let a=o.findIndex(i=>i===t)+r;;a+=r){if(o[a]||(a=r>0?0:o.length-1),o[a]===t)return;if(!Zt(o[a])){Cr(o[a]),e.dispatchUIEvent(o[a],"click");return}}}l(Aa,"walkRadio");Xr.keydown=(e,t,r)=>{var n,o;return(o=(n=FE[e.key])===null||n===void 0?void 0:n.call(FE,e,t,r))!==null&&o!==void 0?o:D8(e,t,r)};var FE={ArrowDown:l((e,t,r)=>{if(he(t,"input",{type:"radio"}))return()=>Aa(r,t,1)},"ArrowDown"),ArrowLeft:l((e,t,r)=>he(t,"input",{type:"radio"})?()=>Aa(r,t,-1):()=>Zf(t,-1),"ArrowLeft"),ArrowRight:l((e,t,r)=>he(t,"input",{type:"radio"})?()=>Aa(r,t,1):()=>Zf(t,1),"ArrowRight"),ArrowUp:l((e,t,r)=>{if(he(t,"input",{type:"radio"}))return()=>Aa(r,t,-1)},"ArrowUp"),Backspace:l((e,t,r)=>{if(Pn(t))return()=>{Tn(r,t,"","deleteContentBackward")}},"Backspace"),Delete:l((e,t,r)=>{if(Pn(t))return()=>{Tn(r,t,"","deleteContentForward")}},"Delete"),End:l((e,t)=>{if(he(t,["input","textarea"])||Kr(t))return()=>{var r,n;let o=(n=(r=FT(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;eo(t,o,o)}},"End"),Home:l((e,t)=>{if(he(t,["input","textarea"])||Kr(t))return()=>{eo(t,0,0)}},"Home"),PageDown:l((e,t)=>{if(he(t,["input"]))return()=>{let r=Ft(t).length;eo(t,r,r)}},"PageDown"),PageUp:l((e,t)=>{if(he(t,["input"]))return()=>{eo(t,0,0)}},"PageUp"),Tab:l((e,t,r)=>()=>{let n=LT(t,r.system.keyboard.modifiers.Shift);Cr(n),Nt(n)&&Mn(n,{anchorOffset:0,focusOffset:n.value.length})},"Tab")},D8=l((e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>cg(t)},"combinationBehavior");Xr.keypress=(e,t,r)=>{if(e.key==="Enter"){if(he(t,"button")||he(t,"input")&&N8.includes(t.type)||he(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(he(t,"input")){let n=t.form,o=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&F8.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Pn(t)){let n=e.key==="Enter"?Kr(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
|
|
397
|
+
`:e.key;return()=>Tn(r,t,o,n)}};var N8=["button","color","file","image","reset","submit"],F8=["email","month","password","search","tel","text","url","week"];Xr.keyup=(e,t,r)=>{var n;return(n=$E[e.key])===null||n===void 0?void 0:n.call($E,e,t,r)};var $E={" ":l((e,t,r)=>{if(rg(t))return()=>r.dispatchUIEvent(t,"click")}," ")};Xr.paste=(e,t,r)=>{if(Pn(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Tn(r,t,o,"insertFromPaste")}};var HT={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function dg(e){return HT[e].EventType}l(dg,"getEventClass");var $8=["MouseEvent","PointerEvent"];function UT(e){return $8.includes(dg(e))}l(UT,"isMouseEvent");function VT(e){return dg(e)==="KeyboardEvent"}l(VT,"isKeyboardEvent");var L8={ClipboardEvent:[WT],Event:[],FocusEvent:[Jn,GT],InputEvent:[Jn,YT],MouseEvent:[Jn,Ss,eh],PointerEvent:[Jn,Ss,eh,XT],KeyboardEvent:[Jn,Ss,KT]};function pg(e,t,r){let n=wt(t),{EventType:o,defaultInit:a}=HT[e],i=new(zT(n))[o](e,a);return L8[o].forEach(s=>s(i,r!=null?r:{})),i}l(pg,"createEvent");function zT(e){var t,r,n,o,a,i,s,c,u,d,p,f,h,m,b,w;let g=(w=e.Event)!==null&&w!==void 0?w:(t=class{},l(t,"Event"),t);var E;let C=(E=e.AnimationEvent)!==null&&E!==void 0?E:(r=class extends g{},l(r,"AnimationEvent"),r);var x;let P=(x=e.ClipboardEvent)!==null&&x!==void 0?x:(n=class extends g{},l(n,"ClipboardEvent"),n);var S;let y=(S=e.PopStateEvent)!==null&&S!==void 0?S:(o=class extends g{},l(o,"PopStateEvent"),o);var v;let A=(v=e.ProgressEvent)!==null&&v!==void 0?v:(a=class extends g{},l(a,"ProgressEvent"),a);var T;let _=(T=e.TransitionEvent)!==null&&T!==void 0?T:(i=class extends g{},l(i,"TransitionEvent"),i);var N;let $=(N=e.UIEvent)!==null&&N!==void 0?N:(s=class extends g{},l(s,"UIEvent"),s);var R;let k=(R=e.CompositionEvent)!==null&&R!==void 0?R:(c=class extends ${},l(c,"CompositionEvent"),c);var D;let K=(D=e.FocusEvent)!==null&&D!==void 0?D:(u=class extends ${},l(u,"FocusEvent"),u);var G;let te=(G=e.InputEvent)!==null&&G!==void 0?G:(d=class extends ${},l(d,"InputEvent"),d);var oe;let ee=(oe=e.KeyboardEvent)!==null&&oe!==void 0?oe:(p=class extends ${},l(p,"KeyboardEvent"),p);var W;let z=(W=e.MouseEvent)!==null&&W!==void 0?W:(f=class extends ${},l(f,"MouseEvent"),f);var Y;let re=(Y=e.DragEvent)!==null&&Y!==void 0?Y:(h=class extends z{},l(h,"DragEvent"),h);var X;let ie=(X=e.PointerEvent)!==null&&X!==void 0?X:(m=class extends z{},l(m,"PointerEvent"),m);var se;let me=(se=e.TouchEvent)!==null&&se!==void 0?se:(b=class extends ${},l(b,"TouchEvent"),b);return{Event:g,AnimationEvent:C,ClipboardEvent:P,PopStateEvent:y,ProgressEvent:A,TransitionEvent:_,UIEvent:$,CompositionEvent:k,FocusEvent:K,InputEvent:te,KeyboardEvent:ee,MouseEvent:z,DragEvent:re,PointerEvent:ie,TouchEvent:me}}l(zT,"getEventConstructors");function Or(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:l(()=>n!=null?n:null,"get")})}l(Or,"assignProps");function Fe(e){return Number(e!=null?e:0)}l(Fe,"sanitizeNumber");function WT(e,{clipboardData:t}){Or(e,{clipboardData:t})}l(WT,"initClipboardEvent");function GT(e,{relatedTarget:t}){Or(e,{relatedTarget:t})}l(GT,"initFocusEvent");function YT(e,{data:t,inputType:r,isComposing:n}){Or(e,{data:t,isComposing:!!n,inputType:String(r)})}l(YT,"initInputEvent");function Jn(e,{view:t,detail:r}){Or(e,{view:t,detail:Fe(r!=null?r:0)})}l(Jn,"initUIEvent");function Ss(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:a,modifierCapsLock:i,modifierFn:s,modifierFnLock:c,modifierNumLock:u,modifierScrollLock:d,modifierSymbol:p,modifierSymbolLock:f}){Or(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(h){return!!{Alt:t,AltGraph:a,CapsLock:i,Control:r,Fn:s,FnLock:c,Meta:n,NumLock:u,ScrollLock:d,Shift:o,Symbol:p,SymbolLock:f}[h]}})}l(Ss,"initUIEventModifiers");function KT(e,{key:t,code:r,location:n,repeat:o,isComposing:a,charCode:i}){Or(e,{key:String(t),code:String(r),location:Fe(n),repeat:!!o,isComposing:!!a,charCode:i})}l(KT,"initKeyboardEvent");function eh(e,{x:t,y:r,screenX:n,screenY:o,clientX:a=t,clientY:i=r,button:s,buttons:c,relatedTarget:u,offsetX:d,offsetY:p,pageX:f,pageY:h}){Or(e,{screenX:Fe(n),screenY:Fe(o),clientX:Fe(a),x:Fe(a),clientY:Fe(i),y:Fe(i),button:Fe(s),buttons:Fe(c),relatedTarget:u,offsetX:Fe(d),offsetY:Fe(p),pageX:Fe(f),pageY:Fe(h)})}l(eh,"initMouseEvent");function XT(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:a,tiltX:i,tiltY:s,twist:c,pointerType:u,isPrimary:d}){Or(e,{pointerId:Fe(t),width:Fe(r!=null?r:1),height:Fe(n!=null?n:1),pressure:Fe(o),tangentialPressure:Fe(a),tiltX:Fe(i),tiltY:Fe(s),twist:Fe(c),pointerType:String(u),isPrimary:!!d})}l(XT,"initPointerEvent");function JT(e,t,r,n=!1){(UT(t)||VT(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=pg(t,e,r);return fg.call(this,e,o,n)}l(JT,"dispatchUIEvent");function fg(e,t,r=!1){var n;let o=t.type,a=r?()=>{}:(n=Xr[o])===null||n===void 0?void 0:n.call(Xr,t,e,this);if(a){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:l(()=>i,"get")}),Object.defineProperty(t,"preventDefault",{value:l(()=>{i=t.cancelable},"value")}),On(()=>e.dispatchEvent(t)),i||a(),!i}return On(()=>e.dispatchEvent(t))}l(fg,"dispatchEvent");function Ur(e,t,r){let n=pg(t,e,r);On(()=>e.dispatchEvent(n))}l(Ur,"dispatchDOMEvent");var LE=Symbol("patched focus/blur methods");function hg(e){if(e.prototype[LE])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:l(()=>o,"get")},blur:{configurable:!0,get:l(()=>a,"get")},[LE]:{configurable:!0,get:l(()=>({focus:t,blur:r}),"get")}});let n;function o(i){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,i);let s=th(this.ownerDocument);if(s===this)return;let c=Symbol("focus call");n=c,s&&(r.call(s),Ur(s,"blur",{relatedTarget:this}),Ur(s,"focusout",{relatedTarget:n===c?this:null})),n===c&&(t.call(this,i),Ur(this,"focus",{relatedTarget:s})),n===c&&Ur(this,"focusin",{relatedTarget:s})}l(o,"patchedFocus");function a(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let i=th(this.ownerDocument);i===this&&(n=Symbol("blur call"),r.call(this),Ur(i,"blur",{relatedTarget:null}),Ur(i,"focusout",{relatedTarget:null}))}l(a,"patchedBlur")}l(hg,"patchFocus");function th(e){let t=jo(e);return(t==null?void 0:t.tagName)==="BODY"?null:t}l(th,"getActiveTarget");var Ip=Symbol("Interceptor for programmatical calls");function gn(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),a=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[a])!="function"||n[a][Ip])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...s){let{applyNative:c=!1,realArgs:u,then:d}=r.call(this,...s),p=(!c&&o||n)[a];a==="set"?p.call(this,u):p.call(this,...u),d==null||d()}l(i,"intercept"),i[Ip]=Ip,Object.defineProperty(e,t,{...o!=null?o:n,[a]:i})}l(gn,"prepareInterceptor");function QT(e){gn(e,"value",l(function(t){let r=mT(t);return r&&RT(this),{applyNative:!!r,realArgs:ZT(this,t),then:r?void 0:()=>_T(this,String(t))}},"interceptorImpl"))}l(QT,"prepareValueInterceptor");function ZT(e,t){return he(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}l(ZT,"sanitizeValue");function eR(e){gn(e,"setSelectionRange",l(function(t,...r){let n=bT(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:l(()=>n?void 0:Ia(e),"then")}},"interceptorImpl")),gn(e,"selectionStart",l(function(t){return{realArgs:t,then:l(()=>Ia(e),"then")}},"interceptorImpl")),gn(e,"selectionEnd",l(function(t){return{realArgs:t,then:l(()=>Ia(e),"then")}},"interceptorImpl")),gn(e,"select",l(function(){return{realArgs:[],then:l(()=>vT(e,{anchorOffset:0,focusOffset:Ft(e).length}),"then")}},"interceptorImpl"))}l(eR,"prepareSelectionInterceptor");function tR(e){gn(e,"setRangeText",l(function(...t){return{realArgs:t,then:l(()=>{Ou(e),Ia(e)},"then")}},"interceptorImpl"))}l(tR,"prepareRangeTextInterceptor");var io=Symbol("Node prepared with document state workarounds");function mg(e){e[io]||(e.addEventListener("focus",t=>{let r=t.target;rh(r)},{capture:!0,passive:!0}),e.activeElement&&rh(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=yT(r);n!==void 0&&(r.value!==n&&Ur(r,"change"),ag(r))},{capture:!0,passive:!0}),e[io]=io)}l(mg,"prepareDocument");function rh(e){e[io]||(he(e,["input","textarea"])&&(QT(e),eR(e),tR(e)),e[io]=io)}l(rh,"prepareElement");function rR(e){return nR(e)?e:e.ownerDocument}l(rR,"getDocumentFromNode");function nR(e){return e.nodeType===9}l(nR,"isDocument");var bt=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function to(e,t){e.levelRefs[t]={}}l(to,"setLevelRef");function Pa(e,t){return e.levelRefs[t]}l(Pa,"getLevelRef");function Rn(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}l(Rn,"wait");var As=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function Br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Br,"_define_property");var zt=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),B8=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function nh(e){return B8.includes(e)}l(nh,"isModifierKey");var H8=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function oh(e){return H8.includes(e)}l(oh,"isModifierLock");var oR=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){let n=String(r.key),o=String(r.code),a=Cs(t.config.document);this.setKeydownTarget(a),this.pressed.add(o,r),nh(n)&&(this.modifiers[n]=!0);let i=t.dispatchUIEvent(a,"keydown",{key:n,code:o});oh(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),i&&this.pressed.setUnprevented(o),i&&this.hasKeyPress(n)&&t.dispatchUIEvent(Cs(t.config.document),"keypress",{key:n,code:o,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),o=String(r.code),a=this.pressed.isUnprevented(o);this.pressed.delete(o),nh(n)&&!this.pressed.values().find(i=>i.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(Cs(t.config.document),"keyup",{key:n,code:o},!a),oh(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){Br(this,"system",void 0),Br(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}),Br(this,"pressed",new class{add(r,n){var o,a,i;(i=(o=this.registry)[a=r])!==null&&i!==void 0||(o[a]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){let n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){Br(this,"registry",{})}}),Br(this,"carryChar",""),Br(this,"lastKeydownTarget",void 0),Br(this,"modifierLockStart",{}),this.system=t}};l(oR,"KeyboardHost");var U8=oR,V8=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:zt.LEFT},{code:"AltRight",key:"Alt",location:zt.RIGHT},{code:"ShiftLeft",key:"Shift",location:zt.LEFT},{code:"ShiftRight",key:"Shift",location:zt.RIGHT},{code:"ControlLeft",key:"Control",location:zt.LEFT},{code:"ControlRight",key:"Control",location:zt.RIGHT},{code:"MetaLeft",key:"Meta",location:zt.LEFT},{code:"MetaRight",key:"Meta",location:zt.RIGHT},{code:"OSLeft",key:"OS",location:zt.LEFT},{code:"OSRight",key:"OS",location:zt.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],z8=[{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 aR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(aR,"_define_property");var iR=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=ul(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=ul(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){aR(this,"pressed",{})}};l(iR,"Buttons");var sR=iR,BE={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function ul(e=0){return e in BE?BE[e]:Number(e)}l(ul,"getMouseButtonId");var HE={1:2,2:1};function cl(e){return e=ul(e),e in HE?HE[e]:e}l(cl,"getMouseEventButton");function lR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(lR,"_define_property");var uR=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){lR(this,"pressedKeys",new Set)}};l(uR,"Device");var W8=uR;function so(e,t){let r=[];for(let a=e;a;a=a.parentElement)r.push(a);let n=[];for(let a=t;a;a=a.parentElement)n.push(a);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}l(so,"getTreeDiff");function dl({target:e,node:t,offset:r}){return Nt(e)?{node:e,offset:r!=null?r:Ft(e).length}:t?{node:t,offset:r!=null?r:t.nodeType===3?t.nodeValue.length:t.childNodes.length}:bg(e,r)}l(dl,"resolveCaretPosition");function bg(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let a=e.childNodes.item(n),i=String(a.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(a.nodeType===1)return bg(a,t,!1);if(a.nodeType===3)return{node:a,offset:t!=null?t:a.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}l(bg,"findNodeAtTextOffset");function cR({document:e,target:t,clickCount:r,node:n,offset:o}){if(pT(t))return;let a=Nt(t),i=String(a?Ft(t):t.textContent),[s,c]=n?[o,o]:dR(i,o,r);if(a)return Mn(t,{anchorOffset:s!=null?s:i.length,focusOffset:c!=null?c:i.length}),{node:t,start:s!=null?s:0,end:c!=null?c:i.length};{let{node:u,offset:d}=dl({target:t,node:n,offset:s}),{node:p,offset:f}=dl({target:t,node:n,offset:c}),h=t.ownerDocument.createRange();try{h.setStart(u,d),h.setEnd(p,f)}catch(b){throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m==null||m.removeAllRanges(),m==null||m.addRange(h.cloneRange()),h}}l(cR,"setSelectionPerMouseDown");function dR(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t!=null?t:e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}l(dR,"getTextRange");function pR(e,{document:t,target:r,node:n,offset:o}){let a=dl({target:r,node:n,offset:o});if("node"in e){if(a.node===e.node){let i=a.offset<e.start?e.end:e.start,s=a.offset>e.end||a.offset<e.start?a.offset:e.end;Mn(e.node,{anchorOffset:i,focusOffset:s})}}else{let i=e.cloneRange(),s=i.comparePoint(a.node,a.offset);s<0?i.setStart(a.node,a.offset):s>0&&i.setEnd(a.node,a.offset);let c=t.getSelection();c==null||c.removeAllRanges(),c==null||c.addRange(i.cloneRange())}}l(pR,"modifySelectionPerMouseMove");function gg(e,t){var r,n,o,a,i,s,c,u,d,p,f,h,m,b,w,g,E,C,x,P,S,y,v,A;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((a=t.coords)===null||a===void 0?void 0:a.y)||((i=e.coords)===null||i===void 0?void 0:i.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((c=e.coords)===null||c===void 0?void 0:c.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((d=e.coords)===null||d===void 0?void 0:d.offsetX)!==((p=t.coords)===null||p===void 0?void 0:p.offsetX)||((f=e.coords)===null||f===void 0?void 0:f.offsetY)!==((h=t.coords)===null||h===void 0?void 0:h.offsetY)||((m=e.coords)===null||m===void 0?void 0:m.pageX)!==((b=t.coords)===null||b===void 0?void 0:b.pageX)||((w=e.coords)===null||w===void 0?void 0:w.pageY)!==((g=t.coords)===null||g===void 0?void 0:g.pageY)||((E=e.coords)===null||E===void 0?void 0:E.screenX)!==((C=t.coords)===null||C===void 0?void 0:C.screenX)||((x=e.coords)===null||x===void 0?void 0:x.screenY)!==((P=t.coords)===null||P===void 0?void 0:P.screenY)||((S=e.caret)===null||S===void 0?void 0:S.node)!==((y=t.caret)===null||y===void 0?void 0:y.node)||((v=e.caret)===null||v===void 0?void 0:v.offset)!==((A=t.caret)===null||A===void 0?void 0:A.offset)}l(gg,"isDifferentPointerPosition");function Hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Hr,"_define_property");var fR=class{move(t,r,n){let o=this.position,a=this.getTarget(t);if(this.position=r,!gg(o,r))return;let i=this.getTarget(t),s=this.getEventInit("mousemove"),[c,u]=so(a,i);return{leave:l(()=>{a!==i&&(t.dispatchUIEvent(a,"mouseout",s),c.forEach(d=>t.dispatchUIEvent(d,"mouseleave",s)))},"leave"),enter:l(()=>{a!==i&&(t.dispatchUIEvent(i,"mouseover",s),u.forEach(d=>t.dispatchUIEvent(d,"mouseenter",s)))},"enter"),move:l(()=>{n||(t.dispatchUIEvent(i,"mousemove",s),this.modifySelecting(t))},"move")}}down(t,r,n){let o=this.buttons.down(r);if(o===void 0)return;let a=this.getTarget(t);this.buttonDownTarget[o]=a;let i=this.getEventInit("mousedown",r.button),s=Zt(a);!n&&(s||t.dispatchUIEvent(a,"mousedown",i))&&(this.startSelecting(t,i.detail),Cr(a)),!s&&cl(r.button)===2&&t.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let o=this.buttons.up(r);if(o===void 0)return;let a=this.getTarget(t);if(!Zt(a)){if(!n){let s=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(a,"mouseup",s),this.endSelecting()}let i=so(this.buttonDownTarget[o],a)[2][0];if(i){let s=this.getEventInit("click",r.button);s.detail&&(t.dispatchUIEvent(i,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&t.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",r.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=cl(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,o;this.selecting=cR({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(o=this.position.caret)===null||o===void 0?void 0:o.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&pR(this.selecting,{document:t.config.document,target:this.getTarget(t),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset})}endSelecting(){this.selecting=void 0}constructor(){Hr(this,"position",{}),Hr(this,"buttons",new sR),Hr(this,"selecting",void 0),Hr(this,"buttonDownTarget",{}),Hr(this,"clickCount",new class{incOnClick(t){let r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){Hr(this,"down",{}),Hr(this,"count",{})}})}};l(fR,"Mouse");var G8=fR;function ei(e,t){var r;return((r=yg(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}l(ei,"hasPointerEvents");function hR(e){let t=wt(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}l(hR,"closestPointerEventsDeclaration");var UE=Symbol("Last check for pointer-events");function yg(e,t){let r=t[UE];if(!(e.config.pointerEventsCheck!==As.Never&&(!r||ah(e.config.pointerEventsCheck,As.EachApiCall)&&r[bt.Call]!==Pa(e,bt.Call)||ah(e.config.pointerEventsCheck,As.EachTrigger)&&r[bt.Trigger]!==Pa(e,bt.Trigger))))return r==null?void 0:r.result;let n=hR(t);return t[UE]={[bt.Call]:Pa(e,bt.Call),[bt.Trigger]:Pa(e,bt.Trigger),result:n},n}l(yg,"checkPointerEvents");function ro(e,t){let r=yg(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\`:`,"",mR(r.tree)].join(`
|
|
398
|
+
`))}l(ro,"assertPointerEvents");function mR(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,bR(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(`
|
|
399
|
+
`)}l(mR,"printTree");function bR(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(he(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(i=>{var s;return(s=i.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(he(e,"button")){var a;r=(a=e.textContent)===null||a===void 0?void 0:a.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}\u2026`),r?`(label=${r})`:""}l(bR,"getLabelDescr");function ah(e,t){return(e&t)>0}l(ah,"hasBitFlag");function Yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Yt,"_define_property");var gR=class{init(t){let r=this.getTarget(t),[,n]=so(null,r),o=this.getEventInit();return ro(t,r),t.dispatchUIEvent(r,"pointerover",o),n.forEach(a=>t.dispatchUIEvent(a,"pointerenter",o)),this}move(t,r){let n=this.position,o=this.getTarget(t);if(this.position=r,!gg(n,r))return;let a=this.getTarget(t),i=this.getEventInit(-1),[s,c]=so(o,a);return{leave:l(()=>{ei(t,o)&&o!==a&&(t.dispatchUIEvent(o,"pointerout",i),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",i)))},"leave"),enter:l(()=>{ro(t,a),o!==a&&(t.dispatchUIEvent(a,"pointerover",i),c.forEach(u=>t.dispatchUIEvent(u,"pointerenter",i)))},"enter"),move:l(()=>{t.dispatchUIEvent(a,"pointermove",i)},"move")}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);ro(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;let n=this.getTarget(t);ro(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=so(r,null),o=this.getEventInit();ei(t,r)&&(t.dispatchUIEvent(r,"pointerout",o),n.forEach(a=>t.dispatchUIEvent(a,"pointerleave",o))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:cl(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){Yt(this,"pointerId",void 0),Yt(this,"pointerType",void 0),Yt(this,"isPrimary",void 0),Yt(this,"buttons",void 0),Yt(this,"isMultitouch",!1),Yt(this,"isCancelled",!1),Yt(this,"isDown",!1),Yt(this,"isPrevented",!1),Yt(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};l(gR,"Pointer");var Y8=gR;function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(br,"_define_property");var yR=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);let o=this.getPointerName(r),a=r.pointerType==="touch"?this.pointers.new(o,r.pointerType,this.buttons):this.pointers.get(o);a.position=n,a.pointerType!=="touch"&&(this.mouse.position=n),a.pointerType==="touch"&&a.init(t),a.down(t,r.button),a.pointerType!=="touch"&&this.mouse.down(t,r,a.isPrevented)}async move(t,r,n){let o=this.pointers.get(r),a=o.move(t,n),i=o.pointerType==="touch"?void 0:this.mouse.move(t,n,o.isPrevented);a==null||a.leave(),i==null||i.leave(),a==null||a.enter(),i==null||i.enter(),a==null||a.move(),i==null||i.move()}async release(t,r,n){let o=this.devices.get(r.pointerType);o.removePressed(r),this.buttons.up(r);let a=this.pointers.get(this.getPointerName(r)),i=a.isPrevented;if(a.position=n,a.pointerType!=="touch"&&(this.mouse.position=n),o.countPressed===0&&a.up(t,r.button),a.pointerType==="touch"&&a.release(t),a.pointerType==="touch"&&!a.isMultitouch){let s=this.mouse.move(t,n,i);s==null||s.leave(),s==null||s.enter(),s==null||s.move(),this.mouse.down(t,r,i)}if(!a.isMultitouch){let s=this.mouse.move(t,n,i);s==null||s.leave(),s==null||s.enter(),s==null||s.move(),this.mouse.up(t,r,i)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){br(this,"system",void 0),br(this,"mouse",void 0),br(this,"buttons",void 0),br(this,"devices",new class{get(r){var n,o,a;return(a=(n=this.registry)[o=r])!==null&&a!==void 0?a:n[o]=new W8}constructor(){br(this,"registry",{})}}),br(this,"pointers",new class{new(r,n,o){let a=n!=="touch"||!Object.values(this.registry).some(i=>i.pointerType==="touch"&&!i.isCancelled);return a||Object.values(this.registry).forEach(i=>{i.pointerType===n&&!i.isCancelled&&(i.isMultitouch=!0)}),this.registry[r]=new Y8({pointerId:this.nextId++,pointerType:n,isPrimary:a},o),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){br(this,"registry",{}),br(this,"nextId",1)}}),this.system=t,this.buttons=new sR,this.mouse=new G8,this.pointers.new("mouse","mouse",this.buttons)}};l(yR,"PointerHost");var K8=yR;function ih(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(ih,"_define_property");var vR=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(){ih(this,"keyboard",new U8(this)),ih(this,"pointer",new K8(this))}};l(vR,"System");var wR=vR;async function ER(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}l(ER,"click");async function xR(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}l(xR,"dblClick");async function CR(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}l(CR,"tripleClick");async function SR(e){return this.pointer({target:e})}l(SR,"hover");async function AR(e){return ro(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}l(AR,"unhover");async function PR({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}l(PR,"tab");var vg=(function(e){return e["{"]="}",e["["]="]",e})(vg||{});function wg(e,t){let r=0,n=e[r]in vg?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?OR(e,r,t):TR(e,r,o,t)}}l(wg,"readNextDescriptor");function OR(e,t,r){let n=e[t];return Eg(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}l(OR,"readPrintableChar");function TR(e,t,r,n){var o,a;let i=e[t]==="/"?"/":"";t+=i.length;let s=r==="{"&&e[t]==="\\";t+=Number(s);let c=s?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];Eg(c,e,t,n),t+=c.length;var u;let d=(u=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&u!==void 0?u:"";t+=d.length;let p=e[t]==="/"||!d&&e[t]===">"?e[t]:"";t+=p.length;let f=vg[r],h=e[t]===f?f:"";if(!h)throw new Error(xg([!d&&"repeat modifier",!p&&"release modifier",`"${f}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=h.length,{consumedLength:t,descriptor:c,releasePrevious:!!i,repeat:d?Math.max(Number(d.substr(1)),1):1,releaseSelf:RR(p,d)}}l(TR,"readTag");function Eg(e,t,r,n){if(!e)throw new Error(xg("key descriptor",t[r],t,n))}l(Eg,"assertDescriptor");function RR(e,t){if(e)return e==="/";if(t)return!1}l(RR,"hasReleaseSelf");function xg(e,t,r,n){return`Expected ${e} but found "${t!=null?t:""}" in "${r}"
|
|
400
|
+
See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
|
|
401
|
+
for more information about how userEvent parses your input.`}l(xg,"getErrorMessage");function _R(e,t){let r=[];do{let{type:o,descriptor:a,consumedLength:i,releasePrevious:s,releaseSelf:c=!0,repeat:u}=wg(t,"keyboard");var n;let d=(n=e.find(p=>{if(o==="["){var f;return((f=p.code)===null||f===void 0?void 0:f.toLowerCase())===a.toLowerCase()}else if(o==="{"){var h;return((h=p.key)===null||h===void 0?void 0:h.toLowerCase())===a.toLowerCase()}return p.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:a};r.push({keyDef:d,releasePrevious:s,releaseSelf:c,repeat:u}),t=t.slice(i)}while(t);return r}l(_R,"parseKeyDef");async function kR(e){let t=_R(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Rn(this.config),await qR(this,t[r])}l(kR,"keyboard");async function qR(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:a}=e;if(a.keyboard.isKeyPressed(t)&&await a.keyboard.keyup(e,t),!r){for(let i=1;i<=o;i++)await a.keyboard.keydown(e,t),i<o&&await Rn(e.config);n&&await a.keyboard.keyup(e,t)}}l(qR,"keyboardAction");async function MR(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}l(MR,"releaseAllKeys");function Cg(e){let t=Nt(e)?{"text/plain":jR(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Su(wt(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}l(Cg,"copySelection");function jR(e){let t=Co(e);return Ft(e).substring(t.startOffset,t.endOffset)}l(jR,"readSelectedValueFromInput");async function IR(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Cg(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await tg(e,n),n}l(IR,"copy");async function DR(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Cg(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await tg(r.ownerDocument,n),n}l(DR,"cut");async function NR(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let a=(o=typeof e=="string"?FR(t,e):e)!==null&&o!==void 0?o:await aT(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}l(NR,"paste");function FR(e,t){let r=Su(wt(e));return r.setData("text",t),r}l(FR,"getClipboardDataFromString");function sh(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:a,releaseSelf:i=!0}=wg(t,"pointer"),s=e.find(c=>c.name===n);s&&r.push({keyDef:s,releasePrevious:a,releaseSelf:i}),t=t.slice(o)}while(t);return r}l(sh,"parseKeyDef");async function $R(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...sh(t,n)):"keys"in n?r.push(...sh(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Rn(this.config),await LR(this,r[n]);this.system.pointer.resetClickCount()}l($R,"pointer");async function LR(e,t){var r,n;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",a=e.system.pointer.getPreviousPosition(o);var i,s,c,u;let d={target:(i=t.target)!==null&&i!==void 0?i:BR(e,a),coords:(s=t.coords)!==null&&s!==void 0?s:a==null?void 0:a.coords,caret:{node:(c=t.node)!==null&&c!==void 0?c:lh(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(u=t.offset)!==null&&u!==void 0?u:lh(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(to(e,bt.Trigger),await e.system.pointer.release(e,t.keyDef,d)),t.releasePrevious||(to(e,bt.Trigger),await e.system.pointer.press(e,t.keyDef,d),t.releaseSelf&&(to(e,bt.Trigger),await e.system.pointer.release(e,t.keyDef,d)))):(to(e,bt.Trigger),await e.system.pointer.move(e,o,d))}l(LR,"pointerAction");function lh(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}l(lh,"hasCaretPosition");function BR(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}l(BR,"getPrevTarget");async function HR(e){if(!Pn(e)||Zt(e))throw new Error("clear()` is only supported on editable elements.");if(Cr(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(cg(e),!BT(e))throw new Error("The element content to be cleared could not be selected.");Tn(this,e,"","deleteContentBackward")}l(HR,"clear");async function UR(e,t){return Sg.call(this,!0,e,t)}l(UR,"selectOptions");async function VR(e,t){return Sg.call(this,!1,e,t)}l(VR,"deselectOptions");async function Sg(e,t,r){if(!e&&!t.multiple)throw be().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),a=n.map(s=>{if(typeof s!="string"&&o.includes(s))return s;{let c=o.find(u=>u.value===s||u.innerHTML===s);if(c)return c;throw be().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Zt(s));if(Zt(t)||!a.length)return;let i=l(s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(he(t,"select"))if(t.multiple)for(let s of a){let c=this.config.pointerEventsCheck===0?!0:ei(this,s);c&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),Cr(t),c&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),i(s),c&&this.dispatchUIEvent(s,"click"),await Rn(this.config)}else if(a.length===1){let s=this.config.pointerEventsCheck===0?!0:ei(this,t);s?await this.click(t):Cr(t),i(a[0]),s&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Rn(this.config)}else throw be().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of a)await this.click(s),await this.unhover(s);else throw be().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}l(Sg,"selectOptionsBase");async function zR(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:a}={}){e.disabled||(r||await this.click(e),o!==void 0&&eo(e,o,a!=null?a:o),await this.keyboard(t),n||await MR(this))}l(zR,"type");var VE=Symbol("files and value properties are mocked");function Ps(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}l(Ps,"restoreProperty");function WR(e,t){var r;(r=e[VE])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function i(){Ps(e,"type",n),Ps(e,"value",o),Ps(e,"files",a)}l(i,"restore"),e[VE]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:l(()=>t,"get")},value:{configurable:!0,get:l(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),set(s){if(s==="")i();else{var c;o==null||(c=o.set)===null||c===void 0||c.call(e,s)}}},type:{configurable:!0,get:l(()=>"file","get"),set(s){s!=="file"&&(i(),e.type=s)}}})}l(WR,"setFiles");async function GR(e,t){let r=he(e,"label")?e.control:e;if(!r||!he(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(Zt(e))return;let n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||YR(a,r.accept)).slice(0,r.multiple?void 0:1),o=l(()=>{var a;n.length===((a=r.files)===null||a===void 0?void 0:a.length)&&n.every((i,s)=>{var c;return i===((c=r.files)===null||c===void 0?void 0:c.item(s))})||(WR(r,Cu(wt(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}l(GR,"upload");function Oa(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}l(Oa,"normalize");function YR(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return Oa(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Oa(e.name).endsWith(n):r.includes(n)?Oa(e.type).startsWith(n.replace("*","")):Oa(e.type)===n)}l(YR,"isAcceptableFile");var zE={click:ER,dblClick:xR,tripleClick:CR,hover:SR,unhover:AR,tab:PR,keyboard:kR,copy:IR,cut:DR,paste:NR,pointer:$R,clear:HR,deselectOptions:VR,selectOptions:UR,type:zR,upload:GR};function KR(e){return be().asyncWrapper(e)}l(KR,"wrapAsync");var XR={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:V8,pointerMap:z8,pointerEventsCheck:As.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:l(()=>Promise.resolve(),"advanceTimers")},X8={...XR,writeToClipboard:!0};function Ag(e={},t=X8,r){let n=e_(e,r,t);return{...t,...e,document:n}}l(Ag,"createConfig");function JR(e={}){let t=Ag(e);mg(t.document),hg(wt(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return rT(n),Ru(t).api}l(JR,"setupMain");function rt({keyboardState:e,pointerState:t,...r}={},n){let o=Ag(r,XR,n);mg(o.document),hg(wt(o.document).HTMLElement);var a;let i=(a=t!=null?t:e)!==null&&a!==void 0?a:new wR;return{api:Ru(o,i).api,system:i}}l(rt,"setupDirect");function QR(e){return Ru({...this.config,...e},this.system).api}l(QR,"setupSub");function ZR(e,t){function r(...n){return to(e,bt.Call),KR(()=>t.apply(e,n).then(async o=>(await Rn(e.config),o)))}return l(r,"method"),Object.defineProperty(r,"name",{get:l(()=>t.name,"get")}),r}l(ZR,"wrapAndBindImpl");function Ru(e,t=new wR){let r={};return Object.assign(r,{config:e,dispatchEvent:fg.bind(r),dispatchUIEvent:JT.bind(r),system:t,levelRefs:{},...zE}),{instance:r,api:{...Object.fromEntries(Object.entries(zE).map(([n,o])=>[n,ZR(r,o)])),setup:QR.bind(r)}}}l(Ru,"createInstance");function e_(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&rR(t))!==null&&o!==void 0?o:r.document}l(e_,"getDocument");var t_={};pl(t_,{clear:()=>r_,click:()=>n_,copy:()=>o_,cut:()=>a_,dblClick:()=>i_,deselectOptions:()=>s_,hover:()=>l_,keyboard:()=>u_,paste:()=>d_,pointer:()=>c_,selectOptions:()=>p_,tab:()=>g_,tripleClick:()=>f_,type:()=>h_,unhover:()=>m_,upload:()=>b_});function r_(e){return rt().api.clear(e)}l(r_,"clear");function n_(e,t={}){return rt(t,e).api.click(e)}l(n_,"click");function o_(e={}){return rt(e).api.copy()}l(o_,"copy");function a_(e={}){return rt(e).api.cut()}l(a_,"cut");function i_(e,t={}){return rt(t).api.dblClick(e)}l(i_,"dblClick");function s_(e,t,r={}){return rt(r).api.deselectOptions(e,t)}l(s_,"deselectOptions");function l_(e,t={}){return rt(t).api.hover(e)}l(l_,"hover");async function u_(e,t={}){let{api:r,system:n}=rt(t);return r.keyboard(e).then(()=>n)}l(u_,"keyboard");async function c_(e,t={}){let{api:r,system:n}=rt(t);return r.pointer(e).then(()=>n)}l(c_,"pointer");function d_(e,t){return rt(t).api.paste(e)}l(d_,"paste");function p_(e,t,r={}){return rt(r).api.selectOptions(e,t)}l(p_,"selectOptions");function f_(e,t={}){return rt(t).api.tripleClick(e)}l(f_,"tripleClick");function h_(e,t,r={}){return rt(r,e).api.type(e,t,r)}l(h_,"type");function m_(e,t={}){let{api:r,system:n}=rt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}l(m_,"unhover");function b_(e,t,r={}){return rt(r).api.upload(e,t)}l(b_,"upload");function g_(e={}){return rt().api.tab(e)}l(g_,"tab");var y_={...t_,setup:JR};function v_(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(s,c){var u=c.match(/\n([\t ]+|(?!\s).)/g);return u?s.concat(u.map(function(d){var p,f;return(f=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&f!==void 0?f:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
402
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
403
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,c){var u=i.match(/(?:^|\n)( *)$/),d=u?u[1]:"",p=s;typeof s=="string"&&s.includes(`
|
|
404
|
+
`)&&(p=String(s).split(`
|
|
405
|
+
`).map(function(f,h){return h===0?f:""+d+f}).join(`
|
|
406
|
+
`)),i+=p+n[c+1]}),i}l(v_,"dedent");var J8=v_,uh=Vt({...RA},{getKeys:l(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys"),intercept:l((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});uh.screen=new Proxy(uh.screen,{get(e,t,r){return je.warn(J8`
|
|
407
|
+
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
408
|
+
More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error
|
|
409
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:NY,configure:FY,createEvent:$Y,fireEvent:LY,findAllByAltText:BY,findAllByDisplayValue:HY,findAllByLabelText:UY,findAllByPlaceholderText:VY,findAllByRole:zY,findAllByTestId:WY,findAllByText:GY,findAllByTitle:YY,findByAltText:KY,findByDisplayValue:XY,findByLabelText:JY,findByPlaceholderText:QY,findByRole:ZY,findByTestId:eK,findByText:tK,findByTitle:rK,getAllByAltText:nK,getAllByDisplayValue:oK,getAllByLabelText:aK,getAllByPlaceholderText:iK,getAllByRole:sK,getAllByTestId:lK,getAllByText:uK,getAllByTitle:cK,getByAltText:dK,getByDisplayValue:pK,getByLabelText:fK,getByPlaceholderText:hK,getByRole:mK,getByTestId:bK,getByText:gK,getByTitle:yK,getConfig:vK,getDefaultNormalizer:wK,getElementError:EK,getNodeText:xK,getQueriesForElement:CK,getRoles:SK,getSuggestedQuery:AK,isInaccessible:PK,logDOM:OK,logRoles:TK,prettyDOM:RK,queries:_K,queryAllByAltText:kK,queryAllByAttribute:qK,queryAllByDisplayValue:MK,queryAllByLabelText:jK,queryAllByPlaceholderText:IK,queryAllByRole:DK,queryAllByTestId:NK,queryAllByText:FK,queryAllByTitle:$K,queryByAltText:LK,queryByAttribute:BK,queryByDisplayValue:HK,queryByLabelText:UK,queryByPlaceholderText:VK,queryByRole:zK,queryByTestId:WK,queryByText:GK,queryByTitle:YK,queryHelpers:KK,screen:XK,waitFor:JK,waitForElementToBeRemoved:QK,within:w_,prettyFormat:ZK}=uh,E_=y_,{userEvent:eX}=Vt({userEvent:y_},{intercept:!0,getKeys:l(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys")}),{expect:tX}=Vt({expect:PA},{getKeys:l((e,t)=>{if("constructor"in e&&e.constructor===j){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},"getKeys"),mutate:!0,intercept:l(e=>e!=="expect","intercept")});var Q8=Object.create,$u=Object.defineProperty,Z8=Object.getOwnPropertyDescriptor,eV=Object.getOwnPropertyNames,tV=Object.getPrototypeOf,rV=Object.prototype.hasOwnProperty,F=(e,t)=>$u(e,"name",{value:t,configurable:!0}),nV=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ek=(e,t)=>{for(var r in t)$u(e,r,{get:t[r],enumerable:!0})},oV=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of eV(t))!rV.call(e,o)&&o!==r&&$u(e,o,{get:()=>t[o],enumerable:!(n=Z8(t,o))||n.enumerable});return e},aV=(e,t,r)=>(r=e!=null?Q8(tV(e)):{},oV(t||!e||!e.__esModule?$u(r,"default",{value:e,enumerable:!0}):r,e)),iV=nV(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,a){return F(function i(s,c,u){var d,p,f,h=t.call(s),m=t.call(c);if(s===c)return!0;if(s==null||c==null)return!1;if(u.indexOf(s)>-1&&u.indexOf(c)>-1)return!0;if(u.push(s,c),h!=m||(d=n(s),p=n(c),d.length!=p.length||d.some(function(b){return!i(s[b],c[b],u)})))return!1;switch(h.slice(8,-1)){case"Symbol":return s.valueOf()==c.valueOf();case"Date":case"Number":return+s==+c||+s!=+s&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+c;case"Set":case"Map":d=s.entries(),p=c.entries();do if(!i((f=d.next()).value,p.next().value,u))return!1;while(!f.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),c=new Uint8Array(c);case"DataView":s=new Uint8Array(s.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=c.length)return!1;for(f=0;f<s.length;f++)if((f in s||f in c)&&(f in s!=f in c||!i(s[f],c[f],u)))return!1;return!0;case"Object":return i(r(s),r(c),u);default:return!1}},"n")(o,a,[])}})()});function tk(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,o)=>`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}F(tk,"toStartCaseStr");var x_=aV(iV(),1),rk=F(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),sV=F((e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(rk([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,x_.isEqual)(t,n);if(typeof o<"u")return!(0,x_.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},"testValue"),Lu=F((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(rk([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return sV(e.if,a)},"includeConditionalArg");function nk(){let e={setHandler:F(()=>{},"setHandler"),send:F(()=>{},"send")};return new ca({transport:e})}F(nk,"mockChannel");var ok=class{constructor(){this.getChannel=F(()=>{if(!this.channel){let t=nk();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=F(()=>this.promise,"ready"),this.hasChannel=F(()=>!!this.channel,"hasChannel"),this.setChannel=F(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};F(ok,"AddonStore");var lV=ok,Pg="__STORYBOOK_ADDONS_PREVIEW";function ak(){return Z[Pg]||(Z[Pg]=new lV),Z[Pg]}F(ak,"getAddonsStore");var C_=ak(),ik=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=F(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(),C_.getChannel().on(lr,this.renderListener)}removeRenderListeners(){C_.getChannel().removeListener(lr,this.renderListener)}};F(ik,"HooksContext");var uV=ik;function Rg(e){let t=F((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,a=n.currentHooks,i=n.nextHookIndex,s=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let c=Z.STORYBOOK_HOOKS_CONTEXT;Z.STORYBOOK_HOOKS_CONTEXT=n;let u=e(...r);if(Z.STORYBOOK_HOOKS_CONTEXT=c,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=a,n.nextHookIndex=i,n.currentDecoratorName=s,u},"hookified");return t.originalFn=e,t}F(Rg,"hookify");var Og=0,cV=25,dV=F(e=>(t,r)=>{let n=e(Rg(t),r.map(o=>Rg(o)));return o=>{var s;let{hooks:a}=o;(s=a.prevMountedDecorators)!=null||(a.prevMountedDecorators=new Set),a.mountedDecorators=new Set([t,...r]),a.currentContext=o,a.hasUpdates=!1;let i=n(o);for(Og=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=n(o),Og+=1,Og>cV)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks");function Mu(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}F(Mu,"isPlainObject");function Fo(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let a=n[o],i=e[a];r[a]=t(i,a,e)}return r}F(Fo,"mapValues");function sk(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let a=n[o],i=e[a];t(i,a)&&(r[a]=i)}return r}F(sk,"pickBy");function Bu(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(s,c){var u=c.match(/\n([\t ]+|(?!\s).)/g);return u?s.concat(u.map(function(d){var p,f;return(f=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&f!==void 0?f:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
410
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
411
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,c){var u=i.match(/(?:^|\n)( *)$/),d=u?u[1]:"",p=s;typeof s=="string"&&s.includes(`
|
|
412
|
+
`)&&(p=String(s).split(`
|
|
413
|
+
`).map(function(f,h){return h===0?f:""+d+f}).join(`
|
|
414
|
+
`)),i+=p+n[c+1]}),i}F(Bu,"dedent");var FX=Symbol("incompatible"),$X=Symbol("Deeply equal"),lk="UNTARGETED";function uk({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=lk}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}F(uk,"groupArgsByTarget");var pV=F((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),fV=F(e=>typeof e=="string"?{name:e}:e,"normalizeType"),hV=F(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),mV=F((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=fV(r)),n?a.control=hV(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),Iu=F(e=>Fo(e,mV),"normalizeInputTypes"),ye=F(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),bV=Bu`
|
|
415
|
+
CSF .story annotations deprecated; annotate story functions directly:
|
|
416
|
+
- StoryFn.story.name => StoryFn.storyName
|
|
417
|
+
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
418
|
+
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
419
|
+
`;function ck(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(pe.debug("deprecated story",a),Ln(bV));let i=Gu(e),s=typeof n!="function"&&n.name||n.storyName||(a==null?void 0:a.name)||i,c=[...ye(n.decorators),...ye(a==null?void 0:a.decorators)],u={...a==null?void 0:a.parameters,...n.parameters},d={...a==null?void 0:a.args,...n.args},p={...a==null?void 0:a.argTypes,...n.argTypes},f=[...ye(n.loaders),...ye(a==null?void 0:a.loaders)],h=[...ye(n.beforeEach),...ye(a==null?void 0:a.beforeEach)],m=[...ye(n.afterEach),...ye(a==null?void 0:a.afterEach)],{render:b,play:w,tags:g=[],globals:E={}}=n,C=u.__id||Wu(r.id,i);return{moduleExport:t,id:C,name:s,tags:g,decorators:c,parameters:u,args:d,argTypes:Iu(p),loaders:f,beforeEach:h,afterEach:m,globals:E,...b&&{render:b},...o&&{userStoryFn:o},...w&&{play:w}}}F(ck,"normalizeStory");function dk(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Ci(n||t),...e,title:t,...o&&{argTypes:Iu(o)},parameters:{fileName:r,...e.parameters}}}F(dk,"normalizeComponentAnnotations");function pk(e){return e!=null&&fk(e).includes("mount")}F(pk,"mountDestructured");function fk(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=_g(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?_g(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}F(fk,"getUsedProps");function _g(e){let t=[],r=[],n=0;for(let a=0;a<e.length;a++)if(e[a]==="{"||e[a]==="[")r.push(e[a]==="{"?"}":"]");else if(e[a]===r[r.length-1])r.pop();else if(!r.length&&e[a]===","){let i=e.substring(n,a).trim();i&&t.push(i),n=a+1}let o=e.substring(n).trim();return o&&t.push(o),t}F(_g,"splitByComma");function hk(e,t,r){let n=r(e);return o=>t(n,o)}F(hk,"decorateStory");function mk({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:i,initialArgs:s,argTypes:c,...u}={}){return u}F(mk,"sanitizeStoryContextUpdate");function bk(e,t){let r={},n=F(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...mk(i)},a(r.value)},"bindWithContext"),o=t.reduce((a,i)=>hk(a,i,n),e);return a=>(r.value=a,o(a))}F(bk,"defaultDecorateStory");var nn=F((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([i,s])=>{let c=o[i];Array.isArray(s)||typeof c>"u"?o[i]=s:Mu(s)&&Mu(c)?t[i]=!0:typeof s<"u"&&(o[i]=s)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(i=>i[o]).filter(i=>typeof i<"u");a.every(i=>Mu(i))?n[o]=nn(...a):n[o]=a[a.length-1]}),n},"combineParameters");function gk(e,t,r){var S,y,v,A;let{moduleExport:n,id:o,name:a}=e||{},i=yk(e,t,r),s=F(async T=>{let _={};for(let N of[ye(r.loaders),ye(t.loaders),ye(e.loaders)]){if(T.abortSignal.aborted)return _;let $=await Promise.all(N.map(R=>R(T)));Object.assign(_,...$)}return _},"applyLoaders"),c=F(async T=>{let _=new Array;for(let N of[...ye(r.beforeEach),...ye(t.beforeEach),...ye(e.beforeEach)]){if(T.abortSignal.aborted)return _;let $=await N(T);$&&_.push($)}return _},"applyBeforeEach"),u=F(async T=>{let _=[...ye(r.afterEach),...ye(t.afterEach),...ye(e.afterEach)].reverse();for(let N of _){if(T.abortSignal.aborted)return;await N(T)}},"applyAfterEach"),d=F(T=>T.originalStoryFn(T.args,T),"undecoratedStoryFn"),{applyDecorators:p=bk,runStep:f}=r,h=[...ye(e==null?void 0:e.decorators),...ye(t==null?void 0:t.decorators),...ye(r==null?void 0:r.decorators)],m=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,b=dV(p)(d,h),w=F(T=>b(T),"unboundStoryFn"),g=(S=e==null?void 0:e.play)!=null?S:t==null?void 0:t.play,E=pk(g);if(!m&&!E)throw new Wi({id:o});let C=F(T=>async()=>(await T.renderToCanvas(),T.canvas),"defaultMount"),x=(A=(v=(y=e.mount)!=null?y:t.mount)!=null?v:r.mount)!=null?A:C,P=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:o,name:a,story:a,originalStoryFn:m,undecoratedStoryFn:d,unboundStoryFn:w,applyLoaders:s,applyBeforeEach:c,applyAfterEach:u,playFunction:g,runStep:f,mount:x,testingLibraryRender:P,renderToCanvas:r.renderToCanvas,usesMount:E}}F(gk,"prepareStory");function yk(e,t,r){var g,E,C,x;let n=["dev","test"],o=((g=Z.DOCS_OPTIONS)==null?void 0:g.autodocs)===!0?["autodocs"]:[],a=Ho(...n,...o,...(E=r.tags)!=null?E:[],...(C=t.tags)!=null?C:[],...(x=e==null?void 0:e.tags)!=null?x:[]),i=nn(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:s=[],argsEnhancers:c=[]}=r,u=nn(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let P=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;i.__isArgsStory=P&&P.length>0}let d={...r.args,...t.args,...e==null?void 0:e.args},p={...t.globals,...e==null?void 0:e.globals},f={componentId:t.id,title:t.title,kind:t.title,id:(e==null?void 0:e.id)||t.id,name:(e==null?void 0:e.name)||"__meta",story:(e==null?void 0:e.name)||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:i,initialArgs:d,argTypes:u,storyGlobals:p};f.argTypes=s.reduce((P,S)=>S({...f,argTypes:P}),f.argTypes);let h={...d};f.initialArgs=[...c].reduce((P,S)=>({...P,...S({...f,initialArgs:P})}),h);let{name:m,story:b,...w}=f;return w}F(yk,"preparePartialAnnotations");function vk(e){var a;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((a=Z.FEATURES)!=null&&a.argTypeTargetsV7){let i=uk(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[lk]||{}}}let n=Object.entries(r.args).reduce((i,[s,c])=>{var d;if(!((d=r.argTypes[s])!=null&&d.mapping))return i[s]=c,i;let u=F(p=>{let f=r.argTypes[s].mapping;return f&&p in f?f[p]:p},"mappingFn");return i[s]=Array.isArray(c)?c.map(u):u(c),i},{}),o=Object.entries(n).reduce((i,[s,c])=>{let u=r.argTypes[s]||{};return Lu(u,n,r.globals)&&(i[s]=c),i},{});return{...r,unmappedArgs:t,args:o}}F(vk,"prepareContext");var kg=F((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(pe.warn(Bu`
|
|
420
|
+
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
421
|
+
|
|
422
|
+
Consider using the mapping feature or fully custom args:
|
|
423
|
+
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
424
|
+
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
425
|
+
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?kg(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Fo(e,o=>kg(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),wk=F(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Fo(n,(i,s)=>({name:s,type:kg(i,`${t}.${s}`,new Set)})),a=Fo(r,(i,s)=>({name:s}));return nn(o,a,r)},"inferArgTypes");wk.secondPass=!0;var S_=F((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),gV=F((e,t,r)=>!t&&!r?e:e&&sk(e,(n,o)=>{let a=n.name||o.toString();return!!(!t||S_(a,t))&&(!r||!S_(a,r))}),"filterArgTypes"),yV=F((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&pe.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=n;return{control:{type:(a==null?void 0:a.length)<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),Ek=F(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let i=gV(t,n,o),s=Fo(i,(c,u)=>(c==null?void 0:c.type)&&yV(c,u.toString(),a));return nn(s,i)},"inferControls");Ek.secondPass=!0;function Dg({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,afterEach:i,initialGlobals:s,...c}){return{...e&&{argTypes:Iu(e)},...t&&{globalTypes:Iu(t)},decorators:ye(n),loaders:ye(o),beforeEach:ye(a),afterEach:ye(i),argTypesEnhancers:[...r||[],wk,Ek],initialGlobals:s,...c}}F(Dg,"normalizeProjectAnnotations");var vV=F(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function xk(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}F(xk,"composeStepRunners");function $o(e,t){return e.map(r=>{var n,o;return(o=(n=r.default)==null?void 0:n[t])!=null?o:r[t]}).filter(Boolean)}F($o,"getField");function Rr(e,t,r={}){return $o(e,t).reduce((n,o)=>{let a=ye(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}F(Rr,"getArrayField");function xi(e,t){return Object.assign({},...$o(e,t))}F(xi,"getObjectField");function Do(e,t){return $o(e,t).pop()}F(Do,"getSingletonField");function Ng(e){var o,a;let t=Rr(e,"argTypesEnhancers"),r=$o(e,"runStep"),n=Rr(e,"beforeAll");return{parameters:nn(...$o(e,"parameters")),decorators:Rr(e,"decorators",{reverseFileOrder:!((a=(o=Z.FEATURES)==null?void 0:o.legacyDecoratorFileOrder)!=null&&a)}),args:xi(e,"args"),argsEnhancers:Rr(e,"argsEnhancers"),argTypes:xi(e,"argTypes"),argTypesEnhancers:[...t.filter(i=>!i.secondPass),...t.filter(i=>i.secondPass)],initialGlobals:xi(e,"initialGlobals"),globalTypes:xi(e,"globalTypes"),loaders:Rr(e,"loaders"),beforeAll:vV(n),beforeEach:Rr(e,"beforeEach"),afterEach:Rr(e,"afterEach"),render:Do(e,"render"),renderToCanvas:Do(e,"renderToCanvas"),applyDecorators:Do(e,"applyDecorators"),runStep:xk(r),tags:Rr(e,"tags"),mount:Do(e,"mount"),testingLibraryRender:Do(e,"testingLibraryRender")}}F(Ng,"composeConfigs");function Ck(){var e,t,r;try{return!!globalThis.__vitest_browser__||!!((r=(t=(e=globalThis.window)==null?void 0:e.navigator)==null?void 0:t.userAgent)!=null&&r.match(/StorybookTestRunner/))}catch(n){return!1}}F(Ck,"isTestEnvironment");function Sk(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
|
|
426
|
+
animation: none !important;
|
|
427
|
+
}`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
|
|
428
|
+
animation-delay: 0s !important;
|
|
429
|
+
animation-direction: ${e?"reverse":"normal"} !important;
|
|
430
|
+
animation-play-state: paused !important;
|
|
431
|
+
transition: none !important;
|
|
432
|
+
}`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{var n;(n=r.parentNode)==null||n.removeChild(r)}}F(Sk,"pauseAnimations");async function Ak(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...Fg(globalThis.document)],o=F(async()=>{if(t||e!=null&&e.aborted)return;let a=n.flatMap(i=>{var s;return((s=i==null?void 0:i.getAnimations)==null?void 0:s.call(i))||[]}).filter(i=>i.playState==="running"&&!Pk(i));a.length>0&&(await Promise.all(a.map(i=>i.finished)),await o())},"checkAnimationsFinished");o().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}F(Ak,"waitForAnimations");function Fg(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...Fg(r.shadowRoot)),t),[])}F(Fg,"getShadowRoots");function Pk(e){var t;if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let r=getComputedStyle(e.effect.target,e.effect.pseudoElement),n=(t=r.animationName)==null?void 0:t.split(", ").indexOf(e.animationName);return r.animationIterationCount.split(", ")[n]==="infinite"}return!1}F(Pk,"isInfiniteAnimation");var Ok=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};F(Ok,"ReporterAPI");var wV=Ok,EV="ComposedStory",xV="Unnamed Story",rn=[];function Tk(e,t,r,n,o){var g,E,C;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=(g=t.title)!=null?g:EV;let a=dk(t),i=o||e.storyName||((E=e.story)==null?void 0:E.name)||e.name||xV,s=ck(i,e,a),c=Dg(Ng([(C=n!=null?n:globalThis.globalProjectAnnotations)!=null?C:{},r!=null?r:{}])),u=gk(s,a,c),d={...pV(c.globalTypes),...c.initialGlobals,...u.storyGlobals},p=new wV,f=F(()=>{let x=vk({hooks:new uV,globals:d,args:{...u.initialArgs},viewMode:"story",reporting:p,loaded:{},abortSignal:new AbortController().signal,step:F((P,S)=>u.runStep(P,S,x),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:c.globalTypes,...u,context:null,mount:null});return x.parameters.__isPortableStory=!0,x.context=x,u.renderToCanvas&&(x.renderToCanvas=async()=>{var S;let P=await((S=u.renderToCanvas)==null?void 0:S.call(u,{componentId:u.componentId,title:u.title,id:u.id,name:u.name,tags:u.tags,showMain:F(()=>{},"showMain"),showError:F(y=>{throw new Error(`${y.title}
|
|
433
|
+
${y.description}`)},"showError"),showException:F(y=>{throw y},"showException"),forceRemount:!0,storyContext:x,storyFn:F(()=>u.unboundStoryFn(x),"storyFn"),unboundStoryFn:u.unboundStoryFn},x.canvasElement));P&&rn.push(P)}),x.mount=u.mount(x),x},"initializeContext"),h,m=F(async x=>{var S,y;let P=f();return(y=P.canvasElement)!=null||(P.canvasElement=(S=globalThis==null?void 0:globalThis.document)==null?void 0:S.body),h&&(P.loaded=h.loaded),Object.assign(P,x),u.playFunction(P)},"play"),b=F(x=>{let P=f();return Object.assign(P,x),Rk(u,P)},"run"),w=u.playFunction?m:void 0;return Object.assign(F(function(x){let P=f();return h&&(P.loaded=h.loaded),P.args={...P.initialArgs,...x},u.unboundStoryFn(P)},"storyFn"),{id:u.id,storyName:i,load:F(async()=>{for(let P of[...rn].reverse())await P();rn.length=0;let x=f();x.loaded=await u.applyLoaders(x),rn.push(...(await u.applyBeforeEach(x)).filter(Boolean)),h=x},"load"),globals:d,args:u.initialArgs,parameters:u.parameters,argTypes:u.argTypes,play:w,run:b,reporting:p,tags:u.tags})}F(Tk,"composeStory");async function Rk(e,t){var a,i;for(let s of[...rn].reverse())await s();if(rn.length=0,!t.canvasElement){let s=document.createElement("div");(i=(a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body)==null||i.appendChild(s),t.canvasElement=s,rn.push(()=>{var c,u,d,p;(u=(c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body)!=null&&u.contains(s)&&((p=(d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body)==null||p.removeChild(s))})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;rn.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new Un({playFunction:r.toString()})}),await r(t));let o;Ck()?o=Sk():await Ak(t.abortSignal),await e.applyAfterEach(t),await(o==null?void 0:o())}F(Rk,"runStory");var CV=!1,Tg="Invariant failed";function Du(e,t){if(!e){if(CV)throw new Error(Tg);var r=typeof t=="function"?t():t,n=r?"".concat(Tg,": ").concat(r):Tg;throw new Error(n)}}F(Du,"invariant");var _k={};ek(_k,{argsEnhancers:()=>_V});var $g="storybook/actions",tJ=`${$g}/panel`,SV=`${$g}/action-event`,rJ=`${$g}/action-clear`,AV={depth:10,clearOnStoryChange:!0,limit:50},kk=F((e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:kk(r,t)},"findProto"),PV=F(e=>!!(typeof e=="object"&&e&&kk(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),"isReactSyntheticEvent"),OV=F(e=>{if(PV(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},"serializeArg");function Hu(e,t={}){let r={...AV,...t},n=F(function(...o){var p,f;if(t.implicit){let h=(p="__STORYBOOK_PREVIEW__"in Z?Z.__STORYBOOK_PREVIEW__:void 0)==null?void 0:p.storyRenders.find(m=>m.phase==="playing"||m.phase==="rendering");if(h){let m=!((f=globalThis==null?void 0:globalThis.FEATURES)!=null&&f.disallowImplicitActionsInRenderV8),b=new c0({phase:h.phase,name:e,deprecated:m});if(m)console.warn(b);else throw b}}let a=xt.getChannel(),i=Date.now().toString(36)+Math.random().toString(36).substring(2),s=5,c=o.map(OV),u=o.length>1?c:c[0],d={id:i,count:0,data:{name:e,args:u},options:{...r,maxDepth:s+(r.depth||3)}};a.emit(SV,d)},"actionHandler");return n.isAction=!0,n.implicit=t.implicit,n}F(Hu,"action");var qk=F((e,t)=>typeof t[e]>"u"&&!(e in t),"isInInitialArgs"),TV=F(e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:o}}=e;if(!o||o.disable||!o.argTypesRegex||!r)return{};let a=new RegExp(o.argTypesRegex);return Object.entries(r).filter(([i])=>!!a.test(i)).reduce((i,[s,c])=>(qk(s,t)&&(i[s]=Hu(s,{implicit:!0,id:n})),i),{})},"inferActionsFromArgTypesRegex"),RV=F(e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([o,a])=>!!a.action).reduce((o,[a,i])=>(qk(a,t)&&(o[a]=Hu(typeof i.action=="string"?i.action:a)),o),{})},"addActionsFromArgTypes"),_V=[RV,TV],Mk={};ek(Mk,{loaders:()=>qV});var A_=!1,kV=F(e=>{var r;let{parameters:t}=e;(r=t==null?void 0:t.actions)!=null&&r.disable||A_||(Cb((n,o)=>{let a=n.getMockName();a!=="spy"&&(!/^next\/.*::/.test(a)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(i=>a.startsWith(i)))&&Hu(a)(o)}),A_=!0)},"logActionsWhenMockCalled"),qV=[kV],P_=F(()=>({..._k,...Mk}),"default"),MV="storybook/background",Nu="backgrounds",oJ={UPDATE:`${MV}/update`},jV={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:$t}=globalThis,IV=F(()=>{var e;return globalThis!=null&&globalThis.matchMedia?!!((e=globalThis.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&e.matches):!1},"isReduceMotionEnabled"),O_=F(e=>{(Array.isArray(e)?e:[e]).forEach(DV)},"clearStyles"),DV=F(e=>{if(!$t)return;let t=$t.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},"clearStyle"),NV=F((e,t)=>{if(!$t)return;let r=$t.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=$t.createElement("style");n.setAttribute("id",e),n.innerHTML=t,$t.head.appendChild(n)}},"addGridStyle"),FV=F((e,t,r)=>{var o;if(!$t)return;let n=$t.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let a=$t.createElement("style");a.setAttribute("id",e),a.innerHTML=t;let i=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,s=$t.getElementById(i);s?(o=s.parentElement)==null||o.insertBefore(a,s):$t.head.appendChild(a)}},"addBackgroundStyle"),$V={cellSize:100,cellAmount:10,opacity:.8},T_="addon-backgrounds",R_="addon-backgrounds-grid",LV=IV()?"":"transition: background-color 0.3s;",BV=F((e,t)=>{let{globals:r={},parameters:n={},viewMode:o,id:a}=t,{options:i=jV,disable:s,grid:c=$V}=n[Nu]||{},u=r[Nu]||{},d=typeof u=="string"?u:u==null?void 0:u.value,p=d?i[d]:void 0,f=typeof p=="string"?p:(p==null?void 0:p.value)||"transparent",h=typeof u=="string"?!1:u.grid||!1,m=!!p&&!s,b=o==="docs"?`#anchor--${a} .docs-story`:".sb-show-main",w=o==="docs"?`#anchor--${a} .docs-story`:".sb-show-main",g=n.layout===void 0||n.layout==="padded",E=o==="docs"?20:g?16:0,{cellAmount:C,cellSize:x,opacity:P,offsetX:S=E,offsetY:y=E}=c,v=o==="docs"?`${T_}-docs-${a}`:`${T_}-color`,A=o==="docs"?a:null;nr(()=>{let _=`
|
|
434
|
+
${b} {
|
|
435
|
+
background: ${f} !important;
|
|
436
|
+
${LV}
|
|
437
|
+
}`;if(!m){O_(v);return}FV(v,_,A)},[b,v,A,m,f]);let T=o==="docs"?`${R_}-docs-${a}`:`${R_}`;return nr(()=>{if(!h){O_(T);return}let _=[`${x*C}px ${x*C}px`,`${x*C}px ${x*C}px`,`${x}px ${x}px`,`${x}px ${x}px`].join(", "),N=`
|
|
438
|
+
${w} {
|
|
439
|
+
background-size: ${_} !important;
|
|
440
|
+
background-position: ${S}px ${y}px, ${S}px ${y}px, ${S}px ${y}px, ${S}px ${y}px !important;
|
|
441
|
+
background-blend-mode: difference !important;
|
|
442
|
+
background-image: linear-gradient(rgba(130, 130, 130, ${P}) 1px, transparent 1px),
|
|
443
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${P}) 1px, transparent 1px),
|
|
444
|
+
linear-gradient(rgba(130, 130, 130, ${P/2}) 1px, transparent 1px),
|
|
445
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${P/2}) 1px, transparent 1px) !important;
|
|
446
|
+
}
|
|
447
|
+
`;NV(T,N)},[C,x,w,T,h,S,y,P]),e()},"withBackgroundAndGrid"),K_,HV=(K_=globalThis.FEATURES)!=null&&K_.backgrounds?[BV]:[],UV={[Nu]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},VV={[Nu]:{value:void 0,grid:!1}},__=F(()=>({decorators:HV,parameters:UV,initialGlobals:VV}),"default"),{step:zV}=Vt({step:F(async(e,t,r)=>t(r),"step")},{intercept:!0}),k_=F(()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:zV}),"default"),Uu="storybook/highlight",WV=`${Uu}/add`,GV=`${Uu}/remove`,YV=`${Uu}/reset`,KV=`${Uu}/scroll-into-view`,q_=2147483647,tn=28,M_={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z","M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z"]},XV="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),We=F((e,t={},r)=>{let n=XV.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([o,a])=>{/[A-Z]/.test(o)?(o==="onClick"&&(n.addEventListener("click",a),n.addEventListener("keydown",i=>{(i.key==="Enter"||i.key===" ")&&(i.preventDefault(),a())})),o==="onMouseEnter"&&n.addEventListener("mouseenter",a),o==="onMouseLeave"&&n.addEventListener("mouseleave",a)):n.setAttribute(o,a)}),r==null||r.forEach(o=>{if(!(o==null||o===!1))try{n.appendChild(o)}catch(a){n.appendChild(document.createTextNode(String(o)))}}),n},"createElement"),_u=F(e=>M_[e]&&We("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},M_[e].map(t=>We("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),"createIcon"),JV=F(e=>{if("elements"in e){let{elements:n,color:o,style:a}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${a} ${o}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},"normalizeOptions"),QV=F(e=>e instanceof Function,"isFunction"),Ei=new Map,jn=new Map,ku=new Map,Tr=F(e=>{let t=Symbol();return jn.set(t,[]),Ei.set(t,e),{get:F(()=>Ei.get(t),"get"),set:F(r=>{var a;let n=Ei.get(t),o=QV(r)?r(n):r;o!==n&&(Ei.set(t,o),(a=jn.get(t))==null||a.forEach(i=>{var s;(s=ku.get(i))==null||s(),ku.set(i,i(o))}))},"set"),subscribe:F(r=>{var n;return(n=jn.get(t))==null||n.push(r),()=>{let o=jn.get(t);o&&jn.set(t,o.filter(a=>a!==r))}},"subscribe"),teardown:F(()=>{var r;(r=jn.get(t))==null||r.forEach(n=>{var o;(o=ku.get(n))==null||o(),ku.delete(n)}),jn.delete(t),Ei.delete(t)},"teardown")}},"useStore"),j_=F(e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:o=0}=n;for(let a of n.selectors){let i=[...document.querySelectorAll(`:is(${a}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...(t==null?void 0:t.querySelectorAll(a))||[]];for(let s of i){let c=r.get(s);(!c||c.priority<=o)&&r.set(s,{...n,priority:o,selectors:Array.from(new Set(((c==null?void 0:c.selectors)||[]).concat(a)))})}}}return r},"mapElements"),ZV=F(e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:o,focusStyles:a,menu:i}])=>{let{top:s,left:c,width:u,height:d}=t.getBoundingClientRect(),{position:p}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:o,focusStyles:a,menu:i,top:p==="fixed"?s:s+window.scrollY,left:p==="fixed"?c:c+window.scrollX,width:u,height:d}}).sort((t,r)=>r.width*r.height-t.width*t.height),"mapBoxes"),I_=F((e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:o}=t;return(r==null?void 0:r.top)&&(r==null?void 0:r.left)&&n>=r.left&&n<=r.left+r.width&&o>=r.top&&o<=r.top+r.height},"isOverMenu"),D_=F((e,t,r)=>{if(!t||!r)return!1;let{left:n,top:o,width:a,height:i}=e;i<tn&&(o=o-Math.round((tn-i)/2),i=tn),a<tn&&(n=n-Math.round((tn-a)/2),a=tn),t.style.position==="fixed"&&(n+=window.scrollX,o+=window.scrollY);let{x:s,y:c}=r;return s>=n&&s<=n+a&&c>=o&&c<=o+i},"isTargeted"),ez=F((e,t,r={})=>{let{x:n,y:o}=t,{margin:a=5,topOffset:i=0,centered:s=!1}=r,{scrollX:c,scrollY:u,innerHeight:d,innerWidth:p}=window,f=Math.min(e.style.position==="fixed"?o-u:o,d-e.clientHeight-a-i+u),h=s?e.clientWidth/2:0,m=e.style.position==="fixed"?Math.max(Math.min(n-c,p-h-a),h+a):Math.max(Math.min(n,p-h-a+c),h+a+c);Object.assign(e.style,{...m!==n&&{left:`${m}px`},...f!==o&&{top:`${f}px`}})},"keepInViewport"),N_=F(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},"showPopover"),tz=F(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},"hidePopover"),rz=F(e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),"getEventDetails"),qe="storybook-highlights-menu",F_="storybook-highlights-root",nz="storybook-root",oz=F(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=Tr([]),n=Tr(new Map),o=Tr([]),a=Tr(),i=Tr(),s=Tr([]),c=Tr([]),u=Tr(),d=Tr(),p=t.getElementById(F_);r.subscribe(()=>{p||(p=We("div",{id:F_}),t.body.appendChild(p))}),r.subscribe(y=>{let v=t.getElementById(nz);if(!v)return;n.set(j_(y));let A=new MutationObserver(()=>n.set(j_(y)));return A.observe(v,{subtree:!0,childList:!0}),()=>{A.disconnect()}}),n.subscribe(y=>{let v=F(()=>requestAnimationFrame(()=>o.set(ZV(y))),"updateBoxes"),A=new ResizeObserver(v);A.observe(t.body),Array.from(y.keys()).forEach(_=>A.observe(_));let T=Array.from(t.body.querySelectorAll("*")).filter(_=>{let{overflow:N,overflowX:$,overflowY:R}=window.getComputedStyle(_);return["auto","scroll"].some(k=>[N,$,R].includes(k))});return T.forEach(_=>_.addEventListener("scroll",v)),()=>{A.disconnect(),T.forEach(_=>_.removeEventListener("scroll",v))}}),n.subscribe(y=>{let v=Array.from(y.keys()).filter(({style:T})=>T.position==="sticky"),A=F(()=>requestAnimationFrame(()=>{o.set(T=>T.map(_=>{if(v.includes(_.element)){let{top:N,left:$}=_.element.getBoundingClientRect();return{..._,top:N+window.scrollY,left:$+window.scrollX}}return _}))}),"updateBoxes");return t.addEventListener("scroll",A),()=>t.removeEventListener("scroll",A)}),n.subscribe(y=>{s.set(v=>v.filter(({element:A})=>y.has(A)))}),s.subscribe(y=>{y.length?(d.set(v=>y.some(A=>A.element===(v==null?void 0:v.element))?v:void 0),u.set(v=>y.some(A=>A.element===(v==null?void 0:v.element))?v:void 0)):(d.set(void 0),u.set(void 0),a.set(void 0))});let f=new Map(new Map);r.subscribe(y=>{y.forEach(({keyframes:v})=>{if(v){let A=f.get(v);A||(A=t.createElement("style"),A.setAttribute("data-highlight","keyframes"),f.set(v,A),t.head.appendChild(A)),A.innerHTML=v}}),f.forEach((v,A)=>{y.some(T=>T.keyframes===A)||(v.remove(),f.delete(A))})});let h=new Map(new Map);o.subscribe(y=>{y.forEach(v=>{let A=h.get(v.element);if(p&&!A){let T={popover:"manual","data-highlight-dimensions":`w${v.width.toFixed(0)}h${v.height.toFixed(0)}`,"data-highlight-coordinates":`x${v.left.toFixed(0)}y${v.top.toFixed(0)}`};A=p.appendChild(We("div",T,[We("div")])),h.set(v.element,A)}}),h.forEach((v,A)=>{y.some(({element:T})=>T===A)||(v.remove(),h.delete(A))})}),o.subscribe(y=>{let v=y.filter(T=>T.menu);if(!v.length)return;let A=F(T=>{requestAnimationFrame(()=>{let _=t.getElementById(qe),N={x:T.pageX,y:T.pageY};if(_&&!I_(_,N)){let $=v.filter(R=>{let k=h.get(R.element);return D_(R,k,N)});a.set($.length?N:void 0),s.set($)}})},"onClick");return t.addEventListener("click",A),()=>t.removeEventListener("click",A)});let m=F(()=>{let y=t.getElementById(qe),v=i.get();!v||y&&I_(y,v)||c.set(A=>{let T=o.get().filter(R=>{let k=h.get(R.element);return D_(R,k,v)}),_=A.filter(R=>T.includes(R)),N=T.filter(R=>!A.includes(R)),$=A.length-_.length;return N.length||$?[..._,...N]:A})},"updateHovered");i.subscribe(m),o.subscribe(m);let b=F(()=>{let y=d.get(),v=y?[y]:s.get(),A=v.length===1?v[0]:u.get(),T=a.get()!==void 0;o.get().forEach(_=>{var $;let N=h.get(_.element);if(N){let R=A===_,k=T?A?R:v.includes(_):($=c.get())==null?void 0:$.includes(_);Object.assign(N.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",..._.styles,...k?_.hoverStyles:{},...R?_.focusStyles:{},position:getComputedStyle(_.element).position==="fixed"?"fixed":"absolute",zIndex:q_-10,top:`${_.top}px`,left:`${_.left}px`,width:`${_.width}px`,height:`${_.height}px`,margin:0,padding:0,cursor:_.menu&&k?"pointer":"default",pointerEvents:_.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(N.children[0].style,{width:"100%",height:"100%",minHeight:`${tn}px`,minWidth:`${tn}px`,boxSizing:"content-box",padding:N.style.outlineWidth||"0px"}),N_(N)}})},"updateBoxStyles");o.subscribe(b),s.subscribe(b),c.subscribe(b),u.subscribe(b),d.subscribe(b);let w=F(()=>{var _;if(!p)return;let y=t.getElementById(qe);if(y)y.innerHTML="";else{let N={id:qe,popover:"manual"};y=p.appendChild(We("div",N)),p.appendChild(We("style",{},[`
|
|
448
|
+
#${qe} {
|
|
449
|
+
position: absolute;
|
|
450
|
+
z-index: ${q_};
|
|
451
|
+
width: 300px;
|
|
452
|
+
padding: 0px;
|
|
453
|
+
margin: 15px 0 0 0;
|
|
454
|
+
transform: translateX(-50%);
|
|
455
|
+
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
456
|
+
font-size: 12px;
|
|
457
|
+
background: white;
|
|
458
|
+
border: none;
|
|
459
|
+
border-radius: 6px;
|
|
460
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
|
|
461
|
+
color: #2E3438;
|
|
462
|
+
}
|
|
463
|
+
#${qe} ul {
|
|
464
|
+
list-style: none;
|
|
465
|
+
margin: 0;
|
|
466
|
+
padding: 0;
|
|
467
|
+
}
|
|
468
|
+
#${qe} > ul {
|
|
469
|
+
max-height: 300px;
|
|
470
|
+
overflow-y: auto;
|
|
471
|
+
padding: 4px 0;
|
|
472
|
+
}
|
|
473
|
+
#${qe} li {
|
|
474
|
+
padding: 0 4px;
|
|
475
|
+
margin: 0;
|
|
476
|
+
}
|
|
477
|
+
#${qe} li > :not(ul) {
|
|
478
|
+
display: flex;
|
|
479
|
+
padding: 8px;
|
|
480
|
+
margin: 0;
|
|
481
|
+
align-items: center;
|
|
482
|
+
gap: 8px;
|
|
483
|
+
border-radius: 4px;
|
|
484
|
+
}
|
|
485
|
+
#${qe} button {
|
|
486
|
+
width: 100%;
|
|
487
|
+
border: 0;
|
|
488
|
+
background: transparent;
|
|
489
|
+
color: inherit;
|
|
490
|
+
text-align: left;
|
|
491
|
+
font-family: inherit;
|
|
492
|
+
font-size: inherit;
|
|
493
|
+
}
|
|
494
|
+
#${qe} button:focus-visible {
|
|
495
|
+
outline-color: #029CFD;
|
|
496
|
+
}
|
|
497
|
+
#${qe} button:hover {
|
|
498
|
+
background: rgba(2, 156, 253, 0.07);
|
|
499
|
+
color: #029CFD;
|
|
500
|
+
cursor: pointer;
|
|
501
|
+
}
|
|
502
|
+
#${qe} li code {
|
|
503
|
+
white-space: nowrap;
|
|
504
|
+
overflow: hidden;
|
|
505
|
+
text-overflow: ellipsis;
|
|
506
|
+
line-height: 16px;
|
|
507
|
+
font-size: 11px;
|
|
508
|
+
}
|
|
509
|
+
#${qe} li svg {
|
|
510
|
+
flex-shrink: 0;
|
|
511
|
+
margin: 1px;
|
|
512
|
+
color: #73828C;
|
|
513
|
+
}
|
|
514
|
+
#${qe} li > button:hover svg, #${qe} li > button:focus-visible svg {
|
|
515
|
+
color: #029CFD;
|
|
516
|
+
}
|
|
517
|
+
#${qe} .element-list li svg {
|
|
518
|
+
display: none;
|
|
519
|
+
}
|
|
520
|
+
#${qe} li.selectable svg, #${qe} li.selected svg {
|
|
521
|
+
display: block;
|
|
522
|
+
}
|
|
523
|
+
#${qe} .menu-list {
|
|
524
|
+
border-top: 1px solid rgba(38, 85, 115, 0.15);
|
|
525
|
+
}
|
|
526
|
+
#${qe} .menu-list > li:not(:last-child) {
|
|
527
|
+
padding-bottom: 4px;
|
|
528
|
+
margin-bottom: 4px;
|
|
529
|
+
border-bottom: 1px solid rgba(38, 85, 115, 0.15);
|
|
530
|
+
}
|
|
531
|
+
#${qe} .menu-items, #${qe} .menu-items li {
|
|
532
|
+
padding: 0;
|
|
533
|
+
}
|
|
534
|
+
#${qe} .menu-item {
|
|
535
|
+
display: flex;
|
|
536
|
+
}
|
|
537
|
+
#${qe} .menu-item-content {
|
|
538
|
+
display: flex;
|
|
539
|
+
flex-direction: column;
|
|
540
|
+
flex-grow: 1;
|
|
541
|
+
}
|
|
542
|
+
`]))}let v=d.get(),A=v?[v]:s.get();if(A.length&&(y.style.position=getComputedStyle(A[0].element).position==="fixed"?"fixed":"absolute",y.appendChild(We("ul",{class:"element-list"},A.map(N=>{var D;let $=A.length>1&&!!((D=N.menu)!=null&&D.some(K=>K.some(G=>!G.selectors||G.selectors.some(te=>N.selectors.includes(te))))),R=$?{class:"selectable",onClick:F(()=>d.set(N),"onClick"),onMouseEnter:F(()=>u.set(N),"onMouseEnter"),onMouseLeave:F(()=>u.set(void 0),"onMouseLeave")}:v?{class:"selected",onClick:F(()=>d.set(void 0),"onClick")}:{},k=$||v;return We("li",R,[We(k?"button":"div",k?{type:"button"}:{},[v?_u("chevronLeft"):null,We("code",{},[N.element.outerHTML]),$?_u("chevronRight"):null])])})))),d.get()||s.get().length===1){let N=d.get()||s.get()[0],$=(_=N.menu)==null?void 0:_.filter(R=>R.some(k=>!k.selectors||k.selectors.some(D=>N.selectors.includes(D))));$!=null&&$.length&&y.appendChild(We("ul",{class:"menu-list"},$.map(R=>We("li",{},[We("ul",{class:"menu-items"},R.map(({id:k,title:D,description:K,iconLeft:G,iconRight:te,clickEvent:oe})=>{let ee=oe&&(()=>e.emit(oe,k,rz(N)));return We("li",{},[We(ee?"button":"div",ee?{class:"menu-item",type:"button",onClick:ee}:{class:"menu-item"},[G?_u(G):null,We("div",{class:"menu-item-content"},[We(K?"strong":"span",{},[D]),K&&We("span",{},[K])]),te?_u(te):null])])}))]))))}let T=a.get();T?(Object.assign(y.style,{display:"block",left:`${y.style.position==="fixed"?T.x-window.scrollX:T.x}px`,top:`${y.style.position==="fixed"?T.y-window.scrollY:T.y}px`}),N_(y),requestAnimationFrame(()=>ez(y,T,{topOffset:15,centered:!0}))):(tz(y),Object.assign(y.style,{display:"none"}))},"renderMenu");s.subscribe(w),d.subscribe(w);let g=F(y=>{let v=JV(y);r.set(A=>{var _;let T=v.id?A.filter(N=>N.id!==v.id):A;return(_=v.selectors)!=null&&_.length?[...T,v]:T})},"addHighlight"),E=F(y=>{y&&r.set(v=>v.filter(A=>A.id!==y))},"removeHighlight"),C=F(()=>{r.set([]),n.set(new Map),o.set([]),a.set(void 0),i.set(void 0),s.set([]),c.set([]),u.set(void 0),d.set(void 0)},"resetState"),x,P=F((y,v)=>{let A="scrollIntoView-highlight";clearTimeout(x),E(A);let T=t.querySelector(y);if(!T){console.warn(`Cannot scroll into view: ${y} not found`);return}T.scrollIntoView({behavior:"smooth",block:"center",...v});let _=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(N=>[...N,{id:A,priority:1e3,selectors:[y],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${_} 3s linear forwards`},keyframes:`@keyframes ${_} {
|
|
543
|
+
0% { outline: 2px solid #1EA7FD; }
|
|
544
|
+
20% { outline: 2px solid #1EA7FD00; }
|
|
545
|
+
40% { outline: 2px solid #1EA7FD; }
|
|
546
|
+
60% { outline: 2px solid #1EA7FD00; }
|
|
547
|
+
80% { outline: 2px solid #1EA7FD; }
|
|
548
|
+
100% { outline: 2px solid #1EA7FD00; }
|
|
549
|
+
}`}]),x=setTimeout(()=>E(A),3500)},"scrollIntoView"),S=F(y=>{requestAnimationFrame(()=>i.set({x:y.pageX,y:y.pageY}))},"onMouseMove");t.body.addEventListener("mousemove",S),e.on(WV,g),e.on(GV,E),e.on(YV,C),e.on(KV,P),e.on(kt,({newPhase:y})=>{y==="loading"&&C()})},"useHighlights"),X_,J_;(X_=globalThis==null?void 0:globalThis.FEATURES)!=null&&X_.highlight&&((J_=xt)!=null&&J_.ready)&&xt.ready().then(oz);var $_=F(()=>({}),"default"),ju="storybook/measure-addon",uJ=`${ju}/tool`,az="measureEnabled",cJ={RESULT:`${ju}/result`,REQUEST:`${ju}/request`,CLEAR:`${ju}/clear`};function Lg(){let e=Z.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}F(Lg,"getDocumentWidthAndHeight");function jk(){let e=Z.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");Du(t!=null);let{width:r,height:n}=Lg();return Fu(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",Z.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}F(jk,"createCanvas");function Fu(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let o=Z.window.devicePixelRatio;e.width=Math.floor(r*o),e.height=Math.floor(n*o),t.scale(o,o)}F(Fu,"setCanvasWidthAndHeight");var Ge={};function Ik(){Ge.canvas||(Ge=jk())}F(Ik,"init");function Bg(){var e,t;Ge.context&&Ge.context.clearRect(0,0,(e=Ge.width)!=null?e:0,(t=Ge.height)!=null?t:0)}F(Bg,"clear");function Dk(e){Bg(),e(Ge.context)}F(Dk,"draw");function Nk(){Du(Ge.canvas,"Canvas should exist in the state."),Du(Ge.context,"Context should exist in the state."),Fu(Ge.canvas,Ge.context,{width:0,height:0});let{width:e,height:t}=Lg();Fu(Ge.canvas,Ge.context,{width:e,height:t}),Ge.width=e,Ge.height=t}F(Nk,"rescale");function Fk(){var e;Ge.canvas&&(Bg(),(e=Ge.canvas.parentNode)==null||e.removeChild(Ge.canvas),Ge={})}F(Fk,"destroy");var Io={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},_r=6;function qg(e,{x:t,y:r,w:n,h:o,r:a}){t=t-n/2,r=r-o/2,n<2*a&&(a=n/2),o<2*a&&(a=o/2),e.beginPath(),e.moveTo(t+a,r),e.arcTo(t+n,r,t+n,r+o,a),e.arcTo(t+n,r+o,t,r+o,a),e.arcTo(t,r+o,t,r,a),e.arcTo(t,r,t+n,r,a),e.closePath()}F(qg,"roundedRect");function $k(e,{padding:t,border:r,width:n,height:o,top:a,left:i}){let s=n-r.left-r.right-t.left-t.right,c=o-t.top-t.bottom-r.top-r.bottom,u=i+r.left+t.left,d=a+r.top+t.top;return e==="top"?u+=s/2:e==="right"?(u+=s,d+=c/2):e==="bottom"?(u+=s/2,d+=c):e==="left"?d+=c/2:e==="center"&&(u+=s/2,d+=c/2),{x:u,y:d}}F($k,"positionCoordinate");function Lk(e,t,{margin:r,border:n,padding:o},a,i){let s=F(f=>0,"shift"),c=0,u=0,d=i?1:.5,p=i?a*2:0;return e==="padding"?s=F(f=>o[f]*d+p,"shift"):e==="border"?s=F(f=>o[f]+n[f]*d+p,"shift"):e==="margin"&&(s=F(f=>o[f]+n[f]+r[f]*d+p,"shift")),t==="top"?u=-s("top"):t==="right"?c=s("right"):t==="bottom"?u=s("bottom"):t==="left"&&(c=-s("left")),{offsetX:c,offsetY:u}}F(Lk,"offset");function Bk(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}F(Bk,"collide");function Hk(e,t,r){return e==="top"?t.y=r.y-r.h-_r:e==="right"?t.x=r.x+r.w/2+_r+t.w/2:e==="bottom"?t.y=r.y+r.h+_r:e==="left"&&(t.x=r.x-r.w/2-_r-t.w/2),{x:t.x,y:t.y}}F(Hk,"overlapAdjustment");function Hg(e,t,{x:r,y:n,w:o,h:a},i){return qg(e,{x:r,y:n,w:o,h:a,r:3}),e.fillStyle=`${Io[t]}dd`,e.fill(),e.strokeStyle=Io[t],e.stroke(),e.fillStyle=Io.text,e.fillText(i,r,n),qg(e,{x:r,y:n,w:o,h:a,r:3}),e.fillStyle=`${Io[t]}dd`,e.fill(),e.strokeStyle=Io[t],e.stroke(),e.fillStyle=Io.text,e.fillText(i,r,n),{x:r,y:n,w:o,h:a}}F(Hg,"textWithRect");function Ug(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,o=r.width+_r*2,a=n+_r*2;return{w:o,h:a}}F(Ug,"configureText");function Uk(e,t,{type:r,position:n="center",text:o},a,i=!1){let{x:s,y:c}=$k(n,t),{offsetX:u,offsetY:d}=Lk(r,n,t,_r+1,i);s+=u,c+=d;let{w:p,h:f}=Ug(e,o);if(a&&Bk({x:s,y:c,w:p,h:f},a)){let h=Hk(n,{x:s,y:c,w:p,h:f},a);s=h.x,c=h.y}return Hg(e,r,{x:s,y:c,w:p,h:f},o)}F(Uk,"drawLabel");function Vk(e,{w:t,h:r}){let n=t*.5+_r,o=r*.5+_r;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*o}}F(Vk,"floatingOffset");function zk(e,t,{type:r,text:n}){let{floatingAlignment:o,extremities:a}=t,i=a[o.x],s=a[o.y],{w:c,h:u}=Ug(e,n),{offsetX:d,offsetY:p}=Vk(o,{w:c,h:u});return i+=d,s+=p,Hg(e,r,{x:i,y:s,w:c,h:u},n)}F(zk,"drawFloatingLabel");function No(e,t,r,n){let o=[];r.forEach((a,i)=>{let s=n&&a.position==="center"?zk(e,t,a):Uk(e,t,a,o[i-1],n);o[i]=s})}F(No,"drawStack");function Wk(e,t,r,n){let o=r.reduce((a,i)=>{var s;return Object.prototype.hasOwnProperty.call(a,i.position)||(a[i.position]=[]),(s=a[i.position])==null||s.push(i),a},{});o.top&&No(e,t,o.top,n),o.right&&No(e,t,o.right,n),o.bottom&&No(e,t,o.bottom,n),o.left&&No(e,t,o.left,n),o.center&&No(e,t,o.center,n)}F(Wk,"labelStacks");var Vu={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},L_=30;function Et(e){return parseInt(e.replace("px",""),10)}F(Et,"pxToNumber");function In(e){return Number.isInteger(e)?e:e.toFixed(2)}F(In,"round");function zu(e){return e.filter(t=>t.text!==0&&t.text!=="0")}F(zu,"filterZeroValues");function Gk(e){let t={top:Z.window.scrollY,bottom:Z.window.scrollY+Z.window.innerHeight,left:Z.window.scrollX,right:Z.window.scrollX+Z.window.innerWidth},r={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}F(Gk,"floatingAlignment");function Yk(e){let t=Z.getComputedStyle(e),{top:r,left:n,right:o,bottom:a,width:i,height:s}=e.getBoundingClientRect(),{marginTop:c,marginBottom:u,marginLeft:d,marginRight:p,paddingTop:f,paddingBottom:h,paddingLeft:m,paddingRight:b,borderBottomWidth:w,borderTopWidth:g,borderLeftWidth:E,borderRightWidth:C}=t;r=r+Z.window.scrollY,n=n+Z.window.scrollX,a=a+Z.window.scrollY,o=o+Z.window.scrollX;let x={top:Et(c),bottom:Et(u),left:Et(d),right:Et(p)},P={top:Et(f),bottom:Et(h),left:Et(m),right:Et(b)},S={top:Et(g),bottom:Et(w),left:Et(E),right:Et(C)},y={top:r-x.top,bottom:a+x.bottom,left:n-x.left,right:o+x.right};return{margin:x,padding:P,border:S,top:r,left:n,bottom:a,right:o,width:i,height:s,extremities:y,floatingAlignment:Gk(y)}}F(Yk,"measureElement");function Kk(e,{margin:t,width:r,height:n,top:o,left:a,bottom:i,right:s}){let c=n+t.bottom+t.top;e.fillStyle=Vu.margin,e.fillRect(a,o-t.top,r,t.top),e.fillRect(s,o-t.top,t.right,c),e.fillRect(a,i,r,t.bottom),e.fillRect(a-t.left,o-t.top,t.left,c);let u=[{type:"margin",text:In(t.top),position:"top"},{type:"margin",text:In(t.right),position:"right"},{type:"margin",text:In(t.bottom),position:"bottom"},{type:"margin",text:In(t.left),position:"left"}];return zu(u)}F(Kk,"drawMargin");function Xk(e,{padding:t,border:r,width:n,height:o,top:a,left:i,bottom:s,right:c}){let u=n-r.left-r.right,d=o-t.top-t.bottom-r.top-r.bottom;e.fillStyle=Vu.padding,e.fillRect(i+r.left,a+r.top,u,t.top),e.fillRect(c-t.right-r.right,a+t.top+r.top,t.right,d),e.fillRect(i+r.left,s-t.bottom-r.bottom,u,t.bottom),e.fillRect(i+r.left,a+t.top+r.top,t.left,d);let p=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return zu(p)}F(Xk,"drawPadding");function Jk(e,{border:t,width:r,height:n,top:o,left:a,bottom:i,right:s}){let c=n-t.top-t.bottom;e.fillStyle=Vu.border,e.fillRect(a,o,r,t.top),e.fillRect(a,i-t.bottom,r,t.bottom),e.fillRect(a,o+t.top,t.left,c),e.fillRect(s-t.right,o+t.top,t.right,c);let u=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return zu(u)}F(Jk,"drawBorder");function Qk(e,{padding:t,border:r,width:n,height:o,top:a,left:i}){let s=n-r.left-r.right-t.left-t.right,c=o-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=Vu.content,e.fillRect(i+r.left+t.left,a+r.top+t.top,s,c),[{type:"content",position:"center",text:`${In(s)} x ${In(c)}`}]}F(Qk,"drawContent");function Zk(e){return t=>{if(e&&t){let r=Yk(e),n=Kk(t,r),o=Xk(t,r),a=Jk(t,r),i=Qk(t,r),s=r.width<=L_*3||r.height<=L_;Wk(t,r,[...i,...o,...a,...n],s)}}}F(Zk,"drawBoxModel");function eq(e){Dk(Zk(e))}F(eq,"drawSelectedElement");var iz=F((e,t)=>{let r=Z.document.elementFromPoint(e,t),n=F(o=>{if(o&&o.shadowRoot){let a=o.shadowRoot.elementFromPoint(e,t);return o.isEqualNode(a)?o:a.shadowRoot?n(a):a}return o},"crawlShadows");return n(r)||r},"deepElementFromPoint"),B_,qu={x:0,y:0};function Mg(e,t){B_=iz(e,t),eq(B_)}F(Mg,"findAndDrawElement");var sz=F((e,t)=>{let{measureEnabled:r}=t.globals||{};return nr(()=>{if(typeof globalThis.document>"u")return;let n=F(o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),qu.x=o.clientX,qu.y=o.clientY})},"onPointerMove");return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),nr(()=>{let n=F(a=>{window.requestAnimationFrame(()=>{a.stopPropagation(),Mg(a.clientX,a.clientY)})},"onPointerOver"),o=F(()=>{window.requestAnimationFrame(()=>{Nk()})},"onResize");return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),Ik(),globalThis.window.addEventListener("resize",o),Mg(qu.x,qu.y)),()=>{globalThis.window.removeEventListener("resize",o),Fk()}},[r,t.viewMode]),e()},"withMeasure"),Q_,lz=(Q_=globalThis.FEATURES)!=null&&Q_.measure?[sz]:[],uz={[az]:!1},H_=F(()=>({decorators:lz,initialGlobals:uz}),"default"),tq="outline",U_=F(e=>{(Array.isArray(e)?e:[e]).forEach(cz)},"clearStyles"),cz=F(e=>{let t=typeof e=="string"?e:e.join(""),r=Z.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},"clearStyle"),dz=F((e,t)=>{let r=Z.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=Z.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,Z.document.head.appendChild(n)}},"addOutlineStyles");function rq(e){return Bu`
|
|
550
|
+
${e} body {
|
|
551
|
+
outline: 1px solid #2980b9 !important;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
${e} article {
|
|
555
|
+
outline: 1px solid #3498db !important;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
${e} nav {
|
|
559
|
+
outline: 1px solid #0088c3 !important;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
${e} aside {
|
|
563
|
+
outline: 1px solid #33a0ce !important;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
${e} section {
|
|
567
|
+
outline: 1px solid #66b8da !important;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
${e} header {
|
|
571
|
+
outline: 1px solid #99cfe7 !important;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
${e} footer {
|
|
575
|
+
outline: 1px solid #cce7f3 !important;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
${e} h1 {
|
|
579
|
+
outline: 1px solid #162544 !important;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
${e} h2 {
|
|
583
|
+
outline: 1px solid #314e6e !important;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
${e} h3 {
|
|
587
|
+
outline: 1px solid #3e5e85 !important;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
${e} h4 {
|
|
591
|
+
outline: 1px solid #449baf !important;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
${e} h5 {
|
|
595
|
+
outline: 1px solid #c7d1cb !important;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
${e} h6 {
|
|
599
|
+
outline: 1px solid #4371d0 !important;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
${e} main {
|
|
603
|
+
outline: 1px solid #2f4f90 !important;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
${e} address {
|
|
607
|
+
outline: 1px solid #1a2c51 !important;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
${e} div {
|
|
611
|
+
outline: 1px solid #036cdb !important;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
${e} p {
|
|
615
|
+
outline: 1px solid #ac050b !important;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
${e} hr {
|
|
619
|
+
outline: 1px solid #ff063f !important;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
${e} pre {
|
|
623
|
+
outline: 1px solid #850440 !important;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
${e} blockquote {
|
|
627
|
+
outline: 1px solid #f1b8e7 !important;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
${e} ol {
|
|
631
|
+
outline: 1px solid #ff050c !important;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
${e} ul {
|
|
635
|
+
outline: 1px solid #d90416 !important;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
${e} li {
|
|
639
|
+
outline: 1px solid #d90416 !important;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
${e} dl {
|
|
643
|
+
outline: 1px solid #fd3427 !important;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
${e} dt {
|
|
647
|
+
outline: 1px solid #ff0043 !important;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
${e} dd {
|
|
651
|
+
outline: 1px solid #e80174 !important;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
${e} figure {
|
|
655
|
+
outline: 1px solid #ff00bb !important;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
${e} figcaption {
|
|
659
|
+
outline: 1px solid #bf0032 !important;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
${e} table {
|
|
663
|
+
outline: 1px solid #00cc99 !important;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
${e} caption {
|
|
667
|
+
outline: 1px solid #37ffc4 !important;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
${e} thead {
|
|
671
|
+
outline: 1px solid #98daca !important;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
${e} tbody {
|
|
675
|
+
outline: 1px solid #64a7a0 !important;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
${e} tfoot {
|
|
679
|
+
outline: 1px solid #22746b !important;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
${e} tr {
|
|
683
|
+
outline: 1px solid #86c0b2 !important;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
${e} th {
|
|
687
|
+
outline: 1px solid #a1e7d6 !important;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
${e} td {
|
|
691
|
+
outline: 1px solid #3f5a54 !important;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
${e} col {
|
|
695
|
+
outline: 1px solid #6c9a8f !important;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
${e} colgroup {
|
|
699
|
+
outline: 1px solid #6c9a9d !important;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
${e} button {
|
|
703
|
+
outline: 1px solid #da8301 !important;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
${e} datalist {
|
|
707
|
+
outline: 1px solid #c06000 !important;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
${e} fieldset {
|
|
711
|
+
outline: 1px solid #d95100 !important;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
${e} form {
|
|
715
|
+
outline: 1px solid #d23600 !important;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
${e} input {
|
|
719
|
+
outline: 1px solid #fca600 !important;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
${e} keygen {
|
|
723
|
+
outline: 1px solid #b31e00 !important;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
${e} label {
|
|
727
|
+
outline: 1px solid #ee8900 !important;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
${e} legend {
|
|
731
|
+
outline: 1px solid #de6d00 !important;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
${e} meter {
|
|
735
|
+
outline: 1px solid #e8630c !important;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
${e} optgroup {
|
|
739
|
+
outline: 1px solid #b33600 !important;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
${e} option {
|
|
743
|
+
outline: 1px solid #ff8a00 !important;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
${e} output {
|
|
747
|
+
outline: 1px solid #ff9619 !important;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
${e} progress {
|
|
751
|
+
outline: 1px solid #e57c00 !important;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
${e} select {
|
|
755
|
+
outline: 1px solid #e26e0f !important;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
${e} textarea {
|
|
759
|
+
outline: 1px solid #cc5400 !important;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
${e} details {
|
|
763
|
+
outline: 1px solid #33848f !important;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
${e} summary {
|
|
767
|
+
outline: 1px solid #60a1a6 !important;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
${e} command {
|
|
771
|
+
outline: 1px solid #438da1 !important;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
${e} menu {
|
|
775
|
+
outline: 1px solid #449da6 !important;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
${e} del {
|
|
779
|
+
outline: 1px solid #bf0000 !important;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
${e} ins {
|
|
783
|
+
outline: 1px solid #400000 !important;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
${e} img {
|
|
787
|
+
outline: 1px solid #22746b !important;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
${e} iframe {
|
|
791
|
+
outline: 1px solid #64a7a0 !important;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
${e} embed {
|
|
795
|
+
outline: 1px solid #98daca !important;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
${e} object {
|
|
799
|
+
outline: 1px solid #00cc99 !important;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
${e} param {
|
|
803
|
+
outline: 1px solid #37ffc4 !important;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
${e} video {
|
|
807
|
+
outline: 1px solid #6ee866 !important;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
${e} audio {
|
|
811
|
+
outline: 1px solid #027353 !important;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
${e} source {
|
|
815
|
+
outline: 1px solid #012426 !important;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
${e} canvas {
|
|
819
|
+
outline: 1px solid #a2f570 !important;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
${e} track {
|
|
823
|
+
outline: 1px solid #59a600 !important;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
${e} map {
|
|
827
|
+
outline: 1px solid #7be500 !important;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
${e} area {
|
|
831
|
+
outline: 1px solid #305900 !important;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
${e} a {
|
|
835
|
+
outline: 1px solid #ff62ab !important;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
${e} em {
|
|
839
|
+
outline: 1px solid #800b41 !important;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
${e} strong {
|
|
843
|
+
outline: 1px solid #ff1583 !important;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
${e} i {
|
|
847
|
+
outline: 1px solid #803156 !important;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
${e} b {
|
|
851
|
+
outline: 1px solid #cc1169 !important;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
${e} u {
|
|
855
|
+
outline: 1px solid #ff0430 !important;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
${e} s {
|
|
859
|
+
outline: 1px solid #f805e3 !important;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
${e} small {
|
|
863
|
+
outline: 1px solid #d107b2 !important;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
${e} abbr {
|
|
867
|
+
outline: 1px solid #4a0263 !important;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
${e} q {
|
|
871
|
+
outline: 1px solid #240018 !important;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
${e} cite {
|
|
875
|
+
outline: 1px solid #64003c !important;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
${e} dfn {
|
|
879
|
+
outline: 1px solid #b4005a !important;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
${e} sub {
|
|
883
|
+
outline: 1px solid #dba0c8 !important;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
${e} sup {
|
|
887
|
+
outline: 1px solid #cc0256 !important;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
${e} time {
|
|
891
|
+
outline: 1px solid #d6606d !important;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
${e} code {
|
|
895
|
+
outline: 1px solid #e04251 !important;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
${e} kbd {
|
|
899
|
+
outline: 1px solid #5e001f !important;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
${e} samp {
|
|
903
|
+
outline: 1px solid #9c0033 !important;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
${e} var {
|
|
907
|
+
outline: 1px solid #d90047 !important;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
${e} mark {
|
|
911
|
+
outline: 1px solid #ff0053 !important;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
${e} bdi {
|
|
915
|
+
outline: 1px solid #bf3668 !important;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
${e} bdo {
|
|
919
|
+
outline: 1px solid #6f1400 !important;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
${e} ruby {
|
|
923
|
+
outline: 1px solid #ff7b93 !important;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
${e} rt {
|
|
927
|
+
outline: 1px solid #ff2f54 !important;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
${e} rp {
|
|
931
|
+
outline: 1px solid #803e49 !important;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
${e} span {
|
|
935
|
+
outline: 1px solid #cc2643 !important;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
${e} br {
|
|
939
|
+
outline: 1px solid #db687d !important;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
${e} wbr {
|
|
943
|
+
outline: 1px solid #db175b !important;
|
|
944
|
+
}`}F(rq,"outlineCSS");var pz=F((e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[tq]),o=t.viewMode==="docs",a=zg(()=>rq(o?'[data-story-block="true"]':".sb-show-main"),[t]);return nr(()=>{let i=o?`addon-outline-docs-${t.id}`:"addon-outline";return n?dz(i,a):U_(i),()=>{U_(i)}},[n,a,t]),e()},"withOutline"),Z_,fz=(Z_=globalThis.FEATURES)!=null&&Z_.outline?[pz]:[],hz={[tq]:!1},V_=F(()=>({decorators:fz,initialGlobals:hz}),"default"),mz=F(({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?Pb():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?Ab():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&Ob()},"resetAllMocksLoader"),jg=F((e,t=0,r)=>{var n,o;if(t>5||e==null)return e;if(wn(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let a=Sb(e);return r&&a.mockName(r),a}if(Array.isArray(e)){t++;for(let a=0;a<e.length;a++)(n=Object.getOwnPropertyDescriptor(e,a))!=null&&n.writable&&(e[a]=jg(e[a],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[a,i]of Object.entries(e))(o=Object.getOwnPropertyDescriptor(e,a))!=null&&o.writable&&(e[a]=jg(i,t,a));return e}return e},"traverseArgs"),bz=F(({initialArgs:e})=>{jg(e)},"nameSpiesAndWrapActionsInSpies"),z_=!1,gz=F(async e=>{var r,n;globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=w_(e.canvasElement));let t=(n=(r=globalThis.window)==null?void 0:r.navigator)==null?void 0:n.clipboard;if(t){e.userEvent=Vt({userEvent:E_.setup()},{intercept:!0,getKeys:F(a=>Object.keys(a).filter(i=>i!=="eventWrapper"),"getKeys")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:F(()=>t,"get"),configurable:!0});let o=HTMLElement.prototype.focus;z_||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:F(a=>{o=a,z_=!0},"set"),get:F(()=>o,"get")}})}},"enhanceContext"),W_=F(()=>({loaders:[mz,bz,gz]}),"default"),nq="storybook/viewport",yz="viewport",vJ=`${nq}/panel`,wJ=`${nq}/tool`,vz={[yz]:{value:void 0,isRotated:!1}},G_=F(()=>({initialGlobals:vz}),"default");function Lo(){var e,t,r,n,o,a,i,s;return[((e=H_.default)!=null?e:H_)(),((t=__.default)!=null?t:__)(),((r=$_.default)!=null?r:$_)(),((n=V_.default)!=null?n:V_)(),((o=G_.default)!=null?o:G_)(),((a=P_.default)!=null?a:P_)(),((i=k_.default)!=null?i:k_)(),((s=W_.default)!=null?s:W_)()]}F(Lo,"getCoreAnnotations");function wz(e){let t,r={_tag:"Preview",input:e,get composed(){if(t)return t;let{addons:n,...o}=e;return t=Dg(Ng([...Lo(),...n!=null?n:[],o])),t},meta(n){return oq(n,this)}};return globalThis.globalProjectAnnotations=r.composed,r}F(wz,"definePreview");function Ez(e){return e}F(Ez,"definePreviewAddon");function xz(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Preview"}F(xz,"isPreview");function Cz(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Meta"}F(Cz,"isMeta");function oq(e,t){return{_tag:"Meta",input:e,preview:t,get composed(){throw new Error("Not implemented")},story(r={}){return Vg(typeof r=="function"?{render:r}:r,this)}}}F(oq,"defineMeta");function Dn(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Story"}F(Dn,"isStory");function Vg(e,t){let r,n=F(()=>(r||(r=Tk(e,t.input,void 0,t.preview.composed)),r),"compose");return{_tag:"Story",input:e,meta:t,__compose:n,get composed(){let o=n(),{args:a,argTypes:i,parameters:s,id:c,tags:u,globals:d,storyName:p}=o;return{args:a,argTypes:i,parameters:s,id:c,tags:u,name:p,globals:d}},get play(){var o,a,i;return(i=(a=e.play)!=null?a:(o=t.input)==null?void 0:o.play)!=null?i:(async()=>{})},get run(){var o;return(o=n().run)!=null?o:(async()=>{})},extend(o){var a,i,s,c,u,d,p,f,h,m,b,w,g,E;return Vg({...this.input,...o,args:{...this.input.args,...o.args},argTypes:nn(this.input.argTypes,o.argTypes),afterEach:[...ye((i=(a=this.input)==null?void 0:a.afterEach)!=null?i:[]),...ye((s=o.afterEach)!=null?s:[])],beforeEach:[...ye((u=(c=this.input)==null?void 0:c.beforeEach)!=null?u:[]),...ye((d=o.beforeEach)!=null?d:[])],decorators:[...ye((f=(p=this.input)==null?void 0:p.decorators)!=null?f:[]),...ye((h=o.decorators)!=null?h:[])],globals:{...this.input.globals,...o.globals},loaders:[...ye((b=(m=this.input)==null?void 0:m.loaders)!=null?b:[]),...ye((w=o.loaders)!=null?w:[])],parameters:nn(this.input.parameters,o.parameters),tags:Ho(...(g=this.input.tags)!=null?g:[],...(E=o.tags)!=null?E:[])},this.meta)}}}F(Vg,"defineStory");var Ci=F(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),Y_=F((e,t)=>{let r=Ci(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),Wu=F((e,t)=>`${Y_(e,"kind")}${t?`--${Y_(t,"name")}`:""}`,"toId"),Gu=F(e=>tk(e),"storyNameFromExport");function Ig(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}F(Ig,"matches");function Bo(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Ig(e,t))&&(!r||!Ig(e,r))}F(Bo,"isExportStory");var Ho=F((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags");var Sz=Object.create,dy=Object.defineProperty,Az=Object.getOwnPropertyDescriptor,Pz=Object.getOwnPropertyNames,Oz=Object.getPrototypeOf,Tz=Object.prototype.hasOwnProperty,q=(e,t)=>dy(e,"name",{value:t,configurable:!0}),Yu=(e=>typeof an<"u"?an:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof an<"u"?an:t)[r]}):e)(function(e){if(typeof an<"u")return an.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),nt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Rz=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Pz(t))!Tz.call(e,o)&&o!==r&&dy(e,o,{get:()=>t[o],enumerable:!(n=Az(t,o))||n.enumerable});return e},Jo=(e,t,r)=>(r=e!=null?Sz(Oz(e)):{},Rz(t||!e||!e.__esModule?dy(r,"default",{value:e,enumerable:!0}):r,e)),yq=nt((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return q(function a(i,s,c){function u(f,h){if(!s[f]){if(!i[f]){var m=typeof Yu=="function"&&Yu;if(!h&&m)return m(f,!0);if(d)return d(f,!0);var b=new Error("Cannot find module '"+f+"'");throw b.code="MODULE_NOT_FOUND",b}var w=s[f]={exports:{}};i[f][0].call(w.exports,function(g){var E=i[f][1][g];return u(E||g)},w,w.exports,a,i,s,c)}return s[f].exports}q(u,"s");for(var d=typeof Yu=="function"&&Yu,p=0;p<c.length;p++)u(c[p]);return u},"e")({1:[function(a,i,s){i.exports=function(c){if(typeof Map!="function"||c){var u=a("./similar");return new u}else return new Map}},{"./similar":2}],2:[function(a,i,s){function c(){return this.list=[],this.lastItem=void 0,this.size=0,this}q(c,"Similar"),c.prototype.get=function(u){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,u))return this.lastItem.val;if(d=this.indexOf(u),d>=0)return this.lastItem=this.list[d],this.list[d].val},c.prototype.set=function(u,d){var p;return this.lastItem&&this.isEqual(this.lastItem.key,u)?(this.lastItem.val=d,this):(p=this.indexOf(u),p>=0?(this.lastItem=this.list[p],this.list[p].val=d,this):(this.lastItem={key:u,val:d},this.list.push(this.lastItem),this.size++,this))},c.prototype.delete=function(u){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,u)&&(this.lastItem=void 0),d=this.indexOf(u),d>=0)return this.size--,this.list.splice(d,1)[0]},c.prototype.has=function(u){var d;return this.lastItem&&this.isEqual(this.lastItem.key,u)?!0:(d=this.indexOf(u),d>=0?(this.lastItem=this.list[d],!0):!1)},c.prototype.forEach=function(u,d){var p;for(p=0;p<this.size;p++)u.call(d||this,this.list[p].val,this.list[p].key,this)},c.prototype.indexOf=function(u){var d;for(d=0;d<this.size;d++)if(this.isEqual(this.list[d].key,u))return d;return-1},c.prototype.isEqual=function(u,d){return u===d||u!==u&&d!==d},i.exports=c},{}],3:[function(a,i,s){var c=a("map-or-similar");i.exports=function(f){var h=new c(!1),m=[];return function(b){var w=q(function(){var g=h,E,C,x=arguments.length-1,P=Array(x+1),S=!0,y;if((w.numArgs||w.numArgs===0)&&w.numArgs!==x+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(y=0;y<x;y++){if(P[y]={cacheItem:g,arg:arguments[y]},g.has(arguments[y])){g=g.get(arguments[y]);continue}S=!1,E=new c(!1),g.set(arguments[y],E),g=E}return S&&(g.has(arguments[x])?C=g.get(arguments[x]):S=!1),S||(C=b.apply(null,arguments),g.set(arguments[x],C)),f>0&&(P[x]={cacheItem:g,arg:arguments[x]},S?u(m,P):m.push(P),m.length>f&&d(m.shift())),w.wasMemoized=S,w.numArgs=x+1,C},"memoizerific");return w.limit=f,w.wasMemoized=!1,w.cache=h,w.lru=m,w}};function u(f,h){var m=f.length,b=h.length,w,g,E;for(g=0;g<m;g++){for(w=!0,E=0;E<b;E++)if(!p(f[g][E].arg,h[E].arg)){w=!1;break}if(w)break}f.push(f.splice(g,1)[0])}q(u,"moveToMostRecentLru");function d(f){var h=f.length,m=f[h-1],b,w;for(m.cacheItem.delete(m.arg),w=h-2;w>=0&&(m=f[w],b=m.cacheItem.get(m.arg),!b||!b.size);w--)m.cacheItem.delete(m.arg)}q(d,"removeCachedResult");function p(f,h){return f===h||f!==f&&h!==h}q(p,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),vq=nt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,a)=>"%"+((a<16?"0":"")+a.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let a=o.length;if(a===0)return"";let i="",s=0,c=0;e:for(;c<a;c++){let u=o.charCodeAt(c);for(;u<128;){if(r[u]!==1&&(s<c&&(i+=o.slice(s,c)),s=c+1,i+=t[u]),++c===a)break e;u=o.charCodeAt(c)}if(s<c&&(i+=o.slice(s,c)),u<2048){s=c+1,i+=t[192|u>>6]+t[128|u&63];continue}if(u<55296||u>=57344){s=c+1,i+=t[224|u>>12]+t[128|u>>6&63]+t[128|u&63];continue}if(++c,c>=a)throw new Error("URI malformed");let d=o.charCodeAt(c)&1023;s=c+1,u=65536+((u&1023)<<10|d),i+=t[240|u>>18]+t[128|u>>12&63]+t[128|u>>6&63]+t[128|u&63]}return s===0?o:s<a?i+o.slice(s):i}q(n,"encodeString")}),py=nt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=vq(),r=q(a=>{switch(typeof a){case"string":return(0,t.encodeString)(a);case"bigint":case"boolean":return""+a;case"number":if(Number.isFinite(a))return a<1e21?""+a:(0,t.encodeString)(""+a);break}return a instanceof Date?(0,t.encodeString)(a.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=q(a=>a instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=q(a=>a,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),wq=nt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=py(),r=vq();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}q(n,"isPrototypeKey");function o(p,f,h,m,b){if(n(f))return p;let w=p[f];return typeof w=="object"&&w!==null?w:!m&&(b||typeof h=="number"||typeof h=="string"&&h*0===0&&h.indexOf(".")===-1)?p[f]=[]:p[f]={}}q(o,"getDeepObject");var a=20,i="[]",s="[",c="]",u=".";function d(p,f,h=0,m,b){let{nestingSyntax:w=t.defaultOptions.nestingSyntax,arrayRepeat:g=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:E=t.defaultOptions.arrayRepeatSyntax,nesting:C=t.defaultOptions.nesting,delimiter:x=t.defaultOptions.delimiter,valueSerializer:P=t.defaultOptions.valueSerializer,shouldSerializeObject:S=t.defaultOptions.shouldSerializeObject}=f,y=typeof x=="number"?String.fromCharCode(x):x,v=b===!0&&g,A=w==="dot"||w==="js"&&!b;if(h>a)return"";let T="",_=!0,N=!1;for(let $ in p){let R=p[$],k;m?(k=m,v?E==="bracket"&&(k+=i):A?(k+=u,k+=$):(k+=s,k+=$,k+=c)):k=$,_||(T+=y),typeof R=="object"&&R!==null&&!S(R)?(N=R.pop!==void 0,(C||g&&N)&&(T+=d(R,f,h+1,k,N))):(T+=(0,r.encodeString)(k),T+="=",T+=P(R,$)),_&&(_=!1)}return T}q(d,"stringifyObject")}),_z=nt((e,t)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function a(c){var u=c.indexOf("%");if(u===-1)return c;for(var d=c.length,p="",f=0,h=0,m=u,b=r;u>-1&&u<d;){var w=s(c[u+1],4),g=s(c[u+2],0),E=w|g,C=o[E];if(b=o[256+b+C],h=h<<6|E&o[364+C],b===r)p+=c.slice(f,m),p+=h<=65535?String.fromCharCode(h):String.fromCharCode(55232+(h>>10),56320+(h&1023)),h=0,f=u+3,u=m=c.indexOf("%",f);else{if(b===n)return null;if(u+=3,u<d&&c.charCodeAt(u)===37)continue;return null}}return p+c.slice(f)}q(a,"decodeURIComponent");var i={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function s(c,u){var d=i[c];return d===void 0?255:d<<u}q(s,"hexCodeToInt"),t.exports=a}),kz=nt(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=d;var r=wq(),n=py(),o=t(_z()),a=q(p=>{let f=Number(p);return Number.isNaN(f)?p:f},"numberKeyDeserializer");e.numberKeyDeserializer=a;var i=q(p=>{let f=Number(p);return Number.isNaN(f)?p:f},"numberValueDeserializer");e.numberValueDeserializer=i;var s=/\+/g,c=q(function(){},"Empty");c.prototype=Object.create(null);function u(p,f,h,m,b){let w=p.substring(f,h);return m&&(w=w.replace(s," ")),b&&(w=(0,o.default)(w)||w),w}q(u,"computeKeySlice");function d(p,f){let{valueDeserializer:h=n.defaultOptions.valueDeserializer,keyDeserializer:m=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:b=n.defaultOptions.arrayRepeatSyntax,nesting:w=n.defaultOptions.nesting,arrayRepeat:g=n.defaultOptions.arrayRepeat,nestingSyntax:E=n.defaultOptions.nestingSyntax,delimiter:C=n.defaultOptions.delimiter}=f!=null?f:{},x=typeof C=="string"?C.charCodeAt(0):C,P=E==="js",S=new c;if(typeof p!="string")return S;let y=p.length,v="",A=-1,T=-1,_=-1,N=S,$,R="",k="",D=!1,K=!1,G=!1,te=!1,oe=!1,ee=!1,W=!1,z=0,Y=-1,re=-1,X=-1;for(let ie=0;ie<y+1;ie++){if(z=ie!==y?p.charCodeAt(ie):x,z===x){if(W=T>A,W||(T=ie),_!==T-1&&(k=u(p,_+1,Y>-1?Y:T,G,D),R=m(k),$!==void 0&&(N=(0,r.getDeepObject)(N,$,R,P&&oe,P&&ee))),W||R!==""){W&&(v=p.slice(T+1,ie),te&&(v=v.replace(s," ")),K&&(v=(0,o.default)(v)||v));let se=h(v,R);if(g){let me=N[R];me===void 0?Y>-1?N[R]=[se]:N[R]=se:me.pop?me.push(se):N[R]=[me,se]}else N[R]=se}v="",A=ie,T=ie,D=!1,K=!1,G=!1,te=!1,oe=!1,ee=!1,Y=-1,_=ie,N=S,$=void 0,R=""}else z===93?(g&&b==="bracket"&&X===91&&(Y=re),w&&(E==="index"||P)&&T<=A&&(_!==re&&(k=u(p,_+1,ie,G,D),R=m(k),$!==void 0&&(N=(0,r.getDeepObject)(N,$,R,void 0,P)),$=R,G=!1,D=!1),_=ie,ee=!0,oe=!1)):z===46?w&&(E==="dot"||P)&&T<=A&&(_!==re&&(k=u(p,_+1,ie,G,D),R=m(k),$!==void 0&&(N=(0,r.getDeepObject)(N,$,R,P)),$=R,G=!1,D=!1),oe=!0,ee=!1,_=ie):z===91?w&&(E==="index"||P)&&T<=A&&(_!==re&&(k=u(p,_+1,ie,G,D),R=m(k),P&&$!==void 0&&(N=(0,r.getDeepObject)(N,$,R,P)),$=R,G=!1,D=!1,oe=!1,ee=!0),_=ie):z===61?T<=A?T=ie:K=!0:z===43?T>A?te=!0:G=!0:z===37&&(T>A?K=!0:D=!0);re=ie,X=z}return S}q(d,"parse")}),qz=nt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=wq();function r(n,o){if(n===null||typeof n!="object")return"";let a=o!=null?o:{};return(0,t.stringifyObject)(n,a)}q(r,"stringify")}),fy=nt(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(a,i,s,c){c===void 0&&(c=s);var u=Object.getOwnPropertyDescriptor(i,s);(!u||("get"in u?!i.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:q(function(){return i[s]},"get")}),Object.defineProperty(a,c,u)}:function(a,i,s,c){c===void 0&&(c=s),a[c]=i[s]}),r=e&&e.__exportStar||function(a,i){for(var s in a)s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s)&&t(i,a,s)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=kz();Object.defineProperty(e,"parse",{enumerable:!0,get:q(function(){return n.parse},"get")});var o=qz();Object.defineProperty(e,"stringify",{enumerable:!0,get:q(function(){return o.stringify},"get")}),r(py(),e)}),Eq=nt((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:`
|
|
945
|
+
`,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"}}),Mz=nt((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"}}),xq=nt((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),jz=nt((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}}),Iz=nt(e=>{"use strict";var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(jz()),n=String.fromCodePoint||function(a){var i="";return a>65535&&(a-=65536,i+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),i+=String.fromCharCode(a),i};function o(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),n(a))}q(o,"decodeCodePoint"),e.default=o}),aq=nt(e=>{"use strict";var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Eq()),n=t(Mz()),o=t(xq()),a=t(Iz()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(o.default),e.decodeHTMLStrict=s(r.default);function s(d){var p=u(d);return function(f){return String(f).replace(i,p)}}q(s,"getStrictDecoder");var c=q(function(d,p){return d<p?1:-1},"sorter");e.decodeHTML=(function(){for(var d=Object.keys(n.default).sort(c),p=Object.keys(r.default).sort(c),f=0,h=0;f<p.length;f++)d[h]===p[f]?(p[f]+=";?",h++):p[f]+=";";var m=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),b=u(r.default);function w(g){return g.substr(-1)!==";"&&(g+=";"),b(g)}return q(w,"replacer"),function(g){return String(g).replace(m,w)}})();function u(d){return q(function(p){if(p.charAt(1)==="#"){var f=p.charAt(2);return f==="X"||f==="x"?a.default(parseInt(p.substr(3),16)):a.default(parseInt(p.substr(2),10))}return d[p.slice(1,-1)]||p},"replace")}q(u,"getReplacer")}),iq=nt(e=>{"use strict";var t=e&&e.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(xq()),n=c(r.default),o=u(n);e.encodeXML=g(n);var a=t(Eq()),i=c(a.default),s=u(i);e.encodeHTML=h(i,s),e.encodeNonAsciiHTML=g(i);function c(E){return Object.keys(E).sort().reduce(function(C,x){return C[E[x]]="&"+x+";",C},{})}q(c,"getInverseObj");function u(E){for(var C=[],x=[],P=0,S=Object.keys(E);P<S.length;P++){var y=S[P];y.length===1?C.push("\\"+y):x.push(y)}C.sort();for(var v=0;v<C.length-1;v++){for(var A=v;A<C.length-1&&C[A].charCodeAt(1)+1===C[A+1].charCodeAt(1);)A+=1;var T=1+A-v;T<3||C.splice(v,T,C[v]+"-"+C[A])}return x.unshift("["+C.join("")+"]"),new RegExp(x.join("|"),"g")}q(u,"getInverseReplacer");var d=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=String.prototype.codePointAt!=null?(function(E){return E.codePointAt(0)}):(function(E){return(E.charCodeAt(0)-55296)*1024+E.charCodeAt(1)-56320+65536});function f(E){return"&#x"+(E.length>1?p(E):E.charCodeAt(0)).toString(16).toUpperCase()+";"}q(f,"singleCharReplacer");function h(E,C){return function(x){return x.replace(C,function(P){return E[P]}).replace(d,f)}}q(h,"getInverse");var m=new RegExp(o.source+"|"+d.source,"g");function b(E){return E.replace(m,f)}q(b,"escape"),e.escape=b;function w(E){return E.replace(o,f)}q(w,"escapeUTF8"),e.escapeUTF8=w;function g(E){return function(C){return C.replace(m,function(x){return E[x]||f(x)})}}q(g,"getASCIIEncoder")}),Dz=nt(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=aq(),r=iq();function n(c,u){return(!u||u<=0?t.decodeXML:t.decodeHTML)(c)}q(n,"decode"),e.decode=n;function o(c,u){return(!u||u<=0?t.decodeXML:t.decodeHTMLStrict)(c)}q(o,"decodeStrict"),e.decodeStrict=o;function a(c,u){return(!u||u<=0?r.encodeXML:r.encodeHTML)(c)}q(a,"encode"),e.encode=a;var i=iq();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:q(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:q(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:q(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:q(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:q(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:q(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:q(function(){return i.encodeHTML},"get")});var s=aq();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:q(function(){return s.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:q(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:q(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:q(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:q(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:q(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:q(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:q(function(){return s.decodeXML},"get")})}),Nz=nt((e,t)=>{"use strict";function r(R,k){if(!(R instanceof k))throw new TypeError("Cannot call a class as a function")}q(r,"_classCallCheck");function n(R,k){for(var D=0;D<k.length;D++){var K=k[D];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(R,K.key,K)}}q(n,"_defineProperties");function o(R,k,D){return k&&n(R.prototype,k),D&&n(R,D),R}q(o,"_createClass");function a(R,k){var D=typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(!D){if(Array.isArray(R)||(D=i(R))||k&&R&&typeof R.length=="number"){D&&(R=D);var K=0,G=q(function(){},"F");return{s:G,n:q(function(){return K>=R.length?{done:!0}:{done:!1,value:R[K++]}},"n"),e:q(function(W){throw W},"e"),f:G}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
946
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var te=!0,oe=!1,ee;return{s:q(function(){D=D.call(R)},"s"),n:q(function(){var W=D.next();return te=W.done,W},"n"),e:q(function(W){oe=!0,ee=W},"e"),f:q(function(){try{!te&&D.return!=null&&D.return()}finally{if(oe)throw ee}},"f")}}q(a,"_createForOfIteratorHelper");function i(R,k){if(R){if(typeof R=="string")return s(R,k);var D=Object.prototype.toString.call(R).slice(8,-1);if(D==="Object"&&R.constructor&&(D=R.constructor.name),D==="Map"||D==="Set")return Array.from(R);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return s(R,k)}}q(i,"_unsupportedIterableToArray");function s(R,k){(k==null||k>R.length)&&(k=R.length);for(var D=0,K=new Array(k);D<k;D++)K[D]=R[D];return K}q(s,"_arrayLikeToArray");var c=Dz(),u={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:d()};function d(){var R={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 E(0,5).forEach(function(k){E(0,5).forEach(function(D){E(0,5).forEach(function(K){return p(k,D,K,R)})})}),E(0,23).forEach(function(k){var D=k+232,K=f(k*10+8);R[D]="#"+K+K+K}),R}q(d,"getDefaultColors");function p(R,k,D,K){var G=16+R*36+k*6+D,te=R>0?R*40+55:0,oe=k>0?k*40+55:0,ee=D>0?D*40+55:0;K[G]=h([te,oe,ee])}q(p,"setStyleColor");function f(R){for(var k=R.toString(16);k.length<2;)k="0"+k;return k}q(f,"toHexString");function h(R){var k=[],D=a(R),K;try{for(D.s();!(K=D.n()).done;){var G=K.value;k.push(f(G))}}catch(te){D.e(te)}finally{D.f()}return"#"+k.join("")}q(h,"toColorHexString");function m(R,k,D,K){var G;return k==="text"?G=P(D,K):k==="display"?G=w(R,D,K):k==="xterm256Foreground"?G=v(R,K.colors[D]):k==="xterm256Background"?G=A(R,K.colors[D]):k==="rgb"&&(G=b(R,D)),G}q(m,"generateOutput");function b(R,k){k=k.substring(2).slice(0,-1);var D=+k.substr(0,2),K=k.substring(5).split(";"),G=K.map(function(te){return("0"+Number(te).toString(16)).substr(-2)}).join("");return y(R,(D===38?"color:#":"background-color:#")+G)}q(b,"handleRgb");function w(R,k,D){k=parseInt(k,10);var K={"-1":q(function(){return"<br/>"},"_"),0:q(function(){return R.length&&g(R)},"_"),1:q(function(){return S(R,"b")},"_"),3:q(function(){return S(R,"i")},"_"),4:q(function(){return S(R,"u")},"_"),8:q(function(){return y(R,"display:none")},"_"),9:q(function(){return S(R,"strike")},"_"),22:q(function(){return y(R,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:q(function(){return T(R,"i")},"_"),24:q(function(){return T(R,"u")},"_"),39:q(function(){return v(R,D.fg)},"_"),49:q(function(){return A(R,D.bg)},"_"),53:q(function(){return y(R,"text-decoration:overline")},"_")},G;return K[k]?G=K[k]():4<k&&k<7?G=S(R,"blink"):29<k&&k<38?G=v(R,D.colors[k-30]):39<k&&k<48?G=A(R,D.colors[k-40]):89<k&&k<98?G=v(R,D.colors[8+(k-90)]):99<k&&k<108&&(G=A(R,D.colors[8+(k-100)])),G}q(w,"handleDisplay");function g(R){var k=R.slice(0);return R.length=0,k.reverse().map(function(D){return"</"+D+">"}).join("")}q(g,"resetStyles");function E(R,k){for(var D=[],K=R;K<=k;K++)D.push(K);return D}q(E,"range");function C(R){return function(k){return(R===null||k.category!==R)&&R!=="all"}}q(C,"notCategory");function x(R){R=parseInt(R,10);var k=null;return R===0?k="all":R===1?k="bold":2<R&&R<5?k="underline":4<R&&R<7?k="blink":R===8?k="hide":R===9?k="strike":29<R&&R<38||R===39||89<R&&R<98?k="foreground-color":(39<R&&R<48||R===49||99<R&&R<108)&&(k="background-color"),k}q(x,"categoryForCode");function P(R,k){return k.escapeXML?c.encodeXML(R):R}q(P,"pushText");function S(R,k,D){return D||(D=""),R.push(k),"<".concat(k).concat(D?' style="'.concat(D,'"'):"",">")}q(S,"pushTag");function y(R,k){return S(R,"span",k)}q(y,"pushStyle");function v(R,k){return S(R,"span","color:"+k)}q(v,"pushForegroundColor");function A(R,k){return S(R,"span","background-color:"+k)}q(A,"pushBackgroundColor");function T(R,k){var D;if(R.slice(-1)[0]===k&&(D=R.pop()),D)return"</"+k+">"}q(T,"closeTag");function _(R,k,D){var K=!1,G=3;function te(){return""}q(te,"remove");function oe(J,le){return D("xterm256Foreground",le),""}q(oe,"removeXterm256Foreground");function ee(J,le){return D("xterm256Background",le),""}q(ee,"removeXterm256Background");function W(J){return k.newline?D("display",-1):D("text",J),""}q(W,"newline");function z(J,le){K=!0,le.trim().length===0&&(le="0"),le=le.trimRight(";").split(";");var ue=a(le),Oe;try{for(ue.s();!(Oe=ue.n()).done;){var Je=Oe.value;D("display",Je)}}catch(Ht){ue.e(Ht)}finally{ue.f()}return""}q(z,"ansiMess");function Y(J){return D("text",J),""}q(Y,"realText");function re(J){return D("rgb",J),""}q(re,"rgb");var X=[{pattern:/^\x08+/,sub:te},{pattern:/^\x1b\[[012]?K/,sub:te},{pattern:/^\x1b\[\(B/,sub:te},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:re},{pattern:/^\x1b\[38;5;(\d+)m/,sub:oe},{pattern:/^\x1b\[48;5;(\d+)m/,sub:ee},{pattern:/^\n/,sub:W},{pattern:/^\r+\n/,sub:W},{pattern:/^\r/,sub:W},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:z},{pattern:/^\x1b\[\d?J/,sub:te},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:te},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:te},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Y}];function ie(J,le){le>G&&K||(K=!1,R=R.replace(J.pattern,J.sub))}q(ie,"process");var se=[],me=R,Pe=me.length;e:for(;Pe>0;){for(var L=0,ne=0,ae=X.length;ne<ae;L=++ne){var V=X[L];if(ie(V,L),R.length!==Pe){Pe=R.length;continue e}}if(R.length===Pe)break;se.push(0),Pe=R.length}return se}q(_,"tokenize");function N(R,k,D){return k!=="text"&&(R=R.filter(C(x(D))),R.push({token:k,data:D,category:x(D)})),R}q(N,"updateStickyStack");var $=(function(){function R(k){r(this,R),k=k||{},k.colors&&(k.colors=Object.assign({},u.colors,k.colors)),this.options=Object.assign({},u,k),this.stack=[],this.stickyStack=[]}return q(R,"Filter"),o(R,[{key:"toHtml",value:q(function(k){var D=this;k=typeof k=="string"?[k]:k;var K=this.stack,G=this.options,te=[];return this.stickyStack.forEach(function(oe){var ee=m(K,oe.token,oe.data,G);ee&&te.push(ee)}),_(k.join(""),G,function(oe,ee){var W=m(K,oe,ee,G);W&&te.push(W),G.stream&&(D.stickyStack=N(D.stickyStack,oe,ee))}),K.length&&te.push(g(K)),te.join("")},"toHtml")}]),R})();t.exports=$});function Cq(){let e={setHandler:q(()=>{},"setHandler"),send:q(()=>{},"send")};return new ca({transport:e})}q(Cq,"mockChannel");var Sq=class{constructor(){this.getChannel=q(()=>{if(!this.channel){let t=Cq();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=q(()=>this.promise,"ready"),this.hasChannel=q(()=>!!this.channel,"hasChannel"),this.setChannel=q(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};q(Sq,"AddonStore");var Fz=Sq,Wg="__STORYBOOK_ADDONS_PREVIEW";function Aq(){return Z[Wg]||(Z[Wg]=new Fz),Z[Wg]}q(Aq,"getAddonsStore");var xt=Aq(),Pq=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=q(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(),xt.getChannel().on(lr,this.renderListener)}removeRenderListeners(){xt.getChannel().removeListener(lr,this.renderListener)}};q(Pq,"HooksContext");var Oq=Pq;function Zg(e){let t=q((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,a=n.currentHooks,i=n.nextHookIndex,s=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let c=Z.STORYBOOK_HOOKS_CONTEXT;Z.STORYBOOK_HOOKS_CONTEXT=n;let u=e(...r);if(Z.STORYBOOK_HOOKS_CONTEXT=c,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=a,n.nextHookIndex=i,n.currentDecoratorName=s,u},"hookified");return t.originalFn=e,t}q(Zg,"hookify");var Gg=0,$z=25,Lz=q(e=>(t,r)=>{let n=e(Zg(t),r.map(o=>Zg(o)));return o=>{var s;let{hooks:a}=o;(s=a.prevMountedDecorators)!=null||(a.prevMountedDecorators=new Set),a.mountedDecorators=new Set([t,...r]),a.currentContext=o,a.hasUpdates=!1;let i=n(o);for(Gg=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=n(o),Gg+=1,Gg>$z)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks"),Bz=q((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),hy=q(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function my(){return Z.STORYBOOK_HOOKS_CONTEXT||null}q(my,"getHooksContextOrNull");function nc(){let e=my();if(e==null)throw hy();return e}q(nc,"getHooksContextOrThrow");function Tq(e,t,r){let n=nc();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&pe.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&pe.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&pe.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&&pe.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
947
|
+
Previous: ${o.deps}
|
|
948
|
+
Incoming: ${r}`),(r==null||o.deps==null||!Bz(r,o.deps))&&(t(o),o.deps=r),o}throw hy()}q(Tq,"useHook");function Ti(e,t,r){let{memoizedState:n}=Tq(e,o=>{o.memoizedState=t()},r);return n}q(Ti,"useMemoLike");function zg(e,t){return Ti("useMemo",e,t)}q(zg,"useMemo");function Oi(e,t){return Ti("useCallback",()=>e,t)}q(Oi,"useCallback");function by(e,t){return Ti(e,()=>({current:t}),[])}q(by,"useRefLike");function Hz(e){return by("useRef",e)}q(Hz,"useRef");function Rq(){let e=my();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{xt.getChannel().emit(ra)}catch(t){pe.warn("State updates of Storybook preview hooks work only in browser")}}q(Rq,"triggerUpdate");function gy(e,t){let r=by(e,typeof t=="function"?t():t),n=q(o=>{r.current=typeof o=="function"?o(r.current):o,Rq()},"setState");return[r.current,n]}q(gy,"useStateLike");function Uz(e){return gy("useState",e)}q(Uz,"useState");function Vz(e,t,r){let n=r!=null?()=>r(t):t,[o,a]=gy("useReducer",n);return[o,q(i=>a(s=>e(s,i)),"dispatch")]}q(Vz,"useReducer");function nr(e,t){let r=nc(),n=Ti("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}q(nr,"useEffect");function zz(e,t=[]){let r=xt.getChannel();return nr(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Oi(r.emit.bind(r),[r])}q(zz,"useChannel");function oc(){let{currentContext:e}=nc();if(e==null)throw hy();return e}q(oc,"useStoryContext");function Wz(e,t){var n;let{parameters:r}=oc();if(e)return(n=r[e])!=null?n:t}q(Wz,"useParameter");function yy(){let e=xt.getChannel(),{id:t,args:r}=oc(),n=Oi(a=>e.emit(ia,{storyId:t,updatedArgs:a}),[e,t]),o=Oi(a=>e.emit(na,{storyId:t,argNames:a}),[e,t]);return[r,n,o]}q(yy,"useArgs");function Gz(){let e=xt.getChannel(),{globals:t}=oc(),r=Oi(n=>e.emit(aa,{globals:n}),[e]);return[t,r]}q(Gz,"useGlobals");function _q(){}q(_q,"noop");function ey(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}q(ey,"getSymbols");function ty(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}q(ty,"getTag");var Yz="[object RegExp]",Kz="[object String]",Xz="[object Number]",Jz="[object Boolean]",sq="[object Arguments]",Qz="[object Symbol]",Zz="[object Date]",e7="[object Map]",t7="[object Set]",r7="[object Array]",n7="[object Function]",o7="[object ArrayBuffer]",Yg="[object Object]",a7="[object Error]",i7="[object DataView]",s7="[object Uint8Array]",l7="[object Uint8ClampedArray]",u7="[object Uint16Array]",c7="[object Uint32Array]",d7="[object BigUint64Array]",p7="[object Int8Array]",f7="[object Int16Array]",h7="[object Int32Array]",m7="[object BigInt64Array]",b7="[object Float32Array]",g7="[object Float64Array]";function Lt(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}q(Lt,"isPlainObject");function Go(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let a=n[o],i=e[a];r[a]=t(i,a,e)}return r}q(Go,"mapValues");function kq(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let a=n[o],i=e[a];t(i,a)&&(r[a]=i)}return r}q(kq,"pickBy");function qq(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}q(qq,"eq");function Mq(e,t,r){return zo(e,t,void 0,void 0,void 0,void 0,r)}q(Mq,"isEqualWith");function zo(e,t,r,n,o,a,i){let s=i(e,t,r,n,o,a);if(s!==void 0)return s;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 Wo(e,t,a,i)}return Wo(e,t,a,i)}q(zo,"isEqualWithImpl");function Wo(e,t,r,n){if(Object.is(e,t))return!0;let o=ty(e),a=ty(t);if(o===sq&&(o=Yg),a===sq&&(a=Yg),o!==a)return!1;switch(o){case Kz:return e.toString()===t.toString();case Xz:{let c=e.valueOf(),u=t.valueOf();return qq(c,u)}case Jz:case Zz:case Qz:return Object.is(e.valueOf(),t.valueOf());case Yz:return e.source===t.source&&e.flags===t.flags;case n7: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(o){case e7:{if(e.size!==t.size)return!1;for(let[c,u]of e.entries())if(!t.has(c)||!zo(u,t.get(c),c,e,t,r,n))return!1;return!0}case t7:{if(e.size!==t.size)return!1;let c=Array.from(e.values()),u=Array.from(t.values());for(let d=0;d<c.length;d++){let p=c[d],f=u.findIndex(h=>zo(p,h,void 0,e,t,r,n));if(f===-1)return!1;u.splice(f,1)}return!0}case r7:case s7:case l7:case u7:case c7:case d7:case p7:case f7:case h7:case m7:case b7:case g7:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let c=0;c<e.length;c++)if(!zo(e[c],t[c],c,e,t,r,n))return!1;return!0}case o7:return e.byteLength!==t.byteLength?!1:Wo(new Uint8Array(e),new Uint8Array(t),r,n);case i7:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Wo(new Uint8Array(e),new Uint8Array(t),r,n);case a7:return e.name===t.name&&e.message===t.message;case Yg:{if(!(Wo(e.constructor,t.constructor,r,n)||Lt(e)&&Lt(t)))return!1;let c=[...Object.keys(e),...ey(e)],u=[...Object.keys(t),...ey(t)];if(c.length!==u.length)return!1;for(let d=0;d<c.length;d++){let p=c[d],f=e[p];if(!Object.hasOwn(t,p))return!1;let h=t[p];if(!zo(f,h,p,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}q(Wo,"areObjectsEqual");function jq(e,t){return Mq(e,t,_q)}q(jq,"isEqual");var Kg=Jo(yq(),1);function qr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(s,c){var u=c.match(/\n([\t ]+|(?!\s).)/g);return u?s.concat(u.map(function(d){var p,f;return(f=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&f!==void 0?f:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
949
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
950
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(s,c){var u=i.match(/(?:^|\n)( *)$/),d=u?u[1]:"",p=s;typeof s=="string"&&s.includes(`
|
|
951
|
+
`)&&(p=String(s).split(`
|
|
952
|
+
`).map(function(f,h){return h===0?f:""+d+f}).join(`
|
|
953
|
+
`)),i+=p+n[c+1]}),i}q(qr,"dedent");var Uo=Symbol("incompatible"),ry=q((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)?Uo:e.reduce((n,o,a)=>{let i=ry(o,{type:r.value});return i!==Uo&&(n[a]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Uo:Object.entries(e).reduce((n,[o,a])=>{let i=ry(a,{type:r.value[o]});return i===Uo?n:Object.assign(n,{[o]:i})},{});default:return Uo}},"map"),y7=q((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let a=ry(o,t[n]);return a===Uo?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),ny=q((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=ny(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!Lt(e)||!Lt(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=ny(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),v7=q((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(q(a,"allowArg"),!o)return a();if(!Array.isArray(o))return je.error(qr`
|
|
954
|
+
Invalid argType: '${n}.options' should be an array.
|
|
955
|
+
|
|
956
|
+
More info: https://storybook.js.org/docs/api/arg-types?ref=error
|
|
957
|
+
`),a();if(o.some(p=>p&&["object","function"].includes(typeof p)))return je.error(qr`
|
|
958
|
+
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
959
|
+
|
|
960
|
+
More info: https://storybook.js.org/docs/writing-stories/args?ref=error#mapping-to-complex-arg-values
|
|
961
|
+
`),a();let i=Array.isArray(e[n]),s=i&&e[n].findIndex(p=>!o.includes(p)),c=i&&s===-1;if(e[n]===void 0||o.includes(e[n])||c)return a();let u=i?`${n}[${s}]`:n,d=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return je.warn(`Received illegal value for '${u}'. Supported options: ${d}`),r},{}),"validateOptions"),Ai=Symbol("Deeply equal"),Qu=q((e,t)=>{if(typeof e!=typeof t)return t;if(jq(e,t))return Ai;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,a)=>{let i=Qu(e[a],o);return i!==Ai&&(n[a]=i),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Lt(e)&&Lt(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Qu(e==null?void 0:e[n],t==null?void 0:t[n]);return o===Ai?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),Iq="UNTARGETED";function Dq({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=Iq}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}q(Dq,"groupArgsByTarget");function Nq(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}q(Nq,"deleteUndefined");var Fq=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=Qu(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==Ai&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=v7(r,t.argTypes);this.argsByStoryId[t.id]=ny(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=y7(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=Nq({...this.argsByStoryId[t],...r})}};q(Fq,"ArgsStore");var w7=Fq,$q=q((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),Lq=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Qu(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=$q(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==Ai&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:pe.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)};for(let r in t)t[r]===void 0&&(this.globals[r]=this.initialGlobals[r])}};q(Lq,"GlobalsStore");var E7=Lq,x7=Jo(yq(),1),C7=(0,x7.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),Bq=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(a=>a.id.startsWith(t));let{name:n,title:o}=t;return r.find(a=>a.name===n&&a.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new l0({storyId:t});return r}importPathToEntry(t){return C7(this.entries)[t]}};q(Bq,"StoryIndexStore");var S7=Bq,A7=q(e=>typeof e=="string"?{name:e}:e,"normalizeType"),P7=q(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),O7=q((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=A7(r)),n?a.control=P7(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),Zu=q(e=>Go(e,O7),"normalizeInputTypes"),Me=q(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),T7=qr`
|
|
962
|
+
CSF .story annotations deprecated; annotate story functions directly:
|
|
963
|
+
- StoryFn.story.name => StoryFn.storyName
|
|
964
|
+
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
965
|
+
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
966
|
+
`;function ec(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(pe.debug("deprecated story",a),Ln(T7));let i=Gu(e),s=typeof n!="function"&&n.name||n.storyName||(a==null?void 0:a.name)||i,c=[...Me(n.decorators),...Me(a==null?void 0:a.decorators)],u={...a==null?void 0:a.parameters,...n.parameters},d={...a==null?void 0:a.args,...n.args},p={...a==null?void 0:a.argTypes,...n.argTypes},f=[...Me(n.loaders),...Me(a==null?void 0:a.loaders)],h=[...Me(n.beforeEach),...Me(a==null?void 0:a.beforeEach)],m=[...Me(n.afterEach),...Me(a==null?void 0:a.afterEach)],{render:b,play:w,tags:g=[],globals:E={}}=n,C=u.__id||Wu(r.id,i);return{moduleExport:t,id:C,name:s,tags:g,decorators:c,parameters:u,args:d,argTypes:Zu(p),loaders:f,beforeEach:h,afterEach:m,globals:E,...b&&{render:b},...o&&{userStoryFn:o},...w&&{play:w}}}q(ec,"normalizeStory");function tc(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Ci(n||t),...e,title:t,...o&&{argTypes:Zu(o)},parameters:{fileName:r,...e.parameters}}}q(tc,"normalizeComponentAnnotations");var R7=q(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&pe.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),_7=q(e=>{let{options:t}=e;t!=null&&t.storySort&&pe.error("The storySort option parameter can only be set globally")},"checkStorySort"),Ku=q(e=>{e&&(R7(e),_7(e))},"checkDisallowedParameters");function Hq(e,t,r){let{default:n,__namedExportsOrder:o,...a}=e,i=Object.values(a)[0];if(Dn(i)){let u=tc(i.meta.input,r,t);Ku(u.parameters);let d={meta:u,stories:{},moduleExports:e};return Object.keys(a).forEach(p=>{if(Bo(p,u)){let f=ec(p,a[p].input,u);Ku(f.parameters),d.stories[f.id]=f}}),d.projectAnnotations=i.meta.preview.composed,d}let s=tc(n,r,t);Ku(s.parameters);let c={meta:s,stories:{},moduleExports:e};return Object.keys(a).forEach(u=>{if(Bo(u,s)){let d=ec(u,a[u],s);Ku(d.parameters),c.stories[d.id]=d}}),c}q(Hq,"processCSFFile");function Uq(e){return e!=null&&Vq(e).includes("mount")}q(Uq,"mountDestructured");function Vq(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=oy(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?oy(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}q(Vq,"getUsedProps");function oy(e){let t=[],r=[],n=0;for(let a=0;a<e.length;a++)if(e[a]==="{"||e[a]==="[")r.push(e[a]==="{"?"}":"]");else if(e[a]===r[r.length-1])r.pop();else if(!r.length&&e[a]===","){let i=e.substring(n,a).trim();i&&t.push(i),n=a+1}let o=e.substring(n).trim();return o&&t.push(o),t}q(oy,"splitByComma");function zq(e,t,r){let n=r(e);return o=>t(n,o)}q(zq,"decorateStory");function Wq({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:i,initialArgs:s,argTypes:c,...u}={}){return u}q(Wq,"sanitizeStoryContextUpdate");function Gq(e,t){let r={},n=q(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Wq(i)},a(r.value)},"bindWithContext"),o=t.reduce((a,i)=>zq(a,i,n),e);return a=>(r.value=a,o(a))}q(Gq,"defaultDecorateStory");var Yo=q((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([i,s])=>{let c=o[i];Array.isArray(s)||typeof c>"u"?o[i]=s:Lt(s)&&Lt(c)?t[i]=!0:typeof s<"u"&&(o[i]=s)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(i=>i[o]).filter(i=>typeof i<"u");a.every(i=>Lt(i))?n[o]=Yo(...a):n[o]=a[a.length-1]}),n},"combineParameters");function vy(e,t,r){var S,y,v,A;let{moduleExport:n,id:o,name:a}=e||{},i=wy(e,t,r),s=q(async T=>{let _={};for(let N of[Me(r.loaders),Me(t.loaders),Me(e.loaders)]){if(T.abortSignal.aborted)return _;let $=await Promise.all(N.map(R=>R(T)));Object.assign(_,...$)}return _},"applyLoaders"),c=q(async T=>{let _=new Array;for(let N of[...Me(r.beforeEach),...Me(t.beforeEach),...Me(e.beforeEach)]){if(T.abortSignal.aborted)return _;let $=await N(T);$&&_.push($)}return _},"applyBeforeEach"),u=q(async T=>{let _=[...Me(r.afterEach),...Me(t.afterEach),...Me(e.afterEach)].reverse();for(let N of _){if(T.abortSignal.aborted)return;await N(T)}},"applyAfterEach"),d=q(T=>T.originalStoryFn(T.args,T),"undecoratedStoryFn"),{applyDecorators:p=Gq,runStep:f}=r,h=[...Me(e==null?void 0:e.decorators),...Me(t==null?void 0:t.decorators),...Me(r==null?void 0:r.decorators)],m=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,b=Lz(p)(d,h),w=q(T=>b(T),"unboundStoryFn"),g=(S=e==null?void 0:e.play)!=null?S:t==null?void 0:t.play,E=Uq(g);if(!m&&!E)throw new Wi({id:o});let C=q(T=>async()=>(await T.renderToCanvas(),T.canvas),"defaultMount"),x=(A=(v=(y=e.mount)!=null?y:t.mount)!=null?v:r.mount)!=null?A:C,P=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:o,name:a,story:a,originalStoryFn:m,undecoratedStoryFn:d,unboundStoryFn:w,applyLoaders:s,applyBeforeEach:c,applyAfterEach:u,playFunction:g,runStep:f,mount:x,testingLibraryRender:P,renderToCanvas:r.renderToCanvas,usesMount:E}}q(vy,"prepareStory");function Yq(e,t,r){return{...wy(void 0,e,t),moduleExport:r}}q(Yq,"prepareMeta");function wy(e,t,r){var g,E,C,x;let n=["dev","test"],o=((g=Z.DOCS_OPTIONS)==null?void 0:g.autodocs)===!0?["autodocs"]:[],a=Ho(...n,...o,...(E=r.tags)!=null?E:[],...(C=t.tags)!=null?C:[],...(x=e==null?void 0:e.tags)!=null?x:[]),i=Yo(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:s=[],argsEnhancers:c=[]}=r,u=Yo(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let P=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;i.__isArgsStory=P&&P.length>0}let d={...r.args,...t.args,...e==null?void 0:e.args},p={...t.globals,...e==null?void 0:e.globals},f={componentId:t.id,title:t.title,kind:t.title,id:(e==null?void 0:e.id)||t.id,name:(e==null?void 0:e.name)||"__meta",story:(e==null?void 0:e.name)||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:i,initialArgs:d,argTypes:u,storyGlobals:p};f.argTypes=s.reduce((P,S)=>S({...f,argTypes:P}),f.argTypes);let h={...d};f.initialArgs=[...c].reduce((P,S)=>({...P,...S({...f,initialArgs:P})}),h);let{name:m,story:b,...w}=f;return w}q(wy,"preparePartialAnnotations");function Ey(e){var a;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((a=Z.FEATURES)!=null&&a.argTypeTargetsV7){let i=Dq(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[Iq]||{}}}let n=Object.entries(r.args).reduce((i,[s,c])=>{var d;if(!((d=r.argTypes[s])!=null&&d.mapping))return i[s]=c,i;let u=q(p=>{let f=r.argTypes[s].mapping;return f&&p in f?f[p]:p},"mappingFn");return i[s]=Array.isArray(c)?c.map(u):u(c),i},{}),o=Object.entries(n).reduce((i,[s,c])=>{let u=r.argTypes[s]||{};return Lu(u,n,r.globals)&&(i[s]=c),i},{});return{...r,unmappedArgs:t,args:o}}q(Ey,"prepareContext");var ay=q((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(pe.warn(qr`
|
|
967
|
+
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
968
|
+
|
|
969
|
+
Consider using the mapping feature or fully custom args:
|
|
970
|
+
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
971
|
+
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
972
|
+
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?ay(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Go(e,o=>ay(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),Kq=q(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Go(n,(i,s)=>({name:s,type:ay(i,`${t}.${s}`,new Set)})),a=Go(r,(i,s)=>({name:s}));return Yo(o,a,r)},"inferArgTypes");Kq.secondPass=!0;var lq=q((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),k7=q((e,t,r)=>!t&&!r?e:e&&kq(e,(n,o)=>{let a=n.name||o.toString();return!!(!t||lq(a,t))&&(!r||!lq(a,r))}),"filterArgTypes"),q7=q((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&pe.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=n;return{control:{type:(a==null?void 0:a.length)<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),Xq=q(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let i=k7(t,n,o),s=Go(i,(c,u)=>(c==null?void 0:c.type)&&q7(c,u.toString(),a));return Yo(s,i)},"inferControls");Xq.secondPass=!0;function rc({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,afterEach:i,initialGlobals:s,...c}){return{...e&&{argTypes:Zu(e)},...t&&{globalTypes:Zu(t)},decorators:Me(n),loaders:Me(o),beforeEach:Me(a),afterEach:Me(i),argTypesEnhancers:[...r||[],Kq,Xq],initialGlobals:s,...c}}q(rc,"normalizeProjectAnnotations");var M7=q(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function Jq(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}q(Jq,"composeStepRunners");function Ko(e,t){return e.map(r=>{var n,o;return(o=(n=r.default)==null?void 0:n[t])!=null?o:r[t]}).filter(Boolean)}q(Ko,"getField");function kr(e,t,r={}){return Ko(e,t).reduce((n,o)=>{let a=Me(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}q(kr,"getArrayField");function Si(e,t){return Object.assign({},...Ko(e,t))}q(Si,"getObjectField");function Vo(e,t){return Ko(e,t).pop()}q(Vo,"getSingletonField");function Xo(e){var o,a;let t=kr(e,"argTypesEnhancers"),r=Ko(e,"runStep"),n=kr(e,"beforeAll");return{parameters:Yo(...Ko(e,"parameters")),decorators:kr(e,"decorators",{reverseFileOrder:!((a=(o=Z.FEATURES)==null?void 0:o.legacyDecoratorFileOrder)!=null&&a)}),args:Si(e,"args"),argsEnhancers:kr(e,"argsEnhancers"),argTypes:Si(e,"argTypes"),argTypesEnhancers:[...t.filter(i=>!i.secondPass),...t.filter(i=>i.secondPass)],initialGlobals:Si(e,"initialGlobals"),globalTypes:Si(e,"globalTypes"),loaders:kr(e,"loaders"),beforeAll:M7(n),beforeEach:kr(e,"beforeEach"),afterEach:kr(e,"afterEach"),render:Vo(e,"render"),renderToCanvas:Vo(e,"renderToCanvas"),applyDecorators:Vo(e,"applyDecorators"),runStep:Jq(r),tags:kr(e,"tags"),mount:Vo(e,"mount"),testingLibraryRender:Vo(e,"testingLibraryRender")}}q(Xo,"composeConfigs");function xy(){var e,t,r;try{return!!globalThis.__vitest_browser__||!!((r=(t=(e=globalThis.window)==null?void 0:e.navigator)==null?void 0:t.userAgent)!=null&&r.match(/StorybookTestRunner/))}catch(n){return!1}}q(xy,"isTestEnvironment");function Cy(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
|
|
973
|
+
animation: none !important;
|
|
974
|
+
}`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
|
|
975
|
+
animation-delay: 0s !important;
|
|
976
|
+
animation-direction: ${e?"reverse":"normal"} !important;
|
|
977
|
+
animation-play-state: paused !important;
|
|
978
|
+
transition: none !important;
|
|
979
|
+
}`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{var n;(n=r.parentNode)==null||n.removeChild(r)}}q(Cy,"pauseAnimations");async function Sy(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...Ay(globalThis.document)],o=q(async()=>{if(t||e!=null&&e.aborted)return;let a=n.flatMap(i=>{var s;return((s=i==null?void 0:i.getAnimations)==null?void 0:s.call(i))||[]}).filter(i=>i.playState==="running"&&!Qq(i));a.length>0&&(await Promise.all(a.map(i=>i.finished)),await o())},"checkAnimationsFinished");o().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}q(Sy,"waitForAnimations");function Ay(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...Ay(r.shadowRoot)),t),[])}q(Ay,"getShadowRoots");function Qq(e){var t;if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let r=getComputedStyle(e.effect.target,e.effect.pseudoElement),n=(t=r.animationName)==null?void 0:t.split(", ").indexOf(e.animationName);return r.animationIterationCount.split(", ")[n]==="infinite"}return!1}q(Qq,"isInfiniteAnimation");var Zq=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};q(Zq,"ReporterAPI");var eM=Zq;function tM(e,t,r){return Dn(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}q(tM,"getCsfFactoryAnnotations");function j7(e){globalThis.defaultProjectAnnotations=e}q(j7,"setDefaultProjectAnnotations");var I7="ComposedStory",D7="Unnamed Story";function rM(e){return e?Xo([e]):{}}q(rM,"extractAnnotation");function N7(e){var r,n;let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Xo([...Lo(),(r=globalThis.defaultProjectAnnotations)!=null?r:{},Xo(t.map(rM))]),(n=globalThis.globalProjectAnnotations)!=null?n:{}}q(N7,"setProjectAnnotations");var on=[];function nM(e,t,r,n,o){var g,E,C;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=(g=t.title)!=null?g:I7;let a=tc(t),i=o||e.storyName||((E=e.story)==null?void 0:E.name)||e.name||D7,s=ec(i,e,a),c=rc(Xo([(C=n!=null?n:globalThis.globalProjectAnnotations)!=null?C:{},r!=null?r:{}])),u=vy(s,a,c),d={...$q(c.globalTypes),...c.initialGlobals,...u.storyGlobals},p=new eM,f=q(()=>{let x=Ey({hooks:new Oq,globals:d,args:{...u.initialArgs},viewMode:"story",reporting:p,loaded:{},abortSignal:new AbortController().signal,step:q((P,S)=>u.runStep(P,S,x),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:c.globalTypes,...u,context:null,mount:null});return x.parameters.__isPortableStory=!0,x.context=x,u.renderToCanvas&&(x.renderToCanvas=async()=>{var S;let P=await((S=u.renderToCanvas)==null?void 0:S.call(u,{componentId:u.componentId,title:u.title,id:u.id,name:u.name,tags:u.tags,showMain:q(()=>{},"showMain"),showError:q(y=>{throw new Error(`${y.title}
|
|
980
|
+
${y.description}`)},"showError"),showException:q(y=>{throw y},"showException"),forceRemount:!0,storyContext:x,storyFn:q(()=>u.unboundStoryFn(x),"storyFn"),unboundStoryFn:u.unboundStoryFn},x.canvasElement));P&&on.push(P)}),x.mount=u.mount(x),x},"initializeContext"),h,m=q(async x=>{var S,y;let P=f();return(y=P.canvasElement)!=null||(P.canvasElement=(S=globalThis==null?void 0:globalThis.document)==null?void 0:S.body),h&&(P.loaded=h.loaded),Object.assign(P,x),u.playFunction(P)},"play"),b=q(x=>{let P=f();return Object.assign(P,x),oM(u,P)},"run"),w=u.playFunction?m:void 0;return Object.assign(q(function(x){let P=f();return h&&(P.loaded=h.loaded),P.args={...P.initialArgs,...x},u.unboundStoryFn(P)},"storyFn"),{id:u.id,storyName:i,load:q(async()=>{for(let P of[...on].reverse())await P();on.length=0;let x=f();x.loaded=await u.applyLoaders(x),on.push(...(await u.applyBeforeEach(x)).filter(Boolean)),h=x},"load"),globals:d,args:u.initialArgs,parameters:u.parameters,argTypes:u.argTypes,play:w,run:b,reporting:p,tags:u.tags})}q(nM,"composeStory");var F7=q((e,t,r,n)=>nM(e,t,r,{},n),"defaultComposeStory");function $7(e,t,r=F7){let{default:n,__esModule:o,__namedExportsOrder:a,...i}=e,s=n;return Object.entries(i).reduce((c,[u,d])=>{let{story:p,meta:f}=tM(d);return!s&&f&&(s=f),Bo(u,s)?Object.assign(c,{[u]:r(p,s,t,u)}):c},{})}q($7,"composeStories");function L7(e){return e.extend({mount:q(async({mount:t,page:r},n)=>{await n(async(o,...a)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(qr`
|
|
981
|
+
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
982
|
+
Please use JSX format for your components such as:
|
|
983
|
+
|
|
984
|
+
instead of:
|
|
985
|
+
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
986
|
+
|
|
987
|
+
do:
|
|
988
|
+
await mount(<MyComponent foo="bar"/>)
|
|
989
|
+
|
|
990
|
+
More info: https://storybook.js.org/docs/api/portable-stories/portable-stories-playwright?ref=error
|
|
991
|
+
`);let{props:i,...s}=o;await r.evaluate(async u=>{var p,f,h;let d=await((p=globalThis.__pwUnwrapObject)==null?void 0:p.call(globalThis,u));return(h=(f="__pw_type"in d?d.type:d)==null?void 0:f.load)==null?void 0:h.call(f)},s);let c=await t(o,...a);return await r.evaluate(async u=>{var h,m;let d=await((h=globalThis.__pwUnwrapObject)==null?void 0:h.call(globalThis,u)),p="__pw_type"in d?d.type:d,f=document.querySelector("#root");return(m=p==null?void 0:p.play)==null?void 0:m.call(p,{canvasElement:f})},s),c})},"mount")})}q(L7,"createPlaywrightTest");async function oM(e,t){var a,i;for(let s of[...on].reverse())await s();if(on.length=0,!t.canvasElement){let s=document.createElement("div");(i=(a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body)==null||i.appendChild(s),t.canvasElement=s,on.push(()=>{var c,u,d,p;(u=(c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body)!=null&&u.contains(s)&&((p=(d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body)==null||p.removeChild(s))})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;on.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new Un({playFunction:r.toString()})}),await r(t));let o;xy()?o=Cy():await Sy(t.abortSignal),await e.applyAfterEach(t),await(o==null?void 0:o())}q(oM,"runStory");var uq=1e3,B7=1e4,aM=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new S7(t),this.projectAnnotations=rc(Xo([...Lo(),n]));let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new w7,this.userGlobals=new E7({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Kg.default)(uq)(Hq),this.prepareMetaWithCache=(0,Kg.default)(uq)(Yq),this.prepareStoryWithCache=(0,Kg.default)(B7)(vy)}setProjectAnnotations(t){this.projectAnnotations=rc(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){var i;let n=r.stories[t];if(!n)throw new A0({storyId:t});let o=r.meta,a=this.prepareStoryWithCache(n,o,(i=r.projectAnnotations)!=null?i:this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new Oq,a}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...a]=await Promise.all([this.importFn(r.importPath),...n.map(i=>{let s=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(s.id)})]);return{entryExports:o,csfFiles:a}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,a=new eM;return Ey({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:a,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,...r){this.cleanupCallbacks[t.id]=(this.cleanupCallbacks[t.id]||[]).concat(r)}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new p0;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:a,importPath:i}])=>{if(a==="docs")return n;let s=r[i],c=this.storyFromCSFFile({storyId:o,csfFile:s});return!t.includeDocsOnly&&c.parameters.docsOnly||(n[o]=Object.entries(c).reduce((u,[d,p])=>d==="moduleExport"||typeof p=="function"?u:Array.isArray(p)?Object.assign(u,{[d]:p.slice().sort()}):Object.assign(u,{[d]:p}),{args:c.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...c.storyGlobals}})),n},{})}};q(aM,"StoryStore");var H7=aM;function U7(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}q(U7,"slash");function V7(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}q(V7,"pathJoin");var ac=new Error("prepareAborted"),{AbortController:cq}=globalThis;function iy(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch(t){return{name:"Error",message:String(e)}}}q(iy,"serializeError");var iM=class{constructor(t,r,n,o,a,i,s={autoplay:!0,forceInitialArgs:!1},c){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=a,this.viewMode=i,this.renderOptions=s,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=q(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new cq,this.renderId=Date.now(),c&&(this.story=c,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(kt,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(kt,{newPhase:this.phase,renderId:this.renderId,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),ac}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){var C,x,P,S,y,v,A,T;let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:a,componentId:i,title:s,name:c,tags:u,applyLoaders:d,applyBeforeEach:p,applyAfterEach:f,unboundStoryFn:h,playFunction:m,runStep:b}=o;r&&!t&&(this.cancelRender(),this.abortController=new cq);let w=this.abortController.signal,g=!1,E=o.usesMount;try{let _={...this.storyContext(),viewMode:this.viewMode,abortSignal:w,canvasElement:n,loaded:{},step:q((ee,W)=>b(ee,W,_),"step"),context:null,canvas:{},userEvent:{},renderToCanvas:q(async()=>{let ee=await this.renderToScreen(N,n);this.teardownRender=ee||(()=>{}),g=!0},"renderToCanvas"),mount:q(async(...ee)=>{var z,Y;(Y=(z=this.callbacks).showStoryDuringRender)==null||Y.call(z);let W=null;return await this.runPhase(w,"rendering",async()=>{W=await o.mount(_)(...ee)}),E&&await this.runPhase(w,"playing"),W},"mount")};_.context=_;let N={componentId:i,title:s,kind:s,id:a,name:c,story:c,tags:u,...this.callbacks,showError:q(ee=>(this.phase="errored",this.callbacks.showError(ee)),"showError"),showException:q(ee=>(this.phase="errored",this.callbacks.showException(ee)),"showException"),forceRemount:r||this.notYetRendered,storyContext:_,storyFn:q(()=>h(_),"storyFn"),unboundStoryFn:h};if(await this.runPhase(w,"loading",async()=>{_.loaded=await d(_)}),w.aborted)return;let $=await p(_);if(this.store.addCleanupCallbacks(o,...$),this.checkIfAborted(w)||(!g&&!E&&await _.mount(),this.notYetRendered=!1,w.aborted))return;let R=((x=(C=this.story.parameters)==null?void 0:C.test)==null?void 0:x.dangerouslyIgnoreUnhandledErrors)===!0,k=new Set,D=q(ee=>{ee.error&&k.add(ee.error)},"onError"),K=q(ee=>{ee.reason&&k.add(ee.reason)},"onUnhandledRejection");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){(P=window==null?void 0:window.addEventListener)==null||P.call(window,"error",D),(S=window==null?void 0:window.addEventListener)==null||S.call(window,"unhandledrejection",K),this.disableKeyListeners=!0;try{if(E?await m(_):(_.mount=async()=>{throw new Un({playFunction:m.toString()})},await this.runPhase(w,"playing",async()=>m(_))),!g)throw new k0;this.checkIfAborted(w),!R&&k.size>0?await this.runPhase(w,"errored"):await this.runPhase(w,"played")}catch(ee){if((v=(y=this.callbacks).showStoryDuringRender)==null||v.call(y),await this.runPhase(w,"errored",async()=>{this.channel.emit(Uc,iy(ee))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw ee;console.error(ee)}if(!R&&k.size>0&&this.channel.emit(Vc,Array.from(k).map(iy)),this.disableKeyListeners=!1,(A=window==null?void 0:window.removeEventListener)==null||A.call(window,"unhandledrejection",K),(T=window==null?void 0:window.removeEventListener)==null||T.call(window,"error",D),w.aborted)return}await this.runPhase(w,"completing",async()=>{xy()?this.store.addCleanupCallbacks(o,Cy()):await Sy(w)}),await this.runPhase(w,"completed",async()=>{this.channel.emit(lr,a)}),this.phase!=="errored"&&await this.runPhase(w,"afterEach",async()=>{await f(_)});let G=!R&&k.size>0,te=_.reporting.reports.some(ee=>ee.status==="failed"),oe=G||te;await this.runPhase(w,"finished",async()=>this.channel.emit(Fi,{storyId:a,status:oe?"error":"success",reporters:_.reporting.reports}))}catch(_){this.phase="errored",this.callbacks.showException(_),await this.runPhase(w,"finished",async()=>this.channel.emit(Fi,{storyId:a,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController.abort()}cancelPlayFunction(){this.phase==="playing"&&(this.abortController.abort(),this.runPhase(this.abortController.signal,"aborted"))}async teardown(){var t,r;this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let n=0;n<3;n+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(o=>setTimeout(o,0))}(r=(t=window==null?void 0:window.location)==null?void 0:t.reload)==null||r.call(t),await new Promise(()=>{})}};q(iM,"StoryRender");var sy=iM,{fetch:z7}=Z,W7="./index.json",sM=class{constructor(t,r,n=xt.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((a,i)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=i}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:q((t,r)=>{if(this.storyStoreValue)return Ln("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new O0},"get")})}async initialize(){var t;this.setupListeners();try{let r=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(r),await this.initializeWithProjectAnnotations(r);let n=(t=globalThis==null?void 0:globalThis.navigator)==null?void 0:t.userAgent;await this.channel.emit(Wc,{userAgent:n})}catch(r){this.rejectStoreInitializationPromise(r)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(Qc,this.onStoryIndexChanged.bind(this)),this.channel.on(aa,this.onUpdateGlobals.bind(this)),this.channel.on(ia,this.onUpdateArgs.bind(this)),this.channel.on(ad,this.onRequestArgTypesInfo.bind(this)),this.channel.on(na,this.onResetArgs.bind(this)),this.channel.on(ra,this.onForceReRender.bind(this)),this.channel.on(Bn,this.onForceRemount.bind(this)),this.channel.on(nd,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new h0;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){var r,n;try{await((r=this.beforeAllCleanup)==null?void 0:r.call(this)),this.beforeAllCleanup=await((n=t.beforeAll)==null?void 0:n.call(t))}catch(o){throw this.renderPreviewEntryError("Error in beforeAll hook:",o),o}}async getStoryIndexFromServer(){let t=await z7(W7);if(t.status===200)return t.json();throw new g0({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new H7(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new lt({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(Yc,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 lt({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 lt({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:a,globals:i}=this.storyStoreValue.getStoryContext(r);this.channel.emit(sn,{initialGlobals:n,userGlobals:a,storyGlobals:o,globals:i})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(sn,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new lt({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(Kc,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){var n;try{await this.storeInitializationPromise;let o=await((n=this.storyStoreValue)==null?void 0:n.loadStory(r));this.channel.emit($i,{id:t,success:!0,payload:{argTypes:(o==null?void 0:o.argTypes)||{}},error:null})}catch(o){this.channel.emit($i,{id:t,success:!1,error:o==null?void 0:o.message})}}async onResetArgs({storyId:t,argNames:r}){var a;if(!this.storyStoreValue)throw new lt({methodName:"onResetArgs"});let n=((a=this.storyRenders.find(i=>i.id===t))==null?void 0:a.story)||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((i,s)=>(i[s]=n.initialArgs[s],i),{});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()))}async onStoryHotUpdated(){await Promise.all(this.storyRenders.map(t=>t.cancelPlayFunction()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new lt({methodName:"renderStoryToElement"});let a=new sy(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return a.renderToElement(r),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}async teardownRender(t,{viewModeChanged:r}={}){var n;this.storyRenders=this.storyRenders.filter(o=>o!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new lt({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new lt({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new lt({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,pe.error(t),pe.error(r),this.channel.emit(Bc,r)}};q(sM,"Preview");var G7=sM,Y7=!1,Xg="Invariant failed";function Xu(e,t){if(!e){if(Y7)throw new Error(Xg);var r=typeof t=="function"?t():t,n=r?"".concat(Xg,": ").concat(r):Xg;throw new Error(n)}}q(Xu,"invariant");var lM=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=q(a=>{let i=this.nameToStoryId.get(a);if(i)return i;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=q(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=q(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=q(a=>{if(!a){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let i=this.storyIdToCSFFile.get(a);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${a}`);return this.store.storyFromCSFFile({storyId:a,csfFile:i})},"storyById"),this.getStoryContext=q(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=q(a=>this.store.loadStory({storyId:a}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((a,i)=>{this.referenceCSFFile(a)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(Dn(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(qr`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(", ")}.
|
|
992
|
+
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
993
|
+
- ... or vice versa?
|
|
994
|
+
- Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};q(lM,"DocsContext");var uM=lM,cM=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw ac;let{importPath:n,title:o}=this.entry,a=this.store.processCSFFileWithCache(t,n,o),i=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:a}),this.csfFiles=[a,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new uM(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a=await o.renderer(),{render:i}=a,s=q(async()=>{try{await i(n,o,t),this.channel.emit(ta,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:c})=>{!c||!t||a.unmount(t)},s()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};q(cM,"CsfDocsRender");var dq=cM,dM=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw ac;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 uM(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){var u;if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=(u=this.store.projectAnnotations.parameters)!=null?u:{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a={...o,page:this.exports.default},i=await o.renderer(),{render:s}=i,c=q(async()=>{try{await s(n,a,t),this.channel.emit(ta,this.id)}catch(d){this.callbacks.showException(d)}},"renderDocs");return this.rerender=async()=>c(),this.teardownRender=async({viewModeChanged:d}={})=>{!d||!t||(i.unmount(t),this.torndown=!0)},c()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};q(dM,"MdxDocsRender");var pq=dM,K7=globalThis;function pM(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}q(pM,"focusInInput");var fM="attached-mdx",X7="unattached-mdx";function hM({tags:e}){return(e==null?void 0:e.includes(X7))||(e==null?void 0:e.includes(fM))}q(hM,"isMdxEntry");function Ju(e){return e.type==="story"}q(Ju,"isStoryRender");function mM(e){return e.type==="docs"}q(mM,"isDocsRender");function bM(e){return mM(e)&&e.subtype==="csf"}q(bM,"isCsfDocsRender");var gM=class extends G7{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),K7.onkeydown=this.onKeydown.bind(this),this.channel.on(oa,this.onSetCurrentStory.bind(this)),this.channel.on(od,this.onUpdateQueryParams.bind(this)),this.channel.on(zc,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new lt({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 lt({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new E0):this.renderStoryLoadingException(t,new C0({storySpecifier:t.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(ed,this.selectionStore.selection),this.channel.emit(Di,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)&&!pM(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:c}=t;this.channel.emit(Gc,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:c}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Di,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){var n,o;let r=this.currentRender instanceof sy&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof pq||this.currentRender instanceof dq)&&await((o=(n=this.currentRender).rerender)==null?void 0:o.call(n))}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>{var n;return(n=this.storyStoreValue)==null?void 0:n.loadEntry(r)}))}async renderSelection({persistedArgs:t}={}){var f,h,m,b;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new lt({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,a;try{a=await this.storyStoreValue.storyIdToEntry(o)}catch(w){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,w);return}let i=((f=this.currentSelection)==null?void 0:f.storyId)!==o,s=((h=this.currentRender)==null?void 0:h.type)!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:s}):this.view.showPreparingDocs({immediate:s}),(m=this.currentRender)!=null&&m.isPreparing()&&await this.teardownRender(this.currentRender);let c;a.type==="story"?c=new sy(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):hM(a)?c=new pq(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):c=new dq(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o));let u=this.currentSelection;this.currentSelection=n;let d=this.currentRender;this.currentRender=c;try{await c.prepare()}catch(w){d&&await this.teardownRender(d),w!==ac&&this.renderStoryLoadingException(o,w);return}let p=!i&&d&&!c.isEqual(d);if(t&&Ju(c)&&(Xu(!!c.story),this.storyStoreValue.args.updateFromPersisted(c.story,t)),d&&!d.torndown&&!i&&!p&&!s){this.currentRender=d,this.channel.emit(rd,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:s}),u&&(i||s)&&this.channel.emit(Xc,o),Ju(c)){Xu(!!c.story);let{parameters:w,initialArgs:g,argTypes:E,unmappedArgs:C,initialGlobals:x,userGlobals:P,storyGlobals:S,globals:y}=this.storyStoreValue.getStoryContext(c.story);this.channel.emit(Zc,{id:o,parameters:w,initialArgs:g,argTypes:E,args:C}),this.channel.emit(sn,{userGlobals:P,storyGlobals:S,globals:y,initialGlobals:x})}else{let{parameters:w}=this.storyStoreValue.projectAnnotations,{initialGlobals:g,globals:E}=this.storyStoreValue.userGlobals;if(this.channel.emit(sn,{globals:E,initialGlobals:g,storyGlobals:{},userGlobals:E}),bM(c)||((b=c.entry.tags)==null?void 0:b.includes(fM))){if(!c.csfFiles)throw new v0({storyId:o});({parameters:w}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:c.csfFiles[0]}))}this.channel.emit(Hc,{id:o,parameters:w})}Ju(c)?(Xu(!!c.story),this.storyRenders.push(c),this.currentRender.renderToElement(this.view.prepareForStory(c.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){var n;this.storyRenders=this.storyRenders.filter(o=>o!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}mainStoryCallbacks(t){return{showStoryDuringRender:q(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:q(()=>this.view.showMain(),"showMain"),showError:q(r=>this.renderError(t,r),"showError"),showException:q(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Ni)}renderStoryLoadingException(t,r){pe.error(r),this.view.showErrorDisplay(r),this.channel.emit(Ni,t)}renderException(t,r){var s;let{name:n="Error",message:o=String(r),stack:a}=r,i=(s=this.currentRender)==null?void 0:s.renderId;this.channel.emit(td,{name:n,message:o,stack:a}),this.channel.emit(kt,{newPhase:"errored",renderId:i,storyId:t}),this.view.showErrorDisplay(r),pe.error(`Error rendering story '${t}':`),pe.error(r)}renderError(t,{title:r,description:n}){var a;let o=(a=this.currentRender)==null?void 0:a.renderId;this.channel.emit(Jc,{title:r,description:n}),this.channel.emit(kt,{newPhase:"errored",renderId:o,storyId:t}),this.view.showErrorDisplay({message:r,stack:n}),pe.error(`Error rendering story ${r}: ${n}`)}};q(gM,"PreviewWithSelection");var J7=gM,ly=Jo(fy(),1),Q7=Jo(fy(),1),fq=/^[a-zA-Z0-9 _-]*$/,yM=/^-?[0-9]+(\.[0-9]+)?$/,Z7=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,vM=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,uy=q((e="",t)=>e===null||e===""||!fq.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?fq.test(t)||yM.test(t)||Z7.test(t)||vM.test(t):Array.isArray(t)?t.every(r=>uy(e,r)):Lt(t)?Object.entries(t).every(([r,n])=>uy(r,n)):!1,"validateArgs"),eW={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(vM);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 yM.test(e)?Number(e):e}},hq=q(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Q7.parse)(t.join(";"),eW)).reduce((r,[n,o])=>uy(n,o)?Object.assign(r,{[n]:o}):(je.warn(qr`
|
|
995
|
+
Omitted potentially unsafe URL args.
|
|
996
|
+
|
|
997
|
+
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url?ref=error
|
|
998
|
+
`),r),{})},"parseArgsParam"),{history:wM,document:or}=Z;function EM(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}q(EM,"pathToId");var xM=q(({selection:e,extraParams:t})=>{let r=or==null?void 0:or.location.search.slice(1),{path:n,selectedKind:o,selectedStory:a,...i}=(0,ly.parse)(r);return`?${(0,ly.stringify)({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),tW=q(e=>{if(!e)return;let t=xM({selection:e}),{hash:r=""}=or.location;or.title=e.storyId,wM.replaceState({},"",`${or.location.pathname}${t}${r}`)},"setPath"),rW=q(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Pi=q(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Pi(e[0]);if(rW(e))return Pi(Object.values(e).filter(Boolean))}},"getFirstString"),nW=q(()=>{if(typeof or<"u"){let e=or.location.search.slice(1),t=(0,ly.parse)(e),r=typeof t.args=="string"?hq(t.args):void 0,n=typeof t.globals=="string"?hq(t.globals):void 0,o=Pi(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let a=Pi(t.path),i=a?EM(a):Pi(t.id);if(i)return{storySpecifier:i,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),CM=class{constructor(){this.selectionSpecifier=nW()}setSelection(t){this.selection=t,tW(this.selection)}setQueryParams(t){let r=xM({extraParams:t}),{hash:n=""}=or.location;wM.replaceState({},"",`${or.location.pathname}${r}${n}`)}};q(CM,"UrlStore");var oW=CM,aW=Jo(Nz(),1),iW=Jo(fy(),1),{document:it}=Z,mq=100,SM=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(SM||{}),Jg={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Qg={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},bq=new aW.default({escapeXML:!0}),AM=class{constructor(){if(this.testing=!1,typeof it<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,iW.parse)(it.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),it.documentElement.scrollTop=0,it.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return it.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),it.documentElement.scrollTop=0,it.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return it.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){it.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Qg[t];it.body.classList.remove(this.currentLayoutClass),it.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Qg[t]||pe.warn(qr`
|
|
999
|
+
The desired layout: ${t} is not a valid option.
|
|
1000
|
+
The possible options are: ${Object.keys(Qg).join(", ")}, none.
|
|
1001
|
+
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(SM).forEach(r=>{r===t?it.body.classList.add(Jg[r]):it.body.classList.remove(Jg[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,a=t.split(`
|
|
1002
|
+
`);a.length>1&&([n]=a,o=a.slice(1).join(`
|
|
1003
|
+
`).replace(/^\n/,"")),it.getElementById("error-message").innerHTML=bq.toHtml(n),it.getElementById("error-stack").innerHTML=bq.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"),mq)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),mq)}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(){it.body.classList.add(Jg.MAIN)}};q(AM,"WebView");var sW=AM,lW=class extends J7{constructor(t,r){super(t,r,new oW,new sW),this.importFn=t,this.getProjectAnnotations=r,Z.__STORYBOOK_PREVIEW__=this}};q(lW,"PreviewWeb");var{document:Nn}=Z,uW=["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"],cW="script",gq="scripts-root";function cy(){let e=Nn.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Nn.dispatchEvent(e)}q(cy,"simulateDOMContentLoaded");function PM(e,t,r){let n=Nn.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):Nn.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}q(PM,"insertScript");function Py(e,t,r=0){e[r](()=>{r++,r===e.length?t():Py(e,t,r)})}q(Py,"insertScriptsSequentially");function dW(e){let t=Nn.getElementById(gq);t?t.innerHTML="":(t=Nn.createElement("div"),t.id=gq,Nn.body.appendChild(t));let r=Array.from(e.querySelectorAll(cW));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||uW.includes(a))&&n.push(i=>PM(o,i,t))}),n.length&&Py(n,cy,void 0)}else cy()}q(dW,"simulatePageLoad");var OM="storybook/docs",TQ=`${OM}/panel`,pW=`${OM}/snippet-rendered`;async function fW(e,t){var s,c,u;let r=(u=(c=(s=t.parameters)==null?void 0:s.docs)==null?void 0:c.source)==null?void 0:u.transform,{id:n,unmappedArgs:o}=t,a=r&&e?r==null?void 0:r(e,t):e,i=a?await a:void 0;xt.getChannel().emit(pW,{id:n,source:i,args:o})}q(fW,"emitTransformCode");import{html as TM,unsafeStatic as Ri}from"lit/static-html.js";import{unsafeHTML as qM}from"lit/directives/unsafe-html.js";var _M=class extends mW{constructor(){super(...arguments),this.prevData={}}render(e){return hW}update(e,[t]){var r;this.element!==e.element&&(this.element=e.element),this.host=((r=e.options)==null?void 0:r.host)||this.element,this.apply(t),this.groom(t),this.prevData={...t}}apply(e){if(!e)return;let{prevData:t,element:r}=this;for(let n in e){let o=e[n];o!==t[n]&&lc(r,n,o)}}groom(e){let{prevData:t,element:r}=this;if(t)for(let n in t)(!e||!(n in e)&&r[n]===t[n])&&lc(r,n,void 0)}},jQ=Oy(_M),kM=class extends _M{constructor(){super(...arguments),this.eventData={}}apply(e){if(e)for(let t in e){let r=e[t];r!==this.eventData[t]&&this.applyEvent(t,r)}}applyEvent(e,t){let{prevData:r,element:n}=this;this.eventData[e]=t,r[e]&&n.removeEventListener(e,this,t),n.addEventListener(e,this,t)}groom(e){let{prevData:t,element:r}=this;if(t)for(let n in t)(!e||!(n in e)&&r[n]===t[n])&&this.groomEvent(n,t[n])}groomEvent(e,t){let{element:r}=this;delete this.eventData[e],r.removeEventListener(e,this,t)}handleEvent(e){let t=this.eventData[e.type];typeof t=="function"?t.call(this.host,e):t.handleEvent(e)}disconnected(){let{eventData:e,element:t}=this;for(let r in e){let n=r.slice(1),o=e[r];t.removeEventListener(n,this,o)}}reconnected(){let{eventData:e,element:t}=this;for(let r in e){let n=r.slice(1),o=e[r];t.addEventListener(n,this,o)}}},IQ=Oy(kM),bW=class extends kM{apply(e){if(!e)return;let{prevData:t,element:r}=this;for(let n in e){let o=e[n];if(o===t[n])continue;let a=n.slice(1);switch(n[0]){case"@":this.eventData[a]=o,this.applyEvent(a,o);break;case".":lc(r,a,o);break;case"?":o?r.setAttribute(a,""):r.removeAttribute(a);break;default:o?r.setAttribute(n,String(o)):r.removeAttribute(n);break}}}groom(e){let{prevData:t,element:r}=this;if(t)for(let n in t){let o=n.slice(1);if(!e||!(n in e)&&r[o]===t[n])switch(n[0]){case"@":this.groomEvent(o,t[n]);break;case".":lc(r,o,void 0);break;case"?":r.removeAttribute(o);break;default:r.removeAttribute(n);break}}}};function lc(e,t,r){try{e[t]=r}catch(n){console.warn(`Could not set property "${t}" on ${e.tagName} because it has no "setter".`,n)}}var gW=Oy(bW),yW=new Set(["AnimationEvent","BeforeUnloadEvent","ClipboardEvent","DragEvent","Event","FocusEvent","HashChangeEvent","InputEvent","KeyboardEvent","MessageEvent","MouseEvent","MutationObserver","PageTransitionEvent","PointerEvent","PopStateEvent","ProgressEvent","StorageEvent","TouchEvent","TransitionEvent","UIEvent","WebGLContextEvent","WheelEvent"]);function vW(e,t=[]){var r,n;return(((n=(r=e.modules)==null?void 0:r.map(o=>{var a,i;return(i=(a=o.declarations)==null?void 0:a.filter(s=>s.customElement))==null?void 0:i.flat()}))==null?void 0:n.flat())||[]).filter(o=>o&&!(t!=null&&t.includes(o.name)))}function wW(e,t){return vW(e).find(r=>(r==null?void 0:r.tagName)===t)}function EW(e){var o,a;let t=i=>i.name+r(i)+n(i),r=i=>{var s,c;return(s=i.type)!=null&&s.text?`${i.optional?"?":""}: ${(c=i.type)==null?void 0:c.text}`:""},n=i=>i.default?` = ${i.default}`:"";return(a=(o=e==null?void 0:e.members)==null?void 0:o.filter(i=>i.kind==="method"&&i.privacy!=="private"&&i.privacy!=="protected"&&!i.name.startsWith("#")))==null?void 0:a.map(i=>{var s,c,u;return i.type={text:`${i.name}(${((s=i.parameters)==null?void 0:s.map(d=>t(d)).join(", "))||""}) => ${((u=(c=i.return)==null?void 0:c.type)==null?void 0:u.text)||"void"}`},i})}function xW(e,t={}){var n;return((n=e==null?void 0:e.events)==null?void 0:n.map(o=>{var s,c;let a=((s=o[`${t.customEventDetailTypePropName}`])==null?void 0:s.text)||((c=o.type)==null?void 0:c.text),i=t.overrideCustomEventType?a||"CustomEvent":yW.has(a)?a:a&&a!=="CustomEvent"?`CustomEvent<${a}>`:"CustomEvent";return{...o,type:{text:i}}}))||[]}function CW(e,t){if(!t)return e||"";let r=e?`- ${e}`:"";return typeof t=="string"?`@deprecated ${t} ${r}`:`@deprecated ${r}`}function _i(e){return e.trim().replace(/^["'](.+(?=["']$))["']$/,"$1")}var Zo={};setTimeout(()=>{Zo=(globalThis==null?void 0:globalThis.__WC_STORYBOOK_HELPERS_CONFIG__)||{}});function Ty(e,t=!0){var a;let r={},n={},o={};return(a=e==null?void 0:e.members)==null||a.forEach(i=>{var w,g,E,C;if(i.kind!=="field")return;let s=(w=e.attributes)==null?void 0:w.find(x=>i.name===x.fieldName),c=i.name,u=s?n:o;if(r[c]={name:c,table:{disable:!0}},i.privacy==="private"||i.privacy==="protected"||i.static)return;let d=(s==null?void 0:s.name)||i.name,p=Zo.typeRef?((g=i[`${Zo.typeRef}`])==null?void 0:g.text)||((E=i==null?void 0:i.type)==null?void 0:E.text):(C=i==null?void 0:i.type)==null?void 0:C.text,f=DM(p),h=i.readonly?void 0:_i(i.default||""),m=IM(f,s!==void 0);u[d]={name:d,description:uc(i.description,c,i.deprecated),defaultValue:h?h==="''"?"":m==="object"?JSON.parse(TW(h)):h:void 0,control:t&&!i.readonly&&m?{type:m}:!1,table:{category:s?"attributes":"properties",defaultValue:{summary:h},type:{summary:p}}};let b=f==null?void 0:f.split("|");b&&(b==null?void 0:b.length)>1&&(u[d].options=b.map(x=>_i(x)))}),{resets:r,propArgs:o,attrArgs:n}}function SW(e,t=!0){var o;let r={},n={};return(o=e==null?void 0:e.members)==null||o.forEach(a=>{var p,f,h;if(a.kind!=="field"||(r[a.name]={name:a.name,table:{disable:!0}},a.privacy==="private"||a.privacy==="protected"||a.static))return;let i=Zo.typeRef?((p=a[`${Zo.typeRef}`])==null?void 0:p.text)||((f=a==null?void 0:a.type)==null?void 0:f.text):(h=a==null?void 0:a.type)==null?void 0:h.text,s=DM(i),c=`${a.name}`,u=IM(s);n[c]={name:a.name,description:a.description,defaultValue:PW(u,a.default),control:t&&!a.readonly&&u?{type:u}:!1,table:{category:"properties",defaultValue:{summary:_i(a.default||"")},type:{summary:i}}};let d=s==null?void 0:s.split("|");d&&(d==null?void 0:d.length)>1&&(n[c].options=d.map(m=>_i(m)))}),delete n.ref,{resets:r,args:n}}function MM(e){var r;let t={};return(r=e==null?void 0:e.events)==null||r.forEach(n=>{let o=`on${n.name}`;t[o]={name:o,description:n.description,control:!1,table:{category:"events"}}}),{args:t}}function Ry(e,t=!0){var o,a;let r={},n={};return(o=e==null?void 0:e.cssProperties)==null||o.forEach(i=>{r[i.name]={name:i.name,table:{disable:!0}}}),(a=e==null?void 0:e.cssProperties)==null||a.forEach(i=>{var s,c;n[i.name]={name:i.name,description:i.description,defaultValue:i.default,control:t?{type:(c=(s=i.name)==null?void 0:s.toLowerCase())!=null&&c.includes("color")?"color":"text"}:!1,table:{category:"css properties"}}}),{resets:r,args:n}}function _y(e,t=!0){var o;let r={},n={};return(o=e==null?void 0:e.cssParts)==null||o.forEach(a=>{r[a.name]={name:a.name,table:{disable:!0}},n[`${a.name}-part`]={name:a.name,description:uc(a.description,t?`${a.name}-part`:""),control:t?"text":!1,table:{category:"css shadow parts"}}}),{resets:r,args:n}}function ky(e,t=!0){var o;let r={},n={};return(o=e==null?void 0:e.cssStates)==null||o.forEach(a=>{r[a.name]={name:a.name,table:{disable:!0}},n[`${a.name}-state`]={name:a.name,description:uc(a.description,t?`${a.name}-state`:""),control:t?"text":!1,table:{category:"css states"}}}),{resets:r,args:n}}function qy(e,t=!0){var o;let r={},n={};return(o=e==null?void 0:e.slots)==null||o.forEach(a=>{r[a.name]={name:a.name,table:{disable:!0}};let i=a.name||"default";n[`${i}-slot`]={name:i,description:uc(a.description,t?`${i}-slot`:""),control:t?"text":!1,table:{category:"slots"}}}),{resets:r,args:n}}function AW(e){var o;let t={},r={};(o=e==null?void 0:e.events)==null||o.forEach(a=>{r[a.name]={name:a.name,table:{disable:!0}}});let n=xW(e);return n==null||n.forEach(a=>{t[`${a.name}-event`]={name:a.name,description:a.description,control:!1,table:{category:"events",type:{summary:a.type.text}}}}),{resets:r,args:t}}function jM(e){let t={},r=EW(e);return r==null||r.forEach(n=>{t[`${n.name}-method`]={name:n.name,description:n.description,control:!1,table:{category:"methods",type:{summary:n.type.text}}}}),{args:t}}function PW(e,t){let r=_i(t||"");return e==="boolean"?r==="true":r==="''"?"":r}function IM(e,t=!1){if(!e)return"text";let r=e.toLowerCase(),n=r.split("|").map(o=>o.trim()).filter(o=>o!==""&&o!=="null"&&o!=="undefined");return OW(r)&&!t?"object":ic(n,"boolean")?"boolean":ic(n,"number")&&!ic(n,"string")?"number":ic(n,"date")?"date":n.length>1?"select":"text"}function OW(e){return e.includes("array")||e.includes("object")||e.includes("{")||e.includes("[")||e.includes("<")}function ic(e=[],t){return(e==null?void 0:e.find(r=>r===t))!==void 0}function DM(e){return e?e.replace(" | undefined","").replace(" | null","").replace(" | void","").replace(" | any","").replace(" | unknown","").replace(" | string & {}","|").replace(" | (string & {})","|").replace(" | string","|").replace(" | number","|").replace(" | boolean","|").replace(" | object","|").replace(" | Function","|").replace(" | {}","|").replace(" | []","|"):""}function uc(e,t,r){let n=CW(e,r);return Zo.hideArgRef||!t?n:n+=`
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
arg ref - \`${t}\``}function TW(e){return e.replace(/'([^']+)'/g,'"$1"').replace(/([{,]\s*)(\w+)\s*:/g,'$1"$2":').replace(/,\s*(}|])/g,"$1")}var Qo,RM,ki={};setTimeout(()=>{ki=(globalThis==null?void 0:globalThis.__WC_STORYBOOK_HELPERS_CONFIG__)||{}});function RW(e,t,r,n,o,a){if(!t)return TM`<${Ri(e.tagName)}></${Ri(e.tagName)}>`;(e==null?void 0:e.tagName)!==RM&&(Qo=void 0,RM=e==null?void 0:e.tagName);let{attrOperators:i,propOperators:s,additionalAttrs:c}=_W(e,t,n),u={...i,...s,...c},d=jW(e,t,o);return IW(e),TM`${NM(e,t,o)}
|
|
1007
|
+
<${Ri(e.tagName)} ${gW(u)}>${d}${r||""}</${Ri(e.tagName)}>
|
|
1008
|
+
${ki.setComponentVariable||a?qM(`<script>
|
|
1009
|
+
window.component = document.querySelector('`+e.tagName+`');
|
|
1010
|
+
<\/script>`):""}
|
|
1011
|
+
`}function NM(e,t,r){let n=sc("cssProps",r)?"":kW(e,t)||"",o=sc("cssParts",r)?"":qW(e,t)||"",a=sc("cssStates",r)?"":MW(e,t)||"",i=[n,o,a].filter(s=>s.length).join(`
|
|
1012
|
+
|
|
1013
|
+
`);return`${n}${o}${a}`.replace(/\s+/g,"")!==""?qM(`<style>
|
|
1014
|
+
${i}
|
|
1015
|
+
</style>`):""}function sc(e,t){var r;return!((r=ki.categoryOrder)!=null&&r.includes(e))||(t==null?void 0:t.includes(e))||!1}function _W(e,t,r){let{propArgs:n,attrArgs:o}=Ty(e),a={},i={},s={};return Object.keys(o).forEach(c=>{let u=o[c],d=u.name,p=t[c],f=u.control.type==="boolean"?`?${d}`:d;p!==o[c].defaultValue||ki.renderDefaultValues?a[f]=p==="false"?!1:p:a[f]=void 0}),Object.keys(t).filter(c=>n[c]).forEach(c=>{if(c.startsWith("on"))return;let u=t[c];i[`.${c}`]=u}),Object.keys(t).filter(c=>!Object.keys(r||{}).includes(c)).forEach(c=>{!c.startsWith("on")&&typeof t[c]!="function"&&(s[c]=t[c])}),{attrOperators:a,propOperators:i,additionalAttrs:s}}function kW(e,t){var o;if(!((o=e==null?void 0:e.cssProperties)!=null&&o.length))return;let{args:r}=Ry(e),n=Object.keys(r).map(a=>{let i=t[a]===r[a].defaultValue,s=r[a].name,c=t[a];return c&&(!i||i&&ki.renderDefaultValues)?` ${s}: ${c}`:null}).filter(a=>a!==null).join(`;
|
|
1016
|
+
`);return n?` ${e.tagName} {
|
|
1017
|
+
${n};
|
|
1018
|
+
}`:""}function qW(e,t){var n;if(!((n=e==null?void 0:e.cssParts)!=null&&n.length))return;let{args:r}=_y(e);return`${Object.keys(r).filter(o=>o.endsWith("-part")).map(o=>{let a=r[o].name,i=t[o];return i.replace(/\s+/g,"")!==""?` ${e==null?void 0:e.tagName}::part(${a}) {
|
|
1019
|
+
${i.split(`
|
|
1020
|
+
`).map(s=>` ${s}`).join(`
|
|
1021
|
+
`)}
|
|
1022
|
+
}`:null}).filter(o=>o!==null).join(`
|
|
1023
|
+
|
|
1024
|
+
`)}`}function MW(e,t){var n;if(!((n=e==null?void 0:e.cssStates)!=null&&n.length))return;let{args:r}=ky(e);return`${Object.keys(r).filter(o=>o.endsWith("-state")).map(o=>{let a=r[o].name,i=t[o];return i.replace(/\s+/g,"")!==""?` ${e==null?void 0:e.tagName}:state(${a}) {
|
|
1025
|
+
${i.split(`
|
|
1026
|
+
`).map(s=>` ${s}`).join(`
|
|
1027
|
+
`)}
|
|
1028
|
+
}`:null}).filter(o=>o!==null).join(`
|
|
1029
|
+
|
|
1030
|
+
`)}`}function jW(e,t,r){var a;if(!((a=e==null?void 0:e.slots)!=null&&a.length)||sc("slots",r))return;let{args:n}=qy(e),o=`${Object.keys(n).filter(i=>i.endsWith("-slot")).map(i=>{var p;let s=i==="default-slot"?null:i.slice(0,-5),c=t[i];if(!s&&c)return` ${c}`;let u="",d=document.createElement("div");d.innerHTML=c;for(let f of d.childNodes)f instanceof Text?u+=` <span slot=${s}>${f.textContent}</span>`:f instanceof Element?(f.setAttribute("slot",s),u+=` ${f.outerHTML}`):(((p=f.textContent)==null?void 0:p.trim())===""||f.textContent===`
|
|
1031
|
+
`)&&(u+=f.textContent);return u}).filter(i=>i!==null&&i!=="").join(`
|
|
1032
|
+
`)}`;return o.trim()?Ri(`
|
|
1033
|
+
${o}
|
|
1034
|
+
`):""}function IW(e){DW(e),setTimeout(()=>{let t=document.querySelector(e.tagName);Qo==null||Qo.observe(t,{attributes:!0})})}function DW(e){let t=!1,r=yy()[1],{attrArgs:n}=Ty(e);Qo||(Qo=new MutationObserver(o=>{o.forEach(a=>{var s,c;if(a.attributeName==="class"&&t)return;t=!0;let i=n[`${a.attributeName}`];(i==null?void 0:i.control)==="boolean"||((s=i==null?void 0:i.control)==null?void 0:s.type)==="boolean"?r({[`${a.attributeName}`]:(c=a.target)==null?void 0:c.hasAttribute(a.attributeName||"")}):r({[`${a.attributeName}`]:a.target.getAttribute(a.attributeName||"")}),t=!1})}))}var FM=(globalThis==null?void 0:globalThis.__WC_STORYBOOK_HELPERS_CONFIG__)||{};function My(e,t){var s;FM=(globalThis==null?void 0:globalThis.__WC_STORYBOOK_HELPERS_CONFIG__)||{};let r=NW(),n=FW(r,e),o=((s=n==null?void 0:n.events)==null?void 0:s.map(c=>c.name))||[],a=$W(n,(t==null?void 0:t.excludeCategories)||[]);return{args:$M(a),argTypes:a,reactArgs:BW(n),reactArgTypes:LM(n),events:o,styleTemplate:c=>NM(n,c,(t==null?void 0:t.excludeCategories)||[]),template:(c,u)=>RW(n,c,u,a,(t==null?void 0:t.excludeCategories)||[],t==null?void 0:t.setComponentVariable)}}function NW(){let e=window.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__;if(!e)throw new Error(`Custom Elements Manifest not found. Be sure to follow the pre-install steps in this guide:
|
|
1035
|
+
https://www.npmjs.com/package/wc-storybook-helpers#before-you-install`);return e}function FW(e,t){let r=wW(e,t);if(!r)throw new Error(`A component with the tag name "${t}" was not found in the Custom Elements Manifest. If it's missing in the CEM, it's often the result of a missing "@tag" or "@tagName" tag in the component's JSDoc.
|
|
1036
|
+
Additional information can be found here:
|
|
1037
|
+
https://custom-elements-manifest.open-wc.org/analyzer/getting-started/#supported-jsdoc`);return r}function $W(e,t){var p;let r=Ry(e),n=_y(e),o=qy(e),a=Ty(e),i=AW(e),s=ky(e),c=jM(e),u={attributes:a.attrArgs,cssParts:n.args,cssProps:r.args,cssStates:s.args,events:i.args,methods:c.args,properties:a.propArgs,slots:o.args},d={};return Object.assign(d,r.resets,n.resets,o.resets,a.resets,i.resets,s.resets,c.resets),(p=FM.categoryOrder)==null||p.forEach(f=>{t!=null&&t.includes(f)||Object.assign(d,u[f])}),d}function $M(e){let t={};for(let[r,n]of Object.entries(e))n!=null&&n.control&&(t[r]=LW(n.defaultValue)||"");return t}function LW(e){if(typeof e=="string")try{return JSON.parse(e)}catch(t){return e}return e}function LM(e,t){var f;let r=Ry(e),n=_y(e),o=qy(e),a=SW(e),i=MM(e),s=ky(e),c=jM(e),u=(globalThis==null?void 0:globalThis.__WC_STORYBOOK_HELPERS_CONFIG__)||{},d={cssParts:n.args,cssProps:r.args,cssStates:s.args,events:i.args,methods:c.args,properties:a.args,slots:o.args},p={...r.resets,...n.resets,...o.resets,...a.resets,...i.resets,...s.resets,...c.resets};return(f=u.categoryOrder)==null||f.forEach(h=>{t!=null&&t.includes(h)||(p={...p,...d[h]||{}})}),p}function BW(e){let t=$M(LM(e)),r=Object.entries(MM(e)).map(([n])=>({[n]:()=>{}})).reduce((n,o)=>({...n,...o}),{});return{...t,...r}}import{html as Iy}from"lit";function BM(e){let t={...e};for(let r of Object.keys(t)){let n=e[r];typeof n=="boolean"&&(t[`?${r}`]=n,delete t[r]),typeof n=="object"&&(t[`.${r}`]=n,delete t[r]),t[r]===""&&delete t[r]}return t}import{html as WW}from"lit";import{property as Mi,state as YM}from"lit/decorators.js";import{isServer as jy}from"lit";import{property as ea}from"lit/decorators.js";import{LitElement as UW,unsafeCSS as VW}from"lit";import{property as UM}from"lit/decorators.js";import{css as HW}from"lit";var HM=HW`
|
|
2
1038
|
:host {
|
|
3
1039
|
box-sizing: border-box !important;
|
|
4
1040
|
}
|
|
@@ -8,7 +1044,7 @@ var X=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var V=i=>{thro
|
|
|
8
1044
|
:host *::after {
|
|
9
1045
|
box-sizing: inherit !important;
|
|
10
1046
|
}
|
|
11
|
-
`;var
|
|
1047
|
+
`;var qi,Fn=class extends UW{constructor(){super();Ly(this,qi,!1);this.initialReflectedProperties=new Map;this.customStates={set:(r,n)=>{var o;(o=this.internals)!=null&&o.states&&(n?this.internals.states.add(r):this.internals.states.delete(r))},has:r=>{var n;return(n=this.internals)!=null&&n.states?this.internals.states.has(r):!1}};try{this.internals=this.attachInternals()}catch(n){console.error("Element internals are not supported in your browser. Consider using a polyfill")}this.customStates.set("wa-defined",!0);let r=this.constructor;for(let[n,o]of r.elementProperties)o.default==="inherit"&&o.initial!==void 0&&typeof n=="string"&&this.customStates.set(`initial-${n}-${o.initial}`,!0)}static get styles(){let r=Array.isArray(this.css)?this.css:this.css?[this.css]:[];return[HM,...r].map(n=>typeof n=="string"?VW(n):n)}attributeChangedCallback(r,n,o){$y(this,qi)||(this.constructor.elementProperties.forEach((a,i)=>{a.reflect&&this[i]!=null&&this.initialReflectedProperties.set(i,this[i])}),By(this,qi,!0)),super.attributeChangedCallback(r,n,o)}willUpdate(r){super.willUpdate(r),this.initialReflectedProperties.forEach((n,o)=>{r.has(o)&&this[o]==null&&(this[o]=n)})}relayNativeEvent(r,n){r.stopImmediatePropagation(),this.dispatchEvent(new r.constructor(r.type,{...r,...n}))}};qi=new WeakMap,ve([UM()],Fn.prototype,"dir",2),ve([UM()],Fn.prototype,"lang",2);var VM=()=>({observedAttributes:["custom-error"],checkValidity(e){let t={message:"",isValid:!0,invalidKeys:[]};return e.customError&&(t.message=e.customError,t.isValid=!1,t.invalidKeys=["customError"]),t}});var cc=class extends Event{constructor(){super("w-invalid",{bubbles:!0,cancelable:!1,composed:!0})}};var dt=class extends Fn{constructor(){super();this.name=null;this.disabled=!1;this.required=!1;this.assumeInteractionOn=["input"];this.validators=[];this.valueHasChanged=!1;this.hasInteracted=!1;this.customError=null;this.emittedEvents=[];this.emitInvalid=r=>{r.target===this&&(this.hasInteracted=!0,this.dispatchEvent(new cc))};this.handleInteraction=r=>{var o;let n=this.emittedEvents;n.includes(r.type)||n.push(r.type),n.length===((o=this.assumeInteractionOn)==null?void 0:o.length)&&(this.hasInteracted=!0)};jy||this.addEventListener("invalid",this.emitInvalid)}static get validators(){return[VM()]}static get observedAttributes(){let r=new Set(super.observedAttributes||[]);for(let n of this.validators)if(n.observedAttributes)for(let o of n.observedAttributes)r.add(o);return[...r]}connectedCallback(){super.connectedCallback(),this.updateValidity(),this.assumeInteractionOn.forEach(r=>{this.addEventListener(r,this.handleInteraction)})}firstUpdated(...r){super.firstUpdated(...r),this.updateValidity()}willUpdate(r){if(!jy&&r.has("customError")&&(this.customError||(this.customError=null),this.setCustomValidity(this.customError||"")),r.has("value")||r.has("disabled")){let n=this.value;if(Array.isArray(n)){if(this.name){let o=new FormData;for(let a of n)o.append(this.name,a);this.setValue(o,o)}}else this.setValue(n,n)}r.has("disabled")&&(this.customStates.set("disabled",this.disabled),(this.hasAttribute("disabled")||!jy&&!this.matches(":disabled"))&&this.toggleAttribute("disabled",this.disabled)),this.updateValidity(),super.willUpdate(r)}get labels(){return this.internals.labels}getForm(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}get validationMessage(){return this.internals.validationMessage}checkValidity(){return this.updateValidity(),this.internals.checkValidity()}reportValidity(){return this.updateValidity(),this.hasInteracted=!0,this.internals.reportValidity()}get validationTarget(){return this.input||void 0}setValidity(...r){let n=r[0],o=r[1],a=r[2];a||(a=this.validationTarget),this.internals.setValidity(n,o,a||void 0),this.requestUpdate("validity"),this.setCustomStates()}setCustomStates(){let r=!!this.required,n=this.internals.validity.valid,o=this.hasInteracted;this.customStates.set("required",r),this.customStates.set("optional",!r),this.customStates.set("invalid",!n),this.customStates.set("valid",n),this.customStates.set("user-invalid",!n&&o),this.customStates.set("user-valid",n&&o)}setCustomValidity(r){if(!r){this.customError=null,this.setValidity({});return}this.customError=r,this.setValidity({customError:!0},r,this.validationTarget)}formResetCallback(){this.resetValidity(),this.hasInteracted=!1,this.valueHasChanged=!1,this.emittedEvents=[],this.updateValidity()}formDisabledCallback(r){this.disabled=r,this.updateValidity()}formStateRestoreCallback(r,n){this.value=r,n==="restore"&&this.resetValidity(),this.updateValidity()}setValue(...r){let[n,o]=r;this.internals.setFormValue(n,o)}get allValidators(){let r=this.constructor.validators||[],n=this.validators||[];return[...r,...n]}resetValidity(){this.setCustomValidity(""),this.setValidity({})}updateValidity(){if(this.disabled||this.hasAttribute("disabled")||!this.willValidate){this.resetValidity();return}let r=this.allValidators;if(!(r!=null&&r.length))return;let n={customError:!!this.customError},o=this.validationTarget||this.input||void 0,a="";for(let i of r){let{isValid:s,message:c,invalidKeys:u}=i.checkValidity(this);s||(a||(a=c),(u==null?void 0:u.length)>=0&&u.forEach(d=>n[d]=!0))}a||(a=this.validationMessage),this.setValidity(n,a,o)}};dt.formAssociated=!0,ve([ea({reflect:!0})],dt.prototype,"name",2),ve([ea({type:Boolean})],dt.prototype,"disabled",2),ve([ea({state:!0,attribute:!1})],dt.prototype,"valueHasChanged",2),ve([ea({state:!0,attribute:!1})],dt.prototype,"hasInteracted",2),ve([ea({attribute:"custom-error",reflect:!0})],dt.prototype,"customError",2),ve([ea({attribute:!1,state:!0,type:Object})],dt.prototype,"validity",1);import{css as zW}from"lit";var zM=zW`
|
|
12
1048
|
[part~='label'] {
|
|
13
1049
|
display: block;
|
|
14
1050
|
font-size: var(--w-font-size-m);
|
|
@@ -114,7 +1150,7 @@ var X=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var V=i=>{thro
|
|
|
114
1150
|
.checkbox:has(:checked, :indeterminate):has(> input:disabled) {
|
|
115
1151
|
background-color: var(--w-s-color-background-disabled);
|
|
116
1152
|
}
|
|
117
|
-
`;import{css as
|
|
1153
|
+
`;import{css as WM}from"lit";var GM=WM`
|
|
118
1154
|
*,
|
|
119
1155
|
:before,
|
|
120
1156
|
:after {
|
|
@@ -387,7 +1423,7 @@ var X=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var V=i=>{thro
|
|
|
387
1423
|
svg {
|
|
388
1424
|
pointer-events: none;
|
|
389
1425
|
}
|
|
390
|
-
`,
|
|
1426
|
+
`,cZ=WM`*, :before, :after {
|
|
391
1427
|
--w-rotate: 0;
|
|
392
1428
|
--w-rotate-x: 0;
|
|
393
1429
|
--w-rotate-y: 0;
|
|
@@ -2553,12 +3589,12 @@ var X=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var V=i=>{thro
|
|
|
2553
3589
|
display: none
|
|
2554
3590
|
}
|
|
2555
3591
|
}
|
|
2556
|
-
`;var
|
|
3592
|
+
`;var Bt=class extends dt{constructor(){super();this.checked=!1;this.forceDisabled=!1;this.form=null;this.appearance="default";this.size="medium";this.disabled=!1;this.handleClick=()=>{!this.disabled&&!this.forceDisabled&&(this.checked=!0)};this.addEventListener("click",this.handleClick)}connectedCallback(){super.connectedCallback(),this.setInitialAttributes()}setInitialAttributes(){this.setAttribute("role","radio"),this.tabIndex=0,this.setAttribute("aria-disabled",this.disabled||this.forceDisabled?"true":"false")}updated(r){if(super.updated(r),r.has("checked")&&(this.customStates.set("checked",this.checked),this[this.checked?"setAttribute":"removeAttribute"]("checked-ui",""),this.setAttribute("aria-checked",this.checked?"true":"false"),!this.disabled&&!this.forceDisabled&&(this.tabIndex=this.checked?0:-1)),r.has("disabled")||r.has("forceDisabled")){let n=this.disabled||this.forceDisabled;this.customStates.set("disabled",n),this[n?"setAttribute":"removeAttribute"]("disabled-ui",""),this.setAttribute("aria-disabled",n?"true":"false"),n?this.tabIndex=-1:this.tabIndex=this.checked?0:-1}}setValue(){}render(){return WW`
|
|
2557
3593
|
<div class="wrapper">
|
|
2558
3594
|
<div part="control" class="control"></div>
|
|
2559
3595
|
<slot part="label" class="label"></slot>
|
|
2560
3596
|
</div>
|
|
2561
|
-
`}};
|
|
3597
|
+
`}};Bt.css=[GM,zM],ve([YM()],Bt.prototype,"checked",2),ve([YM()],Bt.prototype,"forceDisabled",2),ve([Mi({reflect:!0})],Bt.prototype,"form",2),ve([Mi({reflect:!0})],Bt.prototype,"value",2),ve([Mi({reflect:!0})],Bt.prototype,"appearance",2),ve([Mi({reflect:!0})],Bt.prototype,"size",2),ve([Mi({type:Boolean})],Bt.prototype,"disabled",2);customElements.get("w-radio")||customElements.define("w-radio",Bt);import{html as YW}from"lit";import{property as ar,query as KW,state as ej}from"lit/decorators.js";import{classMap as tj}from"lit/directives/class-map.js";var KM="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var XM=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=KM[r[e]&63];return t};function JM(e=""){return`${e}${XM()}`}import{css as GW}from"lit";var QM=GW`
|
|
2562
3598
|
:host {
|
|
2563
3599
|
display: block;
|
|
2564
3600
|
}
|
|
@@ -2615,10 +3651,10 @@ var X=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var V=i=>{thro
|
|
|
2615
3651
|
gap: 0;
|
|
2616
3652
|
}
|
|
2617
3653
|
}
|
|
2618
|
-
`;var
|
|
3654
|
+
`;var ZM=(e={})=>{let{validationElement:t,validationProperty:r}=e;t||(t=Object.assign(document.createElement("input"),{required:!0})),r||(r="value");let n={observedAttributes:["required"],message:t.validationMessage,checkValidity(o){var u;let a={message:"",isValid:!0,invalidKeys:[]};return((u=o.required)!=null?u:o.hasAttribute("required"))&&!o[r]&&(a.message=typeof n.message=="function"?n.message(o):n.message||"",a.isValid=!1,a.invalidKeys.push("valueMissing")),a}};return n};var dc=class{constructor(t,...r){this.slotNames=[];this.handleSlotChange=t=>{let r=t.target;(this.slotNames.includes("[default]")&&!r.name||r.name&&this.slotNames.includes(r.name))&&this.host.requestUpdate()};(this.host=t).addController(this),this.slotNames=r}hasDefaultSlot(){return[...this.host.childNodes].some(t=>{var r;if(t.nodeType===Node.TEXT_NODE&&((r=t.textContent)==null?void 0:r.trim())!=="")return!0;if(t.nodeType===Node.ELEMENT_NODE){let n=t;if(n.tagName.toLowerCase()==="w-visually-hidden")return!1;if(!n.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(t){return this.host.querySelector(`:scope > [slot="${t}"]`)!==null}test(t){return t==="[default]"?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){var t;(t=this.host.shadowRoot)==null||t.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){var t;(t=this.host.shadowRoot)==null||t.removeEventListener("slotchange",this.handleSlotChange)}};var Xe=class extends dt{constructor(){super();this.hasSlotController=new dc(this,"hint","label");this.hasRadioButtons=!1;this.label="";this.hint="";this.name=null;this.disabled=!1;this.orientation="vertical";this._value=null;this.defaultValue=this.getAttribute("value")||null;this.size="medium";this.required=!1;this.withLabel=!1;this.withHint=!1;this.handleRadioClick=r=>{let n=r.target.closest("w-radio");if(!n||n.disabled||n.forceDisabled||this.disabled)return;let o=this.value;this.value=n.value,n.checked=!0;let a=this.getAllRadios();for(let i of a)n!==i&&(i.checked=!1,i.setAttribute("tabindex","-1"));this.value!==o&&this.updateComplete.then(()=>{this.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0})),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))})};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleRadioClick)}static get validators(){let r=[ZM({validationElement:Object.assign(document.createElement("input"),{required:!0,type:"radio",name:JM("__w-radio")})})];return[...super.validators,...r]}get value(){var r;return this.valueHasChanged?this._value:(r=this._value)!=null?r:this.defaultValue}set value(r){typeof r=="number"&&(r=String(r)),this.valueHasChanged=!0,this._value=r}get validationTarget(){let r=this.querySelector(":is(w-radio):not([disabled])");if(r)return r}updated(r){(r.has("disabled")||r.has("value"))&&this.syncRadioElements()}formResetCallback(...r){this.value=this.defaultValue,super.formResetCallback(...r),this.syncRadioElements()}getAllRadios(){return[...this.querySelectorAll("w-radio")]}handleLabelClick(){this.focus()}async syncRadioElements(){let r=this.getAllRadios(),n=!1;if(r.forEach((o,a)=>{o.appearance==="button"&&(n=!0),o.setAttribute("size",this.size),o.toggleAttribute("data-w-radio-horizontal",this.orientation!=="vertical"),o.toggleAttribute("data-w-radio-vertical",this.orientation==="vertical"),o.toggleAttribute("data-w-radio-first",a===0),o.toggleAttribute("data-w-radio-inner",a!==0&&a!==r.length-1),o.toggleAttribute("data-w-radio-last",a===r.length-1),o.forceDisabled=this.disabled}),this.hasRadioButtons=n,await Promise.all(r.map(async o=>{await o.updateComplete,!o.disabled&&o.value===this.value?o.checked=!0:o.checked=!1})),this.disabled)r.forEach(o=>{o.tabIndex=-1});else{let o=r.filter(i=>!i.disabled),a=o.find(i=>i.checked);o.length>0&&(a?o.forEach(i=>{i.tabIndex=i.checked?0:-1}):o.forEach((i,s)=>{i.tabIndex=s===0?0:-1})),r.filter(i=>i.disabled).forEach(i=>{i.tabIndex=-1})}}handleKeyDown(r){var u,d,p;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(r.key)||this.disabled)return;let n=this.getAllRadios().filter(f=>!f.disabled);if(n.length<=0)return;r.preventDefault();let o=this.value,a=(u=n.find(f=>f.checked))!=null?u:n[0],i=r.key===" "?0:["ArrowUp","ArrowLeft"].includes(r.key)?-1:1,s=n.indexOf(a)+i;s||(s=0),s<0&&(s=n.length-1),s>n.length-1&&(s=0);let c=n.some(f=>f.tagName.toLowerCase()==="w-radio-button");this.getAllRadios().forEach(f=>{f.checked=!1,c||f.setAttribute("tabindex","-1")}),this.value=n[s].value,n[s].checked=!0,c?(p=(d=n[s].shadowRoot)==null?void 0:d.querySelector("button"))==null||p.focus():(n[s].setAttribute("tabindex","0"),n[s].focus()),this.value!==o&&this.updateComplete.then(()=>{this.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0})),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}),r.preventDefault()}focus(r){if(this.disabled)return;let n=this.getAllRadios(),o=n.find(s=>s.checked),a=n.find(s=>!s.disabled),i=o||a;i&&i.focus(r)}render(){let r=this.hasUpdated?this.hasSlotController.test("label"):this.withLabel,n=this.hasUpdated?this.hasSlotController.test("hint"):this.withHint,o=this.label?!0:!!r,a=this.hint?!0:!!n;return YW`
|
|
2619
3655
|
<fieldset
|
|
2620
3656
|
part="form-control"
|
|
2621
|
-
class=${
|
|
3657
|
+
class=${tj({"form-control":!0,"form-control-radio-group":!0,"form-control-has-label":o,"has-radio-buttons":this.hasRadioButtons})}
|
|
2622
3658
|
role="radiogroup"
|
|
2623
3659
|
aria-labelledby="label"
|
|
2624
3660
|
aria-describedby="hint"
|
|
@@ -2628,7 +3664,7 @@ var X=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var V=i=>{thro
|
|
|
2628
3664
|
part="form-control-label"
|
|
2629
3665
|
id="label"
|
|
2630
3666
|
class="label"
|
|
2631
|
-
aria-hidden=${
|
|
3667
|
+
aria-hidden=${o?"false":"true"}
|
|
2632
3668
|
@click=${this.handleLabelClick}>
|
|
2633
3669
|
<slot name="label">${this.label}</slot>
|
|
2634
3670
|
</label>
|
|
@@ -2639,15 +3675,28 @@ var X=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var V=i=>{thro
|
|
|
2639
3675
|
id="hint"
|
|
2640
3676
|
name="hint"
|
|
2641
3677
|
part="hint"
|
|
2642
|
-
class=${
|
|
3678
|
+
class=${tj({"has-slotted":a})}
|
|
2643
3679
|
aria-hidden=${a?"false":"true"}
|
|
2644
3680
|
>${this.hint}</slot
|
|
2645
3681
|
>
|
|
2646
3682
|
</fieldset>
|
|
2647
|
-
`}};
|
|
2648
|
-
<w-radio-group
|
|
3683
|
+
`}};Xe.css=[QM],Xe.shadowRootOptions={...dt.shadowRootOptions,delegatesFocus:!0},ve([ej()],Xe.prototype,"hasRadioButtons",2),ve([KW("slot:not([name])")],Xe.prototype,"defaultSlot",2),ve([ar()],Xe.prototype,"label",2),ve([ar({attribute:"hint"})],Xe.prototype,"hint",2),ve([ar({reflect:!0})],Xe.prototype,"name",2),ve([ar({type:Boolean,reflect:!0})],Xe.prototype,"disabled",2),ve([ar({reflect:!0})],Xe.prototype,"orientation",2),ve([ej()],Xe.prototype,"value",1),ve([ar({attribute:"value",reflect:!0})],Xe.prototype,"defaultValue",2),ve([ar({reflect:!0})],Xe.prototype,"size",2),ve([ar({type:Boolean,reflect:!0})],Xe.prototype,"required",2),ve([ar({type:Boolean,attribute:"with-label"})],Xe.prototype,"withLabel",2),ve([ar({type:Boolean,attribute:"with-hint"})],Xe.prototype,"withHint",2);customElements.get("w-radio-group")||customElements.define("w-radio-group",Xe);var{events:zZ,args:WZ,argTypes:GZ}=My("w-radio"),{events:YZ,args:KZ,argTypes:XZ}=My("w-radio-group"),XW={title:"Forms/Radio",render:e=>Iy`
|
|
3684
|
+
<w-radio-group ${Hy(BM(e))}>
|
|
2649
3685
|
<w-radio value="foo">foo</w-radio>
|
|
2650
3686
|
<w-radio value="bar">bar</w-radio>
|
|
2651
3687
|
</w-radio-group>
|
|
2652
|
-
`},
|
|
3688
|
+
`},JZ=XW,QZ={args:{label:"Group",name:"foobar",value:"foo"}},ZZ={args:{label:"Disabled",disabled:!0}},eee={args:{},render(){return Iy`
|
|
3689
|
+
<form>
|
|
3690
|
+
<w-radio-group required>
|
|
3691
|
+
<w-radio value="foo">foo</w-radio>
|
|
3692
|
+
<w-radio value="bar">bar</w-radio>
|
|
3693
|
+
</w-radio-group>
|
|
3694
|
+
<button>click me</button>
|
|
3695
|
+
</form>
|
|
3696
|
+
`}},tee={args:{disabled:!0}},ree={args:{},render(){return Iy`
|
|
3697
|
+
<w-radio-group>
|
|
3698
|
+
<w-radio value="foo" disabled appearance="button">disabled</w-radio>
|
|
3699
|
+
<w-radio value="bar" appearance="clickable">not disabled</w-radio>
|
|
3700
|
+
</w-radio-group>
|
|
3701
|
+
`}};export{QZ as Default,ZZ as Disabled,tee as DisabledGroup,ree as DisabledRadio,eee as Required,JZ as default};
|
|
2653
3702
|
//# sourceMappingURL=radio.stories.js.map
|