@tmf_ciclica/ciclicastorybook 1.1.32 → 1.1.34
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/index.cjs.js +4 -981
- package/dist/index.es.js +1797 -47049
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,981 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1ueih_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16 ._ambitName_1ueih_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16 ._ambitDate_1ueih_35{flex:.5}._ambitItem_1ueih_2 ._ambitButtons_1ueih_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_19lnt_3{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_19lnt_3:after{content:"";z-index:-1;left:100%;top:50%;transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;transform-origin:center right}._top_19lnt_33{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;white-space:nowrap;z-index:10;color:#000}._top_19lnt_33:after{content:"";z-index:-1;right:50%;top:100%;transform:translate(50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent;color:#000;transform-origin:center right}._bottom_19lnt_66{position:absolute;width:auto;top:calc(100% + 10px);right:50%;height:fit-content;transform:translate(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;z-index:10;color:#000}._bottom_19lnt_66:after{content:"";z-index:-1;right:50%;bottom:100%;transform:translate(50%);border-width:.5em;border-style:solid;border-color:transparent;border-bottom-color:#fff;position:absolute;transform-origin:center right}._right_19lnt_97{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:20px;margin:0;white-space:nowrap;height:fit-content;color:#000;z-index:10}._right_19lnt_97:after{content:"";z-index:-1;right:100%;top:50%;color:#000;transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent;transform-origin:center right}._AppliedFiltersContainer_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_6o4gt_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitTitle_6o4gt_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitDescription_6o4gt_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitDescription_6o4gt_22 ._FiltersAmbitDescriptionTitle_6o4gt_33{font-size:18px;font-weight:600}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_1of0g_2{position:relative;width:fit-content}._currentLang_1of0g_7{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_1of0g_7 ._arrow_1of0g_19{width:10px}._currentLang_1of0g_7 ._prevImg_1of0g_22{width:20px}._langMenu_1of0g_26{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_1of0g_26 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_1of0g_26 button:first-child{border-radius:8px 8px 0 0}._langMenu_1of0g_26 button:last-child{border-radius:0 0 8px 8px}._langMenu_1of0g_26 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_15agj_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:start;width:fit-content;gap:80px}._TopNavMenuContainer_15agj_2 ._topNavOptions_15agj_12{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center}._TopNavMenuContainer_15agj_2 ._active_15agj_23{border-bottom:5px solid white}._UserMenuTrigger_uglss_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._header_t7qdl_2{width:100%;display:flex;align-items:center;position:relative;padding:0 16px;background-color:#fff;border-bottom:1px solid black;z-index:10}._header_t7qdl_2 ._leftComponents_t7qdl_12,._header_t7qdl_2 ._centerComponents_t7qdl_13,._header_t7qdl_2 ._rightComponents_t7qdl_14{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_t7qdl_2 ._leftComponents_t7qdl_12{left:16px}._header_t7qdl_2 ._centerComponents_t7qdl_13{left:50%;transform:translate(-50%)}._header_t7qdl_2 ._rightComponents_t7qdl_14{right:16px}._sidebar_1jqo2_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
"use strict";var S3=Object.defineProperty;var A3=(e,t,r)=>t in e?S3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Fe=(e,t,r)=>A3(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const D=require("react/jsx-runtime"),he=require("react"),$=require("prop-types"),_e=require("react-i18next"),tf=require("framer-motion"),P3=require("zustand"),O3=require("d3"),_3=require("mapbox-gl"),la=require("react-redux"),Uo=require("react-map-gl/mapbox"),oc=require("maplibre-gl"),T3=require("pmtiles"),Vo=require("react-map-gl/maplibre"),n0=require("@reduxjs/toolkit"),$3=require("@mui/material/Slider"),_b=require("@mui/material"),R3=require("@emotion/react"),j3=require("react-router-dom");function q3(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Tb=q3(O3),M3="_ambitSelector_mcunf_2",k3="_header_mcunf_13",I3="_nameDateContainer_mcunf_23",N3="_ambitName_mcunf_39",D3="_ambitDate_mcunf_53",F3="_buttonsContainer_mcunf_67",L3="_ambitListContainer_mcunf_76",B3="_newAmbitButtonContainer_mcunf_80",Tr={ambitSelector:M3,header:k3,nameDateContainer:I3,ambitName:N3,ambitDate:D3,buttonsContainer:F3,ambitListContainer:L3,newAmbitButtonContainer:B3},H3="_ambitItem_1ueih_2",U3="_ambitNameDate_1ueih_16",V3="_ambitName_1ueih_16",z3="_ambitDate_1ueih_35",W3="_ambitButtons_1ueih_38",zo={ambitItem:H3,ambitNameDate:U3,ambitName:V3,ambitDate:z3,ambitButtons:W3},G3="data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e",K3="data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Y3="data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e",X3="data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",J3="data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e",Z3="data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e",o0=({ambit:e,onClickCopy:t,onClickDelete:r,onClickFilters:n,onClickAmbit:o,isActive:a,activeColor:i,fontColor:s,moreInfo:c})=>{const{nom:u,created_at:d,id:p,isBeingProcessed:h}=e;return D.jsxs("div",{className:zo.ambitItem,style:{borderBottom:`1px solid ${s}`},children:[D.jsxs("div",{className:zo.ambitNameDate,onClick:()=>o(p),children:[D.jsxs("div",{className:zo.ambitName,children:[D.jsx("img",{style:{marginRight:9},src:a?J3:Z3}),D.jsx("span",{style:{color:a?i:s},children:u})]}),D.jsx("div",{className:zo.ambitDate,children:new Date(d).toLocaleDateString()})]}),D.jsxs("div",{className:zo.ambitButtons,children:[h&&D.jsx("img",{src:X3}),D.jsx("button",{onClick:()=>n(p),children:D.jsx("img",{src:Y3})}),D.jsx("button",{onClick:()=>t(p),children:D.jsx("img",{src:K3})}),D.jsx("button",{onClick:()=>r(p),children:D.jsx("img",{src:G3})})]})]})};o0.propTypes={ambit:$.shape({nom:$.string.isRequired,created_at:$.string.isRequired,id:$.string.isRequired,isBeingProcessed:$.bool}).isRequired,onClickCopy:$.func.isRequired,onClickDelete:$.func.isRequired,onClickFilters:$.func.isRequired,onClickAmbit:$.func.isRequired,isBeingProcessed:$.bool,isActive:$.bool,activeColor:$.string,fontColor:$.string,moreInfo:$.object};const $b="data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Q3="_generalButton_8d6ru_2",ej={generalButton:Q3},a0=({children:e,onClick:t,fontColor:r,borderColor:n})=>D.jsx("button",{className:ej.generalButton,style:{color:r,border:`1.5px solid ${n}`},onClick:t,children:e}),i0=({ambitList:e,activeAmbitId:t,fontColor:r="#605B56",activeColor:n,nameLabel:o,dateLabel:a,newAmbitLabel:i="New field",buttonContainerStyles:s={},containerStyles:c={},onCLickNewAmbit:u=()=>console.log("New ambit clicked"),onClickCopy:d=m=>console.log(`Copy ambit: ${m}`),onCLickDelete:p=m=>console.log(`Delete ambit: ${m}`),onClickFilters:h=m=>console.log(`Filters clicked: ${m}`),onClickAmbit:f=m=>console.log(`OnCLickAmbit: ${m}`)})=>{const{t:m}=_e.useTranslation(),[g,y]=he.useState(e);he.useEffect(()=>{e&&y(e)},[e]);const b=v=>{if(g&&g.length>0){let S=[...g];S.sort((x,P)=>x[v].localeCompare(P[v])),y(S)}};return D.jsxs("div",{className:Tr.ambitSelector,style:{color:r,...c},children:[D.jsxs("div",{className:Tr.header,style:{borderBottom:`1px solid ${r}`},children:[D.jsxs("div",{className:Tr.nameDateContainer,children:[D.jsx("div",{className:Tr.ambitName,children:D.jsxs("button",{onClick:()=>b("name"),children:[D.jsx("span",{children:m(o)}),D.jsx("img",{src:$b})]})}),D.jsx("div",{className:Tr.ambitDate,children:D.jsxs("button",{onClick:()=>b("date"),children:[D.jsx("span",{children:m(a)}),D.jsx("img",{src:$b})]})})]}),D.jsx("div",{className:Tr.buttonsContainer})]}),D.jsx("div",{className:Tr.ambitListContainer,children:g&&g.length>0&&g.map(v=>D.jsx(o0,{isActive:t==v.id,ambit:v,fontColor:r,activeColor:n,onClickCopy:d,onClickDelete:p,onClickFilters:h,onClickAmbit:f},`ambitKey${v.id}`))}),D.jsx("div",{className:Tr.newAmbitButtonContainer,children:D.jsx(a0,{style:{...s},onClick:u,borderColor:"grey",children:m(i)})})]})};i0.propTypes={ambitList:$.arrayOf($.shape({name:$.string.isRequired,date:$.string.isRequired,id:$.string.isRequired})).isRequired,activeAmbitId:$.string,fontColor:$.string,activeColor:$.string,onClickCopy:$.func.isRequired,onCLickDelete:$.func.isRequired,onClickFilters:$.func.isRequired,onClickAmbit:$.func.isRequired,nameLabel:$.string,dateLabel:$.string,newAmbitLabel:$.string,buttonContainerStyles:$.object,containerStyles:$.object,onCLickNewAmbit:$.func};const tj="_buttonsContainer_1audx_2",rj="_vertical_1audx_6",nj="_horizontal_1audx_9",oj="_button_1audx_2",aj="_active_1audx_25",ij="_buttonName_1audx_28",Jr={buttonsContainer:tj,vertical:rj,horizontal:nj,button:oj,active:aj,buttonName:ij},sj="_left_19lnt_3",lj="_top_19lnt_33",uj="_bottom_19lnt_66",cj="_right_19lnt_97",dj={left:sj,top:lj,bottom:uj,right:cj},rf=({text:e,position:t,styleCustom:r=null})=>{const{t:n}=_e.useTranslation();return D.jsx("div",{className:`tooltip ${dj[t]}`,style:r,children:n(e)})};rf.propTypes={text:$.string.isRequired,position:$.oneOf(["top","bottom","left","right"]).isRequired,styleCustom:$.object};const s0=({buttons:e=[],orientation:t="horizontal",showName:r=!0,namePosition:n="right",useTooltip:o=!1,tooltipPosition:a="top"})=>{const{t:i}=_e.useTranslation();return D.jsx("div",{className:`${Jr.buttonsContainer} ${t==="vertical"&&Jr.vertical}
|
|
3
|
-
${
|
|
4
|
-
${p&&Jr.active}`,children:m}),o&&D.jsx(rf,{text:h,position:a})]},c)})})};s0.propTypes={buttons:$.arrayOf($.shape({icon:$.node.isRequired,activeIcon:$.node,isActive:$.bool,name:$.string,onClick:$.func})).isRequired,orientation:$.oneOf(["horizontal","vertical"]),showName:$.bool,namePosition:$.oneOf(["left","right"]),useTooltip:$.bool,tooltipPosition:$.oneOf(["top","bottom","left","right"])};const pj="_indicatorsCategory_1cu33_2",fj="_title_1cu33_5",ac={indicatorsCategory:pj,title:fj},Wr=({isOpen:e,onClick:t,children:r,color:n,activeColor:o="#F8A925",title:a="Title",height:i=53,titleFontStyles:s,showBottomBar:c=!0,titleMarginChildren:u=25})=>{const{t:d}=_e.useTranslation();return D.jsxs(tf.motion.div,{className:ac.indicatorsCategory,initial:{height:`${i}px`},animate:{height:e?"auto":`${i}px`},transition:{duration:.4},style:{backgroundColor:"white",borderBottom:e&&c?`1px solid ${o}`:"0px",marginBottom:e?"20px":"0px"},children:[D.jsxs("h2",{style:{...s,marginBottom:u||"auto"},className:`${ac.title}`,onClick:t,children:[D.jsx("span",{style:{color:e?o:n},children:e?"-":"+"}),D.jsx("span",{style:{marginLeft:12,color:e?o:n},children:d(a)})]}),D.jsx("div",{className:ac.content,children:r})]})};Wr.propTypes={isOpen:$.bool,onClick:$.func,children:$.node,color:$.string,activeColor:$.string,title:$.string,height:$.number,showBottomBar:$.bool,titleFontStyles:$.object};const hj=()=>D.jsx("div",{children:"EditAmbit"}),mj="data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e",gj="_AppliedFiltersContainer_s8ooe_2",bj="_AppliedFilterContent_s8ooe_10",Rb={AppliedFiltersContainer:gj,AppliedFilterContent:bj},Qe=P3.create(e=>({activeCategory:"",activeSubCategory:"",selectedIndicator:"",tematicalFiltersSelected:[],fontColor:"#605B56",inputsColor:"#605B56"})),l0=({title:e,onClick:t,isOpen:r=!0,textColor:n="#ffffff",backgroundColor:o="#605B5680",activeColor:a})=>{const{t:i}=_e.useTranslation(),{tematicalFiltersSelected:s}=Qe(u=>u),c=u=>{Qe.setState(d=>({tematicalFiltersSelected:d.tematicalFiltersSelected.filter(p=>p.code!==u)}))};return D.jsx(Wr,{isOpen:r,onClick:t,title:e?i(e):"Applied Filters",activeColor:a,children:D.jsx("div",{className:Rb.AppliedFiltersContainer,children:s==null?void 0:s.map((u,d)=>D.jsxs("div",{className:Rb.AppliedFilterContent,style:{color:n,background:o},children:[i(u.name),D.jsx("img",{src:mj,alt:"CloseIcon",onClick:()=>c(u.code),style:{cursor:"pointer"}})]},d))})})};l0.propTypes={isOpen:$.bool,onClick:$.func,title:$.string,textColor:$.string,backgroundColor:$.string,indicators:$.arrayOf($.shape({title:$.string.isRequired,Codename:$.string.isRequired})),activeColor:$.string};const u0=({title:e,onClick:t,isOpen:r=!0,textColor:n="#ffffff",backgroundColor:o="#605B5680",activeColor:a})=>{const{t:i}=_e.useTranslation(),{tematicalFiltersSelected:s}=Qe(c=>c);return D.jsx(Wr,{isOpen:r,onClick:t,title:e?i(e):"Geographical Filters",activeColor:a,children:"A"})};u0.propTypes={isOpen:$.bool,onClick:$.func,title:$.string,textColor:$.string,backgroundColor:$.string,activeColor:$.string};const yj="_checkboxContainer_zld97_2",vj={checkboxContainer:yj},c0=({onClick:e,containerStyles:t,color:r="#605B56",indicator:n,value:o})=>{const{t:a}=_e.useTranslation(),{title:i}=n||{},{fontColor:s,inputsColor:c}=Qe(u=>u);return D.jsxs("div",{style:{...t,color:r},role:"checkbox",className:vj.checkboxContainer,onClick:e,children:[D.jsx("input",{type:"checkbox",checked:typeof o=="boolean"?o:!0,value:o,readOnly:!0,style:{border:`1.5px solid ${o?c:s}`,backgroundColor:o?c:"white"}}),D.jsx("span",{className:"checkmark",children:a(i)})]})};c0.propTypes={onClick:$.func,value:$.bool,containerStyles:$.object,color:$.string,indicator:$.shape({title:$.string,codename:$.array}),checkedColor:$.string};function kc(e,t){return kc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},kc(e,t)}function wj(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,kc(e,t)}function ic(e){return e&&e.stopPropagation&&e.stopPropagation(),e&&e.preventDefault&&e.preventDefault(),!1}function sc(e){return e==null?[]:Array.isArray(e)?e.slice():[e]}function mi(e){return e!==null&&e.length===1?e[0]:e.slice()}function gi(e){Object.keys(e).forEach(t=>{typeof document<"u"&&document.addEventListener(t,e[t],!1)})}function Zr(e,t){return Ic(function(r,n){let o=r;return o<=n.min&&(o=n.min),o>=n.max&&(o=n.max),o}(e,t),t)}function Ic(e,t){const r=(e-t.min)%t.step;let n=e-r;return 2*Math.abs(r)>=t.step&&(n+=r>0?t.step:-t.step),parseFloat(n.toFixed(5))}let Nc=function(e){function t(n){var o;(o=e.call(this,n)||this).onKeyUp=()=>{o.onEnd()},o.onMouseUp=()=>{o.onEnd(o.getMouseEventMap())},o.onTouchEnd=s=>{s.preventDefault(),o.onEnd(o.getTouchEventMap())},o.onBlur=()=>{o.setState({index:-1},o.onEnd(o.getKeyDownEventMap()))},o.onMouseMove=s=>{o.setState({pending:!0});const c=o.getMousePosition(s),u=o.getDiffPosition(c[0]),d=o.getValueFromPosition(u);o.move(d)},o.onTouchMove=s=>{if(s.touches.length>1)return;o.setState({pending:!0});const c=o.getTouchPosition(s);if(o.isScrolling===void 0){const p=c[0]-o.startPosition[0],h=c[1]-o.startPosition[1];o.isScrolling=Math.abs(h)>Math.abs(p)}if(o.isScrolling)return void o.setState({index:-1});const u=o.getDiffPosition(c[0]),d=o.getValueFromPosition(u);o.move(d)},o.onKeyDown=s=>{if(!(s.ctrlKey||s.shiftKey||s.altKey||s.metaKey))switch(o.setState({pending:!0}),s.key){case"ArrowLeft":case"ArrowDown":case"Left":case"Down":s.preventDefault(),o.moveDownByStep();break;case"ArrowRight":case"ArrowUp":case"Right":case"Up":s.preventDefault(),o.moveUpByStep();break;case"Home":s.preventDefault(),o.move(o.props.min);break;case"End":s.preventDefault(),o.move(o.props.max);break;case"PageDown":s.preventDefault(),o.moveDownByStep(o.props.pageFn(o.props.step));break;case"PageUp":s.preventDefault(),o.moveUpByStep(o.props.pageFn(o.props.step))}},o.onSliderMouseDown=s=>{if(!o.props.disabled&&s.button!==2){if(o.setState({pending:!0}),!o.props.snapDragDisabled){const c=o.getMousePosition(s);o.forceValueFromPosition(c[0],u=>{o.start(u,c[0]),gi(o.getMouseEventMap())})}ic(s)}},o.onSliderClick=s=>{if(!o.props.disabled&&o.props.onSliderClick&&!o.hasMoved){const c=o.getMousePosition(s),u=Zr(o.calcValue(o.calcOffsetFromPosition(c[0])),o.props);o.props.onSliderClick(u)}},o.createOnKeyDown=s=>c=>{o.props.disabled||(o.start(s),gi(o.getKeyDownEventMap()),ic(c))},o.createOnMouseDown=s=>c=>{if(o.props.disabled||c.button===2)return;o.setState({pending:!0});const u=o.getMousePosition(c);o.start(s,u[0]),gi(o.getMouseEventMap()),ic(c)},o.createOnTouchStart=s=>c=>{if(o.props.disabled||c.touches.length>1)return;o.setState({pending:!0});const u=o.getTouchPosition(c);o.startPosition=u,o.isScrolling=void 0,o.start(s,u[0]),gi(o.getTouchEventMap()),function(d){d.stopPropagation&&d.stopPropagation()}(c)},o.handleResize=()=>{const s=window.setTimeout(()=>{o.pendingResizeTimeouts.shift(),o.resize()},0);o.pendingResizeTimeouts.push(s)},o.renderThumb=(s,c)=>{const u=o.props.thumbClassName+" "+o.props.thumbClassName+"-"+c+" "+(o.state.index===c?o.props.thumbActiveClassName:""),d={ref:h=>{o["thumb"+c]=h},key:o.props.thumbClassName+"-"+c,className:u,style:s,onMouseDown:o.createOnMouseDown(c),onTouchStart:o.createOnTouchStart(c),onFocus:o.createOnKeyDown(c),tabIndex:0,role:"slider","aria-orientation":o.props.orientation,"aria-valuenow":o.state.value[c],"aria-valuemin":o.props.min,"aria-valuemax":o.props.max,"aria-label":Array.isArray(o.props.ariaLabel)?o.props.ariaLabel[c]:o.props.ariaLabel,"aria-labelledby":Array.isArray(o.props.ariaLabelledby)?o.props.ariaLabelledby[c]:o.props.ariaLabelledby,"aria-disabled":o.props.disabled},p={index:c,value:mi(o.state.value),valueNow:o.state.value[c]};return o.props.ariaValuetext&&(d["aria-valuetext"]=typeof o.props.ariaValuetext=="string"?o.props.ariaValuetext:o.props.ariaValuetext(p)),o.props.renderThumb(d,p)},o.renderTrack=(s,c,u)=>{const d={key:o.props.trackClassName+"-"+s,className:o.props.trackClassName+" "+o.props.trackClassName+"-"+s,style:o.buildTrackStyle(c,o.state.upperBound-u)},p={index:s,value:mi(o.state.value)};return o.props.renderTrack(d,p)};let a=sc(n.value);a.length||(a=sc(n.defaultValue)),o.pendingResizeTimeouts=[];const i=[];for(let s=0;s<a.length;s+=1)a[s]=Zr(a[s],n),i.push(s);return o.resizeObserver=null,o.resizeElementRef=he.createRef(),o.state={index:-1,upperBound:0,sliderLength:0,value:a,zIndices:i},o}wj(t,e);var r=t.prototype;return r.componentDidMount=function(){typeof window<"u"&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.resizeElementRef.current),this.resize())},t.getDerivedStateFromProps=function(n,o){const a=sc(n.value);return a.length?o.pending?null:{value:a.map(i=>Zr(i,n))}:null},r.componentDidUpdate=function(){this.state.upperBound===0&&this.resize()},r.componentWillUnmount=function(){this.clearPendingResizeTimeouts(),this.resizeObserver&&this.resizeObserver.disconnect()},r.onEnd=function(n){n&&function(o){Object.keys(o).forEach(a=>{typeof document<"u"&&document.removeEventListener(a,o[a],!1)})}(n),this.hasMoved&&this.fireChangeEvent("onAfterChange"),this.setState({pending:!1}),this.hasMoved=!1},r.getValue=function(){return mi(this.state.value)},r.getClosestIndex=function(n){let o=Number.MAX_VALUE,a=-1;const{value:i}=this.state,s=i.length;for(let c=0;c<s;c+=1){const u=this.calcOffset(i[c]),d=Math.abs(n-u);d<o&&(o=d,a=c)}return a},r.getMousePosition=function(n){return[n["page"+this.axisKey()],n["page"+this.orthogonalAxisKey()]]},r.getTouchPosition=function(n){const o=n.touches[0];return[o["page"+this.axisKey()],o["page"+this.orthogonalAxisKey()]]},r.getKeyDownEventMap=function(){return{keydown:this.onKeyDown,keyup:this.onKeyUp,focusout:this.onBlur}},r.getMouseEventMap=function(){return{mousemove:this.onMouseMove,mouseup:this.onMouseUp}},r.getTouchEventMap=function(){return{touchmove:this.onTouchMove,touchend:this.onTouchEnd}},r.getValueFromPosition=function(n){const o=n/(this.state.sliderLength-this.state.thumbSize)*(this.props.max-this.props.min);return Zr(this.state.startValue+o,this.props)},r.getDiffPosition=function(n){let o=n-this.state.startPosition;return this.props.invert&&(o*=-1),o},r.resize=function(){const{slider:n,thumb0:o}=this;if(!n||!o)return;const a=this.sizeKey(),i=n.getBoundingClientRect(),s=n[a],c=i[this.posMaxKey()],u=i[this.posMinKey()],d=o.getBoundingClientRect()[a.replace("client","").toLowerCase()],p=s-d,h=Math.abs(c-u);this.state.upperBound===p&&this.state.sliderLength===h&&this.state.thumbSize===d||this.setState({upperBound:p,sliderLength:h,thumbSize:d})},r.calcOffset=function(n){const o=this.props.max-this.props.min;return o===0?0:(n-this.props.min)/o*this.state.upperBound},r.calcValue=function(n){return n/this.state.upperBound*(this.props.max-this.props.min)+this.props.min},r.calcOffsetFromPosition=function(n){const{slider:o}=this,a=o.getBoundingClientRect(),i=a[this.posMaxKey()],s=a[this.posMinKey()];let c=n-(window["page"+this.axisKey()+"Offset"]+(this.props.invert?i:s));return this.props.invert&&(c=this.state.sliderLength-c),c-=this.state.thumbSize/2,c},r.forceValueFromPosition=function(n,o){const a=this.calcOffsetFromPosition(n),i=this.getClosestIndex(a),s=Zr(this.calcValue(a),this.props),c=this.state.value.slice();c[i]=s;for(let u=0;u<c.length-1;u+=1)if(c[u+1]-c[u]<this.props.minDistance)return;this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0,this.setState({value:c},()=>{o(i),this.fireChangeEvent("onChange")})},r.clearPendingResizeTimeouts=function(){do{const n=this.pendingResizeTimeouts.shift();clearTimeout(n)}while(this.pendingResizeTimeouts.length)},r.start=function(n,o){const a=this["thumb"+n];a&&a.focus();const{zIndices:i}=this.state;i.splice(i.indexOf(n),1),i.push(n),this.setState(s=>({startValue:s.value[n],startPosition:o!==void 0?o:s.startPosition,index:n,zIndices:i}))},r.moveUpByStep=function(n){n===void 0&&(n=this.props.step);const o=this.state.value[this.state.index],a=Zr(this.props.invert&&this.props.orientation==="horizontal"?o-n:o+n,this.props);this.move(Math.min(a,this.props.max))},r.moveDownByStep=function(n){n===void 0&&(n=this.props.step);const o=this.state.value[this.state.index],a=Zr(this.props.invert&&this.props.orientation==="horizontal"?o+n:o-n,this.props);this.move(Math.max(a,this.props.min))},r.move=function(n){const o=this.state.value.slice(),{index:a}=this.state,{length:i}=o,s=o[a];if(n===s)return;this.hasMoved||this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0;const{pearling:c,max:u,min:d,minDistance:p}=this.props;if(!c){if(a>0){const h=o[a-1];n<h+p&&(n=h+p)}if(a<i-1){const h=o[a+1];n>h-p&&(n=h-p)}}o[a]=n,c&&i>1&&(n>s?(this.pushSucceeding(o,p,a),function(h,f,m,g){for(let y=0;y<h;y+=1){const b=g-y*m;f[h-1-y]>b&&(f[h-1-y]=b)}}(i,o,p,u)):n<s&&(this.pushPreceding(o,p,a),function(h,f,m,g){for(let y=0;y<h;y+=1){const b=g+y*m;f[y]<b&&(f[y]=b)}}(i,o,p,d))),this.setState({value:o},this.fireChangeEvent.bind(this,"onChange"))},r.pushSucceeding=function(n,o,a){let i,s;for(i=a,s=n[i]+o;n[i+1]!==null&&s>n[i+1];i+=1,s=n[i]+o)n[i+1]=Ic(s,this.props)},r.pushPreceding=function(n,o,a){for(let i=a,s=n[i]-o;n[i-1]!==null&&s<n[i-1];i-=1,s=n[i]-o)n[i-1]=Ic(s,this.props)},r.axisKey=function(){return this.props.orientation==="vertical"?"Y":"X"},r.orthogonalAxisKey=function(){return this.props.orientation==="vertical"?"X":"Y"},r.posMinKey=function(){return this.props.orientation==="vertical"?this.props.invert?"bottom":"top":this.props.invert?"right":"left"},r.posMaxKey=function(){return this.props.orientation==="vertical"?this.props.invert?"top":"bottom":this.props.invert?"left":"right"},r.sizeKey=function(){return this.props.orientation==="vertical"?"clientHeight":"clientWidth"},r.fireChangeEvent=function(n){this.props[n]&&this.props[n](mi(this.state.value),this.state.index)},r.buildThumbStyle=function(n,o){const a={position:"absolute",touchAction:"none",willChange:this.state.index>=0?this.posMinKey():void 0,zIndex:this.state.zIndices.indexOf(o)+1};return a[this.posMinKey()]=n+"px",a},r.buildTrackStyle=function(n,o){const a={position:"absolute",willChange:this.state.index>=0?this.posMinKey()+","+this.posMaxKey():void 0};return a[this.posMinKey()]=n,a[this.posMaxKey()]=o,a},r.buildMarkStyle=function(n){var o;return(o={position:"absolute"})[this.posMinKey()]=n,o},r.renderThumbs=function(n){const{length:o}=n,a=[];for(let s=0;s<o;s+=1)a[s]=this.buildThumbStyle(n[s],s);const i=[];for(let s=0;s<o;s+=1)i[s]=this.renderThumb(a[s],s);return i},r.renderTracks=function(n){const o=[],a=n.length-1;o.push(this.renderTrack(0,0,n[0]));for(let i=0;i<a;i+=1)o.push(this.renderTrack(i+1,n[i],n[i+1]));return o.push(this.renderTrack(a+1,n[a],this.state.upperBound)),o},r.renderMarks=function(){let{marks:n}=this.props;const o=this.props.max-this.props.min+1;return typeof n=="boolean"?n=Array.from({length:o}).map((a,i)=>i):typeof n=="number"&&(n=Array.from({length:o}).map((a,i)=>i).filter(a=>a%n==0)),n.map(parseFloat).sort((a,i)=>a-i).map(a=>{const i=this.calcOffset(a),s={key:a,className:this.props.markClassName,style:this.buildMarkStyle(i)};return this.props.renderMark(s)})},r.render=function(){const n=[],{value:o}=this.state,a=o.length;for(let u=0;u<a;u+=1)n[u]=this.calcOffset(o[u],u);const i=this.props.withTracks?this.renderTracks(n):null,s=this.renderThumbs(n),c=this.props.marks?this.renderMarks():null;return he.createElement("div",{ref:u=>{this.slider=u,this.resizeElementRef.current=u},style:{position:"relative"},className:this.props.className+(this.props.disabled?" disabled":""),onMouseDown:this.onSliderMouseDown,onClick:this.onSliderClick},i,s,c)},t}(he.Component);Nc.displayName="ReactSlider",Nc.defaultProps={min:0,max:100,step:1,pageFn:e=>10*e,minDistance:0,defaultValue:0,orientation:"horizontal",className:"slider",thumbClassName:"thumb",thumbActiveClassName:"active",trackClassName:"track",markClassName:"mark",withTracks:!0,pearling:!1,disabled:!1,snapDragDisabled:!1,invert:!1,marks:[],renderThumb:e=>he.createElement("div",e),renderTrack:e=>he.createElement("div",e),renderMark:e=>he.createElement("span",e)};var Ej=Nc;const Cj="_container_15vgv_2",xj="_unitLabel_15vgv_9",Sj="_slider_15vgv_12",Aj="_thumb_15vgv_18",Pj="_track_15vgv_27",Oj="_labels_15vgv_33",kn={container:Cj,unitLabel:xj,slider:Sj,thumb:Aj,track:Pj,labels:Oj},d0=({min:e=0,max:t=100,step:r=1,onChange:n,width:o=300,unit:a,fontColor:i="#605B56",value:s=[e,t]})=>{const{t:c}=_e.useTranslation(),u=d=>{n==null||n({min:d[0],max:d[1]})};return D.jsxs("div",{className:kn.container,style:{width:`${o}px`,color:`${i}`},children:[D.jsx("div",{className:kn.unitLabel,children:D.jsx("span",{children:c(a)})}),D.jsx(Ej,{className:kn.slider,thumbClassName:kn.thumb,trackClassName:kn.track,min:e,max:t,step:r,value:s,onChange:u,withTracks:!0,pearling:!0,minDistance:1}),D.jsxs("div",{className:kn.labels,children:[D.jsx("span",{children:s[0]}),D.jsx("span",{children:s[1]})]})]})};d0.propTypes={min:$.number,max:$.number,step:$.number,initialMin:$.number,initialMax:$.number,onChange:$.func,width:$.number,unit:$.string,fontColor:$.string,value:$.arrayOf($.number)};const _j="_tematicalFiltersInputContainer_1vm1r_2",Tj="_inputTypeContainer_1vm1r_2",$j="_checkboxContainer_1vm1r_28",Rj="_absoluteSliderContainer_1vm1r_37",bi={tematicalFiltersInputContainer:_j,inputTypeContainer:Tj,checkboxContainer:$j,absoluteSliderContainer:Rj},nf=({indicator:e,activeColor:t})=>{const[r,n]=he.useState(),{type:o,name:a,values:i,minValue:s,maxValue:c,unit:u}=e||{},d=he.useMemo(()=>o=="cat"||r=="cat",[r,o]),p=he.useMemo(()=>o=="abs"||r=="abs",[r,o]),{tematicalFiltersSelected:h,selectedIndicator:f,fontColor:m,inputsColor:g}=Qe(v=>v),y=v=>{if(v){const{min:S,max:x,valueClicked:P,allValues:C}=v||{},{code:w,type:E}=e||{},A=p?"abs":d?"cat":"both";let k=w[0];E=="both"&&(k=A=="cat"?w[1]:w[0]),A=="cat"?Qe.setState(j=>{let L=j.tematicalFiltersSelected.find(F=>F.code===k);if(L){let F=[L.values];if(L.values.includes(P)){if(F=L.values.filter(T=>T!==P),F.length<1)return{tematicalFiltersSelected:j.tematicalFiltersSelected.filter(T=>T.code!==k)}}else F=[...L.values,P];return{tematicalFiltersSelected:j.tematicalFiltersSelected.map(T=>T.code===k?{...T,values:F}:T)}}else{console.log("entra aqui: ",C," ",P);let F=C.map((T,R)=>R);return{tematicalFiltersSelected:[...h,{type:"cat",code:k,values:F.filter(T=>T!==P),name:e.name}]}}}):A=="abs"&&Qe.setState(j=>{let L=j.tematicalFiltersSelected.find(F=>F.code===k);if(L){let F={...L};return F.min=S,F.max=x,{tematicalFiltersSelected:j.tematicalFiltersSelected.map(T=>T.code===k?F:T)}}else return{tematicalFiltersSelected:[...h,{type:"abs",code:k,min:S,max:x}]}})}},b=he.useMemo(()=>{const v={};if((h==null?void 0:h.length)>0)for(const S of h)S.type==="cat"?v[S.code]=new Set(S.values):v[S.code]=[S.min,S.max];return v},[h]);return D.jsx("div",{className:bi.tematicalFiltersInputContainer,children:D.jsxs(Wr,{titleFontStyles:{fontSize:16,fontWeight:400},title:a,isOpen:f==`id${a}`,onClick:()=>Qe.setState(()=>({selectedIndicator:f==`id${a}`?"":`id${a}`})),showBottomBar:!1,height:38,titleMarginChildren:14,className:"tematicalFiltersInputContainer",color:m,activeColor:t,children:[o=="both"&&D.jsxs("div",{className:bi.inputTypeContainer,style:{color:m},children:[D.jsxs("label",{children:[D.jsx("input",{type:"radio",name:"tipo",value:"abs",onChange:()=>{n("abs")},style:{marginRight:4,backgroundColor:r=="abs"?g:"white",border:`1.5px solid ${r=="abs"?g:m}`}}),"Absoluto"]}),D.jsxs("label",{children:[D.jsx("input",{type:"radio",name:"tipo",value:"cat",onChange:()=>{n("cat")},style:{marginRight:4,backgroundColor:r=="cat"?g:"white",border:`1.5px solid ${r=="cat"?g:m}`}}),"Categórico"]})]}),d&&D.jsx("div",{className:bi.checkboxContainer,children:i.map((v,S)=>{var x;return D.jsx(c0,{onClick:()=>y({valueClicked:S,allValues:i}),indicator:v,value:((x=b[e.code[o=="both"?1:0]])==null?void 0:x.has(S))||!b[e.code[o=="both"?1:0]]},`checkbox-${S}`)})}),p&&D.jsx("div",{className:bi.absoluteSliderContainer,children:D.jsx(d0,{onChange:y,min:s,max:c,unit:u,value:b[e.code[0]]})})]})})};nf.propTypes={indicator:$.shape({name:$.string,type:$.string,code:$.arrayOf($.string),values:$.arrayOf($.shape({codename:$.oneOfType($.array,$.string),title:$.string}))}),activeColor:$.string};const p0=({subcategory:e,fontColor:t,activeColor:r})=>{const{activeSubcategory:n}=Qe(i=>i),{name:o,indicators:a}=e||{};return D.jsx(Wr,{title:o,isOpen:n==`id${o}`,onClick:()=>{Qe.setState(i=>({activeSubcategory:i.activeSubcategory===`id${o}`?"":`id${o}`}))},titleFontStyles:{fontSize:16,fontWeight:400},showBottomBar:!1,titleMarginChildren:20,height:48,color:t,activeColor:r,children:a==null?void 0:a.map((i,s)=>D.jsx(nf,{indicator:i,fontColor:t,activeColor:r},`indicatorSub-${s}`))})};p0.propTypes={subcategory:$.shape({name:$.string,indicators:$.arrayOf($.shape({name:$.string,value:$.string}))}),activeColor:$.string};const f0=({category:e,activeColor:t})=>{const{name:r,subcategories:n,indicators:o}=e||{},{activeCategory:a,fontColor:i}=Qe(s=>s);return e&&D.jsx(Wr,{onClick:()=>{Qe.setState(s=>({activeCategory:a===`id${r}`?"":`id${r}`}))},title:r,isOpen:a===`id${r}`,titleFontStyles:{fontSize:18,fontWeight:"bold"},showBottomBar:!1,color:i,activeColor:t,children:n?n.map((s,c)=>D.jsx(p0,{subcategory:s,fontColor:i,activeColor:t},`subcategory-${c}`)):o&&o.map((s,c)=>D.jsx(nf,{indicator:s,fontColor:i,activeColor:t},`indicator-${c}`))})};f0.propTypes={category:$.shape({name:$.string.isRequired,subcategories:$.array,indicators:$.array}),activeColor:$.string};const h0=({indicators:e,isOpen:t=!0,title:r,fontColor:n="#605B56",inputsColor:o="#605B56",activeColor:a})=>{const{tematicalFiltersSelected:i}=Qe(c=>c),{t:s}=_e.useTranslation();return he.useEffect(()=>{n&&Qe.setState(()=>({fontColor:n}))},[n]),he.useEffect(()=>{o&&Qe.setState(()=>({inputsColor:o}))},[o]),D.jsx(Wr,{isOpen:t,title:r?s(r):"Tematical filters",color:n,activeColor:a,children:e==null?void 0:e.map((c,u)=>D.jsx(f0,{category:c,fontColor:n,activeColor:a},`category-${u}`))})};h0.propTypes={isOpen:$.bool,title:$.string,indicators:$.arrayOf($.object),fontColor:$.string,onChangeTematicalFilters:$.func,inputsColor:$.string,activeColor:$.string};const jj="_FiltersAmbitContainer_6o4gt_2",qj="_FiltersAmbitHeader_6o4gt_7",Mj="_FiltersAmbitTitle_6o4gt_15",kj="_FiltersAmbitDescription_6o4gt_22",Ij="_FiltersAmbitDescriptionTitle_6o4gt_33",Wo={FiltersAmbitContainer:jj,FiltersAmbitHeader:qj,FiltersAmbitTitle:Mj,FiltersAmbitDescription:kj,FiltersAmbitDescriptionTitle:Ij};var ae=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),Nj=Object.defineProperty,Mr=(e,t)=>Nj(e,"name",{value:t,configurable:!0}),{LOGLEVEL:Dj}=ae,kr={trace:1,debug:2,info:3,warn:4,error:5,silent:10},Fj=Dj,In=kr[Fj]||kr.info,Me={trace:Mr((e,...t)=>{In<=kr.trace&&console.trace(e,...t)},"trace"),debug:Mr((e,...t)=>{In<=kr.debug&&console.debug(e,...t)},"debug"),info:Mr((e,...t)=>{In<=kr.info&&console.info(e,...t)},"info"),warn:Mr((e,...t)=>{In<=kr.warn&&console.warn(e,...t)},"warn"),error:Mr((e,...t)=>{In<=kr.error&&console.error(e,...t)},"error"),log:Mr((e,...t)=>{In<kr.silent&&console.log(e,...t)},"log")},Dc=new Set,Ue=Mr(e=>(t,...r)=>{if(!Dc.has(t))return Dc.add(t),Me[e](t,...r)},"once");Ue.clear=()=>Dc.clear();Ue.trace=Ue("trace");Ue.debug=Ue("debug");Ue.info=Ue("info");Ue.warn=Ue("warn");Ue.error=Ue("error");Ue.log=Ue("log");var m0=Ue("warn"),$t=Mr(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])}Me[e].apply(Me,r)},"pretty");$t.trace=$t("trace");$t.debug=$t("debug");$t.info=$t("info");$t.warn=$t("warn");$t.error=$t("error");var of=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e))(of||{}),Lj=of,{CHANNEL_WS_DISCONNECT:g0,CHANNEL_CREATED:Bj,CONFIG_ERROR:b0,CREATE_NEW_STORYFILE_REQUEST:Hj,CREATE_NEW_STORYFILE_RESPONSE:Uj,CURRENT_STORY_WAS_SET:Fc,DOCS_PREPARED:y0,DOCS_RENDERED:af,FILE_COMPONENT_SEARCH_REQUEST:Vj,FILE_COMPONENT_SEARCH_RESPONSE:zj,FORCE_RE_RENDER:sf,FORCE_REMOUNT:Ui,GLOBALS_UPDATED:Sa,NAVIGATE_URL:Wj,PLAY_FUNCTION_THREW_EXCEPTION:v0,UNHANDLED_ERRORS_WHILE_PLAYING:w0,PRELOAD_ENTRIES:E0,PREVIEW_BUILDER_PROGRESS:Gj,PREVIEW_KEYDOWN:C0,REGISTER_SUBSCRIPTION:Kj,RESET_STORY_ARGS:lf,SELECT_STORY:Yj,SET_CONFIG:Xj,SET_CURRENT_STORY:uf,SET_FILTER:Jj,SET_GLOBALS:x0,SET_INDEX:Zj,SET_STORIES:Qj,SHARED_STATE_CHANGED:eq,SHARED_STATE_SET:tq,STORIES_COLLAPSE_ALL:rq,STORIES_EXPAND_ALL:nq,STORY_ARGS_UPDATED:S0,STORY_CHANGED:A0,STORY_ERRORED:P0,STORY_INDEX_INVALIDATED:O0,STORY_MISSING:Lc,STORY_PREPARED:_0,STORY_RENDER_PHASE_CHANGED:bn,STORY_RENDERED:Vi,STORY_FINISHED:Bc,STORY_SPECIFIED:T0,STORY_THREW_EXCEPTION:$0,STORY_UNCHANGED:R0,STORY_HOT_UPDATED:oq,UPDATE_GLOBALS:cf,UPDATE_QUERY_PARAMS:j0,UPDATE_STORY_ARGS:df,REQUEST_WHATS_NEW_DATA:aq,RESULT_WHATS_NEW_DATA:iq,SET_WHATS_NEW_CACHE:sq,TOGGLE_WHATS_NEW_NOTIFICATIONS:lq,TELEMETRY_ERROR:uq,SAVE_STORY_REQUEST:cq,SAVE_STORY_RESPONSE:dq,ARGTYPES_INFO_REQUEST:q0,ARGTYPES_INFO_RESPONSE:Hc}=of;const pq=Object.freeze(Object.defineProperty({__proto__:null,ARGTYPES_INFO_REQUEST:q0,ARGTYPES_INFO_RESPONSE:Hc,CHANNEL_CREATED:Bj,CHANNEL_WS_DISCONNECT:g0,CONFIG_ERROR:b0,CREATE_NEW_STORYFILE_REQUEST:Hj,CREATE_NEW_STORYFILE_RESPONSE:Uj,CURRENT_STORY_WAS_SET:Fc,DOCS_PREPARED:y0,DOCS_RENDERED:af,FILE_COMPONENT_SEARCH_REQUEST:Vj,FILE_COMPONENT_SEARCH_RESPONSE:zj,FORCE_REMOUNT:Ui,FORCE_RE_RENDER:sf,GLOBALS_UPDATED:Sa,NAVIGATE_URL:Wj,PLAY_FUNCTION_THREW_EXCEPTION:v0,PRELOAD_ENTRIES:E0,PREVIEW_BUILDER_PROGRESS:Gj,PREVIEW_KEYDOWN:C0,REGISTER_SUBSCRIPTION:Kj,REQUEST_WHATS_NEW_DATA:aq,RESET_STORY_ARGS:lf,RESULT_WHATS_NEW_DATA:iq,SAVE_STORY_REQUEST:cq,SAVE_STORY_RESPONSE:dq,SELECT_STORY:Yj,SET_CONFIG:Xj,SET_CURRENT_STORY:uf,SET_FILTER:Jj,SET_GLOBALS:x0,SET_INDEX:Zj,SET_STORIES:Qj,SET_WHATS_NEW_CACHE:sq,SHARED_STATE_CHANGED:eq,SHARED_STATE_SET:tq,STORIES_COLLAPSE_ALL:rq,STORIES_EXPAND_ALL:nq,STORY_ARGS_UPDATED:S0,STORY_CHANGED:A0,STORY_ERRORED:P0,STORY_FINISHED:Bc,STORY_HOT_UPDATED:oq,STORY_INDEX_INVALIDATED:O0,STORY_MISSING:Lc,STORY_PREPARED:_0,STORY_RENDERED:Vi,STORY_RENDER_PHASE_CHANGED:bn,STORY_SPECIFIED:T0,STORY_THREW_EXCEPTION:$0,STORY_UNCHANGED:R0,TELEMETRY_ERROR:uq,TOGGLE_WHATS_NEW_NOTIFICATIONS:lq,UNHANDLED_ERRORS_WHILE_PLAYING:w0,UPDATE_GLOBALS:cf,UPDATE_QUERY_PARAMS:j0,UPDATE_STORY_ARGS:df,default:Lj},Symbol.toStringTag,{value:"Module"}));var fq=Object.defineProperty,Q=(e,t)=>fq(e,"name",{value:t,configurable:!0});function tn(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,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
5
|
-
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
6
|
-
`)})}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(`
|
|
7
|
-
`)&&(p=String(s).split(`
|
|
8
|
-
`).map(function(h,f){return f===0?h:""+d+h}).join(`
|
|
9
|
-
`)),i+=p+n[c+1]}),i}Q(tn,"dedent");var jb=new Map,hq="UNIVERSAL_STORE:",St={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},$r=class de{constructor(t,r){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((n,o)=>{let a=typeof n=="function",i=a?"*":n,s=a?n:o;if(this.debug("subscribe",{eventType:i,listener:s}),!s)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(i)||this.listeners.set(i,new Set),this.listeners.get(i).add(s),()=>{var c;this.debug("unsubscribe",{eventType:i,listener:s}),this.listeners.has(i)&&(this.listeners.get(i).delete(s),((c=this.listeners.get(i))==null?void 0:c.size)===0&&this.listeners.delete(i))}},"subscribe"),this.send=Q(n=>{if(this.debug("send",{event:n}),this.status!==de.Status.READY)throw new TypeError(tn`Cannot send event before store is ready. You can get the current status with store.status,
|
|
10
|
-
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
11
|
-
${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!de.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(de.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?de.ActorType.LEADER:de.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${hq}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===de.ActorType.LEADER)this.syncing={state:St.RESOLVED,promise:Promise.resolve()};else{let n,o,a=new Promise((i,s)=>{n=Q(()=>{this.syncing.state===St.PENDING&&(this.syncing.state=St.RESOLVED,i())},"syncingResolve"),o=Q(c=>{this.syncing.state===St.PENDING&&(this.syncing.state=St.REJECTED,s(c))},"syncingReject")});this.syncing={state:St.PENDING,promise:a,resolve:n,reject:o}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=(r==null?void 0:r.channel)??de.preparation.channel,this.environment=(r==null?void 0:r.environment)??de.preparation.environment,this.channel&&this.environment?(de.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):de.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")});de.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??de.Environment.UNKNOWN})}get status(){var t;if(!this.channel||!this.environment)return de.Status.UNPREPARED;switch((t=this.syncing)==null?void 0:t.state){case St.PENDING:case void 0:return de.Status.SYNCING;case St.REJECTED:return de.Status.ERROR;case St.RESOLVED:default:return de.Status.READY}}untilReady(){var t;return Promise.all([de.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(tn`[UniversalStore]
|
|
12
|
-
create`,{options:t});let r=jb.get(t.id);if(r)return console.warn(tn`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
|
|
13
|
-
You should reuse the existing instance instead of trying to create a new one.`),r;de.isInternalConstructing=!0;let n=new de(t);return jb.set(t.id,n),n}static __prepare(t,r){de.preparation.channel=t,de.preparation.environment=r,de.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!==de.Status.READY)throw new TypeError(tn`Cannot set state before store is ready. You can get the current status with store.status,
|
|
14
|
-
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
15
|
-
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:de.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(de.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===de.ActorType.LEADER?this.emitToChannel({type:de.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:de.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:de.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n??[],...o??[]].forEach(a=>a(t,r))}handleChannelEvents(t){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)===St.PENDING&&r.type!==de.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===de.ActorType.LEADER){let u=!0;switch(r.type){case de.InternalEventType.EXISTING_STATE_REQUEST:u=!1;let d={type:de.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 de.InternalEventType.LEADER_CREATED:u=!1,this.syncing.state=St.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(tn`Detected multiple UniversalStore leaders created with the same id "${this.id}".
|
|
16
|
-
Only one leader can exists at a time, your stores are now in an invalid state.
|
|
17
|
-
Leaders detected:
|
|
18
|
-
this: ${JSON.stringify(this.actor,null,2)}
|
|
19
|
-
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===de.ActorType.FOLLOWER)switch(r.type){case de.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)!==St.PENDING)break;(c=(s=this.syncing).resolve)==null||c.call(s);let u={type:de.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(u,n);break}switch(r.type){case de.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(tn`[UniversalStore::${this.id}::${this.environment??de.Environment.UNKNOWN}]
|
|
20
|
-
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){de.preparation.reject(new Error("reset")),de.setupPreparationPromise(),de.isInternalConstructing=!1}};Q($r,"UniversalStore"),$r.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},$r.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},$r.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"},$r.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},$r.isInternalConstructing=!1,$r.setupPreparationPromise();var lc=$r,mq=Q(e=>e.transports!==void 0,"isMulti"),gq=Q(()=>Math.random().toString(16).slice(2),"generateRandomId"),M0=class{constructor(t={}){this.sender=gq(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,mq(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(M0,"Channel");var k0=M0,bq=Object.create,I0=Object.defineProperty,yq=Object.getOwnPropertyDescriptor,N0=Object.getOwnPropertyNames,vq=Object.getPrototypeOf,wq=Object.prototype.hasOwnProperty,me=Q((e,t)=>Q(function(){return t||(0,e[N0(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),Eq=Q((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of N0(t))!wq.call(e,o)&&o!==r&&I0(e,o,{get:Q(()=>t[o],"get"),enumerable:!(n=yq(t,o))||n.enumerable});return e},"__copyProps"),pf=Q((e,t,r)=>(r=e!=null?bq(vq(e)):{},Eq(t||!e||!e.__esModule?I0(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),Cq=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],xq=["detail"];function D0(e){let t=Cq.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of xq.filter(n=>e[n]!==void 0))t[r]=e[r];return t}Q(D0,"extractEventHiddenProperties");var F0=me({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),Sq=me({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),Aq=me({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),Pq=me({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),Oq=me({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),_q=me({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),ff=me({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),Tq=me({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),$q=me({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),Rq=me({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),jq=me({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),qq=me({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),Mq=me({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),kq=me({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),Iq=me({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||Q(function(r){return r!==r},"isNaN2")}}),Nq=me({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=Iq();t.exports=Q(function(n){return r(n)||n===0?n:n<0?-1:1},"sign")}}),Dq=me({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),hf=me({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=Dq();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),Fq=me({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}}),L0=me({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){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")}}),B0=me({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=L0();t.exports=Q(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),H0=me({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),U0=me({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=F0();t.exports=r.getPrototypeOf||null}}),Lq=me({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,a="[object Function]",i=Q(function(u,d){for(var p=[],h=0;h<u.length;h+=1)p[h]=u[h];for(var f=0;f<d.length;f+=1)p[f+u.length]=d[f];return p},"concatty2"),s=Q(function(u,d){for(var p=[],h=d||0,f=0;h<u.length;h+=1,f+=1)p[f]=u[h];return p},"slicy2"),c=Q(function(u,d){for(var p="",h=0;h<u.length;h+=1)p+=u[h],h+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),h,f=Q(function(){if(this instanceof h){var v=d.apply(this,i(p,arguments));return Object(v)===v?v:this}return d.apply(u,i(p,arguments))},"binder"),m=o(0,d.length-p.length),g=[],y=0;y<m;y++)g[y]="$"+y;if(h=Function("binder","return function ("+c(g,",")+"){ return binder.apply(this,arguments); }")(f),d.prototype){var b=Q(function(){},"Empty2");b.prototype=d.prototype,h.prototype=new b,b.prototype=null}return h},"bind")}}),Ks=me({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=Lq();t.exports=Function.prototype.bind||r}}),mf=me({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),V0=me({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),Bq=me({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),Hq=me({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=Ks(),n=V0(),o=mf(),a=Bq();t.exports=a||r.call(o,n)}}),z0=me({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=Ks(),n=ff(),o=mf(),a=Hq();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")}}),Uq=me({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=z0(),n=hf(),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}}),Vq=me({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=H0(),n=U0(),o=Uq();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}}),W0=me({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=Ks();t.exports=o.call(r,n)}}),zq=me({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=F0(),o=Sq(),a=Aq(),i=Pq(),s=Oq(),c=_q(),u=ff(),d=Tq(),p=$q(),h=Rq(),f=jq(),m=qq(),g=Mq(),y=kq(),b=Nq(),v=Function,S=Q(function(B){try{return v('"use strict"; return ('+B+").constructor;")()}catch{}},"getEvalledConstructor"),x=hf(),P=Fq(),C=Q(function(){throw new u},"throwTypeError"),w=x?function(){try{return arguments.callee,C}catch{try{return x(arguments,"callee").get}catch{return C}}}():C,E=B0()(),A=Vq(),k=U0(),j=H0(),L=V0(),F=mf(),T={},R=typeof Uint8Array>"u"||!A?r:A(Uint8Array),N={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":E&&A?A([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":T,"%AsyncGenerator%":T,"%AsyncGeneratorFunction%":T,"%AsyncIteratorPrototype%":T,"%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%":v,"%GeneratorFunction%":T,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":E&&A?A(A([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!E||!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"||!E||!A?r:A(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&A?A(""[Symbol.iterator]()):r,"%Symbol%":E?Symbol:r,"%SyntaxError%":c,"%ThrowTypeError%":w,"%TypedArray%":R,"%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%":F,"%Function.prototype.apply%":L,"%Object.defineProperty%":P,"%Object.getPrototypeOf%":k,"%Math.abs%":p,"%Math.floor%":h,"%Math.max%":f,"%Math.min%":m,"%Math.pow%":g,"%Math.round%":y,"%Math.sign%":b,"%Reflect.getPrototypeOf%":j};if(A)try{null.error}catch(B){W=A(A(B)),N["%Error.prototype%"]=W}var W,K=Q(function B(X){var ne;if(X==="%AsyncFunction%")ne=S("async function () {}");else if(X==="%GeneratorFunction%")ne=S("function* () {}");else if(X==="%AsyncGeneratorFunction%")ne=S("async function* () {}");else if(X==="%AsyncGenerator%"){var V=B("%AsyncGeneratorFunction%");V&&(ne=V.prototype)}else if(X==="%AsyncIteratorPrototype%"){var se=B("%AsyncGenerator%");se&&A&&(ne=A(se.prototype))}return N[X]=ne,ne},"doEval2"),ee={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},re=Ks(),oe=W0(),Y=re.call(F,Array.prototype.concat),G=re.call(L,Array.prototype.splice),J=re.call(F,String.prototype.replace),te=re.call(F,String.prototype.slice),Z=re.call(F,RegExp.prototype.exec),ie=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,le=/\\(\\)?/g,ye=Q(function(B){var X=te(B,0,1),ne=te(B,-1);if(X==="%"&&ne!=="%")throw new c("invalid intrinsic syntax, expected closing `%`");if(ne==="%"&&X!=="%")throw new c("invalid intrinsic syntax, expected opening `%`");var V=[];return J(B,ie,function(se,ue,ce,Te){V[V.length]=ce?J(Te,le,"$1"):ue||se}),V},"stringToPath3"),Ae=Q(function(B,X){var ne=B,V;if(oe(ee,ne)&&(V=ee[ne],ne="%"+V[0]+"%"),oe(N,ne)){var se=N[ne];if(se===T&&(se=K(ne)),typeof se>"u"&&!X)throw new u("intrinsic "+B+" exists, but is not available. Please file an issue!");return{alias:V,name:ne,value:se}}throw new c("intrinsic "+B+" does not exist!")},"getBaseIntrinsic2");t.exports=Q(function(B,X){if(typeof B!="string"||B.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof X!="boolean")throw new u('"allowMissing" argument must be a boolean');if(Z(/^%?[^%]*%?$/,B)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ne=ye(B),V=ne.length>0?ne[0]:"",se=Ae("%"+V+"%",X),ue=se.name,ce=se.value,Te=!1,Ze=se.alias;Ze&&(V=Ze[0],G(ne,Y([0,1],Ze)));for(var Ut=1,ar=!0;Ut<ne.length;Ut+=1){var ht=ne[Ut],Pr=te(ht,0,1),Or=te(ht,-1);if((Pr==='"'||Pr==="'"||Pr==="`"||Or==='"'||Or==="'"||Or==="`")&&Pr!==Or)throw new c("property names with quotes must have matching quotes");if((ht==="constructor"||!ar)&&(Te=!0),V+="."+ht,ue="%"+V+"%",oe(N,ue))ce=N[ue];else if(ce!=null){if(!(ht in ce)){if(!X)throw new u("base intrinsic for "+B+" exists, but the property is not available.");return}if(x&&Ut+1>=ne.length){var _r=x(ce,ht);ar=!!_r,ar&&"get"in _r&&!("originalValue"in _r.get)?ce=_r.get:ce=ce[ht]}else ar=oe(ce,ht),ce=ce[ht];ar&&!Te&&(N[ue]=ce)}}return ce},"GetIntrinsic")}}),gf=me({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=zq(),n=z0(),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")}}),Wq=me({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=L0();t.exports=Q(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),G0=me({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=gf(),n=Wq()(),o=W0(),a=hf(),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(f){if(!f||typeof f!="object")return!1;var m=a(f,"lastIndex"),g=m&&o(m,"value");if(!g)return!1;try{s(f,d)}catch(y){return y===c}},"isRegex")):(p=r("Object.prototype.toString"),h="[object RegExp]",i=Q(function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:p(f)===h},"isRegex"));var s,c,u,d,p,h;t.exports=i}}),Gq=me({"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")}}),Kq=me({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=gf(),n=G0(),o=r("RegExp.prototype.exec"),a=ff();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")}}),Yq=me({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=gf(),n=r("Object.prototype.toString"),o=B0()(),a=Kq();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{return!1}},"isSymbol3")):t.exports=Q(function(u){return!1},"isSymbol3");var i,s,c}}),Xq=pf(G0()),Jq=pf(Gq()),Zq=pf(Yq());function K0(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}Q(K0,"isObject");var Qq=typeof global=="object"&&global&&global.Object===Object&&global,eM=Qq,tM=typeof self=="object"&&self&&self.Object===Object&&self,rM=eM||tM||Function("return this")(),bf=rM,nM=bf.Symbol,ao=nM,Y0=Object.prototype,oM=Y0.hasOwnProperty,aM=Y0.toString,Go=ao?ao.toStringTag:void 0;function X0(e){var t=oM.call(e,Go),r=e[Go];try{e[Go]=void 0;var n=!0}catch{}var o=aM.call(e);return n&&(t?e[Go]=r:delete e[Go]),o}Q(X0,"getRawTag");var iM=X0,sM=Object.prototype,lM=sM.toString;function J0(e){return lM.call(e)}Q(J0,"objectToString");var uM=J0,cM="[object Null]",dM="[object Undefined]",qb=ao?ao.toStringTag:void 0;function Z0(e){return e==null?e===void 0?dM:cM:qb&&qb in Object(e)?iM(e):uM(e)}Q(Z0,"baseGetTag");var Q0=Z0;function e2(e){return e!=null&&typeof e=="object"}Q(e2,"isObjectLike");var pM=e2,fM="[object Symbol]";function t2(e){return typeof e=="symbol"||pM(e)&&Q0(e)==fM}Q(t2,"isSymbol");var yf=t2;function r2(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(r2,"arrayMap");var hM=r2,mM=Array.isArray,vf=mM,Mb=ao?ao.prototype:void 0,kb=Mb?Mb.toString:void 0;function wf(e){if(typeof e=="string")return e;if(vf(e))return hM(e,wf)+"";if(yf(e))return kb?kb.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}Q(wf,"baseToString");var gM=wf;function n2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Q(n2,"isObject2");var o2=n2,bM="[object AsyncFunction]",yM="[object Function]",vM="[object GeneratorFunction]",wM="[object Proxy]";function a2(e){if(!o2(e))return!1;var t=Q0(e);return t==yM||t==vM||t==bM||t==wM}Q(a2,"isFunction");var EM=a2,CM=bf["__core-js_shared__"],uc=CM,Ib=function(){var e=/[^.]+$/.exec(uc&&uc.keys&&uc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function i2(e){return!!Ib&&Ib in e}Q(i2,"isMasked");var xM=i2,SM=Function.prototype,AM=SM.toString;function s2(e){if(e!=null){try{return AM.call(e)}catch{}try{return e+""}catch{}}return""}Q(s2,"toSource");var PM=s2,OM=/[\\^$.*+?()[\]{}|]/g,_M=/^\[object .+?Constructor\]$/,TM=Function.prototype,$M=Object.prototype,RM=TM.toString,jM=$M.hasOwnProperty,qM=RegExp("^"+RM.call(jM).replace(OM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l2(e){if(!o2(e)||xM(e))return!1;var t=EM(e)?qM:_M;return t.test(PM(e))}Q(l2,"baseIsNative");var MM=l2;function u2(e,t){return e==null?void 0:e[t]}Q(u2,"getValue");var kM=u2;function c2(e,t){var r=kM(e,t);return MM(r)?r:void 0}Q(c2,"getNative");var d2=c2;function p2(e,t){return e===t||e!==e&&t!==t}Q(p2,"eq");var IM=p2,NM=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,DM=/^\w*$/;function f2(e,t){if(vf(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||yf(e)?!0:DM.test(e)||!NM.test(e)||t!=null&&e in Object(t)}Q(f2,"isKey");var FM=f2,LM=d2(Object,"create"),Aa=LM;function h2(){this.__data__=Aa?Aa(null):{},this.size=0}Q(h2,"hashClear");var BM=h2;function m2(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Q(m2,"hashDelete");var HM=m2,UM="__lodash_hash_undefined__",VM=Object.prototype,zM=VM.hasOwnProperty;function g2(e){var t=this.__data__;if(Aa){var r=t[e];return r===UM?void 0:r}return zM.call(t,e)?t[e]:void 0}Q(g2,"hashGet");var WM=g2,GM=Object.prototype,KM=GM.hasOwnProperty;function b2(e){var t=this.__data__;return Aa?t[e]!==void 0:KM.call(t,e)}Q(b2,"hashHas");var YM=b2,XM="__lodash_hash_undefined__";function y2(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Aa&&t===void 0?XM:t,this}Q(y2,"hashSet");var JM=y2;function On(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(On,"Hash");On.prototype.clear=BM;On.prototype.delete=HM;On.prototype.get=WM;On.prototype.has=YM;On.prototype.set=JM;var Nb=On;function v2(){this.__data__=[],this.size=0}Q(v2,"listCacheClear");var ZM=v2;function w2(e,t){for(var r=e.length;r--;)if(IM(e[r][0],t))return r;return-1}Q(w2,"assocIndexOf");var Ys=w2,QM=Array.prototype,e5=QM.splice;function E2(e){var t=this.__data__,r=Ys(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():e5.call(t,r,1),--this.size,!0}Q(E2,"listCacheDelete");var t5=E2;function C2(e){var t=this.__data__,r=Ys(t,e);return r<0?void 0:t[r][1]}Q(C2,"listCacheGet");var r5=C2;function x2(e){return Ys(this.__data__,e)>-1}Q(x2,"listCacheHas");var n5=x2;function S2(e,t){var r=this.__data__,n=Ys(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}Q(S2,"listCacheSet");var o5=S2;function _n(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(_n,"ListCache");_n.prototype.clear=ZM;_n.prototype.delete=t5;_n.prototype.get=r5;_n.prototype.has=n5;_n.prototype.set=o5;var a5=_n,i5=d2(bf,"Map"),s5=i5;function A2(){this.size=0,this.__data__={hash:new Nb,map:new(s5||a5),string:new Nb}}Q(A2,"mapCacheClear");var l5=A2;function P2(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}Q(P2,"isKeyable");var u5=P2;function O2(e,t){var r=e.__data__;return u5(t)?r[typeof t=="string"?"string":"hash"]:r.map}Q(O2,"getMapData");var Xs=O2;function _2(e){var t=Xs(this,e).delete(e);return this.size-=t?1:0,t}Q(_2,"mapCacheDelete");var c5=_2;function T2(e){return Xs(this,e).get(e)}Q(T2,"mapCacheGet");var d5=T2;function $2(e){return Xs(this,e).has(e)}Q($2,"mapCacheHas");var p5=$2;function R2(e,t){var r=Xs(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}Q(R2,"mapCacheSet");var f5=R2;function Tn(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(Tn,"MapCache");Tn.prototype.clear=l5;Tn.prototype.delete=c5;Tn.prototype.get=d5;Tn.prototype.has=p5;Tn.prototype.set=f5;var j2=Tn,h5="Expected a function";function Js(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(h5);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(Js.Cache||j2),r}Q(Js,"memoize");Js.Cache=j2;var m5=Js,g5=500;function q2(e){var t=m5(e,function(n){return r.size===g5&&r.clear(),n}),r=t.cache;return t}Q(q2,"memoizeCapped");var b5=q2,y5=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,v5=/\\(\\)?/g,w5=b5(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(y5,function(r,n,o,a){t.push(o?a.replace(v5,"$1"):n||r)}),t}),E5=w5;function M2(e){return e==null?"":gM(e)}Q(M2,"toString");var C5=M2;function k2(e,t){return vf(e)?e:FM(e,t)?[e]:E5(C5(e))}Q(k2,"castPath");var x5=k2;function I2(e){if(typeof e=="string"||yf(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}Q(I2,"toKey");var S5=I2;function N2(e,t){t=x5(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[S5(t[r++])];return r&&r==n?e:void 0}Q(N2,"baseGet");var A5=N2;function D2(e,t,r){var n=e==null?void 0:A5(e,t);return n===void 0?r:n}Q(D2,"get");var P5=D2,Ef=K0,O5=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Cf=Q(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function xf(e){if(!Ef(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=D0(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}Q(xf,"convertUnconventionalData");var _5=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 O5.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,Xq.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,Jq.default)(i))return;if((0,Zq.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((h,f)=>{try{h[f]=i[f]}catch{}return h},{})};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:xf(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{return}},"replace")},"replacer2"),T5=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=Cf(s)?JSON.parse(s):s.split(".");c.length===0?i[a]=r:i[a]=P5(r,c)})),n==="_constructor-name_")return o;if(Ef(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"),F2={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},L2=Q((e,t={})=>{let r={...F2,...t};return JSON.stringify(xf(e),_5(r),t.space)},"stringify"),$5=Q(()=>{let e=new Map;return Q(function t(r){Ef(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"),B2=Q((e,t={})=>{let r={...F2,...t},n=JSON.parse(e,T5(r));return $5()(n),n},"parse"),Db="Invariant failed";function zi(e,t){if(!e){var r=typeof t=="function"?t():t,n=r?"".concat(Db,": ").concat(r):Db;throw new Error(n)}}Q(zi,"invariant");var R5=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{}try{return a.contentWindow===e.source}catch{}let i=a.getAttribute("src"),s;try{if(!i)return!1;({origin:s}=new URL(i,document.location.toString()))}catch{return!1}return s===e.origin}),o=r==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&&Me.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:cc,location:Ko}=ae,Fb="storybook-channel",j5={maxDepth:25},H2=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof(ae==null?void 0:ae.addEventListener)=="function"&&ae.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(([y,b])=>typeof b<"u")),h={...j5,...ae.CHANNEL_OPTIONS||{},...p},f=this.getFrames(n),m=new URLSearchParams((Ko==null?void 0:Ko.search)||""),g=L2({key:Fb,event:t,refId:m.get("refId")},h);return f.length?(this.buffer.length&&this.flush(),f.forEach(y=>{try{y.postMessage(g,"*")}catch{Me.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((y,b)=>{this.buffer.push({event:t,resolve:y,reject:b})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(cc.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return ae&&ae.parent&&ae.parent!==ae.self?[ae.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(cc.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):ae&&ae.parent?[ae.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(cc.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):ae&&ae.parent?[ae.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:o,refId:a}=typeof r=="string"&&Cf(r)?B2(r,ae.CHANNEL_OPTIONS||{}):r;if(n===Fb){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(pq).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:R5(t),!o.source){$t.error(`${i} received ${s} but was unable to determine the source of the event`);return}let c=`${i} received ${s} (${r.length})`;$t.debug(Ko.origin!==o.source?c:`${c} <span style="color: gray">(on ${Ko.origin} from ${o.source})</span>`,...o.args),zi(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){Me.error(r)}}};Q(H2,"PostMessageTransport");var q5=H2,{WebSocket:M5}=ae,k5=15e3,I5=5e3,U2=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new M5(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:o})=>{let a=typeof o=="string"&&Cf(o)?B2(o):o;zi(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=>{zi(this.handler,"WebsocketTransport handler should be set"),this.handler({type:g0,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")},k5+I5)}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=L2(t,{maxDepth:15,...ae.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};Q(U2,"WebsocketTransport");var N5=U2,{CONFIG_TYPE:D5}=ae;function F5({page:e,extraTransports:t=[]}){let r=[new q5({page:e}),...t];if(D5==="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 N5({url:s,onError:Q(()=>{},"onError"),page:e}))}let n=new k0({transports:r});return lc.__prepare(n,e==="manager"?lc.Environment.MANAGER:lc.Environment.PREVIEW),n}Q(F5,"createBrowserChannel");var L5=Object.defineProperty,De=(e,t)=>L5(e,"name",{value:t,configurable:!0});function Ke(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,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
21
|
-
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
22
|
-
`)})}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(`
|
|
23
|
-
`)&&(p=String(s).split(`
|
|
24
|
-
`).map(function(h,f){return f===0?h:""+d+h}).join(`
|
|
25
|
-
`)),i+=p+n[c+1]}),i}De(Ke,"dedent");function Uc({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}De(Uc,"parseErrorCode");var V2=class z2 extends Error{constructor(t){super(z2.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return Uc({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/${Uc({code:r,category:n})}`:typeof t=="string"?a=t:Array.isArray(t)&&(a=`
|
|
26
|
-
${t.map(i=>` - ${i}`).join(`
|
|
27
|
-
`)}`),`${o}${a!=null?`
|
|
28
|
-
|
|
29
|
-
More info: ${a}
|
|
30
|
-
`:""}`}};De(V2,"StorybookError");var Ve=V2,W2=class extends Ve{constructor(t){super({category:"PREVIEW_API",code:1,message:Ke`
|
|
31
|
-
Couldn't find story matching id '${t.storyId}' after HMR.
|
|
32
|
-
- Did you just rename a story?
|
|
33
|
-
- Did you remove it from your CSF file?
|
|
34
|
-
- Are you sure a story with the id '${t.storyId}' exists?
|
|
35
|
-
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
|
36
|
-
- Also check the browser console and terminal for potential error messages.`}),this.data=t}};De(W2,"MissingStoryAfterHmrError");var B5=W2,G2=class extends Ve{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:Ke`
|
|
37
|
-
We detected that you use an implicit action arg while ${t.phase} of your story.
|
|
38
|
-
${t.deprecated?`
|
|
39
|
-
This is deprecated and won't work in Storybook 8 anymore.
|
|
40
|
-
`:""}
|
|
41
|
-
Please provide an explicit spy to your args like this:
|
|
42
|
-
import { fn } from 'storybook/test';
|
|
43
|
-
...
|
|
44
|
-
args: {
|
|
45
|
-
${t.name}: fn()
|
|
46
|
-
}`}),this.data=t}};De(G2,"ImplicitActionsDuringRendering");var H5=G2,K2=class extends Ve{constructor(){super({category:"PREVIEW_API",code:3,message:Ke`
|
|
47
|
-
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
|
48
|
-
|
|
49
|
-
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};De(K2,"CalledExtractOnStoreError");var U5=K2,Y2=class extends Ve{constructor(){super({category:"PREVIEW_API",code:4,message:Ke`
|
|
50
|
-
Expected your framework's preset to export a \`renderToCanvas\` field.
|
|
51
|
-
|
|
52
|
-
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};De(Y2,"MissingRenderToCanvasError");var V5=Y2,X2=class extends Ve{constructor(t){super({category:"PREVIEW_API",code:5,message:Ke`
|
|
53
|
-
Called \`Preview.${t.methodName}()\` before initialization.
|
|
54
|
-
|
|
55
|
-
The preview needs to load the story index before most methods can be called. If you want
|
|
56
|
-
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
|
|
57
|
-
|
|
58
|
-
If you didn't call the above code, then likely it was called by an addon that needs to
|
|
59
|
-
do the above.`}),this.data=t}};De(X2,"CalledPreviewMethodBeforeInitializationError");var Pt=X2,J2=class extends Ve{constructor(t){super({category:"PREVIEW_API",code:6,message:Ke`
|
|
60
|
-
Error fetching \`/index.json\`:
|
|
61
|
-
|
|
62
|
-
${t.text}
|
|
63
|
-
|
|
64
|
-
If you are in development, this likely indicates a problem with your Storybook process,
|
|
65
|
-
check the terminal for errors.
|
|
66
|
-
|
|
67
|
-
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
|
68
|
-
build.`}),this.data=t}};De(J2,"StoryIndexFetchError");var z5=J2,Z2=class extends Ve{constructor(t){super({category:"PREVIEW_API",code:7,message:Ke`
|
|
69
|
-
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
|
|
70
|
-
references, or autodocs for a CSF file that some doesn't refer to itself.
|
|
71
|
-
|
|
72
|
-
This likely is an internal error in Storybook's indexing, or you've attached the
|
|
73
|
-
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};De(Z2,"MdxFileWithNoCsfReferencesError");var W5=Z2,Q2=class extends Ve{constructor(){super({category:"PREVIEW_API",code:8,message:Ke`
|
|
74
|
-
Couldn't find any stories in your Storybook.
|
|
75
|
-
|
|
76
|
-
- Please check your stories field of your main.js config: does it match correctly?
|
|
77
|
-
- Also check the browser console and terminal for error messages.`})}};De(Q2,"EmptyIndexError");var G5=Q2,e1=class extends Ve{constructor(t){super({category:"PREVIEW_API",code:9,message:Ke`
|
|
78
|
-
Couldn't find story matching '${t.storySpecifier}'.
|
|
79
|
-
|
|
80
|
-
- Are you sure a story with that id exists?
|
|
81
|
-
- Please check your stories field of your main.js config.
|
|
82
|
-
- Also check the browser console and terminal for error messages.`}),this.data=t}};De(e1,"NoStoryMatchError");var K5=e1,t1=class extends Ve{constructor(t){super({category:"PREVIEW_API",code:10,message:Ke`
|
|
83
|
-
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
|
|
84
|
-
|
|
85
|
-
The file was indexed as if the story was there, but then after importing the file in the browser
|
|
86
|
-
we didn't find the story. Possible reasons:
|
|
87
|
-
- You are using a custom story indexer that is misbehaving.
|
|
88
|
-
- You have a custom file loader that is removing or renaming exports.
|
|
89
|
-
|
|
90
|
-
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};De(t1,"MissingStoryFromCsfFileError");var Y5=t1,r1=class extends Ve{constructor(){super({category:"PREVIEW_API",code:11,message:Ke`
|
|
91
|
-
Cannot access the Story Store until the index is ready.
|
|
92
|
-
|
|
93
|
-
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
|
94
|
-
remove access to the store entirely`})}};De(r1,"StoryStoreAccessedBeforeInitializationError");var X5=r1,n1=class extends Ve{constructor(t){super({category:"PREVIEW_API",code:12,message:Ke`
|
|
95
|
-
Incorrect use of mount in the play function.
|
|
96
|
-
|
|
97
|
-
To use mount in the play function, you must satisfy the following two requirements:
|
|
98
|
-
|
|
99
|
-
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
|
100
|
-
This makes sure that Storybook does not start rendering the story before the play function begins.
|
|
101
|
-
|
|
102
|
-
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
|
103
|
-
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
|
104
|
-
which prevents Storybook from recognizing your usage of \`mount\`.
|
|
105
|
-
|
|
106
|
-
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
|
107
|
-
|
|
108
|
-
More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
|
|
109
|
-
|
|
110
|
-
Received the following play function:
|
|
111
|
-
${t.playFunction}`}),this.data=t}};De(n1,"MountMustBeDestructuredError");var o1=n1,a1=class extends Ve{constructor(t){super({category:"PREVIEW_API",code:14,message:Ke`
|
|
112
|
-
No render function available for storyId '${t.id}'
|
|
113
|
-
`}),this.data=t}};De(a1,"NoRenderFunctionError");var J5=a1,i1=class extends Ve{constructor(){super({category:"PREVIEW_API",code:15,message:Ke`
|
|
114
|
-
No component is mounted in your story.
|
|
115
|
-
|
|
116
|
-
This usually occurs when you destructure mount in the play function, but forget to call it.
|
|
117
|
-
|
|
118
|
-
For example:
|
|
119
|
-
|
|
120
|
-
async play({ mount, canvasElement }) {
|
|
121
|
-
// 👈 mount should be called: await mount();
|
|
122
|
-
const canvas = within(canvasElement);
|
|
123
|
-
const button = await canvas.findByRole('button');
|
|
124
|
-
await userEvent.click(button);
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
Make sure to either remove it or call mount in your play function.
|
|
128
|
-
`})}};De(i1,"NoStoryMountedError");var Z5=i1,Q5=class extends Ve{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}};De(Q5,"StatusTypeIdMismatchError");var ek=class extends Ve{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:Ke`
|
|
129
|
-
You are importing avif images, but you don't have sharp installed.
|
|
130
|
-
|
|
131
|
-
You have to install sharp in order to use image optimization features in Next.js.
|
|
132
|
-
`})}};De(ek,"NextJsSharpError");var tk=class extends Ve{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:Ke`
|
|
133
|
-
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
|
134
|
-
`}),this.data=t}};De(tk,"NextjsRouterMocksNotAvailable");var rk=class extends Ve{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:Ke`
|
|
135
|
-
There was a failure when generating detailed ArgTypes in ${t.language} for:
|
|
136
|
-
${JSON.stringify(t.type,null,2)}
|
|
137
|
-
|
|
138
|
-
Storybook will fall back to use a generic type description instead.
|
|
139
|
-
|
|
140
|
-
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
|
141
|
-
If you think this is a bug, please detail it as much as possible in the Github issue.
|
|
142
|
-
`}),this.data=t}};De(rk,"UnknownArgTypesError");var nk=class extends Ve{constructor(t){super({category:"ADDON_VITEST",code:1,message:Ke`
|
|
143
|
-
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
|
|
144
|
-
|
|
145
|
-
The Storybook plugin only supports values in the following units:
|
|
146
|
-
- px, vh, vw, em, rem and %.
|
|
147
|
-
|
|
148
|
-
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
|
|
149
|
-
`}),this.data=t}};De(nk,"UnsupportedViewportDimensionError");var ok=class extends Ve{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.'})}};De(ok,"ElementA11yParameterError");var ak=Object.defineProperty,I=(e,t)=>ak(e,"name",{value:t,configurable:!0}),ik=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),sk=ik(()=>{}),lk={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]},uk=Object.entries(lk);function Zs(e){return String(e)}I(Zs,"a");Zs.open="";Zs.close="";function s1(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(s1,"C");function l1(e=!1){let t=s1(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),h=p.indexOf(s,i.length);return~h?i+r(p,s,c,h)+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 uk)o[i]=t?n(a(s[0]),a(s[1]),s[2]):Zs;return o}I(l1,"p");var hr=l1();function Sf(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(Sf,"_mergeNamespaces");function u1(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(u1,"getKeysOfEnumerableProperties");function To(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+="…";break}let p=a(u.value[0],t,d,n,o),h=a(u.value[1],t,d,n,o);s+=p+i+h,u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}I(To,"printIteratorEntries");function Qs(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+="…";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(Qs,"printIteratorValues");function Pa(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+="…";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(Pa,"printListItems");function el(e,t,r,n,o,a){let i="",s=u1(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),h=a(e[d],t,c,n,o);i+=`${c+p}: ${h}`,u<s.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}I(el,"printObjectProperties");var ck=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,dc=" ",dk=I((e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+dc}[${Pa(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+dc}{${el(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+dc+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"),pk=I(e=>e&&e.$$typeof===ck,"test$5"),fk={serialize:dk,test:pk},hk=" ",c1=new Set(["DOMStringMap","NamedNodeMap"]),mk=/^(?:HTML\w*Collection|NodeList)$/;function d1(e){return c1.has(e)||mk.test(e)}I(d1,"testName");var gk=I(e=>e&&e.constructor&&!!e.constructor.name&&d1(e.constructor.name),"test$4");function p1(e){return e.constructor.name==="NamedNodeMap"}I(p1,"isNamedNodeMap");var bk=I((e,t,r,n,o,a)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+hk)+(c1.has(i)?`{${el(p1(e)?[...e].reduce((s,c)=>(s[c.name]=c.value,s),{}):{...e},t,r,n,o,a)}}`:`[${Pa([...e],t,r,n,o,a)}]`)},"serialize$4"),yk={serialize:bk,test:gk};function Af(e){return e.replaceAll("<","<").replaceAll(">",">")}I(Af,"escapeHTML");function tl(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(`
|
|
150
|
-
`)&&(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(tl,"printProps");function rl(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?Pf(i,t):a(i,t,r,n,o))).join("")}I(rl,"printChildren");function Pf(e,t){let r=t.colors.content;return r.open+Af(e)+r.close}I(Pf,"printText");function f1(e,t){let r=t.colors.comment;return`${r.open}<!--${Af(e)}-->${r.close}`}I(f1,"printComment");function nl(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(nl,"printElement");function ol(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}I(ol,"printElementAsLeaf");var vk=1,h1=3,m1=8,g1=11,wk=/^(?:(?:HTML|SVG)\w*)?Element$/;function b1(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}I(b1,"testHasAttribute");function y1(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||b1(e);return r===vk&&(wk.test(t)||o)||r===h1&&t==="Text"||r===m1&&t==="Comment"||r===g1&&t==="DocumentFragment"}I(y1,"testNode");var Ek=I(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&y1(e)},"test$3");function v1(e){return e.nodeType===h1}I(v1,"nodeIsText");function w1(e){return e.nodeType===m1}I(w1,"nodeIsComment");function Oi(e){return e.nodeType===g1}I(Oi,"nodeIsFragment");var Ck=I((e,t,r,n,o,a)=>{if(v1(e))return Pf(e.data,t);if(w1(e))return f1(e.data,t);let i=Oi(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?ol(i,t):nl(i,tl(Oi(e)?[]:Array.from(e.attributes,s=>s.name).sort(),Oi(e)?{}:[...e.attributes].reduce((s,c)=>(s[c.name]=c.value,s),{}),t,r+t.indent,n,o,a),rl(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},"serialize$3"),xk={serialize:Ck,test:Ek},Sk="@@__IMMUTABLE_ITERABLE__@@",Ak="@@__IMMUTABLE_LIST__@@",Pk="@@__IMMUTABLE_KEYED__@@",Ok="@@__IMMUTABLE_MAP__@@",Lb="@@__IMMUTABLE_ORDERED__@@",_k="@@__IMMUTABLE_RECORD__@@",Tk="@@__IMMUTABLE_SEQ__@@",$k="@@__IMMUTABLE_SET__@@",Rk="@@__IMMUTABLE_STACK__@@",io=I(e=>`Immutable.${e}`,"getImmutableName"),al=I(e=>`[${e}]`,"printAsLeaf"),Oa=" ",Bb="…";function E1(e,t,r,n,o,a,i){return++n>t.maxDepth?al(io(i)):`${io(i)+Oa}{${To(e.entries(),t,r,n,o,a)}}`}I(E1,"printImmutableEntries");function C1(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(C1,"getRecordEntries");function x1(e,t,r,n,o,a){let i=io(e._name||"Record");return++n>t.maxDepth?al(i):`${i+Oa}{${To(C1(e),t,r,n,o,a)}}`}I(x1,"printImmutableRecord");function S1(e,t,r,n,o,a){let i=io("Seq");return++n>t.maxDepth?al(i):e[Pk]?`${i+Oa}{${e._iter||e._object?To(e.entries(),t,r,n,o,a):Bb}}`:`${i+Oa}[${e._iter||e._array||e._collection||e._iterable?Qs(e.values(),t,r,n,o,a):Bb}]`}I(S1,"printImmutableSeq");function _i(e,t,r,n,o,a,i){return++n>t.maxDepth?al(io(i)):`${io(i)+Oa}[${Qs(e.values(),t,r,n,o,a)}]`}I(_i,"printImmutableValues");var jk=I((e,t,r,n,o,a)=>e[Ok]?E1(e,t,r,n,o,a,e[Lb]?"OrderedMap":"Map"):e[Ak]?_i(e,t,r,n,o,a,"List"):e[$k]?_i(e,t,r,n,o,a,e[Lb]?"OrderedSet":"Set"):e[Rk]?_i(e,t,r,n,o,a,"Stack"):e[Tk]?S1(e,t,r,n,o,a):x1(e,t,r,n,o,a),"serialize$2"),qk=I(e=>e&&(e[Sk]===!0||e[_k]===!0),"test$2"),Mk={serialize:jk,test:qk};function Of(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}I(Of,"getDefaultExportFromCjs");var Hb={exports:{}},Pe={},Ub;function A1(){return Ub||(Ub=1,function(){function e(g){if(typeof g=="object"&&g!==null){var y=g.$$typeof;switch(y){case t:switch(g=g.type,g){case n:case a:case o:case u:case d:case f:return g;default:switch(g=g&&g.$$typeof,g){case s:case c:case h:case p:return g;case i:return g;default:return y}}case r:return y}}}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"),h=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");Pe.ContextConsumer=i,Pe.ContextProvider=s,Pe.Element=t,Pe.ForwardRef=c,Pe.Fragment=n,Pe.Lazy=h,Pe.Memo=p,Pe.Portal=r,Pe.Profiler=a,Pe.StrictMode=o,Pe.Suspense=u,Pe.SuspenseList=d,Pe.isContextConsumer=function(g){return e(g)===i},Pe.isContextProvider=function(g){return e(g)===s},Pe.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},Pe.isForwardRef=function(g){return e(g)===c},Pe.isFragment=function(g){return e(g)===n},Pe.isLazy=function(g){return e(g)===h},Pe.isMemo=function(g){return e(g)===p},Pe.isPortal=function(g){return e(g)===r},Pe.isProfiler=function(g){return e(g)===a},Pe.isStrictMode=function(g){return e(g)===o},Pe.isSuspense=function(g){return e(g)===u},Pe.isSuspenseList=function(g){return e(g)===d},Pe.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===a||g===o||g===u||g===d||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===p||g.$$typeof===s||g.$$typeof===i||g.$$typeof===c||g.$$typeof===m||g.getModuleId!==void 0)},Pe.typeOf=e}()),Pe}I(A1,"requireReactIs_development$1");var Vb;function P1(){return Vb||(Vb=1,Hb.exports=A1()),Hb.exports}I(P1,"requireReactIs$1");var O1=P1(),kk=Of(O1),Ik=Sf({__proto__:null,default:kk},[O1]),zb={exports:{}},Ce={},Wb;function _1(){return Wb||(Wb=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"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=!1,g=!1,y=!1,b=!1,v=!1,S;S=Symbol.for("react.module.reference");function x(V){return!!(typeof V=="string"||typeof V=="function"||V===r||V===o||v||V===n||V===u||V===d||b||V===f||m||g||y||typeof V=="object"&&V!==null&&(V.$$typeof===h||V.$$typeof===p||V.$$typeof===a||V.$$typeof===i||V.$$typeof===c||V.$$typeof===S||V.getModuleId!==void 0))}I(x,"isValidElementType");function P(V){if(typeof V=="object"&&V!==null){var se=V.$$typeof;switch(se){case e:var ue=V.type;switch(ue){case r:case o:case n:case u:case d:return ue;default:var ce=ue&&ue.$$typeof;switch(ce){case s:case i:case c:case h:case p:case a:return ce;default:return se}}case t:return se}}}I(P,"typeOf");var C=i,w=a,E=e,A=c,k=r,j=h,L=p,F=t,T=o,R=n,N=u,W=d,K=!1,ee=!1;function re(V){return K||(K=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}I(re,"isAsyncMode");function oe(V){return ee||(ee=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}I(oe,"isConcurrentMode");function Y(V){return P(V)===i}I(Y,"isContextConsumer");function G(V){return P(V)===a}I(G,"isContextProvider");function J(V){return typeof V=="object"&&V!==null&&V.$$typeof===e}I(J,"isElement");function te(V){return P(V)===c}I(te,"isForwardRef");function Z(V){return P(V)===r}I(Z,"isFragment");function ie(V){return P(V)===h}I(ie,"isLazy");function le(V){return P(V)===p}I(le,"isMemo");function ye(V){return P(V)===t}I(ye,"isPortal");function Ae(V){return P(V)===o}I(Ae,"isProfiler");function B(V){return P(V)===n}I(B,"isStrictMode");function X(V){return P(V)===u}I(X,"isSuspense");function ne(V){return P(V)===d}I(ne,"isSuspenseList"),Ce.ContextConsumer=C,Ce.ContextProvider=w,Ce.Element=E,Ce.ForwardRef=A,Ce.Fragment=k,Ce.Lazy=j,Ce.Memo=L,Ce.Portal=F,Ce.Profiler=T,Ce.StrictMode=R,Ce.Suspense=N,Ce.SuspenseList=W,Ce.isAsyncMode=re,Ce.isConcurrentMode=oe,Ce.isContextConsumer=Y,Ce.isContextProvider=G,Ce.isElement=J,Ce.isForwardRef=te,Ce.isFragment=Z,Ce.isLazy=ie,Ce.isMemo=le,Ce.isPortal=ye,Ce.isProfiler=Ae,Ce.isStrictMode=B,Ce.isSuspense=X,Ce.isSuspenseList=ne,Ce.isValidElementType=x,Ce.typeOf=P}()),Ce}I(_1,"requireReactIs_development");var Gb;function T1(){return Gb||(Gb=1,zb.exports=_1()),zb.exports}I(T1,"requireReactIs");var $1=T1(),Nk=Of($1),Dk=Sf({__proto__:null,default:Nk},[$1]),Fk=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],rn=Object.fromEntries(Fk.map(e=>[e,t=>Dk[e](t)||Ik[e](t)]));function _f(e,t=[]){if(Array.isArray(e))for(let r of e)_f(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}I(_f,"getChildren");function Vc(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(rn.isFragment(e))return"React.Fragment";if(rn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(rn.isContextProvider(e))return"Context.Provider";if(rn.isContextConsumer(e))return"Context.Consumer";if(rn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(rn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}I(Vc,"getType");function R1(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}I(R1,"getPropKeys$1");var Lk=I((e,t,r,n,o,a)=>++n>t.maxDepth?ol(Vc(e),t):nl(Vc(e),tl(R1(e),e.props,t,r+t.indent,n,o,a),rl(_f(e.props.children),t,r+t.indent,n,o,a),t,r),"serialize$1"),Bk=I(e=>e!=null&&rn.isElement(e),"test$1"),Hk={serialize:Lk,test:Bk},Uk=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function j1(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}I(j1,"getPropKeys");var Vk=I((e,t,r,n,o,a)=>++n>t.maxDepth?ol(e.type,t):nl(e.type,e.props?tl(j1(e),e.props,t,r+t.indent,n,o,a):"",e.children?rl(e.children,t,r+t.indent,n,o,a):"",t,r),"serialize"),zk=I(e=>e&&e.$$typeof===Uk,"test"),Wk={serialize:Vk,test:zk},q1=Object.prototype.toString,Gk=Date.prototype.toISOString,Kk=Error.prototype.toString,Kb=RegExp.prototype.toString;function ua(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}I(ua,"getConstructorName");function M1(e){return typeof window<"u"&&e===window}I(M1,"isWindow");var Yk=/^Symbol\((.*)\)(.*)$/,Xk=/\n/g,k1=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};I(k1,"PrettyFormatPluginError");var I1=k1;function N1(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(N1,"isToStringedArrayType");function D1(e){return Object.is(e,-0)?"-0":String(e)}I(D1,"printNumber");function F1(e){return`${e}n`}I(F1,"printBigInt");function zc(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}I(zc,"printFunction");function Wc(e){return String(e).replace(Yk,"Symbol($1)")}I(Wc,"printSymbol");function Gc(e){return`[${Kk.call(e)}]`}I(Gc,"printError");function Tf(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 D1(e);if(o==="bigint")return F1(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return zc(e,t);if(o==="symbol")return Wc(e);let a=q1.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?zc(e,t):a==="[object Symbol]"?Wc(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Gk.call(e):a==="[object Error]"?Gc(e):a==="[object RegExp]"?r?Kb.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Kb.call(e):e instanceof Error?Gc(e):null}I(Tf,"printBasicValue");function $f(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 pr(e.toJSON(),t,r,n,o,!0);let c=q1.call(e);return c==="[object Arguments]"?i?"[Arguments]":`${s?"":"Arguments "}[${Pa(e,t,r,n,o,pr)}]`:N1(c)?i?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Pa(e,t,r,n,o,pr)}]`:c==="[object Map]"?i?"[Map]":`Map {${To(e.entries(),t,r,n,o,pr," => ")}}`:c==="[object Set]"?i?"[Set]":`Set {${Qs(e.values(),t,r,n,o,pr)}}`:i||M1(e)?`[${ua(e)}]`:`${s||!t.printBasicPrototype&&ua(e)==="Object"?"":`${ua(e)} `}{${el(e,t,r,n,o,pr)}}`}I($f,"printComplexValue");var Jk={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:ua(e);return i?`[${p}]`:`${p} {${To(Object.entries(d).values(),t,r,n,o,a)}}`}};function L1(e){return e.serialize!=null}I(L1,"isNewPlugin");function Rf(e,t,r,n,o,a){let i;try{i=L1(e)?e.serialize(t,r,n,o,a,pr):e.print(t,s=>pr(s,r,n,o,a),s=>{let c=n+r.indent;return c+s.replaceAll(Xk,`
|
|
151
|
-
${c}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new I1(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(Rf,"printPlugin");function jf(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new I1(n.message,n.stack)}return null}I(jf,"findPlugin");function pr(e,t,r,n,o,a){let i=jf(t.plugins,e);if(i!==null)return Rf(i,e,t,r,n,o);let s=Tf(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:$f(e,t,r,n,o,a)}I(pr,"printer");var qf={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},B1=Object.keys(qf),kt={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:qf};function H1(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(kt,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(H1,"validateOptions");function U1(){return B1.reduce((e,t)=>{let r=qf[t],n=r&&hr[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(U1,"getColorsHighlight");function V1(){return B1.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}I(V1,"getColorsEmpty");function Mf(e){return(e==null?void 0:e.printFunctionName)??kt.printFunctionName}I(Mf,"getPrintFunctionName");function kf(e){return(e==null?void 0:e.escapeRegex)??kt.escapeRegex}I(kf,"getEscapeRegex");function If(e){return(e==null?void 0:e.escapeString)??kt.escapeString}I(If,"getEscapeString");function Kc(e){return{callToJSON:(e==null?void 0:e.callToJSON)??kt.callToJSON,colors:e!=null&&e.highlight?U1():V1(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:kt.compareKeys,escapeRegex:kf(e),escapeString:If(e),indent:e!=null&&e.min?"":z1((e==null?void 0:e.indent)??kt.indent),maxDepth:(e==null?void 0:e.maxDepth)??kt.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??kt.maxWidth,min:(e==null?void 0:e.min)??kt.min,plugins:(e==null?void 0:e.plugins)??kt.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Mf(e),spacingInner:e!=null&&e.min?" ":`
|
|
152
|
-
`,spacingOuter:e!=null&&e.min?"":`
|
|
153
|
-
`}}I(Kc,"getConfig");function z1(e){return Array.from({length:e+1}).join(" ")}I(z1,"createIndent");function Dt(e,t){if(t&&(H1(t),t.plugins)){let n=jf(t.plugins,e);if(n!==null)return Rf(n,e,Kc(t),"",0,[])}let r=Tf(e,Mf(t),kf(t),If(t));return r!==null?r:$f(e,Kc(t),"",0,[])}I(Dt,"format");var Nf={AsymmetricMatcher:fk,DOMCollection:yk,DOMElement:xk,Immutable:Mk,ReactElement:Hk,ReactTestComponent:Wk,Error:Jk},Yb={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"]},Zk={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},so="…";function W1(e,t){let r=Yb[Zk[t]]||Yb[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}I(W1,"colorise");function G1({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=W1),p}I(G1,"normaliseOptions");function K1(e){return e>="\uD800"&&e<="\uDBFF"}I(K1,"isHighSurrogate");function Er(e,t,r=so){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&&K1(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}I(Er,"truncate");function Rt(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=`${so}(${e.length-u})`;let h=e[u];t.truncate=a-i.length-(d?0:n.length);let f=s||r(h,t)+(d?"":n),m=i.length+f.length,g=m+c.length;if(d&&m>a&&i.length+c.length<=a||!d&&!p&&g>a||(s=d?"":r(e[u+1],t)+(p?"":n),!d&&p&&g>a&&m+s.length>a))break;if(i+=f,!d&&!p&&m+s.length>=a){c=`${so}(${e.length-u-1})`;break}c=""}return`${i}${c}`}I(Rt,"inspectList");function Y1(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}I(Y1,"quoteComplexKey");function lo([e,t],r){return r.truncate-=2,typeof e=="string"?e=Y1(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}I(lo,"inspectProperty");function X1(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Rt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Rt(r.map(a=>[a,e[a]]),t,lo)),`[ ${n}${o?`, ${o}`:""} ]`}I(X1,"inspectArray");var Qk=I(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function zt(e,t){let r=Qk(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+=`${so}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=Rt(n.map(i=>[i,e[i]]),t,lo)),`${r}[ ${o}${a?`, ${a}`:""} ]`}I(zt,"inspectTypedArray");function J1(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Er(n[1],t.truncate-o.length-1)}`,"date")}I(J1,"inspectDate");function Yc(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")}I(Yc,"inspectFunction");function Z1([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}I(Z1,"inspectMapEntry");function Q1(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}I(Q1,"mapToEntries");function ew(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Rt(Q1(e),t,Z1)} }`)}I(ew,"inspectMap");var eI=Number.isNaN||(e=>e!==e);function Xc(e,t){return eI(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")}I(Xc,"inspectNumber");function Jc(e,t){let r=Er(e.toString(),t.truncate-1);return r!==so&&(r+="n"),t.stylize(r,"bigint")}I(Jc,"inspectBigInt");function tw(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")}I(tw,"inspectRegExp");function rw(e){let t=[];return e.forEach(r=>{t.push(r)}),t}I(rw,"arrayFromSet");function nw(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Rt(rw(e),t)} }`)}I(nw,"inspectSet");var Xb=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),tI={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},rI=16;function ow(e){return tI[e]||`\\u${`0000${e.charCodeAt(0).toString(rI)}`.slice(-4)}`}I(ow,"escape");function Zc(e,t){return Xb.test(e)&&(e=e.replace(Xb,ow)),t.stylize(`'${Er(e,t.truncate-2)}'`,"string")}I(Zc,"inspectString");function Qc(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}I(Qc,"inspectSymbol");var aw=I(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(aw=I((n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`},"getPromiseValue"))}catch{}var nI=aw;function ca(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Rt(r.map(s=>[s,e[s]]),t,lo),a=Rt(n.map(s=>[s,e[s]]),t,lo);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}I(ca,"inspectObject");var pc=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function iw(e,t){let r="";return pc&&pc in e&&(r=e[pc]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ca(e,t)}`}I(iw,"inspectClass");function sw(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Rt(e,t)} ]`)}I(sw,"inspectArguments");var oI=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function lw(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>oI.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=Rt(r.map(i=>[i,e[i]]),t,lo);return`${n}${o}${a?` { ${a} }`:""}`}I(lw,"inspectObject");function uw([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}I(uw,"inspectAttribute");function Wi(e,t){return Rt(e,t,Df,`
|
|
154
|
-
`)}I(Wi,"inspectHTMLCollection");function Df(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=Rt(r.map(d=>[d,e.getAttribute(d)]),t,uw," ")),t.truncate-=s.length;let c=t.truncate,u=Wi(e.children,t);return u&&u.length>c&&(u=`${so}(${e.children.length})`),`${o}${s}${a}${u}${i}`}I(Df,"inspectHTML");var aI=typeof Symbol=="function"&&typeof Symbol.for=="function",fc=aI?Symbol.for("chai/inspect"):"@@chai/inspect",zn=!1;try{let e=sk();zn=e.inspect?e.inspect.custom:!1}catch{zn=!1}var Jb=new WeakMap,Zb={},Qb={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:Xc,Number:Xc,bigint:Jc,BigInt:Jc,string:Zc,String:Zc,function:Yc,Function:Yc,symbol:Qc,Symbol:Qc,Array:X1,Date:J1,Map:ew,Set:nw,RegExp:tw,Promise:nI,WeakSet:I((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:I((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:sw,Int8Array:zt,Uint8Array:zt,Uint8ClampedArray:zt,Int16Array:zt,Uint16Array:zt,Int32Array:zt,Uint32Array:zt,Float32Array:zt,Float64Array:zt,Generator:I(()=>"","Generator"),DataView:I(()=>"","DataView"),ArrayBuffer:I(()=>"","ArrayBuffer"),Error:lw,HTMLCollection:Wi,NodeList:Wi},iI=I((e,t,r)=>fc in e&&typeof e[fc]=="function"?e[fc](t):zn&&zn in e&&typeof e[zn]=="function"?e[zn](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Jb.has(e.constructor)?Jb.get(e.constructor)(e,t):Zb[r]?Zb[r](e,t):"","inspectCustom"),sI=Object.prototype.toString;function Gi(e,t={}){let r=G1(t,Gi),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=sI.call(e).slice(8,-1)),o in Qb)return Qb[o](e,r);if(n&&e){let i=iI(e,r,o);if(i)return typeof i=="string"?i:Gi(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?ca(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Df(e,r):"constructor"in e?e.constructor!==Object?iw(e,r):ca(e,r):e===Object(e)?ca(e,r):r.stylize(String(e),o)}I(Gi,"inspect");var{AsymmetricMatcher:lI,DOMCollection:uI,DOMElement:cI,Immutable:dI,ReactElement:pI,ReactTestComponent:fI}=Nf,ey=[fI,pI,cI,uI,dI,lI];function uo(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,a;try{a=Dt(e,{maxDepth:t,escapeString:!1,plugins:ey,...n})}catch{a=Dt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:ey,...n})}return a.length>=o&&t>1?uo(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):a}I(uo,"stringify");var hI=/%[sdjifoOc%]/g;function cw(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push(Fn(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(hI,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():Fn(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 Fn(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Fn(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+=` ${Fn(a)}`;return o}I(cw,"format");function Fn(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Gi(e,t)}I(Fn,"inspect");function dw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}I(dw,"getDefaultExportFromCjs");function pw(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}I(pw,"isFinalObj");function Ki(e){return Object.prototype.toString.apply(e).slice(8,-1)}I(Ki,"getType");function fw(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}I(fw,"collectOwnProperties");function Ff(e){let t=new Set;return pw(e)?[]:(fw(e,t),Array.from(t))}I(Ff,"getOwnProperties");var hw={forceWritable:!1};function ed(e,t=hw){return Yi(e,new WeakMap,t)}I(ed,"deepClone");function Yi(e,t,r=hw){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]=Yi(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=Ff(e);for(let i of a){let s=Object.getOwnPropertyDescriptor(e,i);if(!s)continue;let c=Yi(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(Yi,"clone");var lt=-1,et=1,Le=0,mw=class{constructor(t,r){Fe(this,0);Fe(this,1);this[0]=t,this[1]=r}};I(mw,"Diff");var Ie=mw;function gw(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(gw,"diff_commonPrefix");function Lf(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(Lf,"diff_commonSuffix");function td(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(td,"diff_commonOverlap_");function bw(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]===et?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 Ie(lt,o)),e[r[n-1]+1][0]=et,n--,n--,a=n>0?r[n-1]:-1,i=0,s=0,c=0,u=0,o=null,t=!0)),a++;for(t&&Bf(e),yw(e),a=1;a<e.length;){if(e[a-1][0]===lt&&e[a][0]===et){let d=e[a-1][1],p=e[a][1],h=td(d,p),f=td(p,d);h>=f?(h>=d.length/2||h>=p.length/2)&&(e.splice(a,0,new Ie(Le,p.substring(0,h))),e[a-1][1]=d.substring(0,d.length-h),e[a+1][1]=p.substring(h),a++):(f>=d.length/2||f>=p.length/2)&&(e.splice(a,0,new Ie(Le,d.substring(0,f))),e[a-1][0]=et,e[a-1][1]=p.substring(0,p.length-f),e[a+1][0]=lt,e[a+1][1]=d.substring(f),a++),a++}a++}}I(bw,"diff_cleanupSemantic");var ty=/[^a-z0-9]/i,ry=/\s/,ny=/[\r\n]/,mI=/\n\r?\n$/,gI=/^\r?\n\r?\n/;function yw(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=Lf(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=Qo(r,n)+Qo(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=Qo(r,n)+Qo(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(yw,"diff_cleanupSemanticLossless");function Bf(e){e.push(new Ie(Le,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case et:n++,a+=e[t][1],t++;break;case lt:r++,o+=e[t][1],t++;break;case Le:r+n>1?(r!==0&&n!==0&&(i=gw(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 Ie(Le,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=Lf(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 Ie(lt,o)),t++),a.length&&(e.splice(t,0,new Ie(et,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&&Bf(e)}I(Bf,"diff_cleanupMerge");function Qo(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(ty),a=n.match(ty),i=o&&r.match(ry),s=a&&n.match(ry),c=i&&r.match(ny),u=s&&n.match(ny),d=c&&e.match(mI),p=u&&t.match(gI);return d||p?5:c||u?4:o&&!i&&s?3:i||s?2:o||a?1:0}I(Qo,"diff_cleanupSemanticScore_");var vw="Compared values have no visual difference.",bI="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",yi={},oy;function ww(){if(oy)return yi;oy=1,Object.defineProperty(yi,"__esModule",{value:!0}),yi.default=h;let e="diff-sequences",t=0,r=I((f,m,g,y,b)=>{let v=0;for(;f<m&&g<y&&b(f,g);)f+=1,g+=1,v+=1;return v},"countCommonItemsF"),n=I((f,m,g,y,b)=>{let v=0;for(;f<=m&&g<=y&&b(m,y);)m-=1,y-=1,v+=1;return v},"countCommonItemsR"),o=I((f,m,g,y,b,v,S)=>{let x=0,P=-f,C=v[x],w=C;v[x]+=r(C+1,m,y+C-P+1,g,b);let E=f<S?f:S;for(x+=1,P+=2;x<=E;x+=1,P+=2){if(x!==f&&w<v[x])C=v[x];else if(C=w+1,m<=C)return x-1;w=v[x],v[x]=C+r(C+1,m,y+C-P+1,g,b)}return S},"extendPathsF"),a=I((f,m,g,y,b,v,S)=>{let x=0,P=f,C=v[x],w=C;v[x]-=n(m,C-1,g,y+C-P-1,b);let E=f<S?f:S;for(x+=1,P-=2;x<=E;x+=1,P-=2){if(x!==f&&v[x]<w)C=v[x];else if(C=w-1,C<m)return x-1;w=v[x],v[x]=C-n(m,C-1,g,y+C-P-1,b)}return S},"extendPathsR"),i=I((f,m,g,y,b,v,S,x,P,C,w)=>{let E=y-m,A=g-m,k=b-y-A,j=-k-(f-1),L=-k+(f-1),F=t,T=f<x?f:x;for(let R=0,N=-f;R<=T;R+=1,N+=2){let W=R===0||R!==f&&F<S[R],K=W?S[R]:F,ee=W?K:K+1,re=E+ee-N,oe=r(ee+1,g,re+1,b,v),Y=ee+oe;if(F=S[R],S[R]=Y,j<=N&&N<=L){let G=(f-1-(N+k))/2;if(G<=C&&P[G]-1<=Y){let J=E+K-(W?N+1:N-1),te=n(m,K,y,J,v),Z=K-te,ie=J-te,le=Z+1,ye=ie+1;w.nChangePreceding=f-1,f-1===le+ye-m-y?(w.aEndPreceding=m,w.bEndPreceding=y):(w.aEndPreceding=le,w.bEndPreceding=ye),w.nCommonPreceding=te,te!==0&&(w.aCommonPreceding=le,w.bCommonPreceding=ye),w.nCommonFollowing=oe,oe!==0&&(w.aCommonFollowing=ee+1,w.bCommonFollowing=re+1);let Ae=Y+1,B=re+oe+1;return w.nChangeFollowing=f-1,f-1===g+b-Ae-B?(w.aStartFollowing=g,w.bStartFollowing=b):(w.aStartFollowing=Ae,w.bStartFollowing=B),!0}}}return!1},"extendOverlappablePathsF"),s=I((f,m,g,y,b,v,S,x,P,C,w)=>{let E=b-g,A=g-m,k=b-y-A,j=k-f,L=k+f,F=t,T=f<C?f:C;for(let R=0,N=f;R<=T;R+=1,N-=2){let W=R===0||R!==f&&P[R]<F,K=W?P[R]:F,ee=W?K:K-1,re=E+ee-N,oe=n(m,ee-1,y,re-1,v),Y=ee-oe;if(F=P[R],P[R]=Y,j<=N&&N<=L){let G=(f+(N-k))/2;if(G<=x&&Y-1<=S[G]){let J=re-oe;if(w.nChangePreceding=f,f===Y+J-m-y?(w.aEndPreceding=m,w.bEndPreceding=y):(w.aEndPreceding=Y,w.bEndPreceding=J),w.nCommonPreceding=oe,oe!==0&&(w.aCommonPreceding=Y,w.bCommonPreceding=J),w.nChangeFollowing=f-1,f===1)w.nCommonFollowing=0,w.aStartFollowing=g,w.bStartFollowing=b;else{let te=E+K-(W?N-1:N+1),Z=r(K,g,te,b,v);w.nCommonFollowing=Z,Z!==0&&(w.aCommonFollowing=K,w.bCommonFollowing=te);let ie=K+Z,le=te+Z;f-1===g+b-ie-le?(w.aStartFollowing=g,w.bStartFollowing=b):(w.aStartFollowing=ie,w.bStartFollowing=le)}return!0}}}return!1},"extendOverlappablePathsR"),c=I((f,m,g,y,b,v,S,x,P)=>{let C=y-m,w=b-g,E=g-m,A=b-y,k=A-E,j=E,L=E;if(S[0]=m-1,x[0]=g,k%2===0){let F=(f||k)/2,T=(E+A)/2;for(let R=1;R<=T;R+=1)if(j=o(R,g,b,C,v,S,j),R<F)L=a(R,m,y,w,v,x,L);else if(s(R,m,g,y,b,v,S,j,x,L,P))return}else{let F=((f||k)+1)/2,T=(E+A+1)/2,R=1;for(j=o(R,g,b,C,v,S,j),R+=1;R<=T;R+=1)if(L=a(R-1,m,y,w,v,x,L),R<F)j=o(R,g,b,C,v,S,j);else if(i(R,m,g,y,b,v,S,j,x,L,P))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${g} bStart=${y} bEnd=${b}`)},"divide"),u=I((f,m,g,y,b,v,S,x,P,C)=>{if(b-y<g-m){if(v=!v,v&&S.length===1){let{foundSubsequence:G,isCommon:J}=S[0];S[1]={foundSubsequence:I((te,Z,ie)=>{G(te,ie,Z)},"foundSubsequence"),isCommon:I((te,Z)=>J(Z,te),"isCommon")}}let oe=m,Y=g;m=y,g=b,y=oe,b=Y}let{foundSubsequence:w,isCommon:E}=S[v?1:0];c(f,m,g,y,b,E,x,P,C);let{nChangePreceding:A,aEndPreceding:k,bEndPreceding:j,nCommonPreceding:L,aCommonPreceding:F,bCommonPreceding:T,nCommonFollowing:R,aCommonFollowing:N,bCommonFollowing:W,nChangeFollowing:K,aStartFollowing:ee,bStartFollowing:re}=C;m<k&&y<j&&u(A,m,k,y,j,v,S,x,P,C),L!==0&&w(L,F,T),R!==0&&w(R,N,W),ee<g&&re<b&&u(K,ee,g,re,b,v,S,x,P,C)},"findSubsequences"),d=I((f,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${f} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${f} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${f} value ${m} is a negative integer`)},"validateLength"),p=I((f,m)=>{let g=typeof m;if(g!=="function")throw new TypeError(`${e}: ${f} typeof ${g} is not a function`)},"validateCallback");function h(f,m,g,y){d("aLength",f),d("bLength",m),p("isCommon",g),p("foundSubsequence",y);let b=r(0,f,0,m,g);if(b!==0&&y(b,0,0),f!==b||m!==b){let v=b,S=b,x=n(v,f-1,S,m-1,g),P=f-x,C=m-x,w=b+x;f!==w&&m!==w&&u(0,v,P,S,C,!1,[{foundSubsequence:y,isCommon:g}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),x!==0&&y(x,P,C)}}return I(h,"diffSequence"),yi}I(ww,"requireBuild");var yI=ww(),Ew=dw(yI);function Cw(e,t){return e.replace(/\s+$/,r=>t(r))}I(Cw,"formatTrailingSpaces");function il(e,t,r,n,o,a){return e.length!==0?r(`${n} ${Cw(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}I(il,"printDiffLine");function Hf(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return il(e,t,r,n,o,a)}I(Hf,"printDeleteLine");function Uf(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return il(e,t,r,n,o,a)}I(Uf,"printInsertLine");function Vf(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return il(e,t,r,n,o,a)}I(Vf,"printCommonLine");function rd(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}I(rd,"createPatchMark");function xw(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=[],h=0;u&&p.push("");let f=0,m=0,g=0,y=0,b=I(x=>{let P=p.length;p.push(Vf(x,P===0||P===d,t)),g+=1,y+=1},"pushCommonLine"),v=I(x=>{let P=p.length;p.push(Hf(x,P===0||P===d,t)),g+=1},"pushDeleteLine"),S=I(x=>{let P=p.length;p.push(Uf(x,P===0||P===d,t)),y+=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,f=x,m=x,g=f,y=m);for(let P=x;P!==c;P+=1)b(e[P][1])}else if(c===r){let P=c-x>n?x+n:c;for(let C=x;C!==P;C+=1)b(e[C][1])}else{let P=c-x;if(P>o){let C=x+n;for(let E=x;E!==C;E+=1)b(e[E][1]);p[h]=rd(f,g,m,y,t),h=p.length,p.push("");let w=P-o;f=g+w,m=y+w,g=f,y=m;for(let E=c-n;E!==c;E+=1)b(e[E][1])}else for(let C=x;C!==c;C+=1)b(e[C][1])}for(;c!==r&&e[c][0]===lt;)v(e[c][1]),c+=1;for(;c!==r&&e[c][0]===et;)S(e[c][1]),c+=1}return u&&(p[h]=rd(f,g,m,y,t)),p.join(`
|
|
155
|
-
`)}I(xw,"joinAlignedDiffsNoExpand");function Sw(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case lt:return Hf(a,i,t);case et:return Uf(a,i,t);default:return Vf(a,i,t)}}).join(`
|
|
156
|
-
`)}I(Sw,"joinAlignedDiffsExpand");var hc=I(e=>e,"noColor"),Aw=5,vI=0;function Pw(){return{aAnnotation:"Expected",aColor:hr.green,aIndicator:"-",bAnnotation:"Received",bColor:hr.red,bIndicator:"+",changeColor:hr.inverse,changeLineTrailingSpaceColor:hc,commonColor:hr.dim,commonIndicator:" ",commonLineTrailingSpaceColor:hc,compareKeys:void 0,contextLines:Aw,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:hr.yellow,printBasicPrototype:!1,truncateThreshold:vI,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:hc}}I(Pw,"getDefaultOptions");function Ow(e){return e&&typeof e=="function"?e:void 0}I(Ow,"getCompareKeys");function _w(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Aw}I(_w,"getContextLines");function Gr(e={}){return{...Pw(),...e,compareKeys:Ow(e.compareKeys),contextLines:_w(e.contextLines)}}I(Gr,"normalizeDiffOptions");function on(e){return e.length===1&&e[0].length===0}I(on,"isEmptyString");function Tw(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case lt:t+=1;break;case et:r+=1;break}}),{a:t,b:r}}I(Tw,"countChanges");function $w({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 f=String(c.a),m=String(c.b),g=n.length-e.length,y=" ".repeat(Math.max(0,g)),b=" ".repeat(Math.max(0,-g)),v=m.length-f.length,S=" ".repeat(Math.max(0,v)),x=" ".repeat(Math.max(0,-v));u=`${y} ${r} ${S}${f}`,d=`${b} ${a} ${x}${m}`}let p=`${r} ${e}${u}`,h=`${a} ${n}${d}`;return`${t(p)}
|
|
157
|
-
${o(h)}
|
|
158
|
-
|
|
159
|
-
`}I($w,"printAnnotation");function sl(e,t,r){return $w(r,Tw(e))+(r.expand?Sw(e,r):xw(e,r))+(t?r.truncateAnnotationColor(`
|
|
160
|
-
${r.truncateAnnotation}`):"")}I(sl,"printDiffLines");function Wa(e,t,r){let n=Gr(r),[o,a]=zf(on(e)?[]:e,on(t)?[]:t,n);return sl(o,a,n)}I(Wa,"diffLinesUnified");function Rw(e,t,r,n,o){if(on(e)&&on(r)&&(e=[],r=[]),on(t)&&on(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Wa(e,t,o);let[a,i]=zf(r,n,o),s=0,c=0;return a.forEach(u=>{switch(u[0]){case lt:u[1]=e[s],s+=1;break;case et:u[1]=t[c],c+=1;break;default:u[1]=t[c],s+=1,c+=1}}),sl(a,i,Gr(o))}I(Rw,"diffLinesUnified2");function zf(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),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((h,f)=>e[h]===t[f],"isCommon"),u=[],d=0,p=0;for(Ew(a,i,c,I((h,f,m)=>{for(;d!==f;d+=1)u.push(new Ie(lt,e[d]));for(;p!==m;p+=1)u.push(new Ie(et,t[p]));for(;h!==0;h-=1,d+=1,p+=1)u.push(new Ie(Le,t[p]))},"foundSubsequence"));d!==a;d+=1)u.push(new Ie(lt,e[d]));for(;p!==i;p+=1)u.push(new Ie(et,t[p]));return[u,s]}I(zf,"diffLinesRaw");function nd(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(nd,"getType");function od(e){return e.includes(`\r
|
|
161
|
-
`)?`\r
|
|
162
|
-
`:`
|
|
163
|
-
`}I(od,"getNewLineSymbol");function jw(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),a=e.length,i=t.length;if(n){let h=e.includes(`
|
|
164
|
-
`),f=t.includes(`
|
|
165
|
-
`),m=od(e),g=od(t),y=h?`${e.split(m,o).join(m)}
|
|
166
|
-
`:e,b=f?`${t.split(g,o).join(g)}
|
|
167
|
-
`:t;a=y.length,i=b.length}let s=a!==e.length||i!==t.length,c=I((h,f)=>e[h]===t[f],"isCommon"),u=0,d=0,p=[];return Ew(a,i,c,I((h,f,m)=>{u!==f&&p.push(new Ie(lt,e.slice(u,f))),d!==m&&p.push(new Ie(et,t.slice(d,m))),u=f+h,d=m+h,p.push(new Ie(Le,t.slice(m,d)))},"foundSubsequence")),u!==a&&p.push(new Ie(lt,e.slice(u))),d!==i&&p.push(new Ie(et,t.slice(d))),[p,s]}I(jw,"diffStrings");function qw(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(qw,"concatenateRelevantDiffs");var Mw=class{constructor(t,r){Fe(this,"op");Fe(this,"line");Fe(this,"lines");Fe(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new Ie(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new Ie(this.op,qw(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Ie(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(`
|
|
168
|
-
`)){let n=r.split(`
|
|
169
|
-
`),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(Mw,"ChangeBuffer");var ay=Mw,kw=class{constructor(t,r){Fe(this,"deleteBuffer");Fe(this,"insertBuffer");Fe(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(`
|
|
170
|
-
`)){let o=n.split(`
|
|
171
|
-
`),a=o.length-1;o.forEach((i,s)=>{if(s===0){let c=new Ie(r,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(c)):(this.pushDiffChangeLines(c),this.flushChangeLines())}else s<a?this.pushDiffCommonLine(new Ie(r,i)):i.length!==0&&this.pushDiffChangeLines(new Ie(r,i))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};I(kw,"CommonBuffer");var wI=kw;function Iw(e,t){let r=new ay(lt,t),n=new ay(et,t),o=new wI(r,n);return e.forEach(a=>{switch(a[0]){case lt:r.align(a);break;case et:n.align(a);break;default:o.align(a)}}),o.getLines()}I(Iw,"getAlignedDiffs");function Nw(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Le&&(o!==r||n[1]!==`
|
|
172
|
-
`))}return e.some(r=>r[0]===Le)}I(Nw,"hasCommonDiff");function Dw(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
173
|
-
`)||t.includes(`
|
|
174
|
-
`),[o,a]=Wf(n?`${e}
|
|
175
|
-
`:e,n?`${t}
|
|
176
|
-
`:t,!0,r);if(Nw(o,n)){let i=Gr(r),s=Iw(o,i.changeColor);return sl(s,a,i)}}return Wa(e.split(`
|
|
177
|
-
`),t.split(`
|
|
178
|
-
`),r)}I(Dw,"diffStringsUnified");function Wf(e,t,r,n){let[o,a]=jw(e,t,n);return r&&bw(o),[o,a]}I(Wf,"diffStringsRaw");function Xi(e,t){let{commonColor:r}=Gr(t);return r(e)}I(Xi,"getCommonMessage");var{AsymmetricMatcher:EI,DOMCollection:CI,DOMElement:xI,Immutable:SI,ReactElement:AI,ReactTestComponent:PI}=Nf,Fw=[PI,AI,xI,CI,SI,EI,Nf.Error],ad={maxDepth:20,plugins:Fw},Lw={callToJSON:!1,maxDepth:8,plugins:Fw};function Bw(e,t,r){if(Object.is(e,t))return"";let n=nd(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!==nd(t)){let i=function(S){return S.length<=y?S:`${S.slice(0,y)}...`};I(i,"truncate");let{aAnnotation:s,aColor:c,aIndicator:u,bAnnotation:d,bColor:p,bIndicator:h}=Gr(r),f=Ji(Lw,r),m=Dt(e,f),g=Dt(t,f),y=1e5;m=i(m),g=i(g);let b=`${c(`${u} ${s}:`)}
|
|
179
|
-
${m}`,v=`${p(`${h} ${d}:`)}
|
|
180
|
-
${g}`;return`${b}
|
|
181
|
-
|
|
182
|
-
${v}`}if(!a)switch(n){case"string":return Wa(e.split(`
|
|
183
|
-
`),t.split(`
|
|
184
|
-
`),r);case"boolean":case"number":return Hw(e,t,r);case"map":return Ti(id(e),id(t),r);case"set":return Ti(sd(e),sd(t),r);default:return Ti(e,t,r)}}I(Bw,"diff");function Hw(e,t,r){let n=Dt(e,ad),o=Dt(t,ad);return n===o?"":Wa(n.split(`
|
|
185
|
-
`),o.split(`
|
|
186
|
-
`),r)}I(Hw,"comparePrimitive");function id(e){return new Map(Array.from(e.entries()).sort())}I(id,"sortMap");function sd(e){return new Set(Array.from(e.values()).sort())}I(sd,"sortSet");function Ti(e,t,r){let n,o=!1;try{let i=Ji(ad,r);n=ld(e,t,i,r)}catch{o=!0}let a=Xi(vw,r);if(n===void 0||n===a){let i=Ji(Lw,r);n=ld(e,t,i,r),n!==a&&!o&&(n=`${Xi(bI,r)}
|
|
187
|
-
|
|
188
|
-
${n}`)}return n}I(Ti,"compareObjects");function Ji(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:o}=Gr(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o??e.maxDepth}}I(Ji,"getFormatOptions");function ld(e,t,r,n){let o={...r,indent:0},a=Dt(e,o),i=Dt(t,o);if(a===i)return Xi(vw,n);{let s=Dt(e,r),c=Dt(t,r);return Rw(s.split(`
|
|
189
|
-
`),c.split(`
|
|
190
|
-
`),a.split(`
|
|
191
|
-
`),i.split(`
|
|
192
|
-
`),n)}}I(ld,"getObjectsDifference");var iy=2e4;function ud(e){return Ki(e)==="Object"&&typeof e.asymmetricMatch=="function"}I(ud,"isAsymmetricMatcher");function cd(e,t){let r=Ki(e),n=Ki(t);return r===n&&(r==="Object"||r==="Array")}I(cd,"isReplaceable");function Uw(e,t,r){let{aAnnotation:n,bAnnotation:o}=Gr(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=iy&&e.length<=iy&&t!==e){if(t.includes(`
|
|
193
|
-
`)||e.includes(`
|
|
194
|
-
`))return Dw(t,e,r);let[u]=Wf(t,e,!0),d=u.some(m=>m[0]===Le),p=Vw(n,o),h=p(n)+Ww(dd(u,lt,d)),f=p(o)+zw(dd(u,et,d));return`${h}
|
|
195
|
-
${f}`}let a=ed(t,{forceWritable:!0}),i=ed(e,{forceWritable:!0}),{replacedExpected:s,replacedActual:c}=Gf(i,a);return Bw(s,c,r)}I(Uw,"printDiffOrStringify");function Gf(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}):cd(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Ff(t).forEach(o=>{let a=t[o],i=e[o];if(ud(a))a.asymmetricMatch(i)&&(e[o]=a);else if(ud(i))i.asymmetricMatch(a)&&(t[o]=i);else if(cd(i,a)){let s=Gf(i,a,r,n);e[o]=s.replacedActual,t[o]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}I(Gf,"replaceAsymmetricMatcher");function Vw(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}I(Vw,"getLabelPrinter");var OI="·";function Kf(e){return e.replace(/\s+$/gm,t=>OI.repeat(t.length))}I(Kf,"replaceTrailingSpaces");function zw(e){return hr.red(Kf(uo(e)))}I(zw,"printReceived");function Ww(e){return hr.green(Kf(uo(e)))}I(Ww,"printExpected");function dd(e,t,r){return e.reduce((n,o)=>n+(o[0]===Le?o[1]:o[0]===t?r?hr.inverse(o[1]):o[1]:""),"")}I(dd,"getCommonAndChangedSubstrings");var _I="@@__IMMUTABLE_RECORD__@@",TI="@@__IMMUTABLE_ITERABLE__@@";function Gw(e){return e&&(e[TI]||e[_I])}I(Gw,"isImmutable");var $I=Object.getPrototypeOf({});function pd(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}I(pd,"getUnserializableMessage");function an(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(Gw(e))return an(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()} ${cw(e.sample)}`;if(typeof e.toJSON=="function")return an(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]=an(n,t)}catch(a){r[o]=pd(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==$I;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=an(e[o],t)}catch(a){delete r[o],r[o]=pd(a)}}),n=Object.getPrototypeOf(n);return r}}I(an,"serializeValue");function Kw(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}I(Kw,"normalizeErrorMessage");function Yf(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Uw(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=uo(n.expected,10)),typeof n.actual!="string"&&(n.actual=uo(n.actual,10));try{typeof n.message=="string"&&(n.message=Kw(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Yf(n.cause,t,r))}catch{}try{return an(n)}catch(o){return an(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
|
|
196
|
-
Inner error message: ${n==null?void 0:n.message}`))}}I(Yf,"processError");var ir={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"},mc=globalThis.__STORYBOOK_ADDONS_PREVIEW,RI=new Error("This function ran after the play function completed. Did you forget to `await` it?"),sy=I(e=>Object.prototype.toString.call(e)==="[object Object]","isObject"),jI=I(e=>Object.prototype.toString.call(e)==="[object Module]","isModule"),qI=I(e=>{if(!sy(e)&&!jI(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!sy(t)},"isInstrumentable"),MI=I(e=>{try{return new e.constructor}catch{return{}}},"construct"),gc=I(()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),"getInitialState"),ly=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"),Yw=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=I(()=>{var c,u;try{this.state=((u=(c=ae.window)==null?void 0:c.parent)==null?void 0:u.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{}}catch{this.detached=!0}},"loadParentWindowState"),this.updateParentWindowState=I(()=>{try{ae.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},"updateParentWindowState"),this.loadParentWindowState();let t=I(({storyId:c,isPlaying:u=!0,isDebugging:d=!1})=>{let p=this.getState(c);this.setState(c,{...gc(),...ly(p,d),shadowCalls:d?p.shadowCalls:[],chainedCallIds:d?p.chainedCallIds:new Set,playUntil:d?p.playUntil:void 0,isPlaying:u,isDebugging:d}),this.sync(c)},"resetState"),r=I(c=>({storyId:u,playUntil:d})=>{this.getState(u).isDebugging||this.setState(u,({calls:h})=>({calls:[],shadowCalls:h.map(f=>({...f,status:"waiting"})),isDebugging:!0}));let p=this.getLog(u);this.setState(u,({shadowCalls:h})=>{var m;if(d||!p.length)return{playUntil:d};let f=h.findIndex(g=>g.id===p[0].callId);return{playUntil:(m=h.slice(0,f).filter(g=>{var y;return g.interceptable&&!((y=g.ancestors)!=null&&y.length)}).slice(-1)[0])==null?void 0:m.id}}),c.emit(Ui,{storyId:u,isDebugging:!0})},"start"),n=I(c=>({storyId:u})=>{var h;let d=this.getLog(u).filter(f=>{var m;return!((m=f.ancestors)!=null&&m.length)}),p=d.reduceRight((f,m,g)=>f>=0||m.status==="waiting"?f:g,-1);r(c)({storyId:u,playUntil:(h=d[p-1])==null?void 0:h.callId})},"back"),o=I(c=>({storyId:u,callId:d})=>{var y;let{calls:p,shadowCalls:h,resolvers:f}=this.getState(u),m=p.find(({id:b})=>b===d),g=h.find(({id:b})=>b===d);if(!m&&g&&Object.values(f).length>0){let b=(y=this.getLog(u).find(v=>v.status==="waiting"))==null?void 0:y.callId;g.id!==b&&this.setState(u,{playUntil:g.id}),Object.values(f).forEach(v=>v())}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(h=>h());else{let h=(p=this.getLog(u).find(f=>f.status==="waiting"))==null?void 0:p.callId;h?r(c)({storyId:u,playUntil:h}):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);this.setState(c,{renderPhase:u}),u==="preparing"&&d&&t({storyId:c}),u==="playing"&&t({storyId:c,isDebugging:d}),u==="played"&&this.setState(c,{isLocked:!1,isPlaying:!1,isDebugging:!1}),u==="errored"&&this.setState(c,{isLocked:!1,isPlaying:!1})},"renderPhaseChanged");mc&&mc.ready().then(()=>{this.channel=mc.getChannel(),this.channel.on(Ui,t),this.channel.on(bn,s),this.channel.on(uf,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(ir.START,r(this.channel)),this.channel.on(ir.BACK,n(this.channel)),this.channel.on(ir.GOTO,o(this.channel)),this.channel.on(ir.NEXT,a(this.channel)),this.channel.on(ir.END,i)})}getState(t){return this.state[t]||gc()}setState(t,r){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=ly(a);return i&&(n[o]=Object.assign(gc(),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(ir.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(!qI(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=Xw(t,c);if(typeof(u==null?void 0:u.get)=="function"){if(u.configurable){let p=I(()=>{var h,f;return(f=(h=u==null?void 0:u.get)==null?void 0:h.bind(t))==null?void 0:f()},"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:MI(t))}track(t,r,n,o,a){var y,b,v,S;let i=((y=o==null?void 0:o[0])==null?void 0:y.__storyId__)||((S=(v=(b=ae.__STORYBOOK_PREVIEW__)==null?void 0:b.selectionStore)==null?void 0:v.selection)==null?void 0:S.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:h=!1}=a,f=typeof p=="function"?p(t,d):p,m={id:u,cursor:s,storyId:i,ancestors:c,path:d,method:t,args:o,interceptable:f,retain:h},g=(f&&!c.length?this.intercept:this.invoke).call(this,r,n,m,a);return this.instrument(g,{...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,h,f)=>{var m,g,y;if(f.includes(p))return"[Circular]";if(f=[...f,p],h>s)return"...";if(a.has(p))return a.get(p);if(p instanceof Array)return p.map(b=>c(b,++h,f));if(p instanceof Date)return{__date__:{value:p.toISOString()}};if(p instanceof Error){let{name:b,message:v,stack:S}=p;return{__error__:{name:b,message:v,stack:S}}}if(p instanceof RegExp){let{flags:b,source:v}=p;return{__regexp__:{flags:b,source:v}}}if(p instanceof((m=ae.window)==null?void 0:m.HTMLElement)){let{prefix:b,localName:v,id:S,classList:x,innerText:P}=p,C=Array.from(x);return{__element__:{prefix:b,localName:v,id:S,classNames:C,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"&&((g=p==null?void 0:p.constructor)!=null&&g.name)&&((y=p==null?void 0:p.constructor)==null?void 0:y.name)!=="Object"?{__class__:{name:p.constructor.name}}:Object.prototype.toString.call(p)==="[object Object]"?Object.fromEntries(Object.entries(p).map(([b,v])=>[b,c(v,++h,f)])):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:h})=>({chainedCallIds:new Set(Array.from(h).concat(p.__callId__))}))});let d=I(p=>{var h;if(p instanceof Error){let{name:f,message:m,stack:g,callId:y=n.id}=p,{showDiff:b=void 0,diff:v=void 0,actual:S=void 0,expected:x=void 0}=p.name==="AssertionError"?Yf(p):p,P={name:f,message:m,stack:g,callId:y,showDiff:b,diff:v,actual:S,expected:x};if(this.update({...u,status:"error",exception:P}),this.setState(n.storyId,C=>({callRefsByResult:new Map([...Array.from(C.callRefsByResult.entries()),[p,{__callId__:n.id,retain:n.retain}]])})),(h=n.ancestors)==null?void 0:h.length)throw Object.prototype.hasOwnProperty.call(p,"callId")||Object.defineProperty(p,"callId",{value:n.id}),p}throw p},"handleException");try{if(i==="played"&&!n.retain)throw RI;let p=(o.getArgs?o.getArgs(n,this.getState(n.storyId)):n.args).map(f=>typeof f!="function"||Jw(f)||Object.keys(f).length?f:(...m)=>{let{cursor:g,ancestors:y}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...y,n.id]});let b=I(()=>this.setState(n.storyId,{cursor:g,ancestors:y}),"restore"),v=!1;try{let S=f(...m);return S instanceof Promise?(v=!0,S.finally(b)):S}finally{v||b()}}),h=t.apply(r,p);return h&&["object","function","symbol"].includes(typeof h)&&this.setState(n.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[h,{__callId__:n.id,retain:n.retain}]])})),this.update({...u,status:h instanceof Promise?"active":"done"}),h instanceof Promise?h.then(f=>(this.update({...u,status:"done"}),f),d):h}catch(p){return d(p)}}update(t){var r;(r=this.channel)==null||r.emit(ir.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,h;let{isLocked:n,isPlaying:o}=this.getState(t),a=this.getLog(t),i=(d=a.filter(({ancestors:f})=>!f.length).find(f=>f.status==="waiting"))==null?void 0:d.callId,s=a.some(f=>f.status==="active");if(this.detached||n||s||a.length===0){let f={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:a};(p=this.channel)==null||p.emit(ir.SYNC,f);return}let c=a.some(f=>f.status==="done"||f.status==="error"),u={controlStates:{detached:this.detached,start:c,back:c,goto:!0,next:o,end:o},logItems:a,pausedAt:i};(h=this.channel)==null||h.emit(ir.SYNC,u)},"synchronize");this.setState(t,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(r,0)}))}};I(Yw,"Instrumenter");var kI=Yw;function $o(e,t={}){var r,n,o,a,i,s,c,u;try{let d=!1,p=!1;return(o=(n=(r=ae.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&o.includes("instrument=true")?d=!0:(s=(i=(a=ae.window)==null?void 0:a.location)==null?void 0:i.search)!=null&&s.includes("instrument=false")&&(p=!0),((c=ae.window)==null?void 0:c.parent)===ae.window&&!d||p?e:(ae.window&&!ae.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(ae.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new kI),((u=ae.window)==null?void 0:u.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(d){return Ue.warn(d),e}}I($o,"instrument");function Xw(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}I(Xw,"getPropertyDescriptor");function Jw(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}I(Jw,"isClass");var II=Object.create,Ga=Object.defineProperty,NI=Object.getOwnPropertyDescriptor,DI=Object.getOwnPropertyNames,FI=Object.getPrototypeOf,LI=Object.prototype.hasOwnProperty,l=(e,t)=>Ga(e,"name",{value:t,configurable:!0}),BI=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),HI=(e,t)=>()=>(e&&(t=e(e=0)),t),O=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ll=(e,t)=>{for(var r in t)Ga(e,r,{get:t[r],enumerable:!0})},Zw=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of DI(t))!LI.call(e,o)&&o!==r&&Ga(e,o,{get:()=>t[o],enumerable:!(n=NI(t,o))||n.enumerable});return e},Ct=(e,t,r)=>(r=e!=null?II(FI(e)):{},Zw(t||!e||!e.__esModule?Ga(r,"default",{value:e,enumerable:!0}):r,e)),UI=e=>Zw(Ga({},"__esModule",{value:!0}),e),VI=O((e,t)=>{t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,a)=>Math.min(o,a.length),1/0):0}}),zI=O((e,t)=>{var r=VI();t.exports=n=>{let o=r(n);if(o===0)return n;let a=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(a,"")}}),WI=O((e,t)=>{t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let a=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(a,o.indent.repeat(n))}}),Qw=O((e,t)=>{var r=zI(),n=WI();t.exports=(o,a=0,i)=>n(r(o),a,i)}),GI=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":l(function(){return o},"iterator"),next:l(function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}},"next")};return o}l(t,"iteratorProxy"),e.default=t}),Ka=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(GI());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")}),KI=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ka());function r(p){return p&&p.__esModule?p:{default:p}}l(r,"_interopRequireDefault");function n(p,h){return c(p)||s(p,h)||a(p,h)||o()}l(n,"_slicedToArray");function o(){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(o,"_nonIterableRest");function a(p,h){if(p){if(typeof p=="string")return i(p,h);var f={}.toString.call(p).slice(8,-1);return f==="Object"&&p.constructor&&(f=p.constructor.name),f==="Map"||f==="Set"?Array.from(p):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?i(p,h):void 0}}l(a,"_unsupportedIterableToArray");function i(p,h){(h==null||h>p.length)&&(h=p.length);for(var f=0,m=Array(h);f<h;f++)m[f]=p[f];return m}l(i,"_arrayLikeToArray");function s(p,h){var f=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(f!=null){var m,g,y,b,v=[],S=!0,x=!1;try{if(y=(f=f.call(p)).next,h===0){if(Object(f)!==f)return;S=!1}else for(;!(S=(m=y.call(f)).done)&&(v.push(m.value),v.length!==h);S=!0);}catch(P){x=!0,g=P}finally{try{if(!S&&f.return!=null&&(b=f.return(),Object(b)!==b))return}finally{if(x)throw g}}return v}}l(s,"_iterableToArrayLimit");function c(p){if(Array.isArray(p))return p}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(p){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=u;f<m.length;f++){var g=n(m[f],2),y=g[0],b=g[1];p.call(h,b,y,u)}},"forEach"),get:l(function(p){var h=u.filter(function(f){return f[0]===p})[0];return h&&h[1]},"get"),has:l(function(p){return!!d.get(p)},"has"),keys:l(function(){return u.map(function(p){var h=n(p,1),f=h[0];return f})},"keys"),values:l(function(){return u.map(function(p){var h=n(p,2),f=h[1];return f})},"values")};e.default=(0,t.default)(d,d.entries())}),YI=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ka());function r(p){return p&&p.__esModule?p:{default:p}}l(r,"_interopRequireDefault");function n(p,h){return c(p)||s(p,h)||a(p,h)||o()}l(n,"_slicedToArray");function o(){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(o,"_nonIterableRest");function a(p,h){if(p){if(typeof p=="string")return i(p,h);var f={}.toString.call(p).slice(8,-1);return f==="Object"&&p.constructor&&(f=p.constructor.name),f==="Map"||f==="Set"?Array.from(p):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?i(p,h):void 0}}l(a,"_unsupportedIterableToArray");function i(p,h){(h==null||h>p.length)&&(h=p.length);for(var f=0,m=Array(h);f<h;f++)m[f]=p[f];return m}l(i,"_arrayLikeToArray");function s(p,h){var f=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(f!=null){var m,g,y,b,v=[],S=!0,x=!1;try{if(y=(f=f.call(p)).next,h===0){if(Object(f)!==f)return;S=!1}else for(;!(S=(m=y.call(f)).done)&&(v.push(m.value),v.length!==h);S=!0);}catch(P){x=!0,g=P}finally{try{if(!S&&f.return!=null&&(b=f.return(),Object(b)!==b))return}finally{if(x)throw g}}return v}}l(s,"_iterableToArrayLimit");function c(p){if(Array.isArray(p))return p}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(p){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=u;f<m.length;f++){var g=n(m[f],2),y=g[0],b=g[1];p.call(h,b,y,u)}},"forEach"),get:l(function(p){var h=u.filter(function(f){return f[0]===p})[0];return h&&h[1]},"get"),has:l(function(p){return!!d.get(p)},"has"),keys:l(function(){return u.map(function(p){var h=n(p,1),f=h[0];return f})},"keys"),values:l(function(){return u.map(function(p){var h=n(p,2),f=h[1];return f})},"values")};e.default=(0,t.default)(d,d.entries())}),XI=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),JI=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),ZI=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),QI=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),eN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),tN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),rN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),nN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),oN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}),aN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),iN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),sN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),lN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(XI()),r=f(JI()),n=f(ZI()),o=f(QI()),a=f(eN()),i=f(tN()),s=f(rN()),c=f(nN()),u=f(oN()),d=f(aN()),p=f(iN()),h=f(sN());function f(g){return g&&g.__esModule?g:{default:g}}l(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",a.default],["roletype",i.default],["section",s.default],["sectionhead",c.default],["select",u.default],["structure",d.default],["widget",p.default],["window",h.default]];e.default=m}),uN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),cN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}),dN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),pN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),fN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),hN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),mN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),gN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),bN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),yN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),vN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),wN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),EN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),CN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),xN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),SN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),AN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),PN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}),ON=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),_N=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),TN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),$N=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),RN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),jN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),qN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),MN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}),kN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}),IN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),NN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),DN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),FN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),LN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),BN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),HN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),UN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),VN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),zN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),WN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),GN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),KN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),YN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),XN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}),JN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),ZN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}),QN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}),eD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}),tD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),rD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),nD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),oD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),aD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),iD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),sD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),lD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),uD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),cD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),dD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}),pD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),fD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),hD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),mD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),gD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}),bD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),yD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),vD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),wD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ED=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),CD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),xD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),SD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}),AD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}),PD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),OD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}),_D=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),TD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),$D=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}),RD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),jD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}),qD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),MD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),kD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),ID=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}),ND=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}),DD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=U(uN()),r=U(cN()),n=U(dN()),o=U(pN()),a=U(fN()),i=U(hN()),s=U(mN()),c=U(gN()),u=U(bN()),d=U(yN()),p=U(vN()),h=U(wN()),f=U(EN()),m=U(CN()),g=U(xN()),y=U(SN()),b=U(AN()),v=U(PN()),S=U(ON()),x=U(_N()),P=U(TN()),C=U($N()),w=U(RN()),E=U(jN()),A=U(qN()),k=U(MN()),j=U(kN()),L=U(IN()),F=U(NN()),T=U(DN()),R=U(FN()),N=U(LN()),W=U(BN()),K=U(HN()),ee=U(UN()),re=U(VN()),oe=U(zN()),Y=U(WN()),G=U(GN()),J=U(KN()),te=U(YN()),Z=U(XN()),ie=U(JN()),le=U(ZN()),ye=U(QN()),Ae=U(eD()),B=U(tD()),X=U(rD()),ne=U(nD()),V=U(oD()),se=U(aD()),ue=U(iD()),ce=U(sD()),Te=U(lD()),Ze=U(uD()),Ut=U(cD()),ar=U(dD()),ht=U(pD()),Pr=U(fD()),Or=U(hD()),_r=U(mD()),ku=U(gD()),Iu=U(bD()),Nu=U(yD()),Du=U(vD()),Fu=U(wD()),Lu=U(ED()),Bu=U(CD()),Hu=U(xD()),Uu=U(SD()),Vu=U(AD()),zu=U(PD()),Wu=U(OD()),Gu=U(_D()),Ku=U(TD()),Yu=U($D()),Xu=U(RD()),Ju=U(jD()),Zu=U(qD()),Qu=U(MD()),ec=U(kD()),tc=U(ID()),rc=U(ND());function U(Mn){return Mn&&Mn.__esModule?Mn:{default:Mn}}l(U,"_interopRequireDefault");var nc=[["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",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",g.default],["definition",y.default],["deletion",b.default],["dialog",v.default],["directory",S.default],["document",x.default],["emphasis",P.default],["feed",C.default],["figure",w.default],["form",E.default],["generic",A.default],["grid",k.default],["gridcell",j.default],["group",L.default],["heading",F.default],["img",T.default],["insertion",R.default],["link",N.default],["list",W.default],["listbox",K.default],["listitem",ee.default],["log",re.default],["main",oe.default],["mark",Y.default],["marquee",G.default],["math",J.default],["menu",te.default],["menubar",Z.default],["menuitem",ie.default],["menuitemcheckbox",le.default],["menuitemradio",ye.default],["meter",Ae.default],["navigation",B.default],["none",X.default],["note",ne.default],["option",V.default],["paragraph",se.default],["presentation",ue.default],["progressbar",ce.default],["radio",Te.default],["radiogroup",Ze.default],["region",Ut.default],["row",ar.default],["rowgroup",ht.default],["rowheader",Pr.default],["scrollbar",Or.default],["search",_r.default],["searchbox",ku.default],["separator",Iu.default],["slider",Nu.default],["spinbutton",Du.default],["status",Fu.default],["strong",Lu.default],["subscript",Bu.default],["superscript",Hu.default],["switch",Uu.default],["tab",Vu.default],["table",zu.default],["tablist",Wu.default],["tabpanel",Gu.default],["term",Ku.default],["textbox",Yu.default],["time",Xu.default],["timer",Ju.default],["toolbar",Zu.default],["tooltip",Qu.default],["tree",ec.default],["treegrid",tc.default],["treeitem",rc.default]];e.default=nc}),FD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),LD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),BD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),HD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),UD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),VD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),zD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),WD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),GD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),KD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),YD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),XD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),JD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ZD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),QD=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),eF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),tF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),rF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),nF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),oF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),aF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),iF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),sF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),lF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),uF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),cF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),dF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),pF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),fF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),hF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}),mF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),gF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),bF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),yF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),vF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),wF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),EF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}),CF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),xF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),SF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),AF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),PF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Z(FD()),r=Z(LD()),n=Z(BD()),o=Z(HD()),a=Z(UD()),i=Z(VD()),s=Z(zD()),c=Z(WD()),u=Z(GD()),d=Z(KD()),p=Z(YD()),h=Z(XD()),f=Z(JD()),m=Z(ZD()),g=Z(QD()),y=Z(eF()),b=Z(tF()),v=Z(rF()),S=Z(nF()),x=Z(oF()),P=Z(aF()),C=Z(iF()),w=Z(sF()),E=Z(lF()),A=Z(uF()),k=Z(cF()),j=Z(dF()),L=Z(pF()),F=Z(fF()),T=Z(hF()),R=Z(mF()),N=Z(gF()),W=Z(bF()),K=Z(yF()),ee=Z(vF()),re=Z(wF()),oe=Z(EF()),Y=Z(CF()),G=Z(xF()),J=Z(SF()),te=Z(AF());function Z(le){return le&&le.__esModule?le:{default:le}}l(Z,"_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",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",g.default],["doc-endnote",y.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",x.default],["doc-example",P.default],["doc-footnote",C.default],["doc-foreword",w.default],["doc-glossary",E.default],["doc-glossref",A.default],["doc-index",k.default],["doc-introduction",j.default],["doc-noteref",L.default],["doc-notice",F.default],["doc-pagebreak",T.default],["doc-pagefooter",R.default],["doc-pageheader",N.default],["doc-pagelist",W.default],["doc-part",K.default],["doc-preface",ee.default],["doc-prologue",re.default],["doc-pullquote",oe.default],["doc-qna",Y.default],["doc-subtitle",G.default],["doc-tip",J.default],["doc-toc",te.default]];e.default=ie}),OF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),_F=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),TF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),$F=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(OF()),r=o(_F()),n=o(TF());function o(i){return i&&i.__esModule?i:{default:i}}l(o,"_interopRequireDefault");var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=a}),Xf=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(lN()),r=i(DD()),n=i(PF()),o=i($F()),a=i(Ka());function i(y){return y&&y.__esModule?y:{default:y}}l(i,"_interopRequireDefault");function s(y,b){var v=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!v){if(Array.isArray(y)||(v=d(y))||b&&y&&typeof y.length=="number"){v&&(y=v);var S=0,x=l(function(){},"F");return{s:x,n:l(function(){return S>=y.length?{done:!0}:{done:!1,value:y[S++]}},"n"),e:l(function(E){throw E},"e"),f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
199
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var P,C=!0,w=!1;return{s:l(function(){v=v.call(y)},"s"),n:l(function(){var E=v.next();return C=E.done,E},"n"),e:l(function(E){w=!0,P=E},"e"),f:l(function(){try{C||v.return==null||v.return()}finally{if(w)throw P}},"f")}}l(s,"_createForOfIteratorHelper");function c(y,b){return f(y)||h(y,b)||d(y,b)||u()}l(c,"_slicedToArray");function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
200
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(u,"_nonIterableRest");function d(y,b){if(y){if(typeof y=="string")return p(y,b);var v={}.toString.call(y).slice(8,-1);return v==="Object"&&y.constructor&&(v=y.constructor.name),v==="Map"||v==="Set"?Array.from(y):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?p(y,b):void 0}}l(d,"_unsupportedIterableToArray");function p(y,b){(b==null||b>y.length)&&(b=y.length);for(var v=0,S=Array(b);v<b;v++)S[v]=y[v];return S}l(p,"_arrayLikeToArray");function h(y,b){var v=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(v!=null){var S,x,P,C,w=[],E=!0,A=!1;try{if(P=(v=v.call(y)).next,b===0){if(Object(v)!==v)return;E=!1}else for(;!(E=(S=P.call(v)).done)&&(w.push(S.value),w.length!==b);E=!0);}catch(k){A=!0,x=k}finally{try{if(!E&&v.return!=null&&(C=v.return(),Object(C)!==C))return}finally{if(A)throw x}}return w}}l(h,"_iterableToArrayLimit");function f(y){if(Array.isArray(y))return y}l(f,"_arrayWithHoles");var m=[].concat(t.default,r.default,n.default,o.default);m.forEach(function(y){var b=c(y,2),v=b[1],S=s(v.superClass),x;try{for(S.s();!(x=S.n()).done;){var P=x.value,C=s(P),w;try{var E=l(function(){var A=w.value,k=m.filter(function(R){var N=c(R,1),W=N[0];return W===A})[0];if(k)for(var j=k[1],L=0,F=Object.keys(j.props);L<F.length;L++){var T=F[L];Object.prototype.hasOwnProperty.call(v.props,T)||(v.props[T]=j.props[T])}},"_loop");for(C.s();!(w=C.n()).done;)E()}catch(A){C.e(A)}finally{C.f()}}}catch(A){S.e(A)}finally{S.f()}});var g={entries:l(function(){return m},"entries"),forEach:l(function(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=s(m),S;try{for(v.s();!(S=v.n()).done;){var x=c(S.value,2),P=x[0],C=x[1];y.call(b,C,P,m)}}catch(w){v.e(w)}finally{v.f()}},"forEach"),get:l(function(y){var b=m.filter(function(v){return v[0]===y})[0];return b&&b[1]},"get"),has:l(function(y){return!!g.get(y)},"has"),keys:l(function(){return m.map(function(y){var b=c(y,1),v=b[0];return v})},"keys"),values:l(function(){return m.map(function(y){var b=c(y,2),v=b[1];return v})},"values")};e.default=(0,a.default)(g,g.entries())}),RF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ka()),r=n(Xf());function n(C){return C&&C.__esModule?C:{default:C}}l(n,"_interopRequireDefault");function o(C,w){return u(C)||c(C,w)||i(C,w)||a()}l(o,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
201
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(a,"_nonIterableRest");function i(C,w){if(C){if(typeof C=="string")return s(C,w);var E={}.toString.call(C).slice(8,-1);return E==="Object"&&C.constructor&&(E=C.constructor.name),E==="Map"||E==="Set"?Array.from(C):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?s(C,w):void 0}}l(i,"_unsupportedIterableToArray");function s(C,w){(w==null||w>C.length)&&(w=C.length);for(var E=0,A=Array(w);E<w;E++)A[E]=C[E];return A}l(s,"_arrayLikeToArray");function c(C,w){var E=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(E!=null){var A,k,j,L,F=[],T=!0,R=!1;try{if(j=(E=E.call(C)).next,w===0){if(Object(E)!==E)return;T=!1}else for(;!(T=(A=j.call(E)).done)&&(F.push(A.value),F.length!==w);T=!0);}catch(N){R=!0,k=N}finally{try{if(!T&&E.return!=null&&(L=E.return(),Object(L)!==L))return}finally{if(R)throw k}}return F}}l(c,"_iterableToArrayLimit");function u(C){if(Array.isArray(C))return C}l(u,"_arrayWithHoles");var d=[],p=r.default.keys();for(b=0;b<p.length;b++)if(h=p[b],f=r.default.get(h),f)for(m=[].concat(f.baseConcepts,f.relatedConcepts),g=l(function(){var C=m[y];if(C.module==="HTML"){var w=C.concept;if(w){var E=d.filter(function(L){return S(L[0],w)})[0],A;E?A=E[1]:A=[];for(var k=!0,j=0;j<A.length;j++)if(A[j]===h){k=!1;break}k&&A.push(h),E||d.push([w,A])}}},"_loop"),y=0;y<m.length;y++)g();var h,f,m,g,y,b,v={entries:l(function(){return d},"entries"),forEach:l(function(C){for(var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=0,A=d;E<A.length;E++){var k=o(A[E],2),j=k[0],L=k[1];C.call(w,L,j,d)}},"forEach"),get:l(function(C){var w=d.filter(function(E){return C.name===E[0].name&&P(C.attributes,E[0].attributes)})[0];return w&&w[1]},"get"),has:l(function(C){return!!v.get(C)},"has"),keys:l(function(){return d.map(function(C){var w=o(C,1),E=w[0];return E})},"keys"),values:l(function(){return d.map(function(C){var w=o(C,2),E=w[1];return E})},"values")};function S(C,w){return C.name===w.name&&x(C.constraints,w.constraints)&&P(C.attributes,w.attributes)}l(S,"ariaRoleRelationConceptEquals");function x(C,w){if(C===void 0&&w!==void 0||C!==void 0&&w===void 0)return!1;if(C!==void 0&&w!==void 0){if(C.length!==w.length)return!1;for(var E=0;E<C.length;E++)if(C[E]!==w[E])return!1}return!0}l(x,"ariaRoleRelationConstraintsEquals");function P(C,w){if(C===void 0&&w!==void 0||C!==void 0&&w===void 0)return!1;if(C!==void 0&&w!==void 0){if(C.length!==w.length)return!1;for(var E=0;E<C.length;E++){if(C[E].name!==w[E].name||C[E].value!==w[E].value||C[E].constraints===void 0&&w[E].constraints!==void 0||C[E].constraints!==void 0&&w[E].constraints===void 0)return!1;if(C[E].constraints!==void 0&&w[E].constraints!==void 0){if(C[E].constraints.length!==w[E].constraints.length)return!1;for(var A=0;A<C[E].constraints.length;A++)if(C[E].constraints[A]!==w[E].constraints[A])return!1}}}return!0}l(P,"ariaRoleRelationConceptAttributeEquals"),e.default=(0,t.default)(v,v.entries())}),jF=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ka()),r=n(Xf());function n(P){return P&&P.__esModule?P:{default:P}}l(n,"_interopRequireDefault");function o(P,C){return u(P)||c(P,C)||i(P,C)||a()}l(o,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
202
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(a,"_nonIterableRest");function i(P,C){if(P){if(typeof P=="string")return s(P,C);var w={}.toString.call(P).slice(8,-1);return w==="Object"&&P.constructor&&(w=P.constructor.name),w==="Map"||w==="Set"?Array.from(P):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?s(P,C):void 0}}l(i,"_unsupportedIterableToArray");function s(P,C){(C==null||C>P.length)&&(C=P.length);for(var w=0,E=Array(C);w<C;w++)E[w]=P[w];return E}l(s,"_arrayLikeToArray");function c(P,C){var w=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(w!=null){var E,A,k,j,L=[],F=!0,T=!1;try{if(k=(w=w.call(P)).next,C===0){if(Object(w)!==w)return;F=!1}else for(;!(F=(E=k.call(w)).done)&&(L.push(E.value),L.length!==C);F=!0);}catch(R){T=!0,A=R}finally{try{if(!F&&w.return!=null&&(j=w.return(),Object(j)!==j))return}finally{if(T)throw A}}return L}}l(c,"_iterableToArrayLimit");function u(P){if(Array.isArray(P))return P}l(u,"_arrayWithHoles");var d=[],p=r.default.keys();for(S=0;S<p.length;S++)if(h=p[S],f=r.default.get(h),m=[],f){for(g=[].concat(f.baseConcepts,f.relatedConcepts),v=0;v<g.length;v++)y=g[v],y.module==="HTML"&&(b=y.concept,b!=null&&m.push(b));m.length>0&&d.push([h,m])}var h,f,m,g,y,b,v,S,x={entries:l(function(){return d},"entries"),forEach:l(function(P){for(var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=0,E=d;w<E.length;w++){var A=o(E[w],2),k=A[0],j=A[1];P.call(C,j,k,d)}},"forEach"),get:l(function(P){var C=d.filter(function(w){return w[0]===P})[0];return C&&C[1]},"get"),has:l(function(P){return!!x.get(P)},"has"),keys:l(function(){return d.map(function(P){var C=o(P,1),w=C[0];return w})},"keys"),values:l(function(){return d.map(function(P){var C=o(P,2),w=C[1];return w})},"values")};e.default=(0,t.default)(x,x.entries())}),eE=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(KI()),r=i(YI()),n=i(Xf()),o=i(RF()),a=i(jF());function i(s){return s&&s.__esModule?s:{default:s}}l(i,"_interopRequireDefault"),e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=o.default,e.roleElements=a.default}),qF=O((e,t)=>{t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),tE=O((e,t)=>{var r=qF(),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),h=p-d,f,m;p===d?f=0:s===p?f=(c-u)/h:c===p?f=2+(u-s)/h:u===p&&(f=4+(s-c)/h),f=Math.min(f*60,360),f<0&&(f+=360);let g=(d+p)/2;return p===d?m=0:g<=.5?m=h/(p+d):m=h/(2-p-d),[f,m*100,g*100]},o.rgb.hsv=function(i){let s,c,u,d,p,h=i[0]/255,f=i[1]/255,m=i[2]/255,g=Math.max(h,f,m),y=g-Math.min(h,f,m),b=l(function(v){return(g-v)/6/y+1/2},"diffc");return y===0?(d=0,p=0):(p=y/g,s=b(h),c=b(f),u=b(m),h===g?d=u-c:f===g?d=1/3+s-u:m===g&&(d=2/3+c-s),d<0?d+=1:d>1&&(d-=1)),[d*360,p*100,g*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,h=(1-c-d)/(1-d)||0,f=(1-u-d)/(1-d)||0;return[p*100,h*100,f*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],h=a(i,p);h<c&&(c=h,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,h=s*.0193+c*.1192+u*.9505;return[d*100,p*100,h*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,h=500*(c-u),f=200*(u-d);return[p,h,f]},o.hsl.rgb=function(i){let s=i[0]/360,c=i[1]/100,u=i[2]/100,d,p,h;if(c===0)return h=u*255,[h,h,h];u<.5?d=u*(1+c):d=u+c-u*c;let f=2*u-d,m=[0,0,0];for(let g=0;g<3;g++)p=s+1/3*-(g-1),p<0&&p++,p>1&&p--,6*p<1?h=f+(d-f)*6*p:2*p<1?h=d:3*p<2?h=f+(d-f)*(2/3-p)*6:h=f,m[g]=h*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 h=(u+c)/2,f=u===0?2*d/(p+d):2*c/(u+c);return[s,f*100,h*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),h=255*u*(1-c),f=255*u*(1-c*p),m=255*u*(1-c*(1-p));switch(u*=255,d){case 0:return[u,m,h];case 1:return[f,u,h];case 2:return[h,u,m];case 3:return[h,f,u];case 4:return[m,h,u];case 5:return[u,h,f]}},o.hsv.hsl=function(i){let s=i[0],c=i[1]/100,u=i[2]/100,d=Math.max(u,.01),p,h;h=(2-c)*u;let f=(2-c)*d;return p=c*d,p/=f<=1?f:2-f,p=p||0,h/=2,[s,p*100,h*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 h=Math.floor(6*s),f=1-u;p=6*s-h,(h&1)!==0&&(p=1-p);let m=c+p*(f-c),g,y,b;switch(h){default:case 6:case 0:g=f,y=m,b=c;break;case 1:g=m,y=f,b=c;break;case 2:g=c,y=f,b=m;break;case 3:g=c,y=m,b=f;break;case 4:g=m,y=c,b=f;break;case 5:g=f,y=c,b=m;break}return[g*255,y*255,b*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),h=1-Math.min(1,c*(1-d)+d),f=1-Math.min(1,u*(1-d)+d);return[p*255,h*255,f*255]},o.xyz.rgb=function(i){let s=i[0]/100,c=i[1]/100,u=i[2]/100,d,p,h;return d=s*3.2406+c*-1.5372+u*-.4986,p=s*-.9689+c*1.8758+u*.0415,h=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,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),[d*255,p*255,h*255]},o.xyz.lab=function(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),h=200*(c-u);return[d,p,h]},o.lab.xyz=function(i){let s=i[0],c=i[1],u=i[2],d,p,h;p=(s+16)/116,d=c/500+p,h=p-u/200;let f=p**3,m=d**3,g=h**3;return p=f>.008856?f:(p-16/116)/7.787,d=m>.008856?m:(d-16/116)/7.787,h=g>.008856?g:(h-16/116)/7.787,d*=95.047,p*=100,h*=108.883,[d,p,h]},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 h=30+(Math.round(d/255)<<2|Math.round(u/255)<<1|Math.round(c/255));return p===2&&(h+=60),h},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(f=>f+f).join(""));let u=parseInt(c,16),d=u>>16&255,p=u>>8&255,h=u&255;return[d,p,h]},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),h=d-p,f,m;return h<1?f=p/(1-h):f=0,h<=0?m=0:d===s?m=(c-u)/h%6:d===c?m=2+(u-s)/h:m=4+(s-c)/h,m/=6,m%=1,[m*360,h*100,f*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,h=p%1,f=1-h,m=0;switch(Math.floor(p)){case 0:d[0]=1,d[1]=h,d[2]=0;break;case 1:d[0]=f,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=h;break;case 3:d[0]=0,d[1]=f,d[2]=1;break;case 4:d[0]=h,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=f}return m=(1-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]}}),MF=O((e,t)=>{var r=tE();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 h=p.length,f=0;f<h;f++){let m=p[f],g=c[m];g.distance===-1&&(g.distance=c[d].distance+1,g.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,h=0;h<p;h++){let f=d[h];c[f].parent!==null&&(u[f]=i(f,c))}return u}}),kF=O((e,t)=>{var r=tE(),n=MF(),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 h=c(d);if(typeof h=="object")for(let f=h.length,m=0;m<f;m++)h[m]=Math.round(h[m]);return h},"wrappedFn");return"conversion"in 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}),IF=O((e,t)=>{var r=l((p,h)=>(...f)=>`\x1B[${p(...f)+h}m`,"wrapAnsi16"),n=l((p,h)=>(...f)=>{let m=p(...f);return`\x1B[${38+h};5;${m}m`},"wrapAnsi256"),o=l((p,h)=>(...f)=>{let m=p(...f);return`\x1B[${38+h};2;${m[0]};${m[1]};${m[2]}m`},"wrapAnsi16m"),a=l(p=>p,"ansi2ansi"),i=l((p,h,f)=>[p,h,f],"rgb2rgb"),s=l((p,h,f)=>{Object.defineProperty(p,h,{get:l(()=>{let m=f();return Object.defineProperty(p,h,{value:m,enumerable:!0,configurable:!0}),m},"get"),enumerable:!0,configurable:!0})},"setLazyProperty"),c,u=l((p,h,f,m)=>{c===void 0&&(c=kF());let g=m?10:0,y={};for(let[b,v]of Object.entries(c)){let S=b==="ansi16"?"ansi":b;b===h?y[S]=p(f,g):typeof v=="object"&&(y[S]=p(v[h],g))}return y},"makeDynamicStyles");function d(){let p=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[f,m]of Object.entries(h)){for(let[g,y]of Object.entries(m))h[g]={open:`\x1B[${y[0]}m`,close:`\x1B[${y[1]}m`},m[g]=h[g],p.set(y[0],y[1]);Object.defineProperty(h,f,{value:m,enumerable:!1})}return Object.defineProperty(h,"codes",{value:p,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",s(h.color,"ansi",()=>u(r,"ansi16",a,!1)),s(h.color,"ansi256",()=>u(n,"ansi256",a,!1)),s(h.color,"ansi16m",()=>u(o,"rgb",i,!1)),s(h.bgColor,"ansi",()=>u(r,"ansi16",a,!0)),s(h.bgColor,"ansi256",()=>u(n,"ansi256",a,!0)),s(h.bgColor,"ansi16m",()=>u(o,"rgb",i,!0)),h}l(d,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:d})}),NF=O((e,t)=>{t.exports={stdout:!1,stderr:!1}}),DF=O((e,t)=>{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
|
|
203
|
-
`:`
|
|
204
|
-
`)+i,c=s+1,s=o.indexOf(`
|
|
205
|
-
`,c)}while(s!==-1);return u+=o.substr(c),u},"stringEncaseCRLFWithFirstIndex");t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}),FF=O((e,t)=>{var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,a=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n",`
|
|
206
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function s(p){let h=p[0]==="u",f=p[1]==="{";return h&&!f&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):h&&f?String.fromCodePoint(parseInt(p.slice(2,-1),16)):i.get(p)||p}l(s,"unescape");function c(p,h){let f=[],m=h.trim().split(/\s*,\s*/g),g;for(let y of m){let b=Number(y);if(!Number.isNaN(b))f.push(b);else if(g=y.match(o))f.push(g[2].replace(a,(v,S,x)=>S?s(S):x));else throw new Error(`Invalid Chalk template style argument: ${y} (in style '${p}')`)}return f}l(c,"parseArguments");function u(p){n.lastIndex=0;let h=[],f;for(;(f=n.exec(p))!==null;){let m=f[1];if(f[2]){let g=c(m,f[2]);h.push([m].concat(g))}else h.push([m])}return h}l(u,"parseStyle");function d(p,h){let f={};for(let g of h)for(let y of g.styles)f[y[0]]=g.inverse?null:y.slice(1);let m=p;for(let[g,y]of Object.entries(f))if(Array.isArray(y)){if(!(g in m))throw new Error(`Unknown Chalk style: ${g}`);m=y.length>0?m[g](...y):m[g]}return m}l(d,"buildStyle"),t.exports=(p,h)=>{let f=[],m=[],g=[];if(h.replace(r,(y,b,v,S,x,P)=>{if(b)g.push(s(b));else if(S){let C=g.join("");g=[],m.push(f.length===0?C:d(p,f)(C)),f.push({inverse:v,styles:u(S)})}else if(x){if(f.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(d(p,f)(g.join(""))),g=[],f.pop()}else g.push(P)}),m.push(g.join("")),f.length>0){let y=`Chalk template literal is missing ${f.length} closing bracket${f.length===1?"":"s"} (\`}\`)`;throw new Error(y)}return m.join("")}}),rE=O((e,t)=>{var r=IF(),{stdout:n,stderr:o}=NF(),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:i}=DF(),s=["ansi","ansi","ansi256","ansi16m"],c=Object.create(null),u=l((C,w={})=>{if(w.level>3||w.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let E=n?n.level:0;C.level=w.level===void 0?E:w.level},"applyOptions"),d=class{constructor(w){return h(w)}};l(d,"ChalkClass");var p=d,h=l(C=>{let w={};return u(w,C),w.template=(...E)=>x(w.template,...E),Object.setPrototypeOf(w,f.prototype),Object.setPrototypeOf(w.template,w),w.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},w.template.Instance=p,w.template},"chalkFactory");function f(C){return h(C)}l(f,"Chalk");for(let[C,w]of Object.entries(r))c[C]={get(){let E=b(this,y(w.open,w.close,this._styler),this._isEmpty);return Object.defineProperty(this,C,{value:E}),E}};c.visible={get(){let C=b(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:C}),C}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let C of m)c[C]={get(){let{level:w}=this;return function(...E){let A=y(r.color[s[w]][C](...E),r.color.close,this._styler);return b(this,A,this._isEmpty)}}};for(let C of m){let w="bg"+C[0].toUpperCase()+C.slice(1);c[w]={get(){let{level:E}=this;return function(...A){let k=y(r.bgColor[s[E]][C](...A),r.bgColor.close,this._styler);return b(this,k,this._isEmpty)}}}}var g=Object.defineProperties(()=>{},{...c,level:{enumerable:!0,get(){return this._generator.level},set(C){this._generator.level=C}}}),y=l((C,w,E)=>{let A,k;return E===void 0?(A=C,k=w):(A=E.openAll+C,k=w+E.closeAll),{open:C,close:w,openAll:A,closeAll:k,parent:E}},"createStyler"),b=l((C,w,E)=>{let A=l((...k)=>v(A,k.length===1?""+k[0]:k.join(" ")),"builder");return A.__proto__=g,A._generator=C,A._styler=w,A._isEmpty=E,A},"createBuilder"),v=l((C,w)=>{if(C.level<=0||!w)return C._isEmpty?"":w;let E=C._styler;if(E===void 0)return w;let{openAll:A,closeAll:k}=E;if(w.indexOf("\x1B")!==-1)for(;E!==void 0;)w=a(w,E.close,E.open),E=E.parent;let j=w.indexOf(`
|
|
207
|
-
`);return j!==-1&&(w=i(w,k,A,j)),A+w+k},"applyStyle"),S,x=l((C,...w)=>{let[E]=w;if(!Array.isArray(E))return w.join(" ");let A=w.slice(1),k=[E.raw[0]];for(let j=1;j<E.length;j++)k.push(String(A[j-1]).replace(/[{}\\]/g,"\\$&"),String(E.raw[j]));return S===void 0&&(S=FF()),S(C,k.join(""))},"chalkTag");Object.defineProperties(f.prototype,c);var P=f();P.supportsColor=n,P.stderr=f({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}),LF=O((e,t)=>{function r(){this.__data__=[],this.size=0}l(r,"listCacheClear"),t.exports=r}),nE=O((e,t)=>{function r(n,o){return n===o||n!==n&&o!==o}l(r,"eq"),t.exports=r}),ul=O((e,t)=>{var r=nE();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}),BF=O((e,t)=>{var r=ul(),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}),HF=O((e,t)=>{var r=ul();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}),UF=O((e,t)=>{var r=ul();function n(o){return r(this.__data__,o)>-1}l(n,"listCacheHas"),t.exports=n}),VF=O((e,t)=>{var r=ul();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}),cl=O((e,t)=>{var r=LF(),n=BF(),o=HF(),a=UF(),i=VF();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}),zF=O((e,t)=>{var r=cl();function n(){this.__data__=new r,this.size=0}l(n,"stackClear"),t.exports=n}),WF=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}),GF=O((e,t)=>{function r(n){return this.__data__.get(n)}l(r,"stackGet"),t.exports=r}),KF=O((e,t)=>{function r(n){return this.__data__.has(n)}l(r,"stackHas"),t.exports=r}),oE=O((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),Cr=O((e,t)=>{var r=oE(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}),Jf=O((e,t)=>{var r=Cr(),n=r.Symbol;t.exports=n}),YF=O((e,t)=>{var r=Jf(),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{}var h=a.call(c);return p&&(u?c[i]=d:delete c[i]),h}l(s,"getRawTag"),t.exports=s}),XF=O((e,t)=>{var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}l(o,"objectToString"),t.exports=o}),dl=O((e,t)=>{var r=Jf(),n=YF(),o=XF(),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}),aE=O((e,t)=>{function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}l(r,"isObject"),t.exports=r}),iE=O((e,t)=>{var r=dl(),n=aE(),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}),JF=O((e,t)=>{var r=Cr(),n=r["__core-js_shared__"];t.exports=n}),ZF=O((e,t)=>{var r=JF(),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}),sE=O((e,t)=>{var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return""}l(o,"toSource"),t.exports=o}),QF=O((e,t)=>{var r=iE(),n=ZF(),o=aE(),a=sE(),i=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,d=c.toString,p=u.hasOwnProperty,h=RegExp("^"+d.call(p).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(m){if(!o(m)||n(m))return!1;var g=r(m)?h:s;return g.test(a(m))}l(f,"baseIsNative"),t.exports=f}),e4=O((e,t)=>{function r(n,o){return n==null?void 0:n[o]}l(r,"getValue"),t.exports=r}),Ro=O((e,t)=>{var r=QF(),n=e4();function o(a,i){var s=n(a,i);return r(s)?s:void 0}l(o,"getNative"),t.exports=o}),Zf=O((e,t)=>{var r=Ro(),n=Cr(),o=r(n,"Map");t.exports=o}),pl=O((e,t)=>{var r=Ro(),n=r(Object,"create");t.exports=n}),t4=O((e,t)=>{var r=pl();function n(){this.__data__=r?r(null):{},this.size=0}l(n,"hashClear"),t.exports=n}),r4=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}),n4=O((e,t)=>{var r=pl(),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}),o4=O((e,t)=>{var r=pl(),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}),a4=O((e,t)=>{var r=pl(),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}),i4=O((e,t)=>{var r=t4(),n=r4(),o=n4(),a=o4(),i=a4();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}),s4=O((e,t)=>{var r=i4(),n=cl(),o=Zf();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}l(a,"mapCacheClear"),t.exports=a}),l4=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}),fl=O((e,t)=>{var r=l4();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}),u4=O((e,t)=>{var r=fl();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}l(n,"mapCacheDelete"),t.exports=n}),c4=O((e,t)=>{var r=fl();function n(o){return r(this,o).get(o)}l(n,"mapCacheGet"),t.exports=n}),d4=O((e,t)=>{var r=fl();function n(o){return r(this,o).has(o)}l(n,"mapCacheHas"),t.exports=n}),p4=O((e,t)=>{var r=fl();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}),lE=O((e,t)=>{var r=s4(),n=u4(),o=c4(),a=d4(),i=p4();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}),f4=O((e,t)=>{var r=cl(),n=Zf(),o=lE(),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}),h4=O((e,t)=>{var r=cl(),n=zF(),o=WF(),a=GF(),i=KF(),s=f4();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}),m4=O((e,t)=>{var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}l(n,"setCacheAdd"),t.exports=n}),g4=O((e,t)=>{function r(n){return this.__data__.has(n)}l(r,"setCacheHas"),t.exports=r}),b4=O((e,t)=>{var r=lE(),n=m4(),o=g4();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}),y4=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}),v4=O((e,t)=>{function r(n,o){return n.has(o)}l(r,"cacheHas"),t.exports=r}),uE=O((e,t)=>{var r=b4(),n=y4(),o=v4(),a=1,i=2;function s(c,u,d,p,h,f){var m=d&a,g=c.length,y=u.length;if(g!=y&&!(m&&y>g))return!1;var b=f.get(c),v=f.get(u);if(b&&v)return b==u&&v==c;var S=-1,x=!0,P=d&i?new r:void 0;for(f.set(c,u),f.set(u,c);++S<g;){var C=c[S],w=u[S];if(p)var E=m?p(w,C,S,u,c,f):p(C,w,S,c,u,f);if(E!==void 0){if(E)continue;x=!1;break}if(P){if(!n(u,function(A,k){if(!o(P,k)&&(C===A||h(C,A,d,p,f)))return P.push(k)})){x=!1;break}}else if(!(C===w||h(C,w,d,p,f))){x=!1;break}}return f.delete(c),f.delete(u),x}l(s,"equalArrays"),t.exports=s}),w4=O((e,t)=>{var r=Cr(),n=r.Uint8Array;t.exports=n}),E4=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}),C4=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}),x4=O((e,t)=>{var r=Jf(),n=w4(),o=nE(),a=uE(),i=E4(),s=C4(),c=1,u=2,d="[object Boolean]",p="[object Date]",h="[object Error]",f="[object Map]",m="[object Number]",g="[object RegExp]",y="[object Set]",b="[object String]",v="[object Symbol]",S="[object ArrayBuffer]",x="[object DataView]",P=r?r.prototype:void 0,C=P?P.valueOf:void 0;function w(E,A,k,j,L,F,T){switch(k){case x:if(E.byteLength!=A.byteLength||E.byteOffset!=A.byteOffset)return!1;E=E.buffer,A=A.buffer;case S:return!(E.byteLength!=A.byteLength||!F(new n(E),new n(A)));case d:case p:case m:return o(+E,+A);case h:return E.name==A.name&&E.message==A.message;case g:case b:return E==A+"";case f:var R=i;case y:var N=j&c;if(R||(R=s),E.size!=A.size&&!N)return!1;var W=T.get(E);if(W)return W==A;j|=u,T.set(E,A);var K=a(R(E),R(A),j,L,F,T);return T.delete(E),K;case v:if(C)return C.call(E)==C.call(A)}return!1}l(w,"equalByTag"),t.exports=w}),S4=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}),Qf=O((e,t)=>{var r=Array.isArray;t.exports=r}),A4=O((e,t)=>{var r=S4(),n=Qf();function o(a,i,s){var c=i(a);return n(a)?c:r(c,s(a))}l(o,"baseGetAllKeys"),t.exports=o}),P4=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}),O4=O((e,t)=>{function r(){return[]}l(r,"stubArray"),t.exports=r}),_4=O((e,t)=>{var r=P4(),n=O4(),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}),T4=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}),hl=O((e,t)=>{function r(n){return n!=null&&typeof n=="object"}l(r,"isObjectLike"),t.exports=r}),$4=O((e,t)=>{var r=dl(),n=hl(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}l(a,"baseIsArguments"),t.exports=a}),R4=O((e,t)=>{var r=$4(),n=hl(),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}),j4=O((e,t)=>{function r(){return!1}l(r,"stubFalse"),t.exports=r}),cE=O((e,t)=>{var r=Cr(),n=j4(),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}),q4=O((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var s=typeof a;return i=i??r,!!i&&(s=="number"||s!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a<i}l(o,"isIndex"),t.exports=o}),dE=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}),M4=O((e,t)=>{var r=dl(),n=dE(),o=hl(),a="[object Arguments]",i="[object Array]",s="[object Boolean]",c="[object Date]",u="[object Error]",d="[object Function]",p="[object Map]",h="[object Number]",f="[object Object]",m="[object RegExp]",g="[object Set]",y="[object String]",b="[object WeakMap]",v="[object ArrayBuffer]",S="[object DataView]",x="[object Float32Array]",P="[object Float64Array]",C="[object Int8Array]",w="[object Int16Array]",E="[object Int32Array]",A="[object Uint8Array]",k="[object Uint8ClampedArray]",j="[object Uint16Array]",L="[object Uint32Array]",F={};F[x]=F[P]=F[C]=F[w]=F[E]=F[A]=F[k]=F[j]=F[L]=!0,F[a]=F[i]=F[v]=F[s]=F[S]=F[c]=F[u]=F[d]=F[p]=F[h]=F[f]=F[m]=F[g]=F[y]=F[b]=!1;function T(R){return o(R)&&n(R.length)&&!!F[r(R)]}l(T,"baseIsTypedArray"),t.exports=T}),k4=O((e,t)=>{function r(n){return function(o){return n(o)}}l(r,"baseUnary"),t.exports=r}),I4=O((e,t)=>{var r=oE(),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{}}();t.exports=s}),pE=O((e,t)=>{var r=M4(),n=k4(),o=I4(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i}),N4=O((e,t)=>{var r=T4(),n=R4(),o=Qf(),a=cE(),i=q4(),s=pE(),c=Object.prototype,u=c.hasOwnProperty;function d(p,h){var f=o(p),m=!f&&n(p),g=!f&&!m&&a(p),y=!f&&!m&&!g&&s(p),b=f||m||g||y,v=b?r(p.length,String):[],S=v.length;for(var x in p)(h||u.call(p,x))&&!(b&&(x=="length"||g&&(x=="offset"||x=="parent")||y&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||i(x,S)))&&v.push(x);return v}l(d,"arrayLikeKeys"),t.exports=d}),D4=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}),F4=O((e,t)=>{function r(n,o){return function(a){return n(o(a))}}l(r,"overArg"),t.exports=r}),L4=O((e,t)=>{var r=F4(),n=r(Object.keys,Object);t.exports=n}),B4=O((e,t)=>{var r=D4(),n=L4(),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}),H4=O((e,t)=>{var r=iE(),n=dE();function o(a){return a!=null&&n(a.length)&&!r(a)}l(o,"isArrayLike"),t.exports=o}),U4=O((e,t)=>{var r=N4(),n=B4(),o=H4();function a(i){return o(i)?r(i):n(i)}l(a,"keys"),t.exports=a}),V4=O((e,t)=>{var r=A4(),n=_4(),o=U4();function a(i){return r(i,o,n)}l(a,"getAllKeys"),t.exports=a}),z4=O((e,t)=>{var r=V4(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(s,c,u,d,p,h){var f=u&n,m=r(s),g=m.length,y=r(c),b=y.length;if(g!=b&&!f)return!1;for(var v=g;v--;){var S=m[v];if(!(f?S in c:a.call(c,S)))return!1}var x=h.get(s),P=h.get(c);if(x&&P)return x==c&&P==s;var C=!0;h.set(s,c),h.set(c,s);for(var w=f;++v<g;){S=m[v];var E=s[S],A=c[S];if(d)var k=f?d(A,E,S,c,s,h):d(E,A,S,s,c,h);if(!(k===void 0?E===A||p(E,A,u,d,h):k)){C=!1;break}w||(w=S=="constructor")}if(C&&!w){var j=s.constructor,L=c.constructor;j!=L&&"constructor"in s&&"constructor"in c&&!(typeof j=="function"&&j instanceof j&&typeof L=="function"&&L instanceof L)&&(C=!1)}return h.delete(s),h.delete(c),C}l(i,"equalObjects"),t.exports=i}),W4=O((e,t)=>{var r=Ro(),n=Cr(),o=r(n,"DataView");t.exports=o}),G4=O((e,t)=>{var r=Ro(),n=Cr(),o=r(n,"Promise");t.exports=o}),K4=O((e,t)=>{var r=Ro(),n=Cr(),o=r(n,"Set");t.exports=o}),Y4=O((e,t)=>{var r=Ro(),n=Cr(),o=r(n,"WeakMap");t.exports=o}),X4=O((e,t)=>{var r=W4(),n=Zf(),o=G4(),a=K4(),i=Y4(),s=dl(),c=sE(),u="[object Map]",d="[object Object]",p="[object Promise]",h="[object Set]",f="[object WeakMap]",m="[object DataView]",g=c(r),y=c(n),b=c(o),v=c(a),S=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)!=h||i&&x(new i)!=f)&&(x=l(function(P){var C=s(P),w=C==d?P.constructor:void 0,E=w?c(w):"";if(E)switch(E){case g:return m;case y:return u;case b:return p;case v:return h;case S:return f}return C},"getTag")),t.exports=x}),J4=O((e,t)=>{var r=h4(),n=uE(),o=x4(),a=z4(),i=X4(),s=Qf(),c=cE(),u=pE(),d=1,p="[object Arguments]",h="[object Array]",f="[object Object]",m=Object.prototype,g=m.hasOwnProperty;function y(b,v,S,x,P,C){var w=s(b),E=s(v),A=w?h:i(b),k=E?h:i(v);A=A==p?f:A,k=k==p?f:k;var j=A==f,L=k==f,F=A==k;if(F&&c(b)){if(!c(v))return!1;w=!0,j=!1}if(F&&!j)return C||(C=new r),w||u(b)?n(b,v,S,x,P,C):o(b,v,A,S,x,P,C);if(!(S&d)){var T=j&&g.call(b,"__wrapped__"),R=L&&g.call(v,"__wrapped__");if(T||R){var N=T?b.value():b,W=R?v.value():v;return C||(C=new r),P(N,W,S,x,C)}}return F?(C||(C=new r),a(b,v,S,x,P,C)):!1}l(y,"baseIsEqualDeep"),t.exports=y}),Z4=O((e,t)=>{var r=J4(),n=hl();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}),fE=O((e,t)=>{var r=Z4();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}),hE=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+="�";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})}),mE=O((e,t)=>{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})}),ml=O(e=>{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,h=": "){let f="",m=i.next();if(!m.done){f+=s.spacingOuter;let g=c+s.indent;for(;!m.done;){let y=p(m.value[0],s,g,u,d),b=p(m.value[1],s,g,u,d);f+=g+y+h+b,m=i.next(),m.done?s.min||(f+=","):f+=","+s.spacingInner}f+=s.spacingOuter+c}return f}l(r,"printIteratorEntries");function n(i,s,c,u,d,p){let h="",f=i.next();if(!f.done){h+=s.spacingOuter;let m=c+s.indent;for(;!f.done;)h+=m+p(f.value,s,m,u,d),f=i.next(),f.done?s.min||(h+=","):h+=","+s.spacingInner;h+=s.spacingOuter+c}return h}l(n,"printIteratorValues");function o(i,s,c,u,d,p){let h="";if(i.length){h+=s.spacingOuter;let f=c+s.indent;for(let m=0;m<i.length;m++)h+=f,m in i&&(h+=p(i[m],s,f,u,d)),m<i.length-1?h+=","+s.spacingInner:s.min||(h+=",");h+=s.spacingOuter+c}return h}l(o,"printListItems");function a(i,s,c,u,d,p){let h="",f=t(i,s.compareKeys);if(f.length){h+=s.spacingOuter;let m=c+s.indent;for(let g=0;g<f.length;g++){let y=f[g],b=p(y,s,m,u,d),v=p(i[y],s,m,u,d);h+=m+b+": "+v,g<f.length-1?h+=","+s.spacingInner:s.min||(h+=",")}h+=s.spacingOuter+c}return h}l(a,"printObjectProperties")}),Q4=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ml(),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,h,f,m,g)=>{let y=d.toString();return y==="ArrayContaining"||y==="ArrayNotContaining"?++f>p.maxDepth?"["+y+"]":y+a+"["+(0,t.printListItems)(d.sample,p,h,f,m,g)+"]":y==="ObjectContaining"||y==="ObjectNotContaining"?++f>p.maxDepth?"["+y+"]":y+a+"{"+(0,t.printObjectProperties)(d.sample,p,h,f,m,g)+"}":y==="StringMatching"||y==="StringNotMatching"||y==="StringContaining"||y==="StringNotContaining"?y+a+g(d.sample,p,h,f,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}),e6=O((e,t)=>{t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}),t6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(e6()),r=n(mE());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,h,f,m)=>m(o(u),d,p,h,f),"serialize");e.serialize=i;var s={serialize:i,test:a},c=s;e.default=c}),r6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ml(),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,h,f,m,g,y)=>{let b=p.constructor.name;return++m>h.maxDepth?"["+b+"]":(h.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(s(p)?Array.from(p).reduce((v,S)=>(v[S.name]=S.value,v),{}):{...p},h,f,m,g,y)+"}":"["+(0,t.printListItems)(Array.from(p),h,f,m,g,y)+"]")},"serialize");e.serialize=c;var u={serialize:c,test:i},d=u;e.default=d}),n6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}l(t,"escapeHTML")}),eh=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(n6());function r(u){return u&&u.__esModule?u:{default:u}}l(r,"_interopRequireDefault");var n=l((u,d,p,h,f,m,g)=>{let y=h+p.indent,b=p.colors;return u.map(v=>{let S=d[v],x=g(S,p,y,f,m);return typeof S!="string"&&(x.indexOf(`
|
|
208
|
-
`)!==-1&&(x=p.spacingOuter+y+x+p.spacingOuter+h),x="{"+x+"}"),p.spacingInner+h+b.prop.open+v+b.prop.close+"="+b.value.open+x+b.value.close}).join("")},"printProps");e.printProps=n;var o=l((u,d,p,h,f,m)=>u.map(g=>d.spacingOuter+p+(typeof g=="string"?a(g,d):m(g,d,p,h,f))).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,h,f)=>{let m=h.colors.tag;return m.open+"<"+u+(d&&m.close+d+h.spacingOuter+f+m.open)+(p?">"+m.close+p+h.spacingOuter+f+m.open+"</"+u:(d&&!h.min?"":" ")+"/")+">"+m.close},"printElement");e.printElement=s;var c=l((u,d)=>{let p=d.colors.tag;return p.open+"<"+u+p.close+" …"+p.open+" />"+p.close},"printElementAsLeaf");e.printElementAsLeaf=c}),o6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=eh(),r=1,n=3,o=8,a=11,i=/^((HTML|SVG)\w*)?Element$/,s=l(y=>{try{return typeof y.hasAttribute=="function"&&y.hasAttribute("is")}catch{return!1}},"testHasAttribute"),c=l(y=>{let b=y.constructor.name,{nodeType:v,tagName:S}=y,x=typeof S=="string"&&S.includes("-")||s(y);return v===r&&(i.test(b)||x)||v===n&&b==="Text"||v===o&&b==="Comment"||v===a&&b==="DocumentFragment"},"testNode"),u=l(y=>{var b;return(y==null||(b=y.constructor)===null||b===void 0?void 0:b.name)&&c(y)},"test");e.test=u;function d(y){return y.nodeType===n}l(d,"nodeIsText");function p(y){return y.nodeType===o}l(p,"nodeIsComment");function h(y){return y.nodeType===a}l(h,"nodeIsFragment");var f=l((y,b,v,S,x,P)=>{if(d(y))return(0,t.printText)(y.data,b);if(p(y))return(0,t.printComment)(y.data,b);let C=h(y)?"DocumentFragment":y.tagName.toLowerCase();return++S>b.maxDepth?(0,t.printElementAsLeaf)(C,b):(0,t.printElement)(C,(0,t.printProps)(h(y)?[]:Array.from(y.attributes).map(w=>w.name).sort(),h(y)?{}:Array.from(y.attributes).reduce((w,E)=>(w[E.name]=E.value,w),{}),b,v+b.indent,S,x,P),(0,t.printChildren)(Array.prototype.slice.call(y.childNodes||y.children),b,v+b.indent,S,x,P),b,v)},"serialize");e.serialize=f;var m={serialize:f,test:u},g=m;e.default=g}),a6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ml(),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(E=>"Immutable."+E,"getImmutableName"),h=l(E=>"["+E+"]","printAsLeaf"),f=" ",m="…",g=l((E,A,k,j,L,F,T)=>++j>A.maxDepth?h(p(T)):p(T)+f+"{"+(0,t.printIteratorEntries)(E.entries(),A,k,j,L,F)+"}","printImmutableEntries");function y(E){let A=0;return{next(){if(A<E._keys.length){let k=E._keys[A++];return{done:!1,value:[k,E.get(k)]}}return{done:!0,value:void 0}}}}l(y,"getRecordEntries");var b=l((E,A,k,j,L,F)=>{let T=p(E._name||"Record");return++j>A.maxDepth?h(T):T+f+"{"+(0,t.printIteratorEntries)(y(E),A,k,j,L,F)+"}"},"printImmutableRecord"),v=l((E,A,k,j,L,F)=>{let T=p("Seq");return++j>A.maxDepth?h(T):E[o]?T+f+"{"+(E._iter||E._object?(0,t.printIteratorEntries)(E.entries(),A,k,j,L,F):m)+"}":T+f+"["+(E._iter||E._array||E._collection||E._iterable?(0,t.printIteratorValues)(E.values(),A,k,j,L,F):m)+"]"},"printImmutableSeq"),S=l((E,A,k,j,L,F,T)=>++j>A.maxDepth?h(p(T)):p(T)+f+"["+(0,t.printIteratorValues)(E.values(),A,k,j,L,F)+"]","printImmutableValues"),x=l((E,A,k,j,L,F)=>E[a]?g(E,A,k,j,L,F,E[i]?"OrderedMap":"Map"):E[n]?S(E,A,k,j,L,F,"List"):E[u]?S(E,A,k,j,L,F,E[i]?"OrderedSet":"Set"):E[d]?S(E,A,k,j,L,F,"Stack"):E[c]?v(E,A,k,j,L,F):b(E,A,k,j,L,F),"serialize");e.serialize=x;var P=l(E=>E&&(E[r]===!0||E[s]===!0),"test");e.test=P;var C={serialize:x,test:P},w=C;e.default=w}),i6=O(e=>{(function(){var t=60103,r=60106,n=60107,o=60108,a=60114,i=60109,s=60110,c=60112,u=60113,d=60120,p=60115,h=60116,f=60121,m=60122,g=60117,y=60129,b=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;t=v("react.element"),r=v("react.portal"),n=v("react.fragment"),o=v("react.strict_mode"),a=v("react.profiler"),i=v("react.provider"),s=v("react.context"),c=v("react.forward_ref"),u=v("react.suspense"),d=v("react.suspense_list"),p=v("react.memo"),h=v("react.lazy"),f=v("react.block"),m=v("react.server.block"),g=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),y=v("react.debug_trace_mode"),v("react.offscreen"),b=v("react.legacy_hidden")}var S=!1;function x(X){return!!(typeof X=="string"||typeof X=="function"||X===n||X===a||X===y||X===o||X===u||X===d||X===b||S||typeof X=="object"&&X!==null&&(X.$$typeof===h||X.$$typeof===p||X.$$typeof===i||X.$$typeof===s||X.$$typeof===c||X.$$typeof===g||X.$$typeof===f||X[0]===m))}l(x,"isValidElementType");function P(X){if(typeof X=="object"&&X!==null){var ne=X.$$typeof;switch(ne){case t:var V=X.type;switch(V){case n:case a:case o:case u:case d:return V;default:var se=V&&V.$$typeof;switch(se){case s:case c:case h:case p:case i:return se;default:return ne}}case r:return ne}}}l(P,"typeOf");var C=s,w=i,E=t,A=c,k=n,j=h,L=p,F=r,T=a,R=o,N=u,W=!1,K=!1;function ee(X){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}l(ee,"isAsyncMode");function re(X){return K||(K=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}l(re,"isConcurrentMode");function oe(X){return P(X)===s}l(oe,"isContextConsumer");function Y(X){return P(X)===i}l(Y,"isContextProvider");function G(X){return typeof X=="object"&&X!==null&&X.$$typeof===t}l(G,"isElement");function J(X){return P(X)===c}l(J,"isForwardRef");function te(X){return P(X)===n}l(te,"isFragment");function Z(X){return P(X)===h}l(Z,"isLazy");function ie(X){return P(X)===p}l(ie,"isMemo");function le(X){return P(X)===r}l(le,"isPortal");function ye(X){return P(X)===a}l(ye,"isProfiler");function Ae(X){return P(X)===o}l(Ae,"isStrictMode");function B(X){return P(X)===u}l(B,"isSuspense"),e.ContextConsumer=C,e.ContextProvider=w,e.Element=E,e.ForwardRef=A,e.Fragment=k,e.Lazy=j,e.Memo=L,e.Portal=F,e.Profiler=T,e.StrictMode=R,e.Suspense=N,e.isAsyncMode=ee,e.isConcurrentMode=re,e.isContextConsumer=oe,e.isContextProvider=Y,e.isElement=G,e.isForwardRef=J,e.isFragment=te,e.isLazy=Z,e.isMemo=ie,e.isPortal=le,e.isProfiler=ye,e.isStrictMode=Ae,e.isSuspense=B,e.isValidElementType=x,e.typeOf=P})()}),s6=O((e,t)=>{t.exports=i6()}),l6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(s6()),r=eh();function n(h){if(typeof WeakMap!="function")return null;var f=new WeakMap,m=new WeakMap;return(n=l(function(g){return g?m:f},"_getRequireWildcardCache"))(h)}l(n,"_getRequireWildcardCache");function o(h,f){if(!f&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(f);if(m&&m.has(h))return m.get(h);var g={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in h)if(b!=="default"&&Object.prototype.hasOwnProperty.call(h,b)){var v=y?Object.getOwnPropertyDescriptor(h,b):null;v&&(v.get||v.set)?Object.defineProperty(g,b,v):g[b]=h[b]}return g.default=h,m&&m.set(h,g),g}l(o,"_interopRequireWildcard");var a=l((h,f=[])=>(Array.isArray(h)?h.forEach(m=>{a(m,f)}):h!=null&&h!==!1&&f.push(h),f),"getChildren"),i=l(h=>{let f=h.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof f=="object"&&f!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(f.displayName)return f.displayName;let m=f.render.displayName||f.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(h)){let m=f.displayName||f.type.displayName||f.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},"getType"),s=l(h=>{let{props:f}=h;return Object.keys(f).filter(m=>m!=="children"&&f[m]!==void 0).sort()},"getPropKeys"),c=l((h,f,m,g,y,b)=>++g>f.maxDepth?(0,r.printElementAsLeaf)(i(h),f):(0,r.printElement)(i(h),(0,r.printProps)(s(h),h.props,f,m+f.indent,g,y,b),(0,r.printChildren)(a(h.props.children),f,m+f.indent,g,y,b),f,m),"serialize");e.serialize=c;var u=l(h=>h!=null&&t.isElement(h),"test");e.test=u;var d={serialize:c,test:u},p=d;e.default=p}),u6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=eh(),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(h=>p[h]!==void 0).sort():[]},"getPropKeys"),i=l((d,p,h,f,m,g)=>++f>p.maxDepth?(0,t.printElementAsLeaf)(d.type,p):(0,t.printElement)(d.type,d.props?(0,t.printProps)(a(d),d.props,p,h+p.indent,f,m,g):"",d.children?(0,t.printChildren)(d.children,p,h+p.indent,f,m,g):"",p,h),"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}),c6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=le,e.plugins=void 0;var t=d(mE()),r=ml(),n=d(Q4()),o=d(t6()),a=d(r6()),i=d(o6()),s=d(a6()),c=d(l6()),u=d(u6());function d(B){return B&&B.__esModule?B:{default:B}}l(d,"_interopRequireDefault");var p=Object.prototype.toString,h=Date.prototype.toISOString,f=Error.prototype.toString,m=RegExp.prototype.toString,g=l(B=>typeof B.constructor=="function"&&B.constructor.name||"Object","getConstructorName"),y=l(B=>typeof window<"u"&&B===window,"isWindow"),b=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,S=class extends Error{constructor(X,ne){super(X),this.stack=ne,this.name=this.constructor.name}};l(S,"PrettyFormatPluginError");var x=S;function P(B){return B==="[object Array]"||B==="[object ArrayBuffer]"||B==="[object DataView]"||B==="[object Float32Array]"||B==="[object Float64Array]"||B==="[object Int8Array]"||B==="[object Int16Array]"||B==="[object Int32Array]"||B==="[object Uint8Array]"||B==="[object Uint8ClampedArray]"||B==="[object Uint16Array]"||B==="[object Uint32Array]"}l(P,"isToStringedArrayType");function C(B){return Object.is(B,-0)?"-0":String(B)}l(C,"printNumber");function w(B){return`${B}n`}l(w,"printBigInt");function E(B,X){return X?"[Function "+(B.name||"anonymous")+"]":"[Function]"}l(E,"printFunction");function A(B){return String(B).replace(b,"Symbol($1)")}l(A,"printSymbol");function k(B){return"["+f.call(B)+"]"}l(k,"printError");function j(B,X,ne,V){if(B===!0||B===!1)return""+B;if(B===void 0)return"undefined";if(B===null)return"null";let se=typeof B;if(se==="number")return C(B);if(se==="bigint")return w(B);if(se==="string")return V?'"'+B.replace(/"|\\/g,"\\$&")+'"':'"'+B+'"';if(se==="function")return E(B,X);if(se==="symbol")return A(B);let ue=p.call(B);return ue==="[object WeakMap]"?"WeakMap {}":ue==="[object WeakSet]"?"WeakSet {}":ue==="[object Function]"||ue==="[object GeneratorFunction]"?E(B,X):ue==="[object Symbol]"?A(B):ue==="[object Date]"?isNaN(+B)?"Date { NaN }":h.call(B):ue==="[object Error]"?k(B):ue==="[object RegExp]"?ne?m.call(B).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(B):B instanceof Error?k(B):null}l(j,"printBasicValue");function L(B,X,ne,V,se,ue){if(se.indexOf(B)!==-1)return"[Circular]";se=se.slice(),se.push(B);let ce=++V>X.maxDepth,Te=X.min;if(X.callToJSON&&!ce&&B.toJSON&&typeof B.toJSON=="function"&&!ue)return N(B.toJSON(),X,ne,V,se,!0);let Ze=p.call(B);return Ze==="[object Arguments]"?ce?"[Arguments]":(Te?"":"Arguments ")+"["+(0,r.printListItems)(B,X,ne,V,se,N)+"]":P(Ze)?ce?"["+B.constructor.name+"]":(Te||!X.printBasicPrototype&&B.constructor.name==="Array"?"":B.constructor.name+" ")+"["+(0,r.printListItems)(B,X,ne,V,se,N)+"]":Ze==="[object Map]"?ce?"[Map]":"Map {"+(0,r.printIteratorEntries)(B.entries(),X,ne,V,se,N," => ")+"}":Ze==="[object Set]"?ce?"[Set]":"Set {"+(0,r.printIteratorValues)(B.values(),X,ne,V,se,N)+"}":ce||y(B)?"["+g(B)+"]":(Te||!X.printBasicPrototype&&g(B)==="Object"?"":g(B)+" ")+"{"+(0,r.printObjectProperties)(B,X,ne,V,se,N)+"}"}l(L,"printComplexValue");function F(B){return B.serialize!=null}l(F,"isNewPlugin");function T(B,X,ne,V,se,ue){let ce;try{ce=F(B)?B.serialize(X,ne,V,se,ue,N):B.print(X,Te=>N(Te,ne,V,se,ue),Te=>{let Ze=V+ne.indent;return Ze+Te.replace(v,`
|
|
209
|
-
`+Ze)},{edgeSpacing:ne.spacingOuter,min:ne.min,spacing:ne.spacingInner},ne.colors)}catch(Te){throw new x(Te.message,Te.stack)}if(typeof ce!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ce}".`);return ce}l(T,"printPlugin");function R(B,X){for(let ne=0;ne<B.length;ne++)try{if(B[ne].test(X))return B[ne]}catch(V){throw new x(V.message,V.stack)}return null}l(R,"findPlugin");function N(B,X,ne,V,se,ue){let ce=R(X.plugins,B);if(ce!==null)return T(ce,B,X,ne,V,se);let Te=j(B,X.printFunctionName,X.escapeRegex,X.escapeString);return Te!==null?Te:L(B,X,ne,V,se,ue)}l(N,"printer");var W={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},K=Object.keys(W),ee={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:W};e.DEFAULT_OPTIONS=ee;function re(B){if(Object.keys(B).forEach(X=>{if(!ee.hasOwnProperty(X))throw new Error(`pretty-format: Unknown option "${X}".`)}),B.min&&B.indent!==void 0&&B.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(B.theme!==void 0){if(B.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof B.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof B.theme}".`)}}l(re,"validateOptions");var oe=l(B=>K.reduce((X,ne)=>{let V=B.theme&&B.theme[ne]!==void 0?B.theme[ne]:W[ne],se=V&&t.default[V];if(se&&typeof se.close=="string"&&typeof se.open=="string")X[ne]=se;else throw new Error(`pretty-format: Option "theme" has a key "${ne}" whose value "${V}" is undefined in ansi-styles.`);return X},Object.create(null)),"getColorsHighlight"),Y=l(()=>K.reduce((B,X)=>(B[X]={close:"",open:""},B),Object.create(null)),"getColorsEmpty"),G=l(B=>B&&B.printFunctionName!==void 0?B.printFunctionName:ee.printFunctionName,"getPrintFunctionName"),J=l(B=>B&&B.escapeRegex!==void 0?B.escapeRegex:ee.escapeRegex,"getEscapeRegex"),te=l(B=>B&&B.escapeString!==void 0?B.escapeString:ee.escapeString,"getEscapeString"),Z=l(B=>{var X;return{callToJSON:B&&B.callToJSON!==void 0?B.callToJSON:ee.callToJSON,colors:B&&B.highlight?oe(B):Y(),compareKeys:B&&typeof B.compareKeys=="function"?B.compareKeys:ee.compareKeys,escapeRegex:J(B),escapeString:te(B),indent:B&&B.min?"":ie(B&&B.indent!==void 0?B.indent:ee.indent),maxDepth:B&&B.maxDepth!==void 0?B.maxDepth:ee.maxDepth,min:B&&B.min!==void 0?B.min:ee.min,plugins:B&&B.plugins!==void 0?B.plugins:ee.plugins,printBasicPrototype:(X=B==null?void 0:B.printBasicPrototype)!==null&&X!==void 0?X:!0,printFunctionName:G(B),spacingInner:B&&B.min?" ":`
|
|
210
|
-
`,spacingOuter:B&&B.min?"":`
|
|
211
|
-
`}},"getConfig");function ie(B){return new Array(B+1).join(" ")}l(ie,"createIndent");function le(B,X){if(X&&(re(X),X.plugins)){let V=R(X.plugins,B);if(V!==null)return T(V,B,Z(X),"",0,[])}let ne=j(B,G(X),J(X),te(X));return ne!==null?ne:L(B,Z(X),"",0,[])}l(le,"format");var ye={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:a.default,DOMElement:i.default,Immutable:s.default,ReactElement:c.default,ReactTestComponent:u.default};e.plugins=ye;var Ae=le;e.default=Ae}),d6=O(e=>{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}),Ya=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(d6());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")}),p6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ya());function r(f){return f&&f.__esModule?f:{default:f}}l(r,"_interopRequireDefault");function n(f,m){return i(f)||a(f,m)||c(f,m)||o()}l(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
212
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(o,"_nonIterableRest");function a(f,m){var g=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(g!=null){var y=[],b=!0,v=!1,S,x;try{for(g=g.call(f);!(b=(S=g.next()).done)&&(y.push(S.value),!(m&&y.length===m));b=!0);}catch(P){v=!0,x=P}finally{try{!b&&g.return!=null&&g.return()}finally{if(v)throw x}}return y}}l(a,"_iterableToArrayLimit");function i(f){if(Array.isArray(f))return f}l(i,"_arrayWithHoles");function s(f,m){var g=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!g){if(Array.isArray(f)||(g=c(f))||m&&f&&typeof f.length=="number"){g&&(f=g);var y=0,b=l(function(){},"F");return{s:b,n:l(function(){return y>=f.length?{done:!0}:{done:!1,value:f[y++]}},"n"),e:l(function(P){throw P},"e"),f:b}}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 v=!0,S=!1,x;return{s:l(function(){g=g.call(f)},"s"),n:l(function(){var P=g.next();return v=P.done,P},"n"),e:l(function(P){S=!0,x=P},"e"),f:l(function(){try{!v&&g.return!=null&&g.return()}finally{if(S)throw x}},"f")}}l(s,"_createForOfIteratorHelper");function c(f,m){if(f){if(typeof f=="string")return u(f,m);var g=Object.prototype.toString.call(f).slice(8,-1);if(g==="Object"&&f.constructor&&(g=f.constructor.name),g==="Map"||g==="Set")return Array.from(f);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return u(f,m)}}l(c,"_unsupportedIterableToArray");function u(f,m){(m==null||m>f.length)&&(m=f.length);for(var g=0,y=new Array(m);g<m;g++)y[g]=f[g];return y}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(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=s(d),y;try{for(g.s();!(y=g.n()).done;){var b=n(y.value,2),v=b[0],S=b[1];f.call(m,S,v,d)}}catch(x){g.e(x)}finally{g.f()}},"forEach"),get:l(function(f){var m=d.find(function(g){return g[0]===f});return m&&m[1]},"get"),has:l(function(f){return!!p.get(f)},"has"),keys:l(function(){return d.map(function(f){var m=n(f,1),g=m[0];return g})},"keys"),values:l(function(){return d.map(function(f){var m=n(f,2),g=m[1];return g})},"values")},h=(0,t.default)(p,p.entries());e.default=h}),f6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ya());function r(f){return f&&f.__esModule?f:{default:f}}l(r,"_interopRequireDefault");function n(f,m){return i(f)||a(f,m)||c(f,m)||o()}l(n,"_slicedToArray");function o(){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(o,"_nonIterableRest");function a(f,m){var g=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(g!=null){var y=[],b=!0,v=!1,S,x;try{for(g=g.call(f);!(b=(S=g.next()).done)&&(y.push(S.value),!(m&&y.length===m));b=!0);}catch(P){v=!0,x=P}finally{try{!b&&g.return!=null&&g.return()}finally{if(v)throw x}}return y}}l(a,"_iterableToArrayLimit");function i(f){if(Array.isArray(f))return f}l(i,"_arrayWithHoles");function s(f,m){var g=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!g){if(Array.isArray(f)||(g=c(f))||m&&f&&typeof f.length=="number"){g&&(f=g);var y=0,b=l(function(){},"F");return{s:b,n:l(function(){return y>=f.length?{done:!0}:{done:!1,value:f[y++]}},"n"),e:l(function(P){throw P},"e"),f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
215
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,S=!1,x;return{s:l(function(){g=g.call(f)},"s"),n:l(function(){var P=g.next();return v=P.done,P},"n"),e:l(function(P){S=!0,x=P},"e"),f:l(function(){try{!v&&g.return!=null&&g.return()}finally{if(S)throw x}},"f")}}l(s,"_createForOfIteratorHelper");function c(f,m){if(f){if(typeof f=="string")return u(f,m);var g=Object.prototype.toString.call(f).slice(8,-1);if(g==="Object"&&f.constructor&&(g=f.constructor.name),g==="Map"||g==="Set")return Array.from(f);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return u(f,m)}}l(c,"_unsupportedIterableToArray");function u(f,m){(m==null||m>f.length)&&(m=f.length);for(var g=0,y=new Array(m);g<m;g++)y[g]=f[g];return y}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(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=s(d),y;try{for(g.s();!(y=g.n()).done;){var b=n(y.value,2),v=b[0],S=b[1];f.call(m,S,v,d)}}catch(x){g.e(x)}finally{g.f()}},"forEach"),get:l(function(f){var m=d.find(function(g){return g[0]===f});return m&&m[1]},"get"),has:l(function(f){return!!p.get(f)},"has"),keys:l(function(){return d.map(function(f){var m=n(f,1),g=m[0];return g})},"keys"),values:l(function(){return d.map(function(f){var m=n(f,2),g=m[1];return g})},"values")},h=(0,t.default)(p,p.entries());e.default=h}),h6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),m6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),g6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),b6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),y6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),v6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),w6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),E6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),C6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}),x6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),S6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),A6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),P6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(h6()),r=f(m6()),n=f(g6()),o=f(b6()),a=f(y6()),i=f(v6()),s=f(w6()),c=f(E6()),u=f(C6()),d=f(x6()),p=f(S6()),h=f(A6());function f(y){return y&&y.__esModule?y:{default:y}}l(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",a.default],["roletype",i.default],["section",s.default],["sectionhead",c.default],["select",u.default],["structure",d.default],["widget",p.default],["window",h.default]],g=m;e.default=g}),O6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),_6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}),T6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),$6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),R6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),j6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),q6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),M6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),k6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),I6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),N6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),D6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),F6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),L6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),B6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),H6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),U6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),V6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}),z6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),W6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),G6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),K6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),Y6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),X6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),J6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),Z6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}),Q6=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}),eL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),tL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),rL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),nL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),oL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),aL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),iL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),sL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),lL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),uL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),cL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),dL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),pL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),fL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),hL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}),mL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),gL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}),bL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}),yL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}),vL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),wL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),EL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),CL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),xL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),SL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),AL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),PL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),OL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),_L=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),TL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}),$L=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),RL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),jL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),qL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),ML=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}),kL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),IL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),NL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),DL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),FL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),LL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),BL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),HL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}),UL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}),VL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),zL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}),WL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),GL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),KL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),YL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),XL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}),JL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),ZL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),QL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),eB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}),tB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}),rB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=U(O6()),r=U(_6()),n=U(T6()),o=U($6()),a=U(R6()),i=U(j6()),s=U(q6()),c=U(M6()),u=U(k6()),d=U(I6()),p=U(N6()),h=U(D6()),f=U(F6()),m=U(L6()),g=U(B6()),y=U(H6()),b=U(U6()),v=U(V6()),S=U(z6()),x=U(W6()),P=U(G6()),C=U(K6()),w=U(Y6()),E=U(X6()),A=U(J6()),k=U(Z6()),j=U(Q6()),L=U(eL()),F=U(tL()),T=U(rL()),R=U(nL()),N=U(oL()),W=U(aL()),K=U(iL()),ee=U(sL()),re=U(lL()),oe=U(uL()),Y=U(cL()),G=U(dL()),J=U(pL()),te=U(fL()),Z=U(hL()),ie=U(mL()),le=U(gL()),ye=U(bL()),Ae=U(yL()),B=U(vL()),X=U(wL()),ne=U(EL()),V=U(CL()),se=U(xL()),ue=U(SL()),ce=U(AL()),Te=U(PL()),Ze=U(OL()),Ut=U(_L()),ar=U(TL()),ht=U($L()),Pr=U(RL()),Or=U(jL()),_r=U(qL()),ku=U(ML()),Iu=U(kL()),Nu=U(IL()),Du=U(NL()),Fu=U(DL()),Lu=U(FL()),Bu=U(LL()),Hu=U(BL()),Uu=U(HL()),Vu=U(UL()),zu=U(VL()),Wu=U(zL()),Gu=U(WL()),Ku=U(GL()),Yu=U(KL()),Xu=U(YL()),Ju=U(XL()),Zu=U(JL()),Qu=U(ZL()),ec=U(QL()),tc=U(eB()),rc=U(tB());function U(hi){return hi&&hi.__esModule?hi:{default:hi}}l(U,"_interopRequireDefault");var nc=[["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",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",g.default],["definition",y.default],["deletion",b.default],["dialog",v.default],["directory",S.default],["document",x.default],["emphasis",P.default],["feed",C.default],["figure",w.default],["form",E.default],["generic",A.default],["grid",k.default],["gridcell",j.default],["group",L.default],["heading",F.default],["img",T.default],["insertion",R.default],["link",N.default],["list",W.default],["listbox",K.default],["listitem",ee.default],["log",re.default],["main",oe.default],["mark",Y.default],["marquee",G.default],["math",J.default],["menu",te.default],["menubar",Z.default],["menuitem",ie.default],["menuitemcheckbox",le.default],["menuitemradio",ye.default],["meter",Ae.default],["navigation",B.default],["none",X.default],["note",ne.default],["option",V.default],["paragraph",se.default],["presentation",ue.default],["progressbar",ce.default],["radio",Te.default],["radiogroup",Ze.default],["region",Ut.default],["row",ar.default],["rowgroup",ht.default],["rowheader",Pr.default],["scrollbar",Or.default],["search",_r.default],["searchbox",ku.default],["separator",Iu.default],["slider",Nu.default],["spinbutton",Du.default],["status",Fu.default],["strong",Lu.default],["subscript",Bu.default],["superscript",Hu.default],["switch",Uu.default],["tab",Vu.default],["table",zu.default],["tablist",Wu.default],["tabpanel",Gu.default],["term",Ku.default],["textbox",Yu.default],["time",Xu.default],["timer",Ju.default],["toolbar",Zu.default],["tooltip",Qu.default],["tree",ec.default],["treegrid",tc.default],["treeitem",rc.default]],Mn=nc;e.default=Mn}),nB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),oB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),aB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),iB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),sB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),lB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),uB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),cB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),dB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),pB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),fB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),hB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),mB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),gB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),bB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),yB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),vB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),wB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),EB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),CB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),xB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),SB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),AB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),PB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),OB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),_B=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),TB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),$B=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),RB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),jB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}),qB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),MB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),kB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),IB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),NB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}),DB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),FB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),LB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),BB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),HB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=J(nB()),r=J(oB()),n=J(aB()),o=J(iB()),a=J(sB()),i=J(lB()),s=J(uB()),c=J(cB()),u=J(dB()),d=J(pB()),p=J(fB()),h=J(hB()),f=J(mB()),m=J(gB()),g=J(bB()),y=J(yB()),b=J(vB()),v=J(wB()),S=J(EB()),x=J(CB()),P=J(xB()),C=J(SB()),w=J(AB()),E=J(PB()),A=J(OB()),k=J(_B()),j=J(TB()),L=J($B()),F=J(RB()),T=J(jB()),R=J(qB()),N=J(MB()),W=J(kB()),K=J(IB()),ee=J(NB()),re=J(DB()),oe=J(FB()),Y=J(LB()),G=J(BB());function J(ie){return ie&&ie.__esModule?ie:{default:ie}}l(J,"_interopRequireDefault");var te=[["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",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",g.default],["doc-endnote",y.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",x.default],["doc-example",P.default],["doc-footnote",C.default],["doc-foreword",w.default],["doc-glossary",E.default],["doc-glossref",A.default],["doc-index",k.default],["doc-introduction",j.default],["doc-noteref",L.default],["doc-notice",F.default],["doc-pagebreak",T.default],["doc-pagelist",R.default],["doc-part",N.default],["doc-preface",W.default],["doc-prologue",K.default],["doc-pullquote",ee.default],["doc-qna",re.default],["doc-subtitle",oe.default],["doc-tip",Y.default],["doc-toc",G.default]],Z=te;e.default=Z}),UB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),VB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),zB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),WB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(UB()),r=o(VB()),n=o(zB());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}),th=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(P6()),r=i(rB()),n=i(HB()),o=i(WB()),a=i(Ya());function i(v){return v&&v.__esModule?v:{default:v}}l(i,"_interopRequireDefault");function s(v,S,x){return S in v?Object.defineProperty(v,S,{value:x,enumerable:!0,configurable:!0,writable:!0}):v[S]=x,v}l(s,"_defineProperty");function c(v,S){var x=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!x){if(Array.isArray(v)||(x=p(v))||S&&v&&typeof v.length=="number"){x&&(v=x);var P=0,C=l(function(){},"F");return{s:C,n:l(function(){return P>=v.length?{done:!0}:{done:!1,value:v[P++]}},"n"),e:l(function(k){throw k},"e"),f:C}}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 w=!0,E=!1,A;return{s:l(function(){x=x.call(v)},"s"),n:l(function(){var k=x.next();return w=k.done,k},"n"),e:l(function(k){E=!0,A=k},"e"),f:l(function(){try{!w&&x.return!=null&&x.return()}finally{if(E)throw A}},"f")}}l(c,"_createForOfIteratorHelper");function u(v,S){return m(v)||f(v,S)||p(v,S)||d()}l(u,"_slicedToArray");function d(){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(d,"_nonIterableRest");function p(v,S){if(v){if(typeof v=="string")return h(v,S);var x=Object.prototype.toString.call(v).slice(8,-1);if(x==="Object"&&v.constructor&&(x=v.constructor.name),x==="Map"||x==="Set")return Array.from(v);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return h(v,S)}}l(p,"_unsupportedIterableToArray");function h(v,S){(S==null||S>v.length)&&(S=v.length);for(var x=0,P=new Array(S);x<S;x++)P[x]=v[x];return P}l(h,"_arrayLikeToArray");function f(v,S){var x=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(x!=null){var P=[],C=!0,w=!1,E,A;try{for(x=x.call(v);!(C=(E=x.next()).done)&&(P.push(E.value),!(S&&P.length===S));C=!0);}catch(k){w=!0,A=k}finally{try{!C&&x.return!=null&&x.return()}finally{if(w)throw A}}return P}}l(f,"_iterableToArrayLimit");function m(v){if(Array.isArray(v))return v}l(m,"_arrayWithHoles");var g=[].concat(t.default,r.default,n.default,o.default);g.forEach(function(v){var S=u(v,2),x=S[1],P=c(x.superClass),C;try{for(P.s();!(C=P.n()).done;){var w=C.value,E=c(w),A;try{var k=l(function(){var j=A.value,L=g.find(function(W){var K=u(W,1),ee=K[0];return ee===j});if(L)for(var F=L[1],T=0,R=Object.keys(F.props);T<R.length;T++){var N=R[T];Object.prototype.hasOwnProperty.call(x.props,N)||Object.assign(x.props,s({},N,F.props[N]))}},"_loop");for(E.s();!(A=E.n()).done;)k()}catch(j){E.e(j)}finally{E.f()}}}catch(j){P.e(j)}finally{P.f()}});var y={entries:l(function(){return g},"entries"),forEach:l(function(v){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=c(g),P;try{for(x.s();!(P=x.n()).done;){var C=u(P.value,2),w=C[0],E=C[1];v.call(S,E,w,g)}}catch(A){x.e(A)}finally{x.f()}},"forEach"),get:l(function(v){var S=g.find(function(x){return x[0]===v});return S&&S[1]},"get"),has:l(function(v){return!!y.get(v)},"has"),keys:l(function(){return g.map(function(v){var S=u(v,1),x=S[0];return x})},"keys"),values:l(function(){return g.map(function(v){var S=u(v,2),x=S[1];return x})},"values")},b=(0,a.default)(y,y.entries());e.default=b}),gE={};ll(gE,{dequal:()=>Zi});function Zi(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--&&Zi(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(fd.call(e,r)&&++n&&!fd.call(t,r)||!(r in t)||!Zi(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var fd,GB=HI(()=>{fd=Object.prototype.hasOwnProperty,l(Zi,"dequal")}),KB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(GB(),UI(gE)),r=o(Ya()),n=o(th());function o(C){return C&&C.__esModule?C:{default:C}}l(o,"_interopRequireDefault");function a(C,w){return c(C)||s(C,w)||d(C,w)||i()}l(a,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
218
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(i,"_nonIterableRest");function s(C,w){var E=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(E!=null){var A=[],k=!0,j=!1,L,F;try{for(E=E.call(C);!(k=(L=E.next()).done)&&(A.push(L.value),!(w&&A.length===w));k=!0);}catch(T){j=!0,F=T}finally{try{!k&&E.return!=null&&E.return()}finally{if(j)throw F}}return A}}l(s,"_iterableToArrayLimit");function c(C){if(Array.isArray(C))return C}l(c,"_arrayWithHoles");function u(C,w){var E=typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(!E){if(Array.isArray(C)||(E=d(C))||w&&C&&typeof C.length=="number"){E&&(C=E);var A=0,k=l(function(){},"F");return{s:k,n:l(function(){return A>=C.length?{done:!0}:{done:!1,value:C[A++]}},"n"),e:l(function(T){throw T},"e"),f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
219
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=!0,L=!1,F;return{s:l(function(){E=E.call(C)},"s"),n:l(function(){var T=E.next();return j=T.done,T},"n"),e:l(function(T){L=!0,F=T},"e"),f:l(function(){try{!j&&E.return!=null&&E.return()}finally{if(L)throw F}},"f")}}l(u,"_createForOfIteratorHelper");function d(C,w){if(C){if(typeof C=="string")return p(C,w);var E=Object.prototype.toString.call(C).slice(8,-1);if(E==="Object"&&C.constructor&&(E=C.constructor.name),E==="Map"||E==="Set")return Array.from(C);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return p(C,w)}}l(d,"_unsupportedIterableToArray");function p(C,w){(w==null||w>C.length)&&(w=C.length);for(var E=0,A=new Array(w);E<w;E++)A[E]=C[E];return A}l(p,"_arrayLikeToArray");var h=[],f=n.default.keys();for(S=0;S<f.length;S++)if(m=f[S],g=n.default.get(m),g)for(y=[].concat(g.baseConcepts,g.relatedConcepts),v=0;v<y.length;v++)b=y[v],b.module==="HTML"&&function(){var C=b.concept;if(C){var w=h.find(function(j){return(0,t.dequal)(j,C)}),E;w?E=w[1]:E=[];for(var A=!0,k=0;k<E.length;k++)if(E[k]===m){A=!1;break}A&&E.push(m),h.push([C,E])}}();var m,g,y,b,v,S,x={entries:l(function(){return h},"entries"),forEach:l(function(C){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=u(h),A;try{for(E.s();!(A=E.n()).done;){var k=a(A.value,2),j=k[0],L=k[1];C.call(w,L,j,h)}}catch(F){E.e(F)}finally{E.f()}},"forEach"),get:l(function(C){var w=h.find(function(E){return C.name===E[0].name&&(0,t.dequal)(C.attributes,E[0].attributes)});return w&&w[1]},"get"),has:l(function(C){return!!x.get(C)},"has"),keys:l(function(){return h.map(function(C){var w=a(C,1),E=w[0];return E})},"keys"),values:l(function(){return h.map(function(C){var w=a(C,2),E=w[1];return E})},"values")},P=(0,r.default)(x,x.entries());e.default=P}),YB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ya()),r=n(th());function n(w){return w&&w.__esModule?w:{default:w}}l(n,"_interopRequireDefault");function o(w,E){return s(w)||i(w,E)||u(w,E)||a()}l(o,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
220
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l(a,"_nonIterableRest");function i(w,E){var A=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(A!=null){var k=[],j=!0,L=!1,F,T;try{for(A=A.call(w);!(j=(F=A.next()).done)&&(k.push(F.value),!(E&&k.length===E));j=!0);}catch(R){L=!0,T=R}finally{try{!j&&A.return!=null&&A.return()}finally{if(L)throw T}}return k}}l(i,"_iterableToArrayLimit");function s(w){if(Array.isArray(w))return w}l(s,"_arrayWithHoles");function c(w,E){var A=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!A){if(Array.isArray(w)||(A=u(w))||E&&w&&typeof w.length=="number"){A&&(w=A);var k=0,j=l(function(){},"F");return{s:j,n:l(function(){return k>=w.length?{done:!0}:{done:!1,value:w[k++]}},"n"),e:l(function(R){throw R},"e"),f:j}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
221
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var L=!0,F=!1,T;return{s:l(function(){A=A.call(w)},"s"),n:l(function(){var R=A.next();return L=R.done,R},"n"),e:l(function(R){F=!0,T=R},"e"),f:l(function(){try{!L&&A.return!=null&&A.return()}finally{if(F)throw T}},"f")}}l(c,"_createForOfIteratorHelper");function u(w,E){if(w){if(typeof w=="string")return d(w,E);var A=Object.prototype.toString.call(w).slice(8,-1);if(A==="Object"&&w.constructor&&(A=w.constructor.name),A==="Map"||A==="Set")return Array.from(w);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return d(w,E)}}l(u,"_unsupportedIterableToArray");function d(w,E){(E==null||E>w.length)&&(E=w.length);for(var A=0,k=new Array(E);A<E;A++)k[A]=w[A];return k}l(d,"_arrayLikeToArray");var p=[],h=r.default.keys();for(x=0;x<h.length;x++)if(f=h[x],m=r.default.get(f),g=[],m){for(y=[].concat(m.baseConcepts,m.relatedConcepts),S=0;S<y.length;S++)b=y[S],b.module==="HTML"&&(v=b.concept,v!=null&&g.push(v));g.length>0&&p.push([f,g])}var f,m,g,y,b,v,S,x,P={entries:l(function(){return p},"entries"),forEach:l(function(w){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=c(p),k;try{for(A.s();!(k=A.n()).done;){var j=o(k.value,2),L=j[0],F=j[1];w.call(E,F,L,p)}}catch(T){A.e(T)}finally{A.f()}},"forEach"),get:l(function(w){var E=p.find(function(A){return A[0]===w});return E&&E[1]},"get"),has:l(function(w){return!!P.get(w)},"has"),keys:l(function(){return p.map(function(w){var E=o(w,1),A=E[0];return A})},"keys"),values:l(function(){return p.map(function(w){var E=o(w,2),A=E[1];return A})},"values")},C=(0,t.default)(P,P.entries());e.default=C}),XB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(p6()),r=i(f6()),n=i(th()),o=i(KB()),a=i(YB());function i(h){return h&&h.__esModule?h:{default:h}}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}),JB=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),h=0,f=d.length;h<f;h++){var m=d.charCodeAt(h);p[h*2]=m>>>8,p[h*2+1]=m%256}return p},"compressToUint8Array"),decompressFromUint8Array:l(function(u){if(u==null)return c.decompress(u);for(var d=new Array(u.length/2),p=0,h=d.length;p<h;p++)d[p]=u[p*2]*256+u[p*2+1];var f=[];return d.forEach(function(m){f.push(n(m))}),c.decompress(f.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 h,f,m={},g={},y="",b="",v="",S=2,x=3,P=2,C=[],w=0,E=0,A;for(A=0;A<u.length;A+=1)if(y=u.charAt(A),Object.prototype.hasOwnProperty.call(m,y)||(m[y]=x++,g[y]=!0),b=v+y,Object.prototype.hasOwnProperty.call(m,b))v=b;else{if(Object.prototype.hasOwnProperty.call(g,v)){if(v.charCodeAt(0)<256){for(h=0;h<P;h++)w=w<<1,E==d-1?(E=0,C.push(p(w)),w=0):E++;for(f=v.charCodeAt(0),h=0;h<8;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1}else{for(f=1,h=0;h<P;h++)w=w<<1|f,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1}S--,S==0&&(S=Math.pow(2,P),P++),delete g[v]}else for(f=m[v],h=0;h<P;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1;S--,S==0&&(S=Math.pow(2,P),P++),m[b]=x++,v=String(y)}if(v!==""){if(Object.prototype.hasOwnProperty.call(g,v)){if(v.charCodeAt(0)<256){for(h=0;h<P;h++)w=w<<1,E==d-1?(E=0,C.push(p(w)),w=0):E++;for(f=v.charCodeAt(0),h=0;h<8;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1}else{for(f=1,h=0;h<P;h++)w=w<<1|f,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1}S--,S==0&&(S=Math.pow(2,P),P++),delete g[v]}else for(f=m[v],h=0;h<P;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1;S--,S==0&&(S=Math.pow(2,P),P++)}for(f=2,h=0;h<P;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1;for(;;)if(w=w<<1,E==d-1){C.push(p(w));break}else E++;return C.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 h=[],f=4,m=4,g=3,y="",b=[],v,S,x,P,C,w,E,A={val:p(0),position:d,index:1};for(v=0;v<3;v+=1)h[v]=v;for(x=0,C=Math.pow(2,2),w=1;w!=C;)P=A.val&A.position,A.position>>=1,A.position==0&&(A.position=d,A.val=p(A.index++)),x|=(P>0?1:0)*w,w<<=1;switch(x){case 0:for(x=0,C=Math.pow(2,8),w=1;w!=C;)P=A.val&A.position,A.position>>=1,A.position==0&&(A.position=d,A.val=p(A.index++)),x|=(P>0?1:0)*w,w<<=1;E=n(x);break;case 1:for(x=0,C=Math.pow(2,16),w=1;w!=C;)P=A.val&A.position,A.position>>=1,A.position==0&&(A.position=d,A.val=p(A.index++)),x|=(P>0?1:0)*w,w<<=1;E=n(x);break;case 2:return""}for(h[3]=E,S=E,b.push(E);;){if(A.index>u)return"";for(x=0,C=Math.pow(2,g),w=1;w!=C;)P=A.val&A.position,A.position>>=1,A.position==0&&(A.position=d,A.val=p(A.index++)),x|=(P>0?1:0)*w,w<<=1;switch(E=x){case 0:for(x=0,C=Math.pow(2,8),w=1;w!=C;)P=A.val&A.position,A.position>>=1,A.position==0&&(A.position=d,A.val=p(A.index++)),x|=(P>0?1:0)*w,w<<=1;h[m++]=n(x),E=m-1,f--;break;case 1:for(x=0,C=Math.pow(2,16),w=1;w!=C;)P=A.val&A.position,A.position>>=1,A.position==0&&(A.position=d,A.val=p(A.index++)),x|=(P>0?1:0)*w,w<<=1;h[m++]=n(x),E=m-1,f--;break;case 2:return b.join("")}if(f==0&&(f=Math.pow(2,g),g++),h[E])y=h[E];else if(E===m)y=S+S.charAt(0);else return null;b.push(y),h[m++]=S+y.charAt(0),f--,S=y,f==0&&(f=Math.pow(2,g),g++)}},"_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})}),bE=Object.defineProperty,ZB=Object.getOwnPropertyNames,z=l((e,t)=>bE(e,"name",{value:t,configurable:!0}),"__name"),QB=l((e,t)=>l(function(){return t||(0,e[ZB(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),rh=l((e,t)=>{for(var r in t)bE(e,r,{get:t[r],enumerable:!0})},"__export"),e9=QB({"(disabled):util"(){}}),Yt={};rh(Yt,{addChainableMethod:l(()=>Ol,"addChainableMethod"),addLengthGuard:l(()=>Mo,"addLengthGuard"),addMethod:l(()=>Sl,"addMethod"),addProperty:l(()=>xl,"addProperty"),checkError:l(()=>bt,"checkError"),compareByInspect:l(()=>Ra,"compareByInspect"),eql:l(()=>wE,"eql"),expectTypes:l(()=>uh,"expectTypes"),flag:l(()=>pe,"flag"),getActual:l(()=>Ja,"getActual"),getMessage:l(()=>yl,"getMessage"),getName:l(()=>Qa,"getName"),getOperator:l(()=>Rl,"getOperator"),getOwnEnumerableProperties:l(()=>$l,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:l(()=>Tl,"getOwnEnumerablePropertySymbols"),getPathInfo:l(()=>Cl,"getPathInfo"),hasProperty:l(()=>Za,"hasProperty"),inspect:l(()=>be,"inspect"),isNaN:l(()=>fs,"isNaN"),isNumeric:l(()=>Ge,"isNumeric"),isProxyEnabled:l(()=>qo,"isProxyEnabled"),isRegExp:l(()=>ja,"isRegExp"),objDisplay:l(()=>Fr,"objDisplay"),overwriteChainableMethod:l(()=>_l,"overwriteChainableMethod"),overwriteMethod:l(()=>Pl,"overwriteMethod"),overwriteProperty:l(()=>Al,"overwriteProperty"),proxify:l(()=>$n,"proxify"),test:l(()=>gl,"test"),transferFlags:l(()=>jt,"transferFlags"),type:l(()=>Se,"type")});var bt={};rh(bt,{compatibleConstructor:l(()=>ah,"compatibleConstructor"),compatibleInstance:l(()=>oh,"compatibleInstance"),compatibleMessage:l(()=>ih,"compatibleMessage"),getConstructorName:l(()=>sh,"getConstructorName"),getMessage:l(()=>lh,"getMessage")});function Xa(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}l(Xa,"isErrorInstance");z(Xa,"isErrorInstance");function nh(e){return Object.prototype.toString.call(e)==="[object RegExp]"}l(nh,"isRegExp");z(nh,"isRegExp");function oh(e,t){return Xa(t)&&e===t}l(oh,"compatibleInstance");z(oh,"compatibleInstance");function ah(e,t){return Xa(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(ah,"compatibleConstructor");z(ah,"compatibleConstructor");function ih(e,t){let r=typeof e=="string"?e:e.message;return nh(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}l(ih,"compatibleMessage");z(ih,"compatibleMessage");function sh(e){let t=e;return Xa(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}l(sh,"getConstructorName");z(sh,"getConstructorName");function lh(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}l(lh,"getMessage");z(lh,"getMessage");function pe(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}l(pe,"flag");z(pe,"flag");function gl(e,t){var r=pe(e,"negate"),n=t[0];return r?!n:n}l(gl,"test");z(gl,"test");function Se(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(Se,"type");z(Se,"type");var t9="captureStackTrace"in Error,Yo,we=(Yo=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);Fe(this,"message");this.message=t,t9&&Error.captureStackTrace(this,n||Yo);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(Yo,"_AssertionError"),z(Yo,"AssertionError"),Yo);function uh(e,t){var r=pe(e,"message"),n=pe(e,"ssfi");r=r?r+": ":"",e=pe(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=Se(e).toLowerCase();if(!t.some(function(i){return a===i}))throw new we(r+"object tested must be "+o+", but "+a+" given",void 0,n)}l(uh,"expectTypes");z(uh,"expectTypes");function Ja(e,t){return t.length>4?t[4]:e._obj}l(Ja,"getActual");z(Ja,"getActual");var uy={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"]},r9={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},co="…";function ch(e,t){let r=uy[r9[t]]||uy[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}l(ch,"colorise");z(ch,"colorise");function dh({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=ch),p}l(dh,"normaliseOptions");z(dh,"normaliseOptions");function ph(e){return e>="\uD800"&&e<="\uDBFF"}l(ph,"isHighSurrogate");z(ph,"isHighSurrogate");function rr(e,t,r=co){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(rr,"truncate");z(rr,"truncate");function Et(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=`${co}(${e.length-u})`;let h=e[u];t.truncate=a-i.length-(d?0:n.length);let f=s||r(h,t)+(d?"":n),m=i.length+f.length,g=m+c.length;if(d&&m>a&&i.length+c.length<=a||!d&&!p&&g>a||(s=d?"":r(e[u+1],t)+(p?"":n),!d&&p&&g>a&&m+s.length>a))break;if(i+=f,!d&&!p&&m+s.length>=a){c=`${co}(${e.length-u-1})`;break}c=""}return`${i}${c}`}l(Et,"inspectList");z(Et,"inspectList");function fh(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}l(fh,"quoteComplexKey");z(fh,"quoteComplexKey");function yn([e,t],r){return r.truncate-=2,typeof e=="string"?e=fh(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}l(yn,"inspectProperty");z(yn,"inspectProperty");function hh(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Et(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Et(r.map(a=>[a,e[a]]),t,yn)),`[ ${n}${o?`, ${o}`:""} ]`}l(hh,"inspectArray");z(hh,"inspectArray");var n9=z(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Mt(e,t){let r=n9(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let i=0;i<e.length;i++){let s=`${t.stylize(rr(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${co}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=Et(n.map(i=>[i,e[i]]),t,yn)),`${r}[ ${o}${a?`, ${a}`:""} ]`}l(Mt,"inspectTypedArray");z(Mt,"inspectTypedArray");function mh(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${rr(n[1],t.truncate-o.length-1)}`,"date")}l(mh,"inspectDate");z(mh,"inspectDate");function Qi(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${rr(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}l(Qi,"inspectFunction");z(Qi,"inspectFunction");function gh([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}l(gh,"inspectMapEntry");z(gh,"inspectMapEntry");function bh(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}l(bh,"mapToEntries");z(bh,"mapToEntries");function yh(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Et(bh(e),t,gh)} }`)}l(yh,"inspectMap");z(yh,"inspectMap");var o9=Number.isNaN||(e=>e!==e);function es(e,t){return o9(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(rr(String(e),t.truncate),"number")}l(es,"inspectNumber");z(es,"inspectNumber");function ts(e,t){let r=rr(e.toString(),t.truncate-1);return r!==co&&(r+="n"),t.stylize(r,"bigint")}l(ts,"inspectBigInt");z(ts,"inspectBigInt");function vh(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${rr(o,n)}/${r}`,"regexp")}l(vh,"inspectRegExp");z(vh,"inspectRegExp");function wh(e){let t=[];return e.forEach(r=>{t.push(r)}),t}l(wh,"arrayFromSet");z(wh,"arrayFromSet");function Eh(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Et(wh(e),t)} }`)}l(Eh,"inspectSet");z(Eh,"inspectSet");var cy=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),a9={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},i9=16;function Ch(e){return a9[e]||`\\u${`0000${e.charCodeAt(0).toString(i9)}`.slice(-4)}`}l(Ch,"escape");z(Ch,"escape");function rs(e,t){return cy.test(e)&&(e=e.replace(cy,Ch)),t.stylize(`'${rr(e,t.truncate-2)}'`,"string")}l(rs,"inspectString");z(rs,"inspectString");function ns(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}l(ns,"inspectSymbol");z(ns,"inspectSymbol");var yE=z(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(yE=z((n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`},"getPromiseValue"))}catch{}var s9=yE;function Qn(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=Et(r.map(s=>[s,e[s]]),t,yn),a=Et(n.map(s=>[s,e[s]]),t,yn);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}l(Qn,"inspectObject");z(Qn,"inspectObject");var bc=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function xh(e,t){let r="";return bc&&bc in e&&(r=e[bc]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Qn(e,t)}`}l(xh,"inspectClass");z(xh,"inspectClass");function Sh(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Et(e,t)} ]`)}l(Sh,"inspectArguments");z(Sh,"inspectArguments");var l9=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Ah(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>l9.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=rr(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Et(r.map(i=>[i,e[i]]),t,yn);return`${n}${o}${a?` { ${a} }`:""}`}l(Ah,"inspectObject2");z(Ah,"inspectObject");function Ph([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}l(Ph,"inspectAttribute");z(Ph,"inspectAttribute");function _a(e,t){return Et(e,t,bl,`
|
|
222
|
-
`)}l(_a,"inspectHTMLCollection");z(_a,"inspectHTMLCollection");function bl(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+=Et(r.map(d=>[d,e.getAttribute(d)]),t,Ph," ")),t.truncate-=s.length;let c=t.truncate,u=_a(e.children,t);return u&&u.length>c&&(u=`${co}(${e.children.length})`),`${o}${s}${a}${u}${i}`}l(bl,"inspectHTML");z(bl,"inspectHTML");var u9=typeof Symbol=="function"&&typeof Symbol.for=="function",yc=u9?Symbol.for("chai/inspect"):"@@chai/inspect",Wn=!1;try{let e=e9();Wn=e.inspect?e.inspect.custom:!1}catch{Wn=!1}var dy=new WeakMap,py={},fy={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:es,Number:es,bigint:ts,BigInt:ts,string:rs,String:rs,function:Qi,Function:Qi,symbol:ns,Symbol:ns,Array:hh,Date:mh,Map:yh,Set:Eh,RegExp:vh,Promise:s9,WeakSet:l((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:l((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Sh,Int8Array:Mt,Uint8Array:Mt,Uint8ClampedArray:Mt,Int16Array:Mt,Uint16Array:Mt,Int32Array:Mt,Uint32Array:Mt,Float32Array:Mt,Float64Array:Mt,Generator:l(()=>"","Generator"),DataView:l(()=>"","DataView"),ArrayBuffer:l(()=>"","ArrayBuffer"),Error:Ah,HTMLCollection:_a,NodeList:_a},c9=z((e,t,r)=>yc in e&&typeof e[yc]=="function"?e[yc](t):Wn&&Wn in e&&typeof e[Wn]=="function"?e[Wn](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&dy.has(e.constructor)?dy.get(e.constructor)(e,t):py[r]?py[r](e,t):"","inspectCustom"),d9=Object.prototype.toString;function Ta(e,t={}){let r=dh(t,Ta),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=d9.call(e).slice(8,-1)),o in fy)return fy[o](e,r);if(n&&e){let i=c9(e,r,o);if(i)return typeof i=="string"?i:Ta(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?Qn(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?bl(e,r):"constructor"in e?e.constructor!==Object?xh(e,r):Qn(e,r):e===Object(e)?Qn(e,r):r.stylize(String(e),o)}l(Ta,"inspect");z(Ta,"inspect");var ct={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function be(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:ct.truncateThreshold?ct.truncateThreshold:1/0};return Ta(e,o)}l(be,"inspect2");z(be,"inspect");function Fr(e){var t=be(e),r=Object.prototype.toString.call(e);if(ct.truncateThreshold&&t.length>=ct.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(Fr,"objDisplay");z(Fr,"objDisplay");function yl(e,t){var r=pe(e,"negate"),n=pe(e,"object"),o=t[3],a=Ja(e,t),i=r?t[2]:t[1],s=pe(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Fr(n)}).replace(/#\{act\}/g,function(){return Fr(a)}).replace(/#\{exp\}/g,function(){return Fr(o)}),s?s+": "+i:i}l(yl,"getMessage2");z(yl,"getMessage");function jt(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(jt,"transferFlags");z(jt,"transferFlags");function os(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(os,"type2");z(os,"type");function vl(){this._key="chai/deep-eql__"+Math.random()+Date.now()}l(vl,"FakeMap");z(vl,"FakeMap");vl.prototype={get:z(l(function(e){return e[this._key]},"get"),"get"),set:z(l(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set"),"set")};var vE=typeof WeakMap=="function"?WeakMap:vl;function as(e,t,r){if(!r||Hr(e)||Hr(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}l(as,"memoizeCompare");z(as,"memoizeCompare");function Gn(e,t,r,n){if(!(!r||Hr(e)||Hr(t))){var o=r.get(e);o?o.set(t,n):(o=new vE,o.set(t,n),r.set(e,o))}}l(Gn,"memoizeSet");z(Gn,"memoizeSet");var wE=jo;function jo(e,t,r){if(r&&r.comparator)return is(e,t,r);var n=wl(e,t);return n!==null?n:is(e,t,r)}l(jo,"deepEqual");z(jo,"deepEqual");function wl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Hr(e)||Hr(t)?!1:null}l(wl,"simpleEqual");z(wl,"simpleEqual");function is(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new vE;var n=r&&r.comparator,o=as(e,t,r.memoize);if(o!==null)return o;var a=as(t,e,r.memoize);if(a!==null)return a;if(n){var i=n(e,t);if(i===!1||i===!0)return Gn(e,t,r.memoize,i),i;var s=wl(e,t);if(s!==null)return s}var c=os(e);if(c!==os(t))return Gn(e,t,r.memoize,!1),!1;Gn(e,t,r.memoize,!0);var u=Oh(e,t,c,r);return Gn(e,t,r.memoize,u),u}l(is,"extensiveDeepEqual");z(is,"extensiveDeepEqual");function Oh(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return jo(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return El(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 yr(e,t,n);case"RegExp":return _h(e,t);case"Generator":return Th(e,t,n);case"DataView":return yr(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return yr(new Uint8Array(e),new Uint8Array(t),n);case"Set":return ss(e,t,n);case"Map":return ss(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 Rh(e,t,n)}}l(Oh,"extensiveDeepEqualByType");z(Oh,"extensiveDeepEqualByType");function _h(e,t){return e.toString()===t.toString()}l(_h,"regexpEqual");z(_h,"regexpEqual");function ss(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],o=[];return e.forEach(z(l(function(a,i){n.push([a,i])},"gatherEntries"),"gatherEntries")),t.forEach(z(l(function(a,i){o.push([a,i])},"gatherEntries"),"gatherEntries")),yr(n.sort(),o.sort(),r)}l(ss,"entriesEqual");z(ss,"entriesEqual");function yr(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(jo(e[o],t[o],r)===!1)return!1;return!0}l(yr,"iterableEqual");z(yr,"iterableEqual");function Th(e,t,r){return yr($a(e),$a(t),r)}l(Th,"generatorEqual");z(Th,"generatorEqual");function $h(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}l($h,"hasIteratorFunction");z($h,"hasIteratorFunction");function ls(e){if($h(e))try{return $a(e[Symbol.iterator]())}catch{return[]}return[]}l(ls,"getIteratorEntries");z(ls,"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");z($a,"getGeneratorEntries");function us(e){var t=[];for(var r in e)t.push(r);return t}l(us,"getEnumerableKeys");z(us,"getEnumerableKeys");function cs(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(cs,"getEnumerableSymbols");z(cs,"getEnumerableSymbols");function El(e,t,r,n){var o=r.length;if(o===0)return!0;for(var a=0;a<o;a+=1)if(jo(e[r[a]],t[r[a]],n)===!1)return!1;return!0}l(El,"keysEqual");z(El,"keysEqual");function Rh(e,t,r){var n=us(e),o=us(t),a=cs(e),i=cs(t);if(n=n.concat(a),o=o.concat(i),n.length&&n.length===o.length)return yr(ds(n).sort(),ds(o).sort())===!1?!1:El(e,t,n,r);var s=ls(e),c=ls(t);return s.length&&s.length===c.length?(s.sort(),c.sort(),yr(s,c,r)):n.length===0&&s.length===0&&o.length===0&&c.length===0}l(Rh,"objectEqual");z(Rh,"objectEqual");function Hr(e){return e===null||typeof e!="object"}l(Hr,"isPrimitive");z(Hr,"isPrimitive");function ds(e){return e.map(z(l(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"),"mapSymbol"))}l(ds,"mapSymbols");z(ds,"mapSymbols");function Za(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}l(Za,"hasProperty");z(Za,"hasProperty");function jh(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(jh,"parsePath");z(jh,"parsePath");function ps(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(ps,"internalGetPathValue");z(ps,"internalGetPathValue");function Cl(e,t){let r=jh(t),n=r[r.length-1],o={parent:r.length>1?ps(e,r,r.length-1):e,name:n.p||n.i,value:ps(e,r)};return o.exists=Za(o.parent,o.name),o}l(Cl,"getPathInfo");z(Cl,"getPathInfo");function M(e,t,r,n){return pe(this,"ssfi",r||M),pe(this,"lockSsfi",n),pe(this,"object",e),pe(this,"message",t),pe(this,"eql",ct.deepEqual||wE),$n(this)}l(M,"Assertion");z(M,"Assertion");Object.defineProperty(M,"includeStack",{get:l(function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ct.includeStack},"get"),set:l(function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ct.includeStack=e},"set")});Object.defineProperty(M,"showDiff",{get:l(function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ct.showDiff},"get"),set:l(function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ct.showDiff=e},"set")});M.addProperty=function(e,t){xl(this.prototype,e,t)};M.addMethod=function(e,t){Sl(this.prototype,e,t)};M.addChainableMethod=function(e,t,r){Ol(this.prototype,e,t,r)};M.overwriteProperty=function(e,t){Al(this.prototype,e,t)};M.overwriteMethod=function(e,t){Pl(this.prototype,e,t)};M.overwriteChainableMethod=function(e,t,r){_l(this.prototype,e,t,r)};M.prototype.assert=function(e,t,r,n,o,a){var i=gl(this,arguments);if(a!==!1&&(a=!0),n===void 0&&o===void 0&&(a=!1),ct.showDiff!==!0&&(a=!1),!i){t=yl(this,arguments);var s=Ja(this,arguments),c={actual:s,expected:n,showDiff:a},u=Rl(this,arguments);throw u&&(c.operator=u),new we(t,c,ct.includeStack?this.assert:pe(this,"ssfi"))}};Object.defineProperty(M.prototype,"_obj",{get:l(function(){return pe(this,"object")},"get"),set:l(function(e){pe(this,"object",e)},"set")});function qo(){return ct.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}l(qo,"isProxyEnabled");z(qo,"isProxyEnabled");function xl(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:z(l(function n(){!qo()&&!pe(this,"lockSsfi")&&pe(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var a=new M;return jt(this,a),a},"propertyGetter"),"propertyGetter"),configurable:!0})}l(xl,"addProperty");z(xl,"addProperty");var p9=Object.getOwnPropertyDescriptor(function(){},"length");function Mo(e,t,r){return p9.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(Mo,"addLengthGuard");z(Mo,"addLengthGuard");function qh(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}l(r,"addProperty2"),z(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}l(qh,"getProperties");z(qh,"getProperties");var hy=["__flags","__methods","_obj","assert"];function $n(e,t){return qo()?new Proxy(e,{get:z(l(function r(n,o){if(typeof o=="string"&&ct.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 qh(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&hy.indexOf(s)===-1){var c=Mh(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 hy.indexOf(o)===-1&&!pe(n,"lockSsfi")&&pe(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter"),"proxyGetter")}):e}l($n,"proxify");z($n,"proxify");function Mh(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(Mh,"stringDistanceCapped");z(Mh,"stringDistanceCapped");function Sl(e,t,r){var n=z(function(){pe(this,"lockSsfi")||pe(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var a=new M;return jt(this,a),a},"methodWrapper");Mo(n,t,!1),e[t]=$n(n,t)}l(Sl,"addMethod");z(Sl,"addMethod");function Al(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=z(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:z(l(function a(){!qo()&&!pe(this,"lockSsfi")&&pe(this,"ssfi",a);var i=pe(this,"lockSsfi");pe(this,"lockSsfi",!0);var s=r(o).call(this);if(pe(this,"lockSsfi",i),s!==void 0)return s;var c=new M;return jt(this,c),c},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}l(Al,"overwriteProperty");z(Al,"overwriteProperty");function Pl(e,t,r){var n=e[t],o=z(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var a=z(function(){pe(this,"lockSsfi")||pe(this,"ssfi",a);var i=pe(this,"lockSsfi");pe(this,"lockSsfi",!0);var s=r(o).apply(this,arguments);if(pe(this,"lockSsfi",i),s!==void 0)return s;var c=new M;return jt(this,c),c},"overwritingMethodWrapper");Mo(a,t,!1),e[t]=$n(a,t)}l(Pl,"overwriteMethod");z(Pl,"overwriteMethod");var f9=typeof Object.setPrototypeOf=="function",my=z(function(){},"testFn"),h9=Object.getOwnPropertyNames(my).filter(function(e){var t=Object.getOwnPropertyDescriptor(my,e);return typeof t!="object"?!0:!t.configurable}),m9=Function.prototype.call,g9=Function.prototype.apply;function Ol(e,t,r,n){typeof n!="function"&&(n=z(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:z(l(function(){o.chainingBehavior.call(this);var a=z(function(){pe(this,"lockSsfi")||pe(this,"ssfi",a);var c=o.method.apply(this,arguments);if(c!==void 0)return c;var u=new M;return jt(this,u),u},"chainableMethodWrapper");if(Mo(a,t,!0),f9){var i=Object.create(this);i.call=m9,i.apply=g9,Object.setPrototypeOf(a,i)}else{var s=Object.getOwnPropertyNames(e);s.forEach(function(c){if(h9.indexOf(c)===-1){var u=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(a,c,u)}})}return jt(this,a),$n(a)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}l(Ol,"addChainableMethod");z(Ol,"addChainableMethod");function _l(e,t,r,n){var o=e.__methods[t],a=o.chainingBehavior;o.chainingBehavior=z(l(function(){var s=n(a).call(this);if(s!==void 0)return s;var c=new M;return jt(this,c),c},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");var i=o.method;o.method=z(l(function(){var s=r(i).apply(this,arguments);if(s!==void 0)return s;var c=new M;return jt(this,c),c},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}l(_l,"overwriteChainableMethod");z(_l,"overwriteChainableMethod");function Ra(e,t){return be(e)<be(t)?-1:1}l(Ra,"compareByInspect");z(Ra,"compareByInspect");function Tl(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}l(Tl,"getOwnEnumerablePropertySymbols");z(Tl,"getOwnEnumerablePropertySymbols");function $l(e){return Object.keys(e).concat(Tl(e))}l($l,"getOwnEnumerableProperties");z($l,"getOwnEnumerableProperties");var fs=Number.isNaN;function kh(e){var t=Se(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}l(kh,"isObjectType");z(kh,"isObjectType");function Rl(e,t){var r=pe(e,"operator"),n=pe(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(Rl,"getOperator");z(Rl,"getOperator");function Qa(e){return e.name}l(Qa,"getName");z(Qa,"getName");function ja(e){return Object.prototype.toString.call(e)==="[object RegExp]"}l(ja,"isRegExp2");z(ja,"isRegExp");function Ge(e){return["Number","BigInt"].includes(Se(e))}l(Ge,"isNumeric");z(Ge,"isNumeric");var{flag:H}=Yt;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){M.addProperty(e)});M.addProperty("not",function(){H(this,"negate",!0)});M.addProperty("deep",function(){H(this,"deep",!0)});M.addProperty("nested",function(){H(this,"nested",!0)});M.addProperty("own",function(){H(this,"own",!0)});M.addProperty("ordered",function(){H(this,"ordered",!0)});M.addProperty("any",function(){H(this,"any",!0),H(this,"all",!1)});M.addProperty("all",function(){H(this,"all",!0),H(this,"any",!1)});var gy={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function jl(e,t){t&&H(this,"message",t),e=e.toLowerCase();var r=H(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=Se(r).toLowerCase();gy.function.includes(e)?this.assert(gy[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(jl,"an");z(jl,"an");M.addChainableMethod("an",jl);M.addChainableMethod("a",jl);function Ih(e,t){return fs(e)&&fs(t)||e===t}l(Ih,"SameValueZero");z(Ih,"SameValueZero");function ko(){H(this,"contains",!0)}l(ko,"includeChainingBehavior");z(ko,"includeChainingBehavior");function Io(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=Se(r).toLowerCase(),o=H(this,"message"),a=H(this,"negate"),i=H(this,"ssfi"),s=H(this,"deep"),c=s?"deep ":"",u=s?H(this,"eql"):Ih;o=o?o+": ":"";var d=!1;switch(n){case"string":d=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new we(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 we(o+"the given combination of arguments ("+n+" and "+Se(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 "+Se(e).toLowerCase(),void 0,i);var p=Object.keys(e),h=null,f=0;if(p.forEach(function(m){var g=new M(r);if(jt(this,g,!0),H(g,"lockSsfi",!0),!a||p.length===1){g.property(m,e[m]);return}try{g.property(m,e[m])}catch(y){if(!bt.compatibleConstructor(y,we))throw y;h===null&&(h=y),f++}},this),a&&p.length>1&&f===p.length)throw h;return}this.assert(d,"expected #{this} to "+c+"include "+be(e),"expected #{this} to not "+c+"include "+be(e))}l(Io,"include");z(Io,"include");M.addChainableMethod("include",Io,ko);M.addChainableMethod("contain",Io,ko);M.addChainableMethod("contains",Io,ko);M.addChainableMethod("includes",Io,ko);M.addProperty("ok",function(){this.assert(H(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});M.addProperty("true",function(){this.assert(H(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!H(this,"negate"))});M.addProperty("numeric",function(){let e=H(this,"object");this.assert(["Number","BigInt"].includes(Se(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!H(this,"negate"))});M.addProperty("callable",function(){let e=H(this,"object"),t=H(this,"ssfi"),r=H(this,"message"),n=r?`${r}: `:"",o=H(this,"negate"),a=o?`${n}expected ${be(e)} not to be a callable function`:`${n}expected ${be(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Se(e));if(i&&o||!i&&!o)throw new we(a,void 0,t)});M.addProperty("false",function(){this.assert(H(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!H(this,"negate"))});M.addProperty("null",function(){this.assert(H(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});M.addProperty("undefined",function(){this.assert(H(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});M.addProperty("NaN",function(){this.assert(fs(H(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function ql(){var e=H(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}l(ql,"assertExist");z(ql,"assertExist");M.addProperty("exist",ql);M.addProperty("exists",ql);M.addProperty("empty",function(){var e=H(this,"object"),t=H(this,"ssfi"),r=H(this,"message"),n;switch(r=r?r+": ":"",Se(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new we(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+Qa(e);throw new we(o.trim(),void 0,t);default:if(e!==Object(e))throw new we(r+".empty was passed non-string primitive "+be(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Ml(){var e=H(this,"object"),t=Se(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}l(Ml,"checkArguments");z(Ml,"checkArguments");M.addProperty("arguments",Ml);M.addProperty("Arguments",Ml);function ei(e,t){t&&H(this,"message",t);var r=H(this,"object");if(H(this,"deep")){var n=H(this,"lockSsfi");H(this,"lockSsfi",!0),this.eql(e),H(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}l(ei,"assertEqual");z(ei,"assertEqual");M.addMethod("equal",ei);M.addMethod("equals",ei);M.addMethod("eq",ei);function kl(e,t){t&&H(this,"message",t);var r=H(this,"eql");this.assert(r(e,H(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}l(kl,"assertEql");z(kl,"assertEql");M.addMethod("eql",kl);M.addMethod("eqls",kl);function ti(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=H(this,"doLength"),o=H(this,"message"),a=o?o+": ":"",i=H(this,"ssfi"),s=Se(r).toLowerCase(),c=Se(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new M(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&c!=="date")throw new we(a+"the argument to above must be a date",void 0,i);if(!Ge(e)&&(n||Ge(r)))throw new we(a+"the argument to above must be a number",void 0,i);if(!n&&s!=="date"&&!Ge(r)){var u=s==="string"?"'"+r+"'":r;throw new we(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(ti,"assertAbove");z(ti,"assertAbove");M.addMethod("above",ti);M.addMethod("gt",ti);M.addMethod("greaterThan",ti);function ri(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=H(this,"doLength"),o=H(this,"message"),a=o?o+": ":"",i=H(this,"ssfi"),s=Se(r).toLowerCase(),c=Se(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new M(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(!Ge(e)&&(n||Ge(r)))u=a+"the argument to least must be a number";else if(!n&&s!=="date"&&!Ge(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 we(u,void 0,i);if(n){var h="length",f;s==="map"||s==="set"?(h="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}l(ri,"assertLeast");z(ri,"assertLeast");M.addMethod("least",ri);M.addMethod("gte",ri);M.addMethod("greaterThanOrEqual",ri);function ni(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=H(this,"doLength"),o=H(this,"message"),a=o?o+": ":"",i=H(this,"ssfi"),s=Se(r).toLowerCase(),c=Se(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new M(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(!Ge(e)&&(n||Ge(r)))u=a+"the argument to below must be a number";else if(!n&&s!=="date"&&!Ge(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 we(u,void 0,i);if(n){var h="length",f;s==="map"||s==="set"?(h="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}l(ni,"assertBelow");z(ni,"assertBelow");M.addMethod("below",ni);M.addMethod("lt",ni);M.addMethod("lessThan",ni);function oi(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=H(this,"doLength"),o=H(this,"message"),a=o?o+": ":"",i=H(this,"ssfi"),s=Se(r).toLowerCase(),c=Se(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new M(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(!Ge(e)&&(n||Ge(r)))u=a+"the argument to most must be a number";else if(!n&&s!=="date"&&!Ge(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 we(u,void 0,i);if(n){var h="length",f;s==="map"||s==="set"?(h="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}l(oi,"assertMost");z(oi,"assertMost");M.addMethod("most",oi);M.addMethod("lte",oi);M.addMethod("lessThanOrEqual",oi);M.addMethod("within",function(e,t,r){r&&H(this,"message",r);var n=H(this,"object"),o=H(this,"doLength"),a=H(this,"message"),i=a?a+": ":"",s=H(this,"ssfi"),c=Se(n).toLowerCase(),u=Se(e).toLowerCase(),d=Se(t).toLowerCase(),p,h=!0,f=u==="date"&&d==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&c!=="map"&&c!=="set"&&new M(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((!Ge(e)||!Ge(t))&&(o||Ge(n)))p=i+"the arguments to within must be numbers";else if(!o&&c!=="date"&&!Ge(n)){var m=c==="string"?"'"+n+"'":n;p=i+"expected "+m+" to be a number or a date"}else h=!1;if(h)throw new we(p,void 0,s);if(o){var g="length",y;c==="map"||c==="set"?(g="size",y=n.size):y=n.length,this.assert(y>=e&&y<=t,"expected #{this} to have a "+g+" within "+f,"expected #{this} to not have a "+g+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function Il(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=H(this,"ssfi"),o=H(this,"message");try{var a=r instanceof e}catch(s){throw s instanceof TypeError?(o=o?o+": ":"",new we(o+"The instanceof assertion needs a constructor but "+Se(e)+" was given.",void 0,n)):s}var i=Qa(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(Il,"assertInstanceOf");z(Il,"assertInstanceOf");M.addMethod("instanceof",Il);M.addMethod("instanceOf",Il);function Nl(e,t,r){r&&H(this,"message",r);var n=H(this,"nested"),o=H(this,"own"),a=H(this,"message"),i=H(this,"object"),s=H(this,"ssfi"),c=typeof e;if(a=a?a+": ":"",n){if(c!=="string")throw new we(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 we(a+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&o)throw new we(a+'The "nested" and "own" flags cannot be combined.',void 0,s);if(i==null)throw new we(a+"Target cannot be null or undefined.",void 0,s);var u=H(this,"deep"),d=H(this,"negate"),p=n?Cl(i,e):null,h=n?p.value:i[e],f=u?H(this,"eql"):(y,b)=>y===b,m="";u&&(m+="deep "),o&&(m+="own "),n&&(m+="nested "),m+="property ";var g;o?g=Object.prototype.hasOwnProperty.call(i,e):n?g=p.exists:g=Za(i,e),(!d||arguments.length===1)&&this.assert(g,"expected #{this} to have "+m+be(e),"expected #{this} to not have "+m+be(e)),arguments.length>1&&this.assert(g&&f(t,h),"expected #{this} to have "+m+be(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+be(e)+" of #{act}",t,h),H(this,"object",h)}l(Nl,"assertProperty");z(Nl,"assertProperty");M.addMethod("property",Nl);function Dl(e,t,r){H(this,"own",!0),Nl.apply(this,arguments)}l(Dl,"assertOwnProperty");z(Dl,"assertOwnProperty");M.addMethod("ownProperty",Dl);M.addMethod("haveOwnProperty",Dl);function Fl(e,t,r){typeof t=="string"&&(r=t,t=null),r&&H(this,"message",r);var n=H(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),a=H(this,"eql");o&&t?this.assert(a(t,o),"expected the own property descriptor for "+be(e)+" on #{this} to match "+be(t)+", got "+be(o),"expected the own property descriptor for "+be(e)+" on #{this} to not match "+be(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+be(e),"expected #{this} to not have an own property descriptor for "+be(e)),H(this,"object",o)}l(Fl,"assertOwnPropertyDescriptor");z(Fl,"assertOwnPropertyDescriptor");M.addMethod("ownPropertyDescriptor",Fl);M.addMethod("haveOwnPropertyDescriptor",Fl);function Ll(){H(this,"doLength",!0)}l(Ll,"assertLengthChain");z(Ll,"assertLengthChain");function Bl(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=Se(r).toLowerCase(),o=H(this,"message"),a=H(this,"ssfi"),i="length",s;switch(n){case"map":case"set":i="size",s=r.size;break;default:new M(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(Bl,"assertLength");z(Bl,"assertLength");M.addChainableMethod("length",Bl,Ll);M.addChainableMethod("lengthOf",Bl,Ll);function Hl(e,t){t&&H(this,"message",t);var r=H(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}l(Hl,"assertMatch");z(Hl,"assertMatch");M.addMethod("match",Hl);M.addMethod("matches",Hl);M.addMethod("string",function(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=H(this,"message"),o=H(this,"ssfi");new M(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+be(e),"expected #{this} to not contain "+be(e))});function Ul(e){var t=H(this,"object"),r=Se(t),n=Se(e),o=H(this,"ssfi"),a=H(this,"deep"),i,s="",c,u=!0,d=H(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(v,S){c.push(S)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(c=$l(t),n){case"Array":if(arguments.length>1)throw new we(p,void 0,o);break;case"Object":if(arguments.length>1)throw new we(p,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new we(d+"keys required",void 0,o);var h=e.length,f=H(this,"any"),m=H(this,"all"),g=e,y=a?H(this,"eql"):(v,S)=>v===S;if(!f&&!m&&(m=!0),f&&(u=g.some(function(v){return c.some(function(S){return y(v,S)})})),m&&(u=g.every(function(v){return c.some(function(S){return y(v,S)})}),H(this,"contains")||(u=u&&e.length==c.length)),h>1){e=e.map(function(v){return be(v)});var b=e.pop();m&&(i=e.join(", ")+", and "+b),f&&(i=e.join(", ")+", or "+b)}else i=be(e[0]);i=(h>1?"keys ":"key ")+i,i=(H(this,"contains")?"contain ":"have ")+i,this.assert(u,"expected #{this} to "+s+i,"expected #{this} to not "+s+i,g.slice(0).sort(Ra),c.sort(Ra),!0)}l(Ul,"assertKeys");z(Ul,"assertKeys");M.addMethod("keys",Ul);M.addMethod("key",Ul);function ai(e,t,r){r&&H(this,"message",r);var n=H(this,"object"),o=H(this,"ssfi"),a=H(this,"message"),i=H(this,"negate")||!1;new M(n,a,o,!0).is.a("function"),(ja(e)||typeof e=="string")&&(t=e,e=null);let s,c=!1;try{n()}catch(v){c=!0,s=v}var u=e===void 0&&t===void 0,d=!!(e&&t),p=!1,h=!1;if(u||!u&&!i){var f="an error";e instanceof Error?f="#{exp}":e&&(f=bt.getConstructorName(e));let v=s;if(s instanceof Error)v=s.toString();else if(typeof s=="string")v=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{v=bt.getConstructorName(s)}catch{}this.assert(c,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&s){if(e instanceof Error){var m=bt.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 g=bt.compatibleConstructor(s,e);g===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&&bt.getConstructorName(e),s instanceof Error?s.toString():s&&bt.getConstructorName(s)))}if(s&&t!==void 0&&t!==null){var y="including";ja(t)&&(y="matching");var b=bt.compatibleMessage(s,t);b===i&&(d&&i?h=!0:this.assert(i,"expected #{this} to throw error "+y+" #{exp} but got #{act}","expected #{this} to throw error not "+y+" #{exp}",t,bt.getMessage(s)))}p&&h&&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&&bt.getConstructorName(e),s instanceof Error?s.toString():s&&bt.getConstructorName(s)),H(this,"object",s)}l(ai,"assertThrows");z(ai,"assertThrows");M.addMethod("throw",ai);M.addMethod("throws",ai);M.addMethod("Throw",ai);function Vl(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=H(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+be(e),"expected #{this} to not respond to "+be(e))}l(Vl,"respondTo");z(Vl,"respondTo");M.addMethod("respondTo",Vl);M.addMethod("respondsTo",Vl);M.addProperty("itself",function(){H(this,"itself",!0)});function zl(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Fr(e),"expected #{this} to not satisfy"+Fr(e),!H(this,"negate"),n)}l(zl,"satisfy");z(zl,"satisfy");M.addMethod("satisfy",zl);M.addMethod("satisfies",zl);function Wl(e,t,r){r&&H(this,"message",r);var n=H(this,"object"),o=H(this,"message"),a=H(this,"ssfi");new M(n,o,a,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new we(o?`${o}: ${i}`:i,void 0,a);if(new M(t,o,a,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new we(o?`${o}: ${i}`:i,void 0,a);new M(e,o,a,!0).is.numeric;let s=z(u=>u<0n?-u:u,"abs"),c=z(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(Wl,"closeTo");z(Wl,"closeTo");M.addMethod("closeTo",Wl);M.addMethod("approximately",Wl);function Nh(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(Nh,"isSubsetOf");z(Nh,"isSubsetOf");M.addMethod("members",function(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=H(this,"message"),o=H(this,"ssfi");new M(r,n,o,!0).to.be.iterable,new M(e,n,o,!0).to.be.iterable;var a=H(this,"contains"),i=H(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=H(this,"deep")?H(this,"eql"):void 0;this.assert(Nh(e,r,d,a,i),c,u,e,r,!0)});M.addProperty("iterable",function(e){e&&H(this,"message",e);var t=H(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function Dh(e,t){t&&H(this,"message",t);var r=H(this,"object"),n=H(this,"message"),o=H(this,"ssfi"),a=H(this,"contains"),i=H(this,"deep"),s=H(this,"eql");new M(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(Dh,"oneOf");z(Dh,"oneOf");M.addMethod("oneOf",Dh);function Gl(e,t,r){r&&H(this,"message",r);var n=H(this,"object"),o=H(this,"message"),a=H(this,"ssfi");new M(n,o,a,!0).is.a("function");var i;t?(new M(e,o,a,!0).to.have.property(t),i=e[t]):(new M(e,o,a,!0).is.a("function"),i=e()),n();var s=t==null?e():e[t],c=t==null?i:"."+t;H(this,"deltaMsgObj",c),H(this,"initialDeltaValue",i),H(this,"finalDeltaValue",s),H(this,"deltaBehavior","change"),H(this,"realDelta",s!==i),this.assert(i!==s,"expected "+c+" to change","expected "+c+" to not change")}l(Gl,"assertChanges");z(Gl,"assertChanges");M.addMethod("change",Gl);M.addMethod("changes",Gl);function Kl(e,t,r){r&&H(this,"message",r);var n=H(this,"object"),o=H(this,"message"),a=H(this,"ssfi");new M(n,o,a,!0).is.a("function");var i;t?(new M(e,o,a,!0).to.have.property(t),i=e[t]):(new M(e,o,a,!0).is.a("function"),i=e()),new M(i,o,a,!0).is.a("number"),n();var s=t==null?e():e[t],c=t==null?i:"."+t;H(this,"deltaMsgObj",c),H(this,"initialDeltaValue",i),H(this,"finalDeltaValue",s),H(this,"deltaBehavior","increase"),H(this,"realDelta",s-i),this.assert(s-i>0,"expected "+c+" to increase","expected "+c+" to not increase")}l(Kl,"assertIncreases");z(Kl,"assertIncreases");M.addMethod("increase",Kl);M.addMethod("increases",Kl);function Yl(e,t,r){r&&H(this,"message",r);var n=H(this,"object"),o=H(this,"message"),a=H(this,"ssfi");new M(n,o,a,!0).is.a("function");var i;t?(new M(e,o,a,!0).to.have.property(t),i=e[t]):(new M(e,o,a,!0).is.a("function"),i=e()),new M(i,o,a,!0).is.a("number"),n();var s=t==null?e():e[t],c=t==null?i:"."+t;H(this,"deltaMsgObj",c),H(this,"initialDeltaValue",i),H(this,"finalDeltaValue",s),H(this,"deltaBehavior","decrease"),H(this,"realDelta",i-s),this.assert(s-i<0,"expected "+c+" to decrease","expected "+c+" to not decrease")}l(Yl,"assertDecreases");z(Yl,"assertDecreases");M.addMethod("decrease",Yl);M.addMethod("decreases",Yl);function Fh(e,t){t&&H(this,"message",t);var r=H(this,"deltaMsgObj"),n=H(this,"initialDeltaValue"),o=H(this,"finalDeltaValue"),a=H(this,"deltaBehavior"),i=H(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(Fh,"assertDelta");z(Fh,"assertDelta");M.addMethod("by",Fh);M.addProperty("extensible",function(){var e=H(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});M.addProperty("sealed",function(){var e=H(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});M.addProperty("frozen",function(){var e=H(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});M.addProperty("finite",function(e){var t=H(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 qa(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 qa(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?qa(n,o):typeof n=="function"?n(o):o===n}):!1}l(qa,"compareSubset");z(qa,"compareSubset");M.addMethod("containSubset",function(e){let t=pe(this,"object"),r=ct.showDiff;this.assert(qa(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Lr(e,t){return new M(e,t)}l(Lr,"expect");z(Lr,"expect");Lr.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new we(r,{actual:e,expected:t,operator:n},Lr.fail)};var EE={};rh(EE,{Should:l(()=>y9,"Should"),should:l(()=>b9,"should")});function Xl(){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 M(this.valueOf(),null,e):new M(this,null,e)}l(e,"shouldGetter"),z(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}l(t,"shouldSetter"),z(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 we(a,{actual:n,expected:o,operator:i},r.fail)},r.equal=function(n,o,a){new M(n,a).to.equal(o)},r.Throw=function(n,o,a,i){new M(n,i).to.Throw(o,a)},r.exist=function(n,o){new M(n,o).to.exist},r.not={},r.not.equal=function(n,o,a){new M(n,a).to.not.equal(o)},r.not.Throw=function(n,o,a,i){new M(n,i).to.not.Throw(o,a)},r.not.exist=function(n,o){new M(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}l(Xl,"loadShould");z(Xl,"loadShould");var b9=Xl,y9=Xl;function q(e,t){var r=new M(null,null,q,!0);r.assert(e,t,"[ negation message unavailable ]")}l(q,"assert");z(q,"assert");q.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new we(r,{actual:e,expected:t,operator:n},q.fail)};q.isOk=function(e,t){new M(e,t,q.isOk,!0).is.ok};q.isNotOk=function(e,t){new M(e,t,q.isNotOk,!0).is.not.ok};q.equal=function(e,t,r){var n=new M(e,r,q.equal,!0);n.assert(t==pe(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};q.notEqual=function(e,t,r){var n=new M(e,r,q.notEqual,!0);n.assert(t!=pe(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};q.strictEqual=function(e,t,r){new M(e,r,q.strictEqual,!0).to.equal(t)};q.notStrictEqual=function(e,t,r){new M(e,r,q.notStrictEqual,!0).to.not.equal(t)};q.deepEqual=q.deepStrictEqual=function(e,t,r){new M(e,r,q.deepEqual,!0).to.eql(t)};q.notDeepEqual=function(e,t,r){new M(e,r,q.notDeepEqual,!0).to.not.eql(t)};q.isAbove=function(e,t,r){new M(e,r,q.isAbove,!0).to.be.above(t)};q.isAtLeast=function(e,t,r){new M(e,r,q.isAtLeast,!0).to.be.least(t)};q.isBelow=function(e,t,r){new M(e,r,q.isBelow,!0).to.be.below(t)};q.isAtMost=function(e,t,r){new M(e,r,q.isAtMost,!0).to.be.most(t)};q.isTrue=function(e,t){new M(e,t,q.isTrue,!0).is.true};q.isNotTrue=function(e,t){new M(e,t,q.isNotTrue,!0).to.not.equal(!0)};q.isFalse=function(e,t){new M(e,t,q.isFalse,!0).is.false};q.isNotFalse=function(e,t){new M(e,t,q.isNotFalse,!0).to.not.equal(!1)};q.isNull=function(e,t){new M(e,t,q.isNull,!0).to.equal(null)};q.isNotNull=function(e,t){new M(e,t,q.isNotNull,!0).to.not.equal(null)};q.isNaN=function(e,t){new M(e,t,q.isNaN,!0).to.be.NaN};q.isNotNaN=function(e,t){new M(e,t,q.isNotNaN,!0).not.to.be.NaN};q.exists=function(e,t){new M(e,t,q.exists,!0).to.exist};q.notExists=function(e,t){new M(e,t,q.notExists,!0).to.not.exist};q.isUndefined=function(e,t){new M(e,t,q.isUndefined,!0).to.equal(void 0)};q.isDefined=function(e,t){new M(e,t,q.isDefined,!0).to.not.equal(void 0)};q.isCallable=function(e,t){new M(e,t,q.isCallable,!0).is.callable};q.isNotCallable=function(e,t){new M(e,t,q.isNotCallable,!0).is.not.callable};q.isObject=function(e,t){new M(e,t,q.isObject,!0).to.be.a("object")};q.isNotObject=function(e,t){new M(e,t,q.isNotObject,!0).to.not.be.a("object")};q.isArray=function(e,t){new M(e,t,q.isArray,!0).to.be.an("array")};q.isNotArray=function(e,t){new M(e,t,q.isNotArray,!0).to.not.be.an("array")};q.isString=function(e,t){new M(e,t,q.isString,!0).to.be.a("string")};q.isNotString=function(e,t){new M(e,t,q.isNotString,!0).to.not.be.a("string")};q.isNumber=function(e,t){new M(e,t,q.isNumber,!0).to.be.a("number")};q.isNotNumber=function(e,t){new M(e,t,q.isNotNumber,!0).to.not.be.a("number")};q.isNumeric=function(e,t){new M(e,t,q.isNumeric,!0).is.numeric};q.isNotNumeric=function(e,t){new M(e,t,q.isNotNumeric,!0).is.not.numeric};q.isFinite=function(e,t){new M(e,t,q.isFinite,!0).to.be.finite};q.isBoolean=function(e,t){new M(e,t,q.isBoolean,!0).to.be.a("boolean")};q.isNotBoolean=function(e,t){new M(e,t,q.isNotBoolean,!0).to.not.be.a("boolean")};q.typeOf=function(e,t,r){new M(e,r,q.typeOf,!0).to.be.a(t)};q.notTypeOf=function(e,t,r){new M(e,r,q.notTypeOf,!0).to.not.be.a(t)};q.instanceOf=function(e,t,r){new M(e,r,q.instanceOf,!0).to.be.instanceOf(t)};q.notInstanceOf=function(e,t,r){new M(e,r,q.notInstanceOf,!0).to.not.be.instanceOf(t)};q.include=function(e,t,r){new M(e,r,q.include,!0).include(t)};q.notInclude=function(e,t,r){new M(e,r,q.notInclude,!0).not.include(t)};q.deepInclude=function(e,t,r){new M(e,r,q.deepInclude,!0).deep.include(t)};q.notDeepInclude=function(e,t,r){new M(e,r,q.notDeepInclude,!0).not.deep.include(t)};q.nestedInclude=function(e,t,r){new M(e,r,q.nestedInclude,!0).nested.include(t)};q.notNestedInclude=function(e,t,r){new M(e,r,q.notNestedInclude,!0).not.nested.include(t)};q.deepNestedInclude=function(e,t,r){new M(e,r,q.deepNestedInclude,!0).deep.nested.include(t)};q.notDeepNestedInclude=function(e,t,r){new M(e,r,q.notDeepNestedInclude,!0).not.deep.nested.include(t)};q.ownInclude=function(e,t,r){new M(e,r,q.ownInclude,!0).own.include(t)};q.notOwnInclude=function(e,t,r){new M(e,r,q.notOwnInclude,!0).not.own.include(t)};q.deepOwnInclude=function(e,t,r){new M(e,r,q.deepOwnInclude,!0).deep.own.include(t)};q.notDeepOwnInclude=function(e,t,r){new M(e,r,q.notDeepOwnInclude,!0).not.deep.own.include(t)};q.match=function(e,t,r){new M(e,r,q.match,!0).to.match(t)};q.notMatch=function(e,t,r){new M(e,r,q.notMatch,!0).to.not.match(t)};q.property=function(e,t,r){new M(e,r,q.property,!0).to.have.property(t)};q.notProperty=function(e,t,r){new M(e,r,q.notProperty,!0).to.not.have.property(t)};q.propertyVal=function(e,t,r,n){new M(e,n,q.propertyVal,!0).to.have.property(t,r)};q.notPropertyVal=function(e,t,r,n){new M(e,n,q.notPropertyVal,!0).to.not.have.property(t,r)};q.deepPropertyVal=function(e,t,r,n){new M(e,n,q.deepPropertyVal,!0).to.have.deep.property(t,r)};q.notDeepPropertyVal=function(e,t,r,n){new M(e,n,q.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};q.ownProperty=function(e,t,r){new M(e,r,q.ownProperty,!0).to.have.own.property(t)};q.notOwnProperty=function(e,t,r){new M(e,r,q.notOwnProperty,!0).to.not.have.own.property(t)};q.ownPropertyVal=function(e,t,r,n){new M(e,n,q.ownPropertyVal,!0).to.have.own.property(t,r)};q.notOwnPropertyVal=function(e,t,r,n){new M(e,n,q.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};q.deepOwnPropertyVal=function(e,t,r,n){new M(e,n,q.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};q.notDeepOwnPropertyVal=function(e,t,r,n){new M(e,n,q.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};q.nestedProperty=function(e,t,r){new M(e,r,q.nestedProperty,!0).to.have.nested.property(t)};q.notNestedProperty=function(e,t,r){new M(e,r,q.notNestedProperty,!0).to.not.have.nested.property(t)};q.nestedPropertyVal=function(e,t,r,n){new M(e,n,q.nestedPropertyVal,!0).to.have.nested.property(t,r)};q.notNestedPropertyVal=function(e,t,r,n){new M(e,n,q.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};q.deepNestedPropertyVal=function(e,t,r,n){new M(e,n,q.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};q.notDeepNestedPropertyVal=function(e,t,r,n){new M(e,n,q.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};q.lengthOf=function(e,t,r){new M(e,r,q.lengthOf,!0).to.have.lengthOf(t)};q.hasAnyKeys=function(e,t,r){new M(e,r,q.hasAnyKeys,!0).to.have.any.keys(t)};q.hasAllKeys=function(e,t,r){new M(e,r,q.hasAllKeys,!0).to.have.all.keys(t)};q.containsAllKeys=function(e,t,r){new M(e,r,q.containsAllKeys,!0).to.contain.all.keys(t)};q.doesNotHaveAnyKeys=function(e,t,r){new M(e,r,q.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};q.doesNotHaveAllKeys=function(e,t,r){new M(e,r,q.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};q.hasAnyDeepKeys=function(e,t,r){new M(e,r,q.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};q.hasAllDeepKeys=function(e,t,r){new M(e,r,q.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};q.containsAllDeepKeys=function(e,t,r){new M(e,r,q.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};q.doesNotHaveAnyDeepKeys=function(e,t,r){new M(e,r,q.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};q.doesNotHaveAllDeepKeys=function(e,t,r){new M(e,r,q.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};q.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new M(e,n,q.throws,!0).to.throw(t,r);return pe(o,"object")};q.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new M(e,n,q.doesNotThrow,!0).to.not.throw(t,r)};q.operator=function(e,t,r,n){var o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new we(n+'Invalid operator "'+t+'"',void 0,q.operator)}var a=new M(o,n,q.operator,!0);a.assert(pe(a,"object")===!0,"expected "+be(e)+" to be "+t+" "+be(r),"expected "+be(e)+" to not be "+t+" "+be(r))};q.closeTo=function(e,t,r,n){new M(e,n,q.closeTo,!0).to.be.closeTo(t,r)};q.approximately=function(e,t,r,n){new M(e,n,q.approximately,!0).to.be.approximately(t,r)};q.sameMembers=function(e,t,r){new M(e,r,q.sameMembers,!0).to.have.same.members(t)};q.notSameMembers=function(e,t,r){new M(e,r,q.notSameMembers,!0).to.not.have.same.members(t)};q.sameDeepMembers=function(e,t,r){new M(e,r,q.sameDeepMembers,!0).to.have.same.deep.members(t)};q.notSameDeepMembers=function(e,t,r){new M(e,r,q.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};q.sameOrderedMembers=function(e,t,r){new M(e,r,q.sameOrderedMembers,!0).to.have.same.ordered.members(t)};q.notSameOrderedMembers=function(e,t,r){new M(e,r,q.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};q.sameDeepOrderedMembers=function(e,t,r){new M(e,r,q.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};q.notSameDeepOrderedMembers=function(e,t,r){new M(e,r,q.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};q.includeMembers=function(e,t,r){new M(e,r,q.includeMembers,!0).to.include.members(t)};q.notIncludeMembers=function(e,t,r){new M(e,r,q.notIncludeMembers,!0).to.not.include.members(t)};q.includeDeepMembers=function(e,t,r){new M(e,r,q.includeDeepMembers,!0).to.include.deep.members(t)};q.notIncludeDeepMembers=function(e,t,r){new M(e,r,q.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};q.includeOrderedMembers=function(e,t,r){new M(e,r,q.includeOrderedMembers,!0).to.include.ordered.members(t)};q.notIncludeOrderedMembers=function(e,t,r){new M(e,r,q.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};q.includeDeepOrderedMembers=function(e,t,r){new M(e,r,q.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};q.notIncludeDeepOrderedMembers=function(e,t,r){new M(e,r,q.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};q.oneOf=function(e,t,r){new M(e,r,q.oneOf,!0).to.be.oneOf(t)};q.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${be(e)} to be an iterable`:`expected ${be(e)} to be an iterable`,new we(t,void 0,q.isIterable)};q.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new M(e,n,q.changes,!0).to.change(t,r)};q.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new M(e,o,q.changesBy,!0).to.change(t,r).by(n)};q.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new M(e,n,q.doesNotChange,!0).to.not.change(t,r)};q.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new M(e,o,q.changesButNotBy,!0).to.change(t,r).but.not.by(n)};q.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new M(e,n,q.increases,!0).to.increase(t,r)};q.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new M(e,o,q.increasesBy,!0).to.increase(t,r).by(n)};q.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new M(e,n,q.doesNotIncrease,!0).to.not.increase(t,r)};q.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new M(e,o,q.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};q.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new M(e,n,q.decreases,!0).to.decrease(t,r)};q.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new M(e,o,q.decreasesBy,!0).to.decrease(t,r).by(n)};q.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new M(e,n,q.doesNotDecrease,!0).to.not.decrease(t,r)};q.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);return new M(e,o,q.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};q.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new M(e,o,q.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};q.ifError=function(e){if(e)throw e};q.isExtensible=function(e,t){new M(e,t,q.isExtensible,!0).to.be.extensible};q.isNotExtensible=function(e,t){new M(e,t,q.isNotExtensible,!0).to.not.be.extensible};q.isSealed=function(e,t){new M(e,t,q.isSealed,!0).to.be.sealed};q.isNotSealed=function(e,t){new M(e,t,q.isNotSealed,!0).to.not.be.sealed};q.isFrozen=function(e,t){new M(e,t,q.isFrozen,!0).to.be.frozen};q.isNotFrozen=function(e,t){new M(e,t,q.isNotFrozen,!0).to.not.be.frozen};q.isEmpty=function(e,t){new M(e,t,q.isEmpty,!0).to.be.empty};q.isNotEmpty=function(e,t){new M(e,t,q.isNotEmpty,!0).to.not.be.empty};q.containsSubset=function(e,t,r){new M(e,r).to.containSubset(t)};q.doesNotContainSubset=function(e,t,r){new M(e,r).to.not.containSubset(t)};var v9=[["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 v9)q[t]=q[e];var by=[];function pn(e){let t={use:pn,AssertionError:we,util:Yt,config:ct,expect:Lr,assert:q,Assertion:M,...EE};return~by.indexOf(e)||(e(t,Yt),by.push(e)),t}l(pn,"use");z(pn,"use");var CE={};ll(CE,{toBeChecked:()=>Cm,toBeDisabled:()=>hm,toBeEmpty:()=>Qh,toBeEmptyDOMElement:()=>em,toBeEnabled:()=>mm,toBeInTheDOM:()=>ms,toBeInTheDocument:()=>Zh,toBeInvalid:()=>ym,toBePartiallyChecked:()=>Sm,toBeRequired:()=>gm,toBeValid:()=>vm,toBeVisible:()=>um,toContainElement:()=>gs,toContainHTML:()=>tm,toHaveAccessibleDescription:()=>bs,toHaveAccessibleErrorMessage:()=>nm,toHaveAccessibleName:()=>vs,toHaveAttribute:()=>om,toHaveClass:()=>am,toHaveDescription:()=>Am,toHaveDisplayValue:()=>Em,toHaveErrorMessage:()=>Pm,toHaveFocus:()=>im,toHaveFormValues:()=>sm,toHaveRole:()=>ys,toHaveSelection:()=>Om,toHaveStyle:()=>ws,toHaveTextContent:()=>rm,toHaveValue:()=>wm});var yy=Ct(Qw(),1);function Lh(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}l(Lh,"$parcel$defineInteropFlag");function Jl(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}l(Jl,"$parcel$export");var xE={};Lh(xE);Jl(xE,"default",()=>AE);var SE=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(SE,"$009ddb00d3ec72b8$export$2e2bcd8739ae039");var AE=SE,PE={};Lh(PE);Jl(PE,"default",()=>_E);var OE=class{constructor(t,r,n){this.start=t,this.end=r,this.source=n}};l(OE,"$0865a9fb4cc365fe$export$2e2bcd8739ae039");var _E=OE,w9={};Jl(w9,"CssTypes",()=>Xe);var Xe=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}({}),vc=/\/\*[^]*?(?:\*\/|$)/g,E9=l((e,t)=>{t=t||{};let r=1,n=1;function o(Y){let G=Y.match(/\n/g);G&&(r+=G.length);let J=Y.lastIndexOf(`
|
|
223
|
-
`);n=~J?Y.length-J:n+Y.length}l(o,"updatePosition");function a(){let Y={line:r,column:n};return function(G){return G.position=new _E(Y,{line:r,column:n},(t==null?void 0:t.source)||""),f(),G}}l(a,"position");let i=[];function s(Y){let G=new AE((t==null?void 0:t.source)||"",Y,r,n,e);if(t!=null&&t.silent)i.push(G);else throw G}l(s,"error");function c(){let Y=p();return{type:Xe.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:Y,parsingErrors:i}}}l(c,"stylesheet");function u(){return h(/^{\s*/)}l(u,"open");function d(){return h(/^}/)}l(d,"close");function p(){let Y,G=[];for(f(),m(G);e.length&&e.charAt(0)!=="}"&&(Y=re()||oe());)Y&&(G.push(Y),m(G));return G}l(p,"rules");function h(Y){let G=Y.exec(e);if(!G)return;let J=G[0];return o(J),e=e.slice(J.length),G}l(h,"match");function f(){h(/^\s*/)}l(f,"whitespace");function m(Y){let G;for(Y=Y||[];G=g();)G&&Y.push(G);return Y}l(m,"comments");function g(){let Y=a();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let G=h(/^\/\*[^]*?\*\//);return G?Y({type:Xe.comment,comment:G[0].slice(2,-2)}):s("End of comment missing")}l(g,"comment");function y(Y,G,J){let te=G+1,Z=!1,ie=Y.indexOf(")",te);for(;!Z&&ie!==-1;){let le=Y.indexOf("(",te);le!==-1&&le<ie?(te=y(Y,le+1)+1,ie=Y.indexOf(")",te)):Z=!0}return Z&&ie!==-1?ie:-1}l(y,"findClosingParenthese");function b(){let Y=h(/^([^{]+)/);if(!Y)return;let G=mt(Y[0]).replace(vc,"");if(G.indexOf(",")===-1)return[G];let J=0,te=G.indexOf("(",J);for(;te!==-1;){let Z=y(G,te);if(Z===-1)break;J=Z+1,G=G.substring(0,te)+G.substring(te,Z).replace(/,/g,"")+G.substring(Z),te=G.indexOf("(",J)}return G=G.replace(/("|')(?:\\\1|.)*?\1/g,Z=>Z.replace(/,/g,"")),G.split(",").map(Z=>mt(Z.replace(/\u200C/g,",")))}l(b,"selector");function v(){let Y=a(),G=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!G)return;let J=mt(G[0]);if(!h(/^:\s*/))return s("property missing ':'");let te=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/),Z=Y({type:Xe.declaration,property:J.replace(vc,""),value:te?mt(te[0]).replace(vc,""):""});return h(/^[;\s]*/),Z}l(v,"declaration");function S(){let Y=[];if(!u())return s("missing '{'");m(Y);let G;for(;G=v();)G&&(Y.push(G),m(Y));return d()?Y:s("missing '}'")}l(S,"declarations");function x(){let Y,G=[],J=a();for(;Y=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)G.push(Y[1]),h(/^,\s*/);if(G.length)return J({type:Xe.keyframe,values:G,declarations:S()||[]})}l(x,"keyframe");function P(){let Y=a(),G=h(/^@([-\w]+)?keyframes\s*/);if(!G)return;let J=G[1],te=h(/^([-\w]+)\s*/);if(!te)return s("@keyframes missing name");let Z=te[1];if(!u())return s("@keyframes missing '{'");let ie,le=m();for(;ie=x();)le.push(ie),le=le.concat(m());return d()?Y({type:Xe.keyframes,name:Z,vendor:J,keyframes:le}):s("@keyframes missing '}'")}l(P,"atkeyframes");function C(){let Y=a(),G=h(/^@supports *([^{]+)/);if(!G)return;let J=mt(G[1]);if(!u())return s("@supports missing '{'");let te=m().concat(p());return d()?Y({type:Xe.supports,supports:J,rules:te}):s("@supports missing '}'")}l(C,"atsupports");function w(){let Y=a();if(!h(/^@host\s*/))return;if(!u())return s("@host missing '{'");let G=m().concat(p());return d()?Y({type:Xe.host,rules:G}):s("@host missing '}'")}l(w,"athost");function E(){let Y=a(),G=h(/^@container *([^{]+)/);if(!G)return;let J=mt(G[1]);if(!u())return s("@container missing '{'");let te=m().concat(p());return d()?Y({type:Xe.container,container:J,rules:te}):s("@container missing '}'")}l(E,"atcontainer");function A(){let Y=a(),G=h(/^@layer *([^{;@]+)/);if(!G)return;let J=mt(G[1]);if(!u())return h(/^[;\s]*/),Y({type:Xe.layer,layer:J});let te=m().concat(p());return d()?Y({type:Xe.layer,layer:J,rules:te}):s("@layer missing '}'")}l(A,"atlayer");function k(){let Y=a(),G=h(/^@media *([^{]+)/);if(!G)return;let J=mt(G[1]);if(!u())return s("@media missing '{'");let te=m().concat(p());return d()?Y({type:Xe.media,media:J,rules:te}):s("@media missing '}'")}l(k,"atmedia");function j(){let Y=a(),G=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(G)return Y({type:Xe.customMedia,name:mt(G[1]),media:mt(G[2])})}l(j,"atcustommedia");function L(){let Y=a();if(!h(/^@page */))return;let G=b()||[];if(!u())return s("@page missing '{'");let J=m(),te;for(;te=v();)J.push(te),J=J.concat(m());return d()?Y({type:Xe.page,selectors:G,declarations:J}):s("@page missing '}'")}l(L,"atpage");function F(){let Y=a(),G=h(/^@([-\w]+)?document *([^{]+)/);if(!G)return;let J=mt(G[1]),te=mt(G[2]);if(!u())return s("@document missing '{'");let Z=m().concat(p());return d()?Y({type:Xe.document,document:te,vendor:J,rules:Z}):s("@document missing '}'")}l(F,"atdocument");function T(){let Y=a();if(!h(/^@font-face\s*/))return;if(!u())return s("@font-face missing '{'");let G=m(),J;for(;J=v();)G.push(J),G=G.concat(m());return d()?Y({type:Xe.fontFace,declarations:G}):s("@font-face missing '}'")}l(T,"atfontface");function R(){let Y=a();if(!h(/^@starting-style\s*/))return;if(!u())return s("@starting-style missing '{'");let G=m().concat(p());return d()?Y({type:Xe.startingStyle,rules:G}):s("@starting-style missing '}'")}l(R,"atstartingstyle");let N=ee("import"),W=ee("charset"),K=ee("namespace");function ee(Y){let G=new RegExp("^@"+Y+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let J=a(),te=h(G);if(!te)return;let Z={type:Y};return Z[Y]=te[1].trim(),J(Z)}}l(ee,"_compileAtrule");function re(){if(e[0]==="@")return P()||k()||j()||C()||N()||W()||K()||F()||L()||w()||T()||E()||R()||A()}l(re,"atrule");function oe(){let Y=a(),G=b();return G?(m(),Y({type:Xe.rule,selectors:G,declarations:S()||[]})):s("selector missing")}return l(oe,"rule"),hs(c())},"$d708735ed1303b43$export$98e6a39c04603d36");function mt(e){return e?e.trim():""}l(mt,"$d708735ed1303b43$var$trim");function hs(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=>{hs(i,n)}):a&&typeof a=="object"&&hs(a,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}l(hs,"$d708735ed1303b43$var$addParent");var C9=E9,x9=C9,S9=Object.prototype.toString;function hd(e){return typeof e=="function"||S9.call(e)==="[object Function]"}l(hd,"isCallable");function TE(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}l(TE,"toInteger");var A9=Math.pow(2,53)-1;function $E(e){var t=TE(e);return Math.min(Math.max(t,0),A9)}l($E,"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"&&!hd(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=$E(n.length),a=hd(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 po(e){"@babel/helpers - typeof";return po=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},po(e)}l(po,"_typeof");function RE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}l(RE,"_classCallCheck");function md(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,Bh(n.key),n)}}l(md,"_defineProperties");function jE(e,t,r){return t&&md(e.prototype,t),r&&md(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}l(jE,"_createClass");function qE(e,t,r){return t=Bh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(qE,"_defineProperty");function Bh(e){var t=ME(e,"string");return po(t)==="symbol"?t:String(t)}l(Bh,"_toPropertyKey");function ME(e,t){if(po(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(po(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}l(ME,"_toPrimitive");var P9=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];RE(this,e),qE(this,"items",void 0),this.items=t}return l(e,"SetLike"),jE(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}(),O9=typeof Set>"u"?Set:P9;function rt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}l(rt,"getLocalName");var _9={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"},T9={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 kE(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=T9[t])!==null&&n!==void 0&&n.has(r))})}l(kE,"hasGlobalAriaAttributes");function Hh(e,t){return kE(e,t)}l(Hh,"ignorePresentationalRole");function IE(e){var t=DE(e);if(t===null||gd.indexOf(t)!==-1){var r=NE(e);if(gd.indexOf(t||"")===-1||Hh(e,r||""))return r}return t}l(IE,"getRole");function NE(e){var t=_9[rt(e)];if(t!==void 0)return t;switch(rt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Hh(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(NE,"getImplicitRole");function DE(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}l(DE,"getExplicitRole");var gd=["presentation","none"];function je(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}l(je,"isElement");function Uh(e){return je(e)&&rt(e)==="caption"}l(Uh,"isHTMLTableCaptionElement");function da(e){return je(e)&&rt(e)==="input"}l(da,"isHTMLInputElement");function FE(e){return je(e)&&rt(e)==="optgroup"}l(FE,"isHTMLOptGroupElement");function LE(e){return je(e)&&rt(e)==="select"}l(LE,"isHTMLSelectElement");function BE(e){return je(e)&&rt(e)==="table"}l(BE,"isHTMLTableElement");function HE(e){return je(e)&&rt(e)==="textarea"}l(HE,"isHTMLTextAreaElement");function UE(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}l(UE,"safeWindow");function VE(e){return je(e)&&rt(e)==="fieldset"}l(VE,"isHTMLFieldSetElement");function zE(e){return je(e)&&rt(e)==="legend"}l(zE,"isHTMLLegendElement");function WE(e){return je(e)&&rt(e)==="slot"}l(WE,"isHTMLSlotElement");function GE(e){return je(e)&&e.ownerSVGElement!==void 0}l(GE,"isSVGElement");function KE(e){return je(e)&&rt(e)==="svg"}l(KE,"isSVGSVGElement");function YE(e){return GE(e)&&rt(e)==="title"}l(YE,"isSVGTitleElement");function Ma(e,t){if(je(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(Ma,"queryIdRefs");function Xt(e,t){return je(e)?t.indexOf(IE(e))!==-1:!1}l(Xt,"hasAnyConcreteRoles");function XE(e){return e.trim().replace(/\s\s+/g," ")}l(XE,"asFlatString");function JE(e,t){if(!je(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(JE,"isHidden");function ZE(e){return Xt(e,["button","combobox","listbox","textbox"])||Vh(e,"range")}l(ZE,"isControl");function Vh(e,t){if(!je(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(Vh,"hasAbstractRole");function bd(e,t){var r=Ot(e.querySelectorAll(t));return Ma(e,"aria-owns").forEach(function(n){r.push.apply(r,Ot(n.querySelectorAll(t)))}),r}l(bd,"querySelectorAllSubtree");function QE(e){return LE(e)?e.selectedOptions||bd(e,"[selected]"):bd(e,'[aria-selected="true"]')}l(QE,"querySelectedOptions");function eC(e){return Xt(e,gd)}l(eC,"isMarkedPresentational");function tC(e){return Uh(e)}l(tC,"isNativeHostLanguageTextAlternativeElement");function rC(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(rC,"allowsNameFromContent");function nC(e){return!1}l(nC,"isDescendantOfNativeHostLanguageTextAlternativeElement");function oC(e){return da(e)||HE(e)?e.value:e.textContent||""}l(oC,"getValueOfTextbox");function yd(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}l(yd,"getTextualContent");function zh(e){var t=rt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}l(zh,"isLabelableElement");function Wh(e){if(zh(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&je(r)){var n=Wh(r);n!==null&&(t=n)}}),t}l(Wh,"findLabelableElement");function aC(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Wh(e)}l(aC,"getControlOfLabel");function iC(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ot(t);if(!zh(e))return null;var r=e.ownerDocument;return Ot(r.querySelectorAll("label")).filter(function(n){return aC(n)===e})}l(iC,"getLabels");function sC(e){var t=e.assignedNodes();return t.length===0?Ot(e.childNodes):t}l(sC,"getSlotContents");function Gh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new O9,n=UE(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 h(b,v){var S="";if(je(b)&&s){var x=u(b,"::before"),P=yd(x);S="".concat(P," ").concat(S)}var C=WE(b)?sC(b):Ot(b.childNodes).concat(Ma(b,"aria-owns"));if(C.forEach(function(A){var k=y(A,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=je(A)?u(A).getPropertyValue("display"):"inline",L=j!=="inline"?" ":"";S+="".concat(L).concat(k).concat(L)}),je(b)&&s){var w=u(b,"::after"),E=yd(w);S="".concat(S," ").concat(E)}return S.trim()}l(h,"computeMiscTextAlternative");function f(b,v){var S=b.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}l(f,"useAttribute");function m(b){return je(b)?f(b,"title"):null}l(m,"computeTooltipAttributeValue");function g(b){if(!je(b))return null;if(VE(b)){r.add(b);for(var v=Ot(b.childNodes),S=0;S<v.length;S+=1){var x=v[S];if(zE(x))return y(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(BE(b)){r.add(b);for(var P=Ot(b.childNodes),C=0;C<P.length;C+=1){var w=P[C];if(Uh(w))return y(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(KE(b)){r.add(b);for(var E=Ot(b.childNodes),A=0;A<E.length;A+=1){var k=E[A];if(YE(k))return k.textContent}return null}else if(rt(b)==="img"||rt(b)==="area"){var j=f(b,"alt");if(j!==null)return j}else if(FE(b)){var L=f(b,"label");if(L!==null)return L}if(da(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var F=f(b,"value");if(F!==null)return F;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var T=iC(b);if(T!==null&&T.length!==0)return r.add(b),Ot(T).map(function(K){return y(K,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(K){return K.length>0}).join(" ");if(da(b)&&b.type==="image"){var R=f(b,"alt");if(R!==null)return R;var N=f(b,"title");return N!==null?N:"Submit Query"}if(Xt(b,["button"])){var W=h(b,{isEmbeddedInLabel:!1});if(W!=="")return W}return null}l(g,"computeElementTextAlternative");function y(b,v){if(r.has(b))return"";if(!p&&JE(b,u)&&!v.isReferenced)return r.add(b),"";var S=je(b)?b.getAttributeNode("aria-labelledby"):null,x=S!==null&&!r.has(S)?Ma(b,"aria-labelledby"):[];if(a==="name"&&!v.isReferenced&&x.length>0)return r.add(S),x.map(function(j){return y(j,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=v.recursion&&ZE(b)&&a==="name";if(!P){var C=(je(b)&&b.getAttribute("aria-label")||"").trim();if(C!==""&&a==="name")return r.add(b),C;if(!eC(b)){var w=g(b);if(w!==null)return r.add(b),w}}if(Xt(b,["menu"]))return r.add(b),"";if(P||v.isEmbeddedInLabel||v.isReferenced){if(Xt(b,["combobox","listbox"])){r.add(b);var E=QE(b);return E.length===0?da(b)?b.value:"":Ot(E).map(function(j){return y(j,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Vh(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Xt(b,["textbox"]))return r.add(b),oC(b)}if(rC(b)||je(b)&&v.isReferenced||tC(b)||nC()){var A=h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(A!=="")return r.add(b),A}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});var k=m(b);return k!==null?(r.add(b),k):(r.add(b),"")}return l(y,"computeTextAlternative"),XE(y(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}l(Gh,"computeTextAlternative");function fo(e){"@babel/helpers - typeof";return fo=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},fo(e)}l(fo,"_typeof");function vd(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(vd,"ownKeys");function wd(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vd(Object(r),!0).forEach(function(n){lC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}l(wd,"_objectSpread");function lC(e,t,r){return t=uC(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(lC,"_defineProperty");function uC(e){var t=cC(e,"string");return fo(t)==="symbol"?t:String(t)}l(uC,"_toPropertyKey");function cC(e,t){if(fo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(fo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}l(cC,"_toPrimitive");function dC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ma(e,"aria-describedby").map(function(a){return Gh(a,wd(wd({},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(dC,"computeAccessibleDescription");function pC(e){return Xt(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}l(pC,"prohibitsNaming");function fC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return pC(e)?"":Gh(e,t)}l(fC,"computeAccessibleName");var Kh=Ct(eE(),1),$9=Ct(rE(),1),Yh=Ct(fE(),1),R9=Ct(hE(),1),hC=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{}this.message=[o.utils.matcherHint(`${o.isNot?".not":""}.${n.name}`,"received",""),"",`${o.utils.RECEIVED_COLOR("received")} value must ${t}.`,a].join(`
|
|
224
|
-
`)}};l(hC,"GenericTypeError");var mC=hC,gC=class extends mC{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};l(gC,"HtmlElementTypeError");var vy=gC,bC=class extends mC{constructor(...t){super("be a Node",...t)}};l(bC,"NodeTypeError");var wy=bC;function Xh(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}l(Xh,"checkHasWindow");function yC(e,...t){Xh(e,wy,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new wy(e,...t)}l(yC,"checkNode");function Ee(e,...t){Xh(e,vy,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new vy(e,...t)}l(Ee,"checkHtmlElement");var vC=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(`
|
|
225
|
-
`)}};l(vC,"InvalidCSSError");var j9=vC;function wC(e,...t){let r=x9(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new j9({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(wC,"parseCSS");function Ed(e,t){return typeof t=="string"?t:e.utils.stringify(t)}l(Ed,"display");function Je(e,t,r,n,o,a){return[`${t}
|
|
226
|
-
`,`${r}:
|
|
227
|
-
${e.utils.EXPECTED_COLOR((0,yy.default)(Ed(e,n),2))}`,`${o}:
|
|
228
|
-
${e.utils.RECEIVED_COLOR((0,yy.default)(Ed(e,a),2))}`].join(`
|
|
229
|
-
`)}l(Je,"getMessage");function EC(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}l(EC,"matches");function ii(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}l(ii,"deprecate");function si(e){return e.replace(/\s+/g," ").trim()}l(si,"normalize");function vr(e){return e.tagName&&e.tagName.toLowerCase()}l(vr,"getTag");function CC({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(CC,"getSelectValue");function xC(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}l(xC,"getInputValue");var q9=["meter","progressbar","slider","spinbutton"];function SC(e){if(q9.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}l(SC,"getAccessibleValue");function Jh(e){if(e)switch(e.tagName.toLowerCase()){case"input":return xC(e);case"select":return CC(e);default:return e.value??SC(e)}}l(Jh,"getSingleElementValue");function AC(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}l(AC,"toSentence");function Zl(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}l(Zl,"compareArraysAsSet");function ms(e,t){return ii("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&Ee(e,ms,this),t&&Ee(t,ms,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(`
|
|
230
|
-
`),"message")}}l(ms,"toBeInTheDOM");function Zh(e){(e!==null||!this.isNot)&&Ee(e,Zh,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(`
|
|
231
|
-
`),"message")}}l(Zh,"toBeInTheDocument");function Qh(e){return ii("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),Ee(e,Qh,this),{pass:e.innerHTML==="",message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
232
|
-
`),"message")}}l(Qh,"toBeEmpty");function em(e){return Ee(e,em,this),{pass:PC(e),message:l(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
233
|
-
`),"message")}}l(em,"toBeEmptyDOMElement");function PC(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}l(PC,"isEmptyElement");function gs(e,t){return Ee(e,gs,this),t!==null&&Ee(t,gs,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))}
|
|
234
|
-
`)].join(`
|
|
235
|
-
`),"message")}}l(gs,"toContainElement");function OC(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}l(OC,"getNormalizedHtml");function tm(e,t){if(Ee(e,tm,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(OC(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(`
|
|
236
|
-
`),"message")}}l(tm,"toContainHTML");function rm(e,t,r={normalizeWhitespace:!0}){yC(e,rm,this);let n=r.normalizeWhitespace?si(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&EC(n,t),message:l(()=>{let a=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${a} have text content`,t,"Received",n)},"message")}}l(rm,"toHaveTextContent");function bs(e,t){Ee(e,bs,this);let r=dC(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 Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.${bs.name}`,"element",""),`Expected element ${a} have accessible description`,t,"Received",r)},"message")}}l(bs,"toHaveAccessibleDescription");var Xo="aria-invalid",M9=["false"];function nm(e,t){var s;Ee(e,nm,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(()=>Je(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`),"message")};let a=e.getAttribute(Xo);if(!e.hasAttribute(Xo)||M9.includes(a))return{pass:!1,message:l(()=>Je(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Xo}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Xo}="${e.getAttribute(Xo)}`:null),"message")};let i=si(((s=e.ownerDocument.getElementById(o))==null?void 0:s.textContent)??"");return{pass:t===void 0?!!i:t instanceof RegExp?t.test(i):this.equals(i,t),message:l(()=>Je(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",i),"message")}}l(nm,"toHaveAccessibleErrorMessage");var k9=$C(Kh.elementRoles);function ys(e,t){Ee(e,ys,this);let r=_C(e);return{pass:r.some(n=>n===t),message:l(()=>{let n=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.${ys.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))},"message")}}l(ys,"toHaveRole");function _C(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):TC(e)}l(_C,"getExplicitOrImplicitRoles");function TC(e){for(let{match:t,roles:r}of k9)if(t(e))return[...r];return[]}l(TC,"getImplicitAriaRoles");function $C(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($C,"buildElementRoleList");function vs(e,t){Ee(e,vs,this);let r=fC(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 Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.${vs.name}`,"element",""),`Expected element ${a} have accessible name`,t,"Received",r)},"message")}}l(vs,"toHaveAccessibleName");function Cd(e,t,r){return r===void 0?t:`${t}=${e(r)}`}l(Cd,"printAttribute");function RC(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}l(RC,"getAttributeComment");function om(e,t,r){Ee(e,om,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?Cd(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:RC(this.utils.stringify,t,r)});return Je(this,c,`Expected the element ${i} have attribute`,Cd(this.utils.stringify,t,r),"Received",s)},"message")}}l(om,"toHaveAttribute");function jC(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(jC,"getExpectedClassNamesAndOptions");function xd(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}l(xd,"splitClassNames");function Sd(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}l(Sd,"isSubset$1");function am(e,...t){Ee(e,am,this);let{expectedClassNames:r,options:n}=jC(t),o=xd(e.getAttribute("class")),a=r.reduce((s,c)=>s.concat(typeof c=="string"||!c?xd(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:Sd(a,o)&&a.length===o.length,message:l(()=>{let s=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${s} have EXACTLY defined classes`,a.join(" "),"Received",o.join(" "))},"message")}:a.length>0?{pass:Sd(a,o),message:l(()=>{let s=this.isNot?"not to":"to";return Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${s} have class`,a.join(" "),"Received",o.join(" "))},"message")}:{pass:this.isNot?o.length>0:!1,message:l(()=>this.isNot?Je(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
|
|
237
|
-
`),"message")}}l(am,"toHaveClass");function qC(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(qC,"getStyleDeclaration");function MC(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(MC,"isSubset");function Ad(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
238
|
-
`)}l(Ad,"printoutStyles");function kC(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(Ad(t),Ad(n)).replace(`${$9.default.red("+ Received")}
|
|
239
|
-
`,"")}l(kC,"expectedDiff");function ws(e,t){Ee(e,ws,this);let r=typeof t=="object"?t:wC(t,ws,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=qC(e.ownerDocument,r),a=n(e);return{pass:MC(o,a),message:l(()=>{let i=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(i,"element",""),kC(this.utils.diff,o,a)].join(`
|
|
240
|
-
|
|
241
|
-
`)},"message")}}l(ws,"toHaveStyle");function im(e){return Ee(e,im,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(`
|
|
242
|
-
`),"message")}}l(im,"toHaveFocus");function IC(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(IC,"getMultiElementValue");function NC(e,t){let r=[...e.querySelectorAll(`[name="${(0,R9.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return Jh(r[0]);default:return IC(r)}}l(NC,"getFormValue");function DC(e){return/\[\]$/.test(e)?e.slice(0,-2):e}l(DC,"getPureName");function FC(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[DC(r)]:NC(e,r)}),{})}l(FC,"getAllFormValues");function sm(e,t){if(Ee(e,sm,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=FC(e);return{pass:Object.entries(t).every(([n,o])=>(0,Yh.default)(r[n],o,Zl)),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(`
|
|
243
|
-
|
|
244
|
-
`)},"message")}}l(sm,"toHaveFormValues");function LC(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(LC,"isStyleVisible");function BC(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(BC,"isAttributeVisible");function lm(e,t){return LC(e)&&BC(e,t)&&(!e.parentElement||lm(e.parentElement,e))}l(lm,"isElementVisible");function um(e){Ee(e,um,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&lm(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(`
|
|
245
|
-
`)},"message")}}l(um,"toBeVisible");var I9=["fieldset","input","select","optgroup","option","button","textarea"];function HC(e,t){return vr(e)==="legend"&&vr(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>vr(r)==="legend"))}l(HC,"isFirstLegendChildOfFieldset");function UC(e,t){return dm(t)&&!HC(e,t)}l(UC,"isElementDisabledByParent");function VC(e){return e.includes("-")}l(VC,"isCustomElement");function cm(e){let t=vr(e);return I9.includes(t)||VC(t)}l(cm,"canElementBeDisabled");function dm(e){return cm(e)&&e.hasAttribute("disabled")}l(dm,"isElementDisabled");function pm(e){let t=e.parentElement;return!!t&&(UC(e,t)||pm(t))}l(pm,"isAncestorDisabled");function fm(e){return cm(e)&&(dm(e)||pm(e))}l(fm,"isElementOrAncestorDisabled");function hm(e){Ee(e,hm,this);let t=fm(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(`
|
|
246
|
-
`)},"message")}}l(hm,"toBeDisabled");function mm(e){Ee(e,mm,this);let t=!fm(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(`
|
|
247
|
-
`)},"message")}}l(mm,"toBeEnabled");var N9=["select","textarea"],D9=["input","select","textarea"],F9=["color","hidden","range","submit","image","reset"],L9=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function zC(e){return N9.includes(vr(e))&&e.hasAttribute("required")}l(zC,"isRequiredOnFormTagsExceptInput");function WC(e){return vr(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!F9.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}l(WC,"isRequiredOnSupportedInput");function GC(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(D9.includes(vr(e))||e.hasAttribute("role")&&L9.includes(e.getAttribute("role")))}l(GC,"isElementRequiredByARIA");function gm(e){Ee(e,gm,this);let t=zC(e)||WC(e)||GC(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(`
|
|
248
|
-
`)},"message")}}l(gm,"toBeRequired");var B9=["form","input","select","textarea"];function KC(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}l(KC,"isElementHavingAriaInvalid");function YC(e){return B9.includes(vr(e))}l(YC,"isSupportsValidityMethod");function bm(e){let t=KC(e);return YC(e)?t||!e.checkValidity():t}l(bm,"isElementInvalid");function ym(e){Ee(e,ym,this);let t=bm(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(`
|
|
249
|
-
`)},"message")}}l(ym,"toBeInvalid");function vm(e){Ee(e,vm,this);let t=!bm(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(`
|
|
250
|
-
`)},"message")}}l(vm,"toBeValid");function wm(e,t){if(Ee(e,wm,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=Jh(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,Yh.default)(r,t,Zl):!!r,message:l(()=>{let i=this.isNot?"not to":"to",s=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Je(this,s,`Expected the element ${i} have value`,n?o:"(any)","Received",a)},"message")}}l(wm,"toHaveValue");function Em(e,t){Ee(e,Em,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=XC(r,e),o=JC(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(()=>Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n),"message")}}l(Em,"toHaveDisplayValue");function XC(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}l(XC,"getValues");function JC(e){return e instanceof Array?e:[e]}l(JC,"getExpectedValues");function Cm(e){Ee(e,Cm,this);let t=l(()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),"isValidInput"),r=l(()=>xm(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 ${ZC()} 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(`
|
|
251
|
-
`)},"message")}}l(Cm,"toBeChecked");function ZC(){return AC(QC().map(e=>`role="${e}"`),{lastWordConnector:" or "})}l(ZC,"supportedRolesSentence");function QC(){return Kh.roles.keys().filter(xm)}l(QC,"supportedRoles");function xm(e){var t;return((t=Kh.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}l(xm,"roleSupportsChecked");function Sm(e){Ee(e,Sm,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(`
|
|
252
|
-
`)},"message")}}l(Sm,"toBePartiallyChecked");function Am(e,t){ii("toHaveDescription","Please use toHaveAccessibleDescription."),Ee(e,Am,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=si(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 Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${a} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))},"message")}}l(Am,"toHaveDescription");function Pm(e,t){if(ii("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),Ee(e,Pm,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let a=this.isNot?".not":"";return{pass:!1,message:l(()=>Je(this,this.utils.matcherHint(`${a}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived("")),"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=si(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 Je(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${a} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))},"message")}}l(Pm,"toHaveErrorMessage");function ex(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(ex,"getSelection");function Om(e,t){Ee(e,Om,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=ex(e);return{pass:r?(0,Yh.default)(n,t,Zl):!!n,message:l(()=>{let o=this.isNot?"not to":"to",a=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Je(this,a,`Expected the element ${o} have selection`,r?t:"(any)","Received",n)},"message")}}l(Om,"toHaveSelection");Ct(Qw(),1);Ct(eE(),1);Ct(rE(),1);Ct(fE(),1);Ct(hE(),1);var H9={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]},U9=Object.entries(H9);function Ql(e){return String(e)}l(Ql,"a");Ql.open="";Ql.close="";function tx(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(tx,"C");function rx(e=!1){let t=tx(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),h=p.indexOf(s,i.length);return~h?i+r(p,s,c,h)+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 U9)o[i]=t?n(a(s[0]),a(s[1]),s[2]):Ql;return o}l(rx,"p");var He=rx();function _m(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(_m,"_mergeNamespaces");function nx(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(nx,"getKeysOfEnumerableProperties");function No(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+="…";break}let p=a(u.value[0],t,d,n,o),h=a(u.value[1],t,d,n,o);s+=p+i+h,u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}l(No,"printIteratorEntries");function eu(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+="…";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(eu,"printIteratorValues");function ka(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+="…";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(ka,"printListItems");function tu(e,t,r,n,o,a){let i="",s=nx(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),h=a(e[d],t,c,n,o);i+=`${c+p}: ${h}`,u<s.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}l(tu,"printObjectProperties");var V9=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,wc=" ",z9=l((e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+wc}[${ka(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+wc}{${tu(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+wc+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"),W9=l(e=>e&&e.$$typeof===V9,"test$5"),G9={serialize:z9,test:W9},K9=" ",ox=new Set(["DOMStringMap","NamedNodeMap"]),Y9=/^(?:HTML\w*Collection|NodeList)$/;function ax(e){return ox.has(e)||Y9.test(e)}l(ax,"testName");var X9=l(e=>e&&e.constructor&&!!e.constructor.name&&ax(e.constructor.name),"test$4");function ix(e){return e.constructor.name==="NamedNodeMap"}l(ix,"isNamedNodeMap");var J9=l((e,t,r,n,o,a)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+K9)+(ox.has(i)?`{${tu(ix(e)?[...e].reduce((s,c)=>(s[c.name]=c.value,s),{}):{...e},t,r,n,o,a)}}`:`[${ka([...e],t,r,n,o,a)}]`)},"serialize$4"),Z9={serialize:J9,test:X9};function Tm(e){return e.replaceAll("<","<").replaceAll(">",">")}l(Tm,"escapeHTML");function ru(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(`
|
|
253
|
-
`)&&(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(ru,"printProps");function nu(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?$m(i,t):a(i,t,r,n,o))).join("")}l(nu,"printChildren");function $m(e,t){let r=t.colors.content;return r.open+Tm(e)+r.close}l($m,"printText");function sx(e,t){let r=t.colors.comment;return`${r.open}<!--${Tm(e)}-->${r.close}`}l(sx,"printComment");function ou(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(ou,"printElement");function au(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}l(au,"printElementAsLeaf");var Q9=1,lx=3,ux=8,cx=11,e8=/^(?:(?:HTML|SVG)\w*)?Element$/;function dx(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}l(dx,"testHasAttribute");function px(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||dx(e);return r===Q9&&(e8.test(t)||o)||r===lx&&t==="Text"||r===ux&&t==="Comment"||r===cx&&t==="DocumentFragment"}l(px,"testNode");var t8=l(e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&px(e)},"test$3");function fx(e){return e.nodeType===lx}l(fx,"nodeIsText");function hx(e){return e.nodeType===ux}l(hx,"nodeIsComment");function $i(e){return e.nodeType===cx}l($i,"nodeIsFragment");var r8=l((e,t,r,n,o,a)=>{if(fx(e))return $m(e.data,t);if(hx(e))return sx(e.data,t);let i=$i(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?au(i,t):ou(i,ru($i(e)?[]:Array.from(e.attributes,s=>s.name).sort(),$i(e)?{}:[...e.attributes].reduce((s,c)=>(s[c.name]=c.value,s),{}),t,r+t.indent,n,o,a),nu(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},"serialize$3"),n8={serialize:r8,test:t8},o8="@@__IMMUTABLE_ITERABLE__@@",a8="@@__IMMUTABLE_LIST__@@",i8="@@__IMMUTABLE_KEYED__@@",s8="@@__IMMUTABLE_MAP__@@",Ey="@@__IMMUTABLE_ORDERED__@@",l8="@@__IMMUTABLE_RECORD__@@",u8="@@__IMMUTABLE_SEQ__@@",c8="@@__IMMUTABLE_SET__@@",d8="@@__IMMUTABLE_STACK__@@",ho=l(e=>`Immutable.${e}`,"getImmutableName"),iu=l(e=>`[${e}]`,"printAsLeaf"),Ia=" ",Cy="…";function mx(e,t,r,n,o,a,i){return++n>t.maxDepth?iu(ho(i)):`${ho(i)+Ia}{${No(e.entries(),t,r,n,o,a)}}`}l(mx,"printImmutableEntries");function gx(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(gx,"getRecordEntries");function bx(e,t,r,n,o,a){let i=ho(e._name||"Record");return++n>t.maxDepth?iu(i):`${i+Ia}{${No(gx(e),t,r,n,o,a)}}`}l(bx,"printImmutableRecord");function yx(e,t,r,n,o,a){let i=ho("Seq");return++n>t.maxDepth?iu(i):e[i8]?`${i+Ia}{${e._iter||e._object?No(e.entries(),t,r,n,o,a):Cy}}`:`${i+Ia}[${e._iter||e._array||e._collection||e._iterable?eu(e.values(),t,r,n,o,a):Cy}]`}l(yx,"printImmutableSeq");function Ri(e,t,r,n,o,a,i){return++n>t.maxDepth?iu(ho(i)):`${ho(i)+Ia}[${eu(e.values(),t,r,n,o,a)}]`}l(Ri,"printImmutableValues");var p8=l((e,t,r,n,o,a)=>e[s8]?mx(e,t,r,n,o,a,e[Ey]?"OrderedMap":"Map"):e[a8]?Ri(e,t,r,n,o,a,"List"):e[c8]?Ri(e,t,r,n,o,a,e[Ey]?"OrderedSet":"Set"):e[d8]?Ri(e,t,r,n,o,a,"Stack"):e[u8]?yx(e,t,r,n,o,a):bx(e,t,r,n,o,a),"serialize$2"),f8=l(e=>e&&(e[o8]===!0||e[l8]===!0),"test$2"),h8={serialize:p8,test:f8};function Rm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(Rm,"getDefaultExportFromCjs");var xy={exports:{}},Oe={},Sy;function vx(){return Sy||(Sy=1,function(){function e(g){if(typeof g=="object"&&g!==null){var y=g.$$typeof;switch(y){case t:switch(g=g.type,g){case n:case a:case o:case u:case d:return g;default:switch(g=g&&g.$$typeof,g){case s:case c:case h:case p:return g;case i:return g;default:return y}}case r:return y}}}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"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");Oe.ContextConsumer=i,Oe.ContextProvider=s,Oe.Element=t,Oe.ForwardRef=c,Oe.Fragment=n,Oe.Lazy=h,Oe.Memo=p,Oe.Portal=r,Oe.Profiler=a,Oe.StrictMode=o,Oe.Suspense=u,Oe.SuspenseList=d,Oe.isContextConsumer=function(g){return e(g)===i},Oe.isContextProvider=function(g){return e(g)===s},Oe.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},Oe.isForwardRef=function(g){return e(g)===c},Oe.isFragment=function(g){return e(g)===n},Oe.isLazy=function(g){return e(g)===h},Oe.isMemo=function(g){return e(g)===p},Oe.isPortal=function(g){return e(g)===r},Oe.isProfiler=function(g){return e(g)===a},Oe.isStrictMode=function(g){return e(g)===o},Oe.isSuspense=function(g){return e(g)===u},Oe.isSuspenseList=function(g){return e(g)===d},Oe.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===a||g===o||g===u||g===d||g===f||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===p||g.$$typeof===s||g.$$typeof===i||g.$$typeof===c||g.$$typeof===m||g.getModuleId!==void 0)},Oe.typeOf=e}()),Oe}l(vx,"requireReactIs_development$1");var Ay;function wx(){return Ay||(Ay=1,xy.exports=vx()),xy.exports}l(wx,"requireReactIs$1");var Ex=wx(),m8=Rm(Ex),g8=_m({__proto__:null,default:m8},[Ex]),Py={exports:{}},xe={},Oy;function Cx(){return Oy||(Oy=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"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=!1,g=!1,y=!1,b=!1,v=!1,S;S=Symbol.for("react.module.reference");function x(V){return!!(typeof V=="string"||typeof V=="function"||V===r||V===o||v||V===n||V===u||V===d||b||V===f||m||g||y||typeof V=="object"&&V!==null&&(V.$$typeof===h||V.$$typeof===p||V.$$typeof===a||V.$$typeof===i||V.$$typeof===c||V.$$typeof===S||V.getModuleId!==void 0))}l(x,"isValidElementType");function P(V){if(typeof V=="object"&&V!==null){var se=V.$$typeof;switch(se){case e:var ue=V.type;switch(ue){case r:case o:case n:case u:case d:return ue;default:var ce=ue&&ue.$$typeof;switch(ce){case s:case i:case c:case h:case p:case a:return ce;default:return se}}case t:return se}}}l(P,"typeOf");var C=i,w=a,E=e,A=c,k=r,j=h,L=p,F=t,T=o,R=n,N=u,W=d,K=!1,ee=!1;function re(V){return K||(K=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}l(re,"isAsyncMode");function oe(V){return ee||(ee=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}l(oe,"isConcurrentMode");function Y(V){return P(V)===i}l(Y,"isContextConsumer");function G(V){return P(V)===a}l(G,"isContextProvider");function J(V){return typeof V=="object"&&V!==null&&V.$$typeof===e}l(J,"isElement");function te(V){return P(V)===c}l(te,"isForwardRef");function Z(V){return P(V)===r}l(Z,"isFragment");function ie(V){return P(V)===h}l(ie,"isLazy");function le(V){return P(V)===p}l(le,"isMemo");function ye(V){return P(V)===t}l(ye,"isPortal");function Ae(V){return P(V)===o}l(Ae,"isProfiler");function B(V){return P(V)===n}l(B,"isStrictMode");function X(V){return P(V)===u}l(X,"isSuspense");function ne(V){return P(V)===d}l(ne,"isSuspenseList"),xe.ContextConsumer=C,xe.ContextProvider=w,xe.Element=E,xe.ForwardRef=A,xe.Fragment=k,xe.Lazy=j,xe.Memo=L,xe.Portal=F,xe.Profiler=T,xe.StrictMode=R,xe.Suspense=N,xe.SuspenseList=W,xe.isAsyncMode=re,xe.isConcurrentMode=oe,xe.isContextConsumer=Y,xe.isContextProvider=G,xe.isElement=J,xe.isForwardRef=te,xe.isFragment=Z,xe.isLazy=ie,xe.isMemo=le,xe.isPortal=ye,xe.isProfiler=Ae,xe.isStrictMode=B,xe.isSuspense=X,xe.isSuspenseList=ne,xe.isValidElementType=x,xe.typeOf=P}()),xe}l(Cx,"requireReactIs_development");var _y;function xx(){return _y||(_y=1,Py.exports=Cx()),Py.exports}l(xx,"requireReactIs");var Sx=xx(),b8=Rm(Sx),y8=_m({__proto__:null,default:b8},[Sx]),v8=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],nn=Object.fromEntries(v8.map(e=>[e,t=>y8[e](t)||g8[e](t)]));function jm(e,t=[]){if(Array.isArray(e))for(let r of e)jm(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}l(jm,"getChildren");function Pd(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(nn.isFragment(e))return"React.Fragment";if(nn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(nn.isContextProvider(e))return"Context.Provider";if(nn.isContextConsumer(e))return"Context.Consumer";if(nn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(nn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}l(Pd,"getType");function Ax(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}l(Ax,"getPropKeys$1");var w8=l((e,t,r,n,o,a)=>++n>t.maxDepth?au(Pd(e),t):ou(Pd(e),ru(Ax(e),e.props,t,r+t.indent,n,o,a),nu(jm(e.props.children),t,r+t.indent,n,o,a),t,r),"serialize$1"),E8=l(e=>e!=null&&nn.isElement(e),"test$1"),C8={serialize:w8,test:E8},x8=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function Px(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}l(Px,"getPropKeys");var S8=l((e,t,r,n,o,a)=>++n>t.maxDepth?au(e.type,t):ou(e.type,e.props?ru(Px(e),e.props,t,r+t.indent,n,o,a):"",e.children?nu(e.children,t,r+t.indent,n,o,a):"",t,r),"serialize"),A8=l(e=>e&&e.$$typeof===x8,"test"),P8={serialize:S8,test:A8},Ox=Object.prototype.toString,O8=Date.prototype.toISOString,_8=Error.prototype.toString,Ty=RegExp.prototype.toString;function pa(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}l(pa,"getConstructorName");function _x(e){return typeof window<"u"&&e===window}l(_x,"isWindow");var T8=/^Symbol\((.*)\)(.*)$/,$8=/\n/g,Tx=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};l(Tx,"PrettyFormatPluginError");var $x=Tx;function Rx(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(Rx,"isToStringedArrayType");function jx(e){return Object.is(e,-0)?"-0":String(e)}l(jx,"printNumber");function qx(e){return`${e}n`}l(qx,"printBigInt");function Od(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}l(Od,"printFunction");function _d(e){return String(e).replace(T8,"Symbol($1)")}l(_d,"printSymbol");function Td(e){return`[${_8.call(e)}]`}l(Td,"printError");function qm(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 jx(e);if(o==="bigint")return qx(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Od(e,t);if(o==="symbol")return _d(e);let a=Ox.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?Od(e,t):a==="[object Symbol]"?_d(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":O8.call(e):a==="[object Error]"?Td(e):a==="[object RegExp]"?r?Ty.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Ty.call(e):e instanceof Error?Td(e):null}l(qm,"printBasicValue");function Mm(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 fr(e.toJSON(),t,r,n,o,!0);let c=Ox.call(e);return c==="[object Arguments]"?i?"[Arguments]":`${s?"":"Arguments "}[${ka(e,t,r,n,o,fr)}]`:Rx(c)?i?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${ka(e,t,r,n,o,fr)}]`:c==="[object Map]"?i?"[Map]":`Map {${No(e.entries(),t,r,n,o,fr," => ")}}`:c==="[object Set]"?i?"[Set]":`Set {${eu(e.values(),t,r,n,o,fr)}}`:i||_x(e)?`[${pa(e)}]`:`${s||!t.printBasicPrototype&&pa(e)==="Object"?"":`${pa(e)} `}{${tu(e,t,r,n,o,fr)}}`}l(Mm,"printComplexValue");var R8={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:pa(e);return i?`[${p}]`:`${p} {${No(Object.entries(d).values(),t,r,n,o,a)}}`}};function Mx(e){return e.serialize!=null}l(Mx,"isNewPlugin");function km(e,t,r,n,o,a){let i;try{i=Mx(e)?e.serialize(t,r,n,o,a,fr):e.print(t,s=>fr(s,r,n,o,a),s=>{let c=n+r.indent;return c+s.replaceAll($8,`
|
|
254
|
-
${c}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new $x(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 Im(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new $x(n.message,n.stack)}return null}l(Im,"findPlugin");function fr(e,t,r,n,o,a){let i=Im(t.plugins,e);if(i!==null)return km(i,e,t,r,n,o);let s=qm(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Mm(e,t,r,n,o,a)}l(fr,"printer");var Nm={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},kx=Object.keys(Nm),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:Nm};function Ix(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(Ix,"validateOptions");function Nx(){return kx.reduce((e,t)=>{let r=Nm[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(Nx,"getColorsHighlight");function Dx(){return kx.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}l(Dx,"getColorsEmpty");function Dm(e){return(e==null?void 0:e.printFunctionName)??It.printFunctionName}l(Dm,"getPrintFunctionName");function Fm(e){return(e==null?void 0:e.escapeRegex)??It.escapeRegex}l(Fm,"getEscapeRegex");function Lm(e){return(e==null?void 0:e.escapeString)??It.escapeString}l(Lm,"getEscapeString");function $d(e){return{callToJSON:(e==null?void 0:e.callToJSON)??It.callToJSON,colors:e!=null&&e.highlight?Nx():Dx(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:It.compareKeys,escapeRegex:Fm(e),escapeString:Lm(e),indent:e!=null&&e.min?"":Fx((e==null?void 0:e.indent)??It.indent),maxDepth:(e==null?void 0:e.maxDepth)??It.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??It.maxWidth,min:(e==null?void 0:e.min)??It.min,plugins:(e==null?void 0:e.plugins)??It.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Dm(e),spacingInner:e!=null&&e.min?" ":`
|
|
255
|
-
`,spacingOuter:e!=null&&e.min?"":`
|
|
256
|
-
`}}l($d,"getConfig");function Fx(e){return Array.from({length:e+1}).join(" ")}l(Fx,"createIndent");function Ft(e,t){if(t&&(Ix(t),t.plugins)){let n=Im(t.plugins,e);if(n!==null)return km(n,e,$d(t),"",0,[])}let r=qm(e,Dm(t),Fm(t),Lm(t));return r!==null?r:Mm(e,$d(t),"",0,[])}l(Ft,"format");var Bm={AsymmetricMatcher:G9,DOMCollection:Z9,DOMElement:n8,Immutable:h8,ReactElement:C8,ReactTestComponent:P8,Error:R8},$y={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},j8={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},mo="…";function Lx(e,t){let r=$y[j8[t]]||$y[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}l(Lx,"colorise");function Bx({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=Lx),p}l(Bx,"normaliseOptions");function Hx(e){return e>="\uD800"&&e<="\uDBFF"}l(Hx,"isHighSurrogate");function xr(e,t,r=mo){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&&Hx(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}l(xr,"truncate");function qt(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=`${mo}(${e.length-u})`;let h=e[u];t.truncate=a-i.length-(d?0:n.length);let f=s||r(h,t)+(d?"":n),m=i.length+f.length,g=m+c.length;if(d&&m>a&&i.length+c.length<=a||!d&&!p&&g>a||(s=d?"":r(e[u+1],t)+(p?"":n),!d&&p&&g>a&&m+s.length>a))break;if(i+=f,!d&&!p&&m+s.length>=a){c=`${mo}(${e.length-u-1})`;break}c=""}return`${i}${c}`}l(qt,"inspectList");function Ux(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}l(Ux,"quoteComplexKey");function go([e,t],r){return r.truncate-=2,typeof e=="string"?e=Ux(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}l(go,"inspectProperty");function Vx(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=qt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=qt(r.map(a=>[a,e[a]]),t,go)),`[ ${n}${o?`, ${o}`:""} ]`}l(Vx,"inspectArray");var q8=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=q8(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(xr(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${mo}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=qt(n.map(i=>[i,e[i]]),t,go)),`${r}[ ${o}${a?`, ${a}`:""} ]`}l(Wt,"inspectTypedArray");function zx(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${xr(n[1],t.truncate-o.length-1)}`,"date")}l(zx,"inspectDate");function Rd(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${xr(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}l(Rd,"inspectFunction");function Wx([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}l(Wx,"inspectMapEntry");function Gx(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}l(Gx,"mapToEntries");function Kx(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${qt(Gx(e),t,Wx)} }`)}l(Kx,"inspectMap");var M8=Number.isNaN||(e=>e!==e);function jd(e,t){return M8(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(xr(String(e),t.truncate),"number")}l(jd,"inspectNumber");function qd(e,t){let r=xr(e.toString(),t.truncate-1);return r!==mo&&(r+="n"),t.stylize(r,"bigint")}l(qd,"inspectBigInt");function Yx(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${xr(o,n)}/${r}`,"regexp")}l(Yx,"inspectRegExp");function Xx(e){let t=[];return e.forEach(r=>{t.push(r)}),t}l(Xx,"arrayFromSet");function Jx(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${qt(Xx(e),t)} }`)}l(Jx,"inspectSet");var Ry=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),k8={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},I8=16;function Zx(e){return k8[e]||`\\u${`0000${e.charCodeAt(0).toString(I8)}`.slice(-4)}`}l(Zx,"escape");function Md(e,t){return Ry.test(e)&&(e=e.replace(Ry,Zx)),t.stylize(`'${xr(e,t.truncate-2)}'`,"string")}l(Md,"inspectString");function kd(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}l(kd,"inspectSymbol");var Qx=l(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Qx=l((n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`},"getPromiseValue"))}catch{}var N8=Qx;function fa(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=qt(r.map(s=>[s,e[s]]),t,go),a=qt(n.map(s=>[s,e[s]]),t,go);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}l(fa,"inspectObject");var Ec=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function eS(e,t){let r="";return Ec&&Ec in e&&(r=e[Ec]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${fa(e,t)}`}l(eS,"inspectClass");function tS(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${qt(e,t)} ]`)}l(tS,"inspectArguments");var D8=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function rS(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>D8.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=xr(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=qt(r.map(i=>[i,e[i]]),t,go);return`${n}${o}${a?` { ${a} }`:""}`}l(rS,"inspectObject");function nS([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}l(nS,"inspectAttribute");function Es(e,t){return qt(e,t,Hm,`
|
|
257
|
-
`)}l(Es,"inspectHTMLCollection");function Hm(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+=qt(r.map(d=>[d,e.getAttribute(d)]),t,nS," ")),t.truncate-=s.length;let c=t.truncate,u=Es(e.children,t);return u&&u.length>c&&(u=`${mo}(${e.children.length})`),`${o}${s}${a}${u}${i}`}l(Hm,"inspectHTML");var F8=typeof Symbol=="function"&&typeof Symbol.for=="function",Cc=F8?Symbol.for("chai/inspect"):"@@chai/inspect",Kn=!1;try{let e=BI("util");Kn=e.inspect?e.inspect.custom:!1}catch{Kn=!1}var jy=new WeakMap,qy={},My={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:jd,Number:jd,bigint:qd,BigInt:qd,string:Md,String:Md,function:Rd,Function:Rd,symbol:kd,Symbol:kd,Array:Vx,Date:zx,Map:Kx,Set:Jx,RegExp:Yx,Promise:N8,WeakSet:l((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:l((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:tS,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:rS,HTMLCollection:Es,NodeList:Es},L8=l((e,t,r)=>Cc in e&&typeof e[Cc]=="function"?e[Cc](t):Kn&&Kn in e&&typeof e[Kn]=="function"?e[Kn](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&jy.has(e.constructor)?jy.get(e.constructor)(e,t):qy[r]?qy[r](e,t):"","inspectCustom"),B8=Object.prototype.toString;function Cs(e,t={}){let r=Bx(t,Cs),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=B8.call(e).slice(8,-1)),o in My)return My[o](e,r);if(n&&e){let i=L8(e,r,o);if(i)return typeof i=="string"?i:Cs(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?fa(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Hm(e,r):"constructor"in e?e.constructor!==Object?eS(e,r):fa(e,r):e===Object(e)?fa(e,r):r.stylize(String(e),o)}l(Cs,"inspect");var{AsymmetricMatcher:H8,DOMCollection:U8,DOMElement:V8,Immutable:z8,ReactElement:W8,ReactTestComponent:G8}=Bm,ky=[G8,W8,V8,U8,z8,H8];function pt(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,a;try{a=Ft(e,{maxDepth:t,escapeString:!1,plugins:ky,...n})}catch{a=Ft(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:ky,...n})}return a.length>=o&&t>1?pt(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):a}l(pt,"stringify");var K8=/%[sdjifoOc%]/g;function oS(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push(Ln(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(K8,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():Ln(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 Ln(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ln(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+=` ${Ln(a)}`;return o}l(oS,"format");function Ln(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Cs(e,t)}l(Ln,"inspect");function aS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(aS,"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 ha(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}l(ha,"isObject");function iS(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}l(iS,"isFinalObj");function xs(e){return Object.prototype.toString.apply(e).slice(8,-1)}l(xs,"getType");function sS(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}l(sS,"collectOwnProperties");function Um(e){let t=new Set;return iS(e)?[]:(sS(e,t),Array.from(t))}l(Um,"getOwnProperties");var lS={forceWritable:!1};function Id(e,t=lS){return Ss(e,new WeakMap,t)}l(Id,"deepClone");function Ss(e,t,r=lS){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]=Ss(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=Um(e);for(let i of a){let s=Object.getOwnPropertyDescriptor(e,i);if(!s)continue;let c=Ss(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(Ss,"clone");var xc,Iy;function uS(){if(Iy)return xc;Iy=1;var e,t,r,n,o,a,i,s,c,u,d,p,h,f,m,g,y,b,v;return h=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,p=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,m=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,g=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,v=/[\t\v\f\ufeff\p{Zs}]+/yu,s=/\r?\n|[\r\u2028\u2029]/y,c=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,f=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,o=/[^<>{}]+/y,b=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,y=/^(?:=>|[;\]){}]|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),xc=l(function*(S,{jsx:x=!1}={}){var P,C,w,E,A,k,j,L,F,T,R,N,W,K;for({length:k}=S,E=0,A="",K=[{tag:"JS"}],P=[],R=0,N=!1;E<k;){switch(L=K[K.length-1],L.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(S[E]==="/"&&(b.test(A)||a.test(A))&&(h.lastIndex=E,j=h.exec(S))){E=h.lastIndex,A=j[0],N=!0,yield{type:"RegularExpressionLiteral",value:j[0],closed:j[1]!==void 0&&j[1]!=="\\"};continue}if(p.lastIndex=E,j=p.exec(S)){switch(W=j[0],F=p.lastIndex,T=W,W){case"(":A==="?NonExpressionParenKeyword"&&K.push({tag:"JSNonExpressionParen",nesting:R}),R++,N=!1;break;case")":R--,N=!0,L.tag==="JSNonExpressionParen"&&R===L.nesting&&(K.pop(),T="?NonExpressionParenEnd",N=!1);break;case"{":p.lastIndex=0,w=!y.test(A)&&(b.test(A)||a.test(A)),P.push(w),N=!1;break;case"}":switch(L.tag){case"InterpolationInTemplate":if(P.length===L.nesting){g.lastIndex=E,j=g.exec(S),E=g.lastIndex,A=j[0],j[1]==="${"?(A="?InterpolationInTemplate",N=!1,yield{type:"TemplateMiddle",value:j[0]}):(K.pop(),N=!0,yield{type:"TemplateTail",value:j[0],closed:j[1]==="`"});continue}break;case"InterpolationInJSX":if(P.length===L.nesting){K.pop(),E+=1,A="}",yield{type:"JSXPunctuator",value:"}"};continue}}N=P.pop(),T=N?"?ExpressionBraceEnd":"}";break;case"]":N=!0;break;case"++":case"--":T=N?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(x&&(b.test(A)||a.test(A))){K.push({tag:"JSXTag"}),E+=1,A="<",yield{type:"JSXPunctuator",value:W};continue}N=!1;break;default:N=!1}E=F,A=T,yield{type:"Punctuator",value:W};continue}if(e.lastIndex=E,j=e.exec(S)){switch(E=e.lastIndex,T=j[0],j[0]){case"for":case"if":case"while":case"with":A!=="."&&A!=="?."&&(T="?NonExpressionParenKeyword")}A=T,N=!a.test(j[0]),yield{type:j[1]==="#"?"PrivateIdentifier":"IdentifierName",value:j[0]};continue}if(m.lastIndex=E,j=m.exec(S)){E=m.lastIndex,A=j[0],N=!0,yield{type:"StringLiteral",value:j[0],closed:j[2]!==void 0};continue}if(d.lastIndex=E,j=d.exec(S)){E=d.lastIndex,A=j[0],N=!0,yield{type:"NumericLiteral",value:j[0]};continue}if(g.lastIndex=E,j=g.exec(S)){E=g.lastIndex,A=j[0],j[1]==="${"?(A="?InterpolationInTemplate",K.push({tag:"InterpolationInTemplate",nesting:P.length}),N=!1,yield{type:"TemplateHead",value:j[0]}):(N=!0,yield{type:"NoSubstitutionTemplate",value:j[0],closed:j[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=E,j=r.exec(S)){switch(E=r.lastIndex,T=j[0],j[0]){case"<":K.push({tag:"JSXTag"});break;case">":K.pop(),A==="/"||L.tag==="JSXTagEnd"?(T="?JSX",N=!0):K.push({tag:"JSXChildren"});break;case"{":K.push({tag:"InterpolationInJSX",nesting:P.length}),T="?InterpolationInJSX",N=!1;break;case"/":A==="<"&&(K.pop(),K[K.length-1].tag==="JSXChildren"&&K.pop(),K.push({tag:"JSXTagEnd"}))}A=T,yield{type:"JSXPunctuator",value:j[0]};continue}if(t.lastIndex=E,j=t.exec(S)){E=t.lastIndex,A=j[0],yield{type:"JSXIdentifier",value:j[0]};continue}if(n.lastIndex=E,j=n.exec(S)){E=n.lastIndex,A=j[0],yield{type:"JSXString",value:j[0],closed:j[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=E,j=o.exec(S)){E=o.lastIndex,A=j[0],yield{type:"JSXText",value:j[0]};continue}switch(S[E]){case"<":K.push({tag:"JSXTag"}),E++,A="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":K.push({tag:"InterpolationInJSX",nesting:P.length}),E++,A="?InterpolationInJSX",N=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(v.lastIndex=E,j=v.exec(S)){E=v.lastIndex,yield{type:"WhiteSpace",value:j[0]};continue}if(s.lastIndex=E,j=s.exec(S)){E=s.lastIndex,N=!1,i.test(A)&&(A="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:j[0]};continue}if(c.lastIndex=E,j=c.exec(S)){E=c.lastIndex,u.test(j[0])&&(N=!1,i.test(A)&&(A="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:j[0],closed:j[1]!==void 0};continue}if(f.lastIndex=E,j=f.exec(S)){E=f.lastIndex,N=!1,yield{type:"SingleLineComment",value:j[0]};continue}C=String.fromCodePoint(S.codePointAt(E)),E+=C.length,A=C,N=!1,yield{type:L.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:C}}},"jsTokens_1"),xc}l(uS,"requireJsTokens");uS();var cS={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(cS.keyword);new Set(cS.strict);var ut=-1,tt=1,Be=0,dS=class{constructor(t,r){Fe(this,0);Fe(this,1);this[0]=t,this[1]=r}};l(dS,"Diff");var Ne=dS;function pS(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(pS,"diff_commonPrefix");function Vm(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(Vm,"diff_commonSuffix");function Nd(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(Nd,"diff_commonOverlap_");function fS(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]===tt?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(ut,o)),e[r[n-1]+1][0]=tt,n--,n--,a=n>0?r[n-1]:-1,i=0,s=0,c=0,u=0,o=null,t=!0)),a++;for(t&&zm(e),hS(e),a=1;a<e.length;){if(e[a-1][0]===ut&&e[a][0]===tt){let d=e[a-1][1],p=e[a][1],h=Nd(d,p),f=Nd(p,d);h>=f?(h>=d.length/2||h>=p.length/2)&&(e.splice(a,0,new Ne(Be,p.substring(0,h))),e[a-1][1]=d.substring(0,d.length-h),e[a+1][1]=p.substring(h),a++):(f>=d.length/2||f>=p.length/2)&&(e.splice(a,0,new Ne(Be,d.substring(0,f))),e[a-1][0]=tt,e[a-1][1]=p.substring(0,p.length-f),e[a+1][0]=ut,e[a+1][1]=d.substring(f),a++),a++}a++}}l(fS,"diff_cleanupSemantic");var Ny=/[^a-z0-9]/i,Dy=/\s/,Fy=/[\r\n]/,Y8=/\n\r?\n$/,X8=/^\r?\n\r?\n/;function hS(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=Vm(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=ea(r,n)+ea(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=ea(r,n)+ea(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(hS,"diff_cleanupSemanticLossless");function zm(e){e.push(new Ne(Be,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case tt:n++,a+=e[t][1],t++;break;case ut:r++,o+=e[t][1],t++;break;case Be:r+n>1?(r!==0&&n!==0&&(i=pS(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 Ne(Be,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=Vm(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(ut,o)),t++),a.length&&(e.splice(t,0,new Ne(tt,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&&zm(e)}l(zm,"diff_cleanupMerge");function ea(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(Ny),a=n.match(Ny),i=o&&r.match(Dy),s=a&&n.match(Dy),c=i&&r.match(Fy),u=s&&n.match(Fy),d=c&&e.match(Y8),p=u&&t.match(X8);return d||p?5:c||u?4:o&&!i&&s?3:i||s?2:o||a?1:0}l(ea,"diff_cleanupSemanticScore_");var mS="Compared values have no visual difference.",J8="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",vi={},Ly;function gS(){if(Ly)return vi;Ly=1,Object.defineProperty(vi,"__esModule",{value:!0}),vi.default=h;let e="diff-sequences",t=0,r=l((f,m,g,y,b)=>{let v=0;for(;f<m&&g<y&&b(f,g);)f+=1,g+=1,v+=1;return v},"countCommonItemsF"),n=l((f,m,g,y,b)=>{let v=0;for(;f<=m&&g<=y&&b(m,y);)m-=1,y-=1,v+=1;return v},"countCommonItemsR"),o=l((f,m,g,y,b,v,S)=>{let x=0,P=-f,C=v[x],w=C;v[x]+=r(C+1,m,y+C-P+1,g,b);let E=f<S?f:S;for(x+=1,P+=2;x<=E;x+=1,P+=2){if(x!==f&&w<v[x])C=v[x];else if(C=w+1,m<=C)return x-1;w=v[x],v[x]=C+r(C+1,m,y+C-P+1,g,b)}return S},"extendPathsF"),a=l((f,m,g,y,b,v,S)=>{let x=0,P=f,C=v[x],w=C;v[x]-=n(m,C-1,g,y+C-P-1,b);let E=f<S?f:S;for(x+=1,P-=2;x<=E;x+=1,P-=2){if(x!==f&&v[x]<w)C=v[x];else if(C=w-1,C<m)return x-1;w=v[x],v[x]=C-n(m,C-1,g,y+C-P-1,b)}return S},"extendPathsR"),i=l((f,m,g,y,b,v,S,x,P,C,w)=>{let E=y-m,A=g-m,k=b-y-A,j=-k-(f-1),L=-k+(f-1),F=t,T=f<x?f:x;for(let R=0,N=-f;R<=T;R+=1,N+=2){let W=R===0||R!==f&&F<S[R],K=W?S[R]:F,ee=W?K:K+1,re=E+ee-N,oe=r(ee+1,g,re+1,b,v),Y=ee+oe;if(F=S[R],S[R]=Y,j<=N&&N<=L){let G=(f-1-(N+k))/2;if(G<=C&&P[G]-1<=Y){let J=E+K-(W?N+1:N-1),te=n(m,K,y,J,v),Z=K-te,ie=J-te,le=Z+1,ye=ie+1;w.nChangePreceding=f-1,f-1===le+ye-m-y?(w.aEndPreceding=m,w.bEndPreceding=y):(w.aEndPreceding=le,w.bEndPreceding=ye),w.nCommonPreceding=te,te!==0&&(w.aCommonPreceding=le,w.bCommonPreceding=ye),w.nCommonFollowing=oe,oe!==0&&(w.aCommonFollowing=ee+1,w.bCommonFollowing=re+1);let Ae=Y+1,B=re+oe+1;return w.nChangeFollowing=f-1,f-1===g+b-Ae-B?(w.aStartFollowing=g,w.bStartFollowing=b):(w.aStartFollowing=Ae,w.bStartFollowing=B),!0}}}return!1},"extendOverlappablePathsF"),s=l((f,m,g,y,b,v,S,x,P,C,w)=>{let E=b-g,A=g-m,k=b-y-A,j=k-f,L=k+f,F=t,T=f<C?f:C;for(let R=0,N=f;R<=T;R+=1,N-=2){let W=R===0||R!==f&&P[R]<F,K=W?P[R]:F,ee=W?K:K-1,re=E+ee-N,oe=n(m,ee-1,y,re-1,v),Y=ee-oe;if(F=P[R],P[R]=Y,j<=N&&N<=L){let G=(f+(N-k))/2;if(G<=x&&Y-1<=S[G]){let J=re-oe;if(w.nChangePreceding=f,f===Y+J-m-y?(w.aEndPreceding=m,w.bEndPreceding=y):(w.aEndPreceding=Y,w.bEndPreceding=J),w.nCommonPreceding=oe,oe!==0&&(w.aCommonPreceding=Y,w.bCommonPreceding=J),w.nChangeFollowing=f-1,f===1)w.nCommonFollowing=0,w.aStartFollowing=g,w.bStartFollowing=b;else{let te=E+K-(W?N-1:N+1),Z=r(K,g,te,b,v);w.nCommonFollowing=Z,Z!==0&&(w.aCommonFollowing=K,w.bCommonFollowing=te);let ie=K+Z,le=te+Z;f-1===g+b-ie-le?(w.aStartFollowing=g,w.bStartFollowing=b):(w.aStartFollowing=ie,w.bStartFollowing=le)}return!0}}}return!1},"extendOverlappablePathsR"),c=l((f,m,g,y,b,v,S,x,P)=>{let C=y-m,w=b-g,E=g-m,A=b-y,k=A-E,j=E,L=E;if(S[0]=m-1,x[0]=g,k%2===0){let F=(f||k)/2,T=(E+A)/2;for(let R=1;R<=T;R+=1)if(j=o(R,g,b,C,v,S,j),R<F)L=a(R,m,y,w,v,x,L);else if(s(R,m,g,y,b,v,S,j,x,L,P))return}else{let F=((f||k)+1)/2,T=(E+A+1)/2,R=1;for(j=o(R,g,b,C,v,S,j),R+=1;R<=T;R+=1)if(L=a(R-1,m,y,w,v,x,L),R<F)j=o(R,g,b,C,v,S,j);else if(i(R,m,g,y,b,v,S,j,x,L,P))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${g} bStart=${y} bEnd=${b}`)},"divide"),u=l((f,m,g,y,b,v,S,x,P,C)=>{if(b-y<g-m){if(v=!v,v&&S.length===1){let{foundSubsequence:G,isCommon:J}=S[0];S[1]={foundSubsequence:l((te,Z,ie)=>{G(te,ie,Z)},"foundSubsequence"),isCommon:l((te,Z)=>J(Z,te),"isCommon")}}let oe=m,Y=g;m=y,g=b,y=oe,b=Y}let{foundSubsequence:w,isCommon:E}=S[v?1:0];c(f,m,g,y,b,E,x,P,C);let{nChangePreceding:A,aEndPreceding:k,bEndPreceding:j,nCommonPreceding:L,aCommonPreceding:F,bCommonPreceding:T,nCommonFollowing:R,aCommonFollowing:N,bCommonFollowing:W,nChangeFollowing:K,aStartFollowing:ee,bStartFollowing:re}=C;m<k&&y<j&&u(A,m,k,y,j,v,S,x,P,C),L!==0&&w(L,F,T),R!==0&&w(R,N,W),ee<g&&re<b&&u(K,ee,g,re,b,v,S,x,P,C)},"findSubsequences"),d=l((f,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${f} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${f} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${f} value ${m} is a negative integer`)},"validateLength"),p=l((f,m)=>{let g=typeof m;if(g!=="function")throw new TypeError(`${e}: ${f} typeof ${g} is not a function`)},"validateCallback");function h(f,m,g,y){d("aLength",f),d("bLength",m),p("isCommon",g),p("foundSubsequence",y);let b=r(0,f,0,m,g);if(b!==0&&y(b,0,0),f!==b||m!==b){let v=b,S=b,x=n(v,f-1,S,m-1,g),P=f-x,C=m-x,w=b+x;f!==w&&m!==w&&u(0,v,P,S,C,!1,[{foundSubsequence:y,isCommon:g}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),x!==0&&y(x,P,C)}}return l(h,"diffSequence"),vi}l(gS,"requireBuild");var Z8=gS(),bS=aS(Z8);function yS(e,t){return e.replace(/\s+$/,r=>t(r))}l(yS,"formatTrailingSpaces");function su(e,t,r,n,o,a){return e.length!==0?r(`${n} ${yS(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}l(su,"printDiffLine");function Wm(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return su(e,t,r,n,o,a)}l(Wm,"printDeleteLine");function Gm(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return su(e,t,r,n,o,a)}l(Gm,"printInsertLine");function Km(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return su(e,t,r,n,o,a)}l(Km,"printCommonLine");function Dd(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}l(Dd,"createPatchMark");function vS(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=[],h=0;u&&p.push("");let f=0,m=0,g=0,y=0,b=l(x=>{let P=p.length;p.push(Km(x,P===0||P===d,t)),g+=1,y+=1},"pushCommonLine"),v=l(x=>{let P=p.length;p.push(Wm(x,P===0||P===d,t)),g+=1},"pushDeleteLine"),S=l(x=>{let P=p.length;p.push(Gm(x,P===0||P===d,t)),y+=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,f=x,m=x,g=f,y=m);for(let P=x;P!==c;P+=1)b(e[P][1])}else if(c===r){let P=c-x>n?x+n:c;for(let C=x;C!==P;C+=1)b(e[C][1])}else{let P=c-x;if(P>o){let C=x+n;for(let E=x;E!==C;E+=1)b(e[E][1]);p[h]=Dd(f,g,m,y,t),h=p.length,p.push("");let w=P-o;f=g+w,m=y+w,g=f,y=m;for(let E=c-n;E!==c;E+=1)b(e[E][1])}else for(let C=x;C!==c;C+=1)b(e[C][1])}for(;c!==r&&e[c][0]===ut;)v(e[c][1]),c+=1;for(;c!==r&&e[c][0]===tt;)S(e[c][1]),c+=1}return u&&(p[h]=Dd(f,g,m,y,t)),p.join(`
|
|
258
|
-
`)}l(vS,"joinAlignedDiffsNoExpand");function wS(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case ut:return Wm(a,i,t);case tt:return Gm(a,i,t);default:return Km(a,i,t)}}).join(`
|
|
259
|
-
`)}l(wS,"joinAlignedDiffsExpand");var Sc=l(e=>e,"noColor"),ES=5,Q8=0;function CS(){return{aAnnotation:"Expected",aColor:He.green,aIndicator:"-",bAnnotation:"Received",bColor:He.red,bIndicator:"+",changeColor:He.inverse,changeLineTrailingSpaceColor:Sc,commonColor:He.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Sc,compareKeys:void 0,contextLines:ES,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:He.yellow,printBasicPrototype:!1,truncateThreshold:Q8,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Sc}}l(CS,"getDefaultOptions");function xS(e){return e&&typeof e=="function"?e:void 0}l(xS,"getCompareKeys");function SS(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:ES}l(SS,"getContextLines");function Kr(e={}){return{...CS(),...e,compareKeys:xS(e.compareKeys),contextLines:SS(e.contextLines)}}l(Kr,"normalizeDiffOptions");function sn(e){return e.length===1&&e[0].length===0}l(sn,"isEmptyString");function AS(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case ut:t+=1;break;case tt:r+=1;break}}),{a:t,b:r}}l(AS,"countChanges");function PS({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 f=String(c.a),m=String(c.b),g=n.length-e.length,y=" ".repeat(Math.max(0,g)),b=" ".repeat(Math.max(0,-g)),v=m.length-f.length,S=" ".repeat(Math.max(0,v)),x=" ".repeat(Math.max(0,-v));u=`${y} ${r} ${S}${f}`,d=`${b} ${a} ${x}${m}`}let p=`${r} ${e}${u}`,h=`${a} ${n}${d}`;return`${t(p)}
|
|
260
|
-
${o(h)}
|
|
261
|
-
|
|
262
|
-
`}l(PS,"printAnnotation");function lu(e,t,r){return PS(r,AS(e))+(r.expand?wS(e,r):vS(e,r))+(t?r.truncateAnnotationColor(`
|
|
263
|
-
${r.truncateAnnotation}`):"")}l(lu,"printDiffLines");function li(e,t,r){let n=Kr(r),[o,a]=Ym(sn(e)?[]:e,sn(t)?[]:t,n);return lu(o,a,n)}l(li,"diffLinesUnified");function OS(e,t,r,n,o){if(sn(e)&&sn(r)&&(e=[],r=[]),sn(t)&&sn(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return li(e,t,o);let[a,i]=Ym(r,n,o),s=0,c=0;return a.forEach(u=>{switch(u[0]){case ut:u[1]=e[s],s+=1;break;case tt:u[1]=t[c],c+=1;break;default:u[1]=t[c],s+=1,c+=1}}),lu(a,i,Kr(o))}l(OS,"diffLinesUnified2");function Ym(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),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((h,f)=>e[h]===t[f],"isCommon"),u=[],d=0,p=0;for(bS(a,i,c,l((h,f,m)=>{for(;d!==f;d+=1)u.push(new Ne(ut,e[d]));for(;p!==m;p+=1)u.push(new Ne(tt,t[p]));for(;h!==0;h-=1,d+=1,p+=1)u.push(new Ne(Be,t[p]))},"foundSubsequence"));d!==a;d+=1)u.push(new Ne(ut,e[d]));for(;p!==i;p+=1)u.push(new Ne(tt,t[p]));return[u,s]}l(Ym,"diffLinesRaw");function Fd(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(Fd,"getType");function Ld(e){return e.includes(`\r
|
|
264
|
-
`)?`\r
|
|
265
|
-
`:`
|
|
266
|
-
`}l(Ld,"getNewLineSymbol");function _S(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),a=e.length,i=t.length;if(n){let h=e.includes(`
|
|
267
|
-
`),f=t.includes(`
|
|
268
|
-
`),m=Ld(e),g=Ld(t),y=h?`${e.split(m,o).join(m)}
|
|
269
|
-
`:e,b=f?`${t.split(g,o).join(g)}
|
|
270
|
-
`:t;a=y.length,i=b.length}let s=a!==e.length||i!==t.length,c=l((h,f)=>e[h]===t[f],"isCommon"),u=0,d=0,p=[];return bS(a,i,c,l((h,f,m)=>{u!==f&&p.push(new Ne(ut,e.slice(u,f))),d!==m&&p.push(new Ne(tt,t.slice(d,m))),u=f+h,d=m+h,p.push(new Ne(Be,t.slice(m,d)))},"foundSubsequence")),u!==a&&p.push(new Ne(ut,e.slice(u))),d!==i&&p.push(new Ne(tt,t.slice(d))),[p,s]}l(_S,"diffStrings");function TS(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(TS,"concatenateRelevantDiffs");var $S=class{constructor(t,r){Fe(this,"op");Fe(this,"line");Fe(this,"lines");Fe(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,TS(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(`
|
|
271
|
-
`)){let n=r.split(`
|
|
272
|
-
`),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($S,"ChangeBuffer");var By=$S,RS=class{constructor(t,r){Fe(this,"deleteBuffer");Fe(this,"insertBuffer");Fe(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(`
|
|
273
|
-
`)){let o=n.split(`
|
|
274
|
-
`),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}};l(RS,"CommonBuffer");var e7=RS;function jS(e,t){let r=new By(ut,t),n=new By(tt,t),o=new e7(r,n);return e.forEach(a=>{switch(a[0]){case ut:r.align(a);break;case tt:n.align(a);break;default:o.align(a)}}),o.getLines()}l(jS,"getAlignedDiffs");function qS(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Be&&(o!==r||n[1]!==`
|
|
275
|
-
`))}return e.some(r=>r[0]===Be)}l(qS,"hasCommonDiff");function MS(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
276
|
-
`)||t.includes(`
|
|
277
|
-
`),[o,a]=Xm(n?`${e}
|
|
278
|
-
`:e,n?`${t}
|
|
279
|
-
`:t,!0,r);if(qS(o,n)){let i=Kr(r),s=jS(o,i.changeColor);return lu(s,a,i)}}return li(e.split(`
|
|
280
|
-
`),t.split(`
|
|
281
|
-
`),r)}l(MS,"diffStringsUnified");function Xm(e,t,r,n){let[o,a]=_S(e,t,n);return r&&fS(o),[o,a]}l(Xm,"diffStringsRaw");function As(e,t){let{commonColor:r}=Kr(t);return r(e)}l(As,"getCommonMessage");var{AsymmetricMatcher:t7,DOMCollection:r7,DOMElement:n7,Immutable:o7,ReactElement:a7,ReactTestComponent:i7}=Bm,kS=[i7,a7,n7,r7,o7,t7,Bm.Error],Bd={plugins:kS},IS={callToJSON:!1,maxDepth:8,plugins:kS};function Rn(e,t,r){if(Object.is(e,t))return"";let n=Fd(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!==Fd(t)){let i=l(function(S){return S.length<=y?S:`${S.slice(0,y)}...`},"truncate2"),{aAnnotation:s,aColor:c,aIndicator:u,bAnnotation:d,bColor:p,bIndicator:h}=Kr(r),f=Ps(IS,r),m=Ft(e,f),g=Ft(t,f),y=1e5;m=i(m),g=i(g);let b=`${c(`${u} ${s}:`)}
|
|
282
|
-
${m}`,v=`${p(`${h} ${d}:`)}
|
|
283
|
-
${g}`;return`${b}
|
|
284
|
-
|
|
285
|
-
${v}`}if(!a)switch(n){case"string":return li(e.split(`
|
|
286
|
-
`),t.split(`
|
|
287
|
-
`),r);case"boolean":case"number":return NS(e,t,r);case"map":return ji(Hd(e),Hd(t),r);case"set":return ji(Ud(e),Ud(t),r);default:return ji(e,t,r)}}l(Rn,"diff");function NS(e,t,r){let n=Ft(e,Bd),o=Ft(t,Bd);return n===o?"":li(n.split(`
|
|
288
|
-
`),o.split(`
|
|
289
|
-
`),r)}l(NS,"comparePrimitive");function Hd(e){return new Map(Array.from(e.entries()).sort())}l(Hd,"sortMap");function Ud(e){return new Set(Array.from(e.values()).sort())}l(Ud,"sortSet");function ji(e,t,r){let n,o=!1;try{let i=Ps(Bd,r);n=Vd(e,t,i,r)}catch{o=!0}let a=As(mS,r);if(n===void 0||n===a){let i=Ps(IS,r);n=Vd(e,t,i,r),n!==a&&!o&&(n=`${As(J8,r)}
|
|
290
|
-
|
|
291
|
-
${n}`)}return n}l(ji,"compareObjects");function Ps(e,t){let{compareKeys:r,printBasicPrototype:n}=Kr(t);return{...e,compareKeys:r,printBasicPrototype:n}}l(Ps,"getFormatOptions");function Vd(e,t,r,n){let o={...r,indent:0},a=Ft(e,o),i=Ft(t,o);if(a===i)return As(mS,n);{let s=Ft(e,r),c=Ft(t,r);return OS(s.split(`
|
|
292
|
-
`),c.split(`
|
|
293
|
-
`),a.split(`
|
|
294
|
-
`),i.split(`
|
|
295
|
-
`),n)}}l(Vd,"getObjectsDifference");var Hy=2e4;function zd(e){return xs(e)==="Object"&&typeof e.asymmetricMatch=="function"}l(zd,"isAsymmetricMatcher");function Wd(e,t){let r=xs(e),n=xs(t);return r===n&&(r==="Object"||r==="Array")}l(Wd,"isReplaceable");function Jm(e,t,r){let{aAnnotation:n,bAnnotation:o}=Kr(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=Hy&&e.length<=Hy&&t!==e){if(t.includes(`
|
|
296
|
-
`)||e.includes(`
|
|
297
|
-
`))return MS(t,e,r);let[u]=Xm(t,e,!0),d=u.some(m=>m[0]===Be),p=DS(n,o),h=p(n)+LS(Gd(u,ut,d)),f=p(o)+FS(Gd(u,tt,d));return`${h}
|
|
298
|
-
${f}`}let a=Id(t,{forceWritable:!0}),i=Id(e,{forceWritable:!0}),{replacedExpected:s,replacedActual:c}=Zm(i,a);return Rn(s,c,r)}l(Jm,"printDiffOrStringify");function Zm(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}):Wd(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Um(t).forEach(o=>{let a=t[o],i=e[o];if(zd(a))a.asymmetricMatch(i)&&(e[o]=a);else if(zd(i))i.asymmetricMatch(a)&&(t[o]=i);else if(Wd(i,a)){let s=Zm(i,a,r,n);e[o]=s.replacedActual,t[o]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}l(Zm,"replaceAsymmetricMatcher");function DS(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}l(DS,"getLabelPrinter");var s7="·";function Qm(e){return e.replace(/\s+$/gm,t=>s7.repeat(t.length))}l(Qm,"replaceTrailingSpaces");function FS(e){return He.red(Qm(pt(e)))}l(FS,"printReceived");function LS(e){return He.green(Qm(pt(e)))}l(LS,"printExpected");function Gd(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(Gd,"getCommonAndChangedSubstrings");function ma(e,t){if(!e)throw new Error(t)}l(ma,"d");function ln(e,t){return typeof t===e}l(ln,"y");function BS(e){return e instanceof Promise}l(BS,"w");function Os(e,t,r){Object.defineProperty(e,t,r)}l(Os,"f");function fn(e,t,r){Object.defineProperty(e,t,{value:r})}l(fn,"l");var ga=Symbol.for("tinyspy:spy"),l7=new Set,u7=l(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),c7=l(e=>(Os(e,ga,{value:{reset:l(()=>u7(e[ga]),"reset")}}),e[ga]),"K"),_s=l(e=>e[ga]||c7(e),"T");function HS(e){ma(ln("function",e)||ln("undefined",e),"cannot spy on a non-function value");let t=l(function(...n){let o=_s(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 BS(i)&&i.then(d=>o.resolves[c]=["ok",d],d=>o.resolves[c]=["error",d]),o.results.push(u),i},"t");fn(t,"_isMockFunction",!0),fn(t,"length",e?e.length:0),fn(t,"name",e&&e.name||"spy");let r=_s(t);return r.reset(),r.impl=e,t}l(HS,"m");var Uy=l((e,t)=>Object.getOwnPropertyDescriptor(e,t),"k"),Vy=l((e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)},"O");function eg(e,t,r){ma(!ln("undefined",e),"spyOn could not find an object to spy upon"),ma(ln("object",e)||ln("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!ln("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=Uy(e,n),i=Object.getPrototypeOf(e),s=i&&Uy(i,n),c=a||s;ma(c||n in e,`${String(n)} does not exist`);let u=!1;o==="value"&&c&&!c.value&&c.get&&(o="get",u=!0,r=c.get());let d;c?d=c[o]:o!=="value"?d=l(()=>e[n],"o"):d=e[n];let p=l(g=>{let{value:y,...b}=c||{configurable:!0,writable:!0};o!=="value"&&delete b.writable,b[o]=g,Os(e,n,b)},"g"),h=l(()=>c?Os(e,n,c):p(d),"b");r||(r=d);let f=HS(r);o==="value"&&Vy(f,d);let m=f[ga];return fn(m,"restore",h),fn(m,"getOriginal",()=>u?d():d),fn(m,"willCall",g=>(m.impl=g,f)),p(u?()=>(Vy(f,r),f):f),l7.add(f),f}l(eg,"C");var uu=new Set;function ba(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}l(ba,"isMockFunction");function d7(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o=eg(e,n);return tg(o)}l(d7,"spyOn");var p7=0;function tg(e){let t=e,r,n=[],o=[],a=[],i=_s(e),s={get calls(){return i.calls},get contexts(){return o},get instances(){return n},get invocationCallOrder(){return a},get results(){return i.results.map(([f,m])=>({type:f==="error"?"throw":"return",value:m}))},get settledResults(){return i.resolves.map(([f,m])=>({type:f==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return i.calls[i.calls.length-1]}},c=[],u=!1;function d(...f){return n.push(this),o.push(this),a.push(++p7),(u?r:c.shift()||r||i.getOriginal()||(()=>{})).apply(this,f)}l(d,"mockCall");let p=t.name;t.getMockName=()=>p||"vi.fn()",t.mockName=f=>(p=f,t),t.mockClear=()=>(i.reset(),n=[],o=[],a=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,c=[],t),t.mockRestore=()=>(t.mockReset(),i.restore(),t),t.getMockImplementation=()=>u?r:c.at(0)||r,t.mockImplementation=f=>(r=f,i.willCall(d),t),t.mockImplementationOnce=f=>(c.push(f),t);function h(f,m){let g=r;r=f,i.willCall(d),u=!0;let y=l(()=>{r=g,u=!1},"reset"),b=m();return b instanceof Promise?b.then(()=>(y(),t)):(y(),t)}return l(h,"withImplementation"),t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=f=>t.mockImplementation(()=>f),t.mockReturnValueOnce=f=>t.mockImplementationOnce(()=>f),t.mockResolvedValue=f=>t.mockImplementation(()=>Promise.resolve(f)),t.mockResolvedValueOnce=f=>t.mockImplementationOnce(()=>Promise.resolve(f)),t.mockRejectedValue=f=>t.mockImplementation(()=>Promise.reject(f)),t.mockRejectedValueOnce=f=>t.mockImplementationOnce(()=>Promise.reject(f)),Object.defineProperty(t,"mock",{get:l(()=>s,"get")}),i.willCall(d),uu.add(t),t}l(tg,"enhanceSpy");function Kd(e){let t=tg(eg({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}l(Kd,"fn");var f7="@@__IMMUTABLE_RECORD__@@",h7="@@__IMMUTABLE_ITERABLE__@@";function US(e){return e&&(e[h7]||e[f7])}l(US,"isImmutable");var m7=Object.getPrototypeOf({});function Yd(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}l(Yd,"getUnserializableMessage");function un(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(US(e))return un(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()} ${oS(e.sample)}`;if(typeof e.toJSON=="function")return un(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]=un(n,t)}catch(a){r[o]=Yd(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==m7;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=un(e[o],t)}catch(a){delete r[o],r[o]=Yd(a)}}),n=Object.getPrototypeOf(n);return r}}l(un,"serializeValue");function VS(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}l(VS,"normalizeErrorMessage");function rg(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Jm(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=pt(n.expected,10)),typeof n.actual!="string"&&(n.actual=pt(n.actual,10));try{typeof n.message=="string"&&(n.message=VS(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=rg(n.cause,t,r))}catch{}try{return un(n)}catch(o){return un(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
|
|
299
|
-
Inner error message: ${n==null?void 0:n.message}`))}}l(rg,"processError");var Na=Symbol.for("matchers-object"),Da=Symbol.for("$$jest-matchers-object-storybook"),ng=Symbol.for("expect-global"),Xd=Symbol.for("asymmetric-matchers-object"),g7={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","")}
|
|
300
|
-
|
|
301
|
-
Expected value to not satisfy:
|
|
302
|
-
${r||o(t)}
|
|
303
|
-
Received:
|
|
304
|
-
${n(e)}`:`${a(".toSatisfy","received","")}
|
|
305
|
-
|
|
306
|
-
Expected value to satisfy:
|
|
307
|
-
${r||o(t)}
|
|
308
|
-
|
|
309
|
-
Received:
|
|
310
|
-
${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","")}
|
|
311
|
-
|
|
312
|
-
Expected value to not be one of:
|
|
313
|
-
${a(t)}
|
|
314
|
-
Received:
|
|
315
|
-
${o(e)}`:`${i(".toBeOneOf","received","")}
|
|
316
|
-
|
|
317
|
-
Expected value to be one of:
|
|
318
|
-
${a(t)}
|
|
319
|
-
|
|
320
|
-
Received:
|
|
321
|
-
${o(e)}`,"message")}}},Ts=He.green,og=He.red,b7=He.inverse,y7=He.bold,Rr=He.dim;function zS(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:a=!1,isNot:i=!1,promise:s="",secondArgument:c="",expectedColor:u=Ts,receivedColor:d=og,secondArgumentColor:p=Ts}=n,h="",f="expect";return!a&&t!==""&&(h+=Rr(`${f}(`)+d(t),f=")"),s!==""&&(h+=Rr(`${f}.`)+s,f=""),i&&(h+=`${Rr(`${f}.`)}not`,f=""),e.includes(".")?f+=e:(h+=Rr(`${f}.`)+e,f=""),r===""?f+="()":(h+=Rr(`${f}(`)+u(r),c&&(h+=Rr(", ")+p(c)),f=")"),o!==""&&(f+=` // ${o}`),f!==""&&(h+=Rr(f)),h}l(zS,"matcherHint");var v7="·";function ag(e){return e.replace(/\s+$/gm,t=>v7.repeat(t.length))}l(ag,"replaceTrailingSpaces");function WS(e){return og(ag(pt(e)))}l(WS,"printReceived");function GS(e){return Ts(ag(pt(e)))}l(GS,"printExpected");function ig(){return{EXPECTED_COLOR:Ts,RECEIVED_COLOR:og,INVERTED_COLOR:b7,BOLD_WEIGHT:y7,DIM_COLOR:Rr,diff:Rn,matcherHint:zS,printReceived:WS,printExpected:GS,printDiffOrStringify:Jm}}l(ig,"getMatcherUtils");function cu(){return globalThis[Da].customEqualityTesters}l(cu,"getCustomEqualityTesters");function ve(e,t,r,n){return r=r||[],eo(e,t,[],[],r,n?sg:XS)}l(ve,"equals");function Jd(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Tt("Function",e.asymmetricMatch)}l(Jd,"isAsymmetric");function KS(e,t){let r=Jd(e),n=Jd(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}l(KS,"asymmetricMatch");function eo(e,t,r,n,o,a){let i=!0,s=KS(e,t);if(s!==void 0)return s;let c={equals:ve};for(let m=0;m<o.length;m++){let g=o[m].call(c,e,t,o);if(g!==void 0)return g}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,g=+t;return m===g||Number.isNaN(m)&&Number.isNaN(g)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(Qd(e)&&Qd(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 YS(e,t,r,n,o,a)}finally{r.pop(),n.pop()}let p=Zd(e,a),h,f=p.length;if(Zd(t,a).length!==f)return!1;for(;f--;)if(h=p[f],i=a(t,h)&&eo(e[h],t[h],r,n,o,a),!i)return!1;return r.pop(),n.pop(),i}l(eo,"eq");function YS(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=eo(e.cause,t.cause,r,n,o,a)),e instanceof AggregateError&&t instanceof AggregateError&&i&&(i=eo(e.errors,t.errors,r,n,o,a)),i&&(i=eo({...e},{...t},r,n,o,a)),i}l(YS,"isErrorEqual");function Zd(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(Zd,"keys");function XS(e,t){return sg(e,t)&&e[t]!==void 0}l(XS,"hasDefinedKey");function sg(e,t){return Object.prototype.hasOwnProperty.call(e,t)}l(sg,"hasKey");function Tt(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}l(Tt,"isA");function Qd(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(Qd,"isDomNode");var JS="@@__IMMUTABLE_KEYED__@@",ZS="@@__IMMUTABLE_SET__@@",w7="@@__IMMUTABLE_LIST__@@",du="@@__IMMUTABLE_ORDERED__@@",E7="@@__IMMUTABLE_RECORD__@@";function QS(e){return!!(e&&e[JS]&&!e[du])}l(QS,"isImmutableUnorderedKeyed");function eA(e){return!!(e&&e[ZS]&&!e[du])}l(eA,"isImmutableUnorderedSet");function ui(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}l(ui,"isObjectLiteral");function tA(e){return!!(e&&ui(e)&&e[w7])}l(tA,"isImmutableList");function rA(e){return!!(e&&ui(e)&&e[JS]&&e[du])}l(rA,"isImmutableOrderedKeyed");function nA(e){return!!(e&&ui(e)&&e[ZS]&&e[du])}l(nA,"isImmutableOrderedSet");function oA(e){return!!(e&&ui(e)&&e[E7])}l(oA,"isImmutableRecord");var aA=Symbol.iterator;function ep(e){return!!(e!=null&&e[aA])}l(ep,"hasIterator");function vt(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!ep(e)||!ep(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!==vt),s];function s(u,d){return vt(u,d,[...r],[...n],[...o])}if(l(s,"iterableEqualityWithStack"),e.size!==void 0){if(e.size!==t.size)return!1;if(Tt("Set",e)||eA(e)){let u=!0;for(let d of e)if(!t.has(d)){let p=!1;for(let h of t)ve(d,h,i)===!0&&(p=!0);if(p===!1){u=!1;break}}return n.pop(),o.pop(),u}else if(Tt("Map",e)||QS(e)){let u=!0;for(let d of e)if(!t.has(d[0])||!ve(d[1],t.get(d[0]),i)){let p=!1;for(let h of t){let f=ve(d[0],h[0],i),m=!1;f===!0&&(m=ve(d[1],h[1],i)),m===!0&&(p=!0)}if(p===!1){u=!1;break}}return n.pop(),o.pop(),u}}let c=t[aA]();for(let u of e){let d=c.next();if(d.done||!ve(u,d.value,i))return!1}if(!c.next().done)return!1;if(!tA(e)&&!rA(e)&&!nA(e)&&!oA(e)){let u=Object.entries(e),d=Object.entries(t);if(!ve(u,d))return!1}return n.pop(),o.pop(),!0}l(vt,"iterableEquality");function pu(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||pu(Object.getPrototypeOf(e),t)}l(pu,"hasPropertyInObject");function iA(e){return ha(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}l(iA,"isObjectWithKeys");function Do(e,t,r=[]){let n=r.filter(a=>a!==Do),o=l((a=new WeakMap)=>(i,s)=>{if(iA(s))return Object.keys(s).every(c=>{if(s[c]!=null&&typeof s[c]=="object"){if(a.has(s[c]))return ve(i[c],s[c],n);a.set(s[c],!0)}let u=i!=null&&pu(i,c)&&ve(i[c],s[c],[...n,o(a)]);return a.delete(s[c]),u})},"subsetEqualityWithContext");return o()(e,t)}l(Do,"subsetEquality");function tp(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}l(tp,"typeEquality");function rp(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}l(rp,"arrayBufferEquality");function $s(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!==$s);return ve(e,t,a,!0)&&ve(n,o)}l($s,"sparseArrayEquality");function sA(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
322
|
-
|
|
323
|
-
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
324
|
-
|
|
325
|
-
Expected: ${t}
|
|
326
|
-
Received: serializes to the same string
|
|
327
|
-
`:n}l(sA,"generateToBeMessage");function lA(e,t){return`${t} ${e}${t===1?"":"s"}`}l(lA,"pluralize");function qi(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}l(qi,"getObjectKeys");function uA(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(ha(i)&&ha(s)){if(ve(i,s,[...r,vt,Do]))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 qi(i))pu(s,u)?c[u]=a.has(i[u])?a.get(i[u]):o(a)(i[u],s[u]):a.has(i[u])||(n+=1,ha(i[u])&&(n+=qi(i[u]).length),o(a)(i[u],s[u]));if(qi(c).length>0)return c}}return i},"getObjectSubsetWithContext");return{subset:o()(e,t),stripped:n}}l(uA,"getObjectSubset");if(!Object.prototype.hasOwnProperty.call(globalThis,Na)){let e=new WeakMap;Object.defineProperty(globalThis,Na,{get:l(()=>e,"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Da)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Da,{configurable:!0,get:l(()=>({state:globalThis[Na].get(globalThis[ng]),matchers:e,customEqualityTesters:t}),"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Xd)){let e=Object.create(null);Object.defineProperty(globalThis,Xd,{get:l(()=>e,"get")})}function Fa(e){return globalThis[Na].get(e)}l(Fa,"getState");function Mi(e,t){let r=globalThis[Na],n=r.get(t)||{},o=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,o)}l(Mi,"setState");var cA=class{constructor(t,r=!1){Fe(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=t,this.inverse=r}getMatcherContext(t){return{...Fa(t||globalThis[ng]),equals:ve,isNot:this.inverse,customTesters:cu(),utils:{...ig(),diff:Rn,stringify:pt,iterableEquality:vt,subsetEquality:Do}}}};l(cA,"AsymmetricMatcher");var Sr=cA;Sr.prototype[Symbol.for("chai/inspect")]=function(e){let t=pt(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var dA=class extends Sr{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(dA,"StringContaining");var zy=dA,pA=class extends Sr{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}};l(pA,"Anything");var C7=pA,fA=class extends Sr{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0,n=this.getMatcherContext();for(let o in this.sample)if(!this.hasProperty(t,o)||!ve(this.sample[o],t[o],n.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}};l(fA,"ObjectContaining");var Wy=fA,hA=class extends Sr{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=>ve(o,a,r.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}};l(hA,"ArrayContaining");var Gy=hA,mA=class extends Sr{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(mA,"Any");var x7=mA,gA=class extends Sr{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(gA,"StringMatching");var Ky=gA,bA=class extends Sr{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);Fe(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,`(${lA("digit",this.precision)})`].join(" ")}};l(bA,"CloseTo");var Yy=bA,S7=l((e,t)=>{t.addMethod(e.expect,"anything",()=>new C7),t.addMethod(e.expect,"any",r=>new x7(r)),t.addMethod(e.expect,"stringContaining",r=>new zy(r)),t.addMethod(e.expect,"objectContaining",r=>new Wy(r)),t.addMethod(e.expect,"arrayContaining",r=>new Gy(r)),t.addMethod(e.expect,"stringMatching",r=>new Ky(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new Yy(r,n)),e.expect.not={stringContaining:l(r=>new zy(r,!0),"stringContaining"),objectContaining:l(r=>new Wy(r,!0),"objectContaining"),arrayContaining:l(r=>new Gy(r,!0),"arrayContaining"),stringMatching:l(r=>new Ky(r,!0),"stringMatching"),closeTo:l((r,n)=>new Yy(r,n,!0),"closeTo")}},"JestAsymmetricMatchers");function np(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(np,"createAssertionMessage");function op(e,t,r,n){let o=e;if(o&&t instanceof Promise){t=t.finally(()=>{if(!o.promises)return;let i=o.promises.indexOf(t);i!==-1&&o.promises.splice(i,1)}),o.promises||(o.promises=[]),o.promises.push(t);let a=!1;return o.onFinished??(o.onFinished=[]),o.onFinished.push(()=>{var i;if(!a){let s=(((i=globalThis.__vitest_worker__)==null?void 0:i.onFilterStackTrace)||(c=>c||""))(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.
|
|
328
|
-
`,s].join(""))}}),{then(i,s){return a=!0,t.then(i,s)},catch(i){return t.catch(i)},finally(i){return t.finally(i)},[Symbol.toStringTag]:"Promise"}}return t}l(op,"recordAsyncExpect");function lg(e,t,r){return function(...n){var o;if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let a=e.flag(this,"vitest-test");if(!a)throw new Error("expect.soft() can only be used inside a test");try{return r.apply(this,n)}catch(i){a.result||(a.result={state:"fail"}),a.result.state="fail",(o=a.result).errors||(o.errors=[]),a.result.errors.push(rg(i))}}}l(lg,"wrapAssertion");var A7=l((e,t)=>{let{AssertionError:r}=e,n=cu();function o(u,d){let p=l(h=>{let f=lg(t,h,d);t.addMethod(e.Assertion.prototype,h,f),t.addMethod(globalThis[Da].matchers,h,f)},"addMethod");Array.isArray(u)?u.forEach(h=>p(h)):p(u)}l(o,"def"),["throw","throws","Throw"].forEach(u=>{t.overwriteMethod(e.Assertion.prototype,u,d=>function(...p){let h=t.flag(this,"promise"),f=t.flag(this,"object"),m=t.flag(this,"negate");if(h==="rejects")t.flag(this,"object",()=>{throw f});else if(h==="resolves"&&typeof f!="function"){if(m)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(g,y,t.flag(this,"ssfi"))}}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=ve(d,u,[...n,vt]);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=ve(d,u,[...n,vt,tp,$s,rp],!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),h="";return p||(ve(d,u,[...n,vt,tp,$s,rp],!0)?h="toStrictEqual":ve(d,u,[...n,vt])&&(h="toEqual")),this.assert(p,sA(h),"expected #{this} not to be #{exp} // Object.is equality",u,d)}),o("toMatchObject",function(u){let d=this._obj,p=ve(d,u,[...n,vt,Do]),h=t.flag(this,"negate"),{subset:f,stripped:m}=uA(d,u,n);if(p&&h||!p&&!h){let g=t.getMessage(this,[p,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",u,f,!1]),y=m===0?g:`${g}
|
|
329
|
-
(${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(y,{showDiff:!0,expected:u,actual:f})}}),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(h=>ve(h,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(v=>String(v).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[p,h]=u,f=l(()=>Object.prototype.hasOwnProperty.call(d,p)?{value:d[p],exists:!0}:t.getPathInfo(d,p),"getValue"),{value:m,exists:g}=f(),y=g&&(u.length===1||ve(h,m,n)),b=u.length===1?"":` with value ${t.objDisplay(h)}`;return this.assert(y,`expected #{this} to have property "${p}"${b}`,`expected #{this} to not have property "${p}"${b}`,h,g?m:void 0)}),o("toBeCloseTo",function(u,d=2){let p=this._obj,h=!1,f=0,m=0;return u===Number.POSITIVE_INFINITY&&p===Number.POSITIVE_INFINITY||u===Number.NEGATIVE_INFINITY&&p===Number.NEGATIVE_INFINITY?h=!0:(f=10**-d/2,m=Math.abs(p-u),h=m<f),this.assert(h,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${f}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${f}`,u,p,!1)});function a(u){if(!ba(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(),h=d.mock.calls.length;return this.assert(h===u,`expected "${p}" to be called #{exp} times, but got ${h} times`,`expected "${p}" to not be called #{exp} times`,u,h,!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,h=p>0,f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${p} times`,!0,h]);if(h&&f&&(m=ki(u,m)),h&&f||!h&&!f)throw new r(m)});function s(u,d){return u.length===d.length&&u.every((p,h)=>ve(p,d[h],[...n,vt]))}l(s,"equalsArgumentArray"),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...u){let d=i(this),p=d.getMockName(),h=d.mock.calls.some(g=>s(g,u)),f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${p}" to be called with arguments: #{exp}`,`expected "${p}" to not be called with arguments: #{exp}`,u]);if(h&&f||!h&&!f)throw new r(ki(d,m,u))}),o("toHaveBeenCalledExactlyOnceWith",function(...u){let d=i(this),p=d.getMockName(),h=d.mock.calls.length,f=d.mock.calls.some(y=>s(y,u))&&h===1,m=t.flag(this,"negate"),g=t.getMessage(this,[f,`expected "${p}" to be called once with arguments: #{exp}`,`expected "${p}" to not be called once with arguments: #{exp}`,u]);if(f&&m||!f&&!m)throw new r(ki(d,g,u))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(u,...d){let p=i(this),h=p.getMockName(),f=p.mock.calls[u-1],m=p.mock.calls.length,g=u<=m;this.assert(f&&s(f,d),`expected ${to(u)} "${h}" call to have been called with #{exp}${g?"":`, but called only ${m} times`}`,`expected ${to(u)} "${h}" call to not have been called with #{exp}`,d,f,g)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...u){let d=i(this),p=d.getMockName(),h=d.mock.calls[d.mock.calls.length-1];this.assert(h&&s(h,u),`expected last "${p}" call to have been called with #{exp}`,`expected last "${p}" call to not have been called with #{exp}`,u,h)});function c(u,d,p){let h=u.mock.invocationCallOrder,f=d.mock.invocationCallOrder;return h.length===0?!p:f.length===0?!1:h[0]<f[0]}l(c,"isSpyCalledBeforeAnotherSpy"),o(["toHaveBeenCalledBefore"],function(u,d=!0){let p=i(this);if(!ba(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(!ba(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"),h=t.flag(this,"negate"),f=null;if(p==="rejects")f=d;else if(p==="resolves"&&typeof d!="function"){if(h)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(m,g,t.flag(this,"ssfi"))}}else{let m=!1;try{d()}catch(g){m=!0,f=g}if(!m&&!h){let g=t.flag(this,"message")||"expected function to throw an error, but it didn't",y={showDiff:!1};throw new r(g,y,t.flag(this,"ssfi"))}}if(typeof u=="function"){let m=u.name||u.prototype.constructor.name;return this.assert(f&&f instanceof u,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,u,f)}if(u instanceof Error){let m=ve(f,u,[...n,vt]);return this.assert(m,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",u,f)}if(typeof u=="object"&&"asymmetricMatch"in u&&typeof u.asymmetricMatch=="function"){let m=u;return this.assert(f&&m.asymmetricMatch(f),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,f)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof 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 h=i(this),f=h.getMockName(),m=d(h);this.assert(m,`expected "${f}" to be successfully ${p} at least once`,`expected "${f}" to not be successfully ${p}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:l((u,d)=>u.mock.settledResults.reduce((p,{type:h})=>h==="fulfilled"?++p:p,0)===d,"condition"),action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:l((u,d)=>u.mock.results.reduce((p,{type:h})=>h==="throw"?p:++p,0)===d,"condition"),action:"called"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(h){let f=i(this),m=f.getMockName(),g=d(f,h);this.assert(g,`expected "${m}" to be successfully ${p} ${h} times`,`expected "${m}" to not be successfully ${p} ${h} times`,`expected resolved times: ${h}`,`received resolved times: ${g}`,!1)})}),[{name:"toHaveResolvedWith",condition:l((u,d)=>u.mock.settledResults.some(({type:p,value:h})=>p==="fulfilled"&&ve(d,h)),"condition"),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:l((u,d)=>u.mock.results.some(({type:p,value:h})=>p==="return"&&ve(d,h)),"condition"),action:"return"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(h){let f=i(this),m=d(f,h),g=t.flag(this,"negate");if(m&&g||!m&&!g){let y=f.getMockName(),b=t.getMessage(this,[m,`expected "${y}" to ${p} with: #{exp} at least once`,`expected "${y}" to not ${p} with: #{exp}`,h]),v=p==="return"?f.mock.results:f.mock.settledResults;throw new r(yA(f,v,b,h))}})}),[{name:"toHaveLastResolvedWith",condition:l((u,d)=>{let p=u.mock.settledResults[u.mock.settledResults.length-1];return p&&p.type==="fulfilled"&&ve(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"&&ve(p.value,d)},"condition"),action:"return"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(h){let f=i(this),m=p==="return"?f.mock.results:f.mock.settledResults,g=m[m.length-1],y=f.getMockName();this.assert(d(f,h),`expected last "${y}" call to ${p} #{exp}`,`expected last "${y}" call to not ${p} #{exp}`,h,g==null?void 0:g.value)})}),[{name:"toHaveNthResolvedWith",condition:l((u,d,p)=>{let h=u.mock.settledResults[d-1];return h&&h.type==="fulfilled"&&ve(h.value,p)},"condition"),action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:l((u,d,p)=>{let h=u.mock.results[d-1];return h&&h.type==="return"&&ve(h.value,p)},"condition"),action:"return"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(h,f){let m=i(this),g=m.getMockName(),y=(p==="return"?m.mock.results:m.mock.settledResults)[h-1],b=`${to(h)} call`;this.assert(d(m,h,f),`expected ${b} "${g}" call to ${p} #{exp}`,`expected ${b} "${g}" call to not ${p} #{exp}`,f,y==null?void 0:y.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 h=new Proxy(this,{get:l((f,m,g)=>{let y=Reflect.get(f,m,g);return typeof y!="function"?y instanceof e.Assertion?h:y:(...b)=>{t.flag(this,"_name",m);let v=p.then(S=>(t.flag(this,"object",S),y.call(this,...b)),S=>{let x=new r(`promise rejected "${t.inspect(S)}" instead of resolving`,{showDiff:!1});throw x.cause=S,x.stack=u.stack.replace(u.message,x.message),x});return op(d,v,np(t,this,!!b.length),u)}},"get")});return h},"__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"),h=typeof p=="function"?p():p;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(h==null?void 0:h.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof h}'.`);let f=new Proxy(this,{get:l((m,g,y)=>{let b=Reflect.get(m,g,y);return typeof b!="function"?b instanceof e.Assertion?f:b:(...v)=>{t.flag(this,"_name",g);let S=h.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),b.call(this,...v)));return op(d,S,np(t,this,!!v.length),u)}},"get")});return f},"__VITEST_REJECTS__"))},"JestChaiExpect");function to(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(to,"ordinalOf");function ki(e,t,r){return e.mock.calls&&(t+=He.gray(`
|
|
330
|
-
|
|
331
|
-
Received:
|
|
332
|
-
|
|
333
|
-
${e.mock.calls.map((n,o)=>{let a=He.bold(` ${to(o+1)} ${e.getMockName()} call:
|
|
334
|
-
|
|
335
|
-
`);return r?a+=Rn(r,n,{omitAnnotationLines:!0}):a+=pt(n).split(`
|
|
336
|
-
`).map(i=>` ${i}`).join(`
|
|
337
|
-
`),a+=`
|
|
338
|
-
`,a}).join(`
|
|
339
|
-
`)}`)),t+=He.gray(`
|
|
340
|
-
|
|
341
|
-
Number of calls: ${He.bold(e.mock.calls.length)}
|
|
342
|
-
`),t}l(ki,"formatCalls");function yA(e,t,r,n){return r+=He.gray(`
|
|
343
|
-
|
|
344
|
-
Received:
|
|
345
|
-
|
|
346
|
-
${t.map((o,a)=>{let i=He.bold(` ${to(a+1)} ${e.getMockName()} call return:
|
|
347
|
-
|
|
348
|
-
`);return n?i+=Rn(n,o.value,{omitAnnotationLines:!0}):i+=pt(o).split(`
|
|
349
|
-
`).map(s=>` ${s}`).join(`
|
|
350
|
-
`),i+=`
|
|
351
|
-
`,i}).join(`
|
|
352
|
-
`)}`),r+=He.gray(`
|
|
353
|
-
|
|
354
|
-
Number of calls: ${He.bold(e.mock.calls.length)}
|
|
355
|
-
`),r}l(yA,"formatReturns");function vA(e,t){let r=e._obj,n=Yt.flag(e,"negate"),o=Yt.flag(e,"promise")||"",a={...ig(),diff:Rn,stringify:pt,iterableEquality:vt,subsetEquality:Do};return{state:{...Fa(t),customTesters:cu(),isNot:n,utils:a,promise:o,equals:ve,suppressedErrors:[],soft:Yt.flag(e,"soft"),poll:Yt.flag(e,"poll")},isNot:n,obj:r}}l(vA,"getMatcherState");var wA=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};l(wA,"JestExtendError");var Xy=wA;function EA(e,t,r){return(n,o)=>{Object.entries(r).forEach(([a,i])=>{function s(...h){let{state:f,isNot:m,obj:g}=vA(this,t),y=i.call(f,g,...h);if(y&&typeof y=="object"&&y instanceof Promise)return y.then(({pass:P,message:C,actual:w,expected:E})=>{if(P&&m||!P&&!m)throw new Xy(C(),w,E)});let{pass:b,message:v,actual:S,expected:x}=y;if(b&&m||!b&&!m)throw new Xy(v(),S,x)}l(s,"expectWrapper");let c=lg(o,a,s);o.addMethod(globalThis[Da].matchers,a,c),o.addMethod(e.Assertion.prototype,a,c);let u=class extends Sr{constructor(f=!1,...m){super(m,f)}asymmetricMatch(f){let{pass:m}=i.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>pt(f)).join(", ")}>`}};l(u,"CustomMatcher");let d=u,p=l((...h)=>new d(!1,...h),"customMatcher");Object.defineProperty(t,a,{configurable:!0,enumerable:!0,value:p,writable:!0}),Object.defineProperty(t.not,a,{configurable:!0,enumerable:!0,value:l((...h)=>new d(!0,...h),"value"),writable:!0}),Object.defineProperty(globalThis[Xd],a,{configurable:!0,enumerable:!0,value:p,writable:!0})})}}l(EA,"JestExtendPlugin");var P7=l((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{pn(EA(e,r,n))})},"JestExtend");function CA(){pn(P7),pn(A7),pn(S7);let e=l((n,o)=>{let{assertionCalls:a}=Fa(e);return Mi({assertionCalls:a+1,soft:!1},e),Lr(n,o)},"expect");Object.assign(e,Lr),e.getState=()=>Fa(e),e.setState=n=>Mi(n,e),e.extend=n=>Lr.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.extend(g7),e.unreachable=n=>{q.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"),Mi({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Yt.addMethod(e,"assertions",t),Yt.addMethod(e,"hasAssertions",r),e.extend(CE),e}l(CA,"createExpect");var xA=CA();Object.defineProperty(globalThis,ng,{value:xA,writable:!0,configurable:!0});var ap=new Set;function SA(e){return ap.add(e),()=>void ap.delete(e)}l(SA,"onMockCall");function AA(e){let t=e?Kd(e):Kd();return PA(t)}l(AA,"fn");function PA(e){let t=ip(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>ip(r(n)),t}l(PA,"reactiveMock");function ip(e){let t=_s(e),r=t.impl;return t.willCall(function(...n){return ap.forEach(o=>o(e,n)),r==null?void 0:r.apply(this,n)}),e}l(ip,"listenWhenCalled");function OA(){uu.forEach(e=>e.mockClear())}l(OA,"clearAllMocks");function _A(){uu.forEach(e=>e.mockReset())}l(_A,"resetAllMocks");function TA(){uu.forEach(e=>e.mockRestore())}l(TA,"restoreAllMocks");function O7(e,t={}){return e}l(O7,"mocked");var $A={};ll($A,{buildQueries:()=>or,configure:()=>_P,createEvent:()=>va,findAllByAltText:()=>CO,findAllByDisplayValue:()=>gO,findAllByLabelText:()=>YP,findAllByPlaceholderText:()=>oO,findAllByRole:()=>IO,findAllByTestId:()=>HO,findAllByText:()=>cO,findAllByTitle:()=>_O,findByAltText:()=>xO,findByDisplayValue:()=>bO,findByLabelText:()=>XP,findByPlaceholderText:()=>aO,findByRole:()=>NO,findByTestId:()=>UO,findByText:()=>dO,findByTitle:()=>TO,fireEvent:()=>wo,getAllByAltText:()=>wO,getAllByDisplayValue:()=>hO,getAllByLabelText:()=>JP,getAllByPlaceholderText:()=>rO,getAllByRole:()=>MO,getAllByTestId:()=>LO,getAllByText:()=>lO,getAllByTitle:()=>PO,getByAltText:()=>EO,getByDisplayValue:()=>mO,getByLabelText:()=>ZP,getByPlaceholderText:()=>nO,getByRole:()=>kO,getByTestId:()=>BO,getByText:()=>uO,getByTitle:()=>OO,getConfig:()=>ge,getDefaultNormalizer:()=>mu,getElementError:()=>di,getMultipleElementsFoundError:()=>pi,getNodeText:()=>Fo,getQueriesForElement:()=>qs,getRoles:()=>_g,getSuggestedQuery:()=>Ba,isInaccessible:()=>ci,logDOM:()=>fp,logRoles:()=>X7,makeFindQuery:()=>wn,makeGetAllQuery:()=>yu,makeSingleQuery:()=>vn,prettyDOM:()=>vo,prettyFormat:()=>ug,queries:()=>js,queryAllByAltText:()=>yO,queryAllByAttribute:()=>Xr,queryAllByDisplayValue:()=>pO,queryAllByLabelText:()=>QP,queryAllByPlaceholderText:()=>eO,queryAllByRole:()=>jO,queryAllByTestId:()=>DO,queryAllByText:()=>iO,queryAllByTitle:()=>SO,queryByAltText:()=>vO,queryByAttribute:()=>$g,queryByDisplayValue:()=>fO,queryByLabelText:()=>GP,queryByPlaceholderText:()=>tO,queryByRole:()=>qO,queryByTestId:()=>FO,queryByText:()=>sO,queryByTitle:()=>AO,queryHelpers:()=>J7,screen:()=>bH,waitFor:()=>bu,waitForElementToBeRemoved:()=>zO,within:()=>qs,wrapAllByQueryWithSuggestion:()=>ft,wrapSingleQueryWithSuggestion:()=>Br});var ug=Ct(c6()),_7=Object.prototype.toString;function sp(e){return typeof e=="function"||_7.call(e)==="[object Function]"}l(sp,"isCallable");function RA(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}l(RA,"toInteger");var T7=Math.pow(2,53)-1;function jA(e){var t=RA(e);return Math.min(Math.max(t,0),T7)}l(jA,"toLength");function _t(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"&&!sp(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=jA(n.length),a=sp(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(_t,"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 lp(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,cg(n.key),n)}}l(lp,"_defineProperties");function MA(e,t,r){return t&&lp(e.prototype,t),r&&lp(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}l(MA,"_createClass");function kA(e,t,r){return t=cg(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(kA,"_defineProperty");function cg(e){var t=IA(e,"string");return bo(t)==="symbol"?t:String(t)}l(cg,"_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 $7=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];qA(this,e),kA(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}(),R7=typeof Set>"u"?Set:$7;function nt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}l(nt,"getLocalName");var j7={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"},q7={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 NA(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=q7[t])!==null&&n!==void 0&&n.has(r))})}l(NA,"hasGlobalAriaAttributes");function dg(e,t){return NA(e,t)}l(dg,"ignorePresentationalRole");function DA(e){var t=LA(e);if(t===null||t==="presentation"){var r=FA(e);if(t!=="presentation"||dg(e,r||""))return r}return t}l(DA,"getRole");function FA(e){var t=j7[nt(e)];if(t!==void 0)return t;switch(nt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!dg(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 LA(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}l(LA,"getExplicitRole");function qe(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}l(qe,"isElement");function pg(e){return qe(e)&&nt(e)==="caption"}l(pg,"isHTMLTableCaptionElement");function ya(e){return qe(e)&&nt(e)==="input"}l(ya,"isHTMLInputElement");function BA(e){return qe(e)&&nt(e)==="optgroup"}l(BA,"isHTMLOptGroupElement");function HA(e){return qe(e)&&nt(e)==="select"}l(HA,"isHTMLSelectElement");function UA(e){return qe(e)&&nt(e)==="table"}l(UA,"isHTMLTableElement");function VA(e){return qe(e)&&nt(e)==="textarea"}l(VA,"isHTMLTextAreaElement");function zA(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}l(zA,"safeWindow");function WA(e){return qe(e)&&nt(e)==="fieldset"}l(WA,"isHTMLFieldSetElement");function GA(e){return qe(e)&&nt(e)==="legend"}l(GA,"isHTMLLegendElement");function KA(e){return qe(e)&&nt(e)==="slot"}l(KA,"isHTMLSlotElement");function YA(e){return qe(e)&&e.ownerSVGElement!==void 0}l(YA,"isSVGElement");function XA(e){return qe(e)&&nt(e)==="svg"}l(XA,"isSVGSVGElement");function JA(e){return YA(e)&&nt(e)==="title"}l(JA,"isSVGTitleElement");function La(e,t){if(qe(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(La,"queryIdRefs");function Jt(e,t){return qe(e)?t.indexOf(DA(e))!==-1:!1}l(Jt,"hasAnyConcreteRoles");function ZA(e){return e.trim().replace(/\s\s+/g," ")}l(ZA,"asFlatString");function QA(e,t){if(!qe(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 eP(e){return Jt(e,["button","combobox","listbox","textbox"])||fg(e,"range")}l(eP,"isControl");function fg(e,t){if(!qe(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(fg,"hasAbstractRole");function up(e,t){var r=_t(e.querySelectorAll(t));return La(e,"aria-owns").forEach(function(n){r.push.apply(r,_t(n.querySelectorAll(t)))}),r}l(up,"querySelectorAllSubtree");function tP(e){return HA(e)?e.selectedOptions||up(e,"[selected]"):up(e,'[aria-selected="true"]')}l(tP,"querySelectedOptions");function rP(e){return Jt(e,["none","presentation"])}l(rP,"isMarkedPresentational");function nP(e){return pg(e)}l(nP,"isNativeHostLanguageTextAlternativeElement");function oP(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(oP,"allowsNameFromContent");function aP(e){return!1}l(aP,"isDescendantOfNativeHostLanguageTextAlternativeElement");function iP(e){return ya(e)||VA(e)?e.value:e.textContent||""}l(iP,"getValueOfTextbox");function cp(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}l(cp,"getTextualContent");function hg(e){var t=nt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}l(hg,"isLabelableElement");function mg(e){if(hg(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&qe(r)){var n=mg(r);n!==null&&(t=n)}}),t}l(mg,"findLabelableElement");function sP(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):mg(e)}l(sP,"getControlOfLabel");function lP(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return _t(t);if(!hg(e))return null;var r=e.ownerDocument;return _t(r.querySelectorAll("label")).filter(function(n){return sP(n)===e})}l(lP,"getLabels");function uP(e){var t=e.assignedNodes();return t.length===0?_t(e.childNodes):t}l(uP,"getSlotContents");function gg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new R7,n=zA(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 h(b,v){var S="";if(qe(b)&&s){var x=u(b,"::before"),P=cp(x);S="".concat(P," ").concat(S)}var C=KA(b)?uP(b):_t(b.childNodes).concat(La(b,"aria-owns"));if(C.forEach(function(A){var k=y(A,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=qe(A)?u(A).getPropertyValue("display"):"inline",L=j!=="inline"?" ":"";S+="".concat(L).concat(k).concat(L)}),qe(b)&&s){var w=u(b,"::after"),E=cp(w);S="".concat(S," ").concat(E)}return S.trim()}l(h,"computeMiscTextAlternative");function f(b,v){var S=b.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}l(f,"useAttribute");function m(b){return qe(b)?f(b,"title"):null}l(m,"computeTooltipAttributeValue");function g(b){if(!qe(b))return null;if(WA(b)){r.add(b);for(var v=_t(b.childNodes),S=0;S<v.length;S+=1){var x=v[S];if(GA(x))return y(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(UA(b)){r.add(b);for(var P=_t(b.childNodes),C=0;C<P.length;C+=1){var w=P[C];if(pg(w))return y(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(XA(b)){r.add(b);for(var E=_t(b.childNodes),A=0;A<E.length;A+=1){var k=E[A];if(JA(k))return k.textContent}return null}else if(nt(b)==="img"||nt(b)==="area"){var j=f(b,"alt");if(j!==null)return j}else if(BA(b)){var L=f(b,"label");if(L!==null)return L}if(ya(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var F=f(b,"value");if(F!==null)return F;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var T=lP(b);if(T!==null&&T.length!==0)return r.add(b),_t(T).map(function(K){return y(K,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(K){return K.length>0}).join(" ");if(ya(b)&&b.type==="image"){var R=f(b,"alt");if(R!==null)return R;var N=f(b,"title");return N!==null?N:"Submit Query"}if(Jt(b,["button"])){var W=h(b,{isEmbeddedInLabel:!1});if(W!=="")return W}return null}l(g,"computeElementTextAlternative");function y(b,v){if(r.has(b))return"";if(!p&&QA(b,u)&&!v.isReferenced)return r.add(b),"";var S=qe(b)?b.getAttributeNode("aria-labelledby"):null,x=S!==null&&!r.has(S)?La(b,"aria-labelledby"):[];if(a==="name"&&!v.isReferenced&&x.length>0)return r.add(S),x.map(function(j){return y(j,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=v.recursion&&eP(b)&&a==="name";if(!P){var C=(qe(b)&&b.getAttribute("aria-label")||"").trim();if(C!==""&&a==="name")return r.add(b),C;if(!rP(b)){var w=g(b);if(w!==null)return r.add(b),w}}if(Jt(b,["menu"]))return r.add(b),"";if(P||v.isEmbeddedInLabel||v.isReferenced){if(Jt(b,["combobox","listbox"])){r.add(b);var E=tP(b);return E.length===0?ya(b)?b.value:"":_t(E).map(function(j){return y(j,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(fg(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Jt(b,["textbox"]))return r.add(b),iP(b)}if(oP(b)||qe(b)&&v.isReferenced||nP(b)||aP()){var A=h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(A!=="")return r.add(b),A}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});var k=m(b);return k!==null?(r.add(b),k):(r.add(b),"")}return l(y,"computeTextAlternative"),ZA(y(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}l(gg,"computeTextAlternative");function yo(e){"@babel/helpers - typeof";return yo=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},yo(e)}l(yo,"_typeof");function dp(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(dp,"ownKeys");function pp(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dp(Object(r),!0).forEach(function(n){cP(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}l(pp,"_objectSpread");function cP(e,t,r){return t=dP(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(cP,"_defineProperty");function dP(e){var t=pP(e,"string");return yo(t)==="symbol"?t:String(t)}l(dP,"_toPropertyKey");function pP(e,t){if(yo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(yo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}l(pP,"_toPrimitive");function bg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=La(e,"aria-describedby").map(function(o){return gg(o,pp(pp({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}l(bg,"computeAccessibleDescription");function fP(e){return Jt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}l(fP,"prohibitsNaming");function fu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return fP(e)?"":gg(e,t)}l(fu,"computeAccessibleName");var At=Ct(XB()),M7=Ct(JB());function yg(e){return e.replace(/</g,"<").replace(/>/g,">")}l(yg,"escapeHTML");var k7=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(`
|
|
356
|
-
`)!==-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"),I7=3,N7=l((e,t,r,n,o,a)=>e.map(i=>{let s=typeof i=="string"?hP(i,t):a(i,t,r,n,o);return s===""&&typeof i=="object"&&i!==null&&i.nodeType!==I7?"":t.spacingOuter+r+s}).join(""),"printChildren"),hP=l((e,t)=>{let r=t.colors.content;return r.open+yg(e)+r.close},"printText"),D7=l((e,t)=>{let r=t.colors.comment;return r.open+"<!--"+yg(e)+"-->"+r.close},"printComment"),F7=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"),L7=l((e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},"printElementAsLeaf"),B7=1,mP=3,gP=8,bP=11,H7=/^((HTML|SVG)\w*)?Element$/,yP=l(e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),U7=l(e=>{let t=e.constructor.name,{nodeType:r}=e;return r===B7&&(H7.test(t)||yP(e))||r===mP&&t==="Text"||r===gP&&t==="Comment"||r===bP&&t==="DocumentFragment"},"testNode");function vP(e){return e.nodeType===mP}l(vP,"nodeIsText");function wP(e){return e.nodeType===gP}l(wP,"nodeIsComment");function Ii(e){return e.nodeType===bP}l(Ii,"nodeIsFragment");function EP(e){return{test:l(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||yP(t))&&U7(t)},"test"),serialize:l((t,r,n,o,a,i)=>{if(vP(t))return hP(t.data,r);if(wP(t))return D7(t.data,r);let s=Ii(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?L7(s,r):F7(s,k7(Ii(t)?[]:Array.from(t.attributes).map(c=>c.name).sort(),Ii(t)?{}:Array.from(t.attributes).reduce((c,u)=>(c[u.name]=u.value,c),{}),r,n+r.indent,o,a,i),N7(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,a,i),r,n)},"serialize")}}l(EP,"createDOMElementFilter");var CP=null,vg=null,wg=null;try{let e=module&&module.require;vg=e.call(module,"fs").readFileSync,wg=e.call(module,"@babel/code-frame").codeFrameColumns,CP=e.call(module,"chalk")}catch{}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=vg(a,"utf-8")}catch{return""}let u=wg(c,{start:{line:i,column:s}},{highlightCode:!0,linesBelow:0});return CP.dim(n)+`
|
|
357
|
-
`+u+`
|
|
358
|
-
`}l(xP,"getCodeFrame");function SP(){if(!vg||!wg)return"";let e=new Error().stack.split(`
|
|
359
|
-
`).slice(1).find(t=>!t.includes("node_modules/"));return xP(e)}l(SP,"getUserCodeFrame");var AP=3;function Ni(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}l(Ni,"jestFakeTimersAreEnabled");function hu(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}l(hu,"getDocument");function Eg(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(Eg,"getWindowFromNode");function nr(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(nr,"checkContainerType");var V7=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{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},"shouldHighlight"),{DOMCollection:z7}=ug.plugins,W7=1,G7=8;function PP(e){return e.nodeType!==G7&&(e.nodeType!==W7||!e.matches(ge().defaultIgnore))}l(PP,"filterCommentsAndDefaultIgnoreTagsTags");function vo(e,t,r){if(r===void 0&&(r={}),e||(e=hu().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=PP,...a}=r,i=ug.format(e,{plugins:[EP(o),z7],printFunctionName:!1,highlight:V7(),...a});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}l(vo,"prettyDOM");var fp=l(function(){let e=SP();console.log(e?vo(...arguments)+`
|
|
360
|
-
|
|
361
|
-
`+e:vo(...arguments))},"logDOM"),hn={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=vo(t),n=new Error([e,"Ignored nodes: comments, "+hn.defaultIgnore+`
|
|
362
|
-
`+r].filter(Boolean).join(`
|
|
363
|
-
|
|
364
|
-
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function OP(e){try{return hn._disableExpensiveErrorDiagnostics=!0,e()}finally{hn._disableExpensiveErrorDiagnostics=!1}}l(OP,"runWithExpensiveErrorDiagnosticsDisabled");function _P(e){typeof e=="function"&&(e=e(hn)),hn={...hn,...e}}l(_P,"configure");function ge(){return hn}l(ge,"getConfig");var K7=["button","meter","output","progress","select","textarea","input"];function Cg(e){return K7.includes(e.nodeName.toLowerCase())?"":e.nodeType===AP?e.textContent:Array.from(e.childNodes).map(t=>Cg(t)).join("")}l(Cg,"getTextContent");function Rs(e){let t;return e.tagName.toLowerCase()==="label"?t=Cg(e):t=e.value||e.textContent,t}l(Rs,"getLabelContent");function xg(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(xg,"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 Sg(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:Rs(s),formControl:null}:{content:"",formControl:null}}):Array.from(xg(t)).map(i=>{let s=Rs(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(Sg,"getLabels");function Ag(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(Ag,"assertNotNullOrUndefined");function jn(e,t,r,n){if(typeof e!="string")return!1;Ag(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Pg(r,o)}l(jn,"fuzzyMatches");function Zt(e,t,r,n){if(typeof e!="string")return!1;Ag(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Pg(r,o):o===String(r)}l(Zt,"matches");function mu(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(mu,"getDefaultNormalizer");function Yr(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return mu({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(Yr,"makeNormalizer");function Pg(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(Pg,"matchRegExp");function Fo(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===AP&&!!t.textContent).map(t=>t.textContent).join("")}l(Fo,"getNodeText");var Y7=$P(At.elementRoles);function Og(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}l(Og,"isSubtreeInaccessible");function ci(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Og}=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(ci,"isInaccessible");function gu(e){for(let{match:t,roles:r}of Y7)if(t(e))return[...r];return[]}l(gu,"getImplicitAriaRoles");function $P(e){function t(i){let{name:s,attributes:c}=i;return""+s+c.map(u=>{let{name:d,value:p,constraints:h=[]}=u,f=h.indexOf("undefined")!==-1,m=h.indexOf("set")!==-1;return typeof p<"u"?"["+d+'="'+p+'"]':f?":not(["+d+"])":m?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}l(t,"makeElementSelector");function r(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($P,"buildElementRoleList");function _g(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?ci(o)===!1:!0).reduce((o,a)=>{let i=[];return a.hasAttribute("role")?i=a.getAttribute("role").split(" ").slice(0,1):i=gu(a),i.reduce((s,c)=>Array.isArray(s[c])?{...s,[c]:[...s[c],a]}:{...s,[c]:[a]},o)},{})}l(_g,"getRoles");function Tg(e,t){let{hidden:r,includeDescription:n}=t,o=_g(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 "'+fu(d,{computedStyleSupportsPseudoElements:ge().computedStyleSupportsPseudoElements})+`":
|
|
365
|
-
`,h=vo(d.cloneNode(!1));if(n){let f='Description "'+bg(d,{computedStyleSupportsPseudoElements:ge().computedStyleSupportsPseudoElements})+`":
|
|
366
|
-
`;return""+p+f+h}return""+p+h}).join(`
|
|
367
|
-
|
|
368
|
-
`);return i+`:
|
|
369
|
-
|
|
370
|
-
`+u+`
|
|
371
|
-
|
|
372
|
-
`+c}).join(`
|
|
373
|
-
`)}l(Tg,"prettyRoles");var X7=l(function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Tg(e,{hidden:r}))},"logRoles");function RP(e){return e.tagName==="OPTION"?e.selected:Lo(e,"aria-selected")}l(RP,"computeAriaSelected");function jP(e){return e.getAttribute("aria-busy")==="true"}l(jP,"computeAriaBusy");function qP(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Lo(e,"aria-checked")}l(qP,"computeAriaChecked");function MP(e){return Lo(e,"aria-pressed")}l(MP,"computeAriaPressed");function kP(e){var t,r;return(t=(r=Lo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}l(kP,"computeAriaCurrent");function IP(e){return Lo(e,"aria-expanded")}l(IP,"computeAriaExpanded");function Lo(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}l(Lo,"checkBooleanAttribute");function NP(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(NP,"computeHeadingLevel");function DP(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}l(DP,"computeAriaValueNow");function FP(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}l(FP,"computeAriaValueMax");function LP(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}l(LP,"computeAriaValueMin");function BP(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}l(BP,"computeAriaValueText");var Jy=mu();function HP(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}l(HP,"escapeRegExp");function hp(e){return new RegExp(HP(e.toLowerCase()),"i")}l(hp,"getRegExpMatcher");function lr(e,t,r,n){let{variant:o,name:a}=n,i="",s={},c=[["Role","TestId"].includes(e)?r:hp(r)];a&&(s.name=hp(a)),e==="Role"&&ci(t)&&(s.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
374
|
-
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
375
|
-
`),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(h=>{let[f,m]=h;return f+": "+m}).join(", ")+" }":"",u+"("+d+p+")"}}}l(lr,"makeSuggestion");function ur(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}l(ur,"canSuggest");function Ba(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(ge().defaultIgnore))return;let a=(n=e.getAttribute("role"))!=null?n:(o=gu(e))==null?void 0:o[0];if(a!=="generic"&&ur("Role",r,a))return lr("Role",e,a,{variant:t,name:fu(e,{computedStyleSupportsPseudoElements:ge().computedStyleSupportsPseudoElements})});let i=Sg(document,e).map(h=>h.content).join(" ");if(ur("LabelText",r,i))return lr("LabelText",e,i,{variant:t});let s=e.getAttribute("placeholder");if(ur("PlaceholderText",r,s))return lr("PlaceholderText",e,s,{variant:t});let c=Jy(Fo(e));if(ur("Text",r,c))return lr("Text",e,c,{variant:t});if(ur("DisplayValue",r,e.value))return lr("DisplayValue",e,Jy(e.value),{variant:t});let u=e.getAttribute("alt");if(ur("AltText",r,u))return lr("AltText",e,u,{variant:t});let d=e.getAttribute("title");if(ur("Title",r,d))return lr("Title",e,d,{variant:t});let p=e.getAttribute(ge().testIdAttribute);if(ur("TestId",r,p))return lr("TestId",e,p,{variant:t})}l(Ba,"getSuggestedQuery");function ta(e,t){e.stack=t.stack.replace(t.message,e.message)}l(ta,"copyStackTrace");function UP(e,t){let{container:r=hu(),timeout:n=ge().asyncUtilTimeout,showOriginalStackTrace:o=ge().showOriginalStackTrace,stackTraceError:a,interval:i=50,onTimeout:s=l(u=>(Object.defineProperty(u,"message",{value:ge().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,h,f,m=!1,g="idle",y=setTimeout(P,n),b=Ni();if(b){let{unstable_advanceTimersWrapper:C}=ge();for(x();!m;){if(!Ni()){let w=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||ta(w,a),d(w);return}if(await C(async()=>{jest.advanceTimersByTime(i)}),m)break;x()}}else{try{nr(r)}catch(w){d(w);return}h=setInterval(S,i);let{MutationObserver:C}=Eg(r);f=new C(S),f.observe(r,c),x()}function v(C,w){m=!0,clearTimeout(y),b||(clearInterval(h),f.disconnect()),C?d(C):u(w)}l(v,"onDone");function S(){if(Ni()){let C=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return o||ta(C,a),d(C)}else return x()}l(S,"checkRealTimersCallback");function x(){if(g!=="pending")try{let C=OP(e);typeof(C==null?void 0:C.then)=="function"?(g="pending",C.then(w=>{g="resolved",v(null,w)},w=>{g="rejected",p=w})):v(null,C)}catch(C){p=C}}l(x,"checkCallback");function P(){let C;p?(C=p,!o&&C.name==="TestingLibraryElementError"&&ta(C,a)):(C=new Error("Timed out in waitFor."),o||ta(C,a)),v(s(C),null)}l(P,"handleTimeout")})}l(UP,"waitFor");function bu(e,t){let r=new Error("STACK_TRACE_MESSAGE");return ge().asyncWrapper(()=>UP(e,{stackTraceError:r,...t}))}l(bu,"waitForWrapper");function di(e,t){return ge().getElementError(e,t)}l(di,"getElementError");function pi(e,t){return di(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}l(pi,"getMultipleElementsFoundError");function Xr(e,t,r,n){let{exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=n===void 0?{}:n,c=o?Zt:jn,u=Yr({collapseWhitespace:a,trim:i,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>c(d.getAttribute(e),d,r,u))}l(Xr,"queryAllByAttribute");function $g(e,t,r,n){let o=Xr(e,t,r,n);if(o.length>1)throw pi("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}l($g,"queryByAttribute");function vn(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=>di(null,c).message).join(`
|
|
376
|
-
|
|
377
|
-
`);throw pi(t(r,...o)+`
|
|
378
|
-
|
|
379
|
-
Here are the matching elements:
|
|
380
|
-
|
|
381
|
-
`+s,r)}return i[0]||null}}l(vn,"makeSingleQuery");function Rg(e,t){return ge().getElementError(`A better query is available, try this:
|
|
382
|
-
`+e.toString()+`
|
|
383
|
-
`,t)}l(Rg,"getSuggestionError");function yu(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 ge().getElementError(t(r,...o),r);return i}}l(yu,"makeGetAllQuery");function wn(e){return(t,r,n,o)=>bu(()=>e(t,r,n),{container:t,...o})}l(wn,"makeFindQuery");var Br=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=ge().throwSuggestions}={}]=a.slice(-1);if(s&&c){let u=Ba(s,r);if(u&&!t.endsWith(u.queryName))throw Rg(u.toString(),n)}return s},"wrapSingleQueryWithSuggestion"),ft=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=ge().throwSuggestions}={}]=a.slice(-1);if(s.length&&c){let u=[...new Set(s.map(d=>{var p;return(p=Ba(d,r))==null?void 0:p.toString()}))];if(u.length===1&&!t.endsWith(Ba(s[0],r).queryName))throw Rg(u[0],n)}return s},"wrapAllByQueryWithSuggestion");function or(e,t,r){let n=Br(vn(e,t),e.name,"query"),o=yu(e,r),a=vn(o,t),i=Br(a,e.name,"get"),s=ft(o,e.name.replace("query","get"),"getAll"),c=wn(ft(o,e.name,"findAll")),u=wn(Br(a,e.name,"find"));return[n,s,i,c,u]}l(or,"buildQueries");var J7=Object.freeze({__proto__:null,getElementError:di,wrapAllByQueryWithSuggestion:ft,wrapSingleQueryWithSuggestion:Br,getMultipleElementsFoundError:pi,queryAllByAttribute:Xr,queryByAttribute:$g,makeSingleQuery:vn,makeGetAllQuery:yu,makeFindQuery:wn,buildQueries:or});function VP(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Rs(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}l(VP,"queryAllLabels");var Z7=l(function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:a,normalizer:i}=r===void 0?{}:r,s=n?Zt:jn,c=Yr({collapseWhitespace:a,trim:o,normalizer:i});return VP(e).filter(u=>{let{node:d,textToMatch:p}=u;return s(p,d,t,c)}).map(u=>{let{node:d}=u;return d})},"queryAllLabelsByText"),Ha=l(function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=r===void 0?{}:r;nr(e);let c=o?Zt:jn,u=Yr({collapseWhitespace:a,trim:i,normalizer:s}),d=Array.from(e.querySelectorAll("*")).filter(p=>xg(p).length||p.hasAttribute("aria-labelledby")).reduce((p,h)=>{let f=Sg(e,h,{selector:n});f.filter(g=>!!g.formControl).forEach(g=>{c(g.content,g.formControl,t,u)&&g.formControl&&p.push(g.formControl)});let m=f.filter(g=>!!g.content).map(g=>g.content);return c(m.join(" "),h,t,u)&&p.push(h),m.length>1&&m.forEach((g,y)=>{c(g,h,t,u)&&p.push(h);let b=[...m];b.splice(y,1),b.length>1&&c(b.join(" "),h,t,u)&&p.push(h)}),p},[]).concat(Xr("aria-label",e,t,{exact:o,normalizer:u}));return Array.from(new Set(d)).filter(p=>p.matches(n))},"queryAllByLabelText"),En=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=Ha(e,t,...n);if(!a.length){let i=Z7(e,t,...n);if(i.length){let s=i.map(c=>zP(e,c)).filter(c=>!!c);throw s.length?ge().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(`
|
|
384
|
-
|
|
385
|
-
`),e):ge().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 ge().getElementError("Unable to find a label with the text of: "+t,e)}return a},"getAllByLabelText");function zP(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}l(zP,"getTagNameOfElementAssociatedWithLabelViaFor");var WP=l((e,t)=>"Found multiple elements with the text of: "+t,"getMultipleError$7"),GP=Br(vn(Ha,WP),Ha.name,"query"),KP=vn(En,WP),YP=wn(ft(En,En.name,"findAll")),XP=wn(Br(KP,En.name,"find")),JP=ft(En,En.name,"getAll"),ZP=Br(KP,En.name,"get"),QP=ft(Ha,Ha.name,"queryAll"),mp=l(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return nr(t[0]),Xr("placeholder",...t)},"queryAllByPlaceholderText"),Q7=l((e,t)=>"Found multiple elements with the placeholder text of: "+t,"getMultipleError$6"),eH=l((e,t)=>"Unable to find an element with the placeholder text of: "+t,"getMissingError$6"),eO=ft(mp,mp.name,"queryAll"),[tO,rO,nO,oO,aO]=or(mp,Q7,eH),gp=l(function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,ignore:s=ge().defaultIgnore,normalizer:c}=r===void 0?{}:r;nr(e);let u=o?Zt:jn,d=Yr({collapseWhitespace:a,trim:i,normalizer:c}),p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(h=>!s||!h.matches(s)).filter(h=>u(Fo(h),h,t,d))},"queryAllByText"),tH=l((e,t)=>"Found multiple elements with the text: "+t,"getMultipleError$5"),rH=l(function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:a,selector:i}=r,s=Yr({collapseWhitespace:n,trim:o,normalizer:a})(t.toString()),c=s!==t.toString(),u=(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"),iO=ft(gp,gp.name,"queryAll"),[sO,lO,uO,cO,dO]=or(gp,tH,rH),bp=l(function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;nr(e);let s=n?Zt:jn,c=Yr({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(Fo(d),d,t,c)):s(u.value,u,t,c))},"queryAllByDisplayValue"),nH=l((e,t)=>"Found multiple elements with the display value: "+t+".","getMultipleError$4"),oH=l((e,t)=>"Unable to find an element with the display value: "+t+".","getMissingError$4"),pO=ft(bp,bp.name,"queryAll"),[fO,hO,mO,gO,bO]=or(bp,nH,oH),aH=/^(img|input|area|.+-.+)$/i,yp=l(function(e,t,r){return r===void 0&&(r={}),nr(e),Xr("alt",e,t,r).filter(n=>aH.test(n.tagName))},"queryAllByAltText"),iH=l((e,t)=>"Found multiple elements with the alt text: "+t,"getMultipleError$3"),sH=l((e,t)=>"Unable to find an element with the alt text: "+t,"getMissingError$3"),yO=ft(yp,yp.name,"queryAll"),[vO,wO,EO,CO,xO]=or(yp,iH,sH),lH=l(e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},"isSvgTitle"),vp=l(function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;nr(e);let s=n?Zt:jn,c=Yr({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>s(u.getAttribute("title"),u,t,c)||lH(u)&&s(Fo(u),u,t,c))},"queryAllByTitle"),uH=l((e,t)=>"Found multiple elements with the title: "+t+".","getMultipleError$2"),cH=l((e,t)=>"Unable to find an element with the title: "+t+".","getMissingError$2"),SO=ft(vp,vp.name,"queryAll"),[AO,PO,OO,_O,TO]=or(vp,uH,cH),wp=l(function(e,t,r){let{hidden:n=ge().defaultHidden,name:o,description:a,queryFallbacks:i=!1,selected:s,busy:c,checked:u,pressed:d,current:p,level:h,expanded:f,value:{now:m,min:g,max:y,text:b}={}}=r===void 0?{}:r;if(nr(e),s!==void 0){var v;if(((v=At.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(c!==void 0){var S;if(((S=At.roles.get(t))==null?void 0:S.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 C;if(((C=At.roles.get(t))==null?void 0:C.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var w;if(((w=At.roles.get(t))==null?void 0:w.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(y!==void 0){var E;if(((E=At.roles.get(t))==null?void 0:E.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(g!==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(b!==void 0){var k;if(((k=At.roles.get(t))==null?void 0:k.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var j;if(((j=At.roles.get(t))==null?void 0:j.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let L=new WeakMap;function F(T){return L.has(T)||L.set(T,Og(T)),L.get(T)}return l(F,"cachedIsSubtreeInaccessible"),Array.from(e.querySelectorAll($O(t))).filter(T=>{if(T.hasAttribute("role")){let R=T.getAttribute("role");if(i)return R.split(" ").filter(Boolean).some(W=>W===t);let[N]=R.split(" ");return N===t}return gu(T).some(R=>R===t)}).filter(T=>{if(s!==void 0)return s===RP(T);if(c!==void 0)return c===jP(T);if(u!==void 0)return u===qP(T);if(d!==void 0)return d===MP(T);if(p!==void 0)return p===kP(T);if(f!==void 0)return f===IP(T);if(h!==void 0)return h===NP(T);if(m!==void 0||y!==void 0||g!==void 0||b!==void 0){let N=!0;if(m!==void 0&&N&&(N=m===DP(T)),y!==void 0&&N&&(N=y===FP(T)),g!==void 0&&N&&(N=g===LP(T)),b!==void 0){var R;N&&(N=Zt((R=BP(T))!=null?R:null,T,b,W=>W))}return N}return!0}).filter(T=>o===void 0?!0:Zt(fu(T,{computedStyleSupportsPseudoElements:ge().computedStyleSupportsPseudoElements}),T,o,R=>R)).filter(T=>a===void 0?!0:Zt(bg(T,{computedStyleSupportsPseudoElements:ge().computedStyleSupportsPseudoElements}),T,a,R=>R)).filter(T=>n===!1?ci(T,{isSubtreeInaccessible:F})===!1:!0)},"queryAllByRole");function $O(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($O,"makeRoleSelector");var RO=l(e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},"getNameHint"),dH=l(function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+RO(n)},"getMultipleError$1"),pH=l(function(e,t,r){let{hidden:n=ge().defaultHidden,name:o,description:a}=r===void 0?{}:r;if(ge()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+RO(o);let i="";Array.from(e.children).forEach(d=>{i+=Tg(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=(`
|
|
386
|
-
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
387
|
-
|
|
388
|
-
`+i.replace(/\n/g,`
|
|
389
|
-
`).replace(/\n\s\s\n/g,`
|
|
390
|
-
|
|
391
|
-
`)+`
|
|
392
|
-
`).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+"`",(`
|
|
393
|
-
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+c+u+`
|
|
394
|
-
|
|
395
|
-
`+s).trim()},"getMissingError$1"),jO=ft(wp,wp.name,"queryAll"),[qO,MO,kO,IO,NO]=or(wp,dH,pH),jg=l(()=>ge().testIdAttribute,"getTestIdAttribute"),Ep=l(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return nr(t[0]),Xr(jg(),...t)},"queryAllByTestId"),fH=l((e,t)=>"Found multiple elements by: ["+jg()+'="'+t+'"]',"getMultipleError"),hH=l((e,t)=>"Unable to find an element by: ["+jg()+'="'+t+'"]',"getMissingError"),DO=ft(Ep,Ep.name,"queryAll"),[FO,LO,BO,HO,UO]=or(Ep,fH,hH),js=Object.freeze({__proto__:null,queryAllByLabelText:QP,queryByLabelText:GP,getAllByLabelText:JP,getByLabelText:ZP,findAllByLabelText:YP,findByLabelText:XP,queryByPlaceholderText:tO,queryAllByPlaceholderText:eO,getByPlaceholderText:nO,getAllByPlaceholderText:rO,findAllByPlaceholderText:oO,findByPlaceholderText:aO,queryByText:sO,queryAllByText:iO,getByText:uO,getAllByText:lO,findAllByText:cO,findByText:dO,queryByDisplayValue:fO,queryAllByDisplayValue:pO,getByDisplayValue:mO,getAllByDisplayValue:hO,findAllByDisplayValue:gO,findByDisplayValue:bO,queryByAltText:vO,queryAllByAltText:yO,getByAltText:EO,getAllByAltText:wO,findAllByAltText:CO,findByAltText:xO,queryByTitle:AO,queryAllByTitle:SO,getByTitle:OO,getAllByTitle:PO,findAllByTitle:_O,findByTitle:TO,queryByRole:qO,queryAllByRole:jO,getAllByRole:MO,getByRole:kO,findAllByRole:IO,findByRole:NO,queryByTestId:FO,queryAllByTestId:DO,getByTestId:BO,getAllByTestId:LO,findAllByTestId:HO,findByTestId:UO});function qs(e,t,r){return t===void 0&&(t=js),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let a=t[o];return n[o]=a.bind(null,e),n},r)}l(qs,"getQueriesForElement");var VO=l(e=>!e||Array.isArray(e)&&!e.length,"isRemoved");function Cp(e){if(VO(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(Cp,"initialCheck");async function zO(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Cp(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 Cp(e()),bu(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!VO(n))throw r},t)}l(zO,"waitForElementToBeRemoved");var Zy={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}}},Qy={doubleClick:"dblClick"};function wo(e,t){return ge().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(wo,"fireEvent");function va(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&&WO(t,s),c!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:c}),Object.assign(t,u);let d=Eg(t),p=d[o]||d.Event,h;if(typeof p=="function")h=new p(e,i);else{h=d.document.createEvent(o);let{bubbles:f,cancelable:m,detail:g,...y}=i;h.initEvent(e,f,m,g),Object.keys(y).forEach(b=>{h[b]=y[b]})}return["dataTransfer","clipboardData"].forEach(f=>{let m=i[f];typeof m=="object"&&(typeof d.DataTransfer=="function"?Object.defineProperty(h,f,{value:Object.getOwnPropertyNames(m).reduce((g,y)=>(Object.defineProperty(g,y,{value:m[y]}),g),new d.DataTransfer)}):Object.defineProperty(h,f,{value:m}))}),h}l(va,"createEvent");Object.keys(Zy).forEach(e=>{let{EventType:t,defaultInit:r}=Zy[e],n=e.toLowerCase();va[e]=(o,a)=>va(n,o,a,{EventType:t,defaultInit:r}),wo[e]=(o,a)=>wo(o,va[e](o,a))});function WO(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(WO,"setNativeValue");Object.keys(Qy).forEach(e=>{let t=Qy[e];wo[e]=function(){return wo[t](...arguments)}});function GO(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
396
|
-
`)}l(GO,"unindent");function KO(e){return M7.default.compressToEncodedURIComponent(GO(e))}l(KO,"encode");function YO(e){return"https://testing-playground.com/#markup="+KO(e)}l(YO,"getPlaygroundUrl");var mH=l((e,t,r)=>Array.isArray(e)?e.forEach(n=>fp(n,t,r)):fp(e,t,r),"debug"),gH=l(function(e){if(e===void 0&&(e=hu().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
|
|
397
|
-
|
|
398
|
-
`+t),t},"logTestingPlaygroundURL"),ev={debug:mH,logTestingPlaygroundURL:gH},bH=typeof document<"u"&&document.body?qs(document.body,js,ev):Object.keys(js).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),ev);function fe(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(fe,"isElementType");function xt(e){var t;if(XO(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 ${JO(e)}`)}l(xt,"getWindow");function XO(e){return e.nodeType===9}l(XO,"isDocument");function JO(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}l(JO,"describe");function qg(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(qg,"readBlobText");function vu(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(vu,"createFileList");function mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(mr,"_define_property");var ZO=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){mr(this,"kind",void 0),mr(this,"type",void 0),mr(this,"file",null),mr(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(ZO,"DataTransferItemStub");var QO=ZO,e_=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(e_,"DataTransferItemListStub");var yH=e_;function ra(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(ra,"getTypeMatcher");function t_(e){var t;return new(t=class{getData(r){var n;let o=(n=this.items.find(ra(r,!0)))!==null&&n!==void 0?n:this.items.find(ra(r,!1)),a="";return o==null||o.getAsString(i=>{a=i}),a}setData(r,n){let o=this.items.findIndex(ra(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(ra(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(){mr(this,"dropEffect","none"),mr(this,"effectAllowed","uninitialized"),mr(this,"items",new yH),mr(this,"files",vu(e,[]))}},l(t,"DataTransferStub"),t)}l(t_,"createDataTransferStub");function wu(e,t=[]){let r=typeof e.DataTransfer>"u"?t_(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:l(()=>vu(e,t),"get")}),r}l(wu,"createDataTransfer");async function r_(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}l(r_,"getBlobFromDataTransferItem");function Mg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Mg,"_define_property");function kg(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){Mg(this,"data",void 0),this.data=o}},l(r,"ClipboardItem"),r)(n)}l(kg,"createClipboardItem");var Eo=Symbol("Manage ClipboardSub");function xp(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=>qg(i,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[kg(e,n)]}constructor(...n){super(...n),Mg(this,"items",[])}},l(r,"Clipboard"),r),{[Eo]:t})}l(xp,"createClipboardStub");function Eu(e){return!!(e!=null&&e[Eo])}l(Eu,"isClipboardStub");function n_(e){if(Eu(e.navigator.clipboard))return e.navigator.clipboard[Eo];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:l(()=>{r=xp(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=xp(e,n),Object.defineProperty(e.navigator,"clipboard",{get:l(()=>r,"get"),configurable:!0}),r[Eo]}l(n_,"attachClipboardStubToView");function o_(e){Eu(e.navigator.clipboard)&&e.navigator.clipboard[Eo].resetClipboardStub()}l(o_,"resetClipboardStubOnView");function a_(e){Eu(e.navigator.clipboard)&&e.navigator.clipboard[Eo].detachClipboardStub()}l(a_,"detachClipboardStubFromView");async function i_(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=wu(t);for(let a of n)for(let i of a.types)o.setData(i,await a.getType(i).then(s=>qg(s,t.FileReader)));return o}l(i_,"readDataTransferFromClipboard");async function Ig(e,t){let r=xt(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let i=t.items[a],s=await r_(r,i);o.push(kg(r,s))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}l(Ig,"writeDataTransferToClipboard");var Ms=globalThis;typeof Ms.afterEach=="function"&&Ms.afterEach(()=>{typeof globalThis.window<"u"&&o_(globalThis.window)});typeof Ms.afterAll=="function"&&Ms.afterAll(()=>{typeof globalThis.window<"u"&&a_(globalThis.window)});var s_=["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 Cu(e){return e.matches(s_)}l(Cu,"isFocusable");function l_(e){return new e.constructor(e.type,e)}l(l_,"cloneEvent");function er(e){for(let r=e;r;r=r.parentElement)if(fe(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(fe(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(er,"isDisabled");function Bo(e){let t=e.activeElement;return t!=null&&t.shadowRoot?Bo(t.shadowRoot):er(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}l(Bo,"getActiveElement");function Di(e){var t;return(t=Bo(e))!==null&&t!==void 0?t:e.body}l(Di,"getActiveElementOrBody");function u_(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}l(u_,"findClosest");function Ur(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}l(Ur,"isContentEditable");function Co(e){let t=c_(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}l(Co,"getContentEditable");function c_(e){return e.nodeType===1?e:e.parentElement}l(c_,"getElement");var d_=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}(d_||{});function Ng(e){return fe(e,"button")||fe(e,"input")&&e.type in d_}l(Ng,"isClickableInput");function Cn(e){return Dg(e)&&!e.readOnly||Ur(e)}l(Cn,"isEditable");var p_=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}(p_||{});function Dg(e){return fe(e,"textarea")||fe(e,"input")&&e.type in p_}l(Dg,"isEditableInputOrTextArea");function Bt(e){return Fg(e)&&Dg(e)}l(Bt,"hasOwnSelection");function f_(e){return Fg(e)&&Ng(e)}l(f_,"hasNoSelection");function Fg(e){return e.nodeType===1}l(Fg,"isElement");function h_(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&Bt(e)){let n=Co(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(h_,"updateSelectionOnFocus");function xn(e,t){return ge().eventWrapper(e)}l(xn,"wrapEvent");function wr(e){let t=u_(e,Cu),r=Bo(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(xn(t?()=>t.focus():()=>r==null?void 0:r.blur()),h_(t??e.ownerDocument.body))}l(wr,"focusElement");function m_(e){!Cu(e)||Bo(e.ownerDocument)!==e||xn(()=>e.blur())}l(m_,"blurElement");var Vr={};Vr.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&fe(n,"label")&&n.control;if(o&&o!==t)return()=>{Cu(o)&&(wr(o),r.dispatchEvent(o,l_(e)))};if(fe(t,"input",{type:"file"}))return()=>{m_(t),t.dispatchEvent(new(xt(t)).Event("fileDialog")),wr(t)}};var xo=Symbol("Displayed value in UI"),gr=Symbol("Displayed selection in UI"),ks=Symbol("Initial value to compare on blur");function g_(e){return typeof e=="object"&&xo in e}l(g_,"isUIValue");function b_(e){return!!e&&typeof e=="object"&&gr in e}l(b_,"isUISelectionStart");function y_(e,t){e[ks]===void 0&&(e[ks]=e.value),e[xo]=t,e.value=Object.assign(new String(t),{[xo]:!0})}l(y_,"setUIValue");function Ht(e){return e[xo]===void 0?e.value:String(e[xo])}l(Ht,"getUIValue");function xu(e){e[xo]=void 0}l(xu,"setUIValueClean");function Lg(e){e[ks]=void 0}l(Lg,"clearInitialValue");function v_(e){return e[ks]}l(v_,"getInitialValue");function w_(e,t){e[gr]=t}l(w_,"setUISelectionRaw");function qn(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Ht(e).length,a=l(p=>Math.max(0,Math.min(o,p)),"sanitizeOffset"),i=n==="replace"||e[gr]===void 0?a(r):e[gr].anchorOffset,s=a(t),c=Math.min(i,s),u=Math.max(i,s);if(e[gr]={anchorOffset:i,focusOffset:s},e.selectionStart===c&&e.selectionEnd===u)return;let d=Object.assign(new Number(c),{[gr]:!0});try{e.setSelectionRange(d,u)}catch{}}l(qn,"setUISelection");function So(e){var t,r,n;let o=(n=e[gr])!==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(So,"getUISelection");function E_(e){return!!e[gr]}l(E_,"hasUISelection");function wa(e){e[gr]=void 0}l(wa,"setUISelectionClean");var Is=globalThis.parseInt;function C_(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=Is(t[0],10),n=Is(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Sp(t,o)}return e.length===2?e:Sp(t,2)}l(C_,"buildTimeValue");function Sp(e,t){let r=e.slice(0,t),n=Math.min(Is(r,10),23),o=e.slice(t),a=Is(o,10),i=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}l(Sp,"build");function Bg(e,t){let r=e.cloneNode();return r.value=t,r.value===t}l(Bg,"isValidDateOrTimeValue");var x_=function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e}(x_||{});function S_(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(S_,"getMaxLength");function A_(e){return fe(e,"textarea")||fe(e,"input")&&e.type in x_}l(A_,"supportsMaxLength");function Hg(e,t,r,n){if(Ea(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=Ap(e,t,r);if(o){if(Ea(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(fe(o,"br")){let a=Ap(o,void 0,r);return a?Ea(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&fe(a,"br")?{node:o.parentNode,offset:na(o)}:{node:a.parentNode,offset:na(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:na(o)}:void 0}else return{node:o.parentNode,offset:na(o)+(r>0?1:0)}}}l(Hg,"getNextCursorPosition");function Ap(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Su(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),O_(e,r===1?"next":"previous",P_)}l(Ap,"getNextCharacterContentNode");function P_(e){if(Ea(e))return!0;if(Su(e)){if(fe(e,["input","textarea"]))return e.type!=="hidden";if(fe(e,"br"))return!0}return!1}l(P_,"isTreatedAsCharacterContent");function na(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}l(na,"getOffset");function Su(e){return e.nodeType===1}l(Su,"isElement");function Ea(e){return e.nodeType===3}l(Ea,"isTextNode");function O_(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=__(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Su(e.parentNode)||!Ur(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}l(O_,"walkNodes");function __(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}l(__,"getDescendant");var Ua=Symbol("Track programmatic changes for React workaround");function T_(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&xt(e).REACT_VERSION===17}l(T_,"isReact17Element");function $_(e){T_(e)&&(e[Ua]={previousValue:String(e.value),tracked:[]})}l($_,"startTrackValue");function R_(e,t){var r,n;(n=e[Ua])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Ua]||(xu(e),qn(e,{focusOffset:t.length}))}l(R_,"trackOrSetValue");function j_(e,t){var r;let n=e[Ua];if(e[Ua]=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||xu(e),E_(e)&&qn(e,{focusOffset:o?t:e.value.length})}l(j_,"commitValueAfterInput");function Ug(e){let t=q_(e);if(t&&Bt(t))return{type:"input",selection:So(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:Co(e)&&(r!=null&&r.anchorNode)&&Co(r.anchorNode)?"contenteditable":"default",selection:r}}l(Ug,"getTargetTypeAndSelection");function q_(e){return e.nodeType===1?e:e.parentElement}l(q_,"getElement");function M_(e){let t=Ug(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(M_,"getInputRange");function zr({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,a;if(Ug(e).type==="input")return qn(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(zr,"setSelection");function Vg(e){return fe(e,"input")&&["date","time"].includes(e.type)}l(Vg,"isDateOrTime");function Sn(e,t,r,n="insertText"){let o=M_(t);o&&(!Vg(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?k_(e,t,o,r,n):I_(e,t,o,r,n)))}l(Sn,"input");function k_(e,t,r,n,o){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let i=Hg(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(k_,"editContenteditable");function I_(e,t,r,n,o){let a=n;if(A_(t)){let u=S_(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}=N_(a,t,r,o);i===c&&s===r.startOffset&&s===r.endOffset||fe(t,"input",{type:"number"})&&!D_(i)||(y_(t,i),zr({focusNode:t,anchorOffset:s,focusOffset:s}),Vg(t)?Bg(t,i)&&(Pp(e,t,s,{}),e.dispatchUIEvent(t,"change"),Lg(t)):Pp(e,t,s,{data:n,inputType:o}))}l(I_,"editInputElement");function N_(e,t,{startOffset:r,endOffset:n},o){let a=Ht(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(fe(t,"input",{type:"time"})){let h=C_(d);h!==""&&Bg(t,h)&&(d=h,p=h.length)}return{oldValue:a,newValue:d,newOffset:p}}l(N_,"calculateNewValue");function Pp(e,t,r,n){e.dispatchUIEvent(t,"input",n),j_(t,r)}l(Pp,"commitInput");function D_(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(D_,"isValidNumberInput");Vr.cut=(e,t,r)=>()=>{Cn(t)&&Sn(r,t,"","deleteByCut")};function F_(e){return e?Ur(e)?e.textContent:Ht(e):null}l(F_,"getValueOrTextContent");function L_(e){let t=xt(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(L_,"isVisible");function B_(e,t){let r=e.ownerDocument,n=r.querySelectorAll(s_),o=Array.from(n).filter(c=>c===e||!(Number(c.getAttribute("tabindex"))<0||er(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=fe(e,"input",{type:"radio"})?e.name:void 0;o.forEach(c=>{let u=c;if(fe(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=>!fe(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||L_(i[c]))return i[c]}l(B_,"getTabDestination");function Op(e,t){if(Bt(e)){let r=So(e);zr({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=Hg(r.focusNode,r.focusOffset,t);n&&zr({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}l(Op,"moveSelection");function zg(e){if(Bt(e))return zr({focusNode:e,anchorOffset:0,focusOffset:Ht(e).length});var t;let r=(t=Co(e))!==null&&t!==void 0?t:e.ownerDocument.body;zr({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}l(zg,"selectAll");function H_(e){if(Bt(e))return So(e).startOffset===0&&So(e).endOffset===Ht(e).length;var t;let r=(t=Co(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(H_,"isAllSelected");function Yn(e,t,r){var n;if(Bt(e))return zr({focusNode:e,anchorOffset:t,focusOffset:r});if(Ur(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return zr({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}l(Yn,"setSelectionRange");function oa(e,t,r){let n=xt(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(!er(o[a])){wr(o[a]),e.dispatchUIEvent(o[a],"click");return}}}l(oa,"walkRadio");Vr.keydown=(e,t,r)=>{var n,o;return(o=(n=tv[e.key])===null||n===void 0?void 0:n.call(tv,e,t,r))!==null&&o!==void 0?o:vH(e,t,r)};var tv={ArrowDown:l((e,t,r)=>{if(fe(t,"input",{type:"radio"}))return()=>oa(r,t,1)},"ArrowDown"),ArrowLeft:l((e,t,r)=>fe(t,"input",{type:"radio"})?()=>oa(r,t,-1):()=>Op(t,-1),"ArrowLeft"),ArrowRight:l((e,t,r)=>fe(t,"input",{type:"radio"})?()=>oa(r,t,1):()=>Op(t,1),"ArrowRight"),ArrowUp:l((e,t,r)=>{if(fe(t,"input",{type:"radio"}))return()=>oa(r,t,-1)},"ArrowUp"),Backspace:l((e,t,r)=>{if(Cn(t))return()=>{Sn(r,t,"","deleteContentBackward")}},"Backspace"),Delete:l((e,t,r)=>{if(Cn(t))return()=>{Sn(r,t,"","deleteContentForward")}},"Delete"),End:l((e,t)=>{if(fe(t,["input","textarea"])||Ur(t))return()=>{var r,n;let o=(n=(r=F_(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Yn(t,o,o)}},"End"),Home:l((e,t)=>{if(fe(t,["input","textarea"])||Ur(t))return()=>{Yn(t,0,0)}},"Home"),PageDown:l((e,t)=>{if(fe(t,["input"]))return()=>{let r=Ht(t).length;Yn(t,r,r)}},"PageDown"),PageUp:l((e,t)=>{if(fe(t,["input"]))return()=>{Yn(t,0,0)}},"PageUp"),Tab:l((e,t,r)=>()=>{let n=B_(t,r.system.keyboard.modifiers.Shift);wr(n),Bt(n)&&qn(n,{anchorOffset:0,focusOffset:n.value.length})},"Tab")},vH=l((e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>zg(t)},"combinationBehavior");Vr.keypress=(e,t,r)=>{if(e.key==="Enter"){if(fe(t,"button")||fe(t,"input")&&wH.includes(t.type)||fe(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(fe(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&&EH.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Cn(t)){let n=e.key==="Enter"?Ur(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
|
|
399
|
-
`:e.key;return()=>Sn(r,t,o,n)}};var wH=["button","color","file","image","reset","submit"],EH=["email","month","password","search","tel","text","url","week"];Vr.keyup=(e,t,r)=>{var n;return(n=rv[e.key])===null||n===void 0?void 0:n.call(rv,e,t,r)};var rv={" ":l((e,t,r)=>{if(Ng(t))return()=>r.dispatchUIEvent(t,"click")}," ")};Vr.paste=(e,t,r)=>{if(Cn(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Sn(r,t,o,"insertFromPaste")}};var U_={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 Wg(e){return U_[e].EventType}l(Wg,"getEventClass");var CH=["MouseEvent","PointerEvent"];function V_(e){return CH.includes(Wg(e))}l(V_,"isMouseEvent");function z_(e){return Wg(e)==="KeyboardEvent"}l(z_,"isKeyboardEvent");var xH={ClipboardEvent:[G_],Event:[],FocusEvent:[Bn,K_],InputEvent:[Bn,Y_],MouseEvent:[Bn,Fi,_p],PointerEvent:[Bn,Fi,_p,J_],KeyboardEvent:[Bn,Fi,X_]};function Gg(e,t,r){let n=xt(t),{EventType:o,defaultInit:a}=U_[e],i=new(W_(n))[o](e,a);return xH[o].forEach(s=>s(i,r??{})),i}l(Gg,"createEvent");function W_(e){var t,r,n,o,a,i,s,c,u,d,p,h,f,m,g,y;let b=(y=e.Event)!==null&&y!==void 0?y:(t=class{},l(t,"Event"),t);var v;let S=(v=e.AnimationEvent)!==null&&v!==void 0?v:(r=class extends b{},l(r,"AnimationEvent"),r);var x;let P=(x=e.ClipboardEvent)!==null&&x!==void 0?x:(n=class extends b{},l(n,"ClipboardEvent"),n);var C;let w=(C=e.PopStateEvent)!==null&&C!==void 0?C:(o=class extends b{},l(o,"PopStateEvent"),o);var E;let A=(E=e.ProgressEvent)!==null&&E!==void 0?E:(a=class extends b{},l(a,"ProgressEvent"),a);var k;let j=(k=e.TransitionEvent)!==null&&k!==void 0?k:(i=class extends b{},l(i,"TransitionEvent"),i);var L;let F=(L=e.UIEvent)!==null&&L!==void 0?L:(s=class extends b{},l(s,"UIEvent"),s);var T;let R=(T=e.CompositionEvent)!==null&&T!==void 0?T:(c=class extends F{},l(c,"CompositionEvent"),c);var N;let W=(N=e.FocusEvent)!==null&&N!==void 0?N:(u=class extends F{},l(u,"FocusEvent"),u);var K;let ee=(K=e.InputEvent)!==null&&K!==void 0?K:(d=class extends F{},l(d,"InputEvent"),d);var re;let oe=(re=e.KeyboardEvent)!==null&&re!==void 0?re:(p=class extends F{},l(p,"KeyboardEvent"),p);var Y;let G=(Y=e.MouseEvent)!==null&&Y!==void 0?Y:(h=class extends F{},l(h,"MouseEvent"),h);var J;let te=(J=e.DragEvent)!==null&&J!==void 0?J:(f=class extends G{},l(f,"DragEvent"),f);var Z;let ie=(Z=e.PointerEvent)!==null&&Z!==void 0?Z:(m=class extends G{},l(m,"PointerEvent"),m);var le;let ye=(le=e.TouchEvent)!==null&&le!==void 0?le:(g=class extends F{},l(g,"TouchEvent"),g);return{Event:b,AnimationEvent:S,ClipboardEvent:P,PopStateEvent:w,ProgressEvent:A,TransitionEvent:j,UIEvent:F,CompositionEvent:R,FocusEvent:W,InputEvent:ee,KeyboardEvent:oe,MouseEvent:G,DragEvent:te,PointerEvent:ie,TouchEvent:ye}}l(W_,"getEventConstructors");function Ar(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:l(()=>n??null,"get")})}l(Ar,"assignProps");function ke(e){return Number(e??0)}l(ke,"sanitizeNumber");function G_(e,{clipboardData:t}){Ar(e,{clipboardData:t})}l(G_,"initClipboardEvent");function K_(e,{relatedTarget:t}){Ar(e,{relatedTarget:t})}l(K_,"initFocusEvent");function Y_(e,{data:t,inputType:r,isComposing:n}){Ar(e,{data:t,isComposing:!!n,inputType:String(r)})}l(Y_,"initInputEvent");function Bn(e,{view:t,detail:r}){Ar(e,{view:t,detail:ke(r??0)})}l(Bn,"initUIEvent");function Fi(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:a,modifierCapsLock:i,modifierFn:s,modifierFnLock:c,modifierNumLock:u,modifierScrollLock:d,modifierSymbol:p,modifierSymbolLock:h}){Ar(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(f){return!!{Alt:t,AltGraph:a,CapsLock:i,Control:r,Fn:s,FnLock:c,Meta:n,NumLock:u,ScrollLock:d,Shift:o,Symbol:p,SymbolLock:h}[f]}})}l(Fi,"initUIEventModifiers");function X_(e,{key:t,code:r,location:n,repeat:o,isComposing:a,charCode:i}){Ar(e,{key:String(t),code:String(r),location:ke(n),repeat:!!o,isComposing:!!a,charCode:i})}l(X_,"initKeyboardEvent");function _p(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:h,pageY:f}){Ar(e,{screenX:ke(n),screenY:ke(o),clientX:ke(a),x:ke(a),clientY:ke(i),y:ke(i),button:ke(s),buttons:ke(c),relatedTarget:u,offsetX:ke(d),offsetY:ke(p),pageX:ke(h),pageY:ke(f)})}l(_p,"initMouseEvent");function J_(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:a,tiltX:i,tiltY:s,twist:c,pointerType:u,isPrimary:d}){Ar(e,{pointerId:ke(t),width:ke(r??1),height:ke(n??1),pressure:ke(o),tangentialPressure:ke(a),tiltX:ke(i),tiltY:ke(s),twist:ke(c),pointerType:String(u),isPrimary:!!d})}l(J_,"initPointerEvent");function Z_(e,t,r,n=!1){(V_(t)||z_(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Gg(t,e,r);return Kg.call(this,e,o,n)}l(Z_,"dispatchUIEvent");function Kg(e,t,r=!1){var n;let o=t.type,a=r?()=>{}:(n=Vr[o])===null||n===void 0?void 0:n.call(Vr,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")}),xn(()=>e.dispatchEvent(t)),i||a(),!i}return xn(()=>e.dispatchEvent(t))}l(Kg,"dispatchEvent");function Ir(e,t,r){let n=Gg(t,e,r);xn(()=>e.dispatchEvent(n))}l(Ir,"dispatchDOMEvent");var nv=Symbol("patched focus/blur methods");function Yg(e){if(e.prototype[nv])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")},[nv]:{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=Tp(this.ownerDocument);if(s===this)return;let c=Symbol("focus call");n=c,s&&(r.call(s),Ir(s,"blur",{relatedTarget:this}),Ir(s,"focusout",{relatedTarget:n===c?this:null})),n===c&&(t.call(this,i),Ir(this,"focus",{relatedTarget:s})),n===c&&Ir(this,"focusin",{relatedTarget:s})}l(o,"patchedFocus");function a(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let i=Tp(this.ownerDocument);i===this&&(n=Symbol("blur call"),r.call(this),Ir(i,"blur",{relatedTarget:null}),Ir(i,"focusout",{relatedTarget:null}))}l(a,"patchedBlur")}l(Yg,"patchFocus");function Tp(e){let t=Bo(e);return(t==null?void 0:t.tagName)==="BODY"?null:t}l(Tp,"getActiveTarget");var Ac=Symbol("Interceptor for programmatical calls");function cn(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][Ac])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[Ac]=Ac,Object.defineProperty(e,t,{...o??n,[a]:i})}l(cn,"prepareInterceptor");function Q_(e){cn(e,"value",l(function(t){let r=g_(t);return r&&$_(this),{applyNative:!!r,realArgs:eT(this,t),then:r?void 0:()=>R_(this,String(t))}},"interceptorImpl"))}l(Q_,"prepareValueInterceptor");function eT(e,t){return fe(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}l(eT,"sanitizeValue");function tT(e){cn(e,"setSelectionRange",l(function(t,...r){let n=b_(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:l(()=>n?void 0:wa(e),"then")}},"interceptorImpl")),cn(e,"selectionStart",l(function(t){return{realArgs:t,then:l(()=>wa(e),"then")}},"interceptorImpl")),cn(e,"selectionEnd",l(function(t){return{realArgs:t,then:l(()=>wa(e),"then")}},"interceptorImpl")),cn(e,"select",l(function(){return{realArgs:[],then:l(()=>w_(e,{anchorOffset:0,focusOffset:Ht(e).length}),"then")}},"interceptorImpl"))}l(tT,"prepareSelectionInterceptor");function rT(e){cn(e,"setRangeText",l(function(...t){return{realArgs:t,then:l(()=>{xu(e),wa(e)},"then")}},"interceptorImpl"))}l(rT,"prepareRangeTextInterceptor");var ro=Symbol("Node prepared with document state workarounds");function Xg(e){e[ro]||(e.addEventListener("focus",t=>{let r=t.target;$p(r)},{capture:!0,passive:!0}),e.activeElement&&$p(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=v_(r);n!==void 0&&(r.value!==n&&Ir(r,"change"),Lg(r))},{capture:!0,passive:!0}),e[ro]=ro)}l(Xg,"prepareDocument");function $p(e){e[ro]||(fe(e,["input","textarea"])&&(Q_(e),tT(e),rT(e)),e[ro]=ro)}l($p,"prepareElement");function nT(e){return oT(e)?e:e.ownerDocument}l(nT,"getDocumentFromNode");function oT(e){return e.nodeType===9}l(oT,"isDocument");var yt=function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e}({});function Xn(e,t){e.levelRefs[t]={}}l(Xn,"setLevelRef");function aa(e,t){return e.levelRefs[t]}l(aa,"getLevelRef");function An(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}l(An,"wait");var Li=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 jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(jr,"_define_property");var Vt=function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e}({}),SH=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Rp(e){return SH.includes(e)}l(Rp,"isModifierKey");var AH=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function jp(e){return AH.includes(e)}l(jp,"isModifierLock");var aT=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=Di(t.config.document);this.setKeydownTarget(a),this.pressed.add(o,r),Rp(n)&&(this.modifiers[n]=!0);let i=t.dispatchUIEvent(a,"keydown",{key:n,code:o});jp(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),i&&this.pressed.setUnprevented(o),i&&this.hasKeyPress(n)&&t.dispatchUIEvent(Di(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),Rp(n)&&!this.pressed.values().find(i=>i.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(Di(t.config.document),"keyup",{key:n,code:o},!a),jp(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){jr(this,"system",void 0),jr(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}),jr(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(){jr(this,"registry",{})}}),jr(this,"carryChar",""),jr(this,"lastKeydownTarget",void 0),jr(this,"modifierLockStart",{}),this.system=t}};l(aT,"KeyboardHost");var PH=aT,OH=[..."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:Vt.LEFT},{code:"AltRight",key:"Alt",location:Vt.RIGHT},{code:"ShiftLeft",key:"Shift",location:Vt.LEFT},{code:"ShiftRight",key:"Shift",location:Vt.RIGHT},{code:"ControlLeft",key:"Control",location:Vt.LEFT},{code:"ControlRight",key:"Control",location:Vt.RIGHT},{code:"MetaLeft",key:"Meta",location:Vt.LEFT},{code:"MetaRight",key:"Meta",location:Vt.RIGHT},{code:"OSLeft",key:"OS",location:Vt.LEFT},{code:"OSRight",key:"OS",location:Vt.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"}],_H=[{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 iT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(iT,"_define_property");var sT=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=Ns(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=Ns(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(){iT(this,"pressed",{})}};l(sT,"Buttons");var lT=sT,ov={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Ns(e=0){return e in ov?ov[e]:Number(e)}l(Ns,"getMouseButtonId");var av={1:2,2:1};function Ds(e){return e=Ns(e),e in av?av[e]:e}l(Ds,"getMouseEventButton");function uT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(uT,"_define_property");var cT=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(){uT(this,"pressedKeys",new Set)}};l(cT,"Device");var TH=cT;function no(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(no,"getTreeDiff");function Fs({target:e,node:t,offset:r}){return Bt(e)?{node:e,offset:r??Ht(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Jg(e,r)}l(Fs,"resolveCaretPosition");function Jg(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 Jg(a,t,!1);if(a.nodeType===3)return{node:a,offset:t??a.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}l(Jg,"findNodeAtTextOffset");function dT({document:e,target:t,clickCount:r,node:n,offset:o}){if(f_(t))return;let a=Bt(t),i=String(a?Ht(t):t.textContent),[s,c]=n?[o,o]:pT(i,o,r);if(a)return qn(t,{anchorOffset:s??i.length,focusOffset:c??i.length}),{node:t,start:s??0,end:c??i.length};{let{node:u,offset:d}=Fs({target:t,node:n,offset:s}),{node:p,offset:h}=Fs({target:t,node:n,offset:c}),f=t.ownerDocument.createRange();try{f.setStart(u,d),f.setEnd(p,h)}catch{throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m==null||m.removeAllRanges(),m==null||m.addRange(f.cloneRange()),f}}l(dT,"setSelectionPerMouseDown");function pT(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}l(pT,"getTextRange");function fT(e,{document:t,target:r,node:n,offset:o}){let a=Fs({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;qn(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(fT,"modifySelectionPerMouseMove");function Zg(e,t){var r,n,o,a,i,s,c,u,d,p,h,f,m,g,y,b,v,S,x,P,C,w,E,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)||((h=e.coords)===null||h===void 0?void 0:h.offsetY)!==((f=t.coords)===null||f===void 0?void 0:f.offsetY)||((m=e.coords)===null||m===void 0?void 0:m.pageX)!==((g=t.coords)===null||g===void 0?void 0:g.pageX)||((y=e.coords)===null||y===void 0?void 0:y.pageY)!==((b=t.coords)===null||b===void 0?void 0:b.pageY)||((v=e.coords)===null||v===void 0?void 0:v.screenX)!==((S=t.coords)===null||S===void 0?void 0:S.screenX)||((x=e.coords)===null||x===void 0?void 0:x.screenY)!==((P=t.coords)===null||P===void 0?void 0:P.screenY)||((C=e.caret)===null||C===void 0?void 0:C.node)!==((w=t.caret)===null||w===void 0?void 0:w.node)||((E=e.caret)===null||E===void 0?void 0:E.offset)!==((A=t.caret)===null||A===void 0?void 0:A.offset)}l(Zg,"isDifferentPointerPosition");function qr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(qr,"_define_property");var hT=class{move(t,r,n){let o=this.position,a=this.getTarget(t);if(this.position=r,!Zg(o,r))return;let i=this.getTarget(t),s=this.getEventInit("mousemove"),[c,u]=no(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=er(a);!n&&(s||t.dispatchUIEvent(a,"mousedown",i))&&(this.startSelecting(t,i.detail),wr(a)),!s&&Ds(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(!er(a)){if(!n){let s=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(a,"mouseup",s),this.endSelecting()}let i=no(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=Ds(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=dT({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&&fT(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(){qr(this,"position",{}),qr(this,"buttons",new lT),qr(this,"selecting",void 0),qr(this,"buttonDownTarget",{}),qr(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(){qr(this,"down",{}),qr(this,"count",{})}})}};l(hT,"Mouse");var $H=hT;function Va(e,t){var r;return((r=Qg(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}l(Va,"hasPointerEvents");function mT(e){let t=xt(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(mT,"closestPointerEventsDeclaration");var iv=Symbol("Last check for pointer-events");function Qg(e,t){let r=t[iv];if(!(e.config.pointerEventsCheck!==Li.Never&&(!r||qp(e.config.pointerEventsCheck,Li.EachApiCall)&&r[yt.Call]!==aa(e,yt.Call)||qp(e.config.pointerEventsCheck,Li.EachTrigger)&&r[yt.Trigger]!==aa(e,yt.Trigger))))return r==null?void 0:r.result;let n=mT(t);return t[iv]={[yt.Call]:aa(e,yt.Call),[yt.Trigger]:aa(e,yt.Trigger),result:n},n}l(Qg,"checkPointerEvents");function Jn(e,t){let r=Qg(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\`:`,"",gT(r.tree)].join(`
|
|
400
|
-
`))}l(Jn,"assertPointerEvents");function gT(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,bT(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(`
|
|
401
|
-
`)}l(gT,"printTree");function bT(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(fe(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(fe(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)}…`),r?`(label=${r})`:""}l(bT,"getLabelDescr");function qp(e,t){return(e&t)>0}l(qp,"hasBitFlag");function Kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Kt,"_define_property");var yT=class{init(t){let r=this.getTarget(t),[,n]=no(null,r),o=this.getEventInit();return Jn(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,!Zg(n,r))return;let a=this.getTarget(t),i=this.getEventInit(-1),[s,c]=no(o,a);return{leave:l(()=>{Va(t,o)&&o!==a&&(t.dispatchUIEvent(o,"pointerout",i),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",i)))},"leave"),enter:l(()=>{Jn(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);Jn(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);Jn(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=no(r,null),o=this.getEventInit();Va(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:Ds(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){Kt(this,"pointerId",void 0),Kt(this,"pointerType",void 0),Kt(this,"isPrimary",void 0),Kt(this,"buttons",void 0),Kt(this,"isMultitouch",!1),Kt(this,"isCancelled",!1),Kt(this,"isDown",!1),Kt(this,"isPrevented",!1),Kt(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};l(yT,"Pointer");var RH=yT;function cr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(cr,"_define_property");var vT=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){cr(this,"system",void 0),cr(this,"mouse",void 0),cr(this,"buttons",void 0),cr(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 TH}constructor(){cr(this,"registry",{})}}),cr(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 RH({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(){cr(this,"registry",{}),cr(this,"nextId",1)}}),this.system=t,this.buttons=new lT,this.mouse=new $H,this.pointers.new("mouse","mouse",this.buttons)}};l(vT,"PointerHost");var jH=vT;function Mp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}l(Mp,"_define_property");var wT=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(){Mp(this,"keyboard",new PH(this)),Mp(this,"pointer",new jH(this))}};l(wT,"System");var ET=wT;async function CT(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}l(CT,"click");async function xT(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}l(xT,"dblClick");async function ST(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}l(ST,"tripleClick");async function AT(e){return this.pointer({target:e})}l(AT,"hover");async function PT(e){return Jn(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}l(PT,"unhover");async function OT({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}l(OT,"tab");var eb=function(e){return e["{"]="}",e["["]="]",e}(eb||{});function tb(e,t){let r=0,n=e[r]in eb?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?_T(e,r,t):TT(e,r,o,t)}}l(tb,"readNextDescriptor");function _T(e,t,r){let n=e[t];return rb(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}l(_T,"readPrintableChar");function TT(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];rb(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 h=eb[r],f=e[t]===h?h:"";if(!f)throw new Error(nb([!d&&"repeat modifier",!p&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:c,releasePrevious:!!i,repeat:d?Math.max(Number(d.substr(1)),1):1,releaseSelf:$T(p,d)}}l(TT,"readTag");function rb(e,t,r,n){if(!e)throw new Error(nb("key descriptor",t[r],t,n))}l(rb,"assertDescriptor");function $T(e,t){if(e)return e==="/";if(t)return!1}l($T,"hasReleaseSelf");function nb(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
402
|
-
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"}
|
|
403
|
-
for more information about how userEvent parses your input.`}l(nb,"getErrorMessage");function RT(e,t){let r=[];do{let{type:o,descriptor:a,consumedLength:i,releasePrevious:s,releaseSelf:c=!0,repeat:u}=tb(t,"keyboard");var n;let d=(n=e.find(p=>{if(o==="["){var h;return((h=p.code)===null||h===void 0?void 0:h.toLowerCase())===a.toLowerCase()}else if(o==="{"){var f;return((f=p.key)===null||f===void 0?void 0:f.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(RT,"parseKeyDef");async function jT(e){let t=RT(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await An(this.config),await qT(this,t[r])}l(jT,"keyboard");async function qT(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 An(e.config);n&&await a.keyboard.keyup(e,t)}}l(qT,"keyboardAction");async function MT(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}l(MT,"releaseAllKeys");function ob(e){let t=Bt(e)?{"text/plain":kT(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=wu(xt(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}l(ob,"copySelection");function kT(e){let t=So(e);return Ht(e).substring(t.startOffset,t.endOffset)}l(kT,"readSelectedValueFromInput");async function IT(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=ob(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Ig(e,n),n}l(IT,"copy");async function NT(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=ob(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Ig(r.ownerDocument,n),n}l(NT,"cut");async function DT(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"?FT(t,e):e)!==null&&o!==void 0?o:await i_(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}l(DT,"paste");function FT(e,t){let r=wu(xt(e));return r.setData("text",t),r}l(FT,"getClipboardDataFromString");function kp(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:a,releaseSelf:i=!0}=tb(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(kp,"parseKeyDef");async function LT(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...kp(t,n)):"keys"in n?r.push(...kp(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await An(this.config),await BT(this,r[n]);this.system.pointer.resetClickCount()}l(LT,"pointer");async function BT(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:HT(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:Ip(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(u=t.offset)!==null&&u!==void 0?u:Ip(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Xn(e,yt.Trigger),await e.system.pointer.release(e,t.keyDef,d)),t.releasePrevious||(Xn(e,yt.Trigger),await e.system.pointer.press(e,t.keyDef,d),t.releaseSelf&&(Xn(e,yt.Trigger),await e.system.pointer.release(e,t.keyDef,d)))):(Xn(e,yt.Trigger),await e.system.pointer.move(e,o,d))}l(BT,"pointerAction");function Ip(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(Ip,"hasCaretPosition");function HT(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(HT,"getPrevTarget");async function UT(e){if(!Cn(e)||er(e))throw new Error("clear()` is only supported on editable elements.");if(wr(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(zg(e),!H_(e))throw new Error("The element content to be cleared could not be selected.");Sn(this,e,"","deleteContentBackward")}l(UT,"clear");async function VT(e,t){return ab.call(this,!0,e,t)}l(VT,"selectOptions");async function zT(e,t){return ab.call(this,!1,e,t)}l(zT,"deselectOptions");async function ab(e,t,r){if(!e&&!t.multiple)throw ge().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 ge().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!er(s));if(er(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(fe(t,"select"))if(t.multiple)for(let s of a){let c=this.config.pointerEventsCheck===0?!0:Va(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")),wr(t),c&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),i(s),c&&this.dispatchUIEvent(s,"click"),await An(this.config)}else if(a.length===1){let s=this.config.pointerEventsCheck===0?!0:Va(this,t);s?await this.click(t):wr(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 An(this.config)}else throw ge().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 ge().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}l(ab,"selectOptionsBase");async function WT(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&&Yn(e,o,a??o),await this.keyboard(t),n||await MT(this))}l(WT,"type");var sv=Symbol("files and value properties are mocked");function Bi(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}l(Bi,"restoreProperty");function GT(e,t){var r;(r=e[sv])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function i(){Bi(e,"type",n),Bi(e,"value",o),Bi(e,"files",a)}l(i,"restore"),e[sv]={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(GT,"setFiles");async function KT(e,t){let r=fe(e,"label")?e.control:e;if(!r||!fe(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(er(e))return;let n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||YT(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))})||(GT(r,vu(xt(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}l(KT,"upload");function ia(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}l(ia,"normalize");function YT(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return ia(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?ia(e.name).endsWith(n):r.includes(n)?ia(e.type).startsWith(n.replace("*","")):ia(e.type)===n)}l(YT,"isAcceptableFile");var lv={click:CT,dblClick:xT,tripleClick:ST,hover:AT,unhover:PT,tab:OT,keyboard:jT,copy:IT,cut:NT,paste:DT,pointer:LT,clear:UT,deselectOptions:zT,selectOptions:VT,type:WT,upload:KT};function XT(e){return ge().asyncWrapper(e)}l(XT,"wrapAsync");var JT={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:OH,pointerMap:_H,pointerEventsCheck:Li.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:l(()=>Promise.resolve(),"advanceTimers")},qH={...JT,writeToClipboard:!0};function ib(e={},t=qH,r){let n=t$(e,r,t);return{...t,...e,document:n}}l(ib,"createConfig");function ZT(e={}){let t=ib(e);Xg(t.document),Yg(xt(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return n_(n),Au(t).api}l(ZT,"setupMain");function ot({keyboardState:e,pointerState:t,...r}={},n){let o=ib(r,JT,n);Xg(o.document),Yg(xt(o.document).HTMLElement);var a;let i=(a=t??e)!==null&&a!==void 0?a:new ET;return{api:Au(o,i).api,system:i}}l(ot,"setupDirect");function QT(e){return Au({...this.config,...e},this.system).api}l(QT,"setupSub");function e$(e,t){function r(...n){return Xn(e,yt.Call),XT(()=>t.apply(e,n).then(async o=>(await An(e.config),o)))}return l(r,"method"),Object.defineProperty(r,"name",{get:l(()=>t.name,"get")}),r}l(e$,"wrapAndBindImpl");function Au(e,t=new ET){let r={};return Object.assign(r,{config:e,dispatchEvent:Kg.bind(r),dispatchUIEvent:Z_.bind(r),system:t,levelRefs:{},...lv}),{instance:r,api:{...Object.fromEntries(Object.entries(lv).map(([n,o])=>[n,e$(r,o)])),setup:QT.bind(r)}}}l(Au,"createInstance");function t$(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&nT(t))!==null&&o!==void 0?o:r.document}l(t$,"getDocument");var r$={};ll(r$,{clear:()=>n$,click:()=>o$,copy:()=>a$,cut:()=>i$,dblClick:()=>s$,deselectOptions:()=>l$,hover:()=>u$,keyboard:()=>c$,paste:()=>p$,pointer:()=>d$,selectOptions:()=>f$,tab:()=>y$,tripleClick:()=>h$,type:()=>m$,unhover:()=>g$,upload:()=>b$});function n$(e){return ot().api.clear(e)}l(n$,"clear");function o$(e,t={}){return ot(t,e).api.click(e)}l(o$,"click");function a$(e={}){return ot(e).api.copy()}l(a$,"copy");function i$(e={}){return ot(e).api.cut()}l(i$,"cut");function s$(e,t={}){return ot(t).api.dblClick(e)}l(s$,"dblClick");function l$(e,t,r={}){return ot(r).api.deselectOptions(e,t)}l(l$,"deselectOptions");function u$(e,t={}){return ot(t).api.hover(e)}l(u$,"hover");async function c$(e,t={}){let{api:r,system:n}=ot(t);return r.keyboard(e).then(()=>n)}l(c$,"keyboard");async function d$(e,t={}){let{api:r,system:n}=ot(t);return r.pointer(e).then(()=>n)}l(d$,"pointer");function p$(e,t){return ot(t).api.paste(e)}l(p$,"paste");function f$(e,t,r={}){return ot(r).api.selectOptions(e,t)}l(f$,"selectOptions");function h$(e,t={}){return ot(t).api.tripleClick(e)}l(h$,"tripleClick");function m$(e,t,r={}){return ot(r,e).api.type(e,t,r)}l(m$,"type");function g$(e,t={}){let{api:r,system:n}=ot(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}l(g$,"unhover");function b$(e,t,r={}){return ot(r).api.upload(e,t)}l(b$,"upload");function y$(e={}){return ot().api.tab(e)}l(y$,"tab");var v$={...r$,setup:ZT};function w$(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,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
404
|
-
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
405
|
-
`)})}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(`
|
|
406
|
-
`)&&(p=String(s).split(`
|
|
407
|
-
`).map(function(h,f){return f===0?h:""+d+h}).join(`
|
|
408
|
-
`)),i+=p+n[c+1]}),i}l(w$,"dedent");var MH=w$,Np=$o({...$A},{intercept:l((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});Np.screen=new Proxy(Np.screen,{get(e,t,r){return Ue.warn(MH`
|
|
409
|
-
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
410
|
-
More info: https://storybook.js.org/docs/essentials/interactions
|
|
411
|
-
`),Reflect.get(e,t,r)}});var{buildQueries:mK,configure:gK,createEvent:bK,fireEvent:yK,findAllByAltText:vK,findAllByDisplayValue:wK,findAllByLabelText:EK,findAllByPlaceholderText:CK,findAllByRole:xK,findAllByTestId:SK,findAllByText:AK,findAllByTitle:PK,findByAltText:OK,findByDisplayValue:_K,findByLabelText:TK,findByPlaceholderText:$K,findByRole:RK,findByTestId:jK,findByText:qK,findByTitle:MK,getAllByAltText:kK,getAllByDisplayValue:IK,getAllByLabelText:NK,getAllByPlaceholderText:DK,getAllByRole:FK,getAllByTestId:LK,getAllByText:BK,getAllByTitle:HK,getByAltText:UK,getByDisplayValue:VK,getByLabelText:zK,getByPlaceholderText:WK,getByRole:GK,getByTestId:KK,getByText:YK,getByTitle:XK,getConfig:JK,getDefaultNormalizer:ZK,getElementError:QK,getNodeText:eY,getQueriesForElement:tY,getRoles:rY,getSuggestedQuery:nY,isInaccessible:oY,logDOM:aY,logRoles:iY,prettyDOM:sY,queries:lY,queryAllByAltText:uY,queryAllByAttribute:cY,queryAllByDisplayValue:dY,queryAllByLabelText:pY,queryAllByPlaceholderText:fY,queryAllByRole:hY,queryAllByTestId:mY,queryAllByText:gY,queryAllByTitle:bY,queryByAltText:yY,queryByAttribute:vY,queryByDisplayValue:wY,queryByLabelText:EY,queryByPlaceholderText:CY,queryByRole:xY,queryByTestId:SY,queryByText:AY,queryByTitle:PY,queryHelpers:OY,screen:_Y,waitFor:TY,waitForElementToBeRemoved:$Y,within:kH,prettyFormat:RY}=Np,IH=v$,{userEvent:jY}=$o({userEvent:v$},{intercept:!0}),{expect:qY}=$o({expect:xA},{getKeys:l((e,t)=>{if("constructor"in e&&e.constructor===M){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")}),NH=Object.create,sb=Object.defineProperty,DH=Object.getOwnPropertyDescriptor,FH=Object.getOwnPropertyNames,LH=Object.getPrototypeOf,BH=Object.prototype.hasOwnProperty,dt=(e,t)=>sb(e,"name",{value:t,configurable:!0}),HH=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),UH=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of FH(t))!BH.call(e,o)&&o!==r&&sb(e,o,{get:()=>t[o],enumerable:!(n=DH(t,o))||n.enumerable});return e},VH=(e,t,r)=>(r=e!=null?NH(LH(e)):{},UH(sb(r,"default",{value:e,enumerable:!0}),e)),zH=HH(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 dt(function i(s,c,u){var d,p,h,f=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),f!=m||(d=n(s),p=n(c),d.length!=p.length||d.some(function(g){return!i(s[g],c[g],u)})))return!1;switch(f.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((h=d.next()).value,p.next().value,u))return!1;while(!h.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(h=0;h<s.length;h++)if((h in s||h in c)&&(h in s!=h in c||!i(s[h],c[h],u)))return!1;return!0;case"Object":return i(r(s),r(c),u);default:return!1}},"n")(o,a,[])}}()});function E$(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()}dt(E$,"toStartCaseStr");var uv=VH(zH()),C$=dt(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),WH=dt((e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(C$([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,uv.isEqual)(t,n);if(typeof o<"u")return!(0,uv.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},"testValue"),GH=dt((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(C$([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return WH(e.if,a)},"includeConditionalArg");function KH(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Preview"}dt(KH,"isPreview");function YH(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Meta"}dt(YH,"isMeta");function Pu(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Story"}dt(Pu,"isStory");var x$=dt(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),cv=dt((e,t)=>{let r=x$(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),XH=dt((e,t)=>`${cv(e,"kind")}${t?`--${cv(t,"name")}`:""}`,"toId"),JH=dt(e=>E$(e),"storyNameFromExport");function Dp(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}dt(Dp,"matches");function Ls(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Dp(e,t))&&(!r||!Dp(e,r))}dt(Ls,"isExportStory");var ZH=dt((...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"),QH=Object.create,Ou=Object.defineProperty,eU=Object.getOwnPropertyDescriptor,tU=Object.getOwnPropertyNames,rU=Object.getPrototypeOf,nU=Object.prototype.hasOwnProperty,_=(e,t)=>Ou(e,"name",{value:t,configurable:!0}),wi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),at=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),S$=(e,t)=>{for(var r in t)Ou(e,r,{get:t[r],enumerable:!0})},oU=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of tU(t))!nU.call(e,o)&&o!==r&&Ou(e,o,{get:()=>t[o],enumerable:!(n=eU(t,o))||n.enumerable});return e},Ho=(e,t,r)=>(r=e!=null?QH(rU(e)):{},oU(Ou(r,"default",{value:e,enumerable:!0}),e)),A$=at((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return _(function r(n,o,a){function i(u,d){if(!o[u]){if(!n[u]){var p=typeof wi=="function"&&wi;if(!d&&p)return p(u,!0);if(s)return s(u,!0);var h=new Error("Cannot find module '"+u+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[u]={exports:{}};n[u][0].call(f.exports,function(m){var g=n[u][1][m];return i(g||m)},f,f.exports,r,n,o,a)}return o[u].exports}_(i,"s");for(var s=typeof wi=="function"&&wi,c=0;c<a.length;c++)i(a[c]);return i},"e")({1:[function(r,n,o){n.exports=function(a){if(typeof Map!="function"||a){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,n,o){function a(){return this.list=[],this.lastItem=void 0,this.size=0,this}_(a,"Similar"),a.prototype.get=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(s=this.indexOf(i),s>=0)return this.lastItem=this.list[s],this.list[s].val},a.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},a.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},a.prototype.forEach=function(i,s){var c;for(c=0;c<this.size;c++)i.call(s||this,this.list[c].val,this.list[c].key,this)},a.prototype.indexOf=function(i){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,i))return s;return-1},a.prototype.isEqual=function(i,s){return i===s||i!==i&&s!==s},n.exports=a},{}],3:[function(r,n,o){var a=r("map-or-similar");n.exports=function(u){var d=new a(!1),p=[];return function(h){var f=_(function(){var m=d,g,y,b=arguments.length-1,v=Array(b+1),S=!0,x;if((f.numArgs||f.numArgs===0)&&f.numArgs!==b+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(x=0;x<b;x++){if(v[x]={cacheItem:m,arg:arguments[x]},m.has(arguments[x])){m=m.get(arguments[x]);continue}S=!1,g=new a(!1),m.set(arguments[x],g),m=g}return S&&(m.has(arguments[b])?y=m.get(arguments[b]):S=!1),S||(y=h.apply(null,arguments),m.set(arguments[b],y)),u>0&&(v[b]={cacheItem:m,arg:arguments[b]},S?i(p,v):p.push(v),p.length>u&&s(p.shift())),f.wasMemoized=S,f.numArgs=b+1,y},"memoizerific");return f.limit=u,f.wasMemoized=!1,f.cache=d,f.lru=p,f}};function i(u,d){var p=u.length,h=d.length,f,m,g;for(m=0;m<p;m++){for(f=!0,g=0;g<h;g++)if(!c(u[m][g].arg,d[g].arg)){f=!1;break}if(f)break}u.push(u.splice(m,1)[0])}_(i,"moveToMostRecentLru");function s(u){var d=u.length,p=u[d-1],h,f;for(p.cacheItem.delete(p.arg),f=d-2;f>=0&&(p=u[f],h=p.cacheItem.get(p.arg),!h||!h.size);f--)p.cacheItem.delete(p.arg)}_(s,"removeCachedResult");function c(u,d){return u===d||u!==u&&d!==d}_(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),P$=at(e=>{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}_(n,"encodeString")}),lb=at(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=P$(),r=_(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=_(a=>a instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=_(a=>a,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),O$=at(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=lb(),r=P$();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}_(n,"isPrototypeKey");function o(p,h,f,m,g){if(n(h))return p;let y=p[h];return typeof y=="object"&&y!==null?y:!m&&(g||typeof f=="number"||typeof f=="string"&&f*0===0&&f.indexOf(".")===-1)?p[h]=[]:p[h]={}}_(o,"getDeepObject");var a=20,i="[]",s="[",c="]",u=".";function d(p,h,f=0,m,g){let{nestingSyntax:y=t.defaultOptions.nestingSyntax,arrayRepeat:b=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:v=t.defaultOptions.arrayRepeatSyntax,nesting:S=t.defaultOptions.nesting,delimiter:x=t.defaultOptions.delimiter,valueSerializer:P=t.defaultOptions.valueSerializer,shouldSerializeObject:C=t.defaultOptions.shouldSerializeObject}=h,w=typeof x=="number"?String.fromCharCode(x):x,E=g===!0&&b,A=y==="dot"||y==="js"&&!g;if(f>a)return"";let k="",j=!0,L=!1;for(let F in p){let T=p[F],R;m?(R=m,E?v==="bracket"&&(R+=i):A?(R+=u,R+=F):(R+=s,R+=F,R+=c)):R=F,j||(k+=w),typeof T=="object"&&T!==null&&!C(T)?(L=T.pop!==void 0,(S||b&&L)&&(k+=d(T,h,f+1,R,L))):(k+=(0,r.encodeString)(R),k+="=",k+=P(T,F)),j&&(j=!1)}return k}_(d,"stringifyObject")}),aU=at((e,t)=>{var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function a(c){var u=c.indexOf("%");if(u===-1)return c;for(var d=c.length,p="",h=0,f=0,m=u,g=r;u>-1&&u<d;){var y=s(c[u+1],4),b=s(c[u+2],0),v=y|b,S=o[v];if(g=o[256+g+S],f=f<<6|v&o[364+S],g===r)p+=c.slice(h,m),p+=f<=65535?String.fromCharCode(f):String.fromCharCode(55232+(f>>10),56320+(f&1023)),f=0,h=u+3,u=m=c.indexOf("%",h);else{if(g===n)return null;if(u+=3,u<d&&c.charCodeAt(u)===37)continue;return null}}return p+c.slice(h)}_(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}_(s,"hexCodeToInt"),t.exports=a}),iU=at(e=>{var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var r=O$(),n=lb(),o=t(aU()),a=_(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=a;var i=_(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=i;var s=/\+/g,c=_(function(){},"Empty");c.prototype=Object.create(null);function u(p,h,f,m,g){let y=p.substring(h,f);return m&&(y=y.replace(s," ")),g&&(y=(0,o.default)(y)||y),y}_(u,"computeKeySlice");function d(p,h){let{valueDeserializer:f=n.defaultOptions.valueDeserializer,keyDeserializer:m=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:g=n.defaultOptions.arrayRepeatSyntax,nesting:y=n.defaultOptions.nesting,arrayRepeat:b=n.defaultOptions.arrayRepeat,nestingSyntax:v=n.defaultOptions.nestingSyntax,delimiter:S=n.defaultOptions.delimiter}=h??{},x=typeof S=="string"?S.charCodeAt(0):S,P=v==="js",C=new c;if(typeof p!="string")return C;let w=p.length,E="",A=-1,k=-1,j=-1,L=C,F,T="",R="",N=!1,W=!1,K=!1,ee=!1,re=!1,oe=!1,Y=!1,G=0,J=-1,te=-1,Z=-1;for(let ie=0;ie<w+1;ie++){if(G=ie!==w?p.charCodeAt(ie):x,G===x){if(Y=k>A,Y||(k=ie),j!==k-1&&(R=u(p,j+1,J>-1?J:k,K,N),T=m(R),F!==void 0&&(L=(0,r.getDeepObject)(L,F,T,P&&re,P&&oe))),Y||T!==""){Y&&(E=p.slice(k+1,ie),ee&&(E=E.replace(s," ")),W&&(E=(0,o.default)(E)||E));let le=f(E,T);if(b){let ye=L[T];ye===void 0?J>-1?L[T]=[le]:L[T]=le:ye.pop?ye.push(le):L[T]=[ye,le]}else L[T]=le}E="",A=ie,k=ie,N=!1,W=!1,K=!1,ee=!1,re=!1,oe=!1,J=-1,j=ie,L=C,F=void 0,T=""}else G===93?(b&&g==="bracket"&&Z===91&&(J=te),y&&(v==="index"||P)&&k<=A&&(j!==te&&(R=u(p,j+1,ie,K,N),T=m(R),F!==void 0&&(L=(0,r.getDeepObject)(L,F,T,void 0,P)),F=T,K=!1,N=!1),j=ie,oe=!0,re=!1)):G===46?y&&(v==="dot"||P)&&k<=A&&(j!==te&&(R=u(p,j+1,ie,K,N),T=m(R),F!==void 0&&(L=(0,r.getDeepObject)(L,F,T,P)),F=T,K=!1,N=!1),re=!0,oe=!1,j=ie):G===91?y&&(v==="index"||P)&&k<=A&&(j!==te&&(R=u(p,j+1,ie,K,N),T=m(R),P&&F!==void 0&&(L=(0,r.getDeepObject)(L,F,T,P)),F=T,K=!1,N=!1,re=!1,oe=!0),j=ie):G===61?k<=A?k=ie:W=!0:G===43?k>A?ee=!0:K=!0:G===37&&(k>A?W=!0:N=!0);te=ie,Z=G}return C}_(d,"parse")}),sU=at(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=O$();function r(n,o){if(n===null||typeof n!="object")return"";let a=o??{};return(0,t.stringifyObject)(n,a)}_(r,"stringify")}),ub=at(e=>{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:_(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=iU();Object.defineProperty(e,"parse",{enumerable:!0,get:_(function(){return n.parse},"get")});var o=sU();Object.defineProperty(e,"stringify",{enumerable:!0,get:_(function(){return o.stringify},"get")}),r(lb(),e)}),_$=at((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
412
|
-
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}}),lU=at((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),T$=at((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),uU=at((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}}),cU=at(e=>{var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(uU()),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?"�":(a in r.default&&(a=r.default[a]),n(a))}_(o,"decodeCodePoint"),e.default=o}),dv=at(e=>{var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(_$()),n=t(lU()),o=t(T$()),a=t(cU()),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(h){return String(h).replace(i,p)}}_(s,"getStrictDecoder");var c=_(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),h=0,f=0;h<p.length;h++)d[f]===p[h]?(p[h]+=";?",f++):p[h]+=";";var m=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),g=u(r.default);function y(b){return b.substr(-1)!==";"&&(b+=";"),g(b)}return _(y,"replacer"),function(b){return String(b).replace(m,y)}}();function u(d){return _(function(p){if(p.charAt(1)==="#"){var h=p.charAt(2);return h==="X"||h==="x"?a.default(parseInt(p.substr(3),16)):a.default(parseInt(p.substr(2),10))}return d[p.slice(1,-1)]||p},"replace")}_(u,"getReplacer")}),pv=at(e=>{var t=e&&e.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(T$()),n=c(r.default),o=u(n);e.encodeXML=b(n);var a=t(_$()),i=c(a.default),s=u(i);e.encodeHTML=f(i,s),e.encodeNonAsciiHTML=b(i);function c(v){return Object.keys(v).sort().reduce(function(S,x){return S[v[x]]="&"+x+";",S},{})}_(c,"getInverseObj");function u(v){for(var S=[],x=[],P=0,C=Object.keys(v);P<C.length;P++){var w=C[P];w.length===1?S.push("\\"+w):x.push(w)}S.sort();for(var E=0;E<S.length-1;E++){for(var A=E;A<S.length-1&&S[A].charCodeAt(1)+1===S[A+1].charCodeAt(1);)A+=1;var k=1+A-E;k<3||S.splice(E,k,S[E]+"-"+S[A])}return x.unshift("["+S.join("")+"]"),new RegExp(x.join("|"),"g")}_(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(v){return v.codePointAt(0)}:function(v){return(v.charCodeAt(0)-55296)*1024+v.charCodeAt(1)-56320+65536};function h(v){return"&#x"+(v.length>1?p(v):v.charCodeAt(0)).toString(16).toUpperCase()+";"}_(h,"singleCharReplacer");function f(v,S){return function(x){return x.replace(S,function(P){return v[P]}).replace(d,h)}}_(f,"getInverse");var m=new RegExp(o.source+"|"+d.source,"g");function g(v){return v.replace(m,h)}_(g,"escape"),e.escape=g;function y(v){return v.replace(o,h)}_(y,"escapeUTF8"),e.escapeUTF8=y;function b(v){return function(S){return S.replace(m,function(x){return v[x]||h(x)})}}_(b,"getASCIIEncoder")}),dU=at(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=dv(),r=pv();function n(c,u){return(!u||u<=0?t.decodeXML:t.decodeHTML)(c)}_(n,"decode"),e.decode=n;function o(c,u){return(!u||u<=0?t.decodeXML:t.decodeHTMLStrict)(c)}_(o,"decodeStrict"),e.decodeStrict=o;function a(c,u){return(!u||u<=0?r.encodeXML:r.encodeHTML)(c)}_(a,"encode"),e.encode=a;var i=pv();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:_(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:_(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:_(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:_(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:_(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:_(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:_(function(){return i.encodeHTML},"get")});var s=dv();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:_(function(){return s.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:_(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:_(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:_(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:_(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:_(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:_(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:_(function(){return s.decodeXML},"get")})}),pU=at((e,t)=>{function r(T,R){if(!(T instanceof R))throw new TypeError("Cannot call a class as a function")}_(r,"_classCallCheck");function n(T,R){for(var N=0;N<R.length;N++){var W=R[N];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(T,W.key,W)}}_(n,"_defineProperties");function o(T,R,N){return R&&n(T.prototype,R),N&&n(T,N),T}_(o,"_createClass");function a(T,R){var N=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!N){if(Array.isArray(T)||(N=i(T))||R&&T&&typeof T.length=="number"){N&&(T=N);var W=0,K=_(function(){},"F");return{s:K,n:_(function(){return W>=T.length?{done:!0}:{done:!1,value:T[W++]}},"n"),e:_(function(Y){throw Y},"e"),f:K}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
413
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ee=!0,re=!1,oe;return{s:_(function(){N=N.call(T)},"s"),n:_(function(){var Y=N.next();return ee=Y.done,Y},"n"),e:_(function(Y){re=!0,oe=Y},"e"),f:_(function(){try{!ee&&N.return!=null&&N.return()}finally{if(re)throw oe}},"f")}}_(a,"_createForOfIteratorHelper");function i(T,R){if(T){if(typeof T=="string")return s(T,R);var N=Object.prototype.toString.call(T).slice(8,-1);if(N==="Object"&&T.constructor&&(N=T.constructor.name),N==="Map"||N==="Set")return Array.from(T);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return s(T,R)}}_(i,"_unsupportedIterableToArray");function s(T,R){(R==null||R>T.length)&&(R=T.length);for(var N=0,W=new Array(R);N<R;N++)W[N]=T[N];return W}_(s,"_arrayLikeToArray");var c=dU(),u={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:d()};function d(){var T={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return v(0,5).forEach(function(R){v(0,5).forEach(function(N){v(0,5).forEach(function(W){return p(R,N,W,T)})})}),v(0,23).forEach(function(R){var N=R+232,W=h(R*10+8);T[N]="#"+W+W+W}),T}_(d,"getDefaultColors");function p(T,R,N,W){var K=16+T*36+R*6+N,ee=T>0?T*40+55:0,re=R>0?R*40+55:0,oe=N>0?N*40+55:0;W[K]=f([ee,re,oe])}_(p,"setStyleColor");function h(T){for(var R=T.toString(16);R.length<2;)R="0"+R;return R}_(h,"toHexString");function f(T){var R=[],N=a(T),W;try{for(N.s();!(W=N.n()).done;){var K=W.value;R.push(h(K))}}catch(ee){N.e(ee)}finally{N.f()}return"#"+R.join("")}_(f,"toColorHexString");function m(T,R,N,W){var K;return R==="text"?K=P(N,W):R==="display"?K=y(T,N,W):R==="xterm256Foreground"?K=E(T,W.colors[N]):R==="xterm256Background"?K=A(T,W.colors[N]):R==="rgb"&&(K=g(T,N)),K}_(m,"generateOutput");function g(T,R){R=R.substring(2).slice(0,-1);var N=+R.substr(0,2),W=R.substring(5).split(";"),K=W.map(function(ee){return("0"+Number(ee).toString(16)).substr(-2)}).join("");return w(T,(N===38?"color:#":"background-color:#")+K)}_(g,"handleRgb");function y(T,R,N){R=parseInt(R,10);var W={"-1":_(function(){return"<br/>"},"_"),0:_(function(){return T.length&&b(T)},"_"),1:_(function(){return C(T,"b")},"_"),3:_(function(){return C(T,"i")},"_"),4:_(function(){return C(T,"u")},"_"),8:_(function(){return w(T,"display:none")},"_"),9:_(function(){return C(T,"strike")},"_"),22:_(function(){return w(T,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:_(function(){return k(T,"i")},"_"),24:_(function(){return k(T,"u")},"_"),39:_(function(){return E(T,N.fg)},"_"),49:_(function(){return A(T,N.bg)},"_"),53:_(function(){return w(T,"text-decoration:overline")},"_")},K;return W[R]?K=W[R]():4<R&&R<7?K=C(T,"blink"):29<R&&R<38?K=E(T,N.colors[R-30]):39<R&&R<48?K=A(T,N.colors[R-40]):89<R&&R<98?K=E(T,N.colors[8+(R-90)]):99<R&&R<108&&(K=A(T,N.colors[8+(R-100)])),K}_(y,"handleDisplay");function b(T){var R=T.slice(0);return T.length=0,R.reverse().map(function(N){return"</"+N+">"}).join("")}_(b,"resetStyles");function v(T,R){for(var N=[],W=T;W<=R;W++)N.push(W);return N}_(v,"range");function S(T){return function(R){return(T===null||R.category!==T)&&T!=="all"}}_(S,"notCategory");function x(T){T=parseInt(T,10);var R=null;return T===0?R="all":T===1?R="bold":2<T&&T<5?R="underline":4<T&&T<7?R="blink":T===8?R="hide":T===9?R="strike":29<T&&T<38||T===39||89<T&&T<98?R="foreground-color":(39<T&&T<48||T===49||99<T&&T<108)&&(R="background-color"),R}_(x,"categoryForCode");function P(T,R){return R.escapeXML?c.encodeXML(T):T}_(P,"pushText");function C(T,R,N){return N||(N=""),T.push(R),"<".concat(R).concat(N?' style="'.concat(N,'"'):"",">")}_(C,"pushTag");function w(T,R){return C(T,"span",R)}_(w,"pushStyle");function E(T,R){return C(T,"span","color:"+R)}_(E,"pushForegroundColor");function A(T,R){return C(T,"span","background-color:"+R)}_(A,"pushBackgroundColor");function k(T,R){var N;if(T.slice(-1)[0]===R&&(N=T.pop()),N)return"</"+R+">"}_(k,"closeTag");function j(T,R,N){var W=!1,K=3;function ee(){return""}_(ee,"remove");function re(se,ue){return N("xterm256Foreground",ue),""}_(re,"removeXterm256Foreground");function oe(se,ue){return N("xterm256Background",ue),""}_(oe,"removeXterm256Background");function Y(se){return R.newline?N("display",-1):N("text",se),""}_(Y,"newline");function G(se,ue){W=!0,ue.trim().length===0&&(ue="0"),ue=ue.trimRight(";").split(";");var ce=a(ue),Te;try{for(ce.s();!(Te=ce.n()).done;){var Ze=Te.value;N("display",Ze)}}catch(Ut){ce.e(Ut)}finally{ce.f()}return""}_(G,"ansiMess");function J(se){return N("text",se),""}_(J,"realText");function te(se){return N("rgb",se),""}_(te,"rgb");var Z=[{pattern:/^\x08+/,sub:ee},{pattern:/^\x1b\[[012]?K/,sub:ee},{pattern:/^\x1b\[\(B/,sub:ee},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:te},{pattern:/^\x1b\[38;5;(\d+)m/,sub:re},{pattern:/^\x1b\[48;5;(\d+)m/,sub:oe},{pattern:/^\n/,sub:Y},{pattern:/^\r+\n/,sub:Y},{pattern:/^\r/,sub:Y},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:G},{pattern:/^\x1b\[\d?J/,sub:ee},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:ee},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:ee},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:J}];function ie(se,ue){ue>K&&W||(W=!1,T=T.replace(se.pattern,se.sub))}_(ie,"process");var le=[],ye=T,Ae=ye.length;e:for(;Ae>0;){for(var B=0,X=0,ne=Z.length;X<ne;B=++X){var V=Z[B];if(ie(V,B),T.length!==Ae){Ae=T.length;continue e}}if(T.length===Ae)break;le.push(0),Ae=T.length}return le}_(j,"tokenize");function L(T,R,N){return R!=="text"&&(T=T.filter(S(x(N))),T.push({token:R,data:N,category:x(N)})),T}_(L,"updateStickyStack");var F=function(){function T(R){r(this,T),R=R||{},R.colors&&(R.colors=Object.assign({},u.colors,R.colors)),this.options=Object.assign({},u,R),this.stack=[],this.stickyStack=[]}return _(T,"Filter"),o(T,[{key:"toHtml",value:_(function(R){var N=this;R=typeof R=="string"?[R]:R;var W=this.stack,K=this.options,ee=[];return this.stickyStack.forEach(function(re){var oe=m(W,re.token,re.data,K);oe&&ee.push(oe)}),j(R.join(""),K,function(re,oe){var Y=m(W,re,oe,K);Y&&ee.push(Y),K.stream&&(N.stickyStack=L(N.stickyStack,re,oe))}),W.length&&ee.push(b(W)),ee.join("")},"toHtml")}]),T}();t.exports=F});function $$(){let e={setHandler:_(()=>{},"setHandler"),send:_(()=>{},"send")};return new k0({transport:e})}_($$,"mockChannel");var R$=class{constructor(){this.getChannel=_(()=>{if(!this.channel){let t=$$();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=_(()=>this.promise,"ready"),this.hasChannel=_(()=>!!this.channel,"hasChannel"),this.setChannel=_(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};_(R$,"AddonStore");var fU=R$,Pc="__STORYBOOK_ADDONS_PREVIEW";function j$(){return ae[Pc]||(ae[Pc]=new fU),ae[Pc]}_(j$,"getAddonsStore");var wt=j$();function hU(e){return e}_(hU,"definePreview");var q$=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=_(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(),wt.getChannel().on(Vi,this.renderListener)}removeRenderListeners(){wt.getChannel().removeListener(Vi,this.renderListener)}};_(q$,"HooksContext");var M$=q$;function Fp(e){let t=_((...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=ae.STORYBOOK_HOOKS_CONTEXT;ae.STORYBOOK_HOOKS_CONTEXT=n;let u=e(...r);if(ae.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}_(Fp,"hookify");var Oc=0,mU=25,gU=_(e=>(t,r)=>{let n=e(Fp(t),r.map(o=>Fp(o)));return o=>{let{hooks:a}=o;a.prevMountedDecorators??(a.prevMountedDecorators=new Set),a.mountedDecorators=new Set([t,...r]),a.currentContext=o,a.hasUpdates=!1;let i=n(o);for(Oc=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=n(o),Oc+=1,Oc>mU)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks"),bU=_((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),cb=_(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function db(){return ae.STORYBOOK_HOOKS_CONTEXT||null}_(db,"getHooksContextOrNull");function _u(){let e=db();if(e==null)throw cb();return e}_(_u,"getHooksContextOrThrow");function k$(e,t,r){let n=_u();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&Me.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&&Me.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&&Me.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&&Me.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
414
|
-
Previous: ${o.deps}
|
|
415
|
-
Incoming: ${r}`),(r==null||o.deps==null||!bU(r,o.deps))&&(t(o),o.deps=r),o}throw cb()}_(k$,"useHook");function fi(e,t,r){let{memoizedState:n}=k$(e,o=>{o.memoizedState=t()},r);return n}_(fi,"useMemoLike");function I$(e,t){return fi("useMemo",e,t)}_(I$,"useMemo");function za(e,t){return fi("useCallback",()=>e,t)}_(za,"useCallback");function pb(e,t){return fi(e,()=>({current:t}),[])}_(pb,"useRefLike");function yU(e){return pb("useRef",e)}_(yU,"useRef");function N$(){let e=db();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{wt.getChannel().emit(sf)}catch{Me.warn("State updates of Storybook preview hooks work only in browser")}}_(N$,"triggerUpdate");function fb(e,t){let r=pb(e,typeof t=="function"?t():t),n=_(o=>{r.current=typeof o=="function"?o(r.current):o,N$()},"setState");return[r.current,n]}_(fb,"useStateLike");function Lp(e){return fb("useState",e)}_(Lp,"useState");function vU(e,t,r){let n=r!=null?()=>r(t):t,[o,a]=fb("useReducer",n);return[o,_(i=>a(s=>e(s,i)),"dispatch")]}_(vU,"useReducer");function Pn(e,t){let r=_u(),n=fi("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}_(Pn,"useEffect");function wU(e,t=[]){let r=wt.getChannel();return Pn(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),za(r.emit.bind(r),[r])}_(wU,"useChannel");function Tu(){let{currentContext:e}=_u();if(e==null)throw cb();return e}_(Tu,"useStoryContext");function EU(e,t){let{parameters:r}=Tu();if(e)return r[e]??t}_(EU,"useParameter");function CU(){let e=wt.getChannel(),{id:t,args:r}=Tu(),n=za(a=>e.emit(df,{storyId:t,updatedArgs:a}),[e,t]),o=za(a=>e.emit(lf,{storyId:t,argNames:a}),[e,t]);return[r,n,o]}_(CU,"useArgs");function xU(){let e=wt.getChannel(),{globals:t}=Tu(),r=za(n=>e.emit(cf,{globals:n}),[e]);return[t,r]}_(xU,"useGlobals");function D$(){}_(D$,"noop");function Bp(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}_(Bp,"getSymbols");function Hp(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}_(Hp,"getTag");var SU="[object RegExp]",AU="[object String]",PU="[object Number]",OU="[object Boolean]",fv="[object Arguments]",_U="[object Symbol]",TU="[object Date]",$U="[object Map]",RU="[object Set]",jU="[object Array]",qU="[object Function]",MU="[object ArrayBuffer]",_c="[object Object]",kU="[object Error]",IU="[object DataView]",NU="[object Uint8Array]",DU="[object Uint8ClampedArray]",FU="[object Uint16Array]",LU="[object Uint32Array]",BU="[object BigUint64Array]",HU="[object Int8Array]",UU="[object Int16Array]",VU="[object Int32Array]",zU="[object BigInt64Array]",WU="[object Float32Array]",GU="[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}_(Lt,"isPlainObject");function Ao(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}_(Ao,"mapValues");function F$(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$,"pickBy");function L$(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}_(L$,"eq");function B$(e,t,r){return Zn(e,t,void 0,void 0,void 0,void 0,r)}_(B$,"isEqualWith");function Zn(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 oo(e,t,a,i)}return oo(e,t,a,i)}_(Zn,"isEqualWithImpl");function oo(e,t,r,n){if(Object.is(e,t))return!0;let o=Hp(e),a=Hp(t);if(o===fv&&(o=_c),a===fv&&(a=_c),o!==a)return!1;switch(o){case AU:return e.toString()===t.toString();case PU:{let c=e.valueOf(),u=t.valueOf();return L$(c,u)}case OU:case TU:case _U:return Object.is(e.valueOf(),t.valueOf());case SU:return e.source===t.source&&e.flags===t.flags;case qU:return e===t}r=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 $U:{if(e.size!==t.size)return!1;for(let[c,u]of e.entries())if(!t.has(c)||!Zn(u,t.get(c),c,e,t,r,n))return!1;return!0}case RU:{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],h=u.findIndex(f=>Zn(p,f,void 0,e,t,r,n));if(h===-1)return!1;u.splice(h,1)}return!0}case jU:case NU:case DU:case FU:case LU:case BU:case HU:case UU:case VU:case zU:case WU:case GU:{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(!Zn(e[c],t[c],c,e,t,r,n))return!1;return!0}case MU:return e.byteLength!==t.byteLength?!1:oo(new Uint8Array(e),new Uint8Array(t),r,n);case IU:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:oo(new Uint8Array(e),new Uint8Array(t),r,n);case kU:return e.name===t.name&&e.message===t.message;case _c:{if(!(oo(e.constructor,t.constructor,r,n)||Lt(e)&&Lt(t)))return!1;let c=[...Object.keys(e),...Bp(e)],u=[...Object.keys(t),...Bp(t)];if(c.length!==u.length)return!1;for(let d=0;d<c.length;d++){let p=c[d],h=e[p];if(!Object.hasOwn(t,p))return!1;let f=t[p];if(!Zn(h,f,p,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}_(oo,"areObjectsEqual");function H$(e,t){return B$(e,t,D$)}_(H$,"isEqual");var Tc=Ho(A$()),U$={};S$(U$,{argsEnhancers:()=>tV});var KU="storybook/actions",YU=`${KU}/action-event`,XU={depth:10,clearOnStoryChange:!0,limit:50},V$=_((e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:V$(r,t)},"findProto"),JU=_(e=>!!(typeof e=="object"&&e&&V$(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),"isReactSyntheticEvent"),ZU=_(e=>{if(JU(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 $u(e,t={}){let r={...XU,...t},n=_(function(...o){var p,h;if(t.implicit){let f=(p="__STORYBOOK_PREVIEW__"in ae?ae.__STORYBOOK_PREVIEW__:void 0)==null?void 0:p.storyRenders.find(m=>m.phase==="playing"||m.phase==="rendering");if(f){let m=!((h=globalThis==null?void 0:globalThis.FEATURES)!=null&&h.disallowImplicitActionsInRenderV8),g=new H5({phase:f.phase,name:e,deprecated:m});if(m)console.warn(g);else throw g}}let a=wt.getChannel(),i=Date.now().toString(36)+Math.random().toString(36).substring(2),s=5,c=o.map(ZU),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(YU,d)},"actionHandler");return n.isAction=!0,n.implicit=t.implicit,n}_($u,"action");var z$=_((e,t)=>typeof t[e]>"u"&&!(e in t),"isInInitialArgs"),QU=_(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])=>(z$(s,t)&&(i[s]=$u(s,{implicit:!0,id:n})),i),{})},"inferActionsFromArgTypesRegex"),eV=_(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])=>(z$(a,t)&&(o[a]=$u(typeof i.action=="string"?i.action:a)),o),{})},"addActionsFromArgTypes"),tV=[eV,QU],W$={};S$(W$,{loaders:()=>nV});var hv=!1,rV=_(e=>{var r;let{parameters:t}=e;(r=t==null?void 0:t.actions)!=null&&r.disable||hv||(SA((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)))&&$u(a)(o)}),hv=!0)},"logActionsWhenMockCalled"),nV=[rV],mv=_(()=>({...U$,...W$}),"default"),Bs="backgrounds",oV={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:Nt}=globalThis,aV=_(()=>{var e;return globalThis!=null&&globalThis.matchMedia?!!((e=globalThis.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&e.matches):!1},"isReduceMotionEnabled"),gv=_(e=>{(Array.isArray(e)?e:[e]).forEach(iV)},"clearStyles"),iV=_(e=>{if(!Nt)return;let t=Nt.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},"clearStyle"),sV=_((e,t)=>{if(!Nt)return;let r=Nt.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=Nt.createElement("style");n.setAttribute("id",e),n.innerHTML=t,Nt.head.appendChild(n)}},"addGridStyle"),lV=_((e,t,r)=>{var o;if(!Nt)return;let n=Nt.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let a=Nt.createElement("style");a.setAttribute("id",e),a.innerHTML=t;let i=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,s=Nt.getElementById(i);s?(o=s.parentElement)==null||o.insertBefore(a,s):Nt.head.appendChild(a)}},"addBackgroundStyle"),uV={cellSize:100,cellAmount:10,opacity:.8},bv="addon-backgrounds",yv="addon-backgrounds-grid",cV=aV()?"":"transition: background-color 0.3s;",dV=_((e,t)=>{let{globals:r={},parameters:n={},viewMode:o,id:a}=t,{options:i=oV,disable:s,grid:c=uV}=n[Bs]||{},u=r[Bs]||{},d=typeof u=="string"?u:u==null?void 0:u.value,p=d?i[d]:void 0,h=typeof p=="string"?p:(p==null?void 0:p.value)||"transparent",f=typeof u=="string"?!1:u.grid||!1,m=!!p&&!s,g=o==="docs"?`#anchor--${a} .docs-story`:".sb-show-main",y=o==="docs"?`#anchor--${a} .docs-story`:".sb-show-main",b=n.layout===void 0||n.layout==="padded",v=o==="docs"?20:b?16:0,{cellAmount:S,cellSize:x,opacity:P,offsetX:C=v,offsetY:w=v}=c,E=o==="docs"?`${bv}-docs-${a}`:`${bv}-color`,A=o==="docs"?a:null;Pn(()=>{let j=`
|
|
416
|
-
${g} {
|
|
417
|
-
background: ${h} !important;
|
|
418
|
-
${cV}
|
|
419
|
-
}`;if(!m){gv(E);return}lV(E,j,A)},[g,E,A,m,h]);let k=o==="docs"?`${yv}-docs-${a}`:`${yv}`;return Pn(()=>{if(!f){gv(k);return}let j=[`${x*S}px ${x*S}px`,`${x*S}px ${x*S}px`,`${x}px ${x}px`,`${x}px ${x}px`].join(", "),L=`
|
|
420
|
-
${y} {
|
|
421
|
-
background-size: ${j} !important;
|
|
422
|
-
background-position: ${C}px ${w}px, ${C}px ${w}px, ${C}px ${w}px, ${C}px ${w}px !important;
|
|
423
|
-
background-blend-mode: difference !important;
|
|
424
|
-
background-image: linear-gradient(rgba(130, 130, 130, ${P}) 1px, transparent 1px),
|
|
425
|
-
linear-gradient(90deg, rgba(130, 130, 130, ${P}) 1px, transparent 1px),
|
|
426
|
-
linear-gradient(rgba(130, 130, 130, ${P/2}) 1px, transparent 1px),
|
|
427
|
-
linear-gradient(90deg, rgba(130, 130, 130, ${P/2}) 1px, transparent 1px) !important;
|
|
428
|
-
}
|
|
429
|
-
`;sV(k,L)},[S,x,y,k,f,C,w,P]),e()},"withBackgroundAndGrid"),Qv,pV=(Qv=globalThis.FEATURES)!=null&&Qv.backgrounds?[dV]:[],fV={[Bs]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},hV={[Bs]:{value:void 0,grid:!1}},vv=_(()=>({decorators:pV,parameters:fV,initialGlobals:hV}),"default"),{step:mV}=$o({step:_(async(e,t,r)=>t(r),"step")},{intercept:!0}),wv=_(()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:mV}),"default"),Ru="storybook/highlight",gV=`${Ru}/add`,bV=`${Ru}/remove`,yV=`${Ru}/reset`,vV=`${Ru}/scroll-into-view`,Ev=2147483647,Nr=28,Cv={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"]},wV="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),ze=_((e,t={},r)=>{let n=wV.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{n.appendChild(document.createTextNode(String(o)))}}),n},"createElement"),Ei=_(e=>Cv[e]&&ze("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},Cv[e].map(t=>ze("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),"createIcon"),EV=_(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"),CV=_(e=>e instanceof Function,"isFunction"),Jo=new Map,Qr=new Map,Ci=new Map,sr=_(e=>{let t=Symbol();return Qr.set(t,[]),Jo.set(t,e),{get:_(()=>Jo.get(t),"get"),set:_(r=>{var a;let n=Jo.get(t),o=CV(r)?r(n):r;o!==n&&(Jo.set(t,o),(a=Qr.get(t))==null||a.forEach(i=>{var s;(s=Ci.get(i))==null||s(),Ci.set(i,i(o))}))},"set"),subscribe:_(r=>{var n;return(n=Qr.get(t))==null||n.push(r),()=>{let o=Qr.get(t);o&&Qr.set(t,o.filter(a=>a!==r))}},"subscribe"),teardown:_(()=>{var r;(r=Qr.get(t))==null||r.forEach(n=>{var o;(o=Ci.get(n))==null||o(),Ci.delete(n)}),Qr.delete(t),Jo.delete(t)},"teardown")}},"useStore"),xv=_(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"),xV=_(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"),Sv=_((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"),Av=_((e,t,r)=>{if(!t||!r)return!1;let{left:n,top:o,width:a,height:i}=e;i<Nr&&(o=o-Math.round((Nr-i)/2),i=Nr),a<Nr&&(n=n-Math.round((Nr-a)/2),a=Nr),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"),SV=_((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,h=Math.min(e.style.position==="fixed"?o-u:o,d-e.clientHeight-a-i+u),f=s?e.clientWidth/2:0,m=e.style.position==="fixed"?Math.max(Math.min(n-c,p-f-a),f+a):Math.max(Math.min(n,p-f-a+c),f+a+c);Object.assign(e.style,{...m!==n&&{left:`${m}px`},...h!==o&&{top:`${h}px`}})},"keepInViewport"),Pv=_(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},"showPopover"),AV=_(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},"hidePopover"),PV=_(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"),$e="storybook-highlights-menu",Ov="storybook-highlights-root",OV="storybook-root",_V=_(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=sr([]),n=sr(new Map),o=sr([]),a=sr(),i=sr(),s=sr([]),c=sr([]),u=sr(),d=sr(),p=t.getElementById(Ov);r.subscribe(()=>{p||(p=ze("div",{id:Ov}),t.body.appendChild(p))}),r.subscribe(w=>{let E=t.getElementById(OV);if(!E)return;n.set(xv(w));let A=new MutationObserver(()=>n.set(xv(w)));return A.observe(E,{subtree:!0,childList:!0}),()=>{A.disconnect()}}),n.subscribe(w=>{let E=_(()=>requestAnimationFrame(()=>o.set(xV(w))),"updateBoxes"),A=new ResizeObserver(E);A.observe(t.body),Array.from(w.keys()).forEach(j=>A.observe(j));let k=Array.from(t.body.querySelectorAll("*")).filter(j=>{let{overflow:L,overflowX:F,overflowY:T}=window.getComputedStyle(j);return["auto","scroll"].some(R=>[L,F,T].includes(R))});return k.forEach(j=>j.addEventListener("scroll",E)),()=>{A.disconnect(),k.forEach(j=>j.removeEventListener("scroll",E))}}),n.subscribe(w=>{let E=Array.from(w.keys()).filter(({style:k})=>k.position==="sticky"),A=_(()=>requestAnimationFrame(()=>{o.set(k=>k.map(j=>{if(E.includes(j.element)){let{top:L,left:F}=j.element.getBoundingClientRect();return{...j,top:L+window.scrollY,left:F+window.scrollX}}return j}))}),"updateBoxes");return t.addEventListener("scroll",A),()=>t.removeEventListener("scroll",A)}),n.subscribe(w=>{s.set(E=>E.filter(({element:A})=>w.has(A)))}),s.subscribe(w=>{w.length?(d.set(E=>w.some(A=>A.element===(E==null?void 0:E.element))?E:void 0),u.set(E=>w.some(A=>A.element===(E==null?void 0:E.element))?E:void 0)):(d.set(void 0),u.set(void 0),a.set(void 0))});let h=new Map(new Map);r.subscribe(w=>{w.forEach(({keyframes:E})=>{if(E){let A=h.get(E);A||(A=t.createElement("style"),A.setAttribute("data-highlight","keyframes"),h.set(E,A),t.head.appendChild(A)),A.innerHTML=E}}),h.forEach((E,A)=>{w.some(k=>k.keyframes===A)||(E.remove(),h.delete(A))})});let f=new Map(new Map);o.subscribe(w=>{w.forEach(E=>{let A=f.get(E.element);if(p&&!A){let k={popover:"manual","data-highlight-dimensions":`w${E.width.toFixed(0)}h${E.height.toFixed(0)}`,"data-highlight-coordinates":`x${E.left.toFixed(0)}y${E.top.toFixed(0)}`};A=p.appendChild(ze("div",k,[ze("div")])),f.set(E.element,A)}}),f.forEach((E,A)=>{w.some(({element:k})=>k===A)||(E.remove(),f.delete(A))})}),o.subscribe(w=>{let E=w.filter(k=>k.menu);if(!E.length)return;let A=_(k=>{requestAnimationFrame(()=>{let j=t.getElementById($e),L={x:k.pageX,y:k.pageY};if(j&&!Sv(j,L)){let F=E.filter(T=>{let R=f.get(T.element);return Av(T,R,L)});a.set(F.length?L:void 0),s.set(F)}})},"onClick");return t.addEventListener("click",A),()=>t.removeEventListener("click",A)});let m=_(()=>{let w=t.getElementById($e),E=i.get();!E||w&&Sv(w,E)||c.set(A=>{let k=o.get().filter(T=>{let R=f.get(T.element);return Av(T,R,E)}),j=A.filter(T=>k.includes(T)),L=k.filter(T=>!A.includes(T)),F=A.length-j.length;return L.length||F?[...j,...L]:A})},"updateHovered");i.subscribe(m),o.subscribe(m);let g=_(()=>{let w=d.get(),E=w?[w]:s.get(),A=E.length===1?E[0]:u.get(),k=a.get()!==void 0;o.get().forEach(j=>{var F;let L=f.get(j.element);if(L){let T=A===j,R=k?A?T:E.includes(j):(F=c.get())==null?void 0:F.includes(j);Object.assign(L.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...j.styles,...R?j.hoverStyles:{},...T?j.focusStyles:{},position:getComputedStyle(j.element).position==="fixed"?"fixed":"absolute",zIndex:Ev-10,top:`${j.top}px`,left:`${j.left}px`,width:`${j.width}px`,height:`${j.height}px`,margin:0,padding:0,cursor:j.menu&&R?"pointer":"default",pointerEvents:j.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(L.children[0].style,{width:"100%",height:"100%",minHeight:`${Nr}px`,minWidth:`${Nr}px`,boxSizing:"content-box",padding:L.style.outlineWidth||"0px"}),Pv(L)}})},"updateBoxStyles");o.subscribe(g),s.subscribe(g),c.subscribe(g),u.subscribe(g),d.subscribe(g);let y=_(()=>{var j;if(!p)return;let w=t.getElementById($e);if(w)w.innerHTML="";else{let L={id:$e,popover:"manual"};w=p.appendChild(ze("div",L)),p.appendChild(ze("style",{},[`
|
|
430
|
-
#${$e} {
|
|
431
|
-
position: absolute;
|
|
432
|
-
z-index: ${Ev};
|
|
433
|
-
width: 300px;
|
|
434
|
-
padding: 0px;
|
|
435
|
-
margin: 15px 0 0 0;
|
|
436
|
-
transform: translateX(-50%);
|
|
437
|
-
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
438
|
-
font-size: 12px;
|
|
439
|
-
background: white;
|
|
440
|
-
border: none;
|
|
441
|
-
border-radius: 6px;
|
|
442
|
-
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
|
|
443
|
-
color: #2E3438;
|
|
444
|
-
}
|
|
445
|
-
#${$e} ul {
|
|
446
|
-
list-style: none;
|
|
447
|
-
margin: 0;
|
|
448
|
-
padding: 0;
|
|
449
|
-
}
|
|
450
|
-
#${$e} > ul {
|
|
451
|
-
max-height: 300px;
|
|
452
|
-
overflow-y: auto;
|
|
453
|
-
padding: 4px 0;
|
|
454
|
-
}
|
|
455
|
-
#${$e} li {
|
|
456
|
-
padding: 0 4px;
|
|
457
|
-
margin: 0;
|
|
458
|
-
}
|
|
459
|
-
#${$e} li > :not(ul) {
|
|
460
|
-
display: flex;
|
|
461
|
-
padding: 8px;
|
|
462
|
-
margin: 0;
|
|
463
|
-
align-items: center;
|
|
464
|
-
gap: 8px;
|
|
465
|
-
border-radius: 4px;
|
|
466
|
-
}
|
|
467
|
-
#${$e} button {
|
|
468
|
-
width: 100%;
|
|
469
|
-
border: 0;
|
|
470
|
-
background: transparent;
|
|
471
|
-
color: inherit;
|
|
472
|
-
text-align: left;
|
|
473
|
-
font-family: inherit;
|
|
474
|
-
font-size: inherit;
|
|
475
|
-
}
|
|
476
|
-
#${$e} button:focus-visible {
|
|
477
|
-
outline-color: #029CFD;
|
|
478
|
-
}
|
|
479
|
-
#${$e} button:hover {
|
|
480
|
-
background: rgba(2, 156, 253, 0.07);
|
|
481
|
-
color: #029CFD;
|
|
482
|
-
cursor: pointer;
|
|
483
|
-
}
|
|
484
|
-
#${$e} li code {
|
|
485
|
-
white-space: nowrap;
|
|
486
|
-
overflow: hidden;
|
|
487
|
-
text-overflow: ellipsis;
|
|
488
|
-
line-height: 16px;
|
|
489
|
-
font-size: 11px;
|
|
490
|
-
}
|
|
491
|
-
#${$e} li svg {
|
|
492
|
-
flex-shrink: 0;
|
|
493
|
-
margin: 1px;
|
|
494
|
-
color: #73828C;
|
|
495
|
-
}
|
|
496
|
-
#${$e} li > button:hover svg, #${$e} li > button:focus-visible svg {
|
|
497
|
-
color: #029CFD;
|
|
498
|
-
}
|
|
499
|
-
#${$e} .element-list li svg {
|
|
500
|
-
display: none;
|
|
501
|
-
}
|
|
502
|
-
#${$e} li.selectable svg, #${$e} li.selected svg {
|
|
503
|
-
display: block;
|
|
504
|
-
}
|
|
505
|
-
#${$e} .menu-list {
|
|
506
|
-
border-top: 1px solid rgba(38, 85, 115, 0.15);
|
|
507
|
-
}
|
|
508
|
-
#${$e} .menu-list > li:not(:last-child) {
|
|
509
|
-
padding-bottom: 4px;
|
|
510
|
-
margin-bottom: 4px;
|
|
511
|
-
border-bottom: 1px solid rgba(38, 85, 115, 0.15);
|
|
512
|
-
}
|
|
513
|
-
#${$e} .menu-items, #${$e} .menu-items li {
|
|
514
|
-
padding: 0;
|
|
515
|
-
}
|
|
516
|
-
#${$e} .menu-item {
|
|
517
|
-
display: flex;
|
|
518
|
-
}
|
|
519
|
-
#${$e} .menu-item-content {
|
|
520
|
-
display: flex;
|
|
521
|
-
flex-direction: column;
|
|
522
|
-
flex-grow: 1;
|
|
523
|
-
}
|
|
524
|
-
`]))}let E=d.get(),A=E?[E]:s.get();if(A.length&&(w.style.position=getComputedStyle(A[0].element).position==="fixed"?"fixed":"absolute",w.appendChild(ze("ul",{class:"element-list"},A.map(L=>{var N;let F=A.length>1&&!!((N=L.menu)!=null&&N.some(W=>W.some(K=>!K.selectors||K.selectors.some(ee=>L.selectors.includes(ee))))),T=F?{class:"selectable",onClick:_(()=>d.set(L),"onClick"),onMouseEnter:_(()=>u.set(L),"onMouseEnter"),onMouseLeave:_(()=>u.set(void 0),"onMouseLeave")}:E?{class:"selected",onClick:_(()=>d.set(void 0),"onClick")}:{},R=F||E;return ze("li",T,[ze(R?"button":"div",R?{type:"button"}:{},[E?Ei("chevronLeft"):null,ze("code",{},[L.element.outerHTML]),F?Ei("chevronRight"):null])])})))),d.get()||s.get().length===1){let L=d.get()||s.get()[0],F=(j=L.menu)==null?void 0:j.filter(T=>T.some(R=>!R.selectors||R.selectors.some(N=>L.selectors.includes(N))));F!=null&&F.length&&w.appendChild(ze("ul",{class:"menu-list"},F.map(T=>ze("li",{},[ze("ul",{class:"menu-items"},T.map(({id:R,title:N,description:W,iconLeft:K,iconRight:ee,clickEvent:re})=>{let oe=re&&(()=>e.emit(re,R,PV(L)));return ze("li",{},[ze(oe?"button":"div",oe?{class:"menu-item",type:"button",onClick:oe}:{class:"menu-item"},[K?Ei(K):null,ze("div",{class:"menu-item-content"},[ze(W?"strong":"span",{},[N]),W&&ze("span",{},[W])]),ee?Ei(ee):null])])}))]))))}let k=a.get();k?(Object.assign(w.style,{display:"block",left:`${w.style.position==="fixed"?k.x-window.scrollX:k.x}px`,top:`${w.style.position==="fixed"?k.y-window.scrollY:k.y}px`}),Pv(w),requestAnimationFrame(()=>SV(w,k,{topOffset:15,centered:!0}))):(AV(w),Object.assign(w.style,{display:"none"}))},"renderMenu");s.subscribe(y),d.subscribe(y);let b=_(w=>{let E=EV(w);r.set(A=>{var j;let k=E.id?A.filter(L=>L.id!==E.id):A;return(j=E.selectors)!=null&&j.length?[...k,E]:k})},"addHighlight"),v=_(w=>{w&&r.set(E=>E.filter(A=>A.id!==w))},"removeHighlight"),S=_(()=>{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=_((w,E)=>{let A="scrollIntoView-highlight";clearTimeout(x),v(A);let k=t.querySelector(w);if(!k){console.warn(`Cannot scroll into view: ${w} not found`);return}k.scrollIntoView({behavior:"smooth",block:"center",...E});let j=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(L=>[...L,{id:A,priority:1e3,selectors:[w],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${j} 3s linear forwards`},keyframes:`@keyframes ${j} {
|
|
525
|
-
0% { outline: 2px solid #1EA7FD; }
|
|
526
|
-
20% { outline: 2px solid #1EA7FD00; }
|
|
527
|
-
40% { outline: 2px solid #1EA7FD; }
|
|
528
|
-
60% { outline: 2px solid #1EA7FD00; }
|
|
529
|
-
80% { outline: 2px solid #1EA7FD; }
|
|
530
|
-
100% { outline: 2px solid #1EA7FD00; }
|
|
531
|
-
}`}]),x=setTimeout(()=>v(A),3500)},"scrollIntoView"),C=_(w=>{requestAnimationFrame(()=>i.set({x:w.pageX,y:w.pageY}))},"onMouseMove");t.body.addEventListener("mousemove",C),e.on(gV,b),e.on(bV,v),e.on(yV,S),e.on(vV,P),e.on(bn,({newPhase:w})=>{w==="loading"&&S()})},"useHighlights"),e0;(e0=globalThis==null?void 0:globalThis.FEATURES)!=null&&e0.highlight&&(wt!=null&&wt.ready)&&wt.ready().then(_V);var _v=_(()=>({}),"default"),TV="measureEnabled",Tv="Invariant failed";function mn(e,t){if(!e){var r=typeof t=="function"?t():t,n=r?"".concat(Tv,": ").concat(r):Tv;throw new Error(n)}}_(mn,"invariant");function hb(){let e=ae.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}_(hb,"getDocumentWidthAndHeight");function G$(){let e=ae.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");mn(t!=null);let{width:r,height:n}=hb();return Hs(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",ae.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}_(G$,"createCanvas");function Hs(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let o=ae.window.devicePixelRatio;e.width=Math.floor(r*o),e.height=Math.floor(n*o),t.scale(o,o)}_(Hs,"setCanvasWidthAndHeight");var We={};function K$(){We.canvas||(We=G$())}_(K$,"init");function mb(){We.context&&We.context.clearRect(0,0,We.width??0,We.height??0)}_(mb,"clear");function Y$(e){mb(),e(We.context)}_(Y$,"draw");function X$(){mn(We.canvas,"Canvas should exist in the state."),mn(We.context,"Context should exist in the state."),Hs(We.canvas,We.context,{width:0,height:0});let{width:e,height:t}=hb();Hs(We.canvas,We.context,{width:e,height:t}),We.width=e,We.height=t}_(X$,"rescale");function J$(){var e;We.canvas&&(mb(),(e=We.canvas.parentNode)==null||e.removeChild(We.canvas),We={})}_(J$,"destroy");var Nn={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},br=6;function Up(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()}_(Up,"roundedRect");function Z$(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}}_(Z$,"positionCoordinate");function Q$(e,t,{margin:r,border:n,padding:o},a,i){let s=_(h=>0,"shift"),c=0,u=0,d=i?1:.5,p=i?a*2:0;return e==="padding"?s=_(h=>o[h]*d+p,"shift"):e==="border"?s=_(h=>o[h]+n[h]*d+p,"shift"):e==="margin"&&(s=_(h=>o[h]+n[h]+r[h]*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}}_(Q$,"offset");function eR(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}_(eR,"collide");function tR(e,t,r){return e==="top"?t.y=r.y-r.h-br:e==="right"?t.x=r.x+r.w/2+br+t.w/2:e==="bottom"?t.y=r.y+r.h+br:e==="left"&&(t.x=r.x-r.w/2-br-t.w/2),{x:t.x,y:t.y}}_(tR,"overlapAdjustment");function gb(e,t,{x:r,y:n,w:o,h:a},i){return Up(e,{x:r,y:n,w:o,h:a,r:3}),e.fillStyle=`${Nn[t]}dd`,e.fill(),e.strokeStyle=Nn[t],e.stroke(),e.fillStyle=Nn.text,e.fillText(i,r,n),Up(e,{x:r,y:n,w:o,h:a,r:3}),e.fillStyle=`${Nn[t]}dd`,e.fill(),e.strokeStyle=Nn[t],e.stroke(),e.fillStyle=Nn.text,e.fillText(i,r,n),{x:r,y:n,w:o,h:a}}_(gb,"textWithRect");function bb(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+br*2,a=n+br*2;return{w:o,h:a}}_(bb,"configureText");function rR(e,t,{type:r,position:n="center",text:o},a,i=!1){let{x:s,y:c}=Z$(n,t),{offsetX:u,offsetY:d}=Q$(r,n,t,br+1,i);s+=u,c+=d;let{w:p,h}=bb(e,o);if(a&&eR({x:s,y:c,w:p,h},a)){let f=tR(n,{x:s,y:c,w:p},a);s=f.x,c=f.y}return gb(e,r,{x:s,y:c,w:p,h},o)}_(rR,"drawLabel");function nR(e,{w:t,h:r}){let n=t*.5+br,o=r*.5+br;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*o}}_(nR,"floatingOffset");function oR(e,t,{type:r,text:n}){let{floatingAlignment:o,extremities:a}=t,i=a[o.x],s=a[o.y],{w:c,h:u}=bb(e,n),{offsetX:d,offsetY:p}=nR(o,{w:c,h:u});return i+=d,s+=p,gb(e,r,{x:i,y:s,w:c,h:u},n)}_(oR,"drawFloatingLabel");function Hn(e,t,r,n){let o=[];r.forEach((a,i)=>{let s=n&&a.position==="center"?oR(e,t,a):rR(e,t,a,o[i-1],n);o[i]=s})}_(Hn,"drawStack");function aR(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&&Hn(e,t,o.top,n),o.right&&Hn(e,t,o.right,n),o.bottom&&Hn(e,t,o.bottom,n),o.left&&Hn(e,t,o.left,n),o.center&&Hn(e,t,o.center,n)}_(aR,"labelStacks");var ju={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},$v=30;function gt(e){return parseInt(e.replace("px",""),10)}_(gt,"pxToNumber");function dn(e){return Number.isInteger(e)?e:e.toFixed(2)}_(dn,"round");function qu(e){return e.filter(t=>t.text!==0&&t.text!=="0")}_(qu,"filterZeroValues");function iR(e){let t={top:ae.window.scrollY,bottom:ae.window.scrollY+ae.window.innerHeight,left:ae.window.scrollX,right:ae.window.scrollX+ae.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"}}_(iR,"floatingAlignment");function sR(e){let t=ae.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:h,paddingBottom:f,paddingLeft:m,paddingRight:g,borderBottomWidth:y,borderTopWidth:b,borderLeftWidth:v,borderRightWidth:S}=t;r=r+ae.window.scrollY,n=n+ae.window.scrollX,a=a+ae.window.scrollY,o=o+ae.window.scrollX;let x={top:gt(c),bottom:gt(u),left:gt(d),right:gt(p)},P={top:gt(h),bottom:gt(f),left:gt(m),right:gt(g)},C={top:gt(b),bottom:gt(y),left:gt(v),right:gt(S)},w={top:r-x.top,bottom:a+x.bottom,left:n-x.left,right:o+x.right};return{margin:x,padding:P,border:C,top:r,left:n,bottom:a,right:o,width:i,height:s,extremities:w,floatingAlignment:iR(w)}}_(sR,"measureElement");function lR(e,{margin:t,width:r,height:n,top:o,left:a,bottom:i,right:s}){let c=n+t.bottom+t.top;e.fillStyle=ju.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:dn(t.top),position:"top"},{type:"margin",text:dn(t.right),position:"right"},{type:"margin",text:dn(t.bottom),position:"bottom"},{type:"margin",text:dn(t.left),position:"left"}];return qu(u)}_(lR,"drawMargin");function uR(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=ju.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 qu(p)}_(uR,"drawPadding");function cR(e,{border:t,width:r,height:n,top:o,left:a,bottom:i,right:s}){let c=n-t.top-t.bottom;e.fillStyle=ju.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 qu(u)}_(cR,"drawBorder");function dR(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=ju.content,e.fillRect(i+r.left+t.left,a+r.top+t.top,s,c),[{type:"content",position:"center",text:`${dn(s)} x ${dn(c)}`}]}_(dR,"drawContent");function pR(e){return t=>{if(e&&t){let r=sR(e),n=lR(t,r),o=uR(t,r),a=cR(t,r),i=dR(t,r),s=r.width<=$v*3||r.height<=$v;aR(t,r,[...i,...o,...a,...n],s)}}}_(pR,"drawBoxModel");function fR(e){Y$(pR(e))}_(fR,"drawSelectedElement");var $V=_((e,t)=>{let r=ae.document.elementFromPoint(e,t),n=_(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"),Rv,xi={x:0,y:0};function Vp(e,t){Rv=$V(e,t),fR(Rv)}_(Vp,"findAndDrawElement");var RV=_((e,t)=>{let{measureEnabled:r}=t.globals||{};return Pn(()=>{if(typeof globalThis.document>"u")return;let n=_(o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),xi.x=o.clientX,xi.y=o.clientY})},"onPointerMove");return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Pn(()=>{let n=_(a=>{window.requestAnimationFrame(()=>{a.stopPropagation(),Vp(a.clientX,a.clientY)})},"onPointerOver"),o=_(()=>{window.requestAnimationFrame(()=>{X$()})},"onResize");return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),K$(),globalThis.window.addEventListener("resize",o),Vp(xi.x,xi.y)),()=>{globalThis.window.removeEventListener("resize",o),J$()}},[r,t.viewMode]),e()},"withMeasure"),t0,jV=(t0=globalThis.FEATURES)!=null&&t0.measure?[RV]:[],qV={[TV]:!1},jv=_(()=>({decorators:jV,initialGlobals:qV}),"default"),hR="outline",qv=_(e=>{(Array.isArray(e)?e:[e]).forEach(MV)},"clearStyles"),MV=_(e=>{let t=typeof e=="string"?e:e.join(""),r=ae.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},"clearStyle"),kV=_((e,t)=>{let r=ae.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=ae.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,ae.document.head.appendChild(n)}},"addOutlineStyles");function tr(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,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):s},[]);if(o.length){var a=new RegExp(`
|
|
532
|
-
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(a,`
|
|
533
|
-
`)})}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(`
|
|
534
|
-
`)&&(p=String(s).split(`
|
|
535
|
-
`).map(function(h,f){return f===0?h:""+d+h}).join(`
|
|
536
|
-
`)),i+=p+n[c+1]}),i}_(tr,"dedent");function mR(e){return tr`
|
|
537
|
-
${e} body {
|
|
538
|
-
outline: 1px solid #2980b9 !important;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
${e} article {
|
|
542
|
-
outline: 1px solid #3498db !important;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
${e} nav {
|
|
546
|
-
outline: 1px solid #0088c3 !important;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
${e} aside {
|
|
550
|
-
outline: 1px solid #33a0ce !important;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
${e} section {
|
|
554
|
-
outline: 1px solid #66b8da !important;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
${e} header {
|
|
558
|
-
outline: 1px solid #99cfe7 !important;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
${e} footer {
|
|
562
|
-
outline: 1px solid #cce7f3 !important;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
${e} h1 {
|
|
566
|
-
outline: 1px solid #162544 !important;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
${e} h2 {
|
|
570
|
-
outline: 1px solid #314e6e !important;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
${e} h3 {
|
|
574
|
-
outline: 1px solid #3e5e85 !important;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
${e} h4 {
|
|
578
|
-
outline: 1px solid #449baf !important;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
${e} h5 {
|
|
582
|
-
outline: 1px solid #c7d1cb !important;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
${e} h6 {
|
|
586
|
-
outline: 1px solid #4371d0 !important;
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
${e} main {
|
|
590
|
-
outline: 1px solid #2f4f90 !important;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
${e} address {
|
|
594
|
-
outline: 1px solid #1a2c51 !important;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
${e} div {
|
|
598
|
-
outline: 1px solid #036cdb !important;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
${e} p {
|
|
602
|
-
outline: 1px solid #ac050b !important;
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
${e} hr {
|
|
606
|
-
outline: 1px solid #ff063f !important;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
${e} pre {
|
|
610
|
-
outline: 1px solid #850440 !important;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
${e} blockquote {
|
|
614
|
-
outline: 1px solid #f1b8e7 !important;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
${e} ol {
|
|
618
|
-
outline: 1px solid #ff050c !important;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
${e} ul {
|
|
622
|
-
outline: 1px solid #d90416 !important;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
${e} li {
|
|
626
|
-
outline: 1px solid #d90416 !important;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
${e} dl {
|
|
630
|
-
outline: 1px solid #fd3427 !important;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
${e} dt {
|
|
634
|
-
outline: 1px solid #ff0043 !important;
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
${e} dd {
|
|
638
|
-
outline: 1px solid #e80174 !important;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
${e} figure {
|
|
642
|
-
outline: 1px solid #ff00bb !important;
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
${e} figcaption {
|
|
646
|
-
outline: 1px solid #bf0032 !important;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
${e} table {
|
|
650
|
-
outline: 1px solid #00cc99 !important;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
${e} caption {
|
|
654
|
-
outline: 1px solid #37ffc4 !important;
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
${e} thead {
|
|
658
|
-
outline: 1px solid #98daca !important;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
${e} tbody {
|
|
662
|
-
outline: 1px solid #64a7a0 !important;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
${e} tfoot {
|
|
666
|
-
outline: 1px solid #22746b !important;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
${e} tr {
|
|
670
|
-
outline: 1px solid #86c0b2 !important;
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
${e} th {
|
|
674
|
-
outline: 1px solid #a1e7d6 !important;
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
${e} td {
|
|
678
|
-
outline: 1px solid #3f5a54 !important;
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
${e} col {
|
|
682
|
-
outline: 1px solid #6c9a8f !important;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
${e} colgroup {
|
|
686
|
-
outline: 1px solid #6c9a9d !important;
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
${e} button {
|
|
690
|
-
outline: 1px solid #da8301 !important;
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
${e} datalist {
|
|
694
|
-
outline: 1px solid #c06000 !important;
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
${e} fieldset {
|
|
698
|
-
outline: 1px solid #d95100 !important;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
${e} form {
|
|
702
|
-
outline: 1px solid #d23600 !important;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
${e} input {
|
|
706
|
-
outline: 1px solid #fca600 !important;
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
${e} keygen {
|
|
710
|
-
outline: 1px solid #b31e00 !important;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
${e} label {
|
|
714
|
-
outline: 1px solid #ee8900 !important;
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
${e} legend {
|
|
718
|
-
outline: 1px solid #de6d00 !important;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
${e} meter {
|
|
722
|
-
outline: 1px solid #e8630c !important;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
${e} optgroup {
|
|
726
|
-
outline: 1px solid #b33600 !important;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
${e} option {
|
|
730
|
-
outline: 1px solid #ff8a00 !important;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
${e} output {
|
|
734
|
-
outline: 1px solid #ff9619 !important;
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
${e} progress {
|
|
738
|
-
outline: 1px solid #e57c00 !important;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
${e} select {
|
|
742
|
-
outline: 1px solid #e26e0f !important;
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
${e} textarea {
|
|
746
|
-
outline: 1px solid #cc5400 !important;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
${e} details {
|
|
750
|
-
outline: 1px solid #33848f !important;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
${e} summary {
|
|
754
|
-
outline: 1px solid #60a1a6 !important;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
${e} command {
|
|
758
|
-
outline: 1px solid #438da1 !important;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
${e} menu {
|
|
762
|
-
outline: 1px solid #449da6 !important;
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
${e} del {
|
|
766
|
-
outline: 1px solid #bf0000 !important;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
${e} ins {
|
|
770
|
-
outline: 1px solid #400000 !important;
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
${e} img {
|
|
774
|
-
outline: 1px solid #22746b !important;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
${e} iframe {
|
|
778
|
-
outline: 1px solid #64a7a0 !important;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
${e} embed {
|
|
782
|
-
outline: 1px solid #98daca !important;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
${e} object {
|
|
786
|
-
outline: 1px solid #00cc99 !important;
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
${e} param {
|
|
790
|
-
outline: 1px solid #37ffc4 !important;
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
${e} video {
|
|
794
|
-
outline: 1px solid #6ee866 !important;
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
${e} audio {
|
|
798
|
-
outline: 1px solid #027353 !important;
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
${e} source {
|
|
802
|
-
outline: 1px solid #012426 !important;
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
${e} canvas {
|
|
806
|
-
outline: 1px solid #a2f570 !important;
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
${e} track {
|
|
810
|
-
outline: 1px solid #59a600 !important;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
${e} map {
|
|
814
|
-
outline: 1px solid #7be500 !important;
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
${e} area {
|
|
818
|
-
outline: 1px solid #305900 !important;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
${e} a {
|
|
822
|
-
outline: 1px solid #ff62ab !important;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
${e} em {
|
|
826
|
-
outline: 1px solid #800b41 !important;
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
${e} strong {
|
|
830
|
-
outline: 1px solid #ff1583 !important;
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
${e} i {
|
|
834
|
-
outline: 1px solid #803156 !important;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
${e} b {
|
|
838
|
-
outline: 1px solid #cc1169 !important;
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
${e} u {
|
|
842
|
-
outline: 1px solid #ff0430 !important;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
${e} s {
|
|
846
|
-
outline: 1px solid #f805e3 !important;
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
${e} small {
|
|
850
|
-
outline: 1px solid #d107b2 !important;
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
${e} abbr {
|
|
854
|
-
outline: 1px solid #4a0263 !important;
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
${e} q {
|
|
858
|
-
outline: 1px solid #240018 !important;
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
${e} cite {
|
|
862
|
-
outline: 1px solid #64003c !important;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
${e} dfn {
|
|
866
|
-
outline: 1px solid #b4005a !important;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
${e} sub {
|
|
870
|
-
outline: 1px solid #dba0c8 !important;
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
${e} sup {
|
|
874
|
-
outline: 1px solid #cc0256 !important;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
${e} time {
|
|
878
|
-
outline: 1px solid #d6606d !important;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
${e} code {
|
|
882
|
-
outline: 1px solid #e04251 !important;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
${e} kbd {
|
|
886
|
-
outline: 1px solid #5e001f !important;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
${e} samp {
|
|
890
|
-
outline: 1px solid #9c0033 !important;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
${e} var {
|
|
894
|
-
outline: 1px solid #d90047 !important;
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
${e} mark {
|
|
898
|
-
outline: 1px solid #ff0053 !important;
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
${e} bdi {
|
|
902
|
-
outline: 1px solid #bf3668 !important;
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
${e} bdo {
|
|
906
|
-
outline: 1px solid #6f1400 !important;
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
${e} ruby {
|
|
910
|
-
outline: 1px solid #ff7b93 !important;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
${e} rt {
|
|
914
|
-
outline: 1px solid #ff2f54 !important;
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
${e} rp {
|
|
918
|
-
outline: 1px solid #803e49 !important;
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
${e} span {
|
|
922
|
-
outline: 1px solid #cc2643 !important;
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
${e} br {
|
|
926
|
-
outline: 1px solid #db687d !important;
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
${e} wbr {
|
|
930
|
-
outline: 1px solid #db175b !important;
|
|
931
|
-
}`}_(mR,"outlineCSS");var IV=_((e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[hR]),o=t.viewMode==="docs",a=I$(()=>mR(o?'[data-story-block="true"]':".sb-show-main"),[t]);return Pn(()=>{let i=o?`addon-outline-docs-${t.id}`:"addon-outline";return n?kV(i,a):qv(i),()=>{qv(i)}},[n,a,t]),e()},"withOutline"),r0,NV=(r0=globalThis.FEATURES)!=null&&r0.outline?[IV]:[],DV={[hR]:!1},Mv=_(()=>({decorators:NV,initialGlobals:DV}),"default"),FV=_(({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?_A():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?OA():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&TA()},"resetAllMocksLoader"),zp=_((e,t=0,r)=>{var n,o;if(t>5||e==null)return e;if(ba(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let a=AA(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]=zp(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]=zp(i,t,a));return e}return e},"traverseArgs"),LV=_(({initialArgs:e})=>{zp(e)},"nameSpiesAndWrapActionsInSpies"),kv=!1,BV=_(async e=>{var r,n;globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=kH(e.canvasElement));let t=(n=(r=globalThis.window)==null?void 0:r.navigator)==null?void 0:n.clipboard;if(t){e.userEvent=$o({userEvent:IH.setup()},{intercept:!0}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:_(()=>t,"get"),configurable:!0});let o=HTMLElement.prototype.focus;kv||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:_(a=>{o=a,kv=!0},"set"),get:_(()=>o,"get")}})}},"enhanceContext"),Iv=_(()=>({loaders:[FV,LV,BV]}),"default"),HV="viewport",UV={[HV]:{value:void 0,isRotated:!1}},Nv=_(()=>({initialGlobals:UV}),"default");function yb(){return[(jv.default??jv)(),(vv.default??vv)(),(_v.default??_v)(),(Mv.default??Mv)(),(Nv.default??Nv)(),(mv.default??mv)(),(wv.default??wv)(),(Iv.default??Iv)()]}_(yb,"getCoreAnnotations");var Un=Symbol("incompatible"),Wp=_((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)?Un:e.reduce((n,o,a)=>{let i=Wp(o,{type:r.value});return i!==Un&&(n[a]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Un:Object.entries(e).reduce((n,[o,a])=>{let i=Wp(a,{type:r.value[o]});return i===Un?n:Object.assign(n,{[o]:i})},{});default:return Un}},"map"),VV=_((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let a=Wp(o,t[n]);return a===Un?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),Gp=_((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=Gp(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!Lt(e)||!Lt(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=Gp(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),zV=_((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(_(a,"allowArg"),!o)return a();if(!Array.isArray(o))return Ue.error(tr`
|
|
932
|
-
Invalid argType: '${n}.options' should be an array.
|
|
933
|
-
|
|
934
|
-
More info: https://storybook.js.org/docs/api/arg-types
|
|
935
|
-
`),a();if(o.some(p=>p&&["object","function"].includes(typeof p)))return Ue.error(tr`
|
|
936
|
-
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
937
|
-
|
|
938
|
-
More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
939
|
-
`),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 Ue.warn(`Received illegal value for '${u}'. Supported options: ${d}`),r},{}),"validateOptions"),Ca=Symbol("Deeply equal"),Us=_((e,t)=>{if(typeof e!=typeof t)return t;if(H$(e,t))return Ca;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,a)=>{let i=Us(e[a],o);return i!==Ca&&(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=Us(e==null?void 0:e[n],t==null?void 0:t[n]);return o===Ca?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),gR="UNTARGETED";function bR({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=gR}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}_(bR,"groupArgsByTarget");function yR(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}_(yR,"deleteUndefined");var vR=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=Us(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==Ca&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=zV(r,t.argTypes);this.argsByStoryId[t.id]=Gp(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=VV(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]=yR({...this.argsByStoryId[t],...r})}};_(vR,"ArgsStore");var WV=vR,wR=_((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),ER=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Us(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=wR(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==Ca&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:Me.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])}};_(ER,"GlobalsStore");var GV=ER,KV=Ho(A$()),YV=(0,KV.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),CR=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 B5({storyId:t});return r}importPathToEntry(t){return YV(this.entries)[t]}};_(CR,"StoryIndexStore");var XV=CR,JV=_(e=>typeof e=="string"?{name:e}:e,"normalizeType"),ZV=_(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),QV=_((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=JV(r)),n?a.control=ZV(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),Vs=_(e=>Ao(e,QV),"normalizeInputTypes"),Re=_(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),ez=tr`
|
|
940
|
-
CSF .story annotations deprecated; annotate story functions directly:
|
|
941
|
-
- StoryFn.story.name => StoryFn.storyName
|
|
942
|
-
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
943
|
-
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
944
|
-
`;function zs(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(Me.debug("deprecated story",a),m0(ez));let i=JH(e),s=typeof n!="function"&&n.name||n.storyName||(a==null?void 0:a.name)||i,c=[...Re(n.decorators),...Re(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},h=[...Re(n.loaders),...Re(a==null?void 0:a.loaders)],f=[...Re(n.beforeEach),...Re(a==null?void 0:a.beforeEach)],m=[...Re(n.afterEach),...Re(a==null?void 0:a.afterEach)],{render:g,play:y,tags:b=[],globals:v={}}=n,S=u.__id||XH(r.id,i);return{moduleExport:t,id:S,name:s,tags:b,decorators:c,parameters:u,args:d,argTypes:Vs(p),loaders:h,beforeEach:f,afterEach:m,globals:v,...g&&{render:g},...o&&{userStoryFn:o},...y&&{play:y}}}_(zs,"normalizeStory");function Ws(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:x$(n||t),...e,title:t,...o&&{argTypes:Vs(o)},parameters:{fileName:r,...e.parameters}}}_(Ws,"normalizeComponentAnnotations");var tz=_(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&Me.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),rz=_(e=>{let{options:t}=e;t!=null&&t.storySort&&Me.error("The storySort option parameter can only be set globally")},"checkStorySort"),Si=_(e=>{e&&(tz(e),rz(e))},"checkDisallowedParameters");function xR(e,t,r){let{default:n,__namedExportsOrder:o,...a}=e,i=Object.values(a)[0];if(Pu(i)){let u=Ws(i.meta.input,r,t);Si(u.parameters);let d={meta:u,stories:{},moduleExports:e};return Object.keys(a).forEach(p=>{if(Ls(p,u)){let h=zs(p,a[p].input,u);Si(h.parameters),d.stories[h.id]=h}}),d.projectAnnotations=i.meta.preview.composed,d}let s=Ws(n,r,t);Si(s.parameters);let c={meta:s,stories:{},moduleExports:e};return Object.keys(a).forEach(u=>{if(Ls(u,s)){let d=zs(u,a[u],s);Si(d.parameters),c.stories[d.id]=d}}),c}_(xR,"processCSFFile");function SR(e){return e!=null&&AR(e).includes("mount")}_(SR,"mountDestructured");function AR(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=Kp(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?Kp(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}_(AR,"getUsedProps");function Kp(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}_(Kp,"splitByComma");function PR(e,t,r){let n=r(e);return o=>t(n,o)}_(PR,"decorateStory");function OR({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:i,initialArgs:s,argTypes:c,...u}={}){return u}_(OR,"sanitizeStoryContextUpdate");function _R(e,t){let r={},n=_(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...OR(i)},a(r.value)},"bindWithContext"),o=t.reduce((a,i)=>PR(a,i,n),e);return a=>(r.value=a,o(a))}_(_R,"defaultDecorateStory");var Po=_((...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]=Po(...a):n[o]=a[a.length-1]}),n},"combineParameters");function vb(e,t,r){let{moduleExport:n,id:o,name:a}=e||{},i=wb(e,t,r),s=_(async C=>{let w={};for(let E of[Re(r.loaders),Re(t.loaders),Re(e.loaders)]){if(C.abortSignal.aborted)return w;let A=await Promise.all(E.map(k=>k(C)));Object.assign(w,...A)}return w},"applyLoaders"),c=_(async C=>{let w=new Array;for(let E of[...Re(r.beforeEach),...Re(t.beforeEach),...Re(e.beforeEach)]){if(C.abortSignal.aborted)return w;let A=await E(C);A&&w.push(A)}return w},"applyBeforeEach"),u=_(async C=>{let w=[...Re(r.afterEach),...Re(t.afterEach),...Re(e.afterEach)].reverse();for(let E of w){if(C.abortSignal.aborted)return;await E(C)}},"applyAfterEach"),d=_(C=>C.originalStoryFn(C.args,C),"undecoratedStoryFn"),{applyDecorators:p=_R,runStep:h}=r,f=[...Re(e==null?void 0:e.decorators),...Re(t==null?void 0:t.decorators),...Re(r==null?void 0:r.decorators)],m=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,g=gU(p)(d,f),y=_(C=>g(C),"unboundStoryFn"),b=(e==null?void 0:e.play)??(t==null?void 0:t.play),v=SR(b);if(!m&&!v)throw new J5({id:o});let S=_(C=>async()=>(await C.renderToCanvas(),C.canvas),"defaultMount"),x=e.mount??t.mount??r.mount??S,P=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:o,name:a,story:a,originalStoryFn:m,undecoratedStoryFn:d,unboundStoryFn:y,applyLoaders:s,applyBeforeEach:c,applyAfterEach:u,playFunction:b,runStep:h,mount:x,testingLibraryRender:P,renderToCanvas:r.renderToCanvas,usesMount:v}}_(vb,"prepareStory");function TR(e,t,r){return{...wb(void 0,e,t),moduleExport:r}}_(TR,"prepareMeta");function wb(e,t,r){var b;let n=["dev","test"],o=((b=ae.DOCS_OPTIONS)==null?void 0:b.autodocs)===!0?["autodocs"]:[],a=ZH(...n,...o,...r.tags??[],...t.tags??[],...(e==null?void 0:e.tags)??[]),i=Po(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:s=[],argsEnhancers:c=[]}=r,u=Po(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let v=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;i.__isArgsStory=v&&v.length>0}let d={...r.args,...t.args,...e==null?void 0:e.args},p={...t.globals,...e==null?void 0:e.globals},h={componentId:t.id,title:t.title,kind:t.title,id:(e==null?void 0:e.id)||t.id,name:(e==null?void 0:e.name)||"__meta",story:(e==null?void 0:e.name)||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:i,initialArgs:d,argTypes:u,storyGlobals:p};h.argTypes=s.reduce((v,S)=>S({...h,argTypes:v}),h.argTypes);let f={...d};h.initialArgs=[...c].reduce((v,S)=>({...v,...S({...h,initialArgs:v})}),f);let{name:m,story:g,...y}=h;return y}_(wb,"preparePartialAnnotations");function Eb(e){var a;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((a=ae.FEATURES)!=null&&a.argTypeTargetsV7){let i=bR(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[gR]||{}}}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=_(p=>{let h=r.argTypes[s].mapping;return h&&p in h?h[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 GH(u,n,r.globals)&&(i[s]=c),i},{});return{...r,unmappedArgs:t,args:o}}_(Eb,"prepareContext");var Yp=_((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(Me.warn(tr`
|
|
945
|
-
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
946
|
-
|
|
947
|
-
Consider using the mapping feature or fully custom args:
|
|
948
|
-
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
949
|
-
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
950
|
-
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Yp(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Ao(e,o=>Yp(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),$R=_(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Ao(n,(i,s)=>({name:s,type:Yp(i,`${t}.${s}`,new Set)})),a=Ao(r,(i,s)=>({name:s}));return Po(o,a,r)},"inferArgTypes");$R.secondPass=!0;var Dv=_((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),nz=_((e,t,r)=>!t&&!r?e:e&&F$(e,(n,o)=>{let a=n.name||o.toString();return!!(!t||Dv(a,t))&&(!r||!Dv(a,r))}),"filterArgTypes"),oz=_((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"&&Me.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"),RR=_(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let i=nz(t,n,o),s=Ao(i,(c,u)=>(c==null?void 0:c.type)&&oz(c,u.toString(),a));return Po(s,i)},"inferControls");RR.secondPass=!0;function Gs({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,afterEach:i,initialGlobals:s,...c}){return{...e&&{argTypes:Vs(e)},...t&&{globalTypes:Vs(t)},decorators:Re(n),loaders:Re(o),beforeEach:Re(a),afterEach:Re(i),argTypesEnhancers:[...r||[],$R,RR],initialGlobals:s,...c}}_(Gs,"normalizeProjectAnnotations");var az=_(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 jR(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}_(jR,"composeStepRunners");function Oo(e,t){return e.map(r=>{var n;return((n=r.default)==null?void 0:n[t])??r[t]}).filter(Boolean)}_(Oo,"getField");function dr(e,t,r={}){return Oo(e,t).reduce((n,o)=>{let a=Re(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}_(dr,"getArrayField");function sa(e,t){return Object.assign({},...Oo(e,t))}_(sa,"getObjectField");function Vn(e,t){return Oo(e,t).pop()}_(Vn,"getSingletonField");function _o(e){var o;let t=dr(e,"argTypesEnhancers"),r=Oo(e,"runStep"),n=dr(e,"beforeAll");return{parameters:Po(...Oo(e,"parameters")),decorators:dr(e,"decorators",{reverseFileOrder:!(((o=ae.FEATURES)==null?void 0:o.legacyDecoratorFileOrder)??!1)}),args:sa(e,"args"),argsEnhancers:dr(e,"argsEnhancers"),argTypes:sa(e,"argTypes"),argTypesEnhancers:[...t.filter(a=>!a.secondPass),...t.filter(a=>a.secondPass)],initialGlobals:sa(e,"initialGlobals"),globalTypes:sa(e,"globalTypes"),loaders:dr(e,"loaders"),beforeAll:az(n),beforeEach:dr(e,"beforeEach"),afterEach:dr(e,"afterEach"),render:Vn(e,"render"),renderToCanvas:Vn(e,"renderToCanvas"),applyDecorators:Vn(e,"applyDecorators"),runStep:jR(r),tags:dr(e,"tags"),mount:Vn(e,"mount"),testingLibraryRender:Vn(e,"testingLibraryRender")}}_(_o,"composeConfigs");function Cb(){try{return!!globalThis.__vitest_browser__||!!globalThis.__playwright__binding__}catch{return!1}}_(Cb,"isTestEnvironment");function xb(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
|
|
951
|
-
animation: none !important;
|
|
952
|
-
}`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
|
|
953
|
-
animation-delay: 0s !important;
|
|
954
|
-
animation-direction: ${e?"reverse":"normal"} !important;
|
|
955
|
-
animation-play-state: paused !important;
|
|
956
|
-
transition: none !important;
|
|
957
|
-
}`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{var n;(n=r.parentNode)==null||n.removeChild(r)}}_(xb,"pauseAnimations");async function Sb(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,...Ab(globalThis.document)],o=_(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"&&!qR(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))])}_(Sb,"waitForAnimations");function Ab(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...Ab(r.shadowRoot)),t),[])}_(Ab,"getShadowRoots");function qR(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}_(qR,"isInfiniteAnimation");var MR=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};_(MR,"ReporterAPI");var kR=MR;function IR(e,t,r){return Pu(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}_(IR,"getCsfFactoryAnnotations");function iz(e){globalThis.defaultProjectAnnotations=e}_(iz,"setDefaultProjectAnnotations");var sz="ComposedStory",lz="Unnamed Story";function NR(e){return e?_o([e]):{}}_(NR,"extractAnnotation");function uz(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=_o([...yb(),globalThis.defaultProjectAnnotations??{},_o(t.map(NR))]),globalThis.globalProjectAnnotations??{}}_(uz,"setProjectAnnotations");var Dr=[];function DR(e,t,r,n,o){var b;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??sz;let a=Ws(t),i=o||e.storyName||((b=e.story)==null?void 0:b.name)||e.name||lz,s=zs(i,e,a),c=Gs(_o([n??globalThis.globalProjectAnnotations??{},r??{}])),u=vb(s,a,c),d={...wR(c.globalTypes),...c.initialGlobals,...u.storyGlobals},p=new kR,h=_(()=>{let v=Eb({hooks:new M$,globals:d,args:{...u.initialArgs},viewMode:"story",reporting:p,loaded:{},abortSignal:new AbortController().signal,step:_((S,x)=>u.runStep(S,x,v),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:c.globalTypes,...u,context:null,mount:null});return v.parameters.__isPortableStory=!0,v.context=v,u.renderToCanvas&&(v.renderToCanvas=async()=>{var x;let S=await((x=u.renderToCanvas)==null?void 0:x.call(u,{componentId:u.componentId,title:u.title,id:u.id,name:u.name,tags:u.tags,showMain:_(()=>{},"showMain"),showError:_(P=>{throw new Error(`${P.title}
|
|
958
|
-
${P.description}`)},"showError"),showException:_(P=>{throw P},"showException"),forceRemount:!0,storyContext:v,storyFn:_(()=>u.unboundStoryFn(v),"storyFn"),unboundStoryFn:u.unboundStoryFn},v.canvasElement));S&&Dr.push(S)}),v.mount=u.mount(v),v},"initializeContext"),f,m=_(async v=>{var x;let S=h();return S.canvasElement??(S.canvasElement=(x=globalThis==null?void 0:globalThis.document)==null?void 0:x.body),f&&(S.loaded=f.loaded),Object.assign(S,v),u.playFunction(S)},"play"),g=_(v=>{let S=h();return Object.assign(S,v),FR(u,S)},"run"),y=u.playFunction?m:void 0;return Object.assign(_(function(v){let S=h();return f&&(S.loaded=f.loaded),S.args={...S.initialArgs,...v},u.unboundStoryFn(S)},"storyFn"),{id:u.id,storyName:i,load:_(async()=>{for(let S of[...Dr].reverse())await S();Dr.length=0;let v=h();v.loaded=await u.applyLoaders(v),Dr.push(...(await u.applyBeforeEach(v)).filter(Boolean)),f=v},"load"),globals:d,args:u.initialArgs,parameters:u.parameters,argTypes:u.argTypes,play:y,run:g,reporting:p,tags:u.tags})}_(DR,"composeStory");var cz=_((e,t,r,n)=>DR(e,t,r,{},n),"defaultComposeStory");function dz(e,t,r=cz){let{default:n,__esModule:o,__namedExportsOrder:a,...i}=e,s=n;return Object.entries(i).reduce((c,[u,d])=>{let{story:p,meta:h}=IR(d);return!s&&h&&(s=h),Ls(u,s)?Object.assign(c,{[u]:r(p,s,t,u)}):c},{})}_(dz,"composeStories");function pz(e){return e.extend({mount:_(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(tr`
|
|
959
|
-
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
960
|
-
Please use JSX format for your components such as:
|
|
961
|
-
|
|
962
|
-
instead of:
|
|
963
|
-
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
964
|
-
|
|
965
|
-
do:
|
|
966
|
-
await mount(<MyComponent foo="bar"/>)
|
|
967
|
-
|
|
968
|
-
More info: https://storybook.js.org/docs/api/portable-stories-playwright
|
|
969
|
-
`);await r.evaluate(async s=>{var u,d,p;let c=await((u=globalThis.__pwUnwrapObject)==null?void 0:u.call(globalThis,s));return(p=(d="__pw_type"in c?c.type:c)==null?void 0:d.load)==null?void 0:p.call(d)},o);let i=await t(o,...a);return await r.evaluate(async s=>{var p,h;let c=await((p=globalThis.__pwUnwrapObject)==null?void 0:p.call(globalThis,s)),u="__pw_type"in c?c.type:c,d=document.querySelector("#root");return(h=u==null?void 0:u.play)==null?void 0:h.call(u,{canvasElement:d})},o),i})},"mount")})}_(pz,"createPlaywrightTest");async function FR(e,t){var a,i;for(let s of[...Dr].reverse())await s();if(Dr.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,Dr.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;Dr.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 o1({playFunction:r.toString()})}),await r(t));let o;Cb()?o=xb():await Sb(t.abortSignal),await e.applyAfterEach(t),await(o==null?void 0:o())}_(FR,"runStory");var Fv=1e3,fz=1e4,LR=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new XV(t),this.projectAnnotations=Gs(_o([...yb(),n]));let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new WV,this.userGlobals=new GV({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Tc.default)(Fv)(xR),this.prepareMetaWithCache=(0,Tc.default)(Fv)(TR),this.prepareStoryWithCache=(0,Tc.default)(fz)(vb)}setProjectAnnotations(t){this.projectAnnotations=Gs(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new Y5({storyId:t});let o=r.meta,a=this.prepareStoryWithCache(n,o,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new M$,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 kR;return Eb({...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 U5;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},{})}};_(LR,"StoryStore");var hz=LR;function mz(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}_(mz,"slash");function gz(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}_(gz,"pathJoin");var Mu=new Error("prepareAborted"),{AbortController:Lv}=globalThis;function Xp(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}_(Xp,"serializeError");var BR=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=_(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Lv,c&&(this.story=c,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(bn,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(bn,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Mu}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){var S,x,P,C;let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:a,componentId:i,title:s,name:c,tags:u,applyLoaders:d,applyBeforeEach:p,applyAfterEach:h,unboundStoryFn:f,playFunction:m,runStep:g}=o;r&&!t&&(this.cancelRender(),this.abortController=new Lv);let y=this.abortController.signal,b=!1,v=o.usesMount;try{let w={...this.storyContext(),viewMode:this.viewMode,abortSignal:y,canvasElement:n,loaded:{},step:_((W,K)=>g(W,K,w),"step"),context:null,canvas:{},userEvent:{},renderToCanvas:_(async()=>{let W=await this.renderToScreen(E,n);this.teardownRender=W||(()=>{}),b=!0},"renderToCanvas"),mount:_(async(...W)=>{var ee,re;(re=(ee=this.callbacks).showStoryDuringRender)==null||re.call(ee);let K=null;return await this.runPhase(y,"rendering",async()=>{K=await o.mount(w)(...W)}),v&&await this.runPhase(y,"playing"),K},"mount")};w.context=w;let E={componentId:i,title:s,kind:s,id:a,name:c,story:c,tags:u,...this.callbacks,showError:_(W=>(this.phase="errored",this.callbacks.showError(W)),"showError"),showException:_(W=>(this.phase="errored",this.callbacks.showException(W)),"showException"),forceRemount:r||this.notYetRendered,storyContext:w,storyFn:_(()=>f(w),"storyFn"),unboundStoryFn:f};if(await this.runPhase(y,"loading",async()=>{w.loaded=await d(w)}),y.aborted)return;let A=await p(w);if(this.store.addCleanupCallbacks(o,...A),this.checkIfAborted(y)||(!b&&!v&&await w.mount(),this.notYetRendered=!1,y.aborted))return;let k=((x=(S=this.story.parameters)==null?void 0:S.test)==null?void 0:x.dangerouslyIgnoreUnhandledErrors)===!0,j=new Set,L=_(W=>{W.error&&j.add(W.error)},"onError"),F=_(W=>{W.reason&&j.add(W.reason)},"onUnhandledRejection");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){window.addEventListener("error",L),window.addEventListener("unhandledrejection",F),this.disableKeyListeners=!0;try{if(v?await m(w):(w.mount=async()=>{throw new o1({playFunction:m.toString()})},await this.runPhase(y,"playing",async()=>m(w))),!b)throw new Z5;this.checkIfAborted(y),!k&&j.size>0?await this.runPhase(y,"errored"):await this.runPhase(y,"played")}catch(W){if((C=(P=this.callbacks).showStoryDuringRender)==null||C.call(P),await this.runPhase(y,"errored",async()=>{this.channel.emit(v0,Xp(W))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw W;console.error(W)}if(!k&&j.size>0&&this.channel.emit(w0,Array.from(j).map(Xp)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",F),window.removeEventListener("error",L),y.aborted)return}await this.runPhase(y,"completing",async()=>{Cb()?this.store.addCleanupCallbacks(o,xb()):await Sb(y)}),await this.runPhase(y,"completed",async()=>{this.channel.emit(Vi,a)}),this.phase!=="errored"&&await this.runPhase(y,"afterEach",async()=>{await h(w)});let T=!k&&j.size>0,R=w.reporting.reports.some(W=>W.status==="failed"),N=T||R;await this.runPhase(y,"finished",async()=>this.channel.emit(Bc,{storyId:a,status:N?"error":"success",reporters:w.reporting.reports}))}catch(w){this.phase="errored",this.callbacks.showException(w),await this.runPhase(y,"finished",async()=>this.channel.emit(Bc,{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(){var t;(t=this.abortController)==null||t.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};_(BR,"StoryRender");var Jp=BR,{fetch:bz}=ae,yz="./index.json",HR=class{constructor(t,r,n=wt.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:_((t,r)=>{if(this.storyStoreValue)return m0("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new X5},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(O0,this.onStoryIndexChanged.bind(this)),this.channel.on(cf,this.onUpdateGlobals.bind(this)),this.channel.on(df,this.onUpdateArgs.bind(this)),this.channel.on(q0,this.onRequestArgTypesInfo.bind(this)),this.channel.on(lf,this.onResetArgs.bind(this)),this.channel.on(sf,this.onForceReRender.bind(this)),this.channel.on(Ui,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new V5;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 bz(yz);if(t.status===200)return t.json();throw new z5({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new hz(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Pt({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(x0,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 Pt({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 Pt({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(Sa,{initialGlobals:n,userGlobals:a,storyGlobals:o,globals:i})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(Sa,{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 Pt({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(S0,{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(Hc,{id:t,success:!0,payload:{argTypes:(o==null?void 0:o.argTypes)||{}},error:null})}catch(o){this.channel.emit(Hc,{id:t,success:!1,error:o==null?void 0:o.message})}}async onResetArgs({storyId:t,argNames:r}){var a;if(!this.storyStoreValue)throw new Pt({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()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new Pt({methodName:"renderStoryToElement"});let a=new Jp(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 Pt({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new Pt({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new Pt({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,Me.error(t),Me.error(r),this.channel.emit(b0,r)}};_(HR,"Preview");var vz=HR,UR=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=_(a=>{let i=this.nameToStoryId.get(a);if(i)return i;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=_(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=_(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=_(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=_(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=_(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(Pu(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(tr`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(", ")}.
|
|
970
|
-
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
971
|
-
- ... or vice versa?
|
|
972
|
-
- 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}}};_(UR,"DocsContext");var VR=UR,zR=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Mu;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 VR(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=_(async()=>{try{await i(n,o,t),this.channel.emit(af,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}};_(zR,"CsfDocsRender");var Bv=zR,WR=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Mu;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 VR(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a={...o,page:this.exports.default},i=await o.renderer(),{render:s}=i,c=_(async()=>{try{await s(n,a,t),this.channel.emit(af,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>c(),this.teardownRender=async({viewModeChanged:u}={})=>{!u||!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}};_(WR,"MdxDocsRender");var Hv=WR,wz=globalThis;function GR(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}_(GR,"focusInInput");var KR="attached-mdx",Ez="unattached-mdx";function YR({tags:e}){return(e==null?void 0:e.includes(Ez))||(e==null?void 0:e.includes(KR))}_(YR,"isMdxEntry");function Hi(e){return e.type==="story"}_(Hi,"isStoryRender");function XR(e){return e.type==="docs"}_(XR,"isDocsRender");function JR(e){return XR(e)&&e.subtype==="csf"}_(JR,"isCsfDocsRender");var ZR=class extends vz{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(),wz.onkeydown=this.onKeydown.bind(this),this.channel.on(uf,this.onSetCurrentStory.bind(this)),this.channel.on(j0,this.onUpdateQueryParams.bind(this)),this.channel.on(E0,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Pt({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 Pt({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 G5):this.renderStoryLoadingException(t,new K5({storySpecifier:t.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(T0,this.selectionStore.selection),this.channel.emit(Fc,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)&&!GR(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:c}=t;this.channel.emit(C0,{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(Fc,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){var n,o;let r=this.currentRender instanceof Jp&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof Hv||this.currentRender instanceof Bv)&&await((o=(n=this.currentRender).rerender)==null?void 0:o.call(n))}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>{var n;return(n=this.storyStoreValue)==null?void 0:n.loadEntry(r)}))}async renderSelection({persistedArgs:t}={}){var h,f,m,g;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new Pt({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(y){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,y);return}let i=((h=this.currentSelection)==null?void 0:h.storyId)!==o,s=((f=this.currentRender)==null?void 0:f.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 Jp(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):YR(a)?c=new Hv(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):c=new Bv(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(y){d&&await this.teardownRender(d),y!==Mu&&this.renderStoryLoadingException(o,y);return}let p=!i&&d&&!c.isEqual(d);if(t&&Hi(c)&&(mn(!!c.story),this.storyStoreValue.args.updateFromPersisted(c.story,t)),d&&!d.torndown&&!i&&!p&&!s){this.currentRender=d,this.channel.emit(R0,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:s}),u&&(i||s)&&this.channel.emit(A0,o),Hi(c)){mn(!!c.story);let{parameters:y,initialArgs:b,argTypes:v,unmappedArgs:S,initialGlobals:x,userGlobals:P,storyGlobals:C,globals:w}=this.storyStoreValue.getStoryContext(c.story);this.channel.emit(_0,{id:o,parameters:y,initialArgs:b,argTypes:v,args:S}),this.channel.emit(Sa,{userGlobals:P,storyGlobals:C,globals:w,initialGlobals:x})}else{let{parameters:y}=this.storyStoreValue.projectAnnotations,{initialGlobals:b,globals:v}=this.storyStoreValue.userGlobals;if(this.channel.emit(Sa,{globals:v,initialGlobals:b,storyGlobals:{},userGlobals:v}),JR(c)||((g=c.entry.tags)==null?void 0:g.includes(KR))){if(!c.csfFiles)throw new W5({storyId:o});({parameters:y}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:c.csfFiles[0]}))}this.channel.emit(y0,{id:o,parameters:y})}Hi(c)?(mn(!!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:_(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:_(()=>this.view.showMain(),"showMain"),showError:_(r=>this.renderError(t,r),"showError"),showException:_(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Lc)}renderStoryLoadingException(t,r){Me.error(r),this.view.showErrorDisplay(r),this.channel.emit(Lc,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:a}=r;this.channel.emit($0,{name:n,message:o,stack:a}),this.channel.emit(bn,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),Me.error(`Error rendering story '${t}':`),Me.error(r)}renderError(t,{title:r,description:n}){Me.error(`Error rendering story ${r}: ${n}`),this.channel.emit(P0,{title:r,description:n}),this.channel.emit(bn,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};_(ZR,"PreviewWithSelection");var Cz=ZR,Zp=Ho(ub()),xz=Ho(ub()),Uv=/^[a-zA-Z0-9 _-]*$/,QR=/^-?[0-9]+(\.[0-9]+)?$/,Sz=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,e3=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Qp=_((e="",t)=>e===null||e===""||!Uv.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Uv.test(t)||QR.test(t)||Sz.test(t)||e3.test(t):Array.isArray(t)?t.every(r=>Qp(e,r)):Lt(t)?Object.entries(t).every(([r,n])=>Qp(r,n)):!1,"validateArgs"),Az={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(e3);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 QR.test(e)?Number(e):e}},Vv=_(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,xz.parse)(t.join(";"),Az)).reduce((r,[n,o])=>Qp(n,o)?Object.assign(r,{[n]:o}):(Ue.warn(tr`
|
|
973
|
-
Omitted potentially unsafe URL args.
|
|
974
|
-
|
|
975
|
-
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
|
|
976
|
-
`),r),{})},"parseArgsParam"),{history:t3,document:Qt}=ae;function r3(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}_(r3,"pathToId");var n3=_(({selection:e,extraParams:t})=>{let r=Qt==null?void 0:Qt.location.search.slice(1),{path:n,selectedKind:o,selectedStory:a,...i}=(0,Zp.parse)(r);return`?${(0,Zp.stringify)({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),Pz=_(e=>{if(!e)return;let t=n3({selection:e}),{hash:r=""}=Qt.location;Qt.title=e.storyId,t3.replaceState({},"",`${Qt.location.pathname}${t}${r}`)},"setPath"),Oz=_(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),xa=_(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return xa(e[0]);if(Oz(e))return xa(Object.values(e).filter(Boolean))}},"getFirstString"),_z=_(()=>{if(typeof Qt<"u"){let e=Qt.location.search.slice(1),t=(0,Zp.parse)(e),r=typeof t.args=="string"?Vv(t.args):void 0,n=typeof t.globals=="string"?Vv(t.globals):void 0,o=xa(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let a=xa(t.path),i=a?r3(a):xa(t.id);if(i)return{storySpecifier:i,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),o3=class{constructor(){this.selectionSpecifier=_z()}setSelection(t){this.selection=t,Pz(this.selection)}setQueryParams(t){let r=n3({extraParams:t}),{hash:n=""}=Qt.location;t3.replaceState({},"",`${Qt.location.pathname}${r}${n}`)}};_(o3,"UrlStore");var Tz=o3,$z=Ho(pU()),Rz=Ho(ub()),{document:it}=ae,zv=100,a3=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(a3||{}),$c={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Rc={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Wv=new $z.default({escapeXML:!0}),i3=class{constructor(){if(this.testing=!1,typeof it<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,Rz.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}}}}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=Rc[t];it.body.classList.remove(this.currentLayoutClass),it.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Rc[t]||Me.warn(tr`
|
|
977
|
-
The desired layout: ${t} is not a valid option.
|
|
978
|
-
The possible options are: ${Object.keys(Rc).join(", ")}, none.
|
|
979
|
-
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(a3).forEach(r=>{r===t?it.body.classList.add($c[r]):it.body.classList.remove($c[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,a=t.split(`
|
|
980
|
-
`);a.length>1&&([n]=a,o=a.slice(1).join(`
|
|
981
|
-
`).replace(/^\n/,"")),it.getElementById("error-message").innerHTML=Wv.toHtml(n),it.getElementById("error-stack").innerHTML=Wv.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"),zv)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),zv)}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($c.MAIN)}};_(i3,"WebView");var jz=i3,qz=class extends Cz{constructor(t,r){super(t,r,new Tz,new jz),this.importFn=t,this.getProjectAnnotations=r,ae.__STORYBOOK_PREVIEW__=this}};_(qz,"PreviewWeb");var{document:gn}=ae,Mz=["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"],kz="script",Gv="scripts-root";function ef(){let e=gn.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),gn.dispatchEvent(e)}_(ef,"simulateDOMContentLoaded");function s3(e,t,r){let n=gn.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):gn.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}_(s3,"insertScript");function Pb(e,t,r=0){e[r](()=>{r++,r===e.length?t():Pb(e,t,r)})}_(Pb,"insertScriptsSequentially");function Iz(e){let t=gn.getElementById(Gv);t?t.innerHTML="":(t=gn.createElement("div"),t.id=Gv,gn.body.appendChild(t));let r=Array.from(e.querySelectorAll(kz));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||Mz.includes(a))&&n.push(i=>s3(o,i,t))}),n.length&&Pb(n,ef,void 0)}else ef()}_(Iz,"simulatePageLoad");var Nz="storybook/docs",Dz=`${Nz}/snippet-rendered`;async function Fz(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;wt.getChannel().emit(Dz,{id:n,source:i,args:o})}_(Fz,"emitTransformCode");const l3=({ambitName:e,ambitDescription:t,defaultFilters:r,indicators:n,activeColor:o,textColor:a,backgroundColor:i,onChangeAppliedFilters:s,saveAmbit:c,namePlaceholder:u,descPlaceholder:d})=>{const{t:p}=_e.useTranslation(),{tematicalFiltersSelected:h}=Qe(b=>b),[f,m]=Lp(e||p(u)),[g,y]=Lp(t||p(d));return he.useEffect(()=>{r&&r.length>0&&Qe.setState(b=>({tematicalFiltersSelected:r}))},[r]),he.useEffect(()=>{console.log("filtersSelected changed: ",h),s(h)},[h]),D.jsxs("div",{className:Wo.FiltersAmbitContainer,children:[D.jsxs("div",{className:Wo.FiltersAmbitHeader,children:[D.jsx("div",{className:Wo.FiltersAmbitTitle,children:D.jsx("input",{type:"text",onChange:b=>m(b.target.value),value:f})}),D.jsx("div",{className:Wo.FiltersAmbitDescription,children:D.jsx("div",{className:Wo.FiltersAmbitDescriptionTitle,children:D.jsx("textarea",{value:g,onChange:b=>y(b.target.value)})})})]}),D.jsx(l0,{title:p("applied_filters"),isOpen:!0,textColor:a||"#fff",backgroundColor:i||"#605B5680",activeColor:o}),D.jsx(u0,{activeColor:o}),D.jsx(h0,{indicators:n,inputsColor:o,textColor:a,title:"tematical_filters",activeColor:o}),D.jsx("div",{className:"buttonContainer",children:D.jsx(a0,{onClick:c,children:p("save_ambit")})})]})};l3.propTypes={indicators:$.arrayOf($.object).isRequired,ambitName:$.string,ambitDescription:$.string,defaultFilters:$.arrayOf($.object),activeColor:$.string,backgroundColor:$.string,textColor:$.string,onChangeAppliedFilters:$.func,saveAmbit:$.func};const Lz="_barChartContainer_d2f1z_2",Bz={barChartContainer:Lz},u3=({data:e,width:t=700,barHeight:r=25,gap:n=23,fontColor:o="#605B56",verticalPaddign:a=10,horizontalPaddign:i=20,leftPadding:s=200,numberOfDivisions:c=7,maxValue:u=null})=>{const{t:d}=_e.useTranslation(),{xScale:p,ticks:h,height:f}=he.useMemo(()=>{if(e&&e.length>0){const m=(e==null?void 0:e.length)*(r+n)+a*2,g=Tb.max(e,v=>v.value)||1,y=Tb.scaleLinear().domain([0,u||g]).range([0,t-s]),b=Array.from({length:c+1},(v,S)=>u?u/c*S:g/c*S);return{xScale:y,ticks:b,height:m,width:t,verticalPaddign:a,horizontalPaddign:i}}else return{xScale:null,ticks:[],height:0}},[e,t,c,r,n,i,a,u]);return D.jsx("div",{className:Bz.barChartContainer,children:D.jsx("svg",{width:t+i*2,height:f,children:D.jsxs("g",{transform:`translate(0,${n})`,children:[D.jsx("g",{transform:`translate(${s+i}, 0)`,children:h.map((m,g)=>{const y=p(m);return D.jsxs("g",{transform:`translate(${y}, 0)`,children:[D.jsx("line",{y1:0,y2:f-n*2,stroke:"#ccc"}),D.jsx("text",{y:f-n,textAnchor:"middle",fontSize:10,fill:o,children:parseInt(m)})]},g)})}),e&&e.length>0&&(e==null?void 0:e.map((m,g)=>{const y=p(m.value),b=g*(r+n);return D.jsxs("g",{transform:`translate(${s+i}, ${b})`,children:[D.jsx("text",{x:-24,y:r/2+5,textAnchor:"end",fill:o,children:d(m.title)}),D.jsx("rect",{width:y,height:r,fill:m.color,rx:0})]},g)}))]})})})};u3.propTypes={data:$.arrayOf($.shape({title:$.string,value:$.number,color:$.string})),width:$.number,barHeight:$.number,gap:$.number,verticalPaddign:$.number,horizontalPaddign:$.number,numberOfDivisions:$.number,fontColor:$.string};const Hz="_graphicContainer_c9zrg_2",Uz="_titleContainer_c9zrg_14",Kv={graphicContainer:Hz,titleContainer:Uz},c3=({data:e,graphWidth:t=700,containerStyle:r,borderColor:n="#605B56",title:o="Graphic Title",fontColor:a="#605B56",maxValue:i=null,numberOfDivisions:s=7,leftPadding:c=200})=>{const{t:u}=_e.useTranslation();return D.jsxs("div",{className:Kv.graphicContainer,style:{...r||{},border:`1.5px solid ${n}`},children:[D.jsx("div",{className:Kv.titleContainer,children:D.jsx("h2",{children:u(o)})}),D.jsx(u3,{data:e,width:t,fontColor:a,maxValue:i,numberOfDivisions:s,leftPadding:c})]})};c3.propTypes={data:$.arrayOf($.shape({color:$.string.isRequired,value:$.number.isRequired,title:$.string.isRequired})),borderColor:$.string,title:$.string,graphWidth:$.number,containerStyle:$.object,fontColor:$.string,maxValue:$.number,numberOfDivisions:$.number,leftPadding:$.number};const Vz="_indicatorsCategory_1cu33_2",zz="_title_1cu33_5",Wz="_list_1cu33_11",jc={indicatorsCategory:Vz,title:zz,list:Wz},Gz="_indicatorContainer_lw8gx_2",Kz="_indicatorNameContainer_lw8gx_11",Yz="_dot_lw8gx_20",Xz="_indicatorName_lw8gx_11",Jz="_switchExternalContainer_lw8gx_31",Zz="_switchType_lw8gx_40",Qz="_switchTypeOptions_lw8gx_44",eW="_optionContainer_lw8gx_55",tW="_customRadious_lw8gx_65",rW="_optionText_lw8gx_72",Ye={indicatorContainer:Gz,indicatorNameContainer:Kz,dot:Yz,indicatorName:Xz,switchExternalContainer:Jz,switchType:Zz,switchTypeOptions:Qz,optionContainer:eW,customRadious:tW,optionText:rW},Ob=({indicator:e,values:t=[],activeColor:r,defaultColor:n="#92898A",activeIndicator:o,activeIndicatorType:a,onClickIndicator:i,multiple:s=!1,onChangeType:c})=>{const{t:u}=_e.useTranslation(),{name:d,type:p}=e,[h,f]=he.useState(!1);he.useEffect(()=>{o&&f(s?o.some(y=>y.name==String(d)):o.name==d)},[o]);const m=()=>D.jsx("div",{className:Ye.switchExternalContainer,children:D.jsx("div",{className:Ye.switchType,children:D.jsxs("div",{className:Ye.switchTypeOptions,children:[D.jsxs("div",{className:Ye.optionContainer,onClick:()=>c("cat"),children:[D.jsx("span",{className:`${Ye.customRadious}`,style:{backgroundColor:a==="cat"?r:"transparent",borderColor:a==="cat"?r:n}}),D.jsx("h4",{className:Ye.optionText,style:{color:a==="cat"?r:n},children:u("indicators.cat")})]}),D.jsxs("div",{className:Ye.optionContainer,onClick:()=>c("abs"),children:[D.jsx("span",{className:`${Ye.customRadious}`,style:{backgroundColor:a==="abs"?r:"transparent",borderColor:a==="abs"?r:n}}),D.jsx("h4",{className:Ye.optionText,style:{color:a==="abs"?r:n},children:u("indicators.abs")})]})]})})}),g=()=>D.jsx("div",{className:Ye.switchExternalContainer,children:D.jsx("div",{className:Ye.switchType,children:D.jsx("div",{className:Ye.switchTypeOptions,children:t.map((y,b)=>D.jsxs("div",{className:Ye.optionContainer,children:[D.jsx("span",{className:Ye.customRadious}),D.jsx("h4",{children:u(y.unit)})]},b))})})});return D.jsxs("div",{className:Ye.indicatorContainer,children:[D.jsxs("div",{className:Ye.indicatorNameContainer,onClick:()=>i({indicator:e}),children:[D.jsx("div",{style:{border:h?`1px solid ${r}`:`1px solid ${n}`},className:Ye.dot}),D.jsx("h4",{className:Ye.indicatorName,style:{color:h?r:n},children:D.jsx(_e.Trans,{i18nKey:d,components:{sup:D.jsx("sup",{})}})})]}),(o==null?void 0:o.name)===d&&p==="both"&&D.jsx("div",{children:m()}),(o==null?void 0:o.name)===d&&p==="twoUnits"&&D.jsx("div",{children:g()})]})};Ob.propTypes={indicator:$.shape({name:$.string,type:$.string}),values:$.oneOfType([$.bool,$.array]),activeColor:$.string,defaultColor:$.string,activeIndicator:$.oneOfType([$.object,$.array]),multiple:$.bool,onClickIndicator:$.func};const nW="_indicatorsSubCategory_1dzsi_2",oW="_list_1dzsi_8",Yv={indicatorsSubCategory:nW,list:oW},d3=({subcName:e,indicators:t,defaultColor:r,activeColor:n,activeSubCategory:o,onClickSubCategory:a,id:i,activeIndicator:s,onClickIndicator:c,multiple:u,activeIndicatorType:d,onChangeType:p})=>{const{t:h}=_e.useTranslation(),[f,m]=he.useState(!1);return he.useEffect(()=>{m(o==i)},[o,i]),D.jsxs(tf.motion.div,{className:Yv.indicatorsSubCategory,initial:{height:"43px"},animate:{height:f?"auto":"43px"},transition:{duration:.4},children:[D.jsx("button",{onClick:()=>a(i),children:D.jsxs("h3",{style:{color:f?n:r},children:[D.jsx("span",{style:{color:f?n:r},children:f?"-":"+"}),D.jsx("span",{style:{marginLeft:12,color:f?n:r},children:h(e)})]})}),t&&D.jsx("div",{className:Yv.list,children:t==null?void 0:t.map((g,y)=>D.jsx(Ob,{indicator:g,defaultColor:r,activeColor:n,activeIndicator:s,onClickIndicator:c,multiple:u,activeIndicatorType:d,onChangeType:p},"indicator"+y))})]})};d3.propTypes={subcName:$.string,indicators:$.array,activeColor:$.string,defaultColor:$.string,activeSubCategory:$.string,id:$.string,activeIndicator:$.oneOfType([$.object,$.array]),multiple:$.bool,onClickSubCategory:$.func,onClickIndicator:$.func};const p3=({cat:e,id:t,activeColor:r,defaultColor:n,onClickCategory:o,activeCategory:a,activeSubCategory:i,onClickSubCategory:s,activeIndicator:c,onClickIndicator:u,multiple:d,activeIndicatorType:p,onChangeType:h})=>{var y;const{t:f}=_e.useTranslation(),[m,g]=he.useState(!1);return he.useEffect(()=>{g(a===t)},[a,t]),D.jsxs(tf.motion.div,{className:jc.indicatorsCategory,initial:{height:"53px"},animate:{height:m?"auto":"53px"},transition:{duration:.4},style:{backgroundColor:"white",borderBottom:m?`1px solid ${r}`:"0px",marginBottom:m?"20px":"0px"},children:[D.jsxs("h2",{className:`${jc.title}`,onClick:()=>o(t),children:[D.jsx("span",{style:{color:m?r:n},children:m?"-":"+"}),D.jsx("span",{style:{marginLeft:12,color:m?r:n},children:f(e.name)})]}),e.subcategories?e.subcategories.map(({name:b,subcategory:v,indicators:S},x)=>D.jsx(d3,{id:v,activeSubCategory:i,subcName:b,onClickSubCategory:s,activeIndicator:c,onClickIndicator:u,multiple:d,activeColor:r,defaultColor:n,indicators:S,activeIndicatorType:p,onChangeType:h},`subcKey ${x}`)):D.jsx("div",{className:jc.list,children:(y=e.indicators)==null?void 0:y.map((b,v)=>D.jsx(Ob,{indicator:b,values:b.type=="twoUnits"&&b.values,activeColor:r,defaultColor:n,activeIndicator:c,onClickIndicator:u,multiple:d,activeIndicatorType:p,onChangeType:h},`indicator${v}`))})]})};p3.propTypes={cat:$.object,id:$.string,onChange:$.func,onClickCategory:$.func,activeCategory:$.string,activeSubCategory:$.string,onClickSubCategory:$.func,onClickIndicator:$.func,activeIndicator:$.oneOfType([$.object,$.array]),multiple:$.bool,activeColor:$.string,defaultColor:$.string};const aW="_indicatorsList_fklyu_2",iW="_title_fklyu_6",Xv={indicatorsList:aW,title:iW},f3=({indicators:e,activeColor:t,defaultColor:r="#92898A",onChange:n,multiple:o=!1,defaultValue:a=null,changeIndType:i,activeIndicatorType:s})=>{const{t:c}=_e.useTranslation(),[u,d]=he.useState(),[p,h]=he.useState(),[f,m]=he.useState(),g=x=>{d(u==x?null:x)},y=x=>{h(p==x?null:x)},b=({indicator:x})=>{console.log("onClickIndicator: ",x),v(x)},v=x=>{if(!o)m((f==null?void 0:f.name)==x.name?null:x);else{let P=f&&f.length>0?[...f]:[];m(P!=null&&P.some(C=>C.name==x.name)?P.filter(C=>C.name!=String(x.name)):[...P,x]),x.type=="both"&&i("cat")}};he.useEffect(()=>{console.log("activeindicator changed to: ",f),n&&typeof n=="function"&&f&&n({activeIndicator:f})},[f]),he.useLayoutEffect(()=>{if(a&&!f)if(o&&a&&Array.isArray(a)){let x=f&&f.length>0?[...f]:[];m([...x,...a]),S(a[0].name)}else v(a),S(a.name)},[]);const S=x=>{const P=e.find(C=>{if(C.subcategories){let w=C.subcategories.find(E=>E.indicators.find(A=>A.name==x));if(w)return h(w.subcategory),w}else return C.indicators.some(w=>w.name==x)});P&&d(P.category)};return D.jsxs("div",{className:Xv.indicatorsList,children:[D.jsx("h2",{className:Xv.title,style:{color:r},children:c("indicators.indicators")}),e.map((x,P)=>D.jsx(p3,{id:x.category,cat:x,onClickCategory:g,activeCategory:u,onClickSubCategory:y,activeSubCategory:p,onClickIndicator:b,activeIndicator:f,activeColor:t,defaultColor:r,multiple:o,onChange:n,onChangeType:i,activeIndicatorType:s},`categoryKey${P}`))]})};f3.propTypes={indicators:$.arrayOf($.object),activeColor:$.string,defaultColor:$.string,onChange:$.func,changeIndType:$.func,multiple:$.bool,activeIndicator:$.oneOfType([$.object,$.array]),defaultValue:$.oneOfType([$.object,$.array]),activeIndicatorType:$.string};const sW="_langSelector_1of0g_2",lW="_currentLang_1of0g_7",uW="_arrow_1of0g_19",cW="_prevImg_1of0g_22",dW="_langMenu_1of0g_26",Dn={langSelector:sW,currentLang:lW,arrow:uW,prevImg:cW,langMenu:dW},h3=({langs:e,arrow:t,imgPrev:r})=>{const[n,o]=he.useState(!1),{i18n:a}=_e.useTranslation(),i=e.find(c=>c.code==a.language),s=c=>{a.changeLanguage(c),o(!1)};return D.jsxs("div",{className:Dn.langSelector,children:[D.jsxs("div",{className:Dn.currentLang,onClick:()=>{o(!n)},children:[r&&D.jsx("img",{className:Dn.prevImg,src:r}),i.titleSelected||i.title,D.jsx("img",{src:t,className:Dn.arrow})]}),n&&D.jsx("div",{className:Dn.langMenu,children:e.map(c=>D.jsx("button",{className:i.code==c.code?Dn.active:"",onClick:()=>s(c.code),children:c.title},c.code))})]})};h3.propTypes={langs:$.arrayOf($.shape({code:$.string,title:$.string,titleSelected:$.string})),color:$.string,bckColor:$.string,hoverColor:$.string,arrow:$.object,imgPrev:$.object};const pW="_legendContainer_atg3j_3",fW="_closeButton_atg3j_18",hW="_titleContainer_atg3j_46",mW="_infoContainer_atg3j_52",gW="_titleLegendList_atg3j_63",bW="_legendListContainer_atg3j_70",yW="_gridContainer_atg3j_70",vW="_elementLegendContainer_atg3j_76",wW="_colorDot_atg3j_82",EW="_absoluteValueContainer_atg3j_88",CW="_absoluteValueColor_atg3j_91",xW="_absoluteValueText_atg3j_96",SW="_moreInfoContainer_atg3j_108",st={legendContainer:pW,closeButton:fW,titleContainer:hW,infoContainer:mW,titleLegendList:gW,legendListContainer:bW,gridContainer:yW,elementLegendContainer:vW,colorDot:wW,absoluteValueContainer:EW,absoluteValueColor:CW,absoluteValueText:xW,moreInfoContainer:SW},m3=({containerStyles:e,title:t,infoList:r,legendList:n,legendListTitle:o,absoluteValue:a,onClickMoreInfo:i,buttonTitle:s,onClickClose:c})=>{const{t:u}=_e.useTranslation();return D.jsxs("div",{style:e?{...e}:{},className:`${st.legendContainer}`,children:[D.jsx("button",{className:st.closeButton,onClick:c}),t&&D.jsx("div",{className:st.titleContainer,children:D.jsx("h2",{children:t})}),r&&r.length>0&&D.jsx("div",{className:st.infoContainer,children:D.jsx("ul",{children:r.map(({title:d,value:p})=>D.jsxs("li",{children:[D.jsx("h3",{className:st.title,children:`${d}:`}),D.jsxs("span",{className:st.value,children:[" ",p]})]},t))})}),D.jsx("h3",{className:st.titleLegendList,children:o?D.jsx(_e.Trans,{i18nKey:o,components:{sup:D.jsx("sup",{})}}):u("mainUse")}),D.jsx("div",{className:st.legendListContainer,children:a?D.jsxs("div",{className:st.absoluteValueContainer,children:[D.jsx("div",{className:st.absoluteValueColor,style:{background:`linear-gradient(to bottom, ${a.maxColor} 0%, ${a.minColor} 100%)`}}),D.jsxs("div",{className:st.absoluteValueText,children:[D.jsxs("span",{children:[a.maxValue," ",u(a.unit)]}),D.jsxs("span",{children:[a.minValue," ",u(a.unit)]})]})]}):n&&n.length>0&&D.jsx("div",{className:st.gridContainer,children:n.map(({title:d,color:p})=>D.jsxs("div",{className:st.elementLegendContainer,children:[D.jsx("div",{className:st.colorDot,style:{backgroundColor:p}}),D.jsxs("div",{className:st.titleLegendElement,children:[u(d)," "]})]},t))})}),i&&D.jsx("button",{className:st.moreInfoContainer,onClick:i,children:s||u("moreInformation")})]})};m3.propTypes={title:$.string,containerStyles:$.object,infoList:$.arrayOf($.shape({title:$.string.isRequired,value:$.oneOfType([$.string,$.number])})),legendList:$.arrayOf($.shape({title:$.string,color:$.string})),legendListTitle:$.string,absoluteValue:$.shape({maxColor:$.string,minColor:$.string,maxValue:$.number,minValue:$.number}),onClickMoreInfo:$.func,buttonTitle:$.string,onClickClose:$.func};const AW="_logo_1ewa6_2",Jv={logo:AW},g3=({src:e,alt:t,href:r})=>{const{t:n}=_e.useTranslation(),o=D.jsx("img",{src:e,alt:n(t)});return r?D.jsx("div",{className:Jv.logo,children:D.jsx("a",{href:r,children:o})}):D.jsx("div",{className:Jv.logo,children:o})};g3.propTypes={src:$.string.isRequired,alt:$.string.isRequired,href:$.string,className:$.string};const PW="_mapContainer_84pkf_2",OW={mapContainer:PW};_3.accessToken="pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";const b3=({initialView:e={latitude:39.4699,longitude:-.3763,zoom:12},maxZoom:t=17,minZoom:r=8,mapStyle:n,firstSymbolLayer:o,cssProps:a="",onClick:i="",interactiveLayers:s=[],popUp:c=!1,sources:u=[],layers:d=[]})=>{const p=he.useRef(),[h,f]=he.useState(null),m=la.useSelector(g=>g.mapState.showTexts);return he.useEffect(()=>{if(p.current){const g=p.current.getMap();g.getStyle().layers.map(b=>{b.type=="symbol"&&b.id!="professionals"&&(m?g.setLayoutProperty(b.id,"visibility","visible"):g.setLayoutProperty(b.id,"visibility","none"))})}},[m]),D.jsx("div",{className:`${OW.mapContainer}`,style:a,children:D.jsxs(Uo,{initialViewState:e,ref:p,hash:!1,maxZoom:t,minZoom:r,mapStyle:n,onClick:i,interactiveLayerIds:s,children:[u.length&&u.map((g,y)=>D.jsx(Uo.Source,{...g,children:d.length&&d.map((b,v)=>{if(b.sourceId==g.id)return D.jsx(Uo.Layer,{...b.layer,beforeId:o},v)})},y)),D.jsx(Uo.NavigationControl,{position:"bottom-right",visualizePitch:!0}),c&&h&&D.jsx(Uo.Popup,{longitude:c.longitude,latitude:c.latitude,anchor:c.anchor,onClose:()=>f(null),children:c.content})]})})};b3.propTypes={initialView:$.shape({latitude:$.number.isRequired,longitude:$.number.isRequired,zoom:$.number.isRequired}),mapStyle:$.object,firstSymbolLayer:$.string,cssProps:$.object,style:$.object,maxZoom:$.number,minZoom:$.number,onClick:$.func,interactiveLayers:$.array,popUp:$.shape({latitude:$.number,longitude:$.number,anchor:$.string,content:$.element}),textsUrl:$.string,sources:$.arrayOf($.shape({id:$.string,type:$.string,url:$.string,data:$.object})),layers:$.arrayOf($.shape({sourceId:$.string,layer:$.shape({id:$.string,type:$.string,sourceLayer:$.string,minZoom:$.number,maxZoom:$.number,paint:$.object})}))};const _W="_mapContainer_b0pyr_3",TW={mapContainer:_W},$W="_FeaturePopUp_1gd6w_2",RW="_title_1gd6w_2",Zv={FeaturePopUp:$W,title:RW},jW=({props:e})=>{const{t}=_e.useTranslation();return D.jsx("div",{className:Zv.FeaturePopUp,children:e.map(r=>D.jsxs("p",{children:[D.jsxs("span",{className:Zv.title,children:[D.jsx(_e.Trans,{i18nKey:r.name,components:{sup:D.jsx("sup",{})}}),": "]}),r.value.toLocaleString("de",{maximumFractionDigits:2})," ",t(r.unit)]}))})},y3=({initialView:e={latitude:39.4699,longitude:-.3763,zoom:12},maxZoom:t=17,minZoom:r=8,mapStyle:n,firstSymbolLayer:o,cssProps:a={},onClick:i="",interactiveLayers:s=[],sources:c=[],layers:u=[],filters:d,popUpParams:p,onClosePopUp:h,showTexts:f})=>{console.log(d);const m=he.useRef();return he.useEffect(()=>{if(m.current){const g=m.current.getMap();g.getStyle().layers.map(b=>{b.type=="symbol"&&b.id!="professionals"&&(f?g.setLayoutProperty(b.id,"visibility","visible"):g.setLayoutProperty(b.id,"visibility","none"))})}},[f]),he.useEffect(()=>{let g=new T3.Protocol;return oc.addProtocol("pmtiles",g.tile),()=>{oc.removeProtocol("pmtiles")}},[]),D.jsx("div",{className:`${TW.mapContainer}`,style:a&&a,children:D.jsxs(Vo,{mapLib:oc,initialViewState:e,ref:m,hash:!1,maxZoom:t,minZoom:r,mapStyle:n,onClick:i,interactiveLayerIds:s,children:[c.length&&c.map((g,y)=>D.jsx(Vo.Source,{...g,children:u.length&&u.map((b,v)=>{if(b.sourceId==g.id)return D.jsx(Vo.Layer,{...b.layer,beforeId:o,filter:d&&d},v)})},y)),D.jsx(Vo.NavigationControl,{position:"bottom-right",visualizePitch:!0}),p&&D.jsx(Vo.Popup,{longitude:p.lng,latitude:p.lat,onClose:h,children:D.jsx(jW,{props:p.props})})]})})};y3.propTypes={initialView:$.shape({latitude:$.number.isRequired,longitude:$.number.isRequired,zoom:$.number.isRequired}),mapStyle:$.string,firstSymbolLayer:$.string,cssProps:$.object,style:$.object,maxZoom:$.number,minZoom:$.number,onClick:$.func,interactiveLayers:$.array,popUp:$.bool,sources:$.arrayOf($.shape({id:$.string,type:$.string,url:$.string,data:$.object})),layers:$.arrayOf($.shape({sourceId:$.string,layer:$.shape({id:$.string,type:$.string,sourceLayer:$.string,minZoom:$.number,maxZoom:$.number,paint:$.object})})),showTexts:$.bool,filters:$.array,popUpParams:$.object,onClosePopUp:$.func};const qW="_sectionBar_1egwc_2",MW="_leftContent_1egwc_14",kW="_textContainer_1egwc_20",IW="_title_1egwc_27",NW="_subtitle_1egwc_33",DW="_rightContent_1egwc_38",en={sectionBar:qW,leftContent:MW,textContainer:kW,title:IW,subtitle:NW,rightContent:DW},FW=({leftIcon:e,title:t,subtitle:r,rightContent:n,mainColor:o,width:a})=>{const{t:i}=_e.useTranslation();return D.jsxs("div",{className:en.sectionBar,style:{width:a&&a},children:[D.jsxs("div",{className:en.leftContent,children:[e&&D.jsx("img",{src:e,alt:"Icono",className:en.icon}),D.jsxs("div",{className:en.textContainer,children:[D.jsx("div",{className:en.title,children:i(t)}),r&&D.jsx("div",{className:en.subtitle,children:r})]})]}),D.jsx("div",{className:en.rightContent,children:n})]})},LW=n0.createSlice({name:"mapSlice",initialState:{showTexts:!0,sliderSelectedYear:2025,activeIndicatorKey:0,activeIndicatorType:"cat",activeIndicatorUnit:null},reducers:{setShowTexts:(e,t)=>{e.showTexts=t.payload},setYear:(e,t)=>{e.sliderSelectedYear=t.payload},setActiveIndicatorKey:(e,t)=>{e.activeIndicatorKey=t.payload},setActiveIndicatorType:(e,t)=>{e.activeIndicatorType=t.payload},setActiveIndicatorUnit:(e,t)=>{e.activeIndicatorUnit=t.payload}}}),{setShowTexts:XY,setYear:qc,setActiveIndicatorKey:JY,setActiveIndicatorType:ZY,setActiveIndicatorUnit:QY}=LW.actions,BW="data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e",HW="data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e",UW="_slider_a19yo_2",VW="_playButton_a19yo_17",zW="_sliderOpen_a19yo_28",WW="_sliderResults_a19yo_32",Zo={slider:UW,playButton:VW,sliderOpen:zW,sliderResults:WW},v3=({onResults:e=!1,defaultYear:t=2025,firstYear:r=2025,lastYear:n=2050,zIndex:o=10,rightBarOpen:a=!1})=>{const[i,s]=he.useState(t),c=la.useDispatch(),u=(b,v)=>{s(v),c(qc(v-2e3))},[d,p]=he.useState(!1),h=()=>{p(!0)},f=()=>{p(!1)};((b,v)=>{const S=he.useRef();he.useEffect(()=>{S.current=b},[b]),he.useEffect(()=>{function x(){S.current()}{let P=setInterval(x,v);return()=>clearInterval(P)}},[v])})(()=>{d&&(i!=2050?(s(i+1),c(qc(i-2e3+1))):(s(2025),c(qc(25))))},1e3);const g=_b.createTheme({palette:{primary:{main:"#605b56"}},components:{MuiSlider:{styleOverrides:{mark:{height:10,backgroundColor:"#605b56"},valueLabel:{backgroundColor:"transparent",color:"#605b56",padding:0,top:3}}}}}),y=[{label:"",value:2025},{label:"",value:2032},{label:"",value:2041},{label:"",value:2050}];return D.jsx(R3.ThemeProvider,{theme:g,children:D.jsxs(_b.Box,{sx:{width:400},className:`${e?Zo.sliderResults:Zo.slider} ${a?Zo.sliderOpen:""}`,style:{zIndex:o},children:[r,D.jsx($3,{"aria-label":"TimeSlider",value:i,valueLabelDisplay:"on",step:1,marks:y,min:r,max:n,onChange:u,color:"primary",size:"small"}),n,!d&&D.jsx("button",{className:Zo.playButton,onClick:h,children:D.jsx("img",{src:BW,alt:"Play"})}),d&&D.jsx("button",{className:Zo.playButton,onClick:f,children:D.jsx("img",{src:HW,alt:"Pause"})})]})})};v3.propTypes={defaultYear:$.number,onResults:$.bool,firstYear:$.number,lastYear:$.number,zIndex:$.number,rightBarOpen:$.bool};const GW="_TopNavMenuContainer_15agj_2",KW="_topNavOptions_15agj_12",YW="_active_15agj_23",Mc={TopNavMenuContainer:GW,topNavOptions:KW,active:YW},w3=({options:e=[],cssProps:t={},containerStyles:r})=>{const{t:n}=_e.useTranslation(),o=t.textColor||"inherit",a=t.borderColor||"transparent",i=t.height||"100%";return D.jsx("div",{className:Mc.TopNavMenuContainer,style:r||{},children:e.map((s,c)=>D.jsx(j3.NavLink,{to:s.url,className:({isActive:u})=>`${Mc.topNavOptions} ${u?Mc.active:""}`,style:({isActive:u})=>({color:o,borderColor:u?a:"transparent",height:`calc(${i} - 10px)`}),children:n(s.name)},c))})};w3.propTypes={options:$.arrayOf($.object),cssProps:$.shape({borderColor:$.string.isRequired,textColor:$.string.isRequired})};const XW=n0.createSlice({name:"userSlice",initialState:{user:{isLoggedIn:!1,username:""},showLogIn:!1,showUserMenu:!1},reducers:{setShowLogIn:(e,t)=>{e.showLogIn=t.payload},setShowUserMenu:(e,t)=>{e.showUserMenu=t.payload}}}),{setShowLogIn:JW,setShowUserMenu:ZW}=XW.actions,QW="_UserMenuTrigger_uglss_2",eG={UserMenuTrigger:QW},E3=({cssClass:e,loginLocale:t="login"})=>{const r=la.useDispatch(),n=la.useSelector(s=>s.userState.user.isLoggedIn),o=la.useSelector(s=>s.userState.user.username),{t:a}=_e.useTranslation(),i=()=>{r(n?JW(!0):ZW(!0))};return D.jsx("div",{className:`${eG.UserMenuTrigger} link ${e}`,onClick:i,children:n?o:a(t)})};E3.propTypes={onClickLoggedIn:$.func.isRequired,onClickLoggedOut:$.func.isRequired,log:$.bool,name:$.string,cssClass:$.string,loginLocale:$.string};const tG="_header_t7qdl_2",rG="_leftComponents_t7qdl_12",nG="_centerComponents_t7qdl_13",oG="_rightComponents_t7qdl_14",Ai={header:tG,leftComponents:rG,centerComponents:nG,rightComponents:oG},C3=({cssProps:e,leftComponents:t=[],centerComponents:r=[],rightComponents:n=[]})=>D.jsxs("div",{className:Ai.header,style:e,children:[D.jsx("div",{className:Ai.leftComponents,style:{height:e.height},children:t.map((o,a)=>D.jsx("div",{style:{height:e.height},children:o},a))}),D.jsx("div",{className:Ai.centerComponents,style:{height:e.height},children:r.map((o,a)=>D.jsx("div",{style:{height:e.height},children:o},a))}),D.jsx("div",{className:Ai.rightComponents,style:{height:e.height},children:n.map((o,a)=>D.jsx("div",{style:{height:e.height},children:o},a))})]});C3.propTypes={cssProps:$.shape({backgroundColor:$.string.isRequired,height:$.string.isRequired,borderColor:$.string,textColor:$.string}),leftComponents:$.arrayOf($.node),centerComponents:$.arrayOf($.node),rightComponents:$.arrayOf($.node)};const aG="_sidebar_1jqo2_2",iG="_open_1jqo2_16",sG="_content_1jqo2_20",lG="_closeButton_1jqo2_26",Pi={sidebar:aG,open:iG,content:sG,closeButton:lG},x3=({width:e="300px",children:t,showRightBar:r,onCloseBar:n})=>{const o=()=>{n()};return D.jsx("div",{className:`${Pi.sidebar} ${r?Pi.open:""}`,style:{width:r?e:0},children:r&&D.jsxs("div",{className:Pi.content,children:[D.jsx("button",{className:Pi.closeButton,onClick:o,children:"×"}),t]})})};x3.propTypes={width:$.string,children:$.node,showRightBar:$.bool,onCloseBar:$.func};exports.AmbitSelector=i0;exports.ButtonsList=s0;exports.DropdownList=Wr;exports.EditAmbit=hj;exports.FiltersAmbit=l3;exports.Graphic=c3;exports.HeaderSection=C3;exports.IndicatorsList=f3;exports.LangSelector=h3;exports.Legend=m3;exports.LogoApp=g3;exports.MapboxMap=b3;exports.MaplibreMap=y3;exports.RightSidebar=x3;exports.SectionBar=FW;exports.TimeSlider=v3;exports.Tooltip=rf;exports.TopNavMenu=w3;exports.UserMenuTrigger=E3;
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1ueih_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16 ._ambitName_1ueih_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1ueih_2 ._ambitNameDate_1ueih_16 ._ambitDate_1ueih_35{flex:.5}._ambitItem_1ueih_2 ._ambitButtons_1ueih_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_19lnt_3{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_19lnt_3:after{content:"";z-index:-1;left:100%;top:50%;transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;transform-origin:center right}._top_19lnt_33{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;white-space:nowrap;z-index:10;color:#000}._top_19lnt_33:after{content:"";z-index:-1;right:50%;top:100%;transform:translate(50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent;color:#000;transform-origin:center right}._bottom_19lnt_66{position:absolute;width:auto;top:calc(100% + 10px);right:50%;height:fit-content;transform:translate(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:10px;margin:0;z-index:10;color:#000}._bottom_19lnt_66:after{content:"";z-index:-1;right:50%;bottom:100%;transform:translate(50%);border-width:.5em;border-style:solid;border-color:transparent;border-bottom-color:#fff;position:absolute;transform-origin:center right}._right_19lnt_97{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border-radius:4px;padding:20px;margin:0;white-space:nowrap;height:fit-content;color:#000;z-index:10}._right_19lnt_97:after{content:"";z-index:-1;right:100%;top:50%;color:#000;transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:#fff;position:absolute;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent;transform-origin:center right}._AppliedFiltersContainer_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_6o4gt_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitTitle_6o4gt_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitDescription_6o4gt_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_6o4gt_2 ._FiltersAmbitHeader_6o4gt_7 ._FiltersAmbitDescription_6o4gt_22 ._FiltersAmbitDescriptionTitle_6o4gt_33{font-size:18px;font-weight:600}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._UserMenuTrigger_uglss_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1jqo2_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),y=require("react"),e=require("prop-types"),w=require("react-i18next"),pe=require("framer-motion"),et=require("zustand"),tt=require("d3"),st=require("mapbox-gl"),W=require("react-redux"),U=require("react-map-gl/mapbox"),se=require("maplibre-gl"),nt=require("pmtiles"),Z=require("react-map-gl/maplibre"),ke=require("@reduxjs/toolkit"),it=require("@mui/material/Slider"),Ce=require("@mui/material"),ot=require("@emotion/react"),rt=require("react-router-dom");function at(i){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const o in i)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(u,o,n.get?n:{enumerable:!0,get:()=>i[o]})}}return u.default=i,Object.freeze(u)}const be=at(tt),lt="_ambitSelector_mcunf_2",ct="_header_mcunf_13",ut="_nameDateContainer_mcunf_23",dt="_ambitName_mcunf_39",pt="_ambitDate_mcunf_53",mt="_buttonsContainer_mcunf_67",ht="_ambitListContainer_mcunf_76",gt="_newAmbitButtonContainer_mcunf_80",A={ambitSelector:lt,header:ct,nameDateContainer:ut,ambitName:dt,ambitDate:pt,buttonsContainer:mt,ambitListContainer:ht,newAmbitButtonContainer:gt},Ct="_ambitItem_1ueih_2",bt="_ambitNameDate_1ueih_16",ft="_ambitName_1ueih_16",xt="_ambitDate_1ueih_35",yt="_ambitButtons_1ueih_38",H={ambitItem:Ct,ambitNameDate:bt,ambitName:ft,ambitDate:xt,ambitButtons:yt},vt="data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e",_t="data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",jt="data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e",wt="data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",kt="data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e",St="data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e",Se=({ambit:i,onClickCopy:u,onClickDelete:o,onClickFilters:n,onClickAmbit:t,isActive:r,activeColor:l,fontColor:a,moreInfo:c})=>{const{nom:d,created_at:p,id:m,isBeingProcessed:h}=i;return s.jsxs("div",{className:H.ambitItem,style:{borderBottom:`1px solid ${a}`},children:[s.jsxs("div",{className:H.ambitNameDate,onClick:()=>t(m),children:[s.jsxs("div",{className:H.ambitName,children:[s.jsx("img",{style:{marginRight:9},src:r?kt:St}),s.jsx("span",{style:{color:r?l:a},children:d})]}),s.jsx("div",{className:H.ambitDate,children:new Date(p).toLocaleDateString()})]}),s.jsxs("div",{className:H.ambitButtons,children:[h&&s.jsx("img",{src:wt}),s.jsx("button",{onClick:()=>n(m),children:s.jsx("img",{src:jt})}),s.jsx("button",{onClick:()=>u(m),children:s.jsx("img",{src:_t})}),s.jsx("button",{onClick:()=>o(m),children:s.jsx("img",{src:vt})})]})]})};Se.propTypes={ambit:e.shape({nom:e.string.isRequired,created_at:e.string.isRequired,id:e.string.isRequired,isBeingProcessed:e.bool}).isRequired,onClickCopy:e.func.isRequired,onClickDelete:e.func.isRequired,onClickFilters:e.func.isRequired,onClickAmbit:e.func.isRequired,isBeingProcessed:e.bool,isActive:e.bool,activeColor:e.string,fontColor:e.string,moreInfo:e.object};const fe="data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Nt="_generalButton_8d6ru_2",Tt={generalButton:Nt},Ne=({children:i,onClick:u,fontColor:o,borderColor:n})=>s.jsx("button",{className:Tt.generalButton,style:{color:o,border:`1.5px solid ${n}`},onClick:u,children:i}),Te=({ambitList:i,activeAmbitId:u,fontColor:o="#605B56",activeColor:n,nameLabel:t,dateLabel:r,newAmbitLabel:l="New field",buttonContainerStyles:a={},containerStyles:c={},onCLickNewAmbit:d=()=>console.log("New ambit clicked"),onClickCopy:p=g=>console.log(`Copy ambit: ${g}`),onCLickDelete:m=g=>console.log(`Delete ambit: ${g}`),onClickFilters:h=g=>console.log(`Filters clicked: ${g}`),onClickAmbit:f=g=>console.log(`OnCLickAmbit: ${g}`)})=>{const{t:g}=w.useTranslation(),[C,x]=y.useState(i);y.useEffect(()=>{i&&x(i)},[i]);const b=v=>{if(C&&C.length>0){let j=[...C];j.sort((_,k)=>_[v].localeCompare(k[v])),x(j)}};return s.jsxs("div",{className:A.ambitSelector,style:{color:o,...c},children:[s.jsxs("div",{className:A.header,style:{borderBottom:`1px solid ${o}`},children:[s.jsxs("div",{className:A.nameDateContainer,children:[s.jsx("div",{className:A.ambitName,children:s.jsxs("button",{onClick:()=>b("name"),children:[s.jsx("span",{children:g(t)}),s.jsx("img",{src:fe})]})}),s.jsx("div",{className:A.ambitDate,children:s.jsxs("button",{onClick:()=>b("date"),children:[s.jsx("span",{children:g(r)}),s.jsx("img",{src:fe})]})})]}),s.jsx("div",{className:A.buttonsContainer})]}),s.jsx("div",{className:A.ambitListContainer,children:C&&C.length>0&&C.map(v=>s.jsx(Se,{isActive:u==v.id,ambit:v,fontColor:o,activeColor:n,onClickCopy:p,onClickDelete:m,onClickFilters:h,onClickAmbit:f},`ambitKey${v.id}`))}),s.jsx("div",{className:A.newAmbitButtonContainer,children:s.jsx(Ne,{style:{...a},onClick:d,borderColor:"grey",children:g(l)})})]})};Te.propTypes={ambitList:e.arrayOf(e.shape({name:e.string.isRequired,date:e.string.isRequired,id:e.string.isRequired})).isRequired,activeAmbitId:e.string,fontColor:e.string,activeColor:e.string,onClickCopy:e.func.isRequired,onCLickDelete:e.func.isRequired,onClickFilters:e.func.isRequired,onClickAmbit:e.func.isRequired,nameLabel:e.string,dateLabel:e.string,newAmbitLabel:e.string,buttonContainerStyles:e.object,containerStyles:e.object,onCLickNewAmbit:e.func};const Mt="_buttonsContainer_1audx_2",Lt="_vertical_1audx_6",Bt="_horizontal_1audx_9",Ft="_button_1audx_2",Dt="_active_1audx_25",$t="_buttonName_1audx_28",R={buttonsContainer:Mt,vertical:Lt,horizontal:Bt,button:Ft,active:Dt,buttonName:$t},At="_left_19lnt_3",Ot="_top_19lnt_33",Rt="_bottom_19lnt_66",It="_right_19lnt_97",Vt={left:At,top:Ot,bottom:Rt,right:It},me=({text:i,position:u,styleCustom:o=null})=>{const{t:n}=w.useTranslation();return s.jsx("div",{className:`tooltip ${Vt[u]}`,style:o,children:n(i)})};me.propTypes={text:e.string.isRequired,position:e.oneOf(["top","bottom","left","right"]).isRequired,styleCustom:e.object};const Me=({buttons:i=[],orientation:u="horizontal",showName:o=!0,namePosition:n="right",useTooltip:t=!1,tooltipPosition:r="top"})=>{const{t:l}=w.useTranslation();return s.jsx("div",{className:`${R.buttonsContainer} ${u==="vertical"&&R.vertical}
|
|
3
|
+
${u==="horizontal"&&R.horizontal}`,children:i.map((a,c)=>{const{icon:d,activeIcon:p,isActive:m,name:h,onClick:f}=a,g=s.jsxs(s.Fragment,{children:[o&&n==="left"&&s.jsx("span",{className:R.buttonName,children:l(h)}),s.jsx("img",{src:m?p:d,alt:l(h)}),o&&n==="right"&&s.jsx("span",{className:R.buttonName,children:l(h)})]});return s.jsxs("div",{className:"tooltip-parent",children:[s.jsx("button",{onClick:f,className:`${R.button}
|
|
4
|
+
${m&&R.active}`,children:g}),t&&s.jsx(me,{text:h,position:r})]},c)})})};Me.propTypes={buttons:e.arrayOf(e.shape({icon:e.node.isRequired,activeIcon:e.node,isActive:e.bool,name:e.string,onClick:e.func})).isRequired,orientation:e.oneOf(["horizontal","vertical"]),showName:e.bool,namePosition:e.oneOf(["left","right"]),useTooltip:e.bool,tooltipPosition:e.oneOf(["top","bottom","left","right"])};const Pt="_indicatorsCategory_1cu33_2",qt="_title_1cu33_5",ne={indicatorsCategory:Pt,title:qt},O=({isOpen:i,onClick:u,children:o,color:n,activeColor:t="#F8A925",title:r="Title",height:l=53,titleFontStyles:a,showBottomBar:c=!0,titleMarginChildren:d=25})=>{const{t:p}=w.useTranslation();return s.jsxs(pe.motion.div,{className:ne.indicatorsCategory,initial:{height:`${l}px`},animate:{height:i?"auto":`${l}px`},transition:{duration:.4},style:{backgroundColor:"white",borderBottom:i&&c?`1px solid ${t}`:"0px",marginBottom:i?"20px":"0px"},children:[s.jsxs("h2",{style:{...a,marginBottom:d||"auto"},className:`${ne.title}`,onClick:u,children:[s.jsx("span",{style:{color:i?t:n},children:i?"-":"+"}),s.jsx("span",{style:{marginLeft:12,color:i?t:n},children:p(r)})]}),s.jsx("div",{className:ne.content,children:o})]})};O.propTypes={isOpen:e.bool,onClick:e.func,children:e.node,color:e.string,activeColor:e.string,title:e.string,height:e.number,showBottomBar:e.bool,titleFontStyles:e.object};const Et=()=>s.jsx("div",{children:"EditAmbit"}),zt="data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e",Kt="_AppliedFiltersContainer_s8ooe_2",Ut="_AppliedFilterContent_s8ooe_10",xe={AppliedFiltersContainer:Kt,AppliedFilterContent:Ut},N=et.create(i=>({activeCategory:"",activeSubCategory:"",selectedIndicator:"",tematicalFiltersSelected:[],fontColor:"#605B56",inputsColor:"#605B56"})),Le=({title:i,onClick:u,isOpen:o=!0,textColor:n="#ffffff",backgroundColor:t="#605B5680",activeColor:r})=>{const{t:l}=w.useTranslation(),{tematicalFiltersSelected:a}=N(d=>d),c=d=>{N.setState(p=>({tematicalFiltersSelected:p.tematicalFiltersSelected.filter(m=>m.code!==d)}))};return s.jsx(O,{isOpen:o,onClick:u,title:i?l(i):"Applied Filters",activeColor:r,children:s.jsx("div",{className:xe.AppliedFiltersContainer,children:a==null?void 0:a.map((d,p)=>s.jsxs("div",{className:xe.AppliedFilterContent,style:{color:n,background:t},children:[l(d.name),s.jsx("img",{src:zt,alt:"CloseIcon",onClick:()=>c(d.code),style:{cursor:"pointer"}})]},p))})})};Le.propTypes={isOpen:e.bool,onClick:e.func,title:e.string,textColor:e.string,backgroundColor:e.string,indicators:e.arrayOf(e.shape({title:e.string.isRequired,Codename:e.string.isRequired})),activeColor:e.string};const Be=({title:i,onClick:u,isOpen:o=!0,textColor:n="#ffffff",backgroundColor:t="#605B5680",activeColor:r})=>{const{t:l}=w.useTranslation(),{tematicalFiltersSelected:a}=N(c=>c);return s.jsx(O,{isOpen:o,onClick:u,title:i?l(i):"Geographical Filters",activeColor:r,children:"A"})};Be.propTypes={isOpen:e.bool,onClick:e.func,title:e.string,textColor:e.string,backgroundColor:e.string,activeColor:e.string};const Zt="_checkboxContainer_zld97_2",Ht={checkboxContainer:Zt},Fe=({onClick:i,containerStyles:u,color:o="#605B56",indicator:n,value:t})=>{const{t:r}=w.useTranslation(),{title:l}=n||{},{fontColor:a,inputsColor:c}=N(d=>d);return s.jsxs("div",{style:{...u,color:o},role:"checkbox",className:Ht.checkboxContainer,onClick:i,children:[s.jsx("input",{type:"checkbox",checked:typeof t=="boolean"?t:!0,value:t,readOnly:!0,style:{border:`1.5px solid ${t?c:a}`,backgroundColor:t?c:"white"}}),s.jsx("span",{className:"checkmark",children:r(l)})]})};Fe.propTypes={onClick:e.func,value:e.bool,containerStyles:e.object,color:e.string,indicator:e.shape({title:e.string,codename:e.array}),checkedColor:e.string};function ce(i,u){return ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,n){return o.__proto__=n,o},ce(i,u)}function Gt(i,u){i.prototype=Object.create(u.prototype),i.prototype.constructor=i,ce(i,u)}function ie(i){return i&&i.stopPropagation&&i.stopPropagation(),i&&i.preventDefault&&i.preventDefault(),!1}function oe(i){return i==null?[]:Array.isArray(i)?i.slice():[i]}function X(i){return i!==null&&i.length===1?i[0]:i.slice()}function J(i){Object.keys(i).forEach(u=>{typeof document<"u"&&document.addEventListener(u,i[u],!1)})}function I(i,u){return ue(function(o,n){let t=o;return t<=n.min&&(t=n.min),t>=n.max&&(t=n.max),t}(i,u),u)}function ue(i,u){const o=(i-u.min)%u.step;let n=i-o;return 2*Math.abs(o)>=u.step&&(n+=o>0?u.step:-u.step),parseFloat(n.toFixed(5))}let de=function(i){function u(n){var t;(t=i.call(this,n)||this).onKeyUp=()=>{t.onEnd()},t.onMouseUp=()=>{t.onEnd(t.getMouseEventMap())},t.onTouchEnd=a=>{a.preventDefault(),t.onEnd(t.getTouchEventMap())},t.onBlur=()=>{t.setState({index:-1},t.onEnd(t.getKeyDownEventMap()))},t.onMouseMove=a=>{t.setState({pending:!0});const c=t.getMousePosition(a),d=t.getDiffPosition(c[0]),p=t.getValueFromPosition(d);t.move(p)},t.onTouchMove=a=>{if(a.touches.length>1)return;t.setState({pending:!0});const c=t.getTouchPosition(a);if(t.isScrolling===void 0){const m=c[0]-t.startPosition[0],h=c[1]-t.startPosition[1];t.isScrolling=Math.abs(h)>Math.abs(m)}if(t.isScrolling)return void t.setState({index:-1});const d=t.getDiffPosition(c[0]),p=t.getValueFromPosition(d);t.move(p)},t.onKeyDown=a=>{if(!(a.ctrlKey||a.shiftKey||a.altKey||a.metaKey))switch(t.setState({pending:!0}),a.key){case"ArrowLeft":case"ArrowDown":case"Left":case"Down":a.preventDefault(),t.moveDownByStep();break;case"ArrowRight":case"ArrowUp":case"Right":case"Up":a.preventDefault(),t.moveUpByStep();break;case"Home":a.preventDefault(),t.move(t.props.min);break;case"End":a.preventDefault(),t.move(t.props.max);break;case"PageDown":a.preventDefault(),t.moveDownByStep(t.props.pageFn(t.props.step));break;case"PageUp":a.preventDefault(),t.moveUpByStep(t.props.pageFn(t.props.step))}},t.onSliderMouseDown=a=>{if(!t.props.disabled&&a.button!==2){if(t.setState({pending:!0}),!t.props.snapDragDisabled){const c=t.getMousePosition(a);t.forceValueFromPosition(c[0],d=>{t.start(d,c[0]),J(t.getMouseEventMap())})}ie(a)}},t.onSliderClick=a=>{if(!t.props.disabled&&t.props.onSliderClick&&!t.hasMoved){const c=t.getMousePosition(a),d=I(t.calcValue(t.calcOffsetFromPosition(c[0])),t.props);t.props.onSliderClick(d)}},t.createOnKeyDown=a=>c=>{t.props.disabled||(t.start(a),J(t.getKeyDownEventMap()),ie(c))},t.createOnMouseDown=a=>c=>{if(t.props.disabled||c.button===2)return;t.setState({pending:!0});const d=t.getMousePosition(c);t.start(a,d[0]),J(t.getMouseEventMap()),ie(c)},t.createOnTouchStart=a=>c=>{if(t.props.disabled||c.touches.length>1)return;t.setState({pending:!0});const d=t.getTouchPosition(c);t.startPosition=d,t.isScrolling=void 0,t.start(a,d[0]),J(t.getTouchEventMap()),function(p){p.stopPropagation&&p.stopPropagation()}(c)},t.handleResize=()=>{const a=window.setTimeout(()=>{t.pendingResizeTimeouts.shift(),t.resize()},0);t.pendingResizeTimeouts.push(a)},t.renderThumb=(a,c)=>{const d=t.props.thumbClassName+" "+t.props.thumbClassName+"-"+c+" "+(t.state.index===c?t.props.thumbActiveClassName:""),p={ref:h=>{t["thumb"+c]=h},key:t.props.thumbClassName+"-"+c,className:d,style:a,onMouseDown:t.createOnMouseDown(c),onTouchStart:t.createOnTouchStart(c),onFocus:t.createOnKeyDown(c),tabIndex:0,role:"slider","aria-orientation":t.props.orientation,"aria-valuenow":t.state.value[c],"aria-valuemin":t.props.min,"aria-valuemax":t.props.max,"aria-label":Array.isArray(t.props.ariaLabel)?t.props.ariaLabel[c]:t.props.ariaLabel,"aria-labelledby":Array.isArray(t.props.ariaLabelledby)?t.props.ariaLabelledby[c]:t.props.ariaLabelledby,"aria-disabled":t.props.disabled},m={index:c,value:X(t.state.value),valueNow:t.state.value[c]};return t.props.ariaValuetext&&(p["aria-valuetext"]=typeof t.props.ariaValuetext=="string"?t.props.ariaValuetext:t.props.ariaValuetext(m)),t.props.renderThumb(p,m)},t.renderTrack=(a,c,d)=>{const p={key:t.props.trackClassName+"-"+a,className:t.props.trackClassName+" "+t.props.trackClassName+"-"+a,style:t.buildTrackStyle(c,t.state.upperBound-d)},m={index:a,value:X(t.state.value)};return t.props.renderTrack(p,m)};let r=oe(n.value);r.length||(r=oe(n.defaultValue)),t.pendingResizeTimeouts=[];const l=[];for(let a=0;a<r.length;a+=1)r[a]=I(r[a],n),l.push(a);return t.resizeObserver=null,t.resizeElementRef=y.createRef(),t.state={index:-1,upperBound:0,sliderLength:0,value:r,zIndices:l},t}Gt(u,i);var o=u.prototype;return o.componentDidMount=function(){typeof window<"u"&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.resizeElementRef.current),this.resize())},u.getDerivedStateFromProps=function(n,t){const r=oe(n.value);return r.length?t.pending?null:{value:r.map(l=>I(l,n))}:null},o.componentDidUpdate=function(){this.state.upperBound===0&&this.resize()},o.componentWillUnmount=function(){this.clearPendingResizeTimeouts(),this.resizeObserver&&this.resizeObserver.disconnect()},o.onEnd=function(n){n&&function(t){Object.keys(t).forEach(r=>{typeof document<"u"&&document.removeEventListener(r,t[r],!1)})}(n),this.hasMoved&&this.fireChangeEvent("onAfterChange"),this.setState({pending:!1}),this.hasMoved=!1},o.getValue=function(){return X(this.state.value)},o.getClosestIndex=function(n){let t=Number.MAX_VALUE,r=-1;const{value:l}=this.state,a=l.length;for(let c=0;c<a;c+=1){const d=this.calcOffset(l[c]),p=Math.abs(n-d);p<t&&(t=p,r=c)}return r},o.getMousePosition=function(n){return[n["page"+this.axisKey()],n["page"+this.orthogonalAxisKey()]]},o.getTouchPosition=function(n){const t=n.touches[0];return[t["page"+this.axisKey()],t["page"+this.orthogonalAxisKey()]]},o.getKeyDownEventMap=function(){return{keydown:this.onKeyDown,keyup:this.onKeyUp,focusout:this.onBlur}},o.getMouseEventMap=function(){return{mousemove:this.onMouseMove,mouseup:this.onMouseUp}},o.getTouchEventMap=function(){return{touchmove:this.onTouchMove,touchend:this.onTouchEnd}},o.getValueFromPosition=function(n){const t=n/(this.state.sliderLength-this.state.thumbSize)*(this.props.max-this.props.min);return I(this.state.startValue+t,this.props)},o.getDiffPosition=function(n){let t=n-this.state.startPosition;return this.props.invert&&(t*=-1),t},o.resize=function(){const{slider:n,thumb0:t}=this;if(!n||!t)return;const r=this.sizeKey(),l=n.getBoundingClientRect(),a=n[r],c=l[this.posMaxKey()],d=l[this.posMinKey()],p=t.getBoundingClientRect()[r.replace("client","").toLowerCase()],m=a-p,h=Math.abs(c-d);this.state.upperBound===m&&this.state.sliderLength===h&&this.state.thumbSize===p||this.setState({upperBound:m,sliderLength:h,thumbSize:p})},o.calcOffset=function(n){const t=this.props.max-this.props.min;return t===0?0:(n-this.props.min)/t*this.state.upperBound},o.calcValue=function(n){return n/this.state.upperBound*(this.props.max-this.props.min)+this.props.min},o.calcOffsetFromPosition=function(n){const{slider:t}=this,r=t.getBoundingClientRect(),l=r[this.posMaxKey()],a=r[this.posMinKey()];let c=n-(window["page"+this.axisKey()+"Offset"]+(this.props.invert?l:a));return this.props.invert&&(c=this.state.sliderLength-c),c-=this.state.thumbSize/2,c},o.forceValueFromPosition=function(n,t){const r=this.calcOffsetFromPosition(n),l=this.getClosestIndex(r),a=I(this.calcValue(r),this.props),c=this.state.value.slice();c[l]=a;for(let d=0;d<c.length-1;d+=1)if(c[d+1]-c[d]<this.props.minDistance)return;this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0,this.setState({value:c},()=>{t(l),this.fireChangeEvent("onChange")})},o.clearPendingResizeTimeouts=function(){do{const n=this.pendingResizeTimeouts.shift();clearTimeout(n)}while(this.pendingResizeTimeouts.length)},o.start=function(n,t){const r=this["thumb"+n];r&&r.focus();const{zIndices:l}=this.state;l.splice(l.indexOf(n),1),l.push(n),this.setState(a=>({startValue:a.value[n],startPosition:t!==void 0?t:a.startPosition,index:n,zIndices:l}))},o.moveUpByStep=function(n){n===void 0&&(n=this.props.step);const t=this.state.value[this.state.index],r=I(this.props.invert&&this.props.orientation==="horizontal"?t-n:t+n,this.props);this.move(Math.min(r,this.props.max))},o.moveDownByStep=function(n){n===void 0&&(n=this.props.step);const t=this.state.value[this.state.index],r=I(this.props.invert&&this.props.orientation==="horizontal"?t+n:t-n,this.props);this.move(Math.max(r,this.props.min))},o.move=function(n){const t=this.state.value.slice(),{index:r}=this.state,{length:l}=t,a=t[r];if(n===a)return;this.hasMoved||this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0;const{pearling:c,max:d,min:p,minDistance:m}=this.props;if(!c){if(r>0){const h=t[r-1];n<h+m&&(n=h+m)}if(r<l-1){const h=t[r+1];n>h-m&&(n=h-m)}}t[r]=n,c&&l>1&&(n>a?(this.pushSucceeding(t,m,r),function(h,f,g,C){for(let x=0;x<h;x+=1){const b=C-x*g;f[h-1-x]>b&&(f[h-1-x]=b)}}(l,t,m,d)):n<a&&(this.pushPreceding(t,m,r),function(h,f,g,C){for(let x=0;x<h;x+=1){const b=C+x*g;f[x]<b&&(f[x]=b)}}(l,t,m,p))),this.setState({value:t},this.fireChangeEvent.bind(this,"onChange"))},o.pushSucceeding=function(n,t,r){let l,a;for(l=r,a=n[l]+t;n[l+1]!==null&&a>n[l+1];l+=1,a=n[l]+t)n[l+1]=ue(a,this.props)},o.pushPreceding=function(n,t,r){for(let l=r,a=n[l]-t;n[l-1]!==null&&a<n[l-1];l-=1,a=n[l]-t)n[l-1]=ue(a,this.props)},o.axisKey=function(){return this.props.orientation==="vertical"?"Y":"X"},o.orthogonalAxisKey=function(){return this.props.orientation==="vertical"?"X":"Y"},o.posMinKey=function(){return this.props.orientation==="vertical"?this.props.invert?"bottom":"top":this.props.invert?"right":"left"},o.posMaxKey=function(){return this.props.orientation==="vertical"?this.props.invert?"top":"bottom":this.props.invert?"left":"right"},o.sizeKey=function(){return this.props.orientation==="vertical"?"clientHeight":"clientWidth"},o.fireChangeEvent=function(n){this.props[n]&&this.props[n](X(this.state.value),this.state.index)},o.buildThumbStyle=function(n,t){const r={position:"absolute",touchAction:"none",willChange:this.state.index>=0?this.posMinKey():void 0,zIndex:this.state.zIndices.indexOf(t)+1};return r[this.posMinKey()]=n+"px",r},o.buildTrackStyle=function(n,t){const r={position:"absolute",willChange:this.state.index>=0?this.posMinKey()+","+this.posMaxKey():void 0};return r[this.posMinKey()]=n,r[this.posMaxKey()]=t,r},o.buildMarkStyle=function(n){var t;return(t={position:"absolute"})[this.posMinKey()]=n,t},o.renderThumbs=function(n){const{length:t}=n,r=[];for(let a=0;a<t;a+=1)r[a]=this.buildThumbStyle(n[a],a);const l=[];for(let a=0;a<t;a+=1)l[a]=this.renderThumb(r[a],a);return l},o.renderTracks=function(n){const t=[],r=n.length-1;t.push(this.renderTrack(0,0,n[0]));for(let l=0;l<r;l+=1)t.push(this.renderTrack(l+1,n[l],n[l+1]));return t.push(this.renderTrack(r+1,n[r],this.state.upperBound)),t},o.renderMarks=function(){let{marks:n}=this.props;const t=this.props.max-this.props.min+1;return typeof n=="boolean"?n=Array.from({length:t}).map((r,l)=>l):typeof n=="number"&&(n=Array.from({length:t}).map((r,l)=>l).filter(r=>r%n==0)),n.map(parseFloat).sort((r,l)=>r-l).map(r=>{const l=this.calcOffset(r),a={key:r,className:this.props.markClassName,style:this.buildMarkStyle(l)};return this.props.renderMark(a)})},o.render=function(){const n=[],{value:t}=this.state,r=t.length;for(let d=0;d<r;d+=1)n[d]=this.calcOffset(t[d],d);const l=this.props.withTracks?this.renderTracks(n):null,a=this.renderThumbs(n),c=this.props.marks?this.renderMarks():null;return y.createElement("div",{ref:d=>{this.slider=d,this.resizeElementRef.current=d},style:{position:"relative"},className:this.props.className+(this.props.disabled?" disabled":""),onMouseDown:this.onSliderMouseDown,onClick:this.onSliderClick},l,a,c)},u}(y.Component);de.displayName="ReactSlider",de.defaultProps={min:0,max:100,step:1,pageFn:i=>10*i,minDistance:0,defaultValue:0,orientation:"horizontal",className:"slider",thumbClassName:"thumb",thumbActiveClassName:"active",trackClassName:"track",markClassName:"mark",withTracks:!0,pearling:!1,disabled:!1,snapDragDisabled:!1,invert:!1,marks:[],renderThumb:i=>y.createElement("div",i),renderTrack:i=>y.createElement("div",i),renderMark:i=>y.createElement("span",i)};var Yt=de;const Wt="_container_15vgv_2",Xt="_unitLabel_15vgv_9",Jt="_slider_15vgv_12",Qt="_thumb_15vgv_18",es="_track_15vgv_27",ts="_labels_15vgv_33",E={container:Wt,unitLabel:Xt,slider:Jt,thumb:Qt,track:es,labels:ts},De=({min:i=0,max:u=100,step:o=1,onChange:n,width:t=300,unit:r,fontColor:l="#605B56",value:a=[i,u]})=>{const{t:c}=w.useTranslation(),d=p=>{n==null||n({min:p[0],max:p[1]})};return s.jsxs("div",{className:E.container,style:{width:`${t}px`,color:`${l}`},children:[s.jsx("div",{className:E.unitLabel,children:s.jsx("span",{children:c(r)})}),s.jsx(Yt,{className:E.slider,thumbClassName:E.thumb,trackClassName:E.track,min:i,max:u,step:o,value:a,onChange:d,withTracks:!0,pearling:!0,minDistance:1}),s.jsxs("div",{className:E.labels,children:[s.jsx("span",{children:a[0]}),s.jsx("span",{children:a[1]})]})]})};De.propTypes={min:e.number,max:e.number,step:e.number,initialMin:e.number,initialMax:e.number,onChange:e.func,width:e.number,unit:e.string,fontColor:e.string,value:e.arrayOf(e.number)};const ss="_tematicalFiltersInputContainer_1vm1r_2",ns="_inputTypeContainer_1vm1r_2",is="_checkboxContainer_1vm1r_28",os="_absoluteSliderContainer_1vm1r_37",Q={tematicalFiltersInputContainer:ss,inputTypeContainer:ns,checkboxContainer:is,absoluteSliderContainer:os},he=({indicator:i,activeColor:u})=>{const[o,n]=y.useState(),{type:t,name:r,values:l,minValue:a,maxValue:c,unit:d}=i||{},p=y.useMemo(()=>t=="cat"||o=="cat",[o,t]),m=y.useMemo(()=>t=="abs"||o=="abs",[o,t]),{tematicalFiltersSelected:h,selectedIndicator:f,fontColor:g,inputsColor:C}=N(v=>v),x=v=>{if(v){const{min:j,max:_,valueClicked:k,allValues:B}=v||{},{code:F,type:te}=i||{},K=m?"abs":p?"cat":"both";let D=F[0];te=="both"&&(D=K=="cat"?F[1]:F[0]),K=="cat"?N.setState(q=>{let $=q.tematicalFiltersSelected.find(M=>M.code===D);if($){let M=[$.values];if($.values.includes(k)){if(M=$.values.filter(L=>L!==k),M.length<1)return{tematicalFiltersSelected:q.tematicalFiltersSelected.filter(L=>L.code!==D)}}else M=[...$.values,k];return{tematicalFiltersSelected:q.tematicalFiltersSelected.map(L=>L.code===D?{...L,values:M}:L)}}else{console.log("entra aqui: ",B," ",k);let M=B.map((L,Qe)=>Qe);return{tematicalFiltersSelected:[...h,{type:"cat",code:D,values:M.filter(L=>L!==k),name:i.name}]}}}):K=="abs"&&N.setState(q=>{let $=q.tematicalFiltersSelected.find(M=>M.code===D);if($){let M={...$};return M.min=j,M.max=_,{tematicalFiltersSelected:q.tematicalFiltersSelected.map(L=>L.code===D?M:L)}}else return{tematicalFiltersSelected:[...h,{type:"abs",code:D,min:j,max:_}]}})}},b=y.useMemo(()=>{const v={};if((h==null?void 0:h.length)>0)for(const j of h)j.type==="cat"?v[j.code]=new Set(j.values):v[j.code]=[j.min,j.max];return v},[h]);return s.jsx("div",{className:Q.tematicalFiltersInputContainer,children:s.jsxs(O,{titleFontStyles:{fontSize:16,fontWeight:400},title:r,isOpen:f==`id${r}`,onClick:()=>N.setState(()=>({selectedIndicator:f==`id${r}`?"":`id${r}`})),showBottomBar:!1,height:38,titleMarginChildren:14,className:"tematicalFiltersInputContainer",color:g,activeColor:u,children:[t=="both"&&s.jsxs("div",{className:Q.inputTypeContainer,style:{color:g},children:[s.jsxs("label",{children:[s.jsx("input",{type:"radio",name:"tipo",value:"abs",onChange:()=>{n("abs")},style:{marginRight:4,backgroundColor:o=="abs"?C:"white",border:`1.5px solid ${o=="abs"?C:g}`}}),"Absoluto"]}),s.jsxs("label",{children:[s.jsx("input",{type:"radio",name:"tipo",value:"cat",onChange:()=>{n("cat")},style:{marginRight:4,backgroundColor:o=="cat"?C:"white",border:`1.5px solid ${o=="cat"?C:g}`}}),"Categórico"]})]}),p&&s.jsx("div",{className:Q.checkboxContainer,children:l.map((v,j)=>{var _;return s.jsx(Fe,{onClick:()=>x({valueClicked:j,allValues:l}),indicator:v,value:((_=b[i.code[t=="both"?1:0]])==null?void 0:_.has(j))||!b[i.code[t=="both"?1:0]]},`checkbox-${j}`)})}),m&&s.jsx("div",{className:Q.absoluteSliderContainer,children:s.jsx(De,{onChange:x,min:a,max:c,unit:d,value:b[i.code[0]]})})]})})};he.propTypes={indicator:e.shape({name:e.string,type:e.string,code:e.arrayOf(e.string),values:e.arrayOf(e.shape({codename:e.oneOfType(e.array,e.string),title:e.string}))}),activeColor:e.string};const $e=({subcategory:i,fontColor:u,activeColor:o})=>{const{activeSubcategory:n}=N(l=>l),{name:t,indicators:r}=i||{};return s.jsx(O,{title:t,isOpen:n==`id${t}`,onClick:()=>{N.setState(l=>({activeSubcategory:l.activeSubcategory===`id${t}`?"":`id${t}`}))},titleFontStyles:{fontSize:16,fontWeight:400},showBottomBar:!1,titleMarginChildren:20,height:48,color:u,activeColor:o,children:r==null?void 0:r.map((l,a)=>s.jsx(he,{indicator:l,fontColor:u,activeColor:o},`indicatorSub-${a}`))})};$e.propTypes={subcategory:e.shape({name:e.string,indicators:e.arrayOf(e.shape({name:e.string,value:e.string}))}),activeColor:e.string};const Ae=({category:i,activeColor:u})=>{const{name:o,subcategories:n,indicators:t}=i||{},{activeCategory:r,fontColor:l}=N(a=>a);return i&&s.jsx(O,{onClick:()=>{N.setState(a=>({activeCategory:r===`id${o}`?"":`id${o}`}))},title:o,isOpen:r===`id${o}`,titleFontStyles:{fontSize:18,fontWeight:"bold"},showBottomBar:!1,color:l,activeColor:u,children:n?n.map((a,c)=>s.jsx($e,{subcategory:a,fontColor:l,activeColor:u},`subcategory-${c}`)):t&&t.map((a,c)=>s.jsx(he,{indicator:a,fontColor:l,activeColor:u},`indicator-${c}`))})};Ae.propTypes={category:e.shape({name:e.string.isRequired,subcategories:e.array,indicators:e.array}),activeColor:e.string};const Oe=({indicators:i,isOpen:u=!0,title:o,fontColor:n="#605B56",inputsColor:t="#605B56",activeColor:r})=>{const{tematicalFiltersSelected:l}=N(c=>c),{t:a}=w.useTranslation();return y.useEffect(()=>{n&&N.setState(()=>({fontColor:n}))},[n]),y.useEffect(()=>{t&&N.setState(()=>({inputsColor:t}))},[t]),s.jsx(O,{isOpen:u,title:o?a(o):"Tematical filters",color:n,activeColor:r,children:i==null?void 0:i.map((c,d)=>s.jsx(Ae,{category:c,fontColor:n,activeColor:r},`category-${d}`))})};Oe.propTypes={isOpen:e.bool,title:e.string,indicators:e.arrayOf(e.object),fontColor:e.string,onChangeTematicalFilters:e.func,inputsColor:e.string,activeColor:e.string};const rs="_FiltersAmbitContainer_6o4gt_2",as="_FiltersAmbitHeader_6o4gt_7",ls="_FiltersAmbitTitle_6o4gt_15",cs="_FiltersAmbitDescription_6o4gt_22",us="_FiltersAmbitDescriptionTitle_6o4gt_33",G={FiltersAmbitContainer:rs,FiltersAmbitHeader:as,FiltersAmbitTitle:ls,FiltersAmbitDescription:cs,FiltersAmbitDescriptionTitle:us},Re=({ambitName:i,ambitDescription:u,defaultFilters:o,indicators:n,activeColor:t,textColor:r,backgroundColor:l,onChangeAppliedFilters:a,saveAmbit:c,namePlaceholder:d,descPlaceholder:p})=>{const{t:m}=w.useTranslation(),{tematicalFiltersSelected:h}=N(b=>b),[f,g]=y.useState(i||m(d)),[C,x]=y.useState(u||m(p));return y.useEffect(()=>{o&&o.length>0&&N.setState(b=>({tematicalFiltersSelected:o}))},[o]),y.useEffect(()=>{console.log("filtersSelected changed: ",h),a(h)},[h]),s.jsxs("div",{className:G.FiltersAmbitContainer,children:[s.jsxs("div",{className:G.FiltersAmbitHeader,children:[s.jsx("div",{className:G.FiltersAmbitTitle,children:s.jsx("input",{type:"text",onChange:b=>g(b.target.value),value:f})}),s.jsx("div",{className:G.FiltersAmbitDescription,children:s.jsx("div",{className:G.FiltersAmbitDescriptionTitle,children:s.jsx("textarea",{value:C,onChange:b=>x(b.target.value)})})})]}),s.jsx(Le,{title:m("applied_filters"),isOpen:!0,textColor:r||"#fff",backgroundColor:l||"#605B5680",activeColor:t}),s.jsx(Be,{activeColor:t}),s.jsx(Oe,{indicators:n,inputsColor:t,textColor:r,title:"tematical_filters",activeColor:t}),s.jsx("div",{className:"buttonContainer",children:s.jsx(Ne,{onClick:c,children:m("save_ambit")})})]})};Re.propTypes={indicators:e.arrayOf(e.object).isRequired,ambitName:e.string,ambitDescription:e.string,defaultFilters:e.arrayOf(e.object),activeColor:e.string,backgroundColor:e.string,textColor:e.string,onChangeAppliedFilters:e.func,saveAmbit:e.func,namePlaceholder:e.string,descPlaceholder:e.string};const ds="_barChartContainer_d2f1z_2",ps={barChartContainer:ds},Ie=({data:i,width:u=700,barHeight:o=25,gap:n=23,fontColor:t="#605B56",verticalPaddign:r=10,horizontalPaddign:l=20,leftPadding:a=200,numberOfDivisions:c=7,maxValue:d=null})=>{const{t:p}=w.useTranslation(),{xScale:m,ticks:h,height:f}=y.useMemo(()=>{if(i&&i.length>0){const g=(i==null?void 0:i.length)*(o+n)+r*2,C=be.max(i,v=>v.value)||1,x=be.scaleLinear().domain([0,d||C]).range([0,u-a]),b=Array.from({length:c+1},(v,j)=>d?d/c*j:C/c*j);return{xScale:x,ticks:b,height:g,width:u,verticalPaddign:r,horizontalPaddign:l}}else return{xScale:null,ticks:[],height:0}},[i,u,c,o,n,l,r,d]);return s.jsx("div",{className:ps.barChartContainer,children:s.jsx("svg",{width:u+l*2,height:f,children:s.jsxs("g",{transform:`translate(0,${n})`,children:[s.jsx("g",{transform:`translate(${a+l}, 0)`,children:h.map((g,C)=>{const x=m(g);return s.jsxs("g",{transform:`translate(${x}, 0)`,children:[s.jsx("line",{y1:0,y2:f-n*2,stroke:"#ccc"}),s.jsx("text",{y:f-n,textAnchor:"middle",fontSize:10,fill:t,children:parseInt(g)})]},C)})}),i&&i.length>0&&(i==null?void 0:i.map((g,C)=>{const x=m(g.value),b=C*(o+n);return s.jsxs("g",{transform:`translate(${a+l}, ${b})`,children:[s.jsx("text",{x:-24,y:o/2+5,textAnchor:"end",fill:t,children:p(g.title)}),s.jsx("rect",{width:x,height:o,fill:g.color,rx:0})]},C)}))]})})})};Ie.propTypes={data:e.arrayOf(e.shape({title:e.string,value:e.number,color:e.string})),width:e.number,barHeight:e.number,gap:e.number,verticalPaddign:e.number,horizontalPaddign:e.number,numberOfDivisions:e.number,fontColor:e.string};const ms="_graphicContainer_c9zrg_2",hs="_titleContainer_c9zrg_14",ye={graphicContainer:ms,titleContainer:hs},Ve=({data:i,graphWidth:u=700,containerStyle:o,borderColor:n="#605B56",title:t="Graphic Title",fontColor:r="#605B56",maxValue:l=null,numberOfDivisions:a=7,leftPadding:c=200})=>{const{t:d}=w.useTranslation();return s.jsxs("div",{className:ye.graphicContainer,style:{...o||{},border:`1.5px solid ${n}`},children:[s.jsx("div",{className:ye.titleContainer,children:s.jsx("h2",{children:d(t)})}),s.jsx(Ie,{data:i,width:u,fontColor:r,maxValue:l,numberOfDivisions:a,leftPadding:c})]})};Ve.propTypes={data:e.arrayOf(e.shape({color:e.string.isRequired,value:e.number.isRequired,title:e.string.isRequired})),borderColor:e.string,title:e.string,graphWidth:e.number,containerStyle:e.object,fontColor:e.string,maxValue:e.number,numberOfDivisions:e.number,leftPadding:e.number};const gs="_indicatorsCategory_1cu33_2",Cs="_title_1cu33_5",bs="_list_1cu33_11",re={indicatorsCategory:gs,title:Cs,list:bs},fs="_indicatorContainer_lw8gx_2",xs="_indicatorNameContainer_lw8gx_11",ys="_dot_lw8gx_20",vs="_indicatorName_lw8gx_11",_s="_switchExternalContainer_lw8gx_31",js="_switchType_lw8gx_40",ws="_switchTypeOptions_lw8gx_44",ks="_optionContainer_lw8gx_55",Ss="_customRadious_lw8gx_65",Ns="_optionText_lw8gx_72",S={indicatorContainer:fs,indicatorNameContainer:xs,dot:ys,indicatorName:vs,switchExternalContainer:_s,switchType:js,switchTypeOptions:ws,optionContainer:ks,customRadious:Ss,optionText:Ns},ge=({indicator:i,values:u=[],activeColor:o,defaultColor:n="#92898A",activeIndicator:t,activeIndicatorType:r,onClickIndicator:l,multiple:a=!1,onChangeType:c})=>{const{t:d}=w.useTranslation(),{name:p,type:m}=i,[h,f]=y.useState(!1);y.useEffect(()=>{t&&f(a?t.some(x=>x.name==String(p)):t.name==p)},[t]);const g=()=>s.jsx("div",{className:S.switchExternalContainer,children:s.jsx("div",{className:S.switchType,children:s.jsxs("div",{className:S.switchTypeOptions,children:[s.jsxs("div",{className:S.optionContainer,onClick:()=>c("cat"),children:[s.jsx("span",{className:`${S.customRadious}`,style:{backgroundColor:r==="cat"?o:"transparent",borderColor:r==="cat"?o:n}}),s.jsx("h4",{className:S.optionText,style:{color:r==="cat"?o:n},children:d("indicators.cat")})]}),s.jsxs("div",{className:S.optionContainer,onClick:()=>c("abs"),children:[s.jsx("span",{className:`${S.customRadious}`,style:{backgroundColor:r==="abs"?o:"transparent",borderColor:r==="abs"?o:n}}),s.jsx("h4",{className:S.optionText,style:{color:r==="abs"?o:n},children:d("indicators.abs")})]})]})})}),C=()=>s.jsx("div",{className:S.switchExternalContainer,children:s.jsx("div",{className:S.switchType,children:s.jsx("div",{className:S.switchTypeOptions,children:u.map((x,b)=>s.jsxs("div",{className:S.optionContainer,children:[s.jsx("span",{className:S.customRadious}),s.jsx("h4",{children:d(x.unit)})]},b))})})});return s.jsxs("div",{className:S.indicatorContainer,children:[s.jsxs("div",{className:S.indicatorNameContainer,onClick:()=>l({indicator:i}),children:[s.jsx("div",{style:{border:h?`1px solid ${o}`:`1px solid ${n}`},className:S.dot}),s.jsx("h4",{className:S.indicatorName,style:{color:h?o:n},children:s.jsx(w.Trans,{i18nKey:p,components:{sup:s.jsx("sup",{})}})})]}),(t==null?void 0:t.name)===p&&m==="both"&&s.jsx("div",{children:g()}),(t==null?void 0:t.name)===p&&m==="twoUnits"&&s.jsx("div",{children:C()})]})};ge.propTypes={indicator:e.shape({name:e.string,type:e.string}),values:e.oneOfType([e.bool,e.array]),activeColor:e.string,defaultColor:e.string,activeIndicator:e.oneOfType([e.object,e.array]),multiple:e.bool,onClickIndicator:e.func};const Ts="_indicatorsSubCategory_1dzsi_2",Ms="_list_1dzsi_8",ve={indicatorsSubCategory:Ts,list:Ms},Pe=({subcName:i,indicators:u,defaultColor:o,activeColor:n,activeSubCategory:t,onClickSubCategory:r,id:l,activeIndicator:a,onClickIndicator:c,multiple:d,activeIndicatorType:p,onChangeType:m})=>{const{t:h}=w.useTranslation(),[f,g]=y.useState(!1);return y.useEffect(()=>{g(t==l)},[t,l]),s.jsxs(pe.motion.div,{className:ve.indicatorsSubCategory,initial:{height:"43px"},animate:{height:f?"auto":"43px"},transition:{duration:.4},children:[s.jsx("button",{onClick:()=>r(l),children:s.jsxs("h3",{style:{color:f?n:o},children:[s.jsx("span",{style:{color:f?n:o},children:f?"-":"+"}),s.jsx("span",{style:{marginLeft:12,color:f?n:o},children:h(i)})]})}),u&&s.jsx("div",{className:ve.list,children:u==null?void 0:u.map((C,x)=>s.jsx(ge,{indicator:C,defaultColor:o,activeColor:n,activeIndicator:a,onClickIndicator:c,multiple:d,activeIndicatorType:p,onChangeType:m},"indicator"+x))})]})};Pe.propTypes={subcName:e.string,indicators:e.array,activeColor:e.string,defaultColor:e.string,activeSubCategory:e.string,id:e.string,activeIndicator:e.oneOfType([e.object,e.array]),multiple:e.bool,onClickSubCategory:e.func,onClickIndicator:e.func};const qe=({cat:i,id:u,activeColor:o,defaultColor:n,onClickCategory:t,activeCategory:r,activeSubCategory:l,onClickSubCategory:a,activeIndicator:c,onClickIndicator:d,multiple:p,activeIndicatorType:m,onChangeType:h})=>{var x;const{t:f}=w.useTranslation(),[g,C]=y.useState(!1);return y.useEffect(()=>{C(r===u)},[r,u]),s.jsxs(pe.motion.div,{className:re.indicatorsCategory,initial:{height:"53px"},animate:{height:g?"auto":"53px"},transition:{duration:.4},style:{backgroundColor:"white",borderBottom:g?`1px solid ${o}`:"0px",marginBottom:g?"20px":"0px"},children:[s.jsxs("h2",{className:`${re.title}`,onClick:()=>t(u),children:[s.jsx("span",{style:{color:g?o:n},children:g?"-":"+"}),s.jsx("span",{style:{marginLeft:12,color:g?o:n},children:f(i.name)})]}),i.subcategories?i.subcategories.map(({name:b,subcategory:v,indicators:j},_)=>s.jsx(Pe,{id:v,activeSubCategory:l,subcName:b,onClickSubCategory:a,activeIndicator:c,onClickIndicator:d,multiple:p,activeColor:o,defaultColor:n,indicators:j,activeIndicatorType:m,onChangeType:h},`subcKey ${_}`)):s.jsx("div",{className:re.list,children:(x=i.indicators)==null?void 0:x.map((b,v)=>s.jsx(ge,{indicator:b,values:b.type=="twoUnits"&&b.values,activeColor:o,defaultColor:n,activeIndicator:c,onClickIndicator:d,multiple:p,activeIndicatorType:m,onChangeType:h},`indicator${v}`))})]})};qe.propTypes={cat:e.object,id:e.string,onChange:e.func,onClickCategory:e.func,activeCategory:e.string,activeSubCategory:e.string,onClickSubCategory:e.func,onClickIndicator:e.func,activeIndicator:e.oneOfType([e.object,e.array]),multiple:e.bool,activeColor:e.string,defaultColor:e.string};const Ls="_indicatorsList_fklyu_2",Bs="_title_fklyu_6",_e={indicatorsList:Ls,title:Bs},Ee=({indicators:i,activeColor:u,defaultColor:o="#92898A",onChange:n,multiple:t=!1,defaultValue:r=null,changeIndType:l,activeIndicatorType:a})=>{const{t:c}=w.useTranslation(),[d,p]=y.useState(),[m,h]=y.useState(),[f,g]=y.useState(),C=_=>{p(d==_?null:_)},x=_=>{h(m==_?null:_)},b=({indicator:_})=>{console.log("onClickIndicator: ",_),v(_)},v=_=>{if(!t)g((f==null?void 0:f.name)==_.name?null:_);else{let k=f&&f.length>0?[...f]:[];g(k!=null&&k.some(B=>B.name==_.name)?k.filter(B=>B.name!=String(_.name)):[...k,_]),_.type=="both"&&l("cat")}};y.useEffect(()=>{console.log("activeindicator changed to: ",f),n&&typeof n=="function"&&f&&n({activeIndicator:f})},[f]),y.useLayoutEffect(()=>{if(r&&!f)if(t&&r&&Array.isArray(r)){let _=f&&f.length>0?[...f]:[];g([..._,...r]),j(r[0].name)}else v(r),j(r.name)},[]);const j=_=>{const k=i.find(B=>{if(B.subcategories){let F=B.subcategories.find(te=>te.indicators.find(K=>K.name==_));if(F)return h(F.subcategory),F}else return B.indicators.some(F=>F.name==_)});k&&p(k.category)};return s.jsxs("div",{className:_e.indicatorsList,children:[s.jsx("h2",{className:_e.title,style:{color:o},children:c("indicators.indicators")}),i.map((_,k)=>s.jsx(qe,{id:_.category,cat:_,onClickCategory:C,activeCategory:d,onClickSubCategory:x,activeSubCategory:m,onClickIndicator:b,activeIndicator:f,activeColor:u,defaultColor:o,multiple:t,onChange:n,onChangeType:l,activeIndicatorType:a},`categoryKey${k}`))]})};Ee.propTypes={indicators:e.arrayOf(e.object),activeColor:e.string,defaultColor:e.string,onChange:e.func,changeIndType:e.func,multiple:e.bool,activeIndicator:e.oneOfType([e.object,e.array]),defaultValue:e.oneOfType([e.object,e.array]),activeIndicatorType:e.string};const Fs="_langSelector_o9enq_2",Ds="_currentLang_o9enq_14",$s="_arrow_o9enq_26",As="_prevImg_o9enq_29",Os="_langMenu_o9enq_33",z={langSelector:Fs,currentLang:Ds,arrow:$s,prevImg:As,langMenu:Os},ze=({langs:i,arrow:u,imgPrev:o})=>{const[n,t]=y.useState(!1),{i18n:r}=w.useTranslation(),l=i.find(c=>c.code==r.language),a=c=>{r.changeLanguage(c),t(!1)};return s.jsxs("div",{className:z.langSelector,children:[s.jsxs("div",{className:z.currentLang,onClick:()=>{t(!n)},children:[o&&s.jsx("img",{className:z.prevImg,src:o}),(l==null?void 0:l.titleSelected)||(l==null?void 0:l.title),s.jsx("img",{src:u,className:z.arrow})]}),n&&s.jsx("div",{className:z.langMenu,children:i.map(c=>s.jsx("button",{className:(l==null?void 0:l.code)==c.code?z.active:"",onClick:()=>a(c.code),children:c.title},c.code))})]})};ze.propTypes={langs:e.arrayOf(e.shape({code:e.string,title:e.string,titleSelected:e.string})),color:e.string,bckColor:e.string,hoverColor:e.string,arrow:e.object,imgPrev:e.object};const Rs="_legendContainer_atg3j_3",Is="_closeButton_atg3j_18",Vs="_titleContainer_atg3j_46",Ps="_infoContainer_atg3j_52",qs="_titleLegendList_atg3j_63",Es="_legendListContainer_atg3j_70",zs="_gridContainer_atg3j_70",Ks="_elementLegendContainer_atg3j_76",Us="_colorDot_atg3j_82",Zs="_absoluteValueContainer_atg3j_88",Hs="_absoluteValueColor_atg3j_91",Gs="_absoluteValueText_atg3j_96",Ys="_moreInfoContainer_atg3j_108",T={legendContainer:Rs,closeButton:Is,titleContainer:Vs,infoContainer:Ps,titleLegendList:qs,legendListContainer:Es,gridContainer:zs,elementLegendContainer:Ks,colorDot:Us,absoluteValueContainer:Zs,absoluteValueColor:Hs,absoluteValueText:Gs,moreInfoContainer:Ys},Ke=({containerStyles:i,title:u,infoList:o,legendList:n,legendListTitle:t,absoluteValue:r,onClickMoreInfo:l,buttonTitle:a,onClickClose:c})=>{const{t:d}=w.useTranslation();return s.jsxs("div",{style:i?{...i}:{},className:`${T.legendContainer}`,children:[s.jsx("button",{className:T.closeButton,onClick:c}),u&&s.jsx("div",{className:T.titleContainer,children:s.jsx("h2",{children:u})}),o&&o.length>0&&s.jsx("div",{className:T.infoContainer,children:s.jsx("ul",{children:o.map(({title:p,value:m})=>s.jsxs("li",{children:[s.jsx("h3",{className:T.title,children:`${p}:`}),s.jsxs("span",{className:T.value,children:[" ",m]})]},u))})}),s.jsx("h3",{className:T.titleLegendList,children:t?s.jsx(w.Trans,{i18nKey:t,components:{sup:s.jsx("sup",{})}}):d("mainUse")}),s.jsx("div",{className:T.legendListContainer,children:r?s.jsxs("div",{className:T.absoluteValueContainer,children:[s.jsx("div",{className:T.absoluteValueColor,style:{background:`linear-gradient(to bottom, ${r.maxColor} 0%, ${r.minColor} 100%)`}}),s.jsxs("div",{className:T.absoluteValueText,children:[s.jsxs("span",{children:[r.maxValue," ",d(r.unit)]}),s.jsxs("span",{children:[r.minValue," ",d(r.unit)]})]})]}):n&&n.length>0&&s.jsx("div",{className:T.gridContainer,children:n.map(({title:p,color:m})=>s.jsxs("div",{className:T.elementLegendContainer,children:[s.jsx("div",{className:T.colorDot,style:{backgroundColor:m}}),s.jsxs("div",{className:T.titleLegendElement,children:[d(p)," "]})]},u))})}),l&&s.jsx("button",{className:T.moreInfoContainer,onClick:l,children:a||d("moreInformation")})]})};Ke.propTypes={title:e.string,containerStyles:e.object,infoList:e.arrayOf(e.shape({title:e.string.isRequired,value:e.oneOfType([e.string,e.number])})),legendList:e.arrayOf(e.shape({title:e.string,color:e.string})),legendListTitle:e.string,absoluteValue:e.shape({maxColor:e.string,minColor:e.string,maxValue:e.number,minValue:e.number}),onClickMoreInfo:e.func,buttonTitle:e.string,onClickClose:e.func};const Ws="_logo_1ewa6_2",je={logo:Ws},Ue=({src:i,alt:u,href:o})=>{const{t:n}=w.useTranslation(),t=s.jsx("img",{src:i,alt:n(u)});return o?s.jsx("div",{className:je.logo,children:s.jsx("a",{href:o,children:t})}):s.jsx("div",{className:je.logo,children:t})};Ue.propTypes={src:e.string.isRequired,alt:e.string.isRequired,href:e.string,className:e.string};const Xs="_mapContainer_84pkf_2",Js={mapContainer:Xs};st.accessToken="pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";const Ze=({initialView:i={latitude:39.4699,longitude:-.3763,zoom:12},maxZoom:u=17,minZoom:o=8,mapStyle:n,firstSymbolLayer:t,cssProps:r="",onClick:l="",interactiveLayers:a=[],popUp:c=!1,sources:d=[],layers:p=[]})=>{const m=y.useRef(),[h,f]=y.useState(null),g=W.useSelector(C=>C.mapState.showTexts);return y.useEffect(()=>{if(m.current){const C=m.current.getMap();C.getStyle().layers.map(b=>{b.type=="symbol"&&b.id!="professionals"&&(g?C.setLayoutProperty(b.id,"visibility","visible"):C.setLayoutProperty(b.id,"visibility","none"))})}},[g]),s.jsx("div",{className:`${Js.mapContainer}`,style:r,children:s.jsxs(U,{initialViewState:i,ref:m,hash:!1,maxZoom:u,minZoom:o,mapStyle:n,onClick:l,interactiveLayerIds:a,children:[d.length&&d.map((C,x)=>s.jsx(U.Source,{...C,children:p.length&&p.map((b,v)=>{if(b.sourceId==C.id)return s.jsx(U.Layer,{...b.layer,beforeId:t},v)})},x)),s.jsx(U.NavigationControl,{position:"bottom-right",visualizePitch:!0}),c&&h&&s.jsx(U.Popup,{longitude:c.longitude,latitude:c.latitude,anchor:c.anchor,onClose:()=>f(null),children:c.content})]})})};Ze.propTypes={initialView:e.shape({latitude:e.number.isRequired,longitude:e.number.isRequired,zoom:e.number.isRequired}),mapStyle:e.object,firstSymbolLayer:e.string,cssProps:e.object,style:e.object,maxZoom:e.number,minZoom:e.number,onClick:e.func,interactiveLayers:e.array,popUp:e.shape({latitude:e.number,longitude:e.number,anchor:e.string,content:e.element}),textsUrl:e.string,sources:e.arrayOf(e.shape({id:e.string,type:e.string,url:e.string,data:e.object})),layers:e.arrayOf(e.shape({sourceId:e.string,layer:e.shape({id:e.string,type:e.string,sourceLayer:e.string,minZoom:e.number,maxZoom:e.number,paint:e.object})}))};const Qs="_mapContainer_b0pyr_3",en={mapContainer:Qs},tn="_FeaturePopUp_1gd6w_2",sn="_title_1gd6w_2",we={FeaturePopUp:tn,title:sn},nn=({props:i})=>{const{t:u}=w.useTranslation();return s.jsx("div",{className:we.FeaturePopUp,children:i.map(o=>s.jsxs("p",{children:[s.jsxs("span",{className:we.title,children:[s.jsx(w.Trans,{i18nKey:o.name,components:{sup:s.jsx("sup",{})}}),": "]}),o.value.toLocaleString("de",{maximumFractionDigits:2})," ",u(o.unit)]}))})},He=({initialView:i={latitude:39.4699,longitude:-.3763,zoom:12},maxZoom:u=17,minZoom:o=8,mapStyle:n,firstSymbolLayer:t,cssProps:r={},onClick:l="",interactiveLayers:a=[],sources:c=[],layers:d=[],filters:p,popUpParams:m,onClosePopUp:h,showTexts:f})=>{console.log(p);const g=y.useRef();return y.useEffect(()=>{if(g.current){const C=g.current.getMap();C.getStyle().layers.map(b=>{b.type=="symbol"&&b.id!="professionals"&&(f?C.setLayoutProperty(b.id,"visibility","visible"):C.setLayoutProperty(b.id,"visibility","none"))})}},[f]),y.useEffect(()=>{let C=new nt.Protocol;return se.addProtocol("pmtiles",C.tile),()=>{se.removeProtocol("pmtiles")}},[]),s.jsx("div",{className:`${en.mapContainer}`,style:r&&r,children:s.jsxs(Z,{mapLib:se,initialViewState:i,ref:g,hash:!1,maxZoom:u,minZoom:o,mapStyle:n,onClick:l,interactiveLayerIds:a,children:[c.length&&c.map((C,x)=>s.jsx(Z.Source,{...C,children:d.length&&d.map((b,v)=>{if(b.sourceId==C.id)return s.jsx(Z.Layer,{...b.layer,beforeId:t,filter:p&&p},v)})},x)),s.jsx(Z.NavigationControl,{position:"bottom-right",visualizePitch:!0}),m&&s.jsx(Z.Popup,{longitude:m.lng,latitude:m.lat,onClose:h,children:s.jsx(nn,{props:m.props})})]})})};He.propTypes={initialView:e.shape({latitude:e.number.isRequired,longitude:e.number.isRequired,zoom:e.number.isRequired}),mapStyle:e.string,firstSymbolLayer:e.string,cssProps:e.object,style:e.object,maxZoom:e.number,minZoom:e.number,onClick:e.func,interactiveLayers:e.array,popUp:e.bool,sources:e.arrayOf(e.shape({id:e.string,type:e.string,url:e.string,data:e.object})),layers:e.arrayOf(e.shape({sourceId:e.string,layer:e.shape({id:e.string,type:e.string,sourceLayer:e.string,minZoom:e.number,maxZoom:e.number,paint:e.object})})),showTexts:e.bool,filters:e.array,popUpParams:e.object,onClosePopUp:e.func};const on="_sectionBar_1egwc_2",rn="_leftContent_1egwc_14",an="_textContainer_1egwc_20",ln="_title_1egwc_27",cn="_subtitle_1egwc_33",un="_rightContent_1egwc_38",V={sectionBar:on,leftContent:rn,textContainer:an,title:ln,subtitle:cn,rightContent:un},dn=({leftIcon:i,title:u,subtitle:o,rightContent:n,mainColor:t,width:r})=>{const{t:l}=w.useTranslation();return s.jsxs("div",{className:V.sectionBar,style:{width:r&&r},children:[s.jsxs("div",{className:V.leftContent,children:[i&&s.jsx("img",{src:i,alt:"Icono",className:V.icon}),s.jsxs("div",{className:V.textContainer,children:[s.jsx("div",{className:V.title,children:l(u)}),o&&s.jsx("div",{className:V.subtitle,children:o})]})]}),s.jsx("div",{className:V.rightContent,children:n})]})},pn=ke.createSlice({name:"mapSlice",initialState:{showTexts:!0,sliderSelectedYear:2025,activeIndicatorKey:0,activeIndicatorType:"cat",activeIndicatorUnit:null},reducers:{setShowTexts:(i,u)=>{i.showTexts=u.payload},setYear:(i,u)=>{i.sliderSelectedYear=u.payload},setActiveIndicatorKey:(i,u)=>{i.activeIndicatorKey=u.payload},setActiveIndicatorType:(i,u)=>{i.activeIndicatorType=u.payload},setActiveIndicatorUnit:(i,u)=>{i.activeIndicatorUnit=u.payload}}}),{setShowTexts:On,setYear:ae,setActiveIndicatorKey:Rn,setActiveIndicatorType:In,setActiveIndicatorUnit:Vn}=pn.actions,mn="data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e",hn="data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e",gn="_slider_a19yo_2",Cn="_playButton_a19yo_17",bn="_sliderOpen_a19yo_28",fn="_sliderResults_a19yo_32",Y={slider:gn,playButton:Cn,sliderOpen:bn,sliderResults:fn},Ge=({onResults:i=!1,defaultYear:u=2025,firstYear:o=2025,lastYear:n=2050,zIndex:t=10,rightBarOpen:r=!1})=>{const[l,a]=y.useState(u),c=W.useDispatch(),d=(b,v)=>{a(v),c(ae(v-2e3))},[p,m]=y.useState(!1),h=()=>{m(!0)},f=()=>{m(!1)};((b,v)=>{const j=y.useRef();y.useEffect(()=>{j.current=b},[b]),y.useEffect(()=>{function _(){j.current()}{let k=setInterval(_,v);return()=>clearInterval(k)}},[v])})(()=>{p&&(l!=2050?(a(l+1),c(ae(l-2e3+1))):(a(2025),c(ae(25))))},1e3);const C=Ce.createTheme({palette:{primary:{main:"#605b56"}},components:{MuiSlider:{styleOverrides:{mark:{height:10,backgroundColor:"#605b56"},valueLabel:{backgroundColor:"transparent",color:"#605b56",padding:0,top:3}}}}}),x=[{label:"",value:2025},{label:"",value:2032},{label:"",value:2041},{label:"",value:2050}];return s.jsx(ot.ThemeProvider,{theme:C,children:s.jsxs(Ce.Box,{sx:{width:400},className:`${i?Y.sliderResults:Y.slider} ${r?Y.sliderOpen:""}`,style:{zIndex:t},children:[o,s.jsx(it,{"aria-label":"TimeSlider",value:l,valueLabelDisplay:"on",step:1,marks:x,min:o,max:n,onChange:d,color:"primary",size:"small"}),n,!p&&s.jsx("button",{className:Y.playButton,onClick:h,children:s.jsx("img",{src:mn,alt:"Play"})}),p&&s.jsx("button",{className:Y.playButton,onClick:f,children:s.jsx("img",{src:hn,alt:"Pause"})})]})})};Ge.propTypes={defaultYear:e.number,onResults:e.bool,firstYear:e.number,lastYear:e.number,zIndex:e.number,rightBarOpen:e.bool};const xn="_TopNavMenuContainer_12mp4_2",yn="_topNavOptions_12mp4_13",vn="_active_12mp4_27",le={TopNavMenuContainer:xn,topNavOptions:yn,active:vn},Ye=({options:i=[],containerStyles:u,borderColor:o="red",textColor:n="white"})=>{const{t}=w.useTranslation();return s.jsx("div",{className:le.TopNavMenuContainer,style:{...u},children:i.map((r,l)=>s.jsx(rt.NavLink,{to:r.url,className:({isActive:a})=>`${le.topNavOptions} ${a?le.active:""} `,style:({isActive:a})=>({color:n,borderBottom:a?`5px solid ${o}`:"5px solid transparent"}),children:t(r.name)},l))})};Ye.propTypes={options:e.arrayOf(e.object),cssProps:e.shape({borderColor:e.string.isRequired,textColor:e.string.isRequired})};const _n=ke.createSlice({name:"userSlice",initialState:{user:{isLoggedIn:!1,username:""},showLogIn:!1,showUserMenu:!1},reducers:{setShowLogIn:(i,u)=>{i.showLogIn=u.payload},setShowUserMenu:(i,u)=>{i.showUserMenu=u.payload}}}),{setShowLogIn:jn,setShowUserMenu:wn}=_n.actions,kn="_UserMenuTrigger_uglss_2",Sn={UserMenuTrigger:kn},We=({cssClass:i,loginLocale:u="login",containerStyles:o})=>{const n=W.useDispatch(),t=W.useSelector(c=>c.userState.user.isLoggedIn),r=W.useSelector(c=>c.userState.user.username),{t:l}=w.useTranslation(),a=()=>{n(t?jn(!0):wn(!0))};return s.jsx("div",{style:{...o},className:`${Sn.UserMenuTrigger} link ${i}`,onClick:a,children:t?r:l(u)})};We.propTypes={onClickLoggedIn:e.func.isRequired,onClickLoggedOut:e.func.isRequired,log:e.bool,name:e.string,cssClass:e.string,loginLocale:e.string};const Nn="_header_13kbt_2",Tn="_leftComponents_13kbt_13",Mn="_centerComponents_13kbt_14",Ln="_rightComponents_13kbt_15",Bn="_componentsContainer_13kbt_32",P={header:Nn,leftComponents:Tn,centerComponents:Mn,rightComponents:Ln,componentsContainer:Bn},Xe=({cssProps:i,leftComponents:u=[],centerComponents:o=[],rightComponents:n=[],zIndex:t=10,height:r=60,backgroundColor:l="#605B56"})=>s.jsxs("div",{className:P.header,style:{...i,zIndex:t,height:r,backgroundColor:l},children:[s.jsx("div",{className:P.leftComponents,children:u.map((a,c)=>s.jsx("div",{className:P.componentsContainer,children:a},c))}),s.jsx("div",{className:P.centerComponents,children:o.map((a,c)=>s.jsx("div",{className:P.componentsContainer,children:a},c))}),s.jsx("div",{className:P.rightComponents,children:n.map((a,c)=>s.jsx("div",{className:P.componentsContainer,children:a},c))})]});Xe.propTypes={leftComponents:e.arrayOf(e.node),centerComponents:e.arrayOf(e.node),rightComponents:e.arrayOf(e.node)};const Fn="_sidebar_1jqo2_2",Dn="_open_1jqo2_16",$n="_content_1jqo2_20",An="_closeButton_1jqo2_26",ee={sidebar:Fn,open:Dn,content:$n,closeButton:An},Je=({width:i="300px",children:u,showRightBar:o,onCloseBar:n})=>{const t=()=>{n()};return s.jsx("div",{className:`${ee.sidebar} ${o?ee.open:""}`,style:{width:o?i:0},children:o&&s.jsxs("div",{className:ee.content,children:[s.jsx("button",{className:ee.closeButton,onClick:t,children:"×"}),u]})})};Je.propTypes={width:e.string,children:e.node,showRightBar:e.bool,onCloseBar:e.func};exports.AmbitSelector=Te;exports.ButtonsList=Me;exports.DropdownList=O;exports.EditAmbit=Et;exports.FiltersAmbit=Re;exports.Graphic=Ve;exports.HeaderSection=Xe;exports.IndicatorsList=Ee;exports.LangSelector=ze;exports.Legend=Ke;exports.LogoApp=Ue;exports.MapboxMap=Ze;exports.MaplibreMap=He;exports.RightSidebar=Je;exports.SectionBar=dn;exports.TimeSlider=Ge;exports.Tooltip=me;exports.TopNavMenu=Ye;exports.UserMenuTrigger=We;
|