ecars-web-lib 1.0.6 → 1.0.7
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/_virtual/index.js +2 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index2.js +2 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/components/Accordion/AccordionComponent.js +2 -0
- package/dist/components/Accordion/AccordionComponent.js.map +1 -0
- package/dist/components/Accordion/components/AccordionArrow.js +2 -0
- package/dist/components/Accordion/components/AccordionArrow.js.map +1 -0
- package/dist/components/Accordion/components/AccordionBlock.js +2 -0
- package/dist/components/Accordion/components/AccordionBlock.js.map +1 -0
- package/dist/components/Accordion/components/AccordionButton.js +2 -0
- package/dist/components/Accordion/components/AccordionButton.js.map +1 -0
- package/dist/components/Accordion/components/AccordionContent.js +2 -0
- package/dist/components/Accordion/components/AccordionContent.js.map +1 -0
- package/dist/components/Accordion/components/AccordionLayout.js +2 -0
- package/dist/components/Accordion/components/AccordionLayout.js.map +1 -0
- package/dist/components/Accordion/components/AccordionTitle.js +2 -0
- package/dist/components/Accordion/components/AccordionTitle.js.map +1 -0
- package/dist/components/Accordion/constants.js +2 -0
- package/dist/components/Accordion/constants.js.map +1 -0
- package/dist/components/Accordion/index.js +2 -0
- package/dist/components/Accordion/index.js.map +1 -0
- package/dist/components/Button/Button.js +2 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Button/constants.js +2 -0
- package/dist/components/Button/constants.js.map +1 -0
- package/dist/components/ButtonWithIcon/ButtonWithIcon.js +2 -0
- package/dist/components/ButtonWithIcon/ButtonWithIcon.js.map +1 -0
- package/dist/components/ButtonWithIcon/constants.js +2 -0
- package/dist/components/ButtonWithIcon/constants.js.map +1 -0
- package/dist/components/Category/Category.js +2 -0
- package/dist/components/Category/Category.js.map +1 -0
- package/dist/components/Category/constants.js +2 -0
- package/dist/components/Category/constants.js.map +1 -0
- package/dist/components/Checkbox/CheckboxComponent.js +2 -0
- package/dist/components/Checkbox/CheckboxComponent.js.map +1 -0
- package/dist/components/Checkbox/components/CheckboxBlock.js +2 -0
- package/dist/components/Checkbox/components/CheckboxBlock.js.map +1 -0
- package/dist/components/Checkbox/components/CheckboxIndicator.js +2 -0
- package/dist/components/Checkbox/components/CheckboxIndicator.js.map +1 -0
- package/dist/components/Checkbox/components/CheckboxInput.js +2 -0
- package/dist/components/Checkbox/components/CheckboxInput.js.map +1 -0
- package/dist/components/Checkbox/constants.js +2 -0
- package/dist/components/Checkbox/constants.js.map +1 -0
- package/dist/components/Checkbox/index.js +2 -0
- package/dist/components/Checkbox/index.js.map +1 -0
- package/dist/components/Dropdown/DropdownComponent.js +2 -0
- package/dist/components/Dropdown/DropdownComponent.js.map +1 -0
- package/dist/components/Dropdown/components/DropdownBlock.js +2 -0
- package/dist/components/Dropdown/components/DropdownBlock.js.map +1 -0
- package/dist/components/Dropdown/components/DropdownCategory.js +2 -0
- package/dist/components/Dropdown/components/DropdownCategory.js.map +1 -0
- package/dist/components/Dropdown/components/DropdownList.js +2 -0
- package/dist/components/Dropdown/components/DropdownList.js.map +1 -0
- package/dist/components/Dropdown/components/DropdownOption.js +2 -0
- package/dist/components/Dropdown/components/DropdownOption.js.map +1 -0
- package/dist/components/Dropdown/constants.js +2 -0
- package/dist/components/Dropdown/constants.js.map +1 -0
- package/dist/components/Dropdown/index.js +2 -0
- package/dist/components/Dropdown/index.js.map +1 -0
- package/dist/components/FavButton/FavButton.js +2 -0
- package/dist/components/FavButton/FavButton.js.map +1 -0
- package/dist/components/FavButton/constants.js +2 -0
- package/dist/components/FavButton/constants.js.map +1 -0
- package/dist/components/Field/FieldComponent.js +2 -0
- package/dist/components/Field/FieldComponent.js.map +1 -0
- package/dist/components/Field/components/FieldError.js +2 -0
- package/dist/components/Field/components/FieldError.js.map +1 -0
- package/dist/components/Field/components/FieldLabel.js +2 -0
- package/dist/components/Field/components/FieldLabel.js.map +1 -0
- package/dist/components/Field/constants.js +2 -0
- package/dist/components/Field/constants.js.map +1 -0
- package/dist/components/Field/index.js +2 -0
- package/dist/components/Field/index.js.map +1 -0
- package/dist/components/FilterAccordion/FilterAccordionComponent.js +2 -0
- package/dist/components/FilterAccordion/FilterAccordionComponent.js.map +1 -0
- package/dist/components/FilterAccordion/components/FilterAccordionArrow.js +2 -0
- package/dist/components/FilterAccordion/components/FilterAccordionArrow.js.map +1 -0
- package/dist/components/FilterAccordion/components/FilterAccordionBlock.js +2 -0
- package/dist/components/FilterAccordion/components/FilterAccordionBlock.js.map +1 -0
- package/dist/components/FilterAccordion/components/FilterAccordionContent.js +2 -0
- package/dist/components/FilterAccordion/components/FilterAccordionContent.js.map +1 -0
- package/dist/components/FilterAccordion/components/FilterAccordionLayout.js +2 -0
- package/dist/components/FilterAccordion/components/FilterAccordionLayout.js.map +1 -0
- package/dist/components/FilterAccordion/components/FilterAccordionReset.js +2 -0
- package/dist/components/FilterAccordion/components/FilterAccordionReset.js.map +1 -0
- package/dist/components/FilterAccordion/constants.js +2 -0
- package/dist/components/FilterAccordion/constants.js.map +1 -0
- package/dist/components/FilterAccordion/index.js +2 -0
- package/dist/components/FilterAccordion/index.js.map +1 -0
- package/dist/components/FilterButton/FilterButton.js +2 -0
- package/dist/components/FilterButton/FilterButton.js.map +1 -0
- package/dist/components/Gallery/Gallery.js +2 -0
- package/dist/components/Gallery/Gallery.js.map +1 -0
- package/dist/components/Input/Input.js +2 -0
- package/dist/components/Input/Input.js.map +1 -0
- package/dist/components/Input/constants.js +2 -0
- package/dist/components/Input/constants.js.map +1 -0
- package/dist/components/LinkWithIcon/LinkWithIcon.js +2 -0
- package/dist/components/LinkWithIcon/LinkWithIcon.js.map +1 -0
- package/dist/components/LinkWithIcon/constants.js +2 -0
- package/dist/components/LinkWithIcon/constants.js.map +1 -0
- package/dist/components/NavLink/NavLink.js +2 -0
- package/dist/components/NavLink/NavLink.js.map +1 -0
- package/dist/components/Pagination/PaginationComponent.js +2 -0
- package/dist/components/Pagination/PaginationComponent.js.map +1 -0
- package/dist/components/Pagination/components/PaginationArrow.js +2 -0
- package/dist/components/Pagination/components/PaginationArrow.js.map +1 -0
- package/dist/components/Pagination/components/PaginationBody.js +2 -0
- package/dist/components/Pagination/components/PaginationBody.js.map +1 -0
- package/dist/components/Pagination/components/PaginationPage.js +2 -0
- package/dist/components/Pagination/components/PaginationPage.js.map +1 -0
- package/dist/components/Pagination/constants.js +2 -0
- package/dist/components/Pagination/constants.js.map +1 -0
- package/dist/components/Pagination/index.js +2 -0
- package/dist/components/Pagination/index.js.map +1 -0
- package/dist/components/RangeSlider/RangeSlider.js +2 -0
- package/dist/components/RangeSlider/RangeSlider.js.map +1 -0
- package/dist/components/RouterLink/RouterLink.js +2 -0
- package/dist/components/RouterLink/RouterLink.js.map +1 -0
- package/dist/components/RouterLink/constants.js +2 -0
- package/dist/components/RouterLink/constants.js.map +1 -0
- package/dist/components/Select/SelectComponent.js +2 -0
- package/dist/components/Select/SelectComponent.js.map +1 -0
- package/dist/components/Select/components/SelectArrow.js +2 -0
- package/dist/components/Select/components/SelectArrow.js.map +1 -0
- package/dist/components/Select/components/SelectBlock.js +2 -0
- package/dist/components/Select/components/SelectBlock.js.map +1 -0
- package/dist/components/Select/components/SelectInput.js +2 -0
- package/dist/components/Select/components/SelectInput.js.map +1 -0
- package/dist/components/Select/components/SelectList.js +2 -0
- package/dist/components/Select/components/SelectList.js.map +1 -0
- package/dist/components/Select/components/SelectOption.js +2 -0
- package/dist/components/Select/components/SelectOption.js.map +1 -0
- package/dist/components/Select/components/SelectWrapper.js +2 -0
- package/dist/components/Select/components/SelectWrapper.js.map +1 -0
- package/dist/components/Select/constants.js +2 -0
- package/dist/components/Select/constants.js.map +1 -0
- package/dist/components/Select/index.js +2 -0
- package/dist/components/Select/index.js.map +1 -0
- package/dist/components/Slider/SliderComponent.js +2 -0
- package/dist/components/Slider/SliderComponent.js.map +1 -0
- package/dist/components/Slider/constants.js +2 -0
- package/dist/components/Slider/constants.js.map +1 -0
- package/dist/components/Slider/index.js +2 -0
- package/dist/components/Slider/index.js.map +1 -0
- package/dist/components/SliderNavigate/SliderNavigate.js +2 -0
- package/dist/components/SliderNavigate/SliderNavigate.js.map +1 -0
- package/dist/components/SliderNavigate/components/NavigateButton.js +2 -0
- package/dist/components/SliderNavigate/components/NavigateButton.js.map +1 -0
- package/dist/components/SliderNavigate/constants.js +2 -0
- package/dist/components/SliderNavigate/constants.js.map +1 -0
- package/dist/index.js +1 -191
- package/dist/index.js.map +1 -1
- package/dist/node_modules/cookie/dist/index.js +2 -0
- package/dist/node_modules/cookie/dist/index.js.map +1 -0
- package/dist/node_modules/react-icons/ai/index.js +2 -0
- package/dist/node_modules/react-icons/ai/index.js.map +1 -0
- package/dist/node_modules/react-icons/fa6/index.js +2 -0
- package/dist/node_modules/react-icons/fa6/index.js.map +1 -0
- package/dist/node_modules/react-icons/io/index.js +2 -0
- package/dist/node_modules/react-icons/io/index.js.map +1 -0
- package/dist/node_modules/react-icons/lib/iconBase.js +2 -0
- package/dist/node_modules/react-icons/lib/iconBase.js.map +1 -0
- package/dist/node_modules/react-icons/lib/iconContext.js +2 -0
- package/dist/node_modules/react-icons/lib/iconContext.js.map +1 -0
- package/dist/node_modules/react-icons/md/index.js +2 -0
- package/dist/node_modules/react-icons/md/index.js.map +1 -0
- package/dist/node_modules/react-router/dist/development/chunk-KNED5TY2.js +13 -0
- package/dist/node_modules/react-router/dist/development/chunk-KNED5TY2.js.map +1 -0
- package/dist/node_modules/swiper/shared/ssr-window.esm.js +2 -0
- package/dist/node_modules/swiper/shared/ssr-window.esm.js.map +1 -0
- package/dist/node_modules/swiper/shared/swiper-core.js +2 -0
- package/dist/node_modules/swiper/shared/swiper-core.js.map +1 -0
- package/dist/node_modules/swiper/shared/update-on-virtual-data.js +2 -0
- package/dist/node_modules/swiper/shared/update-on-virtual-data.js.map +1 -0
- package/dist/node_modules/swiper/shared/update-swiper.js +2 -0
- package/dist/node_modules/swiper/shared/update-swiper.js.map +1 -0
- package/dist/node_modules/swiper/shared/utils.js +2 -0
- package/dist/node_modules/swiper/shared/utils.js.map +1 -0
- package/dist/node_modules/swiper/swiper-react.js +2 -0
- package/dist/node_modules/swiper/swiper-react.js.map +1 -0
- package/dist/services/helpers.js +2 -0
- package/dist/services/helpers.js.map +1 -0
- package/dist/services/hoc/withBlockClass.js +2 -0
- package/dist/services/hoc/withBlockClass.js.map +1 -0
- package/dist/services/hooks/useAccordionHeight.js +2 -0
- package/dist/services/hooks/useAccordionHeight.js.map +1 -0
- package/dist/services/hooks/useClickOutside.js +2 -0
- package/dist/services/hooks/useClickOutside.js.map +1 -0
- package/dist/services/hooks/useMatchMedia.js +2 -0
- package/dist/services/hooks/useMatchMedia.js.map +1 -0
- package/dist/services/icons.js +2 -0
- package/dist/services/icons.js.map +1 -0
- package/dist/services/mocks.js +2 -0
- package/dist/services/mocks.js.map +1 -0
- package/package.json +1 -1
- /package/dist/assets/{index.css → global.css} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,192 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const Fe=require("react"),ge=require("react/jsx-runtime");function eL(i){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const o in i)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(l,o,c.get?c:{enumerable:!0,get:()=>i[o]})}}return l.default=i,Object.freeze(l)}const V=eL(Fe);function s1(i){var l,o,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var p=i.length;for(l=0;l<p;l++)i[l]&&(o=s1(i[l]))&&(c&&(c+=" "),c+=o)}else for(o in i)i[o]&&(c&&(c+=" "),c+=o);return c}function tL(){for(var i,l,o=0,c="",p=arguments.length;o<p;o++)(i=arguments[o])&&(l=s1(i))&&(c&&(c+=" "),c+=l);return c}const Hn=(i="",l,...o)=>{const c=i?`${i}__${l} ${l}`:l;return tL(c,o)},c1=i=>i.charAt(0).toUpperCase()+i.slice(1);var f1={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},fx=Fe.createContext&&Fe.createContext(f1),nL=["attr","size","title"];function rL(i,l){if(i==null)return{};var o=aL(i,l),c,p;if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(i);for(p=0;p<h.length;p++)c=h[p],!(l.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(i,c)&&(o[c]=i[c])}return o}function aL(i,l){if(i==null)return{};var o={};for(var c in i)if(Object.prototype.hasOwnProperty.call(i,c)){if(l.indexOf(c)>=0)continue;o[c]=i[c]}return o}function Yg(){return Yg=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},Yg.apply(this,arguments)}function dx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function qg(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?dx(Object(o),!0).forEach(function(c){iL(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):dx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function iL(i,l,o){return l=lL(l),l in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}function lL(i){var l=oL(i,"string");return typeof l=="symbol"?l:l+""}function oL(i,l){if(typeof i!="object"||!i)return i;var o=i[Symbol.toPrimitive];if(o!==void 0){var c=o.call(i,l);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}function d1(i){return i&&i.map((l,o)=>Fe.createElement(l.tag,qg({key:o},l.attr),d1(l.child)))}function uc(i){return l=>Fe.createElement(uL,Yg({attr:qg({},i.attr)},l),d1(i.child))}function uL(i){var l=o=>{var{attr:c,size:p,title:h}=i,m=rL(i,nL),w=p||o.size||"1em",b;return o.className&&(b=o.className),i.className&&(b=(b?b+" ":"")+i.className),Fe.createElement("svg",Yg({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},o.attr,c,m,{className:b,style:qg(qg({color:i.color||o.color},o.style),i.style),height:w,width:w,xmlns:"http://www.w3.org/2000/svg"}),h&&Fe.createElement("title",null,h),i.children)};return fx!==void 0?Fe.createElement(fx.Consumer,null,o=>l(o)):l(f1)}function sL(i){return uc({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"},child:[]}]})(i)}function cL(i){return uc({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},child:[]}]})(i)}function fL(i){return uc({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"},child:[]}]})(i)}function dL(i){return uc({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"},child:[]}]})(i)}function pL(i){return uc({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M278.6 256l68.2-68.2c6.2-6.2 6.2-16.4 0-22.6-6.2-6.2-16.4-6.2-22.6 0L256 233.4l-68.2-68.2c-6.2-6.2-16.4-6.2-22.6 0-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3l68.2 68.2-68.2 68.2c-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3 6.2 6.2 16.4 6.2 22.6 0l68.2-68.2 68.2 68.2c6.2 6.2 16.4 6.2 22.6 0 6.2-6.2 6.2-16.4 0-22.6L278.6 256z"},child:[]}]})(i)}const Gi={ArrowNarrowRight:fL,ArrowNarrowLeft:cL,ArrowNarrowDown:sL,Check:dL,Close:pL},vL=["Option 1","Option 2","Another Option"],hL=100,mL=10,gL=Array.from({length:6},i=>({original:"src/assets/react.svg",thumbnail:"src/assets/react.svg"})),yL=[{value:"1"},{value:"2"}],SL=[10,500],wL=[1,2,3],hb=(i,l)=>({block:o,children:c,...p})=>{const h=Array.isArray(c)?c.map((m,w)=>Fe.cloneElement(m,{block:o,key:`${o} - ${w.toString()}`})):Fe.cloneElement(c,{block:o});return ge.jsx(i,{className:l,...p,children:h})},mb=i=>{const l=Fe.useRef(null),o=Fe.useMemo(()=>{var c;return{height:i?(c=l.current)==null?void 0:c.scrollHeight:0}},[i]);return{contentRef:l,style:o}},bL=i=>{const[l,o]=Fe.useState(!1);return Fe.useEffect(()=>{const c=window.matchMedia(i);c.matches!==l&&o(c.matches);const p=()=>{o(c.matches)};return c.addEventListener("change",p),()=>{c.removeEventListener("change",p)}},[l,i]),l},gb=i=>{const l=Fe.useRef(null);return Fe.useEffect(()=>{const o=c=>{const p=c.target;l.current&&p instanceof Node&&!l.current.contains(p)&&i(!1)};return document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o)}},[l,i]),l},EL="categoryTestId",TL=({category:i,block:l})=>{const o=Hn(l,"category",`category--${i}`);return ge.jsx("span",{"data-testid":EL,className:o,children:c1(i)})},CL=({id:i,block:l,...o})=>ge.jsxs(Bg.Block,{htmlFor:i,block:l,children:[ge.jsx(Bg.Input,{...o,id:i}),ge.jsx(Bg.Indicator,{})]}),xL="checkboxTestId",RL="checkboxTestInputId",OL=({children:i,block:l,htmlFor:o="checkbox"})=>{const c=Hn(l,"checkbox");return ge.jsx("label",{"data-testid":xL,className:c,htmlFor:o,children:i})},kL=()=>ge.jsx("span",{className:"checkbox__indicator",children:ge.jsx(Gi.Check,{})}),DL=({onChange:i,id:l="checkbox",checked:o=!1,disabled:c=!1,name:p="checkbox",hasError:h=!1})=>{const m=Hn("","checkbox__input",{error:h}),w=b=>{i&&i(b.target.checked)};return ge.jsx("input",{"data-testid":RL,name:p,disabled:c,className:m,checked:o,onChange:w,id:l,type:"checkbox"})},Bg=Object.assign(CL,{Block:OL,Indicator:kL,Input:DL}),_L="dropdownTestId",ML=({category:i,block:l,options:o,onSelect:c,handleOpen:p,isOpen:h,onClickOutside:m})=>{const w=o.find(T=>T.value===i),b=gb(m);return ge.jsxs("div",{"data-testid":_L,ref:b,className:Hn(l,"dropdown-menu",{"_dropdown-active":h}),children:[ge.jsx(Av.Block,{children:ge.jsx(Av.Category,{handleOpen:p,item:w})}),ge.jsx(Av.List,{onSelect:c,options:o,category:i})]})},LL=({category:i,options:l,onSelect:o})=>ge.jsx("ul",{className:"dropdown-menu__list",children:l.map(c=>{const{value:p,label:h}=c,m=p===i;return ge.jsx(Av.Option,{value:p,label:h,onSelect:o,isSelected:m},p)})}),NL=({label:i,value:l,isSelected:o,onSelect:c})=>{const p=()=>{c(l)};return ge.jsxs("li",{onClick:p,className:Hn("","dropdown-menu__option",{"_selected-option":o}),children:[i&&i," ",l]})},zL=({item:i,handleOpen:l})=>ge.jsxs("button",{onClick:l,className:"dropdown-menu__category",children:[i==null?void 0:i.label,i==null?void 0:i.value,ge.jsx(Gi.ArrowNarrowDown,{className:"dropdown-menu__arrow"})]}),AL=({children:i})=>ge.jsx("div",{className:"dropdown-menu__block",children:i}),Av=Object.assign(ML,{List:LL,Option:NL,Category:zL,Block:AL});function PL(i){return uc({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"},child:[]}]})(i)}function jL(i){return uc({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"},child:[]}]})(i)}const UL="favButtonTestId",FL=({disabled:i,block:l,isFavorite:o,type:c,onClick:p})=>{const h=Hn(l,"favorite-button",`favorite-button--${c}`,{active:o});return ge.jsx("button",{"data-testid":UL,disabled:i,className:h,onClick:p,type:"button",children:o?ge.jsx(PL,{}):ge.jsx(jL,{})})},IL="fieldTestId",HL="fieldLabelTestId",BL=({label:i,block:l,children:o,error:c,id:p="input"})=>{const h=Hn(l,"field");return ge.jsxs("div",{"data-testid":IL,className:h,children:[!!i&&ge.jsx(Yw.Label,{text:i,htmlFor:p}),Fe.cloneElement(o,{id:p,hasError:!!c}),!!c&&ge.jsx(Yw.Error,{errorText:c})]})},VL=({text:i,htmlFor:l="input"})=>ge.jsx("label",{"data-testid":HL,className:"field__label",htmlFor:l,children:i}),$L=({errorText:i})=>ge.jsx("p",{className:"field__error",children:i}),Yw=Object.assign(BL,{Label:VL,Error:$L}),WL=({children:i})=>ge.jsx("div",{className:"filter-accordion__block",children:i}),p1="filter-accordion",GL="filterAccordionTestId",YL=hb(WL,p1),qL=({onClick:i,title:l,isOpen:o,children:c})=>ge.jsxs(sd.Layout,{isOpen:o,children:[ge.jsxs(sd.Block,{block:p1,children:[ge.jsx("h2",{className:"filter-accordion__title",children:l}),ge.jsx(sd.Reset,{}),ge.jsx(sd.Arrow,{onClick:i})]}),ge.jsx(sd.Content,{isOpen:o,children:c})]}),QL=({isOpen:i,block:l,children:o})=>ge.jsx("div",{"data-testid":GL,className:Hn(l,"filter-accordion",{"_active-accordion":i}),children:o}),XL=({onClick:i})=>ge.jsx("button",{onClick:i,className:"filter-accordion__arrow",children:ge.jsx(Gi.ArrowNarrowDown,{})}),KL="buttonTestId",yb=({children:i,size:l,color:o,onClick:c,type:p="button",disabled:h=!1,isTransparent:m=!1,withIcon:w=!1,block:b})=>{const T=Hn(b,"button",`button--${l} button--${o}`,{"button--transparent":m,"button--icon":w});return ge.jsx("button",{"data-testid":KL,disabled:h,type:p,className:T,onClick:c,children:i})},ZL=({block:i})=>ge.jsx(yb,{block:i,isTransparent:!0,size:"small",color:"gray",children:"Reset"}),JL=({isOpen:i,children:l})=>{const{style:o,contentRef:c}=mb(i);return ge.jsx("div",{style:o,ref:c,className:"filter-accordion__content",children:ge.jsx("div",{className:"filter-accordion__body",children:l})})},sd=Object.assign(qL,{Layout:QL,Arrow:XL,Reset:ZL,Block:YL,Content:JL}),eN="leftIconButtonTestId",tN="rightIconButtonTestId",v1=({RightIcon:i,LeftIcon:l,children:o,className:c,...p})=>ge.jsxs(yb,{withIcon:!0,...p,children:[!!l&&ge.jsx(l,{className:c,"data-testid":eN}),o,!!i&&ge.jsx(i,{className:c,"data-testid":tN})]}),nN=({children:i,onClick:l,block:o})=>ge.jsx(v1,{type:"button",block:o,onClick:l,className:"button__close",RightIcon:Gi.Close,size:"small",color:"gray",children:i});var rN={694:(i,l,o)=>{var c=o(925);function p(){}function h(){}h.resetWarningCache=p,i.exports=function(){function m(T,O,R,D,L,M){if(M!==c){var U=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw U.name="Invariant Violation",U}}function w(){return m}m.isRequired=m;var b={array:m,bigint:m,bool:m,func:m,number:m,object:m,string:m,symbol:m,any:m,arrayOf:w,element:m,elementType:m,instanceOf:w,node:m,objectOf:w,oneOf:w,oneOfType:w,shape:w,exact:w,checkPropTypes:h,resetWarningCache:p};return b.PropTypes=b,b}},556:(i,l,o)=>{i.exports=o(694)()},925:i=>{i.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},115:i=>{var l=typeof Element<"u",o=typeof Map=="function",c=typeof Set=="function",p=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function h(m,w){if(m===w)return!0;if(m&&w&&typeof m=="object"&&typeof w=="object"){if(m.constructor!==w.constructor)return!1;var b,T,O,R;if(Array.isArray(m)){if((b=m.length)!=w.length)return!1;for(T=b;T--!=0;)if(!h(m[T],w[T]))return!1;return!0}if(o&&m instanceof Map&&w instanceof Map){if(m.size!==w.size)return!1;for(R=m.entries();!(T=R.next()).done;)if(!w.has(T.value[0]))return!1;for(R=m.entries();!(T=R.next()).done;)if(!h(T.value[1],w.get(T.value[0])))return!1;return!0}if(c&&m instanceof Set&&w instanceof Set){if(m.size!==w.size)return!1;for(R=m.entries();!(T=R.next()).done;)if(!w.has(T.value[0]))return!1;return!0}if(p&&ArrayBuffer.isView(m)&&ArrayBuffer.isView(w)){if((b=m.length)!=w.length)return!1;for(T=b;T--!=0;)if(m[T]!==w[T])return!1;return!0}if(m.constructor===RegExp)return m.source===w.source&&m.flags===w.flags;if(m.valueOf!==Object.prototype.valueOf&&typeof m.valueOf=="function"&&typeof w.valueOf=="function")return m.valueOf()===w.valueOf();if(m.toString!==Object.prototype.toString&&typeof m.toString=="function"&&typeof w.toString=="function")return m.toString()===w.toString();if((b=(O=Object.keys(m)).length)!==Object.keys(w).length)return!1;for(T=b;T--!=0;)if(!Object.prototype.hasOwnProperty.call(w,O[T]))return!1;if(l&&m instanceof Element)return!1;for(T=b;T--!=0;)if((O[T]!=="_owner"&&O[T]!=="__v"&&O[T]!=="__o"||!m.$$typeof)&&!h(m[O[T]],w[O[T]]))return!1;return!0}return m!=m&&w!=w}i.exports=function(m,w){try{return h(m,w)}catch(b){if((b.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw b}}}},px={};function Xr(i){var l=px[i];if(l!==void 0)return l.exports;var o=px[i]={exports:{}};return rN[i](o,o.exports,Xr),o.exports}Xr.n=i=>{var l=i&&i.__esModule?()=>i.default:()=>i;return Xr.d(l,{a:l}),l},Xr.d=(i,l)=>{for(var o in l)Xr.o(l,o)&&!Xr.o(i,o)&&Object.defineProperty(i,o,{enumerable:!0,get:l[o]})},Xr.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),Xr.o=(i,l)=>Object.prototype.hasOwnProperty.call(i,l);var h1={};function m1(i){var l,o,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var p=i.length;for(l=0;l<p;l++)i[l]&&(o=m1(i[l]))&&(c&&(c+=" "),c+=o)}else for(o in i)i[o]&&(c&&(c+=" "),c+=o);return c}Xr.d(h1,{A:()=>YN});const tc=function(){for(var i,l,o=0,c="",p=arguments.length;o<p;o++)(i=arguments[o])&&(l=m1(i))&&(c&&(c+=" "),c+=l);return c},xe=(vx={default:()=>V.default,useMemo:()=>V.useMemo,useRef:()=>V.useRef},Mw={},Xr.d(Mw,vx),Mw);var vx,Mw;const Qg=function(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")},aN=typeof global=="object"&&global&&global.Object===Object&&global;var iN=typeof self=="object"&&self&&self.Object===Object&&self;const g1=aN||iN||Function("return this")(),Lw=function(){return g1.Date.now()};var lN=/\s/,oN=/^\s+/;const uN=function(i){return i&&i.slice(0,function(l){for(var o=l.length;o--&&lN.test(l.charAt(o)););return o}(i)+1).replace(oN,"")},Xg=g1.Symbol;var y1=Object.prototype,sN=y1.hasOwnProperty,cN=y1.toString,Lv=Xg?Xg.toStringTag:void 0,fN=Object.prototype.toString,hx=Xg?Xg.toStringTag:void 0;const dN=function(i){return i==null?i===void 0?"[object Undefined]":"[object Null]":hx&&hx in Object(i)?function(l){var o=sN.call(l,Lv),c=l[Lv];try{l[Lv]=void 0;var p=!0}catch{}var h=cN.call(l);return p&&(o?l[Lv]=c:delete l[Lv]),h}(i):function(l){return fN.call(l)}(i)};var pN=/^[-+]0x[0-9a-f]+$/i,vN=/^0b[01]+$/i,hN=/^0o[0-7]+$/i,mN=parseInt;const mx=function(i){if(typeof i=="number")return i;if(function(c){return typeof c=="symbol"||function(p){return p!=null&&typeof p=="object"}(c)&&dN(c)=="[object Symbol]"}(i))return NaN;if(Qg(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=Qg(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=uN(i);var o=vN.test(i);return o||hN.test(i)?mN(i.slice(2),o?2:8):pN.test(i)?NaN:+i};var gN=Math.max,yN=Math.min;const qw=function(i,l,o){var c,p,h,m,w,b,T=0,O=!1,R=!1,D=!0;if(typeof i!="function")throw new TypeError("Expected a function");function L(z){var j=c,q=p;return c=p=void 0,T=z,m=i.apply(q,j)}function M(z){var j=z-b;return b===void 0||j>=l||j<0||R&&z-T>=h}function U(){var z=Lw();if(M(z))return P(z);w=setTimeout(U,function(j){var q=l-(j-b);return R?yN(q,h-(j-T)):q}(z))}function P(z){return w=void 0,D&&c?L(z):(c=p=void 0,m)}function N(){var z=Lw(),j=M(z);if(c=arguments,p=this,b=z,j){if(w===void 0)return function(q){return T=q,w=setTimeout(U,l),O?L(q):m}(b);if(R)return clearTimeout(w),w=setTimeout(U,l),L(b)}return w===void 0&&(w=setTimeout(U,l)),m}return l=mx(l)||0,Qg(o)&&(O=!!o.leading,h=(R="maxWait"in o)?gN(mx(o.maxWait)||0,l):h,D="trailing"in o?!!o.trailing:D),N.cancel=function(){w!==void 0&&clearTimeout(w),T=0,c=b=p=w=void 0},N.flush=function(){return w===void 0?m:P(Lw())},N},gx=function(i,l,o){var c=!0,p=!0;if(typeof i!="function")throw new TypeError("Expected a function");return Qg(o)&&(c="leading"in o?!!o.leading:c,p="trailing"in o?!!o.trailing:p),qw(i,l,{leading:c,maxWait:l,trailing:p})};var SN=Xr(115),wN=Xr.n(SN),S1=function(){if(typeof Map<"u")return Map;function i(l,o){var c=-1;return l.some(function(p,h){return p[0]===o&&(c=h,!0)}),c}return function(){function l(){this.__entries__=[]}return Object.defineProperty(l.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),l.prototype.get=function(o){var c=i(this.__entries__,o),p=this.__entries__[c];return p&&p[1]},l.prototype.set=function(o,c){var p=i(this.__entries__,o);~p?this.__entries__[p][1]=c:this.__entries__.push([o,c])},l.prototype.delete=function(o){var c=this.__entries__,p=i(c,o);~p&&c.splice(p,1)},l.prototype.has=function(o){return!!~i(this.__entries__,o)},l.prototype.clear=function(){this.__entries__.splice(0)},l.prototype.forEach=function(o,c){c===void 0&&(c=null);for(var p=0,h=this.__entries__;p<h.length;p++){var m=h[p];o.call(c,m[1],m[0])}},l}()}(),Qw=typeof window<"u"&&typeof document<"u"&&window.document===document,Kg=Xr.g!==void 0&&Xr.g.Math===Math?Xr.g:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),bN=typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Kg):function(i){return setTimeout(function(){return i(Date.now())},1e3/60)},EN=["top","right","bottom","left","width","height","size","weight"],TN=typeof MutationObserver<"u",CN=function(){function i(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(l){var o=!1,c=!1,p=0;function h(){o&&(o=!1,l()),c&&w()}function m(){bN(h)}function w(){var b=Date.now();if(o){if(b-p<2)return;c=!0}else o=!0,c=!1,setTimeout(m,20);p=b}return w}(this.refresh.bind(this))}return i.prototype.addObserver=function(l){~this.observers_.indexOf(l)||this.observers_.push(l),this.connected_||this.connect_()},i.prototype.removeObserver=function(l){var o=this.observers_,c=o.indexOf(l);~c&&o.splice(c,1),!o.length&&this.connected_&&this.disconnect_()},i.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},i.prototype.updateObservers_=function(){var l=this.observers_.filter(function(o){return o.gatherActive(),o.hasActive()});return l.forEach(function(o){return o.broadcastActive()}),l.length>0},i.prototype.connect_=function(){Qw&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),TN?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},i.prototype.disconnect_=function(){Qw&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},i.prototype.onTransitionEnd_=function(l){var o=l.propertyName,c=o===void 0?"":o;EN.some(function(p){return!!~c.indexOf(p)})&&this.refresh()},i.getInstance=function(){return this.instance_||(this.instance_=new i),this.instance_},i.instance_=null,i}(),yx=function(i,l){for(var o=0,c=Object.keys(l);o<c.length;o++){var p=c[o];Object.defineProperty(i,p,{value:l[p],enumerable:!1,writable:!1,configurable:!0})}return i},vd=function(i){return i&&i.ownerDocument&&i.ownerDocument.defaultView||Kg},Sx=Zg(0,0,0,0);function Vg(i){return parseFloat(i)||0}function wx(i){for(var l=[],o=1;o<arguments.length;o++)l[o-1]=arguments[o];return l.reduce(function(c,p){return c+Vg(i["border-"+p+"-width"])},0)}var xN=typeof SVGGraphicsElement<"u"?function(i){return i instanceof vd(i).SVGGraphicsElement}:function(i){return i instanceof vd(i).SVGElement&&typeof i.getBBox=="function"};function RN(i){return Qw?xN(i)?function(l){var o=l.getBBox();return Zg(0,0,o.width,o.height)}(i):function(l){var o=l.clientWidth,c=l.clientHeight;if(!o&&!c)return Sx;var p=vd(l).getComputedStyle(l),h=function(D){for(var L={},M=0,U=["top","right","bottom","left"];M<U.length;M++){var P=U[M],N=D["padding-"+P];L[P]=Vg(N)}return L}(p),m=h.left+h.right,w=h.top+h.bottom,b=Vg(p.width),T=Vg(p.height);if(p.boxSizing==="border-box"&&(Math.round(b+m)!==o&&(b-=wx(p,"left","right")+m),Math.round(T+w)!==c&&(T-=wx(p,"top","bottom")+w)),!function(D){return D===vd(D).document.documentElement}(l)){var O=Math.round(b+m)-o,R=Math.round(T+w)-c;Math.abs(O)!==1&&(b-=O),Math.abs(R)!==1&&(T-=R)}return Zg(h.left,h.top,b,T)}(i):Sx}function Zg(i,l,o,c){return{x:i,y:l,width:o,height:c}}var ON=function(){function i(l){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Zg(0,0,0,0),this.target=l}return i.prototype.isActive=function(){var l=RN(this.target);return this.contentRect_=l,l.width!==this.broadcastWidth||l.height!==this.broadcastHeight},i.prototype.broadcastRect=function(){var l=this.contentRect_;return this.broadcastWidth=l.width,this.broadcastHeight=l.height,l},i}(),kN=function(i,l){var o=function(c){var p=c.x,h=c.y,m=c.width,w=c.height,b=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,T=Object.create(b.prototype);return yx(T,{x:p,y:h,width:m,height:w,top:h,right:p+m,bottom:w+h,left:p}),T}(l);yx(this,{target:i,contentRect:o})},DN=function(){function i(l,o,c){if(this.activeObservations_=[],this.observations_=new S1,typeof l!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=l,this.controller_=o,this.callbackCtx_=c}return i.prototype.observe=function(l){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(l instanceof vd(l).Element))throw new TypeError('parameter 1 is not of type "Element".');var o=this.observations_;o.has(l)||(o.set(l,new ON(l)),this.controller_.addObserver(this),this.controller_.refresh())}},i.prototype.unobserve=function(l){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(l instanceof vd(l).Element))throw new TypeError('parameter 1 is not of type "Element".');var o=this.observations_;o.has(l)&&(o.delete(l),o.size||this.controller_.removeObserver(this))}},i.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},i.prototype.gatherActive=function(){var l=this;this.clearActive(),this.observations_.forEach(function(o){o.isActive()&&l.activeObservations_.push(o)})},i.prototype.broadcastActive=function(){if(this.hasActive()){var l=this.callbackCtx_,o=this.activeObservations_.map(function(c){return new kN(c.target,c.broadcastRect())});this.callback_.call(l,o,l),this.clearActive()}},i.prototype.clearActive=function(){this.activeObservations_.splice(0)},i.prototype.hasActive=function(){return this.activeObservations_.length>0},i}(),w1=typeof WeakMap<"u"?new WeakMap:new S1,b1=function i(l){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var o=CN.getInstance(),c=new DN(l,o,this);w1.set(this,c)};["observe","unobserve","disconnect"].forEach(function(i){b1.prototype[i]=function(){var l;return(l=w1.get(this))[i].apply(l,arguments)}});const bx=Kg.ResizeObserver!==void 0?Kg.ResizeObserver:b1,xo="Left",Ro="Right",Oo="Up",ko="Down",ud={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},Nw={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},Ex="mousemove",Tx="mouseup";function Cx(i,l){if(l===0)return i;const o=Math.PI/180*l;return[i[0]*Math.cos(o)+i[1]*Math.sin(o),i[1]*Math.cos(o)-i[0]*Math.sin(o)]}function _N(i){const{trackMouse:l}=i,o=xe.useRef(Object.assign({},Nw)),c=xe.useRef(Object.assign({},ud)),p=xe.useRef(Object.assign({},c.current));let h;for(h in p.current=Object.assign({},c.current),c.current=Object.assign(Object.assign({},ud),i),ud)c.current[h]===void 0&&(c.current[h]=ud[h]);const[m,w]=xe.useMemo(()=>function(b,T){const O=P=>{const N="touches"in P;N&&P.touches.length>1||b((z,j)=>{j.trackMouse&&!N&&(document.addEventListener(Ex,R),document.addEventListener(Tx,L));const{clientX:q,clientY:$}=N?P.touches[0]:P,se=Cx([q,$],j.rotationAngle);return j.onTouchStartOrOnMouseDown&&j.onTouchStartOrOnMouseDown({event:P}),Object.assign(Object.assign(Object.assign({},z),Nw),{initial:se.slice(),xy:se,start:P.timeStamp||0})})},R=P=>{b((N,z)=>{const j="touches"in P;if(j&&P.touches.length>1)return N;if(P.timeStamp-N.start>z.swipeDuration)return N.swiping?Object.assign(Object.assign({},N),{swiping:!1}):N;const{clientX:q,clientY:$}=j?P.touches[0]:P,[se,le]=Cx([q,$],z.rotationAngle),ve=se-N.xy[0],ee=le-N.xy[1],J=Math.abs(ve),re=Math.abs(ee),oe=(P.timeStamp||0)-N.start,we=Math.sqrt(J*J+re*re)/(oe||1),Qe=[ve/(oe||1),ee/(oe||1)],Ge=function(Se,ye,tt,it){return Se>ye?tt>0?Ro:xo:it>0?ko:Oo}(J,re,ve,ee),be=typeof z.delta=="number"?z.delta:z.delta[Ge.toLowerCase()]||ud.delta;if(J<be&&re<be&&!N.swiping)return N;const $e={absX:J,absY:re,deltaX:ve,deltaY:ee,dir:Ge,event:P,first:N.first,initial:N.initial,velocity:we,vxvy:Qe};$e.first&&z.onSwipeStart&&z.onSwipeStart($e),z.onSwiping&&z.onSwiping($e);let ue=!1;return(z.onSwiping||z.onSwiped||z[`onSwiped${Ge}`])&&(ue=!0),ue&&z.preventScrollOnSwipe&&z.trackTouch&&P.cancelable&&P.preventDefault(),Object.assign(Object.assign({},N),{first:!1,eventData:$e,swiping:!0})})},D=P=>{b((N,z)=>{let j;if(N.swiping&&N.eventData){if(P.timeStamp-N.start<z.swipeDuration){j=Object.assign(Object.assign({},N.eventData),{event:P}),z.onSwiped&&z.onSwiped(j);const q=z[`onSwiped${j.dir}`];q&&q(j)}}else z.onTap&&z.onTap({event:P});return z.onTouchEndOrOnMouseUp&&z.onTouchEndOrOnMouseUp({event:P}),Object.assign(Object.assign(Object.assign({},N),Nw),{eventData:j})})},L=P=>{document.removeEventListener(Ex,R),document.removeEventListener(Tx,L),D(P)},M=(P,N)=>{let z=()=>{};if(P&&P.addEventListener){const j=Object.assign(Object.assign({},ud.touchEventOptions),N.touchEventOptions),q=[["touchstart",O,j],["touchmove",R,Object.assign(Object.assign({},j),N.preventScrollOnSwipe?{passive:!1}:{})],["touchend",D,j]];q.forEach(([$,se,le])=>P.addEventListener($,se,le)),z=()=>q.forEach(([$,se])=>P.removeEventListener($,se))}return z},U={ref:P=>{P!==null&&b((N,z)=>{if(N.el===P)return N;const j={};return N.el&&N.el!==P&&N.cleanUpTouch&&(N.cleanUpTouch(),j.cleanUpTouch=void 0),z.trackTouch&&P&&(j.cleanUpTouch=M(P,z)),Object.assign(Object.assign(Object.assign({},N),{el:P}),j)})}};return T.trackMouse&&(U.onMouseDown=O),[U,M]}(b=>o.current=b(o.current,c.current),{trackMouse:l}),[l]);return o.current=function(b,T,O,R){return T.trackTouch&&b.el?b.cleanUpTouch?T.preventScrollOnSwipe!==O.preventScrollOnSwipe||T.touchEventOptions.passive!==O.touchEventOptions.passive?(b.cleanUpTouch(),Object.assign(Object.assign({},b),{cleanUpTouch:R(b.el,T)})):b:Object.assign(Object.assign({},b),{cleanUpTouch:R(b.el,T)}):(b.cleanUpTouch&&b.cleanUpTouch(),Object.assign(Object.assign({},b),{cleanUpTouch:void 0}))}(o.current,c.current,p.current,w),m}var ie=Xr(556);function Pv(i){return Pv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Pv(i)}function xx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function Rx(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?xx(Object(o),!0).forEach(function(c){MN(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):xx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function MN(i,l,o){return(l=function(c){var p=function(h){if(Pv(h)!="object"||!h)return h;var m=h[Symbol.toPrimitive];if(m!==void 0){var w=m.call(h,"string");if(Pv(w)!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}(c);return Pv(p)=="symbol"?p:p+""}(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}var LN={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"},Xw=xe.default.memo(function(i){var l=Rx(Rx({},LN),i),o=l.description,c=l.fullscreen,p=l.handleImageLoaded,h=l.isFullscreen,m=l.onImageError,w=l.original,b=l.originalAlt,T=l.originalHeight,O=l.originalWidth,R=l.originalTitle,D=l.sizes,L=l.srcSet,M=l.loading,U=h&&c||w;return xe.default.createElement(xe.default.Fragment,null,xe.default.createElement("img",{className:"image-gallery-image",src:U,alt:b,srcSet:L,height:T,width:O,sizes:D,title:R,onLoad:function(P){return p(P,w)},onError:m,loading:M}),o&&xe.default.createElement("span",{className:"image-gallery-description"},o))});Xw.displayName="Item",Xw.propTypes={description:ie.string,fullscreen:ie.string,handleImageLoaded:ie.func.isRequired,isFullscreen:ie.bool,onImageError:ie.func.isRequired,original:ie.string.isRequired,originalAlt:ie.string,originalHeight:ie.string,originalWidth:ie.string,originalTitle:ie.string,sizes:ie.string,srcSet:ie.string,loading:ie.string};const NN=Xw;function jv(i){return jv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},jv(i)}function Ox(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function kx(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Ox(Object(o),!0).forEach(function(c){zN(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Ox(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function zN(i,l,o){return(l=function(c){var p=function(h){if(jv(h)!="object"||!h)return h;var m=h[Symbol.toPrimitive];if(m!==void 0){var w=m.call(h,"string");if(jv(w)!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}(c);return jv(p)=="symbol"?p:p+""}(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}var AN={left:xe.default.createElement("polyline",{points:"15 18 9 12 15 6"}),right:xe.default.createElement("polyline",{points:"9 18 15 12 9 6"}),top:xe.default.createElement("polyline",{points:"6 15 12 9 18 15"}),bottom:xe.default.createElement("polyline",{points:"6 9 12 15 18 9"}),maximize:xe.default.createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:xe.default.createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:xe.default.createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:xe.default.createElement(xe.default.Fragment,null,xe.default.createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),xe.default.createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},PN={strokeWidth:1,viewBox:"0 0 24 24"},E1=function(i){var l=kx(kx({},PN),i),o=l.strokeWidth,c=l.viewBox,p=l.icon;return xe.default.createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:c,fill:"none",stroke:"currentColor",strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round"},AN[p])};E1.propTypes={strokeWidth:ie.number,viewBox:ie.string,icon:(0,ie.oneOf)(["left","right","top","bottom","maximize","minimize","play","pause"]).isRequired};const hd=E1;var Kw=xe.default.memo(function(i){var l=i.isFullscreen,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:o,"aria-label":"Open Fullscreen"},xe.default.createElement(hd,{strokeWidth:2,icon:l?"minimize":"maximize"}))});Kw.displayName="Fullscreen",Kw.propTypes={isFullscreen:ie.bool.isRequired,onClick:ie.func.isRequired};const jN=Kw;var Zw=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:l,onClick:o,"aria-label":"Previous Slide"},xe.default.createElement(hd,{icon:"left",viewBox:"6 0 12 24"}))});Zw.displayName="LeftNav",Zw.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const UN=Zw;var Jw=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:l,onClick:o,"aria-label":"Next Slide"},xe.default.createElement(hd,{icon:"right",viewBox:"6 0 12 24"}))});Jw.displayName="RightNav",Jw.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const FN=Jw;var eb=xe.default.memo(function(i){var l=i.isPlaying,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:o,"aria-label":"Play or Pause Slideshow"},xe.default.createElement(hd,{strokeWidth:2,icon:l?"pause":"play"}))});eb.displayName="PlayPause",eb.propTypes={isPlaying:ie.bool.isRequired,onClick:ie.func.isRequired};const IN=eb;function Uv(i){return Uv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Uv(i)}function tb(){return tb=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)({}).hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},tb.apply(null,arguments)}function Dx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function _x(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Dx(Object(o),!0).forEach(function(c){HN(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Dx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function HN(i,l,o){return(l=function(c){var p=function(h){if(Uv(h)!="object"||!h)return h;var m=h[Symbol.toPrimitive];if(m!==void 0){var w=m.call(h,"string");if(Uv(w)!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}(c);return Uv(p)=="symbol"?p:p+""}(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}var BN={className:"",delta:0,onSwiping:function(){},onSwiped:function(){}},T1=function(i){var l=_x(_x({},BN),i),o=l.children,c=l.className,p=_N({delta:l.delta,onSwiping:l.onSwiping,onSwiped:l.onSwiped});return xe.default.createElement("div",tb({},p,{className:c}),o)};T1.propTypes={children:ie.node.isRequired,className:ie.string,delta:ie.number,onSwiped:ie.func,onSwiping:ie.func};const Mx=T1;var nb=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-top-nav",disabled:l,onClick:o,"aria-label":"Previous Slide"},xe.default.createElement(hd,{icon:"top",viewBox:"6 0 12 24"}))});nb.displayName="TopNav",nb.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const VN=nb;var rb=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-bottom-nav",disabled:l,onClick:o,"aria-label":"Next Slide"},xe.default.createElement(hd,{icon:"bottom",viewBox:"6 0 12 24"}))});rb.displayName="BottomNav",rb.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const $N=rb;function fd(i){return fd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},fd(i)}function Lx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function Nx(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Lx(Object(o),!0).forEach(function(c){cd(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Lx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function WN(i,l){for(var o=0;o<l.length;o++){var c=l[o];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,x1(c.key),c)}}function C1(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(C1=function(){return!!i})()}function Jg(i){return Jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},Jg(i)}function ab(i,l){return ab=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,c){return o.__proto__=c,o},ab(i,l)}function cd(i,l,o){return(l=x1(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}function x1(i){var l=function(o){if(fd(o)!="object"||!o)return o;var c=o[Symbol.toPrimitive];if(c!==void 0){var p=c.call(o,"string");if(fd(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}(i);return fd(l)=="symbol"?l:l+""}var zx=["fullscreenchange","MSFullscreenChange","mozfullscreenchange","webkitfullscreenchange"],GN=(0,ie.arrayOf)((0,ie.shape)({srcSet:ie.string,media:ie.string}));function Ax(i){var l=parseInt(i.keyCode||i.which||0,10);return l===66||l===62}var ib=function(){function i(l){var o,c,p,h;return function(m,w){if(!(m instanceof w))throw new TypeError("Cannot call a class as a function")}(this,i),cd((c=this,h=[l],p=Jg(p=i),o=function(m,w){if(w&&(fd(w)=="object"||typeof w=="function"))return w;if(w!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}(m)}(c,C1()?Reflect.construct(p,h||[],Jg(c).constructor):p.apply(c,h))),"onBulletClick",function(m,w){var b=o.props,T=b.onBulletClick,O=b.items,R=o.state.currentIndex;m.target.blur(),R!==w&&(O.length===2?o.slideToIndexWithStyleReset(w,m):o.slideToIndex(w,m)),T&&T(m,w)}),o.state={currentIndex:l.startIndex,thumbsTranslate:0,thumbsSwipedTranslate:0,currentSlideOffset:0,galleryWidth:0,galleryHeight:0,thumbnailsWrapperWidth:0,thumbnailsWrapperHeight:0,thumbsStyle:{transition:"all ".concat(l.slideDuration,"ms ease-out")},isFullscreen:!1,isSwipingThumbnail:!1,isPlaying:!1},o.loadedImages={},o.imageGallery=xe.default.createRef(),o.thumbnailsWrapper=xe.default.createRef(),o.thumbnails=xe.default.createRef(),o.imageGallerySlideWrapper=xe.default.createRef(),o.handleImageLoaded=o.handleImageLoaded.bind(o),o.handleKeyDown=o.handleKeyDown.bind(o),o.handleMouseDown=o.handleMouseDown.bind(o),o.handleResize=o.handleResize.bind(o),o.handleOnSwiped=o.handleOnSwiped.bind(o),o.handleScreenChange=o.handleScreenChange.bind(o),o.handleSwiping=o.handleSwiping.bind(o),o.handleThumbnailSwiping=o.handleThumbnailSwiping.bind(o),o.handleOnThumbnailSwiped=o.handleOnThumbnailSwiped.bind(o),o.onThumbnailMouseLeave=o.onThumbnailMouseLeave.bind(o),o.handleImageError=o.handleImageError.bind(o),o.pauseOrPlay=o.pauseOrPlay.bind(o),o.renderThumbInner=o.renderThumbInner.bind(o),o.renderItem=o.renderItem.bind(o),o.slideLeft=o.slideLeft.bind(o),o.slideRight=o.slideRight.bind(o),o.toggleFullScreen=o.toggleFullScreen.bind(o),o.togglePlay=o.togglePlay.bind(o),o.unthrottledSlideToIndex=o.slideToIndex,o.slideToIndex=gx(o.unthrottledSlideToIndex,l.slideDuration,{trailing:!1}),l.lazyLoad&&(o.lazyLoaded=[]),o}return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(o&&o.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),o&&ab(l,o)}(i,xe.default.Component),function(l,o){return o&&WN(l.prototype,o),Object.defineProperty(l,"prototype",{writable:!1}),l}(i,[{key:"componentDidMount",value:function(){var l=this.props,o=l.autoPlay,c=l.useWindowKeyDown;o&&this.play(),c?window.addEventListener("keydown",this.handleKeyDown):this.imageGallery.current.addEventListener("keydown",this.handleKeyDown),window.addEventListener("mousedown",this.handleMouseDown),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),this.addScreenChangeEvent()}},{key:"componentDidUpdate",value:function(l,o){var c=this.props,p=c.items,h=c.lazyLoad,m=c.slideDuration,w=c.slideInterval,b=c.startIndex,T=c.thumbnailPosition,O=c.showThumbnails,R=c.useWindowKeyDown,D=this.state,L=D.currentIndex,M=D.isPlaying,U=l.items.length!==p.length,P=!wN()(l.items,p),N=l.startIndex!==b,z=l.thumbnailPosition!==T,j=l.showThumbnails!==O;w===l.slideInterval&&m===l.slideDuration||M&&(this.pause(),this.play()),z&&(this.removeResizeObserver(),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper)),j&&O&&this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),j&&!O&&this.removeThumbnailsResizeObserver(),(U||j)&&this.handleResize(),o.currentIndex!==L&&this.slideThumbnailBar(),l.slideDuration!==m&&(this.slideToIndex=gx(this.unthrottledSlideToIndex,m,{trailing:!1})),!h||l.lazyLoad&&!P||(this.lazyLoaded=[]),R!==l.useWindowKeyDown&&(R?(this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown),window.addEventListener("keydown",this.handleKeyDown)):(window.removeEventListener("keydown",this.handleKeyDown),this.imageGallery.current.addEventListener("keydown",this.handleKeyDown))),(N||P)&&this.setState({currentIndex:b,slideStyle:{transition:"none"}})}},{key:"componentWillUnmount",value:function(){var l=this.props.useWindowKeyDown;window.removeEventListener("mousedown",this.handleMouseDown),this.removeScreenChangeEvent(),this.removeResizeObserver(),this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null),this.transitionTimer&&window.clearTimeout(this.transitionTimer),l?window.removeEventListener("keydown",this.handleKeyDown):this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown)}},{key:"onSliding",value:function(){var l=this,o=this.state,c=o.currentIndex,p=o.isTransitioning,h=this.props,m=h.onSlide,w=h.slideDuration;this.transitionTimer=window.setTimeout(function(){p&&(l.setState({isTransitioning:!p,isSwipingThumbnail:!1}),m&&m(c))},w+50)}},{key:"onThumbnailClick",value:function(l,o){var c=this.props,p=c.onThumbnailClick,h=c.items,m=this.state.currentIndex;l.target.parentNode.parentNode.blur(),m!==o&&(h.length===2?this.slideToIndexWithStyleReset(o,l):this.slideToIndex(o,l)),p&&p(l,o)}},{key:"onThumbnailMouseOver",value:function(l,o){var c=this;this.thumbnailMouseOverTimer&&(window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null),this.thumbnailMouseOverTimer=window.setTimeout(function(){c.slideToIndex(o),c.pause()},300)}},{key:"onThumbnailMouseLeave",value:function(){if(this.thumbnailMouseOverTimer){var l=this.props.autoPlay;window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null,l&&this.play()}}},{key:"setThumbsTranslate",value:function(l){this.setState({thumbsTranslate:l})}},{key:"setModalFullscreen",value:function(l){var o=this.props.onScreenChange;this.setState({modalFullscreen:l}),o&&o(l)}},{key:"getThumbsTranslate",value:function(l){var o,c=this.props,p=c.disableThumbnailScroll,h=c.items,m=this.state,w=m.thumbnailsWrapperWidth,b=m.thumbnailsWrapperHeight,T=this.thumbnails&&this.thumbnails.current;if(p)return 0;if(T){if(this.isThumbnailVertical()){if(T.scrollHeight<=b)return 0;o=T.scrollHeight-b}else{if(T.scrollWidth<=w||w<=0)return 0;o=T.scrollWidth-w}return l*(o/(h.length-1))}return 0}},{key:"getThumbnailPositionClassName",value:function(l){switch(l){case"left":l=" ".concat("image-gallery-thumbnails-left");break;case"right":l=" ".concat("image-gallery-thumbnails-right");break;case"bottom":l=" ".concat("image-gallery-thumbnails-bottom");break;case"top":l=" ".concat("image-gallery-thumbnails-top")}return l}},{key:"getAlignmentClassName",value:function(l){var o=this.state.currentIndex,c=this.props,p=c.infinite,h=c.items,m="",w="image-gallery-left",b="image-gallery-right";switch(l){case o-1:m=" ".concat(w);break;case o:m=" ".concat("image-gallery-center");break;case o+1:m=" ".concat(b)}return h.length>=3&&p&&(l===0&&o===h.length-1?m=" ".concat(b):l===h.length-1&&o===0&&(m=" ".concat(w))),m}},{key:"getTranslateXForTwoSlide",value:function(l){var o=this.state,c=o.currentIndex,p=o.currentSlideOffset,h=o.previousIndex,m=c!==h,w=l===0&&h===0,b=l===1&&h===1,T=l===0&&c===1,O=l===1&&c===0,R=p===0,D=-100*c+100*l+p;return p>0?this.direction="left":p<0&&(this.direction="right"),O&&p>0&&(D=-100+p),T&&p<0&&(D=100+p),m?w&&R&&this.direction==="left"?D=100:b&&R&&this.direction==="right"&&(D=-100):(O&&R&&this.direction==="left"&&(D=-100),T&&R&&this.direction==="right"&&(D=100)),D}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(l){var o=this.state,c=o.currentIndex,p=o.currentSlideOffset,h=o.slideStyle,m=this.props,w=m.infinite,b=m.items,T=m.useTranslate3D,O=m.isRTL,R=m.slideVertically,D=-100*c,L=b.length-1,M=(D+100*l)*(O?-1:1)+p;w&&b.length>2&&(c===0&&l===L?M=-100*(O?-1:1)+p:c===L&&l===0&&(M=100*(O?-1:1)+p)),w&&b.length===2&&(M=this.getTranslateXForTwoSlide(l));var U=R?"translate(0, ".concat(M,"%)"):"translate(".concat(M,"%, 0)");return T&&(U=R?"translate3d(0, ".concat(M,"%, 0)"):"translate3d(".concat(M,"%, 0, 0)")),Nx({display:this.isSlideVisible(l)?"inherit":"none",WebkitTransform:U,MozTransform:U,msTransform:U,OTransform:U,transform:U},h)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var l,o=this.props,c=o.useTranslate3D,p=o.isRTL,h=this.state,m=h.thumbsTranslate,w=h.thumbsStyle,b=p?-1*m:m;return this.isThumbnailVertical()?(l="translate(0, ".concat(m,"px)"),c&&(l="translate3d(0, ".concat(m,"px, 0)"))):(l="translate(".concat(b,"px, 0)"),c&&(l="translate3d(".concat(b,"px, 0, 0)"))),Nx({WebkitTransform:l,MozTransform:l,msTransform:l,OTransform:l,transform:l},w)}},{key:"getSlideItems",value:function(){var l=this,o=this.state.currentIndex,c=this.props,p=c.items,h=c.slideOnThumbnailOver,m=c.onClick,w=c.lazyLoad,b=c.onTouchMove,T=c.onTouchEnd,O=c.onTouchStart,R=c.onMouseOver,D=c.onMouseLeave,L=c.renderItem,M=c.renderThumbInner,U=c.showThumbnails,P=c.showBullets,N=[],z=[],j=[];return p.forEach(function(q,$){var se=l.getAlignmentClassName($),le=q.originalClass?" ".concat(q.originalClass):"",ve=q.thumbnailClass?" ".concat(q.thumbnailClass):"",ee=q.renderItem||L||l.renderItem,J=q.renderThumbInner||M||l.renderThumbInner,re=!w||se||l.lazyLoaded[$];re&&w&&!l.lazyLoaded[$]&&(l.lazyLoaded[$]=!0);var oe=l.getSlideStyle($),we=xe.default.createElement("div",{"aria-label":"Go to Slide ".concat($+1),key:"slide-".concat($),tabIndex:"-1",className:"image-gallery-slide ".concat(se," ").concat(le),style:oe,onClick:m,onKeyUp:l.handleSlideKeyUp,onTouchMove:b,onTouchEnd:T,onTouchStart:O,onMouseOver:R,onFocus:R,onMouseLeave:D,role:"button"},re?ee(q):xe.default.createElement("div",{style:{height:"100%"}}));if(N.push(we),U&&q.thumbnail){var Qe=tc("image-gallery-thumbnail",ve,{active:o===$});z.push(xe.default.createElement("button",{key:"thumbnail-".concat($),type:"button",tabIndex:"0","aria-pressed":o===$?"true":"false","aria-label":"Go to Slide ".concat($+1),className:Qe,onMouseLeave:h?l.onThumbnailMouseLeave:null,onMouseOver:function(be){return l.handleThumbnailMouseOver(be,$)},onFocus:function(be){return l.handleThumbnailMouseOver(be,$)},onKeyUp:function(be){return l.handleThumbnailKeyUp(be,$)},onClick:function(be){return l.onThumbnailClick(be,$)}},J(q)))}if(P){var Ge=tc("image-gallery-bullet",q.bulletClass,{active:o===$});j.push(xe.default.createElement("button",{type:"button",key:"bullet-".concat($),className:Ge,onClick:function(be){return l.onBulletClick(be,$)},"aria-pressed":o===$?"true":"false","aria-label":"Go to Slide ".concat($+1)}))}}),{slides:N,thumbnails:z,bullets:j}}},{key:"ignoreIsTransitioning",value:function(){var l=this.props.items,o=this.state,c=o.previousIndex,p=o.currentIndex,h=l.length-1;return Math.abs(c-p)>1&&!(c===0&&p===h)&&!(c===h&&p===0)}},{key:"isFirstOrLastSlide",value:function(l){return l===this.props.items.length-1||l===0}},{key:"slideIsTransitioning",value:function(l){var o=this.state,c=o.isTransitioning,p=o.previousIndex,h=o.currentIndex;return c&&!(l===p||l===h)}},{key:"isSlideVisible",value:function(l){return!this.slideIsTransitioning(l)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(l)}},{key:"slideThumbnailBar",value:function(){var l=this.state,o=l.currentIndex,c=l.isSwipingThumbnail,p=-this.getThumbsTranslate(o);c||(o===0?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:p,thumbsSwipedTranslate:p}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){var l=this.props,o=l.infinite,c=l.isRTL;return o||(c?this.canSlideNext():this.canSlidePrevious())}},{key:"canSlideRight",value:function(){var l=this.props,o=l.infinite,c=l.isRTL;return o||(c?this.canSlidePrevious():this.canSlideNext())}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex<this.props.items.length-1}},{key:"handleSwiping",value:function(l){var o=l.event,c=l.absX,p=l.absY,h=l.dir,m=this.props,w=m.disableSwipe,b=m.stopPropagation,T=m.swipingTransitionDuration,O=this.state,R=O.galleryWidth,D=O.galleryHeight,L=O.isTransitioning,M=O.swipingUpDown,U=O.swipingLeftRight,P=this.props.slideVertically;if((h!==Oo&&h!==ko&&!M||U||(M||this.setState({swipingUpDown:!0}),P))&&(h!==xo&&h!==Ro||U||this.setState({swipingLeftRight:!0}),!w))if(b&&o.preventDefault(),L)this.setState({currentSlideOffset:0});else{if((h===xo||h===Ro)&&P||(h===Oo||h===ko)&&!P)return;var N=cd(cd(cd(cd({},xo,-1),Ro,1),Oo,-1),ko,1)[h],z=c/R*100;P&&(z=p/D*100),Math.abs(z)>=100&&(z=100);var j={transition:"transform ".concat(T,"ms ease-out")};this.setState({currentSlideOffset:N*z,slideStyle:j})}}},{key:"handleThumbnailSwiping",value:function(l){var o=l.event,c=l.absX,p=l.absY,h=l.dir,m=this.props,w=m.stopPropagation,b=m.swipingThumbnailTransitionDuration,T=this.state,O=T.thumbsSwipedTranslate,R=T.thumbnailsWrapperHeight,D=T.thumbnailsWrapperWidth,L=T.swipingUpDown,M=T.swipingLeftRight;if(this.isThumbnailVertical()){if((h===xo||h===Ro||M)&&!L)return void(M||this.setState({swipingLeftRight:!0}));h!==Oo&&h!==ko||L||this.setState({swipingUpDown:!0})}else{if((h===Oo||h===ko||L)&&!M)return void(L||this.setState({swipingUpDown:!0}));h!==xo&&h!==Ro||M||this.setState({swipingLeftRight:!0})}var U,P,N,z,j,q=this.thumbnails&&this.thumbnails.current;if(this.isThumbnailVertical()?(U=O+(h===ko?p:-p),P=q.scrollHeight-R+20,N=Math.abs(U)>P,z=U>20,j=q.scrollHeight<=R):(U=O+(h===Ro?c:-c),P=q.scrollWidth-D+20,N=Math.abs(U)>P,z=U>20,j=q.scrollWidth<=D),!j&&(h!==xo&&h!==Oo||!N)&&(h!==Ro&&h!==ko||!z)){w&&o.stopPropagation();var $={transition:"transform ".concat(b,"ms ease-out")};this.setState({thumbsTranslate:U,thumbsStyle:$})}}},{key:"handleOnThumbnailSwiped",value:function(){var l=this.state.thumbsTranslate,o=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:l,thumbsStyle:{transition:"all ".concat(o,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){var l=this.state.currentSlideOffset,o=this.props.swipeThreshold;return Math.abs(l)>o}},{key:"resetSwipingDirection",value:function(){var l=this.state,o=l.swipingUpDown,c=l.swipingLeftRight;o&&this.setState({swipingUpDown:!1}),c&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(l){var o=l.event,c=l.dir,p=l.velocity,h=this.props,m=h.disableSwipe,w=h.stopPropagation,b=h.flickThreshold,T=this.props.slideVertically;if(!m){var O=this.props.isRTL;w&&o.stopPropagation(),this.resetSwipingDirection();var R=(c===xo?1:-1)*(O?-1:1);T&&(R=c===Oo?1:-1);var D=T?p>b&&!(c===xo||c===Ro):p>b&&!(c===Oo||c===ko);this.handleOnSwipedTo(R,D)}}},{key:"handleOnSwipedTo",value:function(l,o){var c=this.state,p=c.currentIndex,h=c.isTransitioning,m=p;!this.sufficientSwipe()&&!o||h||(m+=l),(l===-1&&!this.canSlideLeft()||l===1&&!this.canSlideRight())&&(m=p),this.unthrottledSlideToIndex(m)}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(l){var o=this.props,c=o.disableKeyDown,p=o.useBrowserFullscreen,h=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!c)switch(parseInt(l.keyCode||l.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(l);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(l);break;case 27:h&&!p&&this.exitFullScreen()}}},{key:"handleImageError",value:function(l){var o=this.props.onErrorImageURL;o&&l.target.src.indexOf(o)===-1&&(l.target.src=o)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var l=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth,galleryHeight:this.imageGallery.current.offsetHeight}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(l)))}},{key:"initSlideWrapperResizeObserver",value:function(l){var o=this;l&&!l.current||(this.resizeSlideWrapperObserver=new bx(qw(function(c){c&&c.forEach(function(p){o.setState({thumbnailsWrapperWidth:p.contentRect.width},o.handleResize)})},50)),this.resizeSlideWrapperObserver.observe(l.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(l){var o=this;l&&!l.current||(this.resizeThumbnailWrapperObserver=new bx(qw(function(c){c&&c.forEach(function(p){o.setState({thumbnailsWrapperHeight:p.contentRect.height},o.handleResize)})},50)),this.resizeThumbnailWrapperObserver.observe(l.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var l=this.props,o=l.onScreenChange,c=l.useBrowserFullscreen,p=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,h=this.imageGallery.current===p;o&&o(h),c&&this.setState({isFullscreen:h})}},{key:"slideToIndex",value:function(l,o){var c=this.state,p=c.currentIndex,h=c.isTransitioning,m=this.props,w=m.items,b=m.slideDuration,T=m.onBeforeSlide;if(!h){o&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var O=w.length-1,R=l;l<0?R=O:l>O&&(R=0),T&&R!==p&&T(R),this.setState({previousIndex:p,currentIndex:R,isTransitioning:R!==p,currentSlideOffset:0,slideStyle:{transition:"all ".concat(b,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(l){var o=this.props.isRTL;this.slideTo(l,o?"right":"left")}},{key:"slideRight",value:function(l){var o=this.props.isRTL;this.slideTo(l,o?"left":"right")}},{key:"slideTo",value:function(l,o){var c=this.state,p=c.currentIndex,h=c.isTransitioning,m=this.props.items,w=p+(o==="left"?-1:1);h||(m.length===2?this.slideToIndexWithStyleReset(w,l):this.slideToIndex(w,l))}},{key:"slideToIndexWithStyleReset",value:function(l,o){var c=this,p=this.state,h=p.currentIndex,m=p.currentSlideOffset;this.setState({currentSlideOffset:m+(h>l?.001:-.001),slideStyle:{transition:"none"}},function(){window.setTimeout(function(){return c.slideToIndex(l,o)},25)})}},{key:"handleThumbnailMouseOver",value:function(l,o){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(l,o)}},{key:"handleThumbnailKeyUp",value:function(l,o){Ax(l)&&this.onThumbnailClick(l,o)}},{key:"handleSlideKeyUp",value:function(l){Ax(l)&&(0,this.props.onClick)(l)}},{key:"isThumbnailVertical",value:function(){var l=this.props.thumbnailPosition;return l==="left"||l==="right"}},{key:"addScreenChangeEvent",value:function(){var l=this;zx.forEach(function(o){document.addEventListener(o,l.handleScreenChange)})}},{key:"removeScreenChangeEvent",value:function(){var l=this;zx.forEach(function(o){document.removeEventListener(o,l.handleScreenChange)})}},{key:"fullScreen",value:function(){var l=this.props.useBrowserFullscreen,o=this.imageGallery.current;l?o.requestFullscreen?o.requestFullscreen():o.msRequestFullscreen?o.msRequestFullscreen():o.mozRequestFullScreen?o.mozRequestFullScreen():o.webkitRequestFullscreen?o.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var l=this.state.isFullscreen,o=this.props.useBrowserFullscreen;l&&(o?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var l=this.props.infinite,o=this.state.currentIndex;l||this.canSlideRight()?this.slideToIndex(o+1):this.pause()}},{key:"play",value:function(){var l=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],o=this.props,c=o.onPlay,p=o.slideInterval,h=o.slideDuration,m=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(p,h)),c&&l&&c(m))}},{key:"pause",value:function(){var l=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],o=this.props.onPause,c=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),o&&l&&o(c))}},{key:"isImageLoaded",value:function(l){return!!this.loadedImages[l.original]||(this.loadedImages[l.original]=!0,!1)}},{key:"handleImageLoaded",value:function(l,o){var c=this.props.onImageLoad;!this.loadedImages[o]&&c&&(this.loadedImages[o]=!0,c(l))}},{key:"renderItem",value:function(l){var o=this.state.isFullscreen,c=this.props.onImageError||this.handleImageError;return xe.default.createElement(NN,{description:l.description,fullscreen:l.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:o,onImageError:c,original:l.original,originalAlt:l.originalAlt,originalHeight:l.originalHeight,originalWidth:l.originalWidth,originalTitle:l.originalTitle,sizes:l.sizes,loading:l.loading,srcSet:l.srcSet})}},{key:"renderThumbInner",value:function(l){var o=this.props.onThumbnailError||this.handleImageError;return xe.default.createElement("span",{className:"image-gallery-thumbnail-inner"},xe.default.createElement("img",{className:"image-gallery-thumbnail-image",src:l.thumbnail,height:l.thumbnailHeight,width:l.thumbnailWidth,alt:l.thumbnailAlt,title:l.thumbnailTitle,loading:l.thumbnailLoading,onError:o}),l.thumbnailLabel&&xe.default.createElement("div",{className:"image-gallery-thumbnail-label"},l.thumbnailLabel))}},{key:"render",value:function(){var l=this.state,o=l.currentIndex,c=l.isFullscreen,p=l.modalFullscreen,h=l.isPlaying,m=this.props,w=m.additionalClass,b=m.disableThumbnailSwipe,T=m.indexSeparator,O=m.isRTL,R=m.items,D=m.thumbnailPosition,L=m.renderFullscreenButton,M=m.renderCustomControls,U=m.renderLeftNav,P=m.renderRightNav,N=m.renderTopNav,z=m.renderBottomNav,j=m.showBullets,q=m.showFullscreenButton,$=m.showIndex,se=m.showThumbnails,le=m.showNav,ve=m.showPlayButton,ee=m.slideVertically,J=m.renderPlayPauseButton,re=this.getThumbnailStyle(),oe=this.getSlideItems(),we=oe.slides,Qe=oe.thumbnails,Ge=oe.bullets,be=tc("image-gallery-slide-wrapper",this.getThumbnailPositionClassName(D),{"image-gallery-rtl":O}),$e=tc("image-gallery-bullets",{"image-gallery-bullets-vertical":ee}),ue=xe.default.createElement("div",{ref:this.imageGallerySlideWrapper,className:be},M&&M(),this.canSlide()?xe.default.createElement(xe.default.Fragment,null,le&&xe.default.createElement(xe.default.Fragment,null,ee?N(this.slideLeft,!this.canSlideLeft()):U(this.slideLeft,!this.canSlideLeft()),ee?z(this.slideRight,!this.canSlideRight()):P(this.slideRight,!this.canSlideRight())),xe.default.createElement(Mx,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},xe.default.createElement("div",{className:"image-gallery-slides"},we))):xe.default.createElement("div",{className:"image-gallery-slides"},we),ve&&J(this.togglePlay,h),j&&xe.default.createElement("div",{className:$e},xe.default.createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},Ge)),q&&L(this.toggleFullScreen,c),$&&xe.default.createElement("div",{className:"image-gallery-index"},xe.default.createElement("span",{className:"image-gallery-index-current"},o+1),xe.default.createElement("span",{className:"image-gallery-index-separator"},T),xe.default.createElement("span",{className:"image-gallery-index-total"},R.length))),Se=tc("image-gallery",w,{"fullscreen-modal":p}),ye=tc("image-gallery-content",this.getThumbnailPositionClassName(D),{fullscreen:c}),tt=tc("image-gallery-thumbnails-wrapper",this.getThumbnailPositionClassName(D),{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&O},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!b},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!b});return xe.default.createElement("div",{ref:this.imageGallery,className:Se,"aria-live":"polite"},xe.default.createElement("div",{className:ye},(D==="bottom"||D==="right")&&ue,se&&Qe.length>0?xe.default.createElement(Mx,{className:tt,delta:0,onSwiping:!b&&this.handleThumbnailSwiping,onSwiped:!b&&this.handleOnThumbnailSwiped},xe.default.createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},xe.default.createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:re,"aria-label":"Thumbnail Navigation"},Qe))):null,(D==="top"||D==="left")&&ue))}}])}();ib.propTypes={flickThreshold:ie.number,items:(0,ie.arrayOf)((0,ie.shape)({bulletClass:ie.string,bulletOnClick:ie.func,description:ie.string,original:ie.string,originalHeight:ie.number,originalWidth:ie.number,loading:ie.string,thumbnailHeight:ie.number,thumbnailWidth:ie.number,thumbnailLoading:ie.string,fullscreen:ie.string,originalAlt:ie.string,originalTitle:ie.string,thumbnail:ie.string,thumbnailAlt:ie.string,thumbnailLabel:ie.string,thumbnailTitle:ie.string,originalClass:ie.string,thumbnailClass:ie.string,renderItem:ie.func,renderThumbInner:ie.func,imageSet:GN,srcSet:ie.string,sizes:ie.string})).isRequired,showNav:ie.bool,autoPlay:ie.bool,lazyLoad:ie.bool,infinite:ie.bool,showIndex:ie.bool,showBullets:ie.bool,showThumbnails:ie.bool,showPlayButton:ie.bool,showFullscreenButton:ie.bool,disableThumbnailScroll:ie.bool,disableKeyDown:ie.bool,disableSwipe:ie.bool,disableThumbnailSwipe:ie.bool,useBrowserFullscreen:ie.bool,onErrorImageURL:ie.string,indexSeparator:ie.string,thumbnailPosition:(0,ie.oneOf)(["top","bottom","left","right"]),startIndex:ie.number,slideDuration:ie.number,slideInterval:ie.number,slideOnThumbnailOver:ie.bool,swipeThreshold:ie.number,swipingTransitionDuration:ie.number,swipingThumbnailTransitionDuration:ie.number,onSlide:ie.func,onBeforeSlide:ie.func,onScreenChange:ie.func,onPause:ie.func,onPlay:ie.func,onClick:ie.func,onImageLoad:ie.func,onImageError:ie.func,onTouchMove:ie.func,onTouchEnd:ie.func,onTouchStart:ie.func,onMouseOver:ie.func,onMouseLeave:ie.func,onBulletClick:ie.func,onThumbnailError:ie.func,onThumbnailClick:ie.func,renderCustomControls:ie.func,renderLeftNav:ie.func,renderRightNav:ie.func,renderTopNav:ie.func,renderBottomNav:ie.func,renderPlayPauseButton:ie.func,renderFullscreenButton:ie.func,renderItem:ie.func,renderThumbInner:ie.func,stopPropagation:ie.bool,additionalClass:ie.string,useTranslate3D:ie.bool,isRTL:ie.bool,useWindowKeyDown:ie.bool,slideVertically:ie.bool},ib.defaultProps={onErrorImageURL:"",additionalClass:"",showNav:!0,autoPlay:!1,lazyLoad:!1,infinite:!0,showIndex:!1,showBullets:!1,showThumbnails:!0,showPlayButton:!0,showFullscreenButton:!0,disableThumbnailScroll:!1,disableKeyDown:!1,disableSwipe:!1,disableThumbnailSwipe:!1,useTranslate3D:!0,isRTL:!1,useBrowserFullscreen:!0,flickThreshold:.4,stopPropagation:!1,indexSeparator:" / ",thumbnailPosition:"bottom",startIndex:0,slideDuration:450,swipingTransitionDuration:0,swipingThumbnailTransitionDuration:0,onSlide:null,onBeforeSlide:null,onScreenChange:null,onPause:null,onPlay:null,onClick:null,onImageLoad:null,onImageError:null,onTouchMove:null,onTouchEnd:null,onTouchStart:null,onMouseOver:null,onMouseLeave:null,onBulletClick:null,onThumbnailError:null,onThumbnailClick:null,renderCustomControls:null,renderThumbInner:null,renderItem:null,slideInterval:3e3,slideOnThumbnailOver:!1,swipeThreshold:30,slideVertically:!1,renderLeftNav:function(i,l){return xe.default.createElement(UN,{onClick:i,disabled:l})},renderRightNav:function(i,l){return xe.default.createElement(FN,{onClick:i,disabled:l})},renderTopNav:function(i,l){return xe.default.createElement(VN,{onClick:i,disabled:l})},renderBottomNav:function(i,l){return xe.default.createElement($N,{onClick:i,disabled:l})},renderPlayPauseButton:function(i,l){return xe.default.createElement(IN,{onClick:i,isPlaying:l})},renderFullscreenButton:function(i,l){return xe.default.createElement(jN,{onClick:i,isFullscreen:l})},useWindowKeyDown:!0};const YN=ib;var qN=h1.A;const QN=({images:i,block:l})=>ge.jsx(qN,{items:i,additionalClass:l,showFullscreenButton:!1,showPlayButton:!1}),XN="inputTestId",R1=({value:i,onChange:l,hasError:o,placeholder:c,block:p,disabled:h=!1,type:m="text",id:w="input",name:b="input",isReadOnly:T=!1,isTransparent:O=!1})=>{const R=Hn(p,"input",{error:o,transparent:O}),D=L=>{l&&l(L.currentTarget.value)};return ge.jsx("input",{readOnly:T,onChange:D,disabled:h,autoComplete:"off","data-testid":XN,className:R,id:w,name:b,placeholder:c,value:i,type:m})};function KN(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Nv={},Px;function ZN(){if(Px)return Nv;Px=1,Object.defineProperty(Nv,"__esModule",{value:!0}),Nv.parse=m,Nv.serialize=T;const i=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,l=/^[\u0021-\u003A\u003C-\u007E]*$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,c=/^[\u0020-\u003A\u003D-\u007E]*$/,p=Object.prototype.toString,h=(()=>{const D=function(){};return D.prototype=Object.create(null),D})();function m(D,L){const M=new h,U=D.length;if(U<2)return M;const P=(L==null?void 0:L.decode)||O;let N=0;do{const z=D.indexOf("=",N);if(z===-1)break;const j=D.indexOf(";",N),q=j===-1?U:j;if(z>q){N=D.lastIndexOf(";",z-1)+1;continue}const $=w(D,N,z),se=b(D,z,$),le=D.slice($,se);if(M[le]===void 0){let ve=w(D,z+1,q),ee=b(D,q,ve);const J=P(D.slice(ve,ee));M[le]=J}N=q+1}while(N<U);return M}function w(D,L,M){do{const U=D.charCodeAt(L);if(U!==32&&U!==9)return L}while(++L<M);return M}function b(D,L,M){for(;L>M;){const U=D.charCodeAt(--L);if(U!==32&&U!==9)return L+1}return M}function T(D,L,M){const U=(M==null?void 0:M.encode)||encodeURIComponent;if(!i.test(D))throw new TypeError(`argument name is invalid: ${D}`);const P=U(L);if(!l.test(P))throw new TypeError(`argument val is invalid: ${L}`);let N=D+"="+P;if(!M)return N;if(M.maxAge!==void 0){if(!Number.isInteger(M.maxAge))throw new TypeError(`option maxAge is invalid: ${M.maxAge}`);N+="; Max-Age="+M.maxAge}if(M.domain){if(!o.test(M.domain))throw new TypeError(`option domain is invalid: ${M.domain}`);N+="; Domain="+M.domain}if(M.path){if(!c.test(M.path))throw new TypeError(`option path is invalid: ${M.path}`);N+="; Path="+M.path}if(M.expires){if(!R(M.expires)||!Number.isFinite(M.expires.valueOf()))throw new TypeError(`option expires is invalid: ${M.expires}`);N+="; Expires="+M.expires.toUTCString()}if(M.httpOnly&&(N+="; HttpOnly"),M.secure&&(N+="; Secure"),M.partitioned&&(N+="; Partitioned"),M.priority)switch(typeof M.priority=="string"?M.priority.toLowerCase():void 0){case"low":N+="; Priority=Low";break;case"medium":N+="; Priority=Medium";break;case"high":N+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${M.priority}`)}if(M.sameSite)switch(typeof M.sameSite=="string"?M.sameSite.toLowerCase():M.sameSite){case!0:case"strict":N+="; SameSite=Strict";break;case"lax":N+="; SameSite=Lax";break;case"none":N+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${M.sameSite}`)}return N}function O(D){if(D.indexOf("%")===-1)return D;try{return decodeURIComponent(D)}catch{return D}}function R(D){return p.call(D)==="[object Date]"}return Nv}ZN();/**
|
|
2
|
-
* react-router v7.5.0
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) Remix Software Inc.
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
8
|
-
*
|
|
9
|
-
* @license MIT
|
|
10
|
-
*/function _r(i,l){if(i===!1||i===null||typeof i>"u")throw new Error(l)}function No(i,l){if(!i){typeof console<"u"&&console.warn(l);try{throw new Error(l)}catch{}}}function lb({pathname:i="/",search:l="",hash:o=""}){return l&&l!=="?"&&(i+=l.charAt(0)==="?"?l:"?"+l),o&&o!=="#"&&(i+=o.charAt(0)==="#"?o:"#"+o),i}function Sb(i){let l={};if(i){let o=i.indexOf("#");o>=0&&(l.hash=i.substring(o),i=i.substring(0,o));let c=i.indexOf("?");c>=0&&(l.search=i.substring(c),i=i.substring(0,c)),i&&(l.pathname=i)}return l}function O1(i,l,o="/"){return JN(i,l,o,!1)}function JN(i,l,o,c){let p=typeof l=="string"?Sb(l):l,h=_u(p.pathname||"/",o);if(h==null)return null;let m=k1(i);e2(m);let w=null;for(let b=0;w==null&&b<m.length;++b){let T=f2(h);w=s2(m[b],T,c)}return w}function k1(i,l=[],o=[],c=""){let p=(h,m,w)=>{let b={relativePath:w===void 0?h.path||"":w,caseSensitive:h.caseSensitive===!0,childrenIndex:m,route:h};b.relativePath.startsWith("/")&&(_r(b.relativePath.startsWith(c),`Absolute route path "${b.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(c.length));let T=Lo([c,b.relativePath]),O=o.concat(b);h.children&&h.children.length>0&&(_r(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${T}".`),k1(h.children,l,O,T)),!(h.path==null&&!h.index)&&l.push({path:T,score:o2(T,h.index),routesMeta:O})};return i.forEach((h,m)=>{var w;if(h.path===""||!((w=h.path)!=null&&w.includes("?")))p(h,m);else for(let b of D1(h.path))p(h,m,b)}),l}function D1(i){let l=i.split("/");if(l.length===0)return[];let[o,...c]=l,p=o.endsWith("?"),h=o.replace(/\?$/,"");if(c.length===0)return p?[h,""]:[h];let m=D1(c.join("/")),w=[];return w.push(...m.map(b=>b===""?h:[h,b].join("/"))),p&&w.push(...m),w.map(b=>i.startsWith("/")&&b===""?"/":b)}function e2(i){i.sort((l,o)=>l.score!==o.score?o.score-l.score:u2(l.routesMeta.map(c=>c.childrenIndex),o.routesMeta.map(c=>c.childrenIndex)))}var t2=/^:[\w-]+$/,n2=3,r2=2,a2=1,i2=10,l2=-2,jx=i=>i==="*";function o2(i,l){let o=i.split("/"),c=o.length;return o.some(jx)&&(c+=l2),l&&(c+=r2),o.filter(p=>!jx(p)).reduce((p,h)=>p+(t2.test(h)?n2:h===""?a2:i2),c)}function u2(i,l){return i.length===l.length&&i.slice(0,-1).every((c,p)=>c===l[p])?i[i.length-1]-l[l.length-1]:0}function s2(i,l,o=!1){let{routesMeta:c}=i,p={},h="/",m=[];for(let w=0;w<c.length;++w){let b=c[w],T=w===c.length-1,O=h==="/"?l:l.slice(h.length)||"/",R=ey({path:b.relativePath,caseSensitive:b.caseSensitive,end:T},O),D=b.route;if(!R&&T&&o&&!c[c.length-1].route.index&&(R=ey({path:b.relativePath,caseSensitive:b.caseSensitive,end:!1},O)),!R)return null;Object.assign(p,R.params),m.push({params:p,pathname:Lo([h,R.pathname]),pathnameBase:h2(Lo([h,R.pathnameBase])),route:D}),R.pathnameBase!=="/"&&(h=Lo([h,R.pathnameBase]))}return m}function ey(i,l){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[o,c]=c2(i.path,i.caseSensitive,i.end),p=l.match(o);if(!p)return null;let h=p[0],m=h.replace(/(.)\/+$/,"$1"),w=p.slice(1);return{params:c.reduce((T,{paramName:O,isOptional:R},D)=>{if(O==="*"){let M=w[D]||"";m=h.slice(0,h.length-M.length).replace(/(.)\/+$/,"$1")}const L=w[D];return R&&!L?T[O]=void 0:T[O]=(L||"").replace(/%2F/g,"/"),T},{}),pathname:h,pathnameBase:m,pattern:i}}function c2(i,l=!1,o=!0){No(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let c=[],p="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,w,b)=>(c.push({paramName:w,isOptional:b!=null}),b?"/?([^\\/]+)?":"/([^\\/]+)"));return i.endsWith("*")?(c.push({paramName:"*"}),p+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?p+="\\/*$":i!==""&&i!=="/"&&(p+="(?:(?=\\/|$))"),[new RegExp(p,l?void 0:"i"),c]}function f2(i){try{return i.split("/").map(l=>decodeURIComponent(l).replace(/\//g,"%2F")).join("/")}catch(l){return No(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${l}).`),i}}function _u(i,l){if(l==="/")return i;if(!i.toLowerCase().startsWith(l.toLowerCase()))return null;let o=l.endsWith("/")?l.length-1:l.length,c=i.charAt(o);return c&&c!=="/"?null:i.slice(o)||"/"}function d2(i,l="/"){let{pathname:o,search:c="",hash:p=""}=typeof i=="string"?Sb(i):i;return{pathname:o?o.startsWith("/")?o:p2(o,l):l,search:m2(c),hash:g2(p)}}function p2(i,l){let o=l.replace(/\/+$/,"").split("/");return i.split("/").forEach(p=>{p===".."?o.length>1&&o.pop():p!=="."&&o.push(p)}),o.length>1?o.join("/"):"/"}function zw(i,l,o,c){return`Cannot include a '${i}' character in a manually specified \`to.${l}\` field [${JSON.stringify(c)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function v2(i){return i.filter((l,o)=>o===0||l.route.path&&l.route.path.length>0)}function _1(i){let l=v2(i);return l.map((o,c)=>c===l.length-1?o.pathname:o.pathnameBase)}function M1(i,l,o,c=!1){let p;typeof i=="string"?p=Sb(i):(p={...i},_r(!p.pathname||!p.pathname.includes("?"),zw("?","pathname","search",p)),_r(!p.pathname||!p.pathname.includes("#"),zw("#","pathname","hash",p)),_r(!p.search||!p.search.includes("#"),zw("#","search","hash",p)));let h=i===""||p.pathname==="",m=h?"/":p.pathname,w;if(m==null)w=o;else{let R=l.length-1;if(!c&&m.startsWith("..")){let D=m.split("/");for(;D[0]==="..";)D.shift(),R-=1;p.pathname=D.join("/")}w=R>=0?l[R]:"/"}let b=d2(p,w),T=m&&m!=="/"&&m.endsWith("/"),O=(h||m===".")&&o.endsWith("/");return!b.pathname.endsWith("/")&&(T||O)&&(b.pathname+="/"),b}var Lo=i=>i.join("/").replace(/\/\/+/g,"/"),h2=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),m2=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,g2=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i;function y2(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}var L1=["POST","PUT","PATCH","DELETE"];new Set(L1);var S2=["GET",...L1];new Set(S2);var md=V.createContext(null);md.displayName="DataRouter";var ay=V.createContext(null);ay.displayName="DataRouterState";var N1=V.createContext({isTransitioning:!1});N1.displayName="ViewTransition";var w2=V.createContext(new Map);w2.displayName="Fetchers";var b2=V.createContext(null);b2.displayName="Await";var zo=V.createContext(null);zo.displayName="Navigation";var wb=V.createContext(null);wb.displayName="Location";var Ao=V.createContext({outlet:null,matches:[],isDataRoute:!1});Ao.displayName="Route";var bb=V.createContext(null);bb.displayName="RouteError";function E2(i,{relative:l}={}){_r(iy(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:c}=V.useContext(zo),{hash:p,pathname:h,search:m}=Bv(i,{relative:l}),w=h;return o!=="/"&&(w=h==="/"?o:Lo([o,h])),c.createHref({pathname:w,search:m,hash:p})}function iy(){return V.useContext(wb)!=null}function sc(){return _r(iy(),"useLocation() may be used only in the context of a <Router> component."),V.useContext(wb).location}var z1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function A1(i){V.useContext(zo).static||V.useLayoutEffect(i)}function T2(){let{isDataRoute:i}=V.useContext(Ao);return i?P2():C2()}function C2(){_r(iy(),"useNavigate() may be used only in the context of a <Router> component.");let i=V.useContext(md),{basename:l,navigator:o}=V.useContext(zo),{matches:c}=V.useContext(Ao),{pathname:p}=sc(),h=JSON.stringify(_1(c)),m=V.useRef(!1);return A1(()=>{m.current=!0}),V.useCallback((b,T={})=>{if(No(m.current,z1),!m.current)return;if(typeof b=="number"){o.go(b);return}let O=M1(b,JSON.parse(h),p,T.relative==="path");i==null&&l!=="/"&&(O.pathname=O.pathname==="/"?l:Lo([l,O.pathname])),(T.replace?o.replace:o.push)(O,T.state,T)},[l,o,h,p,i])}V.createContext(null);function Bv(i,{relative:l}={}){let{matches:o}=V.useContext(Ao),{pathname:c}=sc(),p=JSON.stringify(_1(o));return V.useMemo(()=>M1(i,JSON.parse(p),c,l==="path"),[i,p,c,l])}function x2(i,l,o,c){_r(iy(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:p,static:h}=V.useContext(zo),{matches:m}=V.useContext(Ao),w=m[m.length-1],b=w?w.params:{},T=w?w.pathname:"/",O=w?w.pathnameBase:"/",R=w&&w.route;{let z=R&&R.path||"";P1(T,!R||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${T}" (under <Route path="${z}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
11
|
-
|
|
12
|
-
Please change the parent <Route path="${z}"> to <Route path="${z==="/"?"*":`${z}/*`}">.`)}let D=sc(),L;L=D;let M=L.pathname||"/",U=M;if(O!=="/"){let z=O.replace(/^\//,"").split("/");U="/"+M.replace(/^\//,"").split("/").slice(z.length).join("/")}let P=!h&&o&&o.matches&&o.matches.length>0?o.matches:O1(i,{pathname:U});return No(R||P!=null,`No routes matched location "${L.pathname}${L.search}${L.hash}" `),No(P==null||P[P.length-1].route.element!==void 0||P[P.length-1].route.Component!==void 0||P[P.length-1].route.lazy!==void 0,`Matched leaf route at location "${L.pathname}${L.search}${L.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),_2(P&&P.map(z=>Object.assign({},z,{params:Object.assign({},b,z.params),pathname:Lo([O,p.encodeLocation?p.encodeLocation(z.pathname).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?O:Lo([O,p.encodeLocation?p.encodeLocation(z.pathnameBase).pathname:z.pathnameBase])})),m,o,c)}function R2(){let i=A2(),l=y2(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),o=i instanceof Error?i.stack:null,c="rgba(200,200,200, 0.5)",p={padding:"0.5rem",backgroundColor:c},h={padding:"2px 4px",backgroundColor:c},m=null;return console.error("Error handled by React Router default ErrorBoundary:",i),m=V.createElement(V.Fragment,null,V.createElement("p",null,"💿 Hey developer 👋"),V.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",V.createElement("code",{style:h},"ErrorBoundary")," or"," ",V.createElement("code",{style:h},"errorElement")," prop on your route.")),V.createElement(V.Fragment,null,V.createElement("h2",null,"Unexpected Application Error!"),V.createElement("h3",{style:{fontStyle:"italic"}},l),o?V.createElement("pre",{style:p},o):null,m)}var O2=V.createElement(R2,null),k2=class extends V.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,l){return l.location!==i.location||l.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:l.error,location:l.location,revalidation:i.revalidation||l.revalidation}}componentDidCatch(i,l){console.error("React Router caught the following error during render",i,l)}render(){return this.state.error!==void 0?V.createElement(Ao.Provider,{value:this.props.routeContext},V.createElement(bb.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function D2({routeContext:i,match:l,children:o}){let c=V.useContext(md);return c&&c.static&&c.staticContext&&(l.route.errorElement||l.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=l.route.id),V.createElement(Ao.Provider,{value:i},o)}function _2(i,l=[],o=null,c=null){if(i==null){if(!o)return null;if(o.errors)i=o.matches;else if(l.length===0&&!o.initialized&&o.matches.length>0)i=o.matches;else return null}let p=i,h=o==null?void 0:o.errors;if(h!=null){let b=p.findIndex(T=>T.route.id&&(h==null?void 0:h[T.route.id])!==void 0);_r(b>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),p=p.slice(0,Math.min(p.length,b+1))}let m=!1,w=-1;if(o)for(let b=0;b<p.length;b++){let T=p[b];if((T.route.HydrateFallback||T.route.hydrateFallbackElement)&&(w=b),T.route.id){let{loaderData:O,errors:R}=o,D=T.route.loader&&!O.hasOwnProperty(T.route.id)&&(!R||R[T.route.id]===void 0);if(T.route.lazy||D){m=!0,w>=0?p=p.slice(0,w+1):p=[p[0]];break}}}return p.reduceRight((b,T,O)=>{let R,D=!1,L=null,M=null;o&&(R=h&&T.route.id?h[T.route.id]:void 0,L=T.route.errorElement||O2,m&&(w<0&&O===0?(P1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),D=!0,M=null):w===O&&(D=!0,M=T.route.hydrateFallbackElement||null)));let U=l.concat(p.slice(0,O+1)),P=()=>{let N;return R?N=L:D?N=M:T.route.Component?N=V.createElement(T.route.Component,null):T.route.element?N=T.route.element:N=b,V.createElement(D2,{match:T,routeContext:{outlet:b,matches:U,isDataRoute:o!=null},children:N})};return o&&(T.route.ErrorBoundary||T.route.errorElement||O===0)?V.createElement(k2,{location:o.location,revalidation:o.revalidation,component:L,error:R,children:P(),routeContext:{outlet:null,matches:U,isDataRoute:!0}}):P()},null)}function Eb(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function M2(i){let l=V.useContext(md);return _r(l,Eb(i)),l}function L2(i){let l=V.useContext(ay);return _r(l,Eb(i)),l}function N2(i){let l=V.useContext(Ao);return _r(l,Eb(i)),l}function Tb(i){let l=N2(i),o=l.matches[l.matches.length-1];return _r(o.route.id,`${i} can only be used on routes that contain a unique "id"`),o.route.id}function z2(){return Tb("useRouteId")}function A2(){var c;let i=V.useContext(bb),l=L2("useRouteError"),o=Tb("useRouteError");return i!==void 0?i:(c=l.errors)==null?void 0:c[o]}function P2(){let{router:i}=M2("useNavigate"),l=Tb("useNavigate"),o=V.useRef(!1);return A1(()=>{o.current=!0}),V.useCallback(async(p,h={})=>{No(o.current,z1),o.current&&(typeof p=="number"?i.navigate(p):await i.navigate(p,{fromRouteId:l,...h}))},[i,l])}var Ux={};function P1(i,l,o){!l&&!Ux[i]&&(Ux[i]=!0,No(!1,o))}V.memo(j2);function j2({routes:i,future:l,state:o}){return x2(i,void 0,o,l)}var $g="get",Wg="application/x-www-form-urlencoded";function ly(i){return i!=null&&typeof i.tagName=="string"}function U2(i){return ly(i)&&i.tagName.toLowerCase()==="button"}function F2(i){return ly(i)&&i.tagName.toLowerCase()==="form"}function I2(i){return ly(i)&&i.tagName.toLowerCase()==="input"}function H2(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function B2(i,l){return i.button===0&&(!l||l==="_self")&&!H2(i)}var jg=null;function V2(){if(jg===null)try{new FormData(document.createElement("form"),0),jg=!1}catch{jg=!0}return jg}var $2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Aw(i){return i!=null&&!$2.has(i)?(No(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Wg}"`),null):i}function W2(i,l){let o,c,p,h,m;if(F2(i)){let w=i.getAttribute("action");c=w?_u(w,l):null,o=i.getAttribute("method")||$g,p=Aw(i.getAttribute("enctype"))||Wg,h=new FormData(i)}else if(U2(i)||I2(i)&&(i.type==="submit"||i.type==="image")){let w=i.form;if(w==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let b=i.getAttribute("formaction")||w.getAttribute("action");if(c=b?_u(b,l):null,o=i.getAttribute("formmethod")||w.getAttribute("method")||$g,p=Aw(i.getAttribute("formenctype"))||Aw(w.getAttribute("enctype"))||Wg,h=new FormData(w,i),!V2()){let{name:T,type:O,value:R}=i;if(O==="image"){let D=T?`${T}.`:"";h.append(`${D}x`,"0"),h.append(`${D}y`,"0")}else T&&h.append(T,R)}}else{if(ly(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=$g,c=null,p=Wg,m=i}return h&&p==="text/plain"&&(m=h,h=void 0),{action:c,method:o.toLowerCase(),encType:p,formData:h,body:m}}function Cb(i,l){if(i===!1||i===null||typeof i>"u")throw new Error(l)}async function G2(i,l){if(i.id in l)return l[i.id];try{let o=await import(i.module);return l[i.id]=o,o}catch(o){return console.error(`Error loading route module \`${i.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Y2(i){return i==null?!1:i.href==null?i.rel==="preload"&&typeof i.imageSrcSet=="string"&&typeof i.imageSizes=="string":typeof i.rel=="string"&&typeof i.href=="string"}async function q2(i,l,o){let c=await Promise.all(i.map(async p=>{let h=l.routes[p.route.id];if(h){let m=await G2(h,o);return m.links?m.links():[]}return[]}));return Z2(c.flat(1).filter(Y2).filter(p=>p.rel==="stylesheet"||p.rel==="preload").map(p=>p.rel==="stylesheet"?{...p,rel:"prefetch",as:"style"}:{...p,rel:"prefetch"}))}function Fx(i,l,o,c,p,h){let m=(b,T)=>o[T]?b.route.id!==o[T].route.id:!0,w=(b,T)=>{var O;return o[T].pathname!==b.pathname||((O=o[T].route.path)==null?void 0:O.endsWith("*"))&&o[T].params["*"]!==b.params["*"]};return h==="assets"?l.filter((b,T)=>m(b,T)||w(b,T)):h==="data"?l.filter((b,T)=>{var R;let O=c.routes[b.route.id];if(!O||!O.hasLoader)return!1;if(m(b,T)||w(b,T))return!0;if(b.route.shouldRevalidate){let D=b.route.shouldRevalidate({currentUrl:new URL(p.pathname+p.search+p.hash,window.origin),currentParams:((R=o[0])==null?void 0:R.params)||{},nextUrl:new URL(i,window.origin),nextParams:b.params,defaultShouldRevalidate:!0});if(typeof D=="boolean")return D}return!0}):[]}function Q2(i,l,{includeHydrateFallback:o}={}){return X2(i.map(c=>{let p=l.routes[c.route.id];if(!p)return[];let h=[p.module];return p.clientActionModule&&(h=h.concat(p.clientActionModule)),p.clientLoaderModule&&(h=h.concat(p.clientLoaderModule)),o&&p.hydrateFallbackModule&&(h=h.concat(p.hydrateFallbackModule)),p.imports&&(h=h.concat(p.imports)),h}).flat(1))}function X2(i){return[...new Set(i)]}function K2(i){let l={},o=Object.keys(i).sort();for(let c of o)l[c]=i[c];return l}function Z2(i,l){let o=new Set;return new Set(l),i.reduce((c,p)=>{let h=JSON.stringify(K2(p));return o.has(h)||(o.add(h),c.push({key:h,link:p})),c},[])}function J2(i,l){let o=typeof i=="string"?new URL(i,typeof window>"u"?"server://singlefetch/":window.location.origin):i;return o.pathname==="/"?o.pathname="_root.data":l&&_u(o.pathname,l)==="/"?o.pathname=`${l.replace(/\/$/,"")}/_root.data`:o.pathname=`${o.pathname.replace(/\/$/,"")}.data`,o}function j1(){let i=V.useContext(md);return Cb(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function ez(){let i=V.useContext(ay);return Cb(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var xb=V.createContext(void 0);xb.displayName="FrameworkContext";function U1(){let i=V.useContext(xb);return Cb(i,"You must render this element inside a <HydratedRouter> element"),i}function tz(i,l){let o=V.useContext(xb),[c,p]=V.useState(!1),[h,m]=V.useState(!1),{onFocus:w,onBlur:b,onMouseEnter:T,onMouseLeave:O,onTouchStart:R}=l,D=V.useRef(null);V.useEffect(()=>{if(i==="render"&&m(!0),i==="viewport"){let U=N=>{N.forEach(z=>{m(z.isIntersecting)})},P=new IntersectionObserver(U,{threshold:.5});return D.current&&P.observe(D.current),()=>{P.disconnect()}}},[i]),V.useEffect(()=>{if(c){let U=setTimeout(()=>{m(!0)},100);return()=>{clearTimeout(U)}}},[c]);let L=()=>{p(!0)},M=()=>{p(!1),m(!1)};return o?i!=="intent"?[h,D,{}]:[h,D,{onFocus:zv(w,L),onBlur:zv(b,M),onMouseEnter:zv(T,L),onMouseLeave:zv(O,M),onTouchStart:zv(R,L)}]:[!1,D,{}]}function zv(i,l){return o=>{i&&i(o),o.defaultPrevented||l(o)}}function nz({page:i,...l}){let{router:o}=j1(),c=V.useMemo(()=>O1(o.routes,i,o.basename),[o.routes,i,o.basename]);return c?V.createElement(az,{page:i,matches:c,...l}):null}function rz(i){let{manifest:l,routeModules:o}=U1(),[c,p]=V.useState([]);return V.useEffect(()=>{let h=!1;return q2(i,l,o).then(m=>{h||p(m)}),()=>{h=!0}},[i,l,o]),c}function az({page:i,matches:l,...o}){let c=sc(),{manifest:p,routeModules:h}=U1(),{basename:m}=j1(),{loaderData:w,matches:b}=ez(),T=V.useMemo(()=>Fx(i,l,b,p,c,"data"),[i,l,b,p,c]),O=V.useMemo(()=>Fx(i,l,b,p,c,"assets"),[i,l,b,p,c]),R=V.useMemo(()=>{if(i===c.pathname+c.search+c.hash)return[];let M=new Set,U=!1;if(l.forEach(N=>{var j;let z=p.routes[N.route.id];!z||!z.hasLoader||(!T.some(q=>q.route.id===N.route.id)&&N.route.id in w&&((j=h[N.route.id])!=null&&j.shouldRevalidate)||z.hasClientLoader?U=!0:M.add(N.route.id))}),M.size===0)return[];let P=J2(i,m);return U&&M.size>0&&P.searchParams.set("_routes",l.filter(N=>M.has(N.route.id)).map(N=>N.route.id).join(",")),[P.pathname+P.search]},[m,w,c,p,T,l,i,h]),D=V.useMemo(()=>Q2(O,p),[O,p]),L=rz(O);return V.createElement(V.Fragment,null,R.map(M=>V.createElement("link",{key:M,rel:"prefetch",as:"fetch",href:M,...o})),D.map(M=>V.createElement("link",{key:M,rel:"modulepreload",href:M,...o})),L.map(({key:M,link:U})=>V.createElement("link",{key:M,...U})))}function iz(...i){return l=>{i.forEach(o=>{typeof o=="function"?o(l):o!=null&&(o.current=l)})}}var F1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{F1&&(window.__reactRouterVersion="7.5.0")}catch{}var I1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rb=V.forwardRef(function({onClick:l,discover:o="render",prefetch:c="none",relative:p,reloadDocument:h,replace:m,state:w,target:b,to:T,preventScrollReset:O,viewTransition:R,...D},L){let{basename:M}=V.useContext(zo),U=typeof T=="string"&&I1.test(T),P,N=!1;if(typeof T=="string"&&U&&(P=T,F1))try{let ee=new URL(window.location.href),J=T.startsWith("//")?new URL(ee.protocol+T):new URL(T),re=_u(J.pathname,M);J.origin===ee.origin&&re!=null?T=re+J.search+J.hash:N=!0}catch{No(!1,`<Link to="${T}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let z=E2(T,{relative:p}),[j,q,$]=tz(c,D),se=uz(T,{replace:m,state:w,target:b,preventScrollReset:O,relative:p,viewTransition:R});function le(ee){l&&l(ee),ee.defaultPrevented||se(ee)}let ve=V.createElement("a",{...D,...$,href:P||z,onClick:N||h?l:le,ref:iz(L,q),target:b,"data-discover":!U&&o==="render"?"true":void 0});return j&&!U?V.createElement(V.Fragment,null,ve,V.createElement(nz,{page:z})):ve});Rb.displayName="Link";var H1=V.forwardRef(function({"aria-current":l="page",caseSensitive:o=!1,className:c="",end:p=!1,style:h,to:m,viewTransition:w,children:b,...T},O){let R=Bv(m,{relative:T.relative}),D=sc(),L=V.useContext(ay),{navigator:M,basename:U}=V.useContext(zo),P=L!=null&&pz(R)&&w===!0,N=M.encodeLocation?M.encodeLocation(R).pathname:R.pathname,z=D.pathname,j=L&&L.navigation&&L.navigation.location?L.navigation.location.pathname:null;o||(z=z.toLowerCase(),j=j?j.toLowerCase():null,N=N.toLowerCase()),j&&U&&(j=_u(j,U)||j);const q=N!=="/"&&N.endsWith("/")?N.length-1:N.length;let $=z===N||!p&&z.startsWith(N)&&z.charAt(q)==="/",se=j!=null&&(j===N||!p&&j.startsWith(N)&&j.charAt(N.length)==="/"),le={isActive:$,isPending:se,isTransitioning:P},ve=$?l:void 0,ee;typeof c=="function"?ee=c(le):ee=[c,$?"active":null,se?"pending":null,P?"transitioning":null].filter(Boolean).join(" ");let J=typeof h=="function"?h(le):h;return V.createElement(Rb,{...T,"aria-current":ve,className:ee,ref:O,style:J,to:m,viewTransition:w},typeof b=="function"?b(le):b)});H1.displayName="NavLink";var lz=V.forwardRef(({discover:i="render",fetcherKey:l,navigate:o,reloadDocument:c,replace:p,state:h,method:m=$g,action:w,onSubmit:b,relative:T,preventScrollReset:O,viewTransition:R,...D},L)=>{let M=fz(),U=dz(w,{relative:T}),P=m.toLowerCase()==="get"?"get":"post",N=typeof w=="string"&&I1.test(w),z=j=>{if(b&&b(j),j.defaultPrevented)return;j.preventDefault();let q=j.nativeEvent.submitter,$=(q==null?void 0:q.getAttribute("formmethod"))||m;M(q||j.currentTarget,{fetcherKey:l,method:$,navigate:o,replace:p,state:h,relative:T,preventScrollReset:O,viewTransition:R})};return V.createElement("form",{ref:L,method:P,action:U,onSubmit:c?b:z,...D,"data-discover":!N&&i==="render"?"true":void 0})});lz.displayName="Form";function oz(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function B1(i){let l=V.useContext(md);return _r(l,oz(i)),l}function uz(i,{target:l,replace:o,state:c,preventScrollReset:p,relative:h,viewTransition:m}={}){let w=T2(),b=sc(),T=Bv(i,{relative:h});return V.useCallback(O=>{if(B2(O,l)){O.preventDefault();let R=o!==void 0?o:lb(b)===lb(T);w(i,{replace:R,state:c,preventScrollReset:p,relative:h,viewTransition:m})}},[b,w,T,o,c,l,i,p,h,m])}var sz=0,cz=()=>`__${String(++sz)}__`;function fz(){let{router:i}=B1("useSubmit"),{basename:l}=V.useContext(zo),o=z2();return V.useCallback(async(c,p={})=>{let{action:h,method:m,encType:w,formData:b,body:T}=W2(c,l);if(p.navigate===!1){let O=p.fetcherKey||cz();await i.fetch(O,o,p.action||h,{preventScrollReset:p.preventScrollReset,formData:b,body:T,formMethod:p.method||m,formEncType:p.encType||w,flushSync:p.flushSync})}else await i.navigate(p.action||h,{preventScrollReset:p.preventScrollReset,formData:b,body:T,formMethod:p.method||m,formEncType:p.encType||w,replace:p.replace,state:p.state,fromRouteId:o,flushSync:p.flushSync,viewTransition:p.viewTransition})},[i,l,o])}function dz(i,{relative:l}={}){let{basename:o}=V.useContext(zo),c=V.useContext(Ao);_r(c,"useFormAction must be used inside a RouteContext");let[p]=c.matches.slice(-1),h={...Bv(i||".",{relative:l})},m=sc();if(i==null){h.search=m.search;let w=new URLSearchParams(h.search),b=w.getAll("index");if(b.some(O=>O==="")){w.delete("index"),b.filter(R=>R).forEach(R=>w.append("index",R));let O=w.toString();h.search=O?`?${O}`:""}}return(!i||i===".")&&p.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(h.pathname=h.pathname==="/"?o:Lo([o,h.pathname])),lb(h)}function pz(i,l={}){let o=V.useContext(N1);_r(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=B1("useViewTransitionState"),p=Bv(i,{relative:l.relative});if(!o.isTransitioning)return!1;let h=_u(o.currentLocation.pathname,c)||o.currentLocation.pathname,m=_u(o.nextLocation.pathname,c)||o.nextLocation.pathname;return ey(p.pathname,m)!=null||ey(p.pathname,h)!=null}new TextEncoder;const Ix="routerLinkTestId",V1=({color:i,block:l,href:o,to:c,children:p,withIcon:h=!1})=>{const m=Hn(l,"link",`link--${i}`,{"link--icon":h});return c?ge.jsx(Rb,{"data-testid":Ix,to:c,className:m,children:p}):o?ge.jsx("a",{href:o,"data-testid":Ix,className:m,target:"_blank",rel:"noopener noreferrer",children:p}):null},vz="leftIconLinkTestId",hz="rightIconLinkTestId",mz=({RightIcon:i,LeftIcon:l,children:o,...c})=>ge.jsxs(V1,{withIcon:!0,...c,children:[!!l&&ge.jsx(l,{"data-testid":vz}),o,!!i&&ge.jsx(i,{"data-testid":hz})]}),gz=({block:i,to:l,children:o})=>{const c=p=>Hn(i,"nav-link",{_active:p});return ge.jsx(H1,{className:({isActive:p})=>c(p),to:l,children:o})},yz=Object.freeze({LEFT:"left",RIGHT:"right"}),Sz="paginationTestId",wz="paginationArrowLeftTestId",bz="paginationArrowRightTestId",Ez=({block:i,...l})=>ge.jsx("div",{"data-testid":Sz,className:Hn(i,"pagination"),children:ge.jsx(Fv.Body,{...l})}),Tz=({onClick:i,isSelected:l,page:o,disabled:c=!1})=>ge.jsx("button",{disabled:c,onClick:i,className:Hn("","pagination__button",{"_current-page":l}),children:o}),Cz=({onClick:i,direction:l,disabled:o=!1})=>{const c=()=>l===yz.LEFT?ge.jsx(Gi.ArrowNarrowLeft,{"data-testid":wz,className:"pagination__arrow"}):ge.jsx(Gi.ArrowNarrowRight,{"data-testid":bz,className:"pagination__arrow"});return ge.jsx("button",{type:"button",onClick:i,disabled:o,className:"pagination__button",children:c()})},xz=({pages:i,currentPage:l,onPageClick:o,onPrevClick:c,onNextClick:p,isLoading:h=!1})=>{const m=l===1||h,w=l===i.at(-1)||h,b=()=>i.map(T=>{const O=T===l,R=()=>{o(T)};return ge.jsx(Fv.Page,{isSelected:O,onClick:R,disabled:h,page:T},T)});return ge.jsxs("div",{className:"pagination__body",children:[ge.jsx(Fv.Arrow,{disabled:m,onClick:c,direction:"left"}),b(),ge.jsx(Fv.Arrow,{disabled:w,onClick:p,direction:"right"})]})},Fv=Object.assign(Ez,{Page:Tz,Arrow:Cz,Body:xz});function Mu(i){"@babel/helpers - typeof";return Mu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Mu(i)}function Rz(i,l){if(Mu(i)!="object"||!i)return i;var o=i[Symbol.toPrimitive];if(o!==void 0){var c=o.call(i,l);if(Mu(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}function Oz(i){var l=Rz(i,"string");return Mu(l)=="symbol"?l:l+""}function hi(i,l,o){return(l=Oz(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}function Hx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function Kr(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Hx(Object(o),!0).forEach(function(c){hi(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Hx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function ob(i,l){(l==null||l>i.length)&&(l=i.length);for(var o=0,c=Array(l);o<l;o++)c[o]=i[o];return c}function kz(i){if(Array.isArray(i))return ob(i)}function Dz(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function $1(i,l){if(i){if(typeof i=="string")return ob(i,l);var o={}.toString.call(i).slice(8,-1);return o==="Object"&&i.constructor&&(o=i.constructor.name),o==="Map"||o==="Set"?Array.from(i):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ob(i,l):void 0}}function _z(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
13
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _o(i){return kz(i)||Dz(i)||$1(i)||_z()}function Mz(i){if(Array.isArray(i))return i}function Lz(i,l){var o=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(o!=null){var c,p,h,m,w=[],b=!0,T=!1;try{if(h=(o=o.call(i)).next,l===0){if(Object(o)!==o)return;b=!1}else for(;!(b=(c=h.call(o)).done)&&(w.push(c.value),w.length!==l);b=!0);}catch(O){T=!0,p=O}finally{try{if(!b&&o.return!=null&&(m=o.return(),Object(m)!==m))return}finally{if(T)throw p}}return w}}function Nz(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
14
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dr(i,l){return Mz(i)||Lz(i,l)||$1(i,l)||Nz()}var Pw={exports:{}};/*!
|
|
15
|
-
Copyright (c) 2018 Jed Watson.
|
|
16
|
-
Licensed under the MIT License (MIT), see
|
|
17
|
-
http://jedwatson.github.io/classnames
|
|
18
|
-
*/var Bx;function zz(){return Bx||(Bx=1,function(i){(function(){var l={}.hasOwnProperty;function o(){for(var h="",m=0;m<arguments.length;m++){var w=arguments[m];w&&(h=p(h,c(w)))}return h}function c(h){if(typeof h=="string"||typeof h=="number")return h;if(typeof h!="object")return"";if(Array.isArray(h))return o.apply(null,h);if(h.toString!==Object.prototype.toString&&!h.toString.toString().includes("[native code]"))return h.toString();var m="";for(var w in h)l.call(h,w)&&h[w]&&(m=p(m,w));return m}function p(h,m){return m?h?h+" "+m:h+m:h}i.exports?(o.default=o,i.exports=o):window.classNames=o})()}(Pw)),Pw.exports}var Az=zz();const lc=KN(Az);function dd(i){var l=V.useRef();l.current=i;var o=V.useCallback(function(){for(var c,p=arguments.length,h=new Array(p),m=0;m<p;m++)h[m]=arguments[m];return(c=l.current)===null||c===void 0?void 0:c.call.apply(c,[l].concat(h))},[]);return o}function Pz(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Vx=process.env.NODE_ENV!=="test"&&Pz()?V.useLayoutEffect:V.useEffect,W1=function(l,o){var c=V.useRef(!0);Vx(function(){return l(c.current)},o),Vx(function(){return c.current=!1,function(){c.current=!0}},[])},$x=function(l,o){W1(function(c){if(!c)return l()},o)};function Wx(i){var l=V.useRef(!1),o=V.useState(i),c=Dr(o,2),p=c[0],h=c[1];V.useEffect(function(){return l.current=!1,function(){l.current=!0}},[]);function m(w,b){b&&l.current||h(w)}return[p,m]}function jw(i){return i!==void 0}function jz(i,l){var o=l||{},c=o.defaultValue,p=o.value,h=o.onChange,m=o.postState,w=Wx(function(){return jw(p)?p:jw(c)?typeof c=="function"?c():c:typeof i=="function"?i():i}),b=Dr(w,2),T=b[0],O=b[1],R=p!==void 0?p:T,D=m?m(R):R,L=dd(h),M=Wx([R]),U=Dr(M,2),P=U[0],N=U[1];$x(function(){var j=P[0];T!==j&&L(T,j)},[P]),$x(function(){jw(p)||O(p)},[p]);var z=dd(function(j,q){O(j,q),N([R],q)});return[D,z]}var ub={},Ob=[],Uz=function(l){Ob.push(l)};function G1(i,l){if(process.env.NODE_ENV!=="production"&&!i&&console!==void 0){var o=Ob.reduce(function(c,p){return p(c??"","warning")},l);o&&console.error("Warning: ".concat(o))}}function Fz(i,l){if(process.env.NODE_ENV!=="production"&&!i&&console!==void 0){var o=Ob.reduce(function(c,p){return p(c??"","note")},l);o&&console.warn("Note: ".concat(o))}}function Iz(){ub={}}function Y1(i,l,o){!l&&!ub[o]&&(i(!1,o),ub[o]=!0)}function ac(i,l){Y1(G1,i,l)}function Hz(i,l){Y1(Fz,i,l)}ac.preMessage=Uz;ac.resetWarned=Iz;ac.noteOnce=Hz;function Bz(i,l){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,c=new Set;function p(h,m){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,b=c.has(h);if(ac(!b,"Warning: There may be circular references"),b)return!1;if(h===m)return!0;if(o&&w>1)return!1;c.add(h);var T=w+1;if(Array.isArray(h)){if(!Array.isArray(m)||h.length!==m.length)return!1;for(var O=0;O<h.length;O++)if(!p(h[O],m[O],T))return!1;return!0}if(h&&m&&Mu(h)==="object"&&Mu(m)==="object"){var R=Object.keys(h);return R.length!==Object.keys(m).length?!1:R.every(function(D){return p(h[D],m[D],T)})}return!1}return p(i,l)}function Hv(){return Hv=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)({}).hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},Hv.apply(null,arguments)}function Vz(i,l){if(i==null)return{};var o={};for(var c in i)if({}.hasOwnProperty.call(i,c)){if(l.indexOf(c)!==-1)continue;o[c]=i[c]}return o}function q1(i,l){if(i==null)return{};var o,c,p=Vz(i,l);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(i);for(c=0;c<h.length;c++)o=h[c],l.indexOf(o)===-1&&{}.propertyIsEnumerable.call(i,o)&&(p[o]=i[o])}return p}var Ug={exports:{}},Ma={},Fg={exports:{}},Uw={};/**
|
|
19
|
-
* @license React
|
|
20
|
-
* scheduler.production.min.js
|
|
21
|
-
*
|
|
22
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
23
|
-
*
|
|
24
|
-
* This source code is licensed under the MIT license found in the
|
|
25
|
-
* LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/var Gx;function $z(){return Gx||(Gx=1,function(i){function l(ue,Se){var ye=ue.length;ue.push(Se);e:for(;0<ye;){var tt=ye-1>>>1,it=ue[tt];if(0<p(it,Se))ue[tt]=Se,ue[ye]=it,ye=tt;else break e}}function o(ue){return ue.length===0?null:ue[0]}function c(ue){if(ue.length===0)return null;var Se=ue[0],ye=ue.pop();if(ye!==Se){ue[0]=ye;e:for(var tt=0,it=ue.length,Rn=it>>>1;tt<Rn;){var Ht=2*(tt+1)-1,bt=ue[Ht],nt=Ht+1,pt=ue[nt];if(0>p(bt,ye))nt<it&&0>p(pt,bt)?(ue[tt]=pt,ue[nt]=ye,tt=nt):(ue[tt]=bt,ue[Ht]=ye,tt=Ht);else if(nt<it&&0>p(pt,ye))ue[tt]=pt,ue[nt]=ye,tt=nt;else break e}}return Se}function p(ue,Se){var ye=ue.sortIndex-Se.sortIndex;return ye!==0?ye:ue.id-Se.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;i.unstable_now=function(){return h.now()}}else{var m=Date,w=m.now();i.unstable_now=function(){return m.now()-w}}var b=[],T=[],O=1,R=null,D=3,L=!1,M=!1,U=!1,P=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function j(ue){for(var Se=o(T);Se!==null;){if(Se.callback===null)c(T);else if(Se.startTime<=ue)c(T),Se.sortIndex=Se.expirationTime,l(b,Se);else break;Se=o(T)}}function q(ue){if(U=!1,j(ue),!M)if(o(b)!==null)M=!0,be($);else{var Se=o(T);Se!==null&&$e(q,Se.startTime-ue)}}function $(ue,Se){M=!1,U&&(U=!1,N(ve),ve=-1),L=!0;var ye=D;try{for(j(Se),R=o(b);R!==null&&(!(R.expirationTime>Se)||ue&&!re());){var tt=R.callback;if(typeof tt=="function"){R.callback=null,D=R.priorityLevel;var it=tt(R.expirationTime<=Se);Se=i.unstable_now(),typeof it=="function"?R.callback=it:R===o(b)&&c(b),j(Se)}else c(b);R=o(b)}if(R!==null)var Rn=!0;else{var Ht=o(T);Ht!==null&&$e(q,Ht.startTime-Se),Rn=!1}return Rn}finally{R=null,D=ye,L=!1}}var se=!1,le=null,ve=-1,ee=5,J=-1;function re(){return!(i.unstable_now()-J<ee)}function oe(){if(le!==null){var ue=i.unstable_now();J=ue;var Se=!0;try{Se=le(!0,ue)}finally{Se?we():(se=!1,le=null)}}else se=!1}var we;if(typeof z=="function")we=function(){z(oe)};else if(typeof MessageChannel<"u"){var Qe=new MessageChannel,Ge=Qe.port2;Qe.port1.onmessage=oe,we=function(){Ge.postMessage(null)}}else we=function(){P(oe,0)};function be(ue){le=ue,se||(se=!0,we())}function $e(ue,Se){ve=P(function(){ue(i.unstable_now())},Se)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(ue){ue.callback=null},i.unstable_continueExecution=function(){M||L||(M=!0,be($))},i.unstable_forceFrameRate=function(ue){0>ue||125<ue?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<ue?Math.floor(1e3/ue):5},i.unstable_getCurrentPriorityLevel=function(){return D},i.unstable_getFirstCallbackNode=function(){return o(b)},i.unstable_next=function(ue){switch(D){case 1:case 2:case 3:var Se=3;break;default:Se=D}var ye=D;D=Se;try{return ue()}finally{D=ye}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function(ue,Se){switch(ue){case 1:case 2:case 3:case 4:case 5:break;default:ue=3}var ye=D;D=ue;try{return Se()}finally{D=ye}},i.unstable_scheduleCallback=function(ue,Se,ye){var tt=i.unstable_now();switch(typeof ye=="object"&&ye!==null?(ye=ye.delay,ye=typeof ye=="number"&&0<ye?tt+ye:tt):ye=tt,ue){case 1:var it=-1;break;case 2:it=250;break;case 5:it=1073741823;break;case 4:it=1e4;break;default:it=5e3}return it=ye+it,ue={id:O++,callback:Se,priorityLevel:ue,startTime:ye,expirationTime:it,sortIndex:-1},ye>tt?(ue.sortIndex=ye,l(T,ue),o(b)===null&&ue===o(T)&&(U?(N(ve),ve=-1):U=!0,$e(q,ye-tt))):(ue.sortIndex=it,l(b,ue),M||L||(M=!0,be($))),ue},i.unstable_shouldYield=re,i.unstable_wrapCallback=function(ue){var Se=D;return function(){var ye=D;D=Se;try{return ue.apply(this,arguments)}finally{D=ye}}}}(Uw)),Uw}var Fw={};/**
|
|
27
|
-
* @license React
|
|
28
|
-
* scheduler.development.js
|
|
29
|
-
*
|
|
30
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
31
|
-
*
|
|
32
|
-
* This source code is licensed under the MIT license found in the
|
|
33
|
-
* LICENSE file in the root directory of this source tree.
|
|
34
|
-
*/var Yx;function Wz(){return Yx||(Yx=1,function(i){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var l=!1,o=5;function c(Ee,Ue){var ot=Ee.length;Ee.push(Ue),m(Ee,Ue,ot)}function p(Ee){return Ee.length===0?null:Ee[0]}function h(Ee){if(Ee.length===0)return null;var Ue=Ee[0],ot=Ee.pop();return ot!==Ue&&(Ee[0]=ot,w(Ee,ot,0)),Ue}function m(Ee,Ue,ot){for(var ht=ot;ht>0;){var Vt=ht-1>>>1,Vn=Ee[Vt];if(b(Vn,Ue)>0)Ee[Vt]=Ue,Ee[ht]=Vn,ht=Vt;else return}}function w(Ee,Ue,ot){for(var ht=ot,Vt=Ee.length,Vn=Vt>>>1;ht<Vn;){var jt=(ht+1)*2-1,$n=Ee[jt],en=jt+1,Ut=Ee[en];if(b($n,Ue)<0)en<Vt&&b(Ut,$n)<0?(Ee[ht]=Ut,Ee[en]=Ue,ht=en):(Ee[ht]=$n,Ee[jt]=Ue,ht=jt);else if(en<Vt&&b(Ut,Ue)<0)Ee[ht]=Ut,Ee[en]=Ue,ht=en;else return}}function b(Ee,Ue){var ot=Ee.sortIndex-Ue.sortIndex;return ot!==0?ot:Ee.id-Ue.id}var T=1,O=2,R=3,D=4,L=5;function M(Ee,Ue){}var U=typeof performance=="object"&&typeof performance.now=="function";if(U){var P=performance;i.unstable_now=function(){return P.now()}}else{var N=Date,z=N.now();i.unstable_now=function(){return N.now()-z}}var j=1073741823,q=-1,$=250,se=5e3,le=1e4,ve=j,ee=[],J=[],re=1,oe=null,we=R,Qe=!1,Ge=!1,be=!1,$e=typeof setTimeout=="function"?setTimeout:null,ue=typeof clearTimeout=="function"?clearTimeout:null,Se=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ye(Ee){for(var Ue=p(J);Ue!==null;){if(Ue.callback===null)h(J);else if(Ue.startTime<=Ee)h(J),Ue.sortIndex=Ue.expirationTime,c(ee,Ue);else return;Ue=p(J)}}function tt(Ee){if(be=!1,ye(Ee),!Ge)if(p(ee)!==null)Ge=!0,ln(it);else{var Ue=p(J);Ue!==null&&Bn(tt,Ue.startTime-Ee)}}function it(Ee,Ue){Ge=!1,be&&(be=!1,ir()),Qe=!0;var ot=we;try{var ht;if(!l)return Rn(Ee,Ue)}finally{oe=null,we=ot,Qe=!1}}function Rn(Ee,Ue){var ot=Ue;for(ye(ot),oe=p(ee);oe!==null&&!(oe.expirationTime>ot&&(!Ee||dr()));){var ht=oe.callback;if(typeof ht=="function"){oe.callback=null,we=oe.priorityLevel;var Vt=oe.expirationTime<=ot,Vn=ht(Vt);ot=i.unstable_now(),typeof Vn=="function"?oe.callback=Vn:oe===p(ee)&&h(ee),ye(ot)}else h(ee);oe=p(ee)}if(oe!==null)return!0;var jt=p(J);return jt!==null&&Bn(tt,jt.startTime-ot),!1}function Ht(Ee,Ue){switch(Ee){case T:case O:case R:case D:case L:break;default:Ee=R}var ot=we;we=Ee;try{return Ue()}finally{we=ot}}function bt(Ee){var Ue;switch(we){case T:case O:case R:Ue=R;break;default:Ue=we;break}var ot=we;we=Ue;try{return Ee()}finally{we=ot}}function nt(Ee){var Ue=we;return function(){var ot=we;we=Ue;try{return Ee.apply(this,arguments)}finally{we=ot}}}function pt(Ee,Ue,ot){var ht=i.unstable_now(),Vt;if(typeof ot=="object"&&ot!==null){var Vn=ot.delay;typeof Vn=="number"&&Vn>0?Vt=ht+Vn:Vt=ht}else Vt=ht;var jt;switch(Ee){case T:jt=q;break;case O:jt=$;break;case L:jt=ve;break;case D:jt=le;break;case R:default:jt=se;break}var $n=Vt+jt,en={id:re++,callback:Ue,priorityLevel:Ee,startTime:Vt,expirationTime:$n,sortIndex:-1};return Vt>ht?(en.sortIndex=Vt,c(J,en),p(ee)===null&&en===p(J)&&(be?ir():be=!0,Bn(tt,Vt-ht))):(en.sortIndex=$n,c(ee,en),!Ge&&!Qe&&(Ge=!0,ln(it))),en}function zt(){}function Bt(){!Ge&&!Qe&&(Ge=!0,ln(it))}function Dt(){return p(ee)}function Et(Ee){Ee.callback=null}function Kt(){return we}var an=!1,Yt=null,Zt=-1,hn=o,fr=-1;function dr(){var Ee=i.unstable_now()-fr;return!(Ee<hn)}function zn(){}function Mr(Ee){if(Ee<0||Ee>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Ee>0?hn=Math.floor(1e3/Ee):hn=o}var mn=function(){if(Yt!==null){var Ee=i.unstable_now();fr=Ee;var Ue=!0,ot=!0;try{ot=Yt(Ue,Ee)}finally{ot?On():(an=!1,Yt=null)}}else an=!1},On;if(typeof Se=="function")On=function(){Se(mn)};else if(typeof MessageChannel<"u"){var Jt=new MessageChannel,An=Jt.port2;Jt.port1.onmessage=mn,On=function(){An.postMessage(null)}}else On=function(){$e(mn,0)};function ln(Ee){Yt=Ee,an||(an=!0,On())}function Bn(Ee,Ue){Zt=$e(function(){Ee(i.unstable_now())},Ue)}function ir(){ue(Zt),Zt=-1}var lr=zn,Pn=null;i.unstable_IdlePriority=L,i.unstable_ImmediatePriority=T,i.unstable_LowPriority=D,i.unstable_NormalPriority=R,i.unstable_Profiling=Pn,i.unstable_UserBlockingPriority=O,i.unstable_cancelCallback=Et,i.unstable_continueExecution=Bt,i.unstable_forceFrameRate=Mr,i.unstable_getCurrentPriorityLevel=Kt,i.unstable_getFirstCallbackNode=Dt,i.unstable_next=bt,i.unstable_pauseExecution=zt,i.unstable_requestPaint=lr,i.unstable_runWithPriority=Ht,i.unstable_scheduleCallback=pt,i.unstable_shouldYield=dr,i.unstable_wrapCallback=nt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Fw)),Fw}var qx;function Q1(){return qx||(qx=1,process.env.NODE_ENV==="production"?Fg.exports=$z():Fg.exports=Wz()),Fg.exports}/**
|
|
35
|
-
* @license React
|
|
36
|
-
* react-dom.production.min.js
|
|
37
|
-
*
|
|
38
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
39
|
-
*
|
|
40
|
-
* This source code is licensed under the MIT license found in the
|
|
41
|
-
* LICENSE file in the root directory of this source tree.
|
|
42
|
-
*/var Qx;function Gz(){if(Qx)return Ma;Qx=1;var i=Fe,l=Q1();function o(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,s=1;s<arguments.length;s++)r+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c=new Set,p={};function h(n,r){m(n,r),m(n+"Capture",r)}function m(n,r){for(p[n]=r,n=0;n<r.length;n++)c.add(r[n])}var w=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b=Object.prototype.hasOwnProperty,T=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,O={},R={};function D(n){return b.call(R,n)?!0:b.call(O,n)?!1:T.test(n)?R[n]=!0:(O[n]=!0,!1)}function L(n,r,s,d){if(s!==null&&s.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return d?!1:s!==null?!s.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function M(n,r,s,d){if(r===null||typeof r>"u"||L(n,r,s,d))return!0;if(d)return!1;if(s!==null)switch(s.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function U(n,r,s,d,g,S,x){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=d,this.attributeNamespace=g,this.mustUseProperty=s,this.propertyName=n,this.type=r,this.sanitizeURL=S,this.removeEmptyString=x}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){P[n]=new U(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];P[r]=new U(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){P[n]=new U(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){P[n]=new U(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){P[n]=new U(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){P[n]=new U(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){P[n]=new U(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){P[n]=new U(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){P[n]=new U(n,5,!1,n.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function z(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(N,z);P[r]=new U(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(N,z);P[r]=new U(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(N,z);P[r]=new U(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){P[n]=new U(n,1,!1,n.toLowerCase(),null,!1,!1)}),P.xlinkHref=new U("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){P[n]=new U(n,1,!1,n.toLowerCase(),null,!0,!0)});function j(n,r,s,d){var g=P.hasOwnProperty(r)?P[r]:null;(g!==null?g.type!==0:d||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(M(r,s,g,d)&&(s=null),d||g===null?D(r)&&(s===null?n.removeAttribute(r):n.setAttribute(r,""+s)):g.mustUseProperty?n[g.propertyName]=s===null?g.type===3?!1:"":s:(r=g.attributeName,d=g.attributeNamespace,s===null?n.removeAttribute(r):(g=g.type,s=g===3||g===4&&s===!0?"":""+s,d?n.setAttributeNS(d,r,s):n.setAttribute(r,s))))}var q=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$=Symbol.for("react.element"),se=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),ve=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),J=Symbol.for("react.provider"),re=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),Qe=Symbol.for("react.suspense_list"),Ge=Symbol.for("react.memo"),be=Symbol.for("react.lazy"),$e=Symbol.for("react.offscreen"),ue=Symbol.iterator;function Se(n){return n===null||typeof n!="object"?null:(n=ue&&n[ue]||n["@@iterator"],typeof n=="function"?n:null)}var ye=Object.assign,tt;function it(n){if(tt===void 0)try{throw Error()}catch(s){var r=s.stack.trim().match(/\n( *(at )?)/);tt=r&&r[1]||""}return`
|
|
43
|
-
`+tt+n}var Rn=!1;function Ht(n,r){if(!n||Rn)return"";Rn=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(K){var d=K}Reflect.construct(n,[],r)}else{try{r.call()}catch(K){d=K}n.call(r.prototype)}else{try{throw Error()}catch(K){d=K}n()}}catch(K){if(K&&d&&typeof K.stack=="string"){for(var g=K.stack.split(`
|
|
44
|
-
`),S=d.stack.split(`
|
|
45
|
-
`),x=g.length-1,A=S.length-1;1<=x&&0<=A&&g[x]!==S[A];)A--;for(;1<=x&&0<=A;x--,A--)if(g[x]!==S[A]){if(x!==1||A!==1)do if(x--,A--,0>A||g[x]!==S[A]){var F=`
|
|
46
|
-
`+g[x].replace(" at new "," at ");return n.displayName&&F.includes("<anonymous>")&&(F=F.replace("<anonymous>",n.displayName)),F}while(1<=x&&0<=A);break}}}finally{Rn=!1,Error.prepareStackTrace=s}return(n=n?n.displayName||n.name:"")?it(n):""}function bt(n){switch(n.tag){case 5:return it(n.type);case 16:return it("Lazy");case 13:return it("Suspense");case 19:return it("SuspenseList");case 0:case 2:case 15:return n=Ht(n.type,!1),n;case 11:return n=Ht(n.type.render,!1),n;case 1:return n=Ht(n.type,!0),n;default:return""}}function nt(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case le:return"Fragment";case se:return"Portal";case ee:return"Profiler";case ve:return"StrictMode";case we:return"Suspense";case Qe:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case re:return(n.displayName||"Context")+".Consumer";case J:return(n._context.displayName||"Context")+".Provider";case oe:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Ge:return r=n.displayName||null,r!==null?r:nt(n.type)||"Memo";case be:r=n._payload,n=n._init;try{return nt(n(r))}catch{}}return null}function pt(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return nt(r);case 8:return r===ve?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function zt(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Bt(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Dt(n){var r=Bt(n)?"checked":"value",s=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),d=""+n[r];if(!n.hasOwnProperty(r)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var g=s.get,S=s.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return g.call(this)},set:function(x){d=""+x,S.call(this,x)}}),Object.defineProperty(n,r,{enumerable:s.enumerable}),{getValue:function(){return d},setValue:function(x){d=""+x},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Et(n){n._valueTracker||(n._valueTracker=Dt(n))}function Kt(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var s=r.getValue(),d="";return n&&(d=Bt(n)?n.checked?"true":"false":n.value),n=d,n!==s?(r.setValue(n),!0):!1}function an(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Yt(n,r){var s=r.checked;return ye({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??n._wrapperState.initialChecked})}function Zt(n,r){var s=r.defaultValue==null?"":r.defaultValue,d=r.checked!=null?r.checked:r.defaultChecked;s=zt(r.value!=null?r.value:s),n._wrapperState={initialChecked:d,initialValue:s,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function hn(n,r){r=r.checked,r!=null&&j(n,"checked",r,!1)}function fr(n,r){hn(n,r);var s=zt(r.value),d=r.type;if(s!=null)d==="number"?(s===0&&n.value===""||n.value!=s)&&(n.value=""+s):n.value!==""+s&&(n.value=""+s);else if(d==="submit"||d==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?zn(n,r.type,s):r.hasOwnProperty("defaultValue")&&zn(n,r.type,zt(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function dr(n,r,s){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var d=r.type;if(!(d!=="submit"&&d!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,s||r===n.value||(n.value=r),n.defaultValue=r}s=n.name,s!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,s!==""&&(n.name=s)}function zn(n,r,s){(r!=="number"||an(n.ownerDocument)!==n)&&(s==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+s&&(n.defaultValue=""+s))}var Mr=Array.isArray;function mn(n,r,s,d){if(n=n.options,r){r={};for(var g=0;g<s.length;g++)r["$"+s[g]]=!0;for(s=0;s<n.length;s++)g=r.hasOwnProperty("$"+n[s].value),n[s].selected!==g&&(n[s].selected=g),g&&d&&(n[s].defaultSelected=!0)}else{for(s=""+zt(s),r=null,g=0;g<n.length;g++){if(n[g].value===s){n[g].selected=!0,d&&(n[g].defaultSelected=!0);return}r!==null||n[g].disabled||(r=n[g])}r!==null&&(r.selected=!0)}}function On(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(o(91));return ye({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function Jt(n,r){var s=r.value;if(s==null){if(s=r.children,r=r.defaultValue,s!=null){if(r!=null)throw Error(o(92));if(Mr(s)){if(1<s.length)throw Error(o(93));s=s[0]}r=s}r==null&&(r=""),s=r}n._wrapperState={initialValue:zt(s)}}function An(n,r){var s=zt(r.value),d=zt(r.defaultValue);s!=null&&(s=""+s,s!==n.value&&(n.value=s),r.defaultValue==null&&n.defaultValue!==s&&(n.defaultValue=s)),d!=null&&(n.defaultValue=""+d)}function ln(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function Bn(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ir(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?Bn(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var lr,Pn=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,s,d,g){MSApp.execUnsafeLocalFunction(function(){return n(r,s,d,g)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(lr=lr||document.createElement("div"),lr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=lr.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function Ee(n,r){if(r){var s=n.firstChild;if(s&&s===n.lastChild&&s.nodeType===3){s.nodeValue=r;return}}n.textContent=r}var Ue={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ot=["Webkit","ms","Moz","O"];Object.keys(Ue).forEach(function(n){ot.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),Ue[r]=Ue[n]})});function ht(n,r,s){return r==null||typeof r=="boolean"||r===""?"":s||typeof r!="number"||r===0||Ue.hasOwnProperty(n)&&Ue[n]?(""+r).trim():r+"px"}function Vt(n,r){n=n.style;for(var s in r)if(r.hasOwnProperty(s)){var d=s.indexOf("--")===0,g=ht(s,r[s],d);s==="float"&&(s="cssFloat"),d?n.setProperty(s,g):n[s]=g}}var Vn=ye({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function jt(n,r){if(r){if(Vn[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(o(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(o(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(o(61))}if(r.style!=null&&typeof r.style!="object")throw Error(o(62))}}function $n(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var en=null;function Ut(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var _t=null,Yi=null,$t=null;function Na(n){if(n=Be(n)){if(typeof _t!="function")throw Error(o(280));var r=n.stateNode;r&&(r=un(r),_t(n.stateNode,n.type,r))}}function _l(n){Yi?$t?$t.push(n):$t=[n]:Yi=n}function Lu(){if(Yi){var n=Yi,r=$t;if($t=Yi=null,Na(n),r)for(n=0;n<r.length;n++)Na(r[n])}}function Nu(n,r){return n(r)}function zu(){}var mi=!1;function Po(n,r,s){if(mi)return n(r,s);mi=!0;try{return Nu(n,r,s)}finally{mi=!1,(Yi!==null||$t!==null)&&(zu(),Lu())}}function gi(n,r){var s=n.stateNode;if(s===null)return null;var d=un(s);if(d===null)return null;s=d[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(n=n.type,d=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!d;break e;default:n=!1}if(n)return null;if(s&&typeof s!="function")throw Error(o(231,r,typeof s));return s}var Ga=!1;if(w)try{var pr={};Object.defineProperty(pr,"passive",{get:function(){Ga=!0}}),window.addEventListener("test",pr,pr),window.removeEventListener("test",pr,pr)}catch{Ga=!1}function yi(n,r,s,d,g,S,x,A,F){var K=Array.prototype.slice.call(arguments,3);try{r.apply(s,K)}catch(de){this.onError(de)}}var Ya=!1,qi=null,Qi=!1,Xi=null,qa={onError:function(n){Ya=!0,qi=n}};function Ml(n,r,s,d,g,S,x,A,F){Ya=!1,qi=null,yi.apply(qa,arguments)}function jo(n,r,s,d,g,S,x,A,F){if(Ml.apply(this,arguments),Ya){if(Ya){var K=qi;Ya=!1,qi=null}else throw Error(o(198));Qi||(Qi=!0,Xi=K)}}function Zr(n){var r=n,s=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,(r.flags&4098)!==0&&(s=r.return),n=r.return;while(n)}return r.tag===3?s:null}function kn(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function Au(n){if(Zr(n)!==n)throw Error(o(188))}function Ll(n){var r=n.alternate;if(!r){if(r=Zr(n),r===null)throw Error(o(188));return r!==n?null:n}for(var s=n,d=r;;){var g=s.return;if(g===null)break;var S=g.alternate;if(S===null){if(d=g.return,d!==null){s=d;continue}break}if(g.child===S.child){for(S=g.child;S;){if(S===s)return Au(g),n;if(S===d)return Au(g),r;S=S.sibling}throw Error(o(188))}if(s.return!==d.return)s=g,d=S;else{for(var x=!1,A=g.child;A;){if(A===s){x=!0,s=g,d=S;break}if(A===d){x=!0,d=g,s=S;break}A=A.sibling}if(!x){for(A=S.child;A;){if(A===s){x=!0,s=S,d=g;break}if(A===d){x=!0,d=S,s=g;break}A=A.sibling}if(!x)throw Error(o(189))}}if(s.alternate!==d)throw Error(o(190))}if(s.tag!==3)throw Error(o(188));return s.stateNode.current===s?n:r}function Pu(n){return n=Ll(n),n!==null?ju(n):null}function ju(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=ju(n);if(r!==null)return r;n=n.sibling}return null}var Uu=l.unstable_scheduleCallback,Fu=l.unstable_cancelCallback,dc=l.unstable_shouldYield,Tt=l.unstable_requestPaint,Ce=l.unstable_now,Ne=l.unstable_getCurrentPriorityLevel,Ct=l.unstable_ImmediatePriority,tn=l.unstable_UserBlockingPriority,Lr=l.unstable_NormalPriority,pa=l.unstable_LowPriority,Jr=l.unstable_IdlePriority,vr=null,Dn=null;function Si(n){if(Dn&&typeof Dn.onCommitFiberRoot=="function")try{Dn.onCommitFiberRoot(vr,n,void 0,(n.current.flags&128)===128)}catch{}}var on=Math.clz32?Math.clz32:gd,Uo=Math.log,pc=Math.LN2;function gd(n){return n>>>=0,n===0?32:31-(Uo(n)/pc|0)|0}var Fo=64,za=4194304;function Nl(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function zl(n,r){var s=n.pendingLanes;if(s===0)return 0;var d=0,g=n.suspendedLanes,S=n.pingedLanes,x=s&268435455;if(x!==0){var A=x&~g;A!==0?d=Nl(A):(S&=x,S!==0&&(d=Nl(S)))}else x=s&~g,x!==0?d=Nl(x):S!==0&&(d=Nl(S));if(d===0)return 0;if(r!==0&&r!==d&&(r&g)===0&&(g=d&-d,S=r&-r,g>=S||g===16&&(S&4194240)!==0))return r;if((d&4)!==0&&(d|=s&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=d;0<r;)s=31-on(r),g=1<<s,d|=n[s],r&=~g;return d}function oy(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function yd(n,r){for(var s=n.suspendedLanes,d=n.pingedLanes,g=n.expirationTimes,S=n.pendingLanes;0<S;){var x=31-on(S),A=1<<x,F=g[x];F===-1?((A&s)===0||(A&d)!==0)&&(g[x]=oy(A,r)):F<=r&&(n.expiredLanes|=A),S&=~A}}function Sd(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function vc(){var n=Fo;return Fo<<=1,(Fo&4194240)===0&&(Fo=64),n}function wd(n){for(var r=[],s=0;31>s;s++)r.push(n);return r}function Al(n,r,s){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-on(r),n[r]=s}function uy(n,r){var s=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var d=n.eventTimes;for(n=n.expirationTimes;0<s;){var g=31-on(s),S=1<<g;r[g]=0,d[g]=-1,n[g]=-1,s&=~S}}function hc(n,r){var s=n.entangledLanes|=r;for(n=n.entanglements;s;){var d=31-on(s),g=1<<d;g&r|n[d]&r&&(n[d]|=r),s&=~g}}var Ot=0;function bd(n){return n&=-n,1<n?4<n?(n&268435455)!==0?16:536870912:4:1}var kt,Ed,Td,rt,Cd,hr=!1,Ki=[],va=null,Zi=null,nn=null,Ft=new Map,Iu=new Map,Wn=[],ha="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function wi(n,r){switch(n){case"focusin":case"focusout":va=null;break;case"dragenter":case"dragleave":Zi=null;break;case"mouseover":case"mouseout":nn=null;break;case"pointerover":case"pointerout":Ft.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Iu.delete(r.pointerId)}}function Hu(n,r,s,d,g,S){return n===null||n.nativeEvent!==S?(n={blockedOn:r,domEventName:s,eventSystemFlags:d,nativeEvent:S,targetContainers:[g]},r!==null&&(r=Be(r),r!==null&&Ed(r)),n):(n.eventSystemFlags|=d,r=n.targetContainers,g!==null&&r.indexOf(g)===-1&&r.push(g),n)}function xd(n,r,s,d,g){switch(r){case"focusin":return va=Hu(va,n,r,s,d,g),!0;case"dragenter":return Zi=Hu(Zi,n,r,s,d,g),!0;case"mouseover":return nn=Hu(nn,n,r,s,d,g),!0;case"pointerover":var S=g.pointerId;return Ft.set(S,Hu(Ft.get(S)||null,n,r,s,d,g)),!0;case"gotpointercapture":return S=g.pointerId,Iu.set(S,Hu(Iu.get(S)||null,n,r,s,d,g)),!0}return!1}function Rd(n){var r=Wl(n.target);if(r!==null){var s=Zr(r);if(s!==null){if(r=s.tag,r===13){if(r=kn(s),r!==null){n.blockedOn=r,Cd(n.priority,function(){Td(s)});return}}else if(r===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Bu(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var s=gc(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(s===null){s=n.nativeEvent;var d=new s.constructor(s.type,s);en=d,s.target.dispatchEvent(d),en=null}else return r=Be(s),r!==null&&Ed(r),n.blockedOn=s,!1;r.shift()}return!0}function Vv(n,r,s){Bu(n)&&s.delete(r)}function sy(){hr=!1,va!==null&&Bu(va)&&(va=null),Zi!==null&&Bu(Zi)&&(Zi=null),nn!==null&&Bu(nn)&&(nn=null),Ft.forEach(Vv),Iu.forEach(Vv)}function Vu(n,r){n.blockedOn===r&&(n.blockedOn=null,hr||(hr=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,sy)))}function Ji(n){function r(g){return Vu(g,n)}if(0<Ki.length){Vu(Ki[0],n);for(var s=1;s<Ki.length;s++){var d=Ki[s];d.blockedOn===n&&(d.blockedOn=null)}}for(va!==null&&Vu(va,n),Zi!==null&&Vu(Zi,n),nn!==null&&Vu(nn,n),Ft.forEach(r),Iu.forEach(r),s=0;s<Wn.length;s++)d=Wn[s],d.blockedOn===n&&(d.blockedOn=null);for(;0<Wn.length&&(s=Wn[0],s.blockedOn===null);)Rd(s),s.blockedOn===null&&Wn.shift()}var Pl=q.ReactCurrentBatchConfig,jl=!0;function $v(n,r,s,d){var g=Ot,S=Pl.transition;Pl.transition=null;try{Ot=1,mc(n,r,s,d)}finally{Ot=g,Pl.transition=S}}function Wv(n,r,s,d){var g=Ot,S=Pl.transition;Pl.transition=null;try{Ot=4,mc(n,r,s,d)}finally{Ot=g,Pl.transition=S}}function mc(n,r,s,d){if(jl){var g=gc(n,r,s,d);if(g===null)Ac(n,r,d,$u,s),wi(n,d);else if(xd(g,n,r,s,d))d.stopPropagation();else if(wi(n,d),r&4&&-1<ha.indexOf(n)){for(;g!==null;){var S=Be(g);if(S!==null&&kt(S),S=gc(n,r,s,d),S===null&&Ac(n,r,d,$u,s),S===g)break;g=S}g!==null&&d.stopPropagation()}else Ac(n,r,d,null,s)}}var $u=null;function gc(n,r,s,d){if($u=null,n=Ut(d),n=Wl(n),n!==null)if(r=Zr(n),r===null)n=null;else if(s=r.tag,s===13){if(n=kn(r),n!==null)return n;n=null}else if(s===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return $u=n,null}function yc(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ne()){case Ct:return 1;case tn:return 4;case Lr:case pa:return 16;case Jr:return 536870912;default:return 16}default:return 16}}var bi=null,Sc=null,Io=null;function Od(){if(Io)return Io;var n,r=Sc,s=r.length,d,g="value"in bi?bi.value:bi.textContent,S=g.length;for(n=0;n<s&&r[n]===g[n];n++);var x=s-n;for(d=1;d<=x&&r[s-d]===g[S-d];d++);return Io=g.slice(n,1<d?1-d:void 0)}function wc(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function bc(){return!0}function Ec(){return!1}function Nr(n){function r(s,d,g,S,x){this._reactName=s,this._targetInst=g,this.type=d,this.nativeEvent=S,this.target=x,this.currentTarget=null;for(var A in n)n.hasOwnProperty(A)&&(s=n[A],this[A]=s?s(S):S[A]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?bc:Ec,this.isPropagationStopped=Ec,this}return ye(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=bc)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=bc)},persist:function(){},isPersistent:bc}),r}var Ul={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tc=Nr(Ul),Ho=ye({},Ul,{view:0,detail:0}),cy=Nr(Ho),kd,Gn,Fl,Wu=ye({},Ho,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nd,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Fl&&(Fl&&n.type==="mousemove"?(kd=n.screenX-Fl.screenX,Gn=n.screenY-Fl.screenY):Gn=kd=0,Fl=n),kd)},movementY:function(n){return"movementY"in n?n.movementY:Gn}}),Dd=Nr(Wu),fy=ye({},Wu,{dataTransfer:0}),Bo=Nr(fy),_d=ye({},Ho,{relatedTarget:0}),Cc=Nr(_d),dy=ye({},Ul,{animationName:0,elapsedTime:0,pseudoElement:0}),py=Nr(dy),vy=ye({},Ul,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Gv=Nr(vy),Md=ye({},Ul,{data:0}),Ld=Nr(Md),Yv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ei(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=hy[n])?!!r[n]:!1}function Nd(){return Ei}var zd=ye({},Ho,{key:function(n){if(n.key){var r=Yv[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=wc(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?qv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nd,charCode:function(n){return n.type==="keypress"?wc(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?wc(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Ad=Nr(zd),Pd=ye({},Wu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qv=Nr(Pd),xc=ye({},Ho,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nd}),Xv=Nr(xc),zr=ye({},Ul,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ti=Nr(zr),gn=ye({},Wu,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),Ci=Nr(gn),jd=[9,13,27,32],Vo=w&&"CompositionEvent"in window,Gu=null;w&&"documentMode"in document&&(Gu=document.documentMode);var Yu=w&&"TextEvent"in window&&!Gu,Kv=w&&(!Vo||Gu&&8<Gu&&11>=Gu),Zv=" ",Rc=!1;function Jv(n,r){switch(n){case"keyup":return jd.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eh(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var $o=!1;function th(n,r){switch(n){case"compositionend":return eh(r);case"keypress":return r.which!==32?null:(Rc=!0,Zv);case"textInput":return n=r.data,n===Zv&&Rc?null:n;default:return null}}function my(n,r){if($o)return n==="compositionend"||!Vo&&Jv(n,r)?(n=Od(),Io=Sc=bi=null,$o=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Kv&&r.locale!=="ko"?null:r.data;default:return null}}var gy={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nh(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!gy[n.type]:r==="textarea"}function Ud(n,r,s,d){_l(d),r=Ju(r,"onChange"),0<r.length&&(s=new Tc("onChange","change",null,s,d),n.push({event:s,listeners:r}))}var Qa=null,Il=null;function rh(n){Vl(n,0)}function qu(n){var r=Pa(n);if(Kt(r))return n}function yy(n,r){if(n==="change")return r}var ah=!1;if(w){var Fd;if(w){var Id="oninput"in document;if(!Id){var ih=document.createElement("div");ih.setAttribute("oninput","return;"),Id=typeof ih.oninput=="function"}Fd=Id}else Fd=!1;ah=Fd&&(!document.documentMode||9<document.documentMode)}function lh(){Qa&&(Qa.detachEvent("onpropertychange",oh),Il=Qa=null)}function oh(n){if(n.propertyName==="value"&&qu(Il)){var r=[];Ud(r,Il,n,Ut(n)),Po(rh,r)}}function Sy(n,r,s){n==="focusin"?(lh(),Qa=r,Il=s,Qa.attachEvent("onpropertychange",oh)):n==="focusout"&&lh()}function uh(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return qu(Il)}function wy(n,r){if(n==="click")return qu(r)}function sh(n,r){if(n==="input"||n==="change")return qu(r)}function by(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var Aa=typeof Object.is=="function"?Object.is:by;function Qu(n,r){if(Aa(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var s=Object.keys(n),d=Object.keys(r);if(s.length!==d.length)return!1;for(d=0;d<s.length;d++){var g=s[d];if(!b.call(r,g)||!Aa(n[g],r[g]))return!1}return!0}function ch(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Oc(n,r){var s=ch(n);n=0;for(var d;s;){if(s.nodeType===3){if(d=n+s.textContent.length,n<=r&&d>=r)return{node:s,offset:r-n};n=d}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=ch(s)}}function el(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?el(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function Xu(){for(var n=window,r=an();r instanceof n.HTMLIFrameElement;){try{var s=typeof r.contentWindow.location.href=="string"}catch{s=!1}if(s)n=r.contentWindow;else break;r=an(n.document)}return r}function kc(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function Wo(n){var r=Xu(),s=n.focusedElem,d=n.selectionRange;if(r!==s&&s&&s.ownerDocument&&el(s.ownerDocument.documentElement,s)){if(d!==null&&kc(s)){if(r=d.start,n=d.end,n===void 0&&(n=r),"selectionStart"in s)s.selectionStart=r,s.selectionEnd=Math.min(n,s.value.length);else if(n=(r=s.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var g=s.textContent.length,S=Math.min(d.start,g);d=d.end===void 0?S:Math.min(d.end,g),!n.extend&&S>d&&(g=d,d=S,S=g),g=Oc(s,S);var x=Oc(s,d);g&&x&&(n.rangeCount!==1||n.anchorNode!==g.node||n.anchorOffset!==g.offset||n.focusNode!==x.node||n.focusOffset!==x.offset)&&(r=r.createRange(),r.setStart(g.node,g.offset),n.removeAllRanges(),S>d?(n.addRange(r),n.extend(x.node,x.offset)):(r.setEnd(x.node,x.offset),n.addRange(r)))}}for(r=[],n=s;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<r.length;s++)n=r[s],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Ey=w&&"documentMode"in document&&11>=document.documentMode,Go=null,Hd=null,Ku=null,Bd=!1;function Vd(n,r,s){var d=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Bd||Go==null||Go!==an(d)||(d=Go,"selectionStart"in d&&kc(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Ku&&Qu(Ku,d)||(Ku=d,d=Ju(Hd,"onSelect"),0<d.length&&(r=new Tc("onSelect","select",null,r,s),n.push({event:r,listeners:d}),r.target=Go)))}function Dc(n,r){var s={};return s[n.toLowerCase()]=r.toLowerCase(),s["Webkit"+n]="webkit"+r,s["Moz"+n]="moz"+r,s}var Hl={animationend:Dc("Animation","AnimationEnd"),animationiteration:Dc("Animation","AnimationIteration"),animationstart:Dc("Animation","AnimationStart"),transitionend:Dc("Transition","TransitionEnd")},Yn={},$d={};w&&($d=document.createElement("div").style,"AnimationEvent"in window||(delete Hl.animationend.animation,delete Hl.animationiteration.animation,delete Hl.animationstart.animation),"TransitionEvent"in window||delete Hl.transitionend.transition);function _c(n){if(Yn[n])return Yn[n];if(!Hl[n])return n;var r=Hl[n],s;for(s in r)if(r.hasOwnProperty(s)&&s in $d)return Yn[n]=r[s];return n}var fh=_c("animationend"),dh=_c("animationiteration"),ph=_c("animationstart"),vh=_c("transitionend"),Wd=new Map,Mc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ma(n,r){Wd.set(n,r),h(r,[n])}for(var Gd=0;Gd<Mc.length;Gd++){var Bl=Mc[Gd],Ty=Bl.toLowerCase(),Cy=Bl[0].toUpperCase()+Bl.slice(1);ma(Ty,"on"+Cy)}ma(fh,"onAnimationEnd"),ma(dh,"onAnimationIteration"),ma(ph,"onAnimationStart"),ma("dblclick","onDoubleClick"),ma("focusin","onFocus"),ma("focusout","onBlur"),ma(vh,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Yd=new Set("cancel close invalid load scroll toggle".split(" ").concat(Zu));function Lc(n,r,s){var d=n.type||"unknown-event";n.currentTarget=s,jo(d,r,void 0,n),n.currentTarget=null}function Vl(n,r){r=(r&4)!==0;for(var s=0;s<n.length;s++){var d=n[s],g=d.event;d=d.listeners;e:{var S=void 0;if(r)for(var x=d.length-1;0<=x;x--){var A=d[x],F=A.instance,K=A.currentTarget;if(A=A.listener,F!==S&&g.isPropagationStopped())break e;Lc(g,A,K),S=F}else for(x=0;x<d.length;x++){if(A=d[x],F=A.instance,K=A.currentTarget,A=A.listener,F!==S&&g.isPropagationStopped())break e;Lc(g,A,K),S=F}}}if(Qi)throw n=Xi,Qi=!1,Xi=null,n}function xt(n,r){var s=r[ns];s===void 0&&(s=r[ns]=new Set);var d=n+"__bubble";s.has(d)||(hh(r,n,2,!1),s.add(d))}function Nc(n,r,s){var d=0;r&&(d|=4),hh(s,n,d,r)}var zc="_reactListening"+Math.random().toString(36).slice(2);function Yo(n){if(!n[zc]){n[zc]=!0,c.forEach(function(s){s!=="selectionchange"&&(Yd.has(s)||Nc(s,!1,n),Nc(s,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[zc]||(r[zc]=!0,Nc("selectionchange",!1,r))}}function hh(n,r,s,d){switch(yc(r)){case 1:var g=$v;break;case 4:g=Wv;break;default:g=mc}s=g.bind(null,r,s,n),g=void 0,!Ga||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(g=!0),d?g!==void 0?n.addEventListener(r,s,{capture:!0,passive:g}):n.addEventListener(r,s,!0):g!==void 0?n.addEventListener(r,s,{passive:g}):n.addEventListener(r,s,!1)}function Ac(n,r,s,d,g){var S=d;if((r&1)===0&&(r&2)===0&&d!==null)e:for(;;){if(d===null)return;var x=d.tag;if(x===3||x===4){var A=d.stateNode.containerInfo;if(A===g||A.nodeType===8&&A.parentNode===g)break;if(x===4)for(x=d.return;x!==null;){var F=x.tag;if((F===3||F===4)&&(F=x.stateNode.containerInfo,F===g||F.nodeType===8&&F.parentNode===g))return;x=x.return}for(;A!==null;){if(x=Wl(A),x===null)return;if(F=x.tag,F===5||F===6){d=S=x;continue e}A=A.parentNode}}d=d.return}Po(function(){var K=S,de=Ut(s),he=[];e:{var fe=Wd.get(n);if(fe!==void 0){var De=Tc,ze=n;switch(n){case"keypress":if(wc(s)===0)break e;case"keydown":case"keyup":De=Ad;break;case"focusin":ze="focus",De=Cc;break;case"focusout":ze="blur",De=Cc;break;case"beforeblur":case"afterblur":De=Cc;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":De=Dd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":De=Bo;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":De=Xv;break;case fh:case dh:case ph:De=py;break;case vh:De=Ti;break;case"scroll":De=cy;break;case"wheel":De=Ci;break;case"copy":case"cut":case"paste":De=Gv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":De=Qv}var je=(r&4)!==0,pn=!je&&n==="scroll",W=je?fe!==null?fe+"Capture":null:fe;je=[];for(var H=K,Q;H!==null;){Q=H;var pe=Q.stateNode;if(Q.tag===5&&pe!==null&&(Q=pe,W!==null&&(pe=gi(H,W),pe!=null&&je.push(qo(H,pe,Q)))),pn)break;H=H.return}0<je.length&&(fe=new De(fe,ze,null,s,de),he.push({event:fe,listeners:je}))}}if((r&7)===0){e:{if(fe=n==="mouseover"||n==="pointerover",De=n==="mouseout"||n==="pointerout",fe&&s!==en&&(ze=s.relatedTarget||s.fromElement)&&(Wl(ze)||ze[xi]))break e;if((De||fe)&&(fe=de.window===de?de:(fe=de.ownerDocument)?fe.defaultView||fe.parentWindow:window,De?(ze=s.relatedTarget||s.toElement,De=K,ze=ze?Wl(ze):null,ze!==null&&(pn=Zr(ze),ze!==pn||ze.tag!==5&&ze.tag!==6)&&(ze=null)):(De=null,ze=K),De!==ze)){if(je=Dd,pe="onMouseLeave",W="onMouseEnter",H="mouse",(n==="pointerout"||n==="pointerover")&&(je=Qv,pe="onPointerLeave",W="onPointerEnter",H="pointer"),pn=De==null?fe:Pa(De),Q=ze==null?fe:Pa(ze),fe=new je(pe,H+"leave",De,s,de),fe.target=pn,fe.relatedTarget=Q,pe=null,Wl(de)===K&&(je=new je(W,H+"enter",ze,s,de),je.target=Q,je.relatedTarget=pn,pe=je),pn=pe,De&&ze)t:{for(je=De,W=ze,H=0,Q=je;Q;Q=tl(Q))H++;for(Q=0,pe=W;pe;pe=tl(pe))Q++;for(;0<H-Q;)je=tl(je),H--;for(;0<Q-H;)W=tl(W),Q--;for(;H--;){if(je===W||W!==null&&je===W.alternate)break t;je=tl(je),W=tl(W)}je=null}else je=null;De!==null&&mh(he,fe,De,je,!1),ze!==null&&pn!==null&&mh(he,pn,ze,je,!0)}}e:{if(fe=K?Pa(K):window,De=fe.nodeName&&fe.nodeName.toLowerCase(),De==="select"||De==="input"&&fe.type==="file")var Ae=yy;else if(nh(fe))if(ah)Ae=sh;else{Ae=uh;var Ye=Sy}else(De=fe.nodeName)&&De.toLowerCase()==="input"&&(fe.type==="checkbox"||fe.type==="radio")&&(Ae=wy);if(Ae&&(Ae=Ae(n,K))){Ud(he,Ae,s,de);break e}Ye&&Ye(n,fe,K),n==="focusout"&&(Ye=fe._wrapperState)&&Ye.controlled&&fe.type==="number"&&zn(fe,"number",fe.value)}switch(Ye=K?Pa(K):window,n){case"focusin":(nh(Ye)||Ye.contentEditable==="true")&&(Go=Ye,Hd=K,Ku=null);break;case"focusout":Ku=Hd=Go=null;break;case"mousedown":Bd=!0;break;case"contextmenu":case"mouseup":case"dragend":Bd=!1,Vd(he,s,de);break;case"selectionchange":if(Ey)break;case"keydown":case"keyup":Vd(he,s,de)}var qe;if(Vo)e:{switch(n){case"compositionstart":var Ze="onCompositionStart";break e;case"compositionend":Ze="onCompositionEnd";break e;case"compositionupdate":Ze="onCompositionUpdate";break e}Ze=void 0}else $o?Jv(n,s)&&(Ze="onCompositionEnd"):n==="keydown"&&s.keyCode===229&&(Ze="onCompositionStart");Ze&&(Kv&&s.locale!=="ko"&&($o||Ze!=="onCompositionStart"?Ze==="onCompositionEnd"&&$o&&(qe=Od()):(bi=de,Sc="value"in bi?bi.value:bi.textContent,$o=!0)),Ye=Ju(K,Ze),0<Ye.length&&(Ze=new Ld(Ze,n,null,s,de),he.push({event:Ze,listeners:Ye}),qe?Ze.data=qe:(qe=eh(s),qe!==null&&(Ze.data=qe)))),(qe=Yu?th(n,s):my(n,s))&&(K=Ju(K,"onBeforeInput"),0<K.length&&(de=new Ld("onBeforeInput","beforeinput",null,s,de),he.push({event:de,listeners:K}),de.data=qe))}Vl(he,r)})}function qo(n,r,s){return{instance:n,listener:r,currentTarget:s}}function Ju(n,r){for(var s=r+"Capture",d=[];n!==null;){var g=n,S=g.stateNode;g.tag===5&&S!==null&&(g=S,S=gi(n,s),S!=null&&d.unshift(qo(n,S,g)),S=gi(n,r),S!=null&&d.push(qo(n,S,g))),n=n.return}return d}function tl(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function mh(n,r,s,d,g){for(var S=r._reactName,x=[];s!==null&&s!==d;){var A=s,F=A.alternate,K=A.stateNode;if(F!==null&&F===d)break;A.tag===5&&K!==null&&(A=K,g?(F=gi(s,S),F!=null&&x.unshift(qo(s,F,A))):g||(F=gi(s,S),F!=null&&x.push(qo(s,F,A)))),s=s.return}x.length!==0&&n.push({event:r,listeners:x})}var gh=/\r\n?/g,xy=/\u0000|\uFFFD/g;function yh(n){return(typeof n=="string"?n:""+n).replace(gh,`
|
|
47
|
-
`).replace(xy,"")}function Pc(n,r,s){if(r=yh(r),yh(n)!==r&&s)throw Error(o(425))}function nl(){}var es=null,$l=null;function jc(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Uc=typeof setTimeout=="function"?setTimeout:void 0,qd=typeof clearTimeout=="function"?clearTimeout:void 0,Sh=typeof Promise=="function"?Promise:void 0,Qo=typeof queueMicrotask=="function"?queueMicrotask:typeof Sh<"u"?function(n){return Sh.resolve(null).then(n).catch(Fc)}:Uc;function Fc(n){setTimeout(function(){throw n})}function Xo(n,r){var s=r,d=0;do{var g=s.nextSibling;if(n.removeChild(s),g&&g.nodeType===8)if(s=g.data,s==="/$"){if(d===0){n.removeChild(g),Ji(r);return}d--}else s!=="$"&&s!=="$?"&&s!=="$!"||d++;s=g}while(s);Ji(r)}function Xa(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function wh(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var s=n.data;if(s==="$"||s==="$!"||s==="$?"){if(r===0)return n;r--}else s==="/$"&&r++}n=n.previousSibling}return null}var rl=Math.random().toString(36).slice(2),Ka="__reactFiber$"+rl,ts="__reactProps$"+rl,xi="__reactContainer$"+rl,ns="__reactEvents$"+rl,Ko="__reactListeners$"+rl,Ry="__reactHandles$"+rl;function Wl(n){var r=n[Ka];if(r)return r;for(var s=n.parentNode;s;){if(r=s[xi]||s[Ka]){if(s=r.alternate,r.child!==null||s!==null&&s.child!==null)for(n=wh(n);n!==null;){if(s=n[Ka])return s;n=wh(n)}return r}n=s,s=n.parentNode}return null}function Be(n){return n=n[Ka]||n[xi],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Pa(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(o(33))}function un(n){return n[ts]||null}var st=[],ga=-1;function ja(n){return{current:n}}function Pt(n){0>ga||(n.current=st[ga],st[ga]=null,ga--)}function He(n,r){ga++,st[ga]=n.current,n.current=r}var Ar={},rn=ja(Ar),_n=ja(!1),Pr=Ar;function ya(n,r){var s=n.type.contextTypes;if(!s)return Ar;var d=n.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===r)return d.__reactInternalMemoizedMaskedChildContext;var g={},S;for(S in s)g[S]=r[S];return d&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=g),g}function yn(n){return n=n.childContextTypes,n!=null}function Zo(){Pt(_n),Pt(rn)}function bh(n,r,s){if(rn.current!==Ar)throw Error(o(168));He(rn,r),He(_n,s)}function rs(n,r,s){var d=n.stateNode;if(r=r.childContextTypes,typeof d.getChildContext!="function")return s;d=d.getChildContext();for(var g in d)if(!(g in r))throw Error(o(108,pt(n)||"Unknown",g));return ye({},s,d)}function jr(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Ar,Pr=rn.current,He(rn,n),He(_n,_n.current),!0}function Ic(n,r,s){var d=n.stateNode;if(!d)throw Error(o(169));s?(n=rs(n,r,Pr),d.__reactInternalMemoizedMergedChildContext=n,Pt(_n),Pt(rn),He(rn,n)):Pt(_n),He(_n,s)}var Za=null,Jo=!1,Ri=!1;function Hc(n){Za===null?Za=[n]:Za.push(n)}function al(n){Jo=!0,Hc(n)}function Ja(){if(!Ri&&Za!==null){Ri=!0;var n=0,r=Ot;try{var s=Za;for(Ot=1;n<s.length;n++){var d=s[n];do d=d(!0);while(d!==null)}Za=null,Jo=!1}catch(g){throw Za!==null&&(Za=Za.slice(n+1)),Uu(Ct,Ja),g}finally{Ot=r,Ri=!1}}return null}var il=[],ll=0,ol=null,Oi=0,Sn=[],Sa=0,ea=null,ei=1,ti="";function Gl(n,r){il[ll++]=Oi,il[ll++]=ol,ol=n,Oi=r}function Eh(n,r,s){Sn[Sa++]=ei,Sn[Sa++]=ti,Sn[Sa++]=ea,ea=n;var d=ei;n=ti;var g=32-on(d)-1;d&=~(1<<g),s+=1;var S=32-on(r)+g;if(30<S){var x=g-g%5;S=(d&(1<<x)-1).toString(32),d>>=x,g-=x,ei=1<<32-on(r)+g|s<<g|d,ti=S+n}else ei=1<<S|s<<g|d,ti=n}function Bc(n){n.return!==null&&(Gl(n,1),Eh(n,1,0))}function Vc(n){for(;n===ol;)ol=il[--ll],il[ll]=null,Oi=il[--ll],il[ll]=null;for(;n===ea;)ea=Sn[--Sa],Sn[Sa]=null,ti=Sn[--Sa],Sn[Sa]=null,ei=Sn[--Sa],Sn[Sa]=null}var Ur=null,Fr=null,Wt=!1,wa=null;function Qd(n,r){var s=xa(5,null,null,0);s.elementType="DELETED",s.stateNode=r,s.return=n,r=n.deletions,r===null?(n.deletions=[s],n.flags|=16):r.push(s)}function Th(n,r){switch(n.tag){case 5:var s=n.type;return r=r.nodeType!==1||s.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,Ur=n,Fr=Xa(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Ur=n,Fr=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(s=ea!==null?{id:ei,overflow:ti}:null,n.memoizedState={dehydrated:r,treeContext:s,retryLane:1073741824},s=xa(18,null,null,0),s.stateNode=r,s.return=n,n.child=s,Ur=n,Fr=null,!0):!1;default:return!1}}function Xd(n){return(n.mode&1)!==0&&(n.flags&128)===0}function Kd(n){if(Wt){var r=Fr;if(r){var s=r;if(!Th(n,r)){if(Xd(n))throw Error(o(418));r=Xa(s.nextSibling);var d=Ur;r&&Th(n,r)?Qd(d,s):(n.flags=n.flags&-4097|2,Wt=!1,Ur=n)}}else{if(Xd(n))throw Error(o(418));n.flags=n.flags&-4097|2,Wt=!1,Ur=n}}}function Mn(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Ur=n}function $c(n){if(n!==Ur)return!1;if(!Wt)return Mn(n),Wt=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!jc(n.type,n.memoizedProps)),r&&(r=Fr)){if(Xd(n))throw as(),Error(o(418));for(;r;)Qd(n,r),r=Xa(r.nextSibling)}if(Mn(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var s=n.data;if(s==="/$"){if(r===0){Fr=Xa(n.nextSibling);break e}r--}else s!=="$"&&s!=="$!"&&s!=="$?"||r++}n=n.nextSibling}Fr=null}}else Fr=Ur?Xa(n.stateNode.nextSibling):null;return!0}function as(){for(var n=Fr;n;)n=Xa(n.nextSibling)}function ul(){Fr=Ur=null,Wt=!1}function ki(n){wa===null?wa=[n]:wa.push(n)}var Oy=q.ReactCurrentBatchConfig;function Yl(n,r,s){if(n=s.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(o(309));var d=s.stateNode}if(!d)throw Error(o(147,n));var g=d,S=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===S?r.ref:(r=function(x){var A=g.refs;x===null?delete A[S]:A[S]=x},r._stringRef=S,r)}if(typeof n!="string")throw Error(o(284));if(!s._owner)throw Error(o(290,n))}return n}function Wc(n,r){throw n=Object.prototype.toString.call(r),Error(o(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function Ch(n){var r=n._init;return r(n._payload)}function ql(n){function r(W,H){if(n){var Q=W.deletions;Q===null?(W.deletions=[H],W.flags|=16):Q.push(H)}}function s(W,H){if(!n)return null;for(;H!==null;)r(W,H),H=H.sibling;return null}function d(W,H){for(W=new Map;H!==null;)H.key!==null?W.set(H.key,H):W.set(H.index,H),H=H.sibling;return W}function g(W,H){return W=ml(W,H),W.index=0,W.sibling=null,W}function S(W,H,Q){return W.index=Q,n?(Q=W.alternate,Q!==null?(Q=Q.index,Q<H?(W.flags|=2,H):Q):(W.flags|=2,H)):(W.flags|=1048576,H)}function x(W){return n&&W.alternate===null&&(W.flags|=2),W}function A(W,H,Q,pe){return H===null||H.tag!==6?(H=kp(Q,W.mode,pe),H.return=W,H):(H=g(H,Q),H.return=W,H)}function F(W,H,Q,pe){var Ae=Q.type;return Ae===le?de(W,H,Q.props.children,pe,Q.key):H!==null&&(H.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===be&&Ch(Ae)===H.type)?(pe=g(H,Q.props),pe.ref=Yl(W,H,Q),pe.return=W,pe):(pe=zs(Q.type,Q.key,Q.props,null,W.mode,pe),pe.ref=Yl(W,H,Q),pe.return=W,pe)}function K(W,H,Q,pe){return H===null||H.tag!==4||H.stateNode.containerInfo!==Q.containerInfo||H.stateNode.implementation!==Q.implementation?(H=xf(Q,W.mode,pe),H.return=W,H):(H=g(H,Q.children||[]),H.return=W,H)}function de(W,H,Q,pe,Ae){return H===null||H.tag!==7?(H=zi(Q,W.mode,pe,Ae),H.return=W,H):(H=g(H,Q),H.return=W,H)}function he(W,H,Q){if(typeof H=="string"&&H!==""||typeof H=="number")return H=kp(""+H,W.mode,Q),H.return=W,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case $:return Q=zs(H.type,H.key,H.props,null,W.mode,Q),Q.ref=Yl(W,null,H),Q.return=W,Q;case se:return H=xf(H,W.mode,Q),H.return=W,H;case be:var pe=H._init;return he(W,pe(H._payload),Q)}if(Mr(H)||Se(H))return H=zi(H,W.mode,Q,null),H.return=W,H;Wc(W,H)}return null}function fe(W,H,Q,pe){var Ae=H!==null?H.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number")return Ae!==null?null:A(W,H,""+Q,pe);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case $:return Q.key===Ae?F(W,H,Q,pe):null;case se:return Q.key===Ae?K(W,H,Q,pe):null;case be:return Ae=Q._init,fe(W,H,Ae(Q._payload),pe)}if(Mr(Q)||Se(Q))return Ae!==null?null:de(W,H,Q,pe,null);Wc(W,Q)}return null}function De(W,H,Q,pe,Ae){if(typeof pe=="string"&&pe!==""||typeof pe=="number")return W=W.get(Q)||null,A(H,W,""+pe,Ae);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case $:return W=W.get(pe.key===null?Q:pe.key)||null,F(H,W,pe,Ae);case se:return W=W.get(pe.key===null?Q:pe.key)||null,K(H,W,pe,Ae);case be:var Ye=pe._init;return De(W,H,Q,Ye(pe._payload),Ae)}if(Mr(pe)||Se(pe))return W=W.get(Q)||null,de(H,W,pe,Ae,null);Wc(H,pe)}return null}function ze(W,H,Q,pe){for(var Ae=null,Ye=null,qe=H,Ze=H=0,Fn=null;qe!==null&&Ze<Q.length;Ze++){qe.index>Ze?(Fn=qe,qe=null):Fn=qe.sibling;var yt=fe(W,qe,Q[Ze],pe);if(yt===null){qe===null&&(qe=Fn);break}n&&qe&&yt.alternate===null&&r(W,qe),H=S(yt,H,Ze),Ye===null?Ae=yt:Ye.sibling=yt,Ye=yt,qe=Fn}if(Ze===Q.length)return s(W,qe),Wt&&Gl(W,Ze),Ae;if(qe===null){for(;Ze<Q.length;Ze++)qe=he(W,Q[Ze],pe),qe!==null&&(H=S(qe,H,Ze),Ye===null?Ae=qe:Ye.sibling=qe,Ye=qe);return Wt&&Gl(W,Ze),Ae}for(qe=d(W,qe);Ze<Q.length;Ze++)Fn=De(qe,W,Ze,Q[Ze],pe),Fn!==null&&(n&&Fn.alternate!==null&&qe.delete(Fn.key===null?Ze:Fn.key),H=S(Fn,H,Ze),Ye===null?Ae=Fn:Ye.sibling=Fn,Ye=Fn);return n&&qe.forEach(function(Sl){return r(W,Sl)}),Wt&&Gl(W,Ze),Ae}function je(W,H,Q,pe){var Ae=Se(Q);if(typeof Ae!="function")throw Error(o(150));if(Q=Ae.call(Q),Q==null)throw Error(o(151));for(var Ye=Ae=null,qe=H,Ze=H=0,Fn=null,yt=Q.next();qe!==null&&!yt.done;Ze++,yt=Q.next()){qe.index>Ze?(Fn=qe,qe=null):Fn=qe.sibling;var Sl=fe(W,qe,yt.value,pe);if(Sl===null){qe===null&&(qe=Fn);break}n&&qe&&Sl.alternate===null&&r(W,qe),H=S(Sl,H,Ze),Ye===null?Ae=Sl:Ye.sibling=Sl,Ye=Sl,qe=Fn}if(yt.done)return s(W,qe),Wt&&Gl(W,Ze),Ae;if(qe===null){for(;!yt.done;Ze++,yt=Q.next())yt=he(W,yt.value,pe),yt!==null&&(H=S(yt,H,Ze),Ye===null?Ae=yt:Ye.sibling=yt,Ye=yt);return Wt&&Gl(W,Ze),Ae}for(qe=d(W,qe);!yt.done;Ze++,yt=Q.next())yt=De(qe,W,Ze,yt.value,pe),yt!==null&&(n&&yt.alternate!==null&&qe.delete(yt.key===null?Ze:yt.key),H=S(yt,H,Ze),Ye===null?Ae=yt:Ye.sibling=yt,Ye=yt);return n&&qe.forEach(function(lm){return r(W,lm)}),Wt&&Gl(W,Ze),Ae}function pn(W,H,Q,pe){if(typeof Q=="object"&&Q!==null&&Q.type===le&&Q.key===null&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case $:e:{for(var Ae=Q.key,Ye=H;Ye!==null;){if(Ye.key===Ae){if(Ae=Q.type,Ae===le){if(Ye.tag===7){s(W,Ye.sibling),H=g(Ye,Q.props.children),H.return=W,W=H;break e}}else if(Ye.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===be&&Ch(Ae)===Ye.type){s(W,Ye.sibling),H=g(Ye,Q.props),H.ref=Yl(W,Ye,Q),H.return=W,W=H;break e}s(W,Ye);break}else r(W,Ye);Ye=Ye.sibling}Q.type===le?(H=zi(Q.props.children,W.mode,pe,Q.key),H.return=W,W=H):(pe=zs(Q.type,Q.key,Q.props,null,W.mode,pe),pe.ref=Yl(W,H,Q),pe.return=W,W=pe)}return x(W);case se:e:{for(Ye=Q.key;H!==null;){if(H.key===Ye)if(H.tag===4&&H.stateNode.containerInfo===Q.containerInfo&&H.stateNode.implementation===Q.implementation){s(W,H.sibling),H=g(H,Q.children||[]),H.return=W,W=H;break e}else{s(W,H);break}else r(W,H);H=H.sibling}H=xf(Q,W.mode,pe),H.return=W,W=H}return x(W);case be:return Ye=Q._init,pn(W,H,Ye(Q._payload),pe)}if(Mr(Q))return ze(W,H,Q,pe);if(Se(Q))return je(W,H,Q,pe);Wc(W,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"?(Q=""+Q,H!==null&&H.tag===6?(s(W,H.sibling),H=g(H,Q),H.return=W,W=H):(s(W,H),H=kp(Q,W.mode,pe),H.return=W,W=H),x(W)):s(W,H)}return pn}var sn=ql(!0),Re=ql(!1),ta=ja(null),Ir=null,eu=null,Zd=null;function Jd(){Zd=eu=Ir=null}function ep(n){var r=ta.current;Pt(ta),n._currentValue=r}function tp(n,r,s){for(;n!==null;){var d=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,d!==null&&(d.childLanes|=r)):d!==null&&(d.childLanes&r)!==r&&(d.childLanes|=r),n===s)break;n=n.return}}function qt(n,r){Ir=n,Zd=eu=null,n=n.dependencies,n!==null&&n.firstContext!==null&&((n.lanes&r)!==0&&(bn=!0),n.firstContext=null)}function ba(n){var r=n._currentValue;if(Zd!==n)if(n={context:n,memoizedValue:r,next:null},eu===null){if(Ir===null)throw Error(o(308));eu=n,Ir.dependencies={lanes:0,firstContext:n}}else eu=eu.next=n;return r}var Ql=null;function np(n){Ql===null?Ql=[n]:Ql.push(n)}function rp(n,r,s,d){var g=r.interleaved;return g===null?(s.next=s,np(r)):(s.next=g.next,g.next=s),r.interleaved=s,na(n,d)}function na(n,r){n.lanes|=r;var s=n.alternate;for(s!==null&&(s.lanes|=r),s=n,n=n.return;n!==null;)n.childLanes|=r,s=n.alternate,s!==null&&(s.childLanes|=r),s=n,n=n.return;return s.tag===3?s.stateNode:null}var ra=!1;function ap(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function xh(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Di(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function sl(n,r,s){var d=n.updateQueue;if(d===null)return null;if(d=d.shared,(ct&2)!==0){var g=d.pending;return g===null?r.next=r:(r.next=g.next,g.next=r),d.pending=r,na(n,s)}return g=d.interleaved,g===null?(r.next=r,np(d)):(r.next=g.next,g.next=r),d.interleaved=r,na(n,s)}function Gc(n,r,s){if(r=r.updateQueue,r!==null&&(r=r.shared,(s&4194240)!==0)){var d=r.lanes;d&=n.pendingLanes,s|=d,r.lanes=s,hc(n,s)}}function Rh(n,r){var s=n.updateQueue,d=n.alternate;if(d!==null&&(d=d.updateQueue,s===d)){var g=null,S=null;if(s=s.firstBaseUpdate,s!==null){do{var x={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};S===null?g=S=x:S=S.next=x,s=s.next}while(s!==null);S===null?g=S=r:S=S.next=r}else g=S=r;s={baseState:d.baseState,firstBaseUpdate:g,lastBaseUpdate:S,shared:d.shared,effects:d.effects},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=r:n.next=r,s.lastBaseUpdate=r}function is(n,r,s,d){var g=n.updateQueue;ra=!1;var S=g.firstBaseUpdate,x=g.lastBaseUpdate,A=g.shared.pending;if(A!==null){g.shared.pending=null;var F=A,K=F.next;F.next=null,x===null?S=K:x.next=K,x=F;var de=n.alternate;de!==null&&(de=de.updateQueue,A=de.lastBaseUpdate,A!==x&&(A===null?de.firstBaseUpdate=K:A.next=K,de.lastBaseUpdate=F))}if(S!==null){var he=g.baseState;x=0,de=K=F=null,A=S;do{var fe=A.lane,De=A.eventTime;if((d&fe)===fe){de!==null&&(de=de.next={eventTime:De,lane:0,tag:A.tag,payload:A.payload,callback:A.callback,next:null});e:{var ze=n,je=A;switch(fe=r,De=s,je.tag){case 1:if(ze=je.payload,typeof ze=="function"){he=ze.call(De,he,fe);break e}he=ze;break e;case 3:ze.flags=ze.flags&-65537|128;case 0:if(ze=je.payload,fe=typeof ze=="function"?ze.call(De,he,fe):ze,fe==null)break e;he=ye({},he,fe);break e;case 2:ra=!0}}A.callback!==null&&A.lane!==0&&(n.flags|=64,fe=g.effects,fe===null?g.effects=[A]:fe.push(A))}else De={eventTime:De,lane:fe,tag:A.tag,payload:A.payload,callback:A.callback,next:null},de===null?(K=de=De,F=he):de=de.next=De,x|=fe;if(A=A.next,A===null){if(A=g.shared.pending,A===null)break;fe=A,A=fe.next,fe.next=null,g.lastBaseUpdate=fe,g.shared.pending=null}}while(!0);if(de===null&&(F=he),g.baseState=F,g.firstBaseUpdate=K,g.lastBaseUpdate=de,r=g.shared.interleaved,r!==null){g=r;do x|=g.lane,g=g.next;while(g!==r)}else S===null&&(g.shared.lanes=0);li|=x,n.lanes=x,n.memoizedState=he}}function ip(n,r,s){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var d=n[r],g=d.callback;if(g!==null){if(d.callback=null,d=s,typeof g!="function")throw Error(o(191,g));g.call(d)}}}var ls={},ni=ja(ls),os=ja(ls),us=ja(ls);function Xl(n){if(n===ls)throw Error(o(174));return n}function lp(n,r){switch(He(us,r),He(os,n),He(ni,ls),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:ir(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=ir(r,n)}Pt(ni),He(ni,r)}function Kl(){Pt(ni),Pt(os),Pt(us)}function Oh(n){Xl(us.current);var r=Xl(ni.current),s=ir(r,n.type);r!==s&&(He(os,n),He(ni,s))}function Yc(n){os.current===n&&(Pt(ni),Pt(os))}var Qt=ja(0);function qc(n){for(var r=n;r!==null;){if(r.tag===13){var s=r.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var ss=[];function Ve(){for(var n=0;n<ss.length;n++)ss[n]._workInProgressVersionPrimary=null;ss.length=0}var lt=q.ReactCurrentDispatcher,mt=q.ReactCurrentBatchConfig,Mt=0,gt=null,wn=null,jn=null,Qc=!1,cs=!1,Zl=0,ce=0;function vt(){throw Error(o(321))}function Xe(n,r){if(r===null)return!1;for(var s=0;s<r.length&&s<n.length;s++)if(!Aa(n[s],r[s]))return!1;return!0}function cl(n,r,s,d,g,S){if(Mt=S,gt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,lt.current=n===null||n.memoizedState===null?ff:ms,n=s(d,g),cs){S=0;do{if(cs=!1,Zl=0,25<=S)throw Error(o(301));S+=1,jn=wn=null,r.updateQueue=null,lt.current=df,n=s(d,g)}while(cs)}if(lt.current=ro,r=wn!==null&&wn.next!==null,Mt=0,jn=wn=gt=null,Qc=!1,r)throw Error(o(300));return n}function Ua(){var n=Zl!==0;return Zl=0,n}function or(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return jn===null?gt.memoizedState=jn=n:jn=jn.next=n,jn}function cn(){if(wn===null){var n=gt.alternate;n=n!==null?n.memoizedState:null}else n=wn.next;var r=jn===null?gt.memoizedState:jn.next;if(r!==null)jn=r,wn=n;else{if(n===null)throw Error(o(310));wn=n,n={memoizedState:wn.memoizedState,baseState:wn.baseState,baseQueue:wn.baseQueue,queue:wn.queue,next:null},jn===null?gt.memoizedState=jn=n:jn=jn.next=n}return jn}function _i(n,r){return typeof r=="function"?r(n):r}function fl(n){var r=cn(),s=r.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=n;var d=wn,g=d.baseQueue,S=s.pending;if(S!==null){if(g!==null){var x=g.next;g.next=S.next,S.next=x}d.baseQueue=g=S,s.pending=null}if(g!==null){S=g.next,d=d.baseState;var A=x=null,F=null,K=S;do{var de=K.lane;if((Mt&de)===de)F!==null&&(F=F.next={lane:0,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null}),d=K.hasEagerState?K.eagerState:n(d,K.action);else{var he={lane:de,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null};F===null?(A=F=he,x=d):F=F.next=he,gt.lanes|=de,li|=de}K=K.next}while(K!==null&&K!==S);F===null?x=d:F.next=A,Aa(d,r.memoizedState)||(bn=!0),r.memoizedState=d,r.baseState=x,r.baseQueue=F,s.lastRenderedState=d}if(n=s.interleaved,n!==null){g=n;do S=g.lane,gt.lanes|=S,li|=S,g=g.next;while(g!==n)}else g===null&&(s.lanes=0);return[r.memoizedState,s.dispatch]}function Jl(n){var r=cn(),s=r.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=n;var d=s.dispatch,g=s.pending,S=r.memoizedState;if(g!==null){s.pending=null;var x=g=g.next;do S=n(S,x.action),x=x.next;while(x!==g);Aa(S,r.memoizedState)||(bn=!0),r.memoizedState=S,r.baseQueue===null&&(r.baseState=S),s.lastRenderedState=S}return[S,d]}function Xc(){}function Kc(n,r){var s=gt,d=cn(),g=r(),S=!Aa(d.memoizedState,g);if(S&&(d.memoizedState=g,bn=!0),d=d.queue,fs(ef.bind(null,s,d,n),[n]),d.getSnapshot!==r||S||jn!==null&&jn.memoizedState.tag&1){if(s.flags|=2048,eo(9,Jc.bind(null,s,d,g,r),void 0,null),Ln===null)throw Error(o(349));(Mt&30)!==0||Zc(s,r,g)}return g}function Zc(n,r,s){n.flags|=16384,n={getSnapshot:r,value:s},r=gt.updateQueue,r===null?(r={lastEffect:null,stores:null},gt.updateQueue=r,r.stores=[n]):(s=r.stores,s===null?r.stores=[n]:s.push(n))}function Jc(n,r,s,d){r.value=s,r.getSnapshot=d,tf(r)&&nf(n)}function ef(n,r,s){return s(function(){tf(r)&&nf(n)})}function tf(n){var r=n.getSnapshot;n=n.value;try{var s=r();return!Aa(n,s)}catch{return!0}}function nf(n){var r=na(n,1);r!==null&&Sr(r,n,1,-1)}function rf(n){var r=or();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:n},r.queue=n,n=n.dispatch=no.bind(null,gt,n),[r.memoizedState,n]}function eo(n,r,s,d){return n={tag:n,create:r,destroy:s,deps:d,next:null},r=gt.updateQueue,r===null?(r={lastEffect:null,stores:null},gt.updateQueue=r,r.lastEffect=n.next=n):(s=r.lastEffect,s===null?r.lastEffect=n.next=n:(d=s.next,s.next=n,n.next=d,r.lastEffect=n)),n}function af(){return cn().memoizedState}function tu(n,r,s,d){var g=or();gt.flags|=n,g.memoizedState=eo(1|r,s,void 0,d===void 0?null:d)}function nu(n,r,s,d){var g=cn();d=d===void 0?null:d;var S=void 0;if(wn!==null){var x=wn.memoizedState;if(S=x.destroy,d!==null&&Xe(d,x.deps)){g.memoizedState=eo(r,s,S,d);return}}gt.flags|=n,g.memoizedState=eo(1|r,s,S,d)}function lf(n,r){return tu(8390656,8,n,r)}function fs(n,r){return nu(2048,8,n,r)}function of(n,r){return nu(4,2,n,r)}function ds(n,r){return nu(4,4,n,r)}function to(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function uf(n,r,s){return s=s!=null?s.concat([n]):null,nu(4,4,to.bind(null,r,n),s)}function ps(){}function sf(n,r){var s=cn();r=r===void 0?null:r;var d=s.memoizedState;return d!==null&&r!==null&&Xe(r,d[1])?d[0]:(s.memoizedState=[n,r],n)}function cf(n,r){var s=cn();r=r===void 0?null:r;var d=s.memoizedState;return d!==null&&r!==null&&Xe(r,d[1])?d[0]:(n=n(),s.memoizedState=[n,r],n)}function op(n,r,s){return(Mt&21)===0?(n.baseState&&(n.baseState=!1,bn=!0),n.memoizedState=s):(Aa(s,r)||(s=vc(),gt.lanes|=s,li|=s,n.baseState=!0),r)}function vs(n,r){var s=Ot;Ot=s!==0&&4>s?s:4,n(!0);var d=mt.transition;mt.transition={};try{n(!1),r()}finally{Ot=s,mt.transition=d}}function up(){return cn().memoizedState}function hs(n,r,s){var d=oi(n);if(s={lane:d,action:s,hasEagerState:!1,eagerState:null,next:null},aa(n))kh(r,s);else if(s=rp(n,r,s,d),s!==null){var g=Cn();Sr(s,n,d,g),At(s,r,d)}}function no(n,r,s){var d=oi(n),g={lane:d,action:s,hasEagerState:!1,eagerState:null,next:null};if(aa(n))kh(r,g);else{var S=n.alternate;if(n.lanes===0&&(S===null||S.lanes===0)&&(S=r.lastRenderedReducer,S!==null))try{var x=r.lastRenderedState,A=S(x,s);if(g.hasEagerState=!0,g.eagerState=A,Aa(A,x)){var F=r.interleaved;F===null?(g.next=g,np(r)):(g.next=F.next,F.next=g),r.interleaved=g;return}}catch{}finally{}s=rp(n,r,g,d),s!==null&&(g=Cn(),Sr(s,n,d,g),At(s,r,d))}}function aa(n){var r=n.alternate;return n===gt||r!==null&&r===gt}function kh(n,r){cs=Qc=!0;var s=n.pending;s===null?r.next=r:(r.next=s.next,s.next=r),n.pending=r}function At(n,r,s){if((s&4194240)!==0){var d=r.lanes;d&=n.pendingLanes,s|=d,r.lanes=s,hc(n,s)}}var ro={readContext:ba,useCallback:vt,useContext:vt,useEffect:vt,useImperativeHandle:vt,useInsertionEffect:vt,useLayoutEffect:vt,useMemo:vt,useReducer:vt,useRef:vt,useState:vt,useDebugValue:vt,useDeferredValue:vt,useTransition:vt,useMutableSource:vt,useSyncExternalStore:vt,useId:vt,unstable_isNewReconciler:!1},ff={readContext:ba,useCallback:function(n,r){return or().memoizedState=[n,r===void 0?null:r],n},useContext:ba,useEffect:lf,useImperativeHandle:function(n,r,s){return s=s!=null?s.concat([n]):null,tu(4194308,4,to.bind(null,r,n),s)},useLayoutEffect:function(n,r){return tu(4194308,4,n,r)},useInsertionEffect:function(n,r){return tu(4,2,n,r)},useMemo:function(n,r){var s=or();return r=r===void 0?null:r,n=n(),s.memoizedState=[n,r],n},useReducer:function(n,r,s){var d=or();return r=s!==void 0?s(r):r,d.memoizedState=d.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},d.queue=n,n=n.dispatch=hs.bind(null,gt,n),[d.memoizedState,n]},useRef:function(n){var r=or();return n={current:n},r.memoizedState=n},useState:rf,useDebugValue:ps,useDeferredValue:function(n){return or().memoizedState=n},useTransition:function(){var n=rf(!1),r=n[0];return n=vs.bind(null,n[1]),or().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,s){var d=gt,g=or();if(Wt){if(s===void 0)throw Error(o(407));s=s()}else{if(s=r(),Ln===null)throw Error(o(349));(Mt&30)!==0||Zc(d,r,s)}g.memoizedState=s;var S={value:s,getSnapshot:r};return g.queue=S,lf(ef.bind(null,d,S,n),[n]),d.flags|=2048,eo(9,Jc.bind(null,d,S,s,r),void 0,null),s},useId:function(){var n=or(),r=Ln.identifierPrefix;if(Wt){var s=ti,d=ei;s=(d&~(1<<32-on(d)-1)).toString(32)+s,r=":"+r+"R"+s,s=Zl++,0<s&&(r+="H"+s.toString(32)),r+=":"}else s=ce++,r=":"+r+"r"+s.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},ms={readContext:ba,useCallback:sf,useContext:ba,useEffect:fs,useImperativeHandle:uf,useInsertionEffect:of,useLayoutEffect:ds,useMemo:cf,useReducer:fl,useRef:af,useState:function(){return fl(_i)},useDebugValue:ps,useDeferredValue:function(n){var r=cn();return op(r,wn.memoizedState,n)},useTransition:function(){var n=fl(_i)[0],r=cn().memoizedState;return[n,r]},useMutableSource:Xc,useSyncExternalStore:Kc,useId:up,unstable_isNewReconciler:!1},df={readContext:ba,useCallback:sf,useContext:ba,useEffect:fs,useImperativeHandle:uf,useInsertionEffect:of,useLayoutEffect:ds,useMemo:cf,useReducer:Jl,useRef:af,useState:function(){return Jl(_i)},useDebugValue:ps,useDeferredValue:function(n){var r=cn();return wn===null?r.memoizedState=n:op(r,wn.memoizedState,n)},useTransition:function(){var n=Jl(_i)[0],r=cn().memoizedState;return[n,r]},useMutableSource:Xc,useSyncExternalStore:Kc,useId:up,unstable_isNewReconciler:!1};function Fa(n,r){if(n&&n.defaultProps){r=ye({},r),n=n.defaultProps;for(var s in n)r[s]===void 0&&(r[s]=n[s]);return r}return r}function sp(n,r,s,d){r=n.memoizedState,s=s(d,r),s=s==null?r:ye({},r,s),n.memoizedState=s,n.lanes===0&&(n.updateQueue.baseState=s)}var pf={isMounted:function(n){return(n=n._reactInternals)?Zr(n)===n:!1},enqueueSetState:function(n,r,s){n=n._reactInternals;var d=Cn(),g=oi(n),S=Di(d,g);S.payload=r,s!=null&&(S.callback=s),r=sl(n,S,g),r!==null&&(Sr(r,n,g,d),Gc(r,n,g))},enqueueReplaceState:function(n,r,s){n=n._reactInternals;var d=Cn(),g=oi(n),S=Di(d,g);S.tag=1,S.payload=r,s!=null&&(S.callback=s),r=sl(n,S,g),r!==null&&(Sr(r,n,g,d),Gc(r,n,g))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var s=Cn(),d=oi(n),g=Di(s,d);g.tag=2,r!=null&&(g.callback=r),r=sl(n,g,d),r!==null&&(Sr(r,n,d,s),Gc(r,n,d))}};function Dh(n,r,s,d,g,S,x){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(d,S,x):r.prototype&&r.prototype.isPureReactComponent?!Qu(s,d)||!Qu(g,S):!0}function vf(n,r,s){var d=!1,g=Ar,S=r.contextType;return typeof S=="object"&&S!==null?S=ba(S):(g=yn(r)?Pr:rn.current,d=r.contextTypes,S=(d=d!=null)?ya(n,g):Ar),r=new r(s,S),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=pf,n.stateNode=r,r._reactInternals=n,d&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=g,n.__reactInternalMemoizedMaskedChildContext=S),r}function _h(n,r,s,d){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(s,d),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(s,d),r.state!==n&&pf.enqueueReplaceState(r,r.state,null)}function gs(n,r,s,d){var g=n.stateNode;g.props=s,g.state=n.memoizedState,g.refs={},ap(n);var S=r.contextType;typeof S=="object"&&S!==null?g.context=ba(S):(S=yn(r)?Pr:rn.current,g.context=ya(n,S)),g.state=n.memoizedState,S=r.getDerivedStateFromProps,typeof S=="function"&&(sp(n,r,S,s),g.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(r=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),r!==g.state&&pf.enqueueReplaceState(g,g.state,null),is(n,s,g,d),g.state=n.memoizedState),typeof g.componentDidMount=="function"&&(n.flags|=4194308)}function ao(n,r){try{var s="",d=r;do s+=bt(d),d=d.return;while(d);var g=s}catch(S){g=`
|
|
48
|
-
Error generating stack: `+S.message+`
|
|
49
|
-
`+S.stack}return{value:n,source:r,stack:g,digest:null}}function cp(n,r,s){return{value:n,source:null,stack:s??null,digest:r??null}}function fp(n,r){try{console.error(r.value)}catch(s){setTimeout(function(){throw s})}}var hf=typeof WeakMap=="function"?WeakMap:Map;function Mh(n,r,s){s=Di(-1,s),s.tag=3,s.payload={element:null};var d=r.value;return s.callback=function(){uu||(uu=!0,oo=d),fp(n,r)},s}function dp(n,r,s){s=Di(-1,s),s.tag=3;var d=n.type.getDerivedStateFromError;if(typeof d=="function"){var g=r.value;s.payload=function(){return d(g)},s.callback=function(){fp(n,r)}}var S=n.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(s.callback=function(){fp(n,r),typeof d!="function"&&(vl===null?vl=new Set([this]):vl.add(this));var x=r.stack;this.componentDidCatch(r.value,{componentStack:x!==null?x:""})}),s}function pp(n,r,s){var d=n.pingCache;if(d===null){d=n.pingCache=new hf;var g=new Set;d.set(r,g)}else g=d.get(r),g===void 0&&(g=new Set,d.set(r,g));g.has(s)||(g.add(s),n=zy.bind(null,n,r,s),r.then(n,n))}function Lh(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function dl(n,r,s,d,g){return(n.mode&1)===0?(n===r?n.flags|=65536:(n.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(r=Di(-1,1),r.tag=2,sl(s,r,1))),s.lanes|=1),n):(n.flags|=65536,n.lanes=g,n)}var ys=q.ReactCurrentOwner,bn=!1;function qn(n,r,s,d){r.child=n===null?Re(r,null,s,d):sn(r,n.child,s,d)}function Hr(n,r,s,d,g){s=s.render;var S=r.ref;return qt(r,g),d=cl(n,r,s,d,S,g),s=Ua(),n!==null&&!bn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~g,Ta(n,r,g)):(Wt&&s&&Bc(r),r.flags|=1,qn(n,r,d,g),r.child)}function io(n,r,s,d,g){if(n===null){var S=s.type;return typeof S=="function"&&!Op(S)&&S.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(r.tag=15,r.type=S,at(n,r,S,d,g)):(n=zs(s.type,null,d,r,r.mode,g),n.ref=r.ref,n.return=r,r.child=n)}if(S=n.child,(n.lanes&g)===0){var x=S.memoizedProps;if(s=s.compare,s=s!==null?s:Qu,s(x,d)&&n.ref===r.ref)return Ta(n,r,g)}return r.flags|=1,n=ml(S,d),n.ref=r.ref,n.return=r,r.child=n}function at(n,r,s,d,g){if(n!==null){var S=n.memoizedProps;if(Qu(S,d)&&n.ref===r.ref)if(bn=!1,r.pendingProps=d=S,(n.lanes&g)!==0)(n.flags&131072)!==0&&(bn=!0);else return r.lanes=n.lanes,Ta(n,r,g)}return Nh(n,r,s,d,g)}function Ss(n,r,s){var d=r.pendingProps,g=d.children,S=n!==null?n.memoizedState:null;if(d.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},He(iu,ia),ia|=s;else{if((s&1073741824)===0)return n=S!==null?S.baseLanes|s:s,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,He(iu,ia),ia|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=S!==null?S.baseLanes:s,He(iu,ia),ia|=d}else S!==null?(d=S.baseLanes|s,r.memoizedState=null):d=s,He(iu,ia),ia|=d;return qn(n,r,g,s),r.child}function vp(n,r){var s=r.ref;(n===null&&s!==null||n!==null&&n.ref!==s)&&(r.flags|=512,r.flags|=2097152)}function Nh(n,r,s,d,g){var S=yn(s)?Pr:rn.current;return S=ya(r,S),qt(r,g),s=cl(n,r,s,d,S,g),d=Ua(),n!==null&&!bn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~g,Ta(n,r,g)):(Wt&&d&&Bc(r),r.flags|=1,qn(n,r,s,g),r.child)}function zh(n,r,s,d,g){if(yn(s)){var S=!0;jr(r)}else S=!1;if(qt(r,g),r.stateNode===null)Ea(n,r),vf(r,s,d),gs(r,s,d,g),d=!0;else if(n===null){var x=r.stateNode,A=r.memoizedProps;x.props=A;var F=x.context,K=s.contextType;typeof K=="object"&&K!==null?K=ba(K):(K=yn(s)?Pr:rn.current,K=ya(r,K));var de=s.getDerivedStateFromProps,he=typeof de=="function"||typeof x.getSnapshotBeforeUpdate=="function";he||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(A!==d||F!==K)&&_h(r,x,d,K),ra=!1;var fe=r.memoizedState;x.state=fe,is(r,d,x,g),F=r.memoizedState,A!==d||fe!==F||_n.current||ra?(typeof de=="function"&&(sp(r,s,de,d),F=r.memoizedState),(A=ra||Dh(r,s,A,d,fe,F,K))?(he||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(r.flags|=4194308)):(typeof x.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=d,r.memoizedState=F),x.props=d,x.state=F,x.context=K,d=A):(typeof x.componentDidMount=="function"&&(r.flags|=4194308),d=!1)}else{x=r.stateNode,xh(n,r),A=r.memoizedProps,K=r.type===r.elementType?A:Fa(r.type,A),x.props=K,he=r.pendingProps,fe=x.context,F=s.contextType,typeof F=="object"&&F!==null?F=ba(F):(F=yn(s)?Pr:rn.current,F=ya(r,F));var De=s.getDerivedStateFromProps;(de=typeof De=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(A!==he||fe!==F)&&_h(r,x,d,F),ra=!1,fe=r.memoizedState,x.state=fe,is(r,d,x,g);var ze=r.memoizedState;A!==he||fe!==ze||_n.current||ra?(typeof De=="function"&&(sp(r,s,De,d),ze=r.memoizedState),(K=ra||Dh(r,s,K,d,fe,ze,F)||!1)?(de||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(d,ze,F),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(d,ze,F)),typeof x.componentDidUpdate=="function"&&(r.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof x.componentDidUpdate!="function"||A===n.memoizedProps&&fe===n.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||A===n.memoizedProps&&fe===n.memoizedState||(r.flags|=1024),r.memoizedProps=d,r.memoizedState=ze),x.props=d,x.state=ze,x.context=F,d=K):(typeof x.componentDidUpdate!="function"||A===n.memoizedProps&&fe===n.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||A===n.memoizedProps&&fe===n.memoizedState||(r.flags|=1024),d=!1)}return ws(n,r,s,d,S,g)}function ws(n,r,s,d,g,S){vp(n,r);var x=(r.flags&128)!==0;if(!d&&!x)return g&&Ic(r,s,!1),Ta(n,r,S);d=r.stateNode,ys.current=r;var A=x&&typeof s.getDerivedStateFromError!="function"?null:d.render();return r.flags|=1,n!==null&&x?(r.child=sn(r,n.child,null,S),r.child=sn(r,null,A,S)):qn(n,r,A,S),r.memoizedState=d.state,g&&Ic(r,s,!0),r.child}function ru(n){var r=n.stateNode;r.pendingContext?bh(n,r.pendingContext,r.pendingContext!==r.context):r.context&&bh(n,r.context,!1),lp(n,r.containerInfo)}function Ah(n,r,s,d,g){return ul(),ki(g),r.flags|=256,qn(n,r,s,d),r.child}var mf={dehydrated:null,treeContext:null,retryLane:0};function hp(n){return{baseLanes:n,cachePool:null,transitions:null}}function gf(n,r,s){var d=r.pendingProps,g=Qt.current,S=!1,x=(r.flags&128)!==0,A;if((A=x)||(A=n!==null&&n.memoizedState===null?!1:(g&2)!==0),A?(S=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(g|=1),He(Qt,g&1),n===null)return Kd(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?((r.mode&1)===0?r.lanes=1:n.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(x=d.children,n=d.fallback,S?(d=r.mode,S=r.child,x={mode:"hidden",children:x},(d&1)===0&&S!==null?(S.childLanes=0,S.pendingProps=x):S=gl(x,d,0,null),n=zi(n,d,s,null),S.return=r,n.return=r,S.sibling=n,r.child=S,r.child.memoizedState=hp(s),r.memoizedState=mf,n):mp(r,x));if(g=n.memoizedState,g!==null&&(A=g.dehydrated,A!==null))return Ph(n,r,x,d,A,g,s);if(S){S=d.fallback,x=r.mode,g=n.child,A=g.sibling;var F={mode:"hidden",children:d.children};return(x&1)===0&&r.child!==g?(d=r.child,d.childLanes=0,d.pendingProps=F,r.deletions=null):(d=ml(g,F),d.subtreeFlags=g.subtreeFlags&14680064),A!==null?S=ml(A,S):(S=zi(S,x,s,null),S.flags|=2),S.return=r,d.return=r,d.sibling=S,r.child=d,d=S,S=r.child,x=n.child.memoizedState,x=x===null?hp(s):{baseLanes:x.baseLanes|s,cachePool:null,transitions:x.transitions},S.memoizedState=x,S.childLanes=n.childLanes&~s,r.memoizedState=mf,d}return S=n.child,n=S.sibling,d=ml(S,{mode:"visible",children:d.children}),(r.mode&1)===0&&(d.lanes=s),d.return=r,d.sibling=null,n!==null&&(s=r.deletions,s===null?(r.deletions=[n],r.flags|=16):s.push(n)),r.child=d,r.memoizedState=null,d}function mp(n,r){return r=gl({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function bs(n,r,s,d){return d!==null&&ki(d),sn(r,n.child,null,s),n=mp(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function Ph(n,r,s,d,g,S,x){if(s)return r.flags&256?(r.flags&=-257,d=cp(Error(o(422))),bs(n,r,x,d)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(S=d.fallback,g=r.mode,d=gl({mode:"visible",children:d.children},g,0,null),S=zi(S,g,x,null),S.flags|=2,d.return=r,S.return=r,d.sibling=S,r.child=d,(r.mode&1)!==0&&sn(r,n.child,null,x),r.child.memoizedState=hp(x),r.memoizedState=mf,S);if((r.mode&1)===0)return bs(n,r,x,null);if(g.data==="$!"){if(d=g.nextSibling&&g.nextSibling.dataset,d)var A=d.dgst;return d=A,S=Error(o(419)),d=cp(S,d,void 0),bs(n,r,x,d)}if(A=(x&n.childLanes)!==0,bn||A){if(d=Ln,d!==null){switch(x&-x){case 4:g=2;break;case 16:g=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:g=32;break;case 536870912:g=268435456;break;default:g=0}g=(g&(d.suspendedLanes|x))!==0?0:g,g!==0&&g!==S.retryLane&&(S.retryLane=g,na(n,g),Sr(d,n,g,-1))}return Rp(),d=cp(Error(o(421))),bs(n,r,x,d)}return g.data==="$?"?(r.flags|=128,r.child=n.child,r=Ay.bind(null,n),g._reactRetry=r,null):(n=S.treeContext,Fr=Xa(g.nextSibling),Ur=r,Wt=!0,wa=null,n!==null&&(Sn[Sa++]=ei,Sn[Sa++]=ti,Sn[Sa++]=ea,ei=n.id,ti=n.overflow,ea=r),r=mp(r,d.children),r.flags|=4096,r)}function gp(n,r,s){n.lanes|=r;var d=n.alternate;d!==null&&(d.lanes|=r),tp(n.return,r,s)}function mr(n,r,s,d,g){var S=n.memoizedState;S===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:d,tail:s,tailMode:g}:(S.isBackwards=r,S.rendering=null,S.renderingStartTime=0,S.last=d,S.tail=s,S.tailMode=g)}function ri(n,r,s){var d=r.pendingProps,g=d.revealOrder,S=d.tail;if(qn(n,r,d.children,s),d=Qt.current,(d&2)!==0)d=d&1|2,r.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&gp(n,s,r);else if(n.tag===19)gp(n,s,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}d&=1}if(He(Qt,d),(r.mode&1)===0)r.memoizedState=null;else switch(g){case"forwards":for(s=r.child,g=null;s!==null;)n=s.alternate,n!==null&&qc(n)===null&&(g=s),s=s.sibling;s=g,s===null?(g=r.child,r.child=null):(g=s.sibling,s.sibling=null),mr(r,!1,g,s,S);break;case"backwards":for(s=null,g=r.child,r.child=null;g!==null;){if(n=g.alternate,n!==null&&qc(n)===null){r.child=g;break}n=g.sibling,g.sibling=s,s=g,g=n}mr(r,!0,s,null,S);break;case"together":mr(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Ea(n,r){(r.mode&1)===0&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function Ta(n,r,s){if(n!==null&&(r.dependencies=n.dependencies),li|=r.lanes,(s&r.childLanes)===0)return null;if(n!==null&&r.child!==n.child)throw Error(o(153));if(r.child!==null){for(n=r.child,s=ml(n,n.pendingProps),r.child=s,s.return=r;n.sibling!==null;)n=n.sibling,s=s.sibling=ml(n,n.pendingProps),s.return=r;s.sibling=null}return r.child}function Es(n,r,s){switch(r.tag){case 3:ru(r),ul();break;case 5:Oh(r);break;case 1:yn(r.type)&&jr(r);break;case 4:lp(r,r.stateNode.containerInfo);break;case 10:var d=r.type._context,g=r.memoizedProps.value;He(ta,d._currentValue),d._currentValue=g;break;case 13:if(d=r.memoizedState,d!==null)return d.dehydrated!==null?(He(Qt,Qt.current&1),r.flags|=128,null):(s&r.child.childLanes)!==0?gf(n,r,s):(He(Qt,Qt.current&1),n=Ta(n,r,s),n!==null?n.sibling:null);He(Qt,Qt.current&1);break;case 19:if(d=(s&r.childLanes)!==0,(n.flags&128)!==0){if(d)return ri(n,r,s);r.flags|=128}if(g=r.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),He(Qt,Qt.current),d)break;return null;case 22:case 23:return r.lanes=0,Ss(n,r,s)}return Ta(n,r,s)}var Ca,En,jh,Uh;Ca=function(n,r){for(var s=r.child;s!==null;){if(s.tag===5||s.tag===6)n.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},En=function(){},jh=function(n,r,s,d){var g=n.memoizedProps;if(g!==d){n=r.stateNode,Xl(ni.current);var S=null;switch(s){case"input":g=Yt(n,g),d=Yt(n,d),S=[];break;case"select":g=ye({},g,{value:void 0}),d=ye({},d,{value:void 0}),S=[];break;case"textarea":g=On(n,g),d=On(n,d),S=[];break;default:typeof g.onClick!="function"&&typeof d.onClick=="function"&&(n.onclick=nl)}jt(s,d);var x;s=null;for(K in g)if(!d.hasOwnProperty(K)&&g.hasOwnProperty(K)&&g[K]!=null)if(K==="style"){var A=g[K];for(x in A)A.hasOwnProperty(x)&&(s||(s={}),s[x]="")}else K!=="dangerouslySetInnerHTML"&&K!=="children"&&K!=="suppressContentEditableWarning"&&K!=="suppressHydrationWarning"&&K!=="autoFocus"&&(p.hasOwnProperty(K)?S||(S=[]):(S=S||[]).push(K,null));for(K in d){var F=d[K];if(A=g!=null?g[K]:void 0,d.hasOwnProperty(K)&&F!==A&&(F!=null||A!=null))if(K==="style")if(A){for(x in A)!A.hasOwnProperty(x)||F&&F.hasOwnProperty(x)||(s||(s={}),s[x]="");for(x in F)F.hasOwnProperty(x)&&A[x]!==F[x]&&(s||(s={}),s[x]=F[x])}else s||(S||(S=[]),S.push(K,s)),s=F;else K==="dangerouslySetInnerHTML"?(F=F?F.__html:void 0,A=A?A.__html:void 0,F!=null&&A!==F&&(S=S||[]).push(K,F)):K==="children"?typeof F!="string"&&typeof F!="number"||(S=S||[]).push(K,""+F):K!=="suppressContentEditableWarning"&&K!=="suppressHydrationWarning"&&(p.hasOwnProperty(K)?(F!=null&&K==="onScroll"&&xt("scroll",n),S||A===F||(S=[])):(S=S||[]).push(K,F))}s&&(S=S||[]).push("style",s);var K=S;(r.updateQueue=K)&&(r.flags|=4)}},Uh=function(n,r,s,d){s!==d&&(r.flags|=4)};function Ts(n,r){if(!Wt)switch(n.tailMode){case"hidden":r=n.tail;for(var s=null;r!==null;)r.alternate!==null&&(s=r),r=r.sibling;s===null?n.tail=null:s.sibling=null;break;case"collapsed":s=n.tail;for(var d=null;s!==null;)s.alternate!==null&&(d=s),s=s.sibling;d===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:d.sibling=null}}function Un(n){var r=n.alternate!==null&&n.alternate.child===n.child,s=0,d=0;if(r)for(var g=n.child;g!==null;)s|=g.lanes|g.childLanes,d|=g.subtreeFlags&14680064,d|=g.flags&14680064,g.return=n,g=g.sibling;else for(g=n.child;g!==null;)s|=g.lanes|g.childLanes,d|=g.subtreeFlags,d|=g.flags,g.return=n,g=g.sibling;return n.subtreeFlags|=d,n.childLanes=s,r}function Fh(n,r,s){var d=r.pendingProps;switch(Vc(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Un(r),null;case 1:return yn(r.type)&&Zo(),Un(r),null;case 3:return d=r.stateNode,Kl(),Pt(_n),Pt(rn),Ve(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(n===null||n.child===null)&&($c(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,wa!==null&&(uo(wa),wa=null))),En(n,r),Un(r),null;case 5:Yc(r);var g=Xl(us.current);if(s=r.type,n!==null&&r.stateNode!=null)jh(n,r,s,d,g),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!d){if(r.stateNode===null)throw Error(o(166));return Un(r),null}if(n=Xl(ni.current),$c(r)){d=r.stateNode,s=r.type;var S=r.memoizedProps;switch(d[Ka]=r,d[ts]=S,n=(r.mode&1)!==0,s){case"dialog":xt("cancel",d),xt("close",d);break;case"iframe":case"object":case"embed":xt("load",d);break;case"video":case"audio":for(g=0;g<Zu.length;g++)xt(Zu[g],d);break;case"source":xt("error",d);break;case"img":case"image":case"link":xt("error",d),xt("load",d);break;case"details":xt("toggle",d);break;case"input":Zt(d,S),xt("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!S.multiple},xt("invalid",d);break;case"textarea":Jt(d,S),xt("invalid",d)}jt(s,S),g=null;for(var x in S)if(S.hasOwnProperty(x)){var A=S[x];x==="children"?typeof A=="string"?d.textContent!==A&&(S.suppressHydrationWarning!==!0&&Pc(d.textContent,A,n),g=["children",A]):typeof A=="number"&&d.textContent!==""+A&&(S.suppressHydrationWarning!==!0&&Pc(d.textContent,A,n),g=["children",""+A]):p.hasOwnProperty(x)&&A!=null&&x==="onScroll"&&xt("scroll",d)}switch(s){case"input":Et(d),dr(d,S,!0);break;case"textarea":Et(d),ln(d);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(d.onclick=nl)}d=g,r.updateQueue=d,d!==null&&(r.flags|=4)}else{x=g.nodeType===9?g:g.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Bn(s)),n==="http://www.w3.org/1999/xhtml"?s==="script"?(n=x.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof d.is=="string"?n=x.createElement(s,{is:d.is}):(n=x.createElement(s),s==="select"&&(x=n,d.multiple?x.multiple=!0:d.size&&(x.size=d.size))):n=x.createElementNS(n,s),n[Ka]=r,n[ts]=d,Ca(n,r,!1,!1),r.stateNode=n;e:{switch(x=$n(s,d),s){case"dialog":xt("cancel",n),xt("close",n),g=d;break;case"iframe":case"object":case"embed":xt("load",n),g=d;break;case"video":case"audio":for(g=0;g<Zu.length;g++)xt(Zu[g],n);g=d;break;case"source":xt("error",n),g=d;break;case"img":case"image":case"link":xt("error",n),xt("load",n),g=d;break;case"details":xt("toggle",n),g=d;break;case"input":Zt(n,d),g=Yt(n,d),xt("invalid",n);break;case"option":g=d;break;case"select":n._wrapperState={wasMultiple:!!d.multiple},g=ye({},d,{value:void 0}),xt("invalid",n);break;case"textarea":Jt(n,d),g=On(n,d),xt("invalid",n);break;default:g=d}jt(s,g),A=g;for(S in A)if(A.hasOwnProperty(S)){var F=A[S];S==="style"?Vt(n,F):S==="dangerouslySetInnerHTML"?(F=F?F.__html:void 0,F!=null&&Pn(n,F)):S==="children"?typeof F=="string"?(s!=="textarea"||F!=="")&&Ee(n,F):typeof F=="number"&&Ee(n,""+F):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(p.hasOwnProperty(S)?F!=null&&S==="onScroll"&&xt("scroll",n):F!=null&&j(n,S,F,x))}switch(s){case"input":Et(n),dr(n,d,!1);break;case"textarea":Et(n),ln(n);break;case"option":d.value!=null&&n.setAttribute("value",""+zt(d.value));break;case"select":n.multiple=!!d.multiple,S=d.value,S!=null?mn(n,!!d.multiple,S,!1):d.defaultValue!=null&&mn(n,!!d.multiple,d.defaultValue,!0);break;default:typeof g.onClick=="function"&&(n.onclick=nl)}switch(s){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return Un(r),null;case 6:if(n&&r.stateNode!=null)Uh(n,r,n.memoizedProps,d);else{if(typeof d!="string"&&r.stateNode===null)throw Error(o(166));if(s=Xl(us.current),Xl(ni.current),$c(r)){if(d=r.stateNode,s=r.memoizedProps,d[Ka]=r,(S=d.nodeValue!==s)&&(n=Ur,n!==null))switch(n.tag){case 3:Pc(d.nodeValue,s,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Pc(d.nodeValue,s,(n.mode&1)!==0)}S&&(r.flags|=4)}else d=(s.nodeType===9?s:s.ownerDocument).createTextNode(d),d[Ka]=r,r.stateNode=d}return Un(r),null;case 13:if(Pt(Qt),d=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Wt&&Fr!==null&&(r.mode&1)!==0&&(r.flags&128)===0)as(),ul(),r.flags|=98560,S=!1;else if(S=$c(r),d!==null&&d.dehydrated!==null){if(n===null){if(!S)throw Error(o(318));if(S=r.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(o(317));S[Ka]=r}else ul(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Un(r),S=!1}else wa!==null&&(uo(wa),wa=null),S=!0;if(!S)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=s,r):(d=d!==null,d!==(n!==null&&n.memoizedState!==null)&&d&&(r.child.flags|=8192,(r.mode&1)!==0&&(n===null||(Qt.current&1)!==0?dn===0&&(dn=3):Rp())),r.updateQueue!==null&&(r.flags|=4),Un(r),null);case 4:return Kl(),En(n,r),n===null&&Yo(r.stateNode.containerInfo),Un(r),null;case 10:return ep(r.type._context),Un(r),null;case 17:return yn(r.type)&&Zo(),Un(r),null;case 19:if(Pt(Qt),S=r.memoizedState,S===null)return Un(r),null;if(d=(r.flags&128)!==0,x=S.rendering,x===null)if(d)Ts(S,!1);else{if(dn!==0||n!==null&&(n.flags&128)!==0)for(n=r.child;n!==null;){if(x=qc(n),x!==null){for(r.flags|=128,Ts(S,!1),d=x.updateQueue,d!==null&&(r.updateQueue=d,r.flags|=4),r.subtreeFlags=0,d=s,s=r.child;s!==null;)S=s,n=d,S.flags&=14680066,x=S.alternate,x===null?(S.childLanes=0,S.lanes=n,S.child=null,S.subtreeFlags=0,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null,S.stateNode=null):(S.childLanes=x.childLanes,S.lanes=x.lanes,S.child=x.child,S.subtreeFlags=0,S.deletions=null,S.memoizedProps=x.memoizedProps,S.memoizedState=x.memoizedState,S.updateQueue=x.updateQueue,S.type=x.type,n=x.dependencies,S.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),s=s.sibling;return He(Qt,Qt.current&1|2),r.child}n=n.sibling}S.tail!==null&&Ce()>ou&&(r.flags|=128,d=!0,Ts(S,!1),r.lanes=4194304)}else{if(!d)if(n=qc(x),n!==null){if(r.flags|=128,d=!0,s=n.updateQueue,s!==null&&(r.updateQueue=s,r.flags|=4),Ts(S,!0),S.tail===null&&S.tailMode==="hidden"&&!x.alternate&&!Wt)return Un(r),null}else 2*Ce()-S.renderingStartTime>ou&&s!==1073741824&&(r.flags|=128,d=!0,Ts(S,!1),r.lanes=4194304);S.isBackwards?(x.sibling=r.child,r.child=x):(s=S.last,s!==null?s.sibling=x:r.child=x,S.last=x)}return S.tail!==null?(r=S.tail,S.rendering=r,S.tail=r.sibling,S.renderingStartTime=Ce(),r.sibling=null,s=Qt.current,He(Qt,d?s&1|2:s&1),r):(Un(r),null);case 22:case 23:return xp(),d=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==d&&(r.flags|=8192),d&&(r.mode&1)!==0?(ia&1073741824)!==0&&(Un(r),r.subtreeFlags&6&&(r.flags|=8192)):Un(r),null;case 24:return null;case 25:return null}throw Error(o(156,r.tag))}function yf(n,r){switch(Vc(r),r.tag){case 1:return yn(r.type)&&Zo(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return Kl(),Pt(_n),Pt(rn),Ve(),n=r.flags,(n&65536)!==0&&(n&128)===0?(r.flags=n&-65537|128,r):null;case 5:return Yc(r),null;case 13:if(Pt(Qt),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(o(340));ul()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return Pt(Qt),null;case 4:return Kl(),null;case 10:return ep(r.type._context),null;case 22:case 23:return xp(),null;case 24:return null;default:return null}}var Cs=!1,ur=!1,ky=typeof WeakSet=="function"?WeakSet:Set,Le=null;function au(n,r){var s=n.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(d){Gt(n,r,d)}else s.current=null}function Sf(n,r,s){try{s()}catch(d){Gt(n,r,d)}}var Ih=!1;function Hh(n,r){if(es=jl,n=Xu(),kc(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var d=s.getSelection&&s.getSelection();if(d&&d.rangeCount!==0){s=d.anchorNode;var g=d.anchorOffset,S=d.focusNode;d=d.focusOffset;try{s.nodeType,S.nodeType}catch{s=null;break e}var x=0,A=-1,F=-1,K=0,de=0,he=n,fe=null;t:for(;;){for(var De;he!==s||g!==0&&he.nodeType!==3||(A=x+g),he!==S||d!==0&&he.nodeType!==3||(F=x+d),he.nodeType===3&&(x+=he.nodeValue.length),(De=he.firstChild)!==null;)fe=he,he=De;for(;;){if(he===n)break t;if(fe===s&&++K===g&&(A=x),fe===S&&++de===d&&(F=x),(De=he.nextSibling)!==null)break;he=fe,fe=he.parentNode}he=De}s=A===-1||F===-1?null:{start:A,end:F}}else s=null}s=s||{start:0,end:0}}else s=null;for($l={focusedElem:n,selectionRange:s},jl=!1,Le=r;Le!==null;)if(r=Le,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Le=n;else for(;Le!==null;){r=Le;try{var ze=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(ze!==null){var je=ze.memoizedProps,pn=ze.memoizedState,W=r.stateNode,H=W.getSnapshotBeforeUpdate(r.elementType===r.type?je:Fa(r.type,je),pn);W.__reactInternalSnapshotBeforeUpdate=H}break;case 3:var Q=r.stateNode.containerInfo;Q.nodeType===1?Q.textContent="":Q.nodeType===9&&Q.documentElement&&Q.removeChild(Q.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(pe){Gt(r,r.return,pe)}if(n=r.sibling,n!==null){n.return=r.return,Le=n;break}Le=r.return}return ze=Ih,Ih=!1,ze}function xs(n,r,s){var d=r.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var g=d=d.next;do{if((g.tag&n)===n){var S=g.destroy;g.destroy=void 0,S!==void 0&&Sf(r,s,S)}g=g.next}while(g!==d)}}function Rs(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&n)===n){var d=s.create;s.destroy=d()}s=s.next}while(s!==r)}}function yp(n){var r=n.ref;if(r!==null){var s=n.stateNode;switch(n.tag){case 5:n=s;break;default:n=s}typeof r=="function"?r(n):r.current=n}}function wf(n){var r=n.alternate;r!==null&&(n.alternate=null,wf(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Ka],delete r[ts],delete r[ns],delete r[Ko],delete r[Ry])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Os(n){return n.tag===5||n.tag===3||n.tag===4}function Mi(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Os(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function ai(n,r,s){var d=n.tag;if(d===5||d===6)n=n.stateNode,r?s.nodeType===8?s.parentNode.insertBefore(n,r):s.insertBefore(n,r):(s.nodeType===8?(r=s.parentNode,r.insertBefore(n,s)):(r=s,r.appendChild(n)),s=s._reactRootContainer,s!=null||r.onclick!==null||(r.onclick=nl));else if(d!==4&&(n=n.child,n!==null))for(ai(n,r,s),n=n.sibling;n!==null;)ai(n,r,s),n=n.sibling}function ii(n,r,s){var d=n.tag;if(d===5||d===6)n=n.stateNode,r?s.insertBefore(n,r):s.appendChild(n);else if(d!==4&&(n=n.child,n!==null))for(ii(n,r,s),n=n.sibling;n!==null;)ii(n,r,s),n=n.sibling}var fn=null,gr=!1;function yr(n,r,s){for(s=s.child;s!==null;)Bh(n,r,s),s=s.sibling}function Bh(n,r,s){if(Dn&&typeof Dn.onCommitFiberUnmount=="function")try{Dn.onCommitFiberUnmount(vr,s)}catch{}switch(s.tag){case 5:ur||au(s,r);case 6:var d=fn,g=gr;fn=null,yr(n,r,s),fn=d,gr=g,fn!==null&&(gr?(n=fn,s=s.stateNode,n.nodeType===8?n.parentNode.removeChild(s):n.removeChild(s)):fn.removeChild(s.stateNode));break;case 18:fn!==null&&(gr?(n=fn,s=s.stateNode,n.nodeType===8?Xo(n.parentNode,s):n.nodeType===1&&Xo(n,s),Ji(n)):Xo(fn,s.stateNode));break;case 4:d=fn,g=gr,fn=s.stateNode.containerInfo,gr=!0,yr(n,r,s),fn=d,gr=g;break;case 0:case 11:case 14:case 15:if(!ur&&(d=s.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){g=d=d.next;do{var S=g,x=S.destroy;S=S.tag,x!==void 0&&((S&2)!==0||(S&4)!==0)&&Sf(s,r,x),g=g.next}while(g!==d)}yr(n,r,s);break;case 1:if(!ur&&(au(s,r),d=s.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=s.memoizedProps,d.state=s.memoizedState,d.componentWillUnmount()}catch(A){Gt(s,r,A)}yr(n,r,s);break;case 21:yr(n,r,s);break;case 22:s.mode&1?(ur=(d=ur)||s.memoizedState!==null,yr(n,r,s),ur=d):yr(n,r,s);break;default:yr(n,r,s)}}function Vh(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var s=n.stateNode;s===null&&(s=n.stateNode=new ky),r.forEach(function(d){var g=Zh.bind(null,n,d);s.has(d)||(s.add(d),d.then(g,g))})}}function Ia(n,r){var s=r.deletions;if(s!==null)for(var d=0;d<s.length;d++){var g=s[d];try{var S=n,x=r,A=x;e:for(;A!==null;){switch(A.tag){case 5:fn=A.stateNode,gr=!1;break e;case 3:fn=A.stateNode.containerInfo,gr=!0;break e;case 4:fn=A.stateNode.containerInfo,gr=!0;break e}A=A.return}if(fn===null)throw Error(o(160));Bh(S,x,g),fn=null,gr=!1;var F=g.alternate;F!==null&&(F.return=null),g.return=null}catch(K){Gt(g,r,K)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Sp(r,n),r=r.sibling}function Sp(n,r){var s=n.alternate,d=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Ia(r,n),Br(n),d&4){try{xs(3,n,n.return),Rs(3,n)}catch(je){Gt(n,n.return,je)}try{xs(5,n,n.return)}catch(je){Gt(n,n.return,je)}}break;case 1:Ia(r,n),Br(n),d&512&&s!==null&&au(s,s.return);break;case 5:if(Ia(r,n),Br(n),d&512&&s!==null&&au(s,s.return),n.flags&32){var g=n.stateNode;try{Ee(g,"")}catch(je){Gt(n,n.return,je)}}if(d&4&&(g=n.stateNode,g!=null)){var S=n.memoizedProps,x=s!==null?s.memoizedProps:S,A=n.type,F=n.updateQueue;if(n.updateQueue=null,F!==null)try{A==="input"&&S.type==="radio"&&S.name!=null&&hn(g,S),$n(A,x);var K=$n(A,S);for(x=0;x<F.length;x+=2){var de=F[x],he=F[x+1];de==="style"?Vt(g,he):de==="dangerouslySetInnerHTML"?Pn(g,he):de==="children"?Ee(g,he):j(g,de,he,K)}switch(A){case"input":fr(g,S);break;case"textarea":An(g,S);break;case"select":var fe=g._wrapperState.wasMultiple;g._wrapperState.wasMultiple=!!S.multiple;var De=S.value;De!=null?mn(g,!!S.multiple,De,!1):fe!==!!S.multiple&&(S.defaultValue!=null?mn(g,!!S.multiple,S.defaultValue,!0):mn(g,!!S.multiple,S.multiple?[]:"",!1))}g[ts]=S}catch(je){Gt(n,n.return,je)}}break;case 6:if(Ia(r,n),Br(n),d&4){if(n.stateNode===null)throw Error(o(162));g=n.stateNode,S=n.memoizedProps;try{g.nodeValue=S}catch(je){Gt(n,n.return,je)}}break;case 3:if(Ia(r,n),Br(n),d&4&&s!==null&&s.memoizedState.isDehydrated)try{Ji(r.containerInfo)}catch(je){Gt(n,n.return,je)}break;case 4:Ia(r,n),Br(n);break;case 13:Ia(r,n),Br(n),g=n.child,g.flags&8192&&(S=g.memoizedState!==null,g.stateNode.isHidden=S,!S||g.alternate!==null&&g.alternate.memoizedState!==null||(Ep=Ce())),d&4&&Vh(n);break;case 22:if(de=s!==null&&s.memoizedState!==null,n.mode&1?(ur=(K=ur)||de,Ia(r,n),ur=K):Ia(r,n),Br(n),d&8192){if(K=n.memoizedState!==null,(n.stateNode.isHidden=K)&&!de&&(n.mode&1)!==0)for(Le=n,de=n.child;de!==null;){for(he=Le=de;Le!==null;){switch(fe=Le,De=fe.child,fe.tag){case 0:case 11:case 14:case 15:xs(4,fe,fe.return);break;case 1:au(fe,fe.return);var ze=fe.stateNode;if(typeof ze.componentWillUnmount=="function"){d=fe,s=fe.return;try{r=d,ze.props=r.memoizedProps,ze.state=r.memoizedState,ze.componentWillUnmount()}catch(je){Gt(d,s,je)}}break;case 5:au(fe,fe.return);break;case 22:if(fe.memoizedState!==null){ks(he);continue}}De!==null?(De.return=fe,Le=De):ks(he)}de=de.sibling}e:for(de=null,he=n;;){if(he.tag===5){if(de===null){de=he;try{g=he.stateNode,K?(S=g.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(A=he.stateNode,F=he.memoizedProps.style,x=F!=null&&F.hasOwnProperty("display")?F.display:null,A.style.display=ht("display",x))}catch(je){Gt(n,n.return,je)}}}else if(he.tag===6){if(de===null)try{he.stateNode.nodeValue=K?"":he.memoizedProps}catch(je){Gt(n,n.return,je)}}else if((he.tag!==22&&he.tag!==23||he.memoizedState===null||he===n)&&he.child!==null){he.child.return=he,he=he.child;continue}if(he===n)break e;for(;he.sibling===null;){if(he.return===null||he.return===n)break e;de===he&&(de=null),he=he.return}de===he&&(de=null),he.sibling.return=he.return,he=he.sibling}}break;case 19:Ia(r,n),Br(n),d&4&&Vh(n);break;case 21:break;default:Ia(r,n),Br(n)}}function Br(n){var r=n.flags;if(r&2){try{e:{for(var s=n.return;s!==null;){if(Os(s)){var d=s;break e}s=s.return}throw Error(o(160))}switch(d.tag){case 5:var g=d.stateNode;d.flags&32&&(Ee(g,""),d.flags&=-33);var S=Mi(n);ii(n,S,g);break;case 3:case 4:var x=d.stateNode.containerInfo,A=Mi(n);ai(n,A,x);break;default:throw Error(o(161))}}catch(F){Gt(n,n.return,F)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Dy(n,r,s){Le=n,wp(n)}function wp(n,r,s){for(var d=(n.mode&1)!==0;Le!==null;){var g=Le,S=g.child;if(g.tag===22&&d){var x=g.memoizedState!==null||Cs;if(!x){var A=g.alternate,F=A!==null&&A.memoizedState!==null||ur;A=Cs;var K=ur;if(Cs=x,(ur=F)&&!K)for(Le=g;Le!==null;)x=Le,F=x.child,x.tag===22&&x.memoizedState!==null?bp(g):F!==null?(F.return=x,Le=F):bp(g);for(;S!==null;)Le=S,wp(S),S=S.sibling;Le=g,Cs=A,ur=K}$h(n)}else(g.subtreeFlags&8772)!==0&&S!==null?(S.return=g,Le=S):$h(n)}}function $h(n){for(;Le!==null;){var r=Le;if((r.flags&8772)!==0){var s=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:ur||Rs(5,r);break;case 1:var d=r.stateNode;if(r.flags&4&&!ur)if(s===null)d.componentDidMount();else{var g=r.elementType===r.type?s.memoizedProps:Fa(r.type,s.memoizedProps);d.componentDidUpdate(g,s.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var S=r.updateQueue;S!==null&&ip(r,S,d);break;case 3:var x=r.updateQueue;if(x!==null){if(s=null,r.child!==null)switch(r.child.tag){case 5:s=r.child.stateNode;break;case 1:s=r.child.stateNode}ip(r,x,s)}break;case 5:var A=r.stateNode;if(s===null&&r.flags&4){s=A;var F=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":F.autoFocus&&s.focus();break;case"img":F.src&&(s.src=F.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var K=r.alternate;if(K!==null){var de=K.memoizedState;if(de!==null){var he=de.dehydrated;he!==null&&Ji(he)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}ur||r.flags&512&&yp(r)}catch(fe){Gt(r,r.return,fe)}}if(r===n){Le=null;break}if(s=r.sibling,s!==null){s.return=r.return,Le=s;break}Le=r.return}}function ks(n){for(;Le!==null;){var r=Le;if(r===n){Le=null;break}var s=r.sibling;if(s!==null){s.return=r.return,Le=s;break}Le=r.return}}function bp(n){for(;Le!==null;){var r=Le;try{switch(r.tag){case 0:case 11:case 15:var s=r.return;try{Rs(4,r)}catch(F){Gt(r,s,F)}break;case 1:var d=r.stateNode;if(typeof d.componentDidMount=="function"){var g=r.return;try{d.componentDidMount()}catch(F){Gt(r,g,F)}}var S=r.return;try{yp(r)}catch(F){Gt(r,S,F)}break;case 5:var x=r.return;try{yp(r)}catch(F){Gt(r,x,F)}}}catch(F){Gt(r,r.return,F)}if(r===n){Le=null;break}var A=r.sibling;if(A!==null){A.return=r.return,Le=A;break}Le=r.return}}var _y=Math.ceil,pl=q.ReactCurrentDispatcher,lo=q.ReactCurrentOwner,Qn=q.ReactCurrentBatchConfig,ct=0,Ln=null,Tn=null,Xn=0,ia=0,iu=ja(0),dn=0,Ds=null,li=0,lu=0,bf=0,_s=null,Vr=null,Ep=0,ou=1/0,la=null,uu=!1,oo=null,vl=null,Ef=!1,Li=null,Ms=0,hl=0,su=null,Ls=-1,sr=0;function Cn(){return(ct&6)!==0?Ce():Ls!==-1?Ls:Ls=Ce()}function oi(n){return(n.mode&1)===0?1:(ct&2)!==0&&Xn!==0?Xn&-Xn:Oy.transition!==null?(sr===0&&(sr=vc()),sr):(n=Ot,n!==0||(n=window.event,n=n===void 0?16:yc(n.type)),n)}function Sr(n,r,s,d){if(50<hl)throw hl=0,su=null,Error(o(185));Al(n,s,d),((ct&2)===0||n!==Ln)&&(n===Ln&&((ct&2)===0&&(lu|=s),dn===4&&Ha(n,Xn)),$r(n,d),s===1&&ct===0&&(r.mode&1)===0&&(ou=Ce()+500,Jo&&Ja()))}function $r(n,r){var s=n.callbackNode;yd(n,r);var d=zl(n,n===Ln?Xn:0);if(d===0)s!==null&&Fu(s),n.callbackNode=null,n.callbackPriority=0;else if(r=d&-d,n.callbackPriority!==r){if(s!=null&&Fu(s),r===1)n.tag===0?al(Tp.bind(null,n)):Hc(Tp.bind(null,n)),Qo(function(){(ct&6)===0&&Ja()}),s=null;else{switch(bd(d)){case 1:s=Ct;break;case 4:s=tn;break;case 16:s=Lr;break;case 536870912:s=Jr;break;default:s=Lr}s=em(s,Tf.bind(null,n))}n.callbackPriority=r,n.callbackNode=s}}function Tf(n,r){if(Ls=-1,sr=0,(ct&6)!==0)throw Error(o(327));var s=n.callbackNode;if(cu()&&n.callbackNode!==s)return null;var d=zl(n,n===Ln?Xn:0);if(d===0)return null;if((d&30)!==0||(d&n.expiredLanes)!==0||r)r=Cf(n,d);else{r=d;var g=ct;ct|=2;var S=Gh();(Ln!==n||Xn!==r)&&(la=null,ou=Ce()+500,Ni(n,r));do try{Yh();break}catch(A){Wh(n,A)}while(!0);Jd(),pl.current=S,ct=g,Tn!==null?r=0:(Ln=null,Xn=0,r=dn)}if(r!==0){if(r===2&&(g=Sd(n),g!==0&&(d=g,r=Ns(n,g))),r===1)throw s=Ds,Ni(n,0),Ha(n,d),$r(n,Ce()),s;if(r===6)Ha(n,d);else{if(g=n.current.alternate,(d&30)===0&&!My(g)&&(r=Cf(n,d),r===2&&(S=Sd(n),S!==0&&(d=S,r=Ns(n,S))),r===1))throw s=Ds,Ni(n,0),Ha(n,d),$r(n,Ce()),s;switch(n.finishedWork=g,n.finishedLanes=d,r){case 0:case 1:throw Error(o(345));case 2:co(n,Vr,la);break;case 3:if(Ha(n,d),(d&130023424)===d&&(r=Ep+500-Ce(),10<r)){if(zl(n,0)!==0)break;if(g=n.suspendedLanes,(g&d)!==d){Cn(),n.pingedLanes|=n.suspendedLanes&g;break}n.timeoutHandle=Uc(co.bind(null,n,Vr,la),r);break}co(n,Vr,la);break;case 4:if(Ha(n,d),(d&4194240)===d)break;for(r=n.eventTimes,g=-1;0<d;){var x=31-on(d);S=1<<x,x=r[x],x>g&&(g=x),d&=~S}if(d=g,d=Ce()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*_y(d/1960))-d,10<d){n.timeoutHandle=Uc(co.bind(null,n,Vr,la),d);break}co(n,Vr,la);break;case 5:co(n,Vr,la);break;default:throw Error(o(329))}}}return $r(n,Ce()),n.callbackNode===s?Tf.bind(null,n):null}function Ns(n,r){var s=_s;return n.current.memoizedState.isDehydrated&&(Ni(n,r).flags|=256),n=Cf(n,r),n!==2&&(r=Vr,Vr=s,r!==null&&uo(r)),n}function uo(n){Vr===null?Vr=n:Vr.push.apply(Vr,n)}function My(n){for(var r=n;;){if(r.flags&16384){var s=r.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var d=0;d<s.length;d++){var g=s[d],S=g.getSnapshot;g=g.value;try{if(!Aa(S(),g))return!1}catch{return!1}}}if(s=r.child,r.subtreeFlags&16384&&s!==null)s.return=r,r=s;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Ha(n,r){for(r&=~bf,r&=~lu,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var s=31-on(r),d=1<<s;n[s]=-1,r&=~d}}function Tp(n){if((ct&6)!==0)throw Error(o(327));cu();var r=zl(n,0);if((r&1)===0)return $r(n,Ce()),null;var s=Cf(n,r);if(n.tag!==0&&s===2){var d=Sd(n);d!==0&&(r=d,s=Ns(n,d))}if(s===1)throw s=Ds,Ni(n,0),Ha(n,r),$r(n,Ce()),s;if(s===6)throw Error(o(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,co(n,Vr,la),$r(n,Ce()),null}function Cp(n,r){var s=ct;ct|=1;try{return n(r)}finally{ct=s,ct===0&&(ou=Ce()+500,Jo&&Ja())}}function so(n){Li!==null&&Li.tag===0&&(ct&6)===0&&cu();var r=ct;ct|=1;var s=Qn.transition,d=Ot;try{if(Qn.transition=null,Ot=1,n)return n()}finally{Ot=d,Qn.transition=s,ct=r,(ct&6)===0&&Ja()}}function xp(){ia=iu.current,Pt(iu)}function Ni(n,r){n.finishedWork=null,n.finishedLanes=0;var s=n.timeoutHandle;if(s!==-1&&(n.timeoutHandle=-1,qd(s)),Tn!==null)for(s=Tn.return;s!==null;){var d=s;switch(Vc(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&Zo();break;case 3:Kl(),Pt(_n),Pt(rn),Ve();break;case 5:Yc(d);break;case 4:Kl();break;case 13:Pt(Qt);break;case 19:Pt(Qt);break;case 10:ep(d.type._context);break;case 22:case 23:xp()}s=s.return}if(Ln=n,Tn=n=ml(n.current,null),Xn=ia=r,dn=0,Ds=null,bf=lu=li=0,Vr=_s=null,Ql!==null){for(r=0;r<Ql.length;r++)if(s=Ql[r],d=s.interleaved,d!==null){s.interleaved=null;var g=d.next,S=s.pending;if(S!==null){var x=S.next;S.next=g,d.next=x}s.pending=d}Ql=null}return n}function Wh(n,r){do{var s=Tn;try{if(Jd(),lt.current=ro,Qc){for(var d=gt.memoizedState;d!==null;){var g=d.queue;g!==null&&(g.pending=null),d=d.next}Qc=!1}if(Mt=0,jn=wn=gt=null,cs=!1,Zl=0,lo.current=null,s===null||s.return===null){dn=1,Ds=r,Tn=null;break}e:{var S=n,x=s.return,A=s,F=r;if(r=Xn,A.flags|=32768,F!==null&&typeof F=="object"&&typeof F.then=="function"){var K=F,de=A,he=de.tag;if((de.mode&1)===0&&(he===0||he===11||he===15)){var fe=de.alternate;fe?(de.updateQueue=fe.updateQueue,de.memoizedState=fe.memoizedState,de.lanes=fe.lanes):(de.updateQueue=null,de.memoizedState=null)}var De=Lh(x);if(De!==null){De.flags&=-257,dl(De,x,A,S,r),De.mode&1&&pp(S,K,r),r=De,F=K;var ze=r.updateQueue;if(ze===null){var je=new Set;je.add(F),r.updateQueue=je}else ze.add(F);break e}else{if((r&1)===0){pp(S,K,r),Rp();break e}F=Error(o(426))}}else if(Wt&&A.mode&1){var pn=Lh(x);if(pn!==null){(pn.flags&65536)===0&&(pn.flags|=256),dl(pn,x,A,S,r),ki(ao(F,A));break e}}S=F=ao(F,A),dn!==4&&(dn=2),_s===null?_s=[S]:_s.push(S),S=x;do{switch(S.tag){case 3:S.flags|=65536,r&=-r,S.lanes|=r;var W=Mh(S,F,r);Rh(S,W);break e;case 1:A=F;var H=S.type,Q=S.stateNode;if((S.flags&128)===0&&(typeof H.getDerivedStateFromError=="function"||Q!==null&&typeof Q.componentDidCatch=="function"&&(vl===null||!vl.has(Q)))){S.flags|=65536,r&=-r,S.lanes|=r;var pe=dp(S,A,r);Rh(S,pe);break e}}S=S.return}while(S!==null)}Qh(s)}catch(Ae){r=Ae,Tn===s&&s!==null&&(Tn=s=s.return);continue}break}while(!0)}function Gh(){var n=pl.current;return pl.current=ro,n===null?ro:n}function Rp(){(dn===0||dn===3||dn===2)&&(dn=4),Ln===null||(li&268435455)===0&&(lu&268435455)===0||Ha(Ln,Xn)}function Cf(n,r){var s=ct;ct|=2;var d=Gh();(Ln!==n||Xn!==r)&&(la=null,Ni(n,r));do try{Ly();break}catch(g){Wh(n,g)}while(!0);if(Jd(),ct=s,pl.current=d,Tn!==null)throw Error(o(261));return Ln=null,Xn=0,dn}function Ly(){for(;Tn!==null;)qh(Tn)}function Yh(){for(;Tn!==null&&!dc();)qh(Tn)}function qh(n){var r=Jh(n.alternate,n,ia);n.memoizedProps=n.pendingProps,r===null?Qh(n):Tn=r,lo.current=null}function Qh(n){var r=n;do{var s=r.alternate;if(n=r.return,(r.flags&32768)===0){if(s=Fh(s,r,ia),s!==null){Tn=s;return}}else{if(s=yf(s,r),s!==null){s.flags&=32767,Tn=s;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{dn=6,Tn=null;return}}if(r=r.sibling,r!==null){Tn=r;return}Tn=r=n}while(r!==null);dn===0&&(dn=5)}function co(n,r,s){var d=Ot,g=Qn.transition;try{Qn.transition=null,Ot=1,Ny(n,r,s,d)}finally{Qn.transition=g,Ot=d}return null}function Ny(n,r,s,d){do cu();while(Li!==null);if((ct&6)!==0)throw Error(o(327));s=n.finishedWork;var g=n.finishedLanes;if(s===null)return null;if(n.finishedWork=null,n.finishedLanes=0,s===n.current)throw Error(o(177));n.callbackNode=null,n.callbackPriority=0;var S=s.lanes|s.childLanes;if(uy(n,S),n===Ln&&(Tn=Ln=null,Xn=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||Ef||(Ef=!0,em(Lr,function(){return cu(),null})),S=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||S){S=Qn.transition,Qn.transition=null;var x=Ot;Ot=1;var A=ct;ct|=4,lo.current=null,Hh(n,s),Sp(s,n),Wo($l),jl=!!es,$l=es=null,n.current=s,Dy(s),Tt(),ct=A,Ot=x,Qn.transition=S}else n.current=s;if(Ef&&(Ef=!1,Li=n,Ms=g),S=n.pendingLanes,S===0&&(vl=null),Si(s.stateNode),$r(n,Ce()),r!==null)for(d=n.onRecoverableError,s=0;s<r.length;s++)g=r[s],d(g.value,{componentStack:g.stack,digest:g.digest});if(uu)throw uu=!1,n=oo,oo=null,n;return(Ms&1)!==0&&n.tag!==0&&cu(),S=n.pendingLanes,(S&1)!==0?n===su?hl++:(hl=0,su=n):hl=0,Ja(),null}function cu(){if(Li!==null){var n=bd(Ms),r=Qn.transition,s=Ot;try{if(Qn.transition=null,Ot=16>n?16:n,Li===null)var d=!1;else{if(n=Li,Li=null,Ms=0,(ct&6)!==0)throw Error(o(331));var g=ct;for(ct|=4,Le=n.current;Le!==null;){var S=Le,x=S.child;if((Le.flags&16)!==0){var A=S.deletions;if(A!==null){for(var F=0;F<A.length;F++){var K=A[F];for(Le=K;Le!==null;){var de=Le;switch(de.tag){case 0:case 11:case 15:xs(8,de,S)}var he=de.child;if(he!==null)he.return=de,Le=he;else for(;Le!==null;){de=Le;var fe=de.sibling,De=de.return;if(wf(de),de===K){Le=null;break}if(fe!==null){fe.return=De,Le=fe;break}Le=De}}}var ze=S.alternate;if(ze!==null){var je=ze.child;if(je!==null){ze.child=null;do{var pn=je.sibling;je.sibling=null,je=pn}while(je!==null)}}Le=S}}if((S.subtreeFlags&2064)!==0&&x!==null)x.return=S,Le=x;else e:for(;Le!==null;){if(S=Le,(S.flags&2048)!==0)switch(S.tag){case 0:case 11:case 15:xs(9,S,S.return)}var W=S.sibling;if(W!==null){W.return=S.return,Le=W;break e}Le=S.return}}var H=n.current;for(Le=H;Le!==null;){x=Le;var Q=x.child;if((x.subtreeFlags&2064)!==0&&Q!==null)Q.return=x,Le=Q;else e:for(x=H;Le!==null;){if(A=Le,(A.flags&2048)!==0)try{switch(A.tag){case 0:case 11:case 15:Rs(9,A)}}catch(Ae){Gt(A,A.return,Ae)}if(A===x){Le=null;break e}var pe=A.sibling;if(pe!==null){pe.return=A.return,Le=pe;break e}Le=A.return}}if(ct=g,Ja(),Dn&&typeof Dn.onPostCommitFiberRoot=="function")try{Dn.onPostCommitFiberRoot(vr,n)}catch{}d=!0}return d}finally{Ot=s,Qn.transition=r}}return!1}function Xh(n,r,s){r=ao(s,r),r=Mh(n,r,1),n=sl(n,r,1),r=Cn(),n!==null&&(Al(n,1,r),$r(n,r))}function Gt(n,r,s){if(n.tag===3)Xh(n,n,s);else for(;r!==null;){if(r.tag===3){Xh(r,n,s);break}else if(r.tag===1){var d=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(vl===null||!vl.has(d))){n=ao(s,n),n=dp(r,n,1),r=sl(r,n,1),n=Cn(),r!==null&&(Al(r,1,n),$r(r,n));break}}r=r.return}}function zy(n,r,s){var d=n.pingCache;d!==null&&d.delete(r),r=Cn(),n.pingedLanes|=n.suspendedLanes&s,Ln===n&&(Xn&s)===s&&(dn===4||dn===3&&(Xn&130023424)===Xn&&500>Ce()-Ep?Ni(n,0):bf|=s),$r(n,r)}function Kh(n,r){r===0&&((n.mode&1)===0?r=1:(r=za,za<<=1,(za&130023424)===0&&(za=4194304)));var s=Cn();n=na(n,r),n!==null&&(Al(n,r,s),$r(n,s))}function Ay(n){var r=n.memoizedState,s=0;r!==null&&(s=r.retryLane),Kh(n,s)}function Zh(n,r){var s=0;switch(n.tag){case 13:var d=n.stateNode,g=n.memoizedState;g!==null&&(s=g.retryLane);break;case 19:d=n.stateNode;break;default:throw Error(o(314))}d!==null&&d.delete(r),Kh(n,s)}var Jh;Jh=function(n,r,s){if(n!==null)if(n.memoizedProps!==r.pendingProps||_n.current)bn=!0;else{if((n.lanes&s)===0&&(r.flags&128)===0)return bn=!1,Es(n,r,s);bn=(n.flags&131072)!==0}else bn=!1,Wt&&(r.flags&1048576)!==0&&Eh(r,Oi,r.index);switch(r.lanes=0,r.tag){case 2:var d=r.type;Ea(n,r),n=r.pendingProps;var g=ya(r,rn.current);qt(r,s),g=cl(null,r,d,n,g,s);var S=Ua();return r.flags|=1,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,yn(d)?(S=!0,jr(r)):S=!1,r.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,ap(r),g.updater=pf,r.stateNode=g,g._reactInternals=r,gs(r,d,n,s),r=ws(null,r,d,!0,S,s)):(r.tag=0,Wt&&S&&Bc(r),qn(null,r,g,s),r=r.child),r;case 16:d=r.elementType;e:{switch(Ea(n,r),n=r.pendingProps,g=d._init,d=g(d._payload),r.type=d,g=r.tag=jy(d),n=Fa(d,n),g){case 0:r=Nh(null,r,d,n,s);break e;case 1:r=zh(null,r,d,n,s);break e;case 11:r=Hr(null,r,d,n,s);break e;case 14:r=io(null,r,d,Fa(d.type,n),s);break e}throw Error(o(306,d,""))}return r;case 0:return d=r.type,g=r.pendingProps,g=r.elementType===d?g:Fa(d,g),Nh(n,r,d,g,s);case 1:return d=r.type,g=r.pendingProps,g=r.elementType===d?g:Fa(d,g),zh(n,r,d,g,s);case 3:e:{if(ru(r),n===null)throw Error(o(387));d=r.pendingProps,S=r.memoizedState,g=S.element,xh(n,r),is(r,d,null,s);var x=r.memoizedState;if(d=x.element,S.isDehydrated)if(S={element:d,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pendingSuspenseBoundaries,transitions:x.transitions},r.updateQueue.baseState=S,r.memoizedState=S,r.flags&256){g=ao(Error(o(423)),r),r=Ah(n,r,d,s,g);break e}else if(d!==g){g=ao(Error(o(424)),r),r=Ah(n,r,d,s,g);break e}else for(Fr=Xa(r.stateNode.containerInfo.firstChild),Ur=r,Wt=!0,wa=null,s=Re(r,null,d,s),r.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(ul(),d===g){r=Ta(n,r,s);break e}qn(n,r,d,s)}r=r.child}return r;case 5:return Oh(r),n===null&&Kd(r),d=r.type,g=r.pendingProps,S=n!==null?n.memoizedProps:null,x=g.children,jc(d,g)?x=null:S!==null&&jc(d,S)&&(r.flags|=32),vp(n,r),qn(n,r,x,s),r.child;case 6:return n===null&&Kd(r),null;case 13:return gf(n,r,s);case 4:return lp(r,r.stateNode.containerInfo),d=r.pendingProps,n===null?r.child=sn(r,null,d,s):qn(n,r,d,s),r.child;case 11:return d=r.type,g=r.pendingProps,g=r.elementType===d?g:Fa(d,g),Hr(n,r,d,g,s);case 7:return qn(n,r,r.pendingProps,s),r.child;case 8:return qn(n,r,r.pendingProps.children,s),r.child;case 12:return qn(n,r,r.pendingProps.children,s),r.child;case 10:e:{if(d=r.type._context,g=r.pendingProps,S=r.memoizedProps,x=g.value,He(ta,d._currentValue),d._currentValue=x,S!==null)if(Aa(S.value,x)){if(S.children===g.children&&!_n.current){r=Ta(n,r,s);break e}}else for(S=r.child,S!==null&&(S.return=r);S!==null;){var A=S.dependencies;if(A!==null){x=S.child;for(var F=A.firstContext;F!==null;){if(F.context===d){if(S.tag===1){F=Di(-1,s&-s),F.tag=2;var K=S.updateQueue;if(K!==null){K=K.shared;var de=K.pending;de===null?F.next=F:(F.next=de.next,de.next=F),K.pending=F}}S.lanes|=s,F=S.alternate,F!==null&&(F.lanes|=s),tp(S.return,s,r),A.lanes|=s;break}F=F.next}}else if(S.tag===10)x=S.type===r.type?null:S.child;else if(S.tag===18){if(x=S.return,x===null)throw Error(o(341));x.lanes|=s,A=x.alternate,A!==null&&(A.lanes|=s),tp(x,s,r),x=S.sibling}else x=S.child;if(x!==null)x.return=S;else for(x=S;x!==null;){if(x===r){x=null;break}if(S=x.sibling,S!==null){S.return=x.return,x=S;break}x=x.return}S=x}qn(n,r,g.children,s),r=r.child}return r;case 9:return g=r.type,d=r.pendingProps.children,qt(r,s),g=ba(g),d=d(g),r.flags|=1,qn(n,r,d,s),r.child;case 14:return d=r.type,g=Fa(d,r.pendingProps),g=Fa(d.type,g),io(n,r,d,g,s);case 15:return at(n,r,r.type,r.pendingProps,s);case 17:return d=r.type,g=r.pendingProps,g=r.elementType===d?g:Fa(d,g),Ea(n,r),r.tag=1,yn(d)?(n=!0,jr(r)):n=!1,qt(r,s),vf(r,d,g),gs(r,d,g,s),ws(null,r,d,!0,n,s);case 19:return ri(n,r,s);case 22:return Ss(n,r,s)}throw Error(o(156,r.tag))};function em(n,r){return Uu(n,r)}function Py(n,r,s,d){this.tag=n,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xa(n,r,s,d){return new Py(n,r,s,d)}function Op(n){return n=n.prototype,!(!n||!n.isReactComponent)}function jy(n){if(typeof n=="function")return Op(n)?1:0;if(n!=null){if(n=n.$$typeof,n===oe)return 11;if(n===Ge)return 14}return 2}function ml(n,r){var s=n.alternate;return s===null?(s=xa(n.tag,r,n.key,n.mode),s.elementType=n.elementType,s.type=n.type,s.stateNode=n.stateNode,s.alternate=n,n.alternate=s):(s.pendingProps=r,s.type=n.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=n.flags&14680064,s.childLanes=n.childLanes,s.lanes=n.lanes,s.child=n.child,s.memoizedProps=n.memoizedProps,s.memoizedState=n.memoizedState,s.updateQueue=n.updateQueue,r=n.dependencies,s.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},s.sibling=n.sibling,s.index=n.index,s.ref=n.ref,s}function zs(n,r,s,d,g,S){var x=2;if(d=n,typeof n=="function")Op(n)&&(x=1);else if(typeof n=="string")x=5;else e:switch(n){case le:return zi(s.children,g,S,r);case ve:x=8,g|=8;break;case ee:return n=xa(12,s,r,g|2),n.elementType=ee,n.lanes=S,n;case we:return n=xa(13,s,r,g),n.elementType=we,n.lanes=S,n;case Qe:return n=xa(19,s,r,g),n.elementType=Qe,n.lanes=S,n;case $e:return gl(s,g,S,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case J:x=10;break e;case re:x=9;break e;case oe:x=11;break e;case Ge:x=14;break e;case be:x=16,d=null;break e}throw Error(o(130,n==null?n:typeof n,""))}return r=xa(x,s,r,g),r.elementType=n,r.type=d,r.lanes=S,r}function zi(n,r,s,d){return n=xa(7,n,d,r),n.lanes=s,n}function gl(n,r,s,d){return n=xa(22,n,d,r),n.elementType=$e,n.lanes=s,n.stateNode={isHidden:!1},n}function kp(n,r,s){return n=xa(6,n,null,r),n.lanes=s,n}function xf(n,r,s){return r=xa(4,n.children!==null?n.children:[],n.key,r),r.lanes=s,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function tm(n,r,s,d,g){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=wd(0),this.expirationTimes=wd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wd(0),this.identifierPrefix=d,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function Rf(n,r,s,d,g,S,x,A,F){return n=new tm(n,r,s,A,F),r===1?(r=1,S===!0&&(r|=8)):r=0,S=xa(3,null,null,r),n.current=S,S.stateNode=n,S.memoizedState={element:d,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},ap(S),n}function Uy(n,r,s){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:se,key:d==null?null:""+d,children:n,containerInfo:r,implementation:s}}function Dp(n){if(!n)return Ar;n=n._reactInternals;e:{if(Zr(n)!==n||n.tag!==1)throw Error(o(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(yn(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(o(171))}if(n.tag===1){var s=n.type;if(yn(s))return rs(n,s,r)}return r}function nm(n,r,s,d,g,S,x,A,F){return n=Rf(s,d,!0,n,g,S,x,A,F),n.context=Dp(null),s=n.current,d=Cn(),g=oi(s),S=Di(d,g),S.callback=r??null,sl(s,S,g),n.current.lanes=g,Al(n,g,d),$r(n,d),n}function Of(n,r,s,d){var g=r.current,S=Cn(),x=oi(g);return s=Dp(s),r.context===null?r.context=s:r.pendingContext=s,r=Di(S,x),r.payload={element:n},d=d===void 0?null:d,d!==null&&(r.callback=d),n=sl(g,r,x),n!==null&&(Sr(n,g,x,S),Gc(n,g,x)),x}function kf(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function _p(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<r?s:r}}function Df(n,r){_p(n,r),(n=n.alternate)&&_p(n,r)}function rm(){return null}var fo=typeof reportError=="function"?reportError:function(n){console.error(n)};function Mp(n){this._internalRoot=n}_f.prototype.render=Mp.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(o(409));Of(n,r,null,null)},_f.prototype.unmount=Mp.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;so(function(){Of(null,n,null,null)}),r[xi]=null}};function _f(n){this._internalRoot=n}_f.prototype.unstable_scheduleHydration=function(n){if(n){var r=rt();n={blockedOn:null,target:n,priority:r};for(var s=0;s<Wn.length&&r!==0&&r<Wn[s].priority;s++);Wn.splice(s,0,n),s===0&&Rd(n)}};function Lp(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Mf(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function am(){}function Fy(n,r,s,d,g){if(g){if(typeof d=="function"){var S=d;d=function(){var K=kf(x);S.call(K)}}var x=nm(r,d,n,0,null,!1,!1,"",am);return n._reactRootContainer=x,n[xi]=x.current,Yo(n.nodeType===8?n.parentNode:n),so(),x}for(;g=n.lastChild;)n.removeChild(g);if(typeof d=="function"){var A=d;d=function(){var K=kf(F);A.call(K)}}var F=Rf(n,0,!1,null,null,!1,!1,"",am);return n._reactRootContainer=F,n[xi]=F.current,Yo(n.nodeType===8?n.parentNode:n),so(function(){Of(r,F,s,d)}),F}function As(n,r,s,d,g){var S=s._reactRootContainer;if(S){var x=S;if(typeof g=="function"){var A=g;g=function(){var F=kf(x);A.call(F)}}Of(r,x,n,g)}else x=Fy(s,r,n,g,d);return kf(x)}kt=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var s=Nl(r.pendingLanes);s!==0&&(hc(r,s|1),$r(r,Ce()),(ct&6)===0&&(ou=Ce()+500,Ja()))}break;case 13:so(function(){var d=na(n,1);if(d!==null){var g=Cn();Sr(d,n,1,g)}}),Df(n,1)}},Ed=function(n){if(n.tag===13){var r=na(n,134217728);if(r!==null){var s=Cn();Sr(r,n,134217728,s)}Df(n,134217728)}},Td=function(n){if(n.tag===13){var r=oi(n),s=na(n,r);if(s!==null){var d=Cn();Sr(s,n,r,d)}Df(n,r)}},rt=function(){return Ot},Cd=function(n,r){var s=Ot;try{return Ot=n,r()}finally{Ot=s}},_t=function(n,r,s){switch(r){case"input":if(fr(n,s),r=s.name,s.type==="radio"&&r!=null){for(s=n;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<s.length;r++){var d=s[r];if(d!==n&&d.form===n.form){var g=un(d);if(!g)throw Error(o(90));Kt(d),fr(d,g)}}}break;case"textarea":An(n,s);break;case"select":r=s.value,r!=null&&mn(n,!!s.multiple,r,!1)}},Nu=Cp,zu=so;var Iy={usingClientEntryPoint:!1,Events:[Be,Pa,un,_l,Lu,Cp]},Ps={findFiberByHostInstance:Wl,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},im={bundleType:Ps.bundleType,version:Ps.version,rendererPackageName:Ps.rendererPackageName,rendererConfig:Ps.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:q.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=Pu(n),n===null?null:n.stateNode},findFiberByHostInstance:Ps.findFiberByHostInstance||rm,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yl.isDisabled&&yl.supportsFiber)try{vr=yl.inject(im),Dn=yl}catch{}}return Ma.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Iy,Ma.createPortal=function(n,r){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Lp(r))throw Error(o(200));return Uy(n,r,null,s)},Ma.createRoot=function(n,r){if(!Lp(n))throw Error(o(299));var s=!1,d="",g=fo;return r!=null&&(r.unstable_strictMode===!0&&(s=!0),r.identifierPrefix!==void 0&&(d=r.identifierPrefix),r.onRecoverableError!==void 0&&(g=r.onRecoverableError)),r=Rf(n,1,!1,null,null,s,!1,d,g),n[xi]=r.current,Yo(n.nodeType===8?n.parentNode:n),new Mp(r)},Ma.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(o(188)):(n=Object.keys(n).join(","),Error(o(268,n)));return n=Pu(r),n=n===null?null:n.stateNode,n},Ma.flushSync=function(n){return so(n)},Ma.hydrate=function(n,r,s){if(!Mf(r))throw Error(o(200));return As(null,n,r,!0,s)},Ma.hydrateRoot=function(n,r,s){if(!Lp(n))throw Error(o(405));var d=s!=null&&s.hydratedSources||null,g=!1,S="",x=fo;if(s!=null&&(s.unstable_strictMode===!0&&(g=!0),s.identifierPrefix!==void 0&&(S=s.identifierPrefix),s.onRecoverableError!==void 0&&(x=s.onRecoverableError)),r=nm(r,null,n,1,s??null,g,!1,S,x),n[xi]=r.current,Yo(n),d)for(n=0;n<d.length;n++)s=d[n],g=s._getVersion,g=g(s._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[s,g]:r.mutableSourceEagerHydrationData.push(s,g);return new _f(r)},Ma.render=function(n,r,s){if(!Mf(r))throw Error(o(200));return As(null,n,r,!1,s)},Ma.unmountComponentAtNode=function(n){if(!Mf(n))throw Error(o(40));return n._reactRootContainer?(so(function(){As(null,null,n,!1,function(){n._reactRootContainer=null,n[xi]=null})}),!0):!1},Ma.unstable_batchedUpdates=Cp,Ma.unstable_renderSubtreeIntoContainer=function(n,r,s,d){if(!Mf(s))throw Error(o(200));if(n==null||n._reactInternals===void 0)throw Error(o(38));return As(n,r,s,!1,d)},Ma.version="18.3.1-next-f1338f8080-20240426",Ma}var La={};/**
|
|
50
|
-
* @license React
|
|
51
|
-
* react-dom.development.js
|
|
52
|
-
*
|
|
53
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
54
|
-
*
|
|
55
|
-
* This source code is licensed under the MIT license found in the
|
|
56
|
-
* LICENSE file in the root directory of this source tree.
|
|
57
|
-
*/var Xx;function Yz(){return Xx||(Xx=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i=Fe,l=Q1(),o=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,c=!1;function p(e){c=e}function h(e){if(!c){for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];w("warn",e,a)}}function m(e){if(!c){for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];w("error",e,a)}}function w(e,t,a){{var u=o.ReactDebugCurrentFrame,f=u.getStackAddendum();f!==""&&(t+="%s",a=a.concat([f]));var v=a.map(function(y){return String(y)});v.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,v)}}var b=0,T=1,O=2,R=3,D=4,L=5,M=6,U=7,P=8,N=9,z=10,j=11,q=12,$=13,se=14,le=15,ve=16,ee=17,J=18,re=19,oe=21,we=22,Qe=23,Ge=24,be=25,$e=!0,ue=!1,Se=!1,ye=!1,tt=!1,it=!0,Rn=!0,Ht=!0,bt=!0,nt=new Set,pt={},zt={};function Bt(e,t){Dt(e,t),Dt(e+"Capture",t)}function Dt(e,t){pt[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),pt[e]=t;{var a=e.toLowerCase();zt[a]=e,e==="onDoubleClick"&&(zt.ondblclick=e)}for(var u=0;u<t.length;u++)nt.add(t[u])}var Et=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Kt=Object.prototype.hasOwnProperty;function an(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Yt(e){try{return Zt(e),!1}catch{return!0}}function Zt(e){return""+e}function hn(e,t){if(Yt(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),Zt(e)}function fr(e){if(Yt(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",an(e)),Zt(e)}function dr(e,t){if(Yt(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),Zt(e)}function zn(e,t){if(Yt(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),Zt(e)}function Mr(e){if(Yt(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",an(e)),Zt(e)}function mn(e){if(Yt(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",an(e)),Zt(e)}var On=0,Jt=1,An=2,ln=3,Bn=4,ir=5,lr=6,Pn=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ee=Pn+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ue=new RegExp("^["+Pn+"]["+Ee+"]*$"),ot={},ht={};function Vt(e){return Kt.call(ht,e)?!0:Kt.call(ot,e)?!1:Ue.test(e)?(ht[e]=!0,!0):(ot[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function Vn(e,t,a){return t!==null?t.type===On:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function jt(e,t,a,u){if(a!==null&&a.type===On)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(a!==null)return!a.acceptsBooleans;var f=e.toLowerCase().slice(0,5);return f!=="data-"&&f!=="aria-"}default:return!1}}function $n(e,t,a,u){if(t===null||typeof t>"u"||jt(e,t,a,u))return!0;if(u)return!1;if(a!==null)switch(a.type){case ln:return!t;case Bn:return t===!1;case ir:return isNaN(t);case lr:return isNaN(t)||t<1}return!1}function en(e){return _t.hasOwnProperty(e)?_t[e]:null}function Ut(e,t,a,u,f,v,y){this.acceptsBooleans=t===An||t===ln||t===Bn,this.attributeName=u,this.attributeNamespace=f,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=v,this.removeEmptyString=y}var _t={},Yi=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Yi.forEach(function(e){_t[e]=new Ut(e,On,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];_t[t]=new Ut(t,Jt,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){_t[e]=new Ut(e,An,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_t[e]=new Ut(e,An,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){_t[e]=new Ut(e,ln,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){_t[e]=new Ut(e,ln,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){_t[e]=new Ut(e,Bn,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){_t[e]=new Ut(e,lr,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){_t[e]=new Ut(e,ir,!1,e.toLowerCase(),null,!1,!1)});var $t=/[\-\:]([a-z])/g,Na=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace($t,Na);_t[t]=new Ut(t,Jt,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace($t,Na);_t[t]=new Ut(t,Jt,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($t,Na);_t[t]=new Ut(t,Jt,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){_t[e]=new Ut(e,Jt,!1,e.toLowerCase(),null,!1,!1)});var _l="xlinkHref";_t[_l]=new Ut("xlinkHref",Jt,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){_t[e]=new Ut(e,Jt,!1,e.toLowerCase(),null,!0,!0)});var Lu=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Nu=!1;function zu(e){!Nu&&Lu.test(e)&&(Nu=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function mi(e,t,a,u){if(u.mustUseProperty){var f=u.propertyName;return e[f]}else{hn(a,t),u.sanitizeURL&&zu(""+a);var v=u.attributeName,y=null;if(u.type===Bn){if(e.hasAttribute(v)){var E=e.getAttribute(v);return E===""?!0:$n(t,a,u,!1)?E:E===""+a?a:E}}else if(e.hasAttribute(v)){if($n(t,a,u,!1))return e.getAttribute(v);if(u.type===ln)return a;y=e.getAttribute(v)}return $n(t,a,u,!1)?y===null?a:y:y===""+a?a:y}}function Po(e,t,a,u){{if(!Vt(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var f=e.getAttribute(t);return hn(a,t),f===""+a?a:f}}function gi(e,t,a,u){var f=en(t);if(!Vn(t,f,u)){if($n(t,a,f,u)&&(a=null),u||f===null){if(Vt(t)){var v=t;a===null?e.removeAttribute(v):(hn(a,t),e.setAttribute(v,""+a))}return}var y=f.mustUseProperty;if(y){var E=f.propertyName;if(a===null){var C=f.type;e[E]=C===ln?!1:""}else e[E]=a;return}var k=f.attributeName,_=f.attributeNamespace;if(a===null)e.removeAttribute(k);else{var B=f.type,I;B===ln||B===Bn&&a===!0?I="":(hn(a,k),I=""+a,f.sanitizeURL&&zu(I.toString())),_?e.setAttributeNS(_,k,I):e.setAttribute(k,I)}}}var Ga=Symbol.for("react.element"),pr=Symbol.for("react.portal"),yi=Symbol.for("react.fragment"),Ya=Symbol.for("react.strict_mode"),qi=Symbol.for("react.profiler"),Qi=Symbol.for("react.provider"),Xi=Symbol.for("react.context"),qa=Symbol.for("react.forward_ref"),Ml=Symbol.for("react.suspense"),jo=Symbol.for("react.suspense_list"),Zr=Symbol.for("react.memo"),kn=Symbol.for("react.lazy"),Au=Symbol.for("react.scope"),Ll=Symbol.for("react.debug_trace_mode"),Pu=Symbol.for("react.offscreen"),ju=Symbol.for("react.legacy_hidden"),Uu=Symbol.for("react.cache"),Fu=Symbol.for("react.tracing_marker"),dc=Symbol.iterator,Tt="@@iterator";function Ce(e){if(e===null||typeof e!="object")return null;var t=dc&&e[dc]||e[Tt];return typeof t=="function"?t:null}var Ne=Object.assign,Ct=0,tn,Lr,pa,Jr,vr,Dn,Si;function on(){}on.__reactDisabledLog=!0;function Uo(){{if(Ct===0){tn=console.log,Lr=console.info,pa=console.warn,Jr=console.error,vr=console.group,Dn=console.groupCollapsed,Si=console.groupEnd;var e={configurable:!0,enumerable:!0,value:on,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ct++}}function pc(){{if(Ct--,Ct===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ne({},e,{value:tn}),info:Ne({},e,{value:Lr}),warn:Ne({},e,{value:pa}),error:Ne({},e,{value:Jr}),group:Ne({},e,{value:vr}),groupCollapsed:Ne({},e,{value:Dn}),groupEnd:Ne({},e,{value:Si})})}Ct<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var gd=o.ReactCurrentDispatcher,Fo;function za(e,t,a){{if(Fo===void 0)try{throw Error()}catch(f){var u=f.stack.trim().match(/\n( *(at )?)/);Fo=u&&u[1]||""}return`
|
|
58
|
-
`+Fo+e}}var Nl=!1,zl;{var oy=typeof WeakMap=="function"?WeakMap:Map;zl=new oy}function yd(e,t){if(!e||Nl)return"";{var a=zl.get(e);if(a!==void 0)return a}var u;Nl=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var v;v=gd.current,gd.current=null,Uo();try{if(t){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(Z){u=Z}Reflect.construct(e,[],y)}else{try{y.call()}catch(Z){u=Z}e.call(y.prototype)}}else{try{throw Error()}catch(Z){u=Z}e()}}catch(Z){if(Z&&u&&typeof Z.stack=="string"){for(var E=Z.stack.split(`
|
|
59
|
-
`),C=u.stack.split(`
|
|
60
|
-
`),k=E.length-1,_=C.length-1;k>=1&&_>=0&&E[k]!==C[_];)_--;for(;k>=1&&_>=0;k--,_--)if(E[k]!==C[_]){if(k!==1||_!==1)do if(k--,_--,_<0||E[k]!==C[_]){var B=`
|
|
61
|
-
`+E[k].replace(" at new "," at ");return e.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",e.displayName)),typeof e=="function"&&zl.set(e,B),B}while(k>=1&&_>=0);break}}}finally{Nl=!1,gd.current=v,pc(),Error.prepareStackTrace=f}var I=e?e.displayName||e.name:"",X=I?za(I):"";return typeof e=="function"&&zl.set(e,X),X}function Sd(e,t,a){return yd(e,!0)}function vc(e,t,a){return yd(e,!1)}function wd(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Al(e,t,a){if(e==null)return"";if(typeof e=="function")return yd(e,wd(e));if(typeof e=="string")return za(e);switch(e){case Ml:return za("Suspense");case jo:return za("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case qa:return vc(e.render);case Zr:return Al(e.type,t,a);case kn:{var u=e,f=u._payload,v=u._init;try{return Al(v(f),t,a)}catch{}}}return""}function uy(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case L:return za(e.type);case ve:return za("Lazy");case $:return za("Suspense");case re:return za("SuspenseList");case b:case O:case le:return vc(e.type);case j:return vc(e.type.render);case T:return Sd(e.type);default:return""}}function hc(e){try{var t="",a=e;do t+=uy(a),a=a.return;while(a);return t}catch(u){return`
|
|
62
|
-
Error generating stack: `+u.message+`
|
|
63
|
-
`+u.stack}}function Ot(e,t,a){var u=e.displayName;if(u)return u;var f=t.displayName||t.name||"";return f!==""?a+"("+f+")":a}function bd(e){return e.displayName||"Context"}function kt(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case yi:return"Fragment";case pr:return"Portal";case qi:return"Profiler";case Ya:return"StrictMode";case Ml:return"Suspense";case jo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Xi:var t=e;return bd(t)+".Consumer";case Qi:var a=e;return bd(a._context)+".Provider";case qa:return Ot(e,e.render,"ForwardRef");case Zr:var u=e.displayName||null;return u!==null?u:kt(e.type)||"Memo";case kn:{var f=e,v=f._payload,y=f._init;try{return kt(y(v))}catch{return null}}}return null}function Ed(e,t,a){var u=t.displayName||t.name||"";return e.displayName||(u!==""?a+"("+u+")":a)}function Td(e){return e.displayName||"Context"}function rt(e){var t=e.tag,a=e.type;switch(t){case Ge:return"Cache";case N:var u=a;return Td(u)+".Consumer";case z:var f=a;return Td(f._context)+".Provider";case J:return"DehydratedFragment";case j:return Ed(a,a.render,"ForwardRef");case U:return"Fragment";case L:return a;case D:return"Portal";case R:return"Root";case M:return"Text";case ve:return kt(a);case P:return a===Ya?"StrictMode":"Mode";case we:return"Offscreen";case q:return"Profiler";case oe:return"Scope";case $:return"Suspense";case re:return"SuspenseList";case be:return"TracingMarker";case T:case b:case ee:case O:case se:case le:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var Cd=o.ReactDebugCurrentFrame,hr=null,Ki=!1;function va(){{if(hr===null)return null;var e=hr._debugOwner;if(e!==null&&typeof e<"u")return rt(e)}return null}function Zi(){return hr===null?"":hc(hr)}function nn(){Cd.getCurrentStack=null,hr=null,Ki=!1}function Ft(e){Cd.getCurrentStack=e===null?null:Zi,hr=e,Ki=!1}function Iu(){return hr}function Wn(e){Ki=e}function ha(e){return""+e}function wi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return mn(e),e;default:return""}}var Hu={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function xd(e,t){Hu[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||m("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||m("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Rd(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bu(e){return e._valueTracker}function Vv(e){e._valueTracker=null}function sy(e){var t="";return e&&(Rd(e)?t=e.checked?"true":"false":t=e.value),t}function Vu(e){var t=Rd(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);mn(e[t]);var u=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var f=a.get,v=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return f.call(this)},set:function(E){mn(E),u=""+E,v.call(this,E)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var y={getValue:function(){return u},setValue:function(E){mn(E),u=""+E},stopTracking:function(){Vv(e),delete e[t]}};return y}}function Ji(e){Bu(e)||(e._valueTracker=Vu(e))}function Pl(e){if(!e)return!1;var t=Bu(e);if(!t)return!0;var a=t.getValue(),u=sy(e);return u!==a?(t.setValue(u),!0):!1}function jl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var $v=!1,Wv=!1,mc=!1,$u=!1;function gc(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function yc(e,t){var a=e,u=t.checked,f=Ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??a._wrapperState.initialChecked});return f}function bi(e,t){xd("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Wv&&(m("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",va()||"A component",t.type),Wv=!0),t.value!==void 0&&t.defaultValue!==void 0&&!$v&&(m("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",va()||"A component",t.type),$v=!0);var a=e,u=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:wi(t.value!=null?t.value:u),controlled:gc(t)}}function Sc(e,t){var a=e,u=t.checked;u!=null&&gi(a,"checked",u,!1)}function Io(e,t){var a=e;{var u=gc(t);!a._wrapperState.controlled&&u&&!$u&&(m("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),$u=!0),a._wrapperState.controlled&&!u&&!mc&&(m("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),mc=!0)}Sc(e,t);var f=wi(t.value),v=t.type;if(f!=null)v==="number"?(f===0&&a.value===""||a.value!=f)&&(a.value=ha(f)):a.value!==ha(f)&&(a.value=ha(f));else if(v==="submit"||v==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?Ec(a,t.type,f):t.hasOwnProperty("defaultValue")&&Ec(a,t.type,wi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function Od(e,t,a){var u=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var f=t.type,v=f==="submit"||f==="reset";if(v&&(t.value===void 0||t.value===null))return;var y=ha(u._wrapperState.initialValue);a||y!==u.value&&(u.value=y),u.defaultValue=y}var E=u.name;E!==""&&(u.name=""),u.defaultChecked=!u.defaultChecked,u.defaultChecked=!!u._wrapperState.initialChecked,E!==""&&(u.name=E)}function wc(e,t){var a=e;Io(a,t),bc(a,t)}function bc(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var u=e;u.parentNode;)u=u.parentNode;hn(a,"name");for(var f=u.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),v=0;v<f.length;v++){var y=f[v];if(!(y===e||y.form!==e.form)){var E=Tm(y);if(!E)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Pl(y),Io(y,E)}}}}function Ec(e,t,a){(t!=="number"||jl(e.ownerDocument)!==e)&&(a==null?e.defaultValue=ha(e._wrapperState.initialValue):e.defaultValue!==ha(a)&&(e.defaultValue=ha(a)))}var Nr=!1,Ul=!1,Tc=!1;function Ho(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?i.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||Ul||(Ul=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Tc||(Tc=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Nr&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Nr=!0)}function cy(e,t){t.value!=null&&e.setAttribute("value",ha(wi(t.value)))}var kd=Array.isArray;function Gn(e){return kd(e)}var Fl;Fl=!1;function Wu(){var e=va();return e?`
|
|
64
|
-
|
|
65
|
-
Check the render method of \``+e+"`.":""}var Dd=["value","defaultValue"];function fy(e){{xd("select",e);for(var t=0;t<Dd.length;t++){var a=Dd[t];if(e[a]!=null){var u=Gn(e[a]);e.multiple&&!u?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,Wu()):!e.multiple&&u&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,Wu())}}}}function Bo(e,t,a,u){var f=e.options;if(t){for(var v=a,y={},E=0;E<v.length;E++)y["$"+v[E]]=!0;for(var C=0;C<f.length;C++){var k=y.hasOwnProperty("$"+f[C].value);f[C].selected!==k&&(f[C].selected=k),k&&u&&(f[C].defaultSelected=!0)}}else{for(var _=ha(wi(a)),B=null,I=0;I<f.length;I++){if(f[I].value===_){f[I].selected=!0,u&&(f[I].defaultSelected=!0);return}B===null&&!f[I].disabled&&(B=f[I])}B!==null&&(B.selected=!0)}}function _d(e,t){return Ne({},t,{value:void 0})}function Cc(e,t){var a=e;fy(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Fl&&(m("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Fl=!0)}function dy(e,t){var a=e;a.multiple=!!t.multiple;var u=t.value;u!=null?Bo(a,!!t.multiple,u,!1):t.defaultValue!=null&&Bo(a,!!t.multiple,t.defaultValue,!0)}function py(e,t){var a=e,u=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var f=t.value;f!=null?Bo(a,!!t.multiple,f,!1):u!==!!t.multiple&&(t.defaultValue!=null?Bo(a,!!t.multiple,t.defaultValue,!0):Bo(a,!!t.multiple,t.multiple?[]:"",!1))}function vy(e,t){var a=e,u=t.value;u!=null&&Bo(a,!!t.multiple,u,!1)}var Gv=!1;function Md(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=Ne({},t,{value:void 0,defaultValue:void 0,children:ha(a._wrapperState.initialValue)});return u}function Ld(e,t){var a=e;xd("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Gv&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",va()||"A component"),Gv=!0);var u=t.value;if(u==null){var f=t.children,v=t.defaultValue;if(f!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(v!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Gn(f)){if(f.length>1)throw new Error("<textarea> can only have at most one child.");f=f[0]}v=f}}v==null&&(v=""),u=v}a._wrapperState={initialValue:wi(u)}}function Yv(e,t){var a=e,u=wi(t.value),f=wi(t.defaultValue);if(u!=null){var v=ha(u);v!==a.value&&(a.value=v),t.defaultValue==null&&a.defaultValue!==v&&(a.defaultValue=v)}f!=null&&(a.defaultValue=ha(f))}function qv(e,t){var a=e,u=a.textContent;u===a._wrapperState.initialValue&&u!==""&&u!==null&&(a.value=u)}function hy(e,t){Yv(e,t)}var Ei="http://www.w3.org/1999/xhtml",Nd="http://www.w3.org/1998/Math/MathML",zd="http://www.w3.org/2000/svg";function Ad(e){switch(e){case"svg":return zd;case"math":return Nd;default:return Ei}}function Pd(e,t){return e==null||e===Ei?Ad(t):e===zd&&t==="foreignObject"?Ei:e}var Qv=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,u,f){MSApp.execUnsafeLocalFunction(function(){return e(t,a,u,f)})}:e},xc,Xv=Qv(function(e,t){if(e.namespaceURI===zd&&!("innerHTML"in e)){xc=xc||document.createElement("div"),xc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=xc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),zr=1,Ti=3,gn=8,Ci=9,jd=11,Vo=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===Ti){a.nodeValue=t;return}}e.textContent=t},Gu={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Yu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Kv(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Zv=["Webkit","ms","Moz","O"];Object.keys(Yu).forEach(function(e){Zv.forEach(function(t){Yu[Kv(t,e)]=Yu[e]})});function Rc(e,t,a){var u=t==null||typeof t=="boolean"||t==="";return u?"":!a&&typeof t=="number"&&t!==0&&!(Yu.hasOwnProperty(e)&&Yu[e])?t+"px":(zn(t,e),(""+t).trim())}var Jv=/([A-Z])/g,eh=/^ms-/;function $o(e){return e.replace(Jv,"-$1").toLowerCase().replace(eh,"-ms-")}var th=function(){};{var my=/^(?:webkit|moz|o)[A-Z]/,gy=/^-ms-/,nh=/-(.)/g,Ud=/;\s*$/,Qa={},Il={},rh=!1,qu=!1,yy=function(e){return e.replace(nh,function(t,a){return a.toUpperCase()})},ah=function(e){Qa.hasOwnProperty(e)&&Qa[e]||(Qa[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,yy(e.replace(gy,"ms-"))))},Fd=function(e){Qa.hasOwnProperty(e)&&Qa[e]||(Qa[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Id=function(e,t){Il.hasOwnProperty(t)&&Il[t]||(Il[t]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Ud,"")))},ih=function(e,t){rh||(rh=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},lh=function(e,t){qu||(qu=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};th=function(e,t){e.indexOf("-")>-1?ah(e):my.test(e)?Fd(e):Ud.test(t)&&Id(e,t),typeof t=="number"&&(isNaN(t)?ih(e,t):isFinite(t)||lh(e,t))}}var oh=th;function Sy(e){{var t="",a="";for(var u in e)if(e.hasOwnProperty(u)){var f=e[u];if(f!=null){var v=u.indexOf("--")===0;t+=a+(v?u:$o(u))+":",t+=Rc(u,f,v),a=";"}}return t||null}}function uh(e,t){var a=e.style;for(var u in t)if(t.hasOwnProperty(u)){var f=u.indexOf("--")===0;f||oh(u,t[u]);var v=Rc(u,t[u],f);u==="float"&&(u="cssFloat"),f?a.setProperty(u,v):a[u]=v}}function wy(e){return e==null||typeof e=="boolean"||e===""}function sh(e){var t={};for(var a in e)for(var u=Gu[a]||[a],f=0;f<u.length;f++)t[u[f]]=a;return t}function by(e,t){{if(!t)return;var a=sh(e),u=sh(t),f={};for(var v in a){var y=a[v],E=u[v];if(E&&y!==E){var C=y+","+E;if(f[C])continue;f[C]=!0,m("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",wy(e[y])?"Removing":"Updating",y,E)}}}}var Aa={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Qu=Ne({menuitem:!0},Aa),ch="__html";function Oc(e,t){if(t){if(Qu[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(ch in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&m("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function el(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xu={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},kc={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Wo={},Ey=new RegExp("^(aria)-["+Ee+"]*$"),Go=new RegExp("^(aria)[A-Z]["+Ee+"]*$");function Hd(e,t){{if(Kt.call(Wo,t)&&Wo[t])return!0;if(Go.test(t)){var a="aria-"+t.slice(4).toLowerCase(),u=kc.hasOwnProperty(a)?a:null;if(u==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Wo[t]=!0,!0;if(t!==u)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,u),Wo[t]=!0,!0}if(Ey.test(t)){var f=t.toLowerCase(),v=kc.hasOwnProperty(f)?f:null;if(v==null)return Wo[t]=!0,!1;if(t!==v)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,v),Wo[t]=!0,!0}}return!0}function Ku(e,t){{var a=[];for(var u in t){var f=Hd(e,u);f||a.push(u)}var v=a.map(function(y){return"`"+y+"`"}).join(", ");a.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",v,e):a.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",v,e)}}function Bd(e,t){el(e,t)||Ku(e,t)}var Vd=!1;function Dc(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Vd&&(Vd=!0,e==="select"&&t.multiple?m("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Hl=function(){};{var Yn={},$d=/^on./,_c=/^on[^A-Z]/,fh=new RegExp("^(aria)-["+Ee+"]*$"),dh=new RegExp("^(aria)[A-Z]["+Ee+"]*$");Hl=function(e,t,a,u){if(Kt.call(Yn,t)&&Yn[t])return!0;var f=t.toLowerCase();if(f==="onfocusin"||f==="onfocusout")return m("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Yn[t]=!0,!0;if(u!=null){var v=u.registrationNameDependencies,y=u.possibleRegistrationNames;if(v.hasOwnProperty(t))return!0;var E=y.hasOwnProperty(f)?y[f]:null;if(E!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",t,E),Yn[t]=!0,!0;if($d.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),Yn[t]=!0,!0}else if($d.test(t))return _c.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Yn[t]=!0,!0;if(fh.test(t)||dh.test(t))return!0;if(f==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Yn[t]=!0,!0;if(f==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Yn[t]=!0,!0;if(f==="is"&&a!==null&&a!==void 0&&typeof a!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),Yn[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Yn[t]=!0,!0;var C=en(t),k=C!==null&&C.type===On;if(Xu.hasOwnProperty(f)){var _=Xu[f];if(_!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,_),Yn[t]=!0,!0}else if(!k&&t!==f)return m("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,f),Yn[t]=!0,!0;return typeof a=="boolean"&&jt(t,a,C,!1)?(a?m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),Yn[t]=!0,!0):k?!0:jt(t,a,C,!1)?(Yn[t]=!0,!1):((a==="false"||a==="true")&&C!==null&&C.type===ln&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),Yn[t]=!0),!0)}}var ph=function(e,t,a){{var u=[];for(var f in t){var v=Hl(e,f,t[f],a);v||u.push(f)}var y=u.map(function(E){return"`"+E+"`"}).join(", ");u.length===1?m("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",y,e):u.length>1&&m("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",y,e)}};function vh(e,t,a){el(e,t)||ph(e,t,a)}var Wd=1,Mc=2,ma=4,Gd=Wd|Mc|ma,Bl=null;function Ty(e){Bl!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Bl=e}function Cy(){Bl===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Bl=null}function Zu(e){return e===Bl}function Yd(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Ti?t.parentNode:t}var Lc=null,Vl=null,xt=null;function Nc(e){var t=pu(e);if(t){if(typeof Lc!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var a=t.stateNode;if(a){var u=Tm(a);Lc(t.stateNode,t.type,u)}}}function zc(e){Lc=e}function Yo(e){Vl?xt?xt.push(e):xt=[e]:Vl=e}function hh(){return Vl!==null||xt!==null}function Ac(){if(Vl){var e=Vl,t=xt;if(Vl=null,xt=null,Nc(e),t)for(var a=0;a<t.length;a++)Nc(t[a])}}var qo=function(e,t){return e(t)},Ju=function(){},tl=!1;function mh(){var e=hh();e&&(Ju(),Ac())}function gh(e,t,a){if(tl)return e(t,a);tl=!0;try{return qo(e,t,a)}finally{tl=!1,mh()}}function xy(e,t,a){qo=e,Ju=a}function yh(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Pc(e,t,a){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(a.disabled&&yh(t));default:return!1}}function nl(e,t){var a=e.stateNode;if(a===null)return null;var u=Tm(a);if(u===null)return null;var f=u[t];if(Pc(t,e.type,u))return null;if(f&&typeof f!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof f+"` type.");return f}var es=!1;if(Et)try{var $l={};Object.defineProperty($l,"passive",{get:function(){es=!0}}),window.addEventListener("test",$l,$l),window.removeEventListener("test",$l,$l)}catch{es=!1}function jc(e,t,a,u,f,v,y,E,C){var k=Array.prototype.slice.call(arguments,3);try{t.apply(a,k)}catch(_){this.onError(_)}}var Uc=jc;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var qd=document.createElement("react");Uc=function(t,a,u,f,v,y,E,C,k){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var _=document.createEvent("Event"),B=!1,I=!0,X=window.event,Z=Object.getOwnPropertyDescriptor(window,"event");function te(){qd.removeEventListener(ne,We,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=X)}var Oe=Array.prototype.slice.call(arguments,3);function We(){B=!0,te(),a.apply(u,Oe),I=!1}var Ie,dt=!1,ut=!1;function G(Y){if(Ie=Y.error,dt=!0,Ie===null&&Y.colno===0&&Y.lineno===0&&(ut=!0),Y.defaultPrevented&&Ie!=null&&typeof Ie=="object")try{Ie._suppressLogging=!0}catch{}}var ne="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",G),qd.addEventListener(ne,We,!1),_.initEvent(ne,!1,!1),qd.dispatchEvent(_),Z&&Object.defineProperty(window,"event",Z),B&&I&&(dt?ut&&(Ie=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Ie=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Ie)),window.removeEventListener("error",G),!B)return te(),jc.apply(this,arguments)}}var Sh=Uc,Qo=!1,Fc=null,Xo=!1,Xa=null,wh={onError:function(e){Qo=!0,Fc=e}};function rl(e,t,a,u,f,v,y,E,C){Qo=!1,Fc=null,Sh.apply(wh,arguments)}function Ka(e,t,a,u,f,v,y,E,C){if(rl.apply(this,arguments),Qo){var k=ns();Xo||(Xo=!0,Xa=k)}}function ts(){if(Xo){var e=Xa;throw Xo=!1,Xa=null,e}}function xi(){return Qo}function ns(){if(Qo){var e=Fc;return Qo=!1,Fc=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Ko(e){return e._reactInternals}function Ry(e){return e._reactInternals!==void 0}function Wl(e,t){e._reactInternals=t}var Be=0,Pa=1,un=2,st=4,ga=16,ja=32,Pt=64,He=128,Ar=256,rn=512,_n=1024,Pr=2048,ya=4096,yn=8192,Zo=16384,bh=32767,rs=32768,jr=65536,Ic=131072,Za=1048576,Jo=2097152,Ri=4194304,Hc=8388608,al=16777216,Ja=33554432,il=st|_n|0,ll=un|st|ga|ja|rn|ya|yn,ol=st|Pt|rn|yn,Oi=Pr|ga,Sn=Ri|Hc|Jo,Sa=o.ReactCurrentOwner;function ea(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var u=t;do t=u,(t.flags&(un|ya))!==Be&&(a=t.return),u=t.return;while(u)}return t.tag===R?a:null}function ei(e){if(e.tag===$){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function ti(e){return e.tag===R?e.stateNode.containerInfo:null}function Gl(e){return ea(e)===e}function Eh(e){{var t=Sa.current;if(t!==null&&t.tag===T){var a=t,u=a.stateNode;u._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",rt(a)||"A component"),u._warnedAboutRefsInRender=!0}}var f=Ko(e);return f?ea(f)===f:!1}function Bc(e){if(ea(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Vc(e){var t=e.alternate;if(!t){var a=ea(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var u=e,f=t;;){var v=u.return;if(v===null)break;var y=v.alternate;if(y===null){var E=v.return;if(E!==null){u=f=E;continue}break}if(v.child===y.child){for(var C=v.child;C;){if(C===u)return Bc(v),e;if(C===f)return Bc(v),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==f.return)u=v,f=y;else{for(var k=!1,_=v.child;_;){if(_===u){k=!0,u=v,f=y;break}if(_===f){k=!0,f=v,u=y;break}_=_.sibling}if(!k){for(_=y.child;_;){if(_===u){k=!0,u=y,f=v;break}if(_===f){k=!0,f=y,u=v;break}_=_.sibling}if(!k)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(u.alternate!==f)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==R)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function Ur(e){var t=Vc(e);return t!==null?Fr(t):null}function Fr(e){if(e.tag===L||e.tag===M)return e;for(var t=e.child;t!==null;){var a=Fr(t);if(a!==null)return a;t=t.sibling}return null}function Wt(e){var t=Vc(e);return t!==null?wa(t):null}function wa(e){if(e.tag===L||e.tag===M)return e;for(var t=e.child;t!==null;){if(t.tag!==D){var a=wa(t);if(a!==null)return a}t=t.sibling}return null}var Qd=l.unstable_scheduleCallback,Th=l.unstable_cancelCallback,Xd=l.unstable_shouldYield,Kd=l.unstable_requestPaint,Mn=l.unstable_now,$c=l.unstable_getCurrentPriorityLevel,as=l.unstable_ImmediatePriority,ul=l.unstable_UserBlockingPriority,ki=l.unstable_NormalPriority,Oy=l.unstable_LowPriority,Yl=l.unstable_IdlePriority,Wc=l.unstable_yieldValue,Ch=l.unstable_setDisableYieldValue,ql=null,sn=null,Re=null,ta=!1,Ir=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function eu(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return m("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Rn&&(e=Ne({},e,{getLaneLabelMap:Ql,injectProfilingHooks:ba})),ql=t.inject(e),sn=t}catch(a){m("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function Zd(e,t){if(sn&&typeof sn.onScheduleFiberRoot=="function")try{sn.onScheduleFiberRoot(ql,e,t)}catch(a){ta||(ta=!0,m("React instrumentation encountered an error: %s",a))}}function Jd(e,t){if(sn&&typeof sn.onCommitFiberRoot=="function")try{var a=(e.current.flags&He)===He;if(Ht){var u;switch(t){case mr:u=as;break;case ri:u=ul;break;case Ea:u=ki;break;case Ta:u=Yl;break;default:u=ki;break}sn.onCommitFiberRoot(ql,e,u,a)}}catch(f){ta||(ta=!0,m("React instrumentation encountered an error: %s",f))}}function ep(e){if(sn&&typeof sn.onPostCommitFiberRoot=="function")try{sn.onPostCommitFiberRoot(ql,e)}catch(t){ta||(ta=!0,m("React instrumentation encountered an error: %s",t))}}function tp(e){if(sn&&typeof sn.onCommitFiberUnmount=="function")try{sn.onCommitFiberUnmount(ql,e)}catch(t){ta||(ta=!0,m("React instrumentation encountered an error: %s",t))}}function qt(e){if(typeof Wc=="function"&&(Ch(e),p(e)),sn&&typeof sn.setStrictMode=="function")try{sn.setStrictMode(ql,e)}catch(t){ta||(ta=!0,m("React instrumentation encountered an error: %s",t))}}function ba(e){Re=e}function Ql(){{for(var e=new Map,t=1,a=0;a<Zl;a++){var u=kh(t);e.set(t,u),t*=2}return e}}function np(e){Re!==null&&typeof Re.markCommitStarted=="function"&&Re.markCommitStarted(e)}function rp(){Re!==null&&typeof Re.markCommitStopped=="function"&&Re.markCommitStopped()}function na(e){Re!==null&&typeof Re.markComponentRenderStarted=="function"&&Re.markComponentRenderStarted(e)}function ra(){Re!==null&&typeof Re.markComponentRenderStopped=="function"&&Re.markComponentRenderStopped()}function ap(e){Re!==null&&typeof Re.markComponentPassiveEffectMountStarted=="function"&&Re.markComponentPassiveEffectMountStarted(e)}function xh(){Re!==null&&typeof Re.markComponentPassiveEffectMountStopped=="function"&&Re.markComponentPassiveEffectMountStopped()}function Di(e){Re!==null&&typeof Re.markComponentPassiveEffectUnmountStarted=="function"&&Re.markComponentPassiveEffectUnmountStarted(e)}function sl(){Re!==null&&typeof Re.markComponentPassiveEffectUnmountStopped=="function"&&Re.markComponentPassiveEffectUnmountStopped()}function Gc(e){Re!==null&&typeof Re.markComponentLayoutEffectMountStarted=="function"&&Re.markComponentLayoutEffectMountStarted(e)}function Rh(){Re!==null&&typeof Re.markComponentLayoutEffectMountStopped=="function"&&Re.markComponentLayoutEffectMountStopped()}function is(e){Re!==null&&typeof Re.markComponentLayoutEffectUnmountStarted=="function"&&Re.markComponentLayoutEffectUnmountStarted(e)}function ip(){Re!==null&&typeof Re.markComponentLayoutEffectUnmountStopped=="function"&&Re.markComponentLayoutEffectUnmountStopped()}function ls(e,t,a){Re!==null&&typeof Re.markComponentErrored=="function"&&Re.markComponentErrored(e,t,a)}function ni(e,t,a){Re!==null&&typeof Re.markComponentSuspended=="function"&&Re.markComponentSuspended(e,t,a)}function os(e){Re!==null&&typeof Re.markLayoutEffectsStarted=="function"&&Re.markLayoutEffectsStarted(e)}function us(){Re!==null&&typeof Re.markLayoutEffectsStopped=="function"&&Re.markLayoutEffectsStopped()}function Xl(e){Re!==null&&typeof Re.markPassiveEffectsStarted=="function"&&Re.markPassiveEffectsStarted(e)}function lp(){Re!==null&&typeof Re.markPassiveEffectsStopped=="function"&&Re.markPassiveEffectsStopped()}function Kl(e){Re!==null&&typeof Re.markRenderStarted=="function"&&Re.markRenderStarted(e)}function Oh(){Re!==null&&typeof Re.markRenderYielded=="function"&&Re.markRenderYielded()}function Yc(){Re!==null&&typeof Re.markRenderStopped=="function"&&Re.markRenderStopped()}function Qt(e){Re!==null&&typeof Re.markRenderScheduled=="function"&&Re.markRenderScheduled(e)}function qc(e,t){Re!==null&&typeof Re.markForceUpdateScheduled=="function"&&Re.markForceUpdateScheduled(e,t)}function ss(e,t){Re!==null&&typeof Re.markStateUpdateScheduled=="function"&&Re.markStateUpdateScheduled(e,t)}var Ve=0,lt=1,mt=2,Mt=8,gt=16,wn=Math.clz32?Math.clz32:cs,jn=Math.log,Qc=Math.LN2;function cs(e){var t=e>>>0;return t===0?32:31-(jn(t)/Qc|0)|0}var Zl=31,ce=0,vt=0,Xe=1,cl=2,Ua=4,or=8,cn=16,_i=32,fl=4194240,Jl=64,Xc=128,Kc=256,Zc=512,Jc=1024,ef=2048,tf=4096,nf=8192,rf=16384,eo=32768,af=65536,tu=131072,nu=262144,lf=524288,fs=1048576,of=2097152,ds=130023424,to=4194304,uf=8388608,ps=16777216,sf=33554432,cf=67108864,op=to,vs=134217728,up=268435455,hs=268435456,no=536870912,aa=1073741824;function kh(e){{if(e&Xe)return"Sync";if(e&cl)return"InputContinuousHydration";if(e&Ua)return"InputContinuous";if(e&or)return"DefaultHydration";if(e&cn)return"Default";if(e&_i)return"TransitionHydration";if(e&fl)return"Transition";if(e&ds)return"Retry";if(e&vs)return"SelectiveHydration";if(e&hs)return"IdleHydration";if(e&no)return"Idle";if(e&aa)return"Offscreen"}}var At=-1,ro=Jl,ff=to;function ms(e){switch(dl(e)){case Xe:return Xe;case cl:return cl;case Ua:return Ua;case or:return or;case cn:return cn;case _i:return _i;case Jl:case Xc:case Kc:case Zc:case Jc:case ef:case tf:case nf:case rf:case eo:case af:case tu:case nu:case lf:case fs:case of:return e&fl;case to:case uf:case ps:case sf:case cf:return e&ds;case vs:return vs;case hs:return hs;case no:return no;case aa:return aa;default:return m("Should have found matching lanes. This is a bug in React."),e}}function df(e,t){var a=e.pendingLanes;if(a===ce)return ce;var u=ce,f=e.suspendedLanes,v=e.pingedLanes,y=a&up;if(y!==ce){var E=y&~f;if(E!==ce)u=ms(E);else{var C=y&v;C!==ce&&(u=ms(C))}}else{var k=a&~f;k!==ce?u=ms(k):v!==ce&&(u=ms(v))}if(u===ce)return ce;if(t!==ce&&t!==u&&(t&f)===ce){var _=dl(u),B=dl(t);if(_>=B||_===cn&&(B&fl)!==ce)return t}(u&Ua)!==ce&&(u|=a&cn);var I=e.entangledLanes;if(I!==ce)for(var X=e.entanglements,Z=u&I;Z>0;){var te=bn(Z),Oe=1<<te;u|=X[te],Z&=~Oe}return u}function Fa(e,t){for(var a=e.eventTimes,u=At;t>0;){var f=bn(t),v=1<<f,y=a[f];y>u&&(u=y),t&=~v}return u}function sp(e,t){switch(e){case Xe:case cl:case Ua:return t+250;case or:case cn:case _i:case Jl:case Xc:case Kc:case Zc:case Jc:case ef:case tf:case nf:case rf:case eo:case af:case tu:case nu:case lf:case fs:case of:return t+5e3;case to:case uf:case ps:case sf:case cf:return At;case vs:case hs:case no:case aa:return At;default:return m("Should have found matching lanes. This is a bug in React."),At}}function pf(e,t){for(var a=e.pendingLanes,u=e.suspendedLanes,f=e.pingedLanes,v=e.expirationTimes,y=a;y>0;){var E=bn(y),C=1<<E,k=v[E];k===At?((C&u)===ce||(C&f)!==ce)&&(v[E]=sp(C,t)):k<=t&&(e.expiredLanes|=C),y&=~C}}function Dh(e){return ms(e.pendingLanes)}function vf(e){var t=e.pendingLanes&-1073741825;return t!==ce?t:t&aa?aa:ce}function _h(e){return(e&Xe)!==ce}function gs(e){return(e&up)!==ce}function ao(e){return(e&ds)===e}function cp(e){var t=Xe|Ua|cn;return(e&t)===ce}function fp(e){return(e&fl)===e}function hf(e,t){var a=cl|Ua|or|cn;return(t&a)!==ce}function Mh(e,t){return(t&e.expiredLanes)!==ce}function dp(e){return(e&fl)!==ce}function pp(){var e=ro;return ro<<=1,(ro&fl)===ce&&(ro=Jl),e}function Lh(){var e=ff;return ff<<=1,(ff&ds)===ce&&(ff=to),e}function dl(e){return e&-e}function ys(e){return dl(e)}function bn(e){return 31-wn(e)}function qn(e){return bn(e)}function Hr(e,t){return(e&t)!==ce}function io(e,t){return(e&t)===t}function at(e,t){return e|t}function Ss(e,t){return e&~t}function vp(e,t){return e&t}function Nh(e){return e}function zh(e,t){return e!==vt&&e<t?e:t}function ws(e){for(var t=[],a=0;a<Zl;a++)t.push(e);return t}function ru(e,t,a){e.pendingLanes|=t,t!==no&&(e.suspendedLanes=ce,e.pingedLanes=ce);var u=e.eventTimes,f=qn(t);u[f]=a}function Ah(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,u=t;u>0;){var f=bn(u),v=1<<f;a[f]=At,u&=~v}}function mf(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function hp(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ce,e.pingedLanes=ce,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var u=e.entanglements,f=e.eventTimes,v=e.expirationTimes,y=a;y>0;){var E=bn(y),C=1<<E;u[E]=ce,f[E]=At,v[E]=At,y&=~C}}function gf(e,t){for(var a=e.entangledLanes|=t,u=e.entanglements,f=a;f;){var v=bn(f),y=1<<v;y&t|u[v]&t&&(u[v]|=t),f&=~y}}function mp(e,t){var a=dl(t),u;switch(a){case Ua:u=cl;break;case cn:u=or;break;case Jl:case Xc:case Kc:case Zc:case Jc:case ef:case tf:case nf:case rf:case eo:case af:case tu:case nu:case lf:case fs:case of:case to:case uf:case ps:case sf:case cf:u=_i;break;case no:u=hs;break;default:u=vt;break}return(u&(e.suspendedLanes|t))!==vt?vt:u}function bs(e,t,a){if(Ir)for(var u=e.pendingUpdatersLaneMap;a>0;){var f=qn(a),v=1<<f,y=u[f];y.add(t),a&=~v}}function Ph(e,t){if(Ir)for(var a=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;t>0;){var f=qn(t),v=1<<f,y=a[f];y.size>0&&(y.forEach(function(E){var C=E.alternate;(C===null||!u.has(C))&&u.add(E)}),y.clear()),t&=~v}}function gp(e,t){return null}var mr=Xe,ri=Ua,Ea=cn,Ta=no,Es=vt;function Ca(){return Es}function En(e){Es=e}function jh(e,t){var a=Es;try{return Es=e,t()}finally{Es=a}}function Uh(e,t){return e!==0&&e<t?e:t}function Ts(e,t){return e>t?e:t}function Un(e,t){return e!==0&&e<t}function Fh(e){var t=dl(e);return Un(mr,t)?Un(ri,t)?gs(t)?Ea:Ta:ri:mr}function yf(e){var t=e.current.memoizedState;return t.isDehydrated}var Cs;function ur(e){Cs=e}function ky(e){Cs(e)}var Le;function au(e){Le=e}var Sf;function Ih(e){Sf=e}var Hh;function xs(e){Hh=e}var Rs;function yp(e){Rs=e}var wf=!1,Os=[],Mi=null,ai=null,ii=null,fn=new Map,gr=new Map,yr=[],Bh=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function Vh(e){return Bh.indexOf(e)>-1}function Ia(e,t,a,u,f){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:f,targetContainers:[u]}}function Sp(e,t){switch(e){case"focusin":case"focusout":Mi=null;break;case"dragenter":case"dragleave":ai=null;break;case"mouseover":case"mouseout":ii=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;fn.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var u=t.pointerId;gr.delete(u);break}}}function Br(e,t,a,u,f,v){if(e===null||e.nativeEvent!==v){var y=Ia(t,a,u,f,v);if(t!==null){var E=pu(t);E!==null&&Le(E)}return y}e.eventSystemFlags|=u;var C=e.targetContainers;return f!==null&&C.indexOf(f)===-1&&C.push(f),e}function Dy(e,t,a,u,f){switch(t){case"focusin":{var v=f;return Mi=Br(Mi,e,t,a,u,v),!0}case"dragenter":{var y=f;return ai=Br(ai,e,t,a,u,y),!0}case"mouseover":{var E=f;return ii=Br(ii,e,t,a,u,E),!0}case"pointerover":{var C=f,k=C.pointerId;return fn.set(k,Br(fn.get(k)||null,e,t,a,u,C)),!0}case"gotpointercapture":{var _=f,B=_.pointerId;return gr.set(B,Br(gr.get(B)||null,e,t,a,u,_)),!0}}return!1}function wp(e){var t=Fs(e.target);if(t!==null){var a=ea(t);if(a!==null){var u=a.tag;if(u===$){var f=ei(a);if(f!==null){e.blockedOn=f,Rs(e.priority,function(){Sf(a)});return}}else if(u===R){var v=a.stateNode;if(yf(v)){e.blockedOn=ti(a);return}}}}e.blockedOn=null}function $h(e){for(var t=Hh(),a={blockedOn:null,target:e,priority:t},u=0;u<yr.length&&Un(t,yr[u].priority);u++);yr.splice(u,0,a),u===0&&wp(a)}function ks(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],u=lu(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(u===null){var f=e.nativeEvent,v=new f.constructor(f.type,f);Ty(v),f.target.dispatchEvent(v),Cy()}else{var y=pu(u);return y!==null&&Le(y),e.blockedOn=u,!1}t.shift()}return!0}function bp(e,t,a){ks(e)&&a.delete(t)}function _y(){wf=!1,Mi!==null&&ks(Mi)&&(Mi=null),ai!==null&&ks(ai)&&(ai=null),ii!==null&&ks(ii)&&(ii=null),fn.forEach(bp),gr.forEach(bp)}function pl(e,t){e.blockedOn===t&&(e.blockedOn=null,wf||(wf=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,_y)))}function lo(e){if(Os.length>0){pl(Os[0],e);for(var t=1;t<Os.length;t++){var a=Os[t];a.blockedOn===e&&(a.blockedOn=null)}}Mi!==null&&pl(Mi,e),ai!==null&&pl(ai,e),ii!==null&&pl(ii,e);var u=function(E){return pl(E,e)};fn.forEach(u),gr.forEach(u);for(var f=0;f<yr.length;f++){var v=yr[f];v.blockedOn===e&&(v.blockedOn=null)}for(;yr.length>0;){var y=yr[0];if(y.blockedOn!==null)break;wp(y),y.blockedOn===null&&yr.shift()}}var Qn=o.ReactCurrentBatchConfig,ct=!0;function Ln(e){ct=!!e}function Tn(){return ct}function Xn(e,t,a){var u=bf(t),f;switch(u){case mr:f=ia;break;case ri:f=iu;break;case Ea:default:f=dn;break}return f.bind(null,t,a,e)}function ia(e,t,a,u){var f=Ca(),v=Qn.transition;Qn.transition=null;try{En(mr),dn(e,t,a,u)}finally{En(f),Qn.transition=v}}function iu(e,t,a,u){var f=Ca(),v=Qn.transition;Qn.transition=null;try{En(ri),dn(e,t,a,u)}finally{En(f),Qn.transition=v}}function dn(e,t,a,u){ct&&Ds(e,t,a,u)}function Ds(e,t,a,u){var f=lu(e,t,a,u);if(f===null){Yy(e,t,u,li,a),Sp(e,u);return}if(Dy(f,e,t,a,u)){u.stopPropagation();return}if(Sp(e,u),t&ma&&Vh(e)){for(;f!==null;){var v=pu(f);v!==null&&ky(v);var y=lu(e,t,a,u);if(y===null&&Yy(e,t,u,li,a),y===f)break;f=y}f!==null&&u.stopPropagation();return}Yy(e,t,u,null,a)}var li=null;function lu(e,t,a,u){li=null;var f=Yd(u),v=Fs(f);if(v!==null){var y=ea(v);if(y===null)v=null;else{var E=y.tag;if(E===$){var C=ei(y);if(C!==null)return C;v=null}else if(E===R){var k=y.stateNode;if(yf(k))return ti(y);v=null}else y!==v&&(v=null)}}return li=v,null}function bf(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return mr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return ri;case"message":{var t=$c();switch(t){case as:return mr;case ul:return ri;case ki:case Oy:return Ea;case Yl:return Ta;default:return Ea}}default:return Ea}}function _s(e,t,a){return e.addEventListener(t,a,!1),a}function Vr(e,t,a){return e.addEventListener(t,a,!0),a}function Ep(e,t,a,u){return e.addEventListener(t,a,{capture:!0,passive:u}),a}function ou(e,t,a,u){return e.addEventListener(t,a,{passive:u}),a}var la=null,uu=null,oo=null;function vl(e){return la=e,uu=Ms(),!0}function Ef(){la=null,uu=null,oo=null}function Li(){if(oo)return oo;var e,t=uu,a=t.length,u,f=Ms(),v=f.length;for(e=0;e<a&&t[e]===f[e];e++);var y=a-e;for(u=1;u<=y&&t[a-u]===f[v-u];u++);var E=u>1?1-u:void 0;return oo=f.slice(e,E),oo}function Ms(){return"value"in la?la.value:la.textContent}function hl(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function su(){return!0}function Ls(){return!1}function sr(e){function t(a,u,f,v,y){this._reactName=a,this._targetInst=f,this.type=u,this.nativeEvent=v,this.target=y,this.currentTarget=null;for(var E in e)if(e.hasOwnProperty(E)){var C=e[E];C?this[E]=C(v):this[E]=v[E]}var k=v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1;return k?this.isDefaultPrevented=su:this.isDefaultPrevented=Ls,this.isPropagationStopped=Ls,this}return Ne(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=su)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=su)},persist:function(){},isPersistent:su}),t}var Cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},oi=sr(Cn),Sr=Ne({},Cn,{view:0,detail:0}),$r=sr(Sr),Tf,Ns,uo;function My(e){e!==uo&&(uo&&e.type==="mousemove"?(Tf=e.screenX-uo.screenX,Ns=e.screenY-uo.screenY):(Tf=0,Ns=0),uo=e)}var Ha=Ne({},Sr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gt,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(My(e),Tf)},movementY:function(e){return"movementY"in e?e.movementY:Ns}}),Tp=sr(Ha),Cp=Ne({},Ha,{dataTransfer:0}),so=sr(Cp),xp=Ne({},Sr,{relatedTarget:0}),Ni=sr(xp),Wh=Ne({},Cn,{animationName:0,elapsedTime:0,pseudoElement:0}),Gh=sr(Wh),Rp=Ne({},Cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Cf=sr(Rp),Ly=Ne({},Cn,{data:0}),Yh=sr(Ly),qh=Yh,Qh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},co={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Ny(e){if(e.key){var t=Qh[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=hl(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?co[e.keyCode]||"Unidentified":""}var cu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Xh(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var u=cu[e];return u?!!a[u]:!1}function Gt(e){return Xh}var zy=Ne({},Sr,{key:Ny,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gt,charCode:function(e){return e.type==="keypress"?hl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?hl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Kh=sr(zy),Ay=Ne({},Ha,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zh=sr(Ay),Jh=Ne({},Sr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gt}),em=sr(Jh),Py=Ne({},Cn,{propertyName:0,elapsedTime:0,pseudoElement:0}),xa=sr(Py),Op=Ne({},Ha,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),jy=sr(Op),ml=[9,13,27,32],zs=229,zi=Et&&"CompositionEvent"in window,gl=null;Et&&"documentMode"in document&&(gl=document.documentMode);var kp=Et&&"TextEvent"in window&&!gl,xf=Et&&(!zi||gl&&gl>8&&gl<=11),tm=32,Rf=String.fromCharCode(tm);function Uy(){Bt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Bt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Bt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Bt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Dp=!1;function nm(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Of(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function kf(e,t){return e==="keydown"&&t.keyCode===zs}function _p(e,t){switch(e){case"keyup":return ml.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==zs;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Df(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function rm(e){return e.locale==="ko"}var fo=!1;function Mp(e,t,a,u,f){var v,y;if(zi?v=Of(t):fo?_p(t,u)&&(v="onCompositionEnd"):kf(t,u)&&(v="onCompositionStart"),!v)return null;xf&&!rm(u)&&(!fo&&v==="onCompositionStart"?fo=vl(f):v==="onCompositionEnd"&&fo&&(y=Li()));var E=cm(a,v);if(E.length>0){var C=new Yh(v,t,null,u,f);if(e.push({event:C,listeners:E}),y)C.data=y;else{var k=Df(u);k!==null&&(C.data=k)}}}function _f(e,t){switch(e){case"compositionend":return Df(t);case"keypress":var a=t.which;return a!==tm?null:(Dp=!0,Rf);case"textInput":var u=t.data;return u===Rf&&Dp?null:u;default:return null}}function Lp(e,t){if(fo){if(e==="compositionend"||!zi&&_p(e,t)){var a=Li();return Ef(),fo=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!nm(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return xf&&!rm(t)?null:t.data;default:return null}}function Mf(e,t,a,u,f){var v;if(kp?v=_f(t,u):v=Lp(t,u),!v)return null;var y=cm(a,"onBeforeInput");if(y.length>0){var E=new qh("onBeforeInput","beforeinput",null,u,f);e.push({event:E,listeners:y}),E.data=v}}function am(e,t,a,u,f,v,y){Mp(e,t,a,u,f),Mf(e,t,a,u,f)}var Fy={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function As(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Fy[e.type]:t==="textarea"}/**
|
|
66
|
-
* Checks if an event is supported in the current execution environment.
|
|
67
|
-
*
|
|
68
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
69
|
-
* `reset`, `load`, `error`, and `select`.
|
|
70
|
-
*
|
|
71
|
-
* Borrows from Modernizr.
|
|
72
|
-
*
|
|
73
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
74
|
-
* @return {boolean} True if the event is supported.
|
|
75
|
-
* @internal
|
|
76
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
77
|
-
*/function Iy(e){if(!Et)return!1;var t="on"+e,a=t in document;if(!a){var u=document.createElement("div");u.setAttribute(t,"return;"),a=typeof u[t]=="function"}return a}function Ps(){Bt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function im(e,t,a,u){Yo(u);var f=cm(t,"onChange");if(f.length>0){var v=new oi("onChange","change",null,a,u);e.push({event:v,listeners:f})}}var yl=null,n=null;function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function s(e){var t=[];im(t,n,e,Yd(e)),gh(d,t)}function d(e){Bb(e,0)}function g(e){var t=jf(e);if(Pl(t))return e}function S(e,t){if(e==="change")return t}var x=!1;Et&&(x=Iy("input")&&(!document.documentMode||document.documentMode>9));function A(e,t){yl=e,n=t,yl.attachEvent("onpropertychange",K)}function F(){yl&&(yl.detachEvent("onpropertychange",K),yl=null,n=null)}function K(e){e.propertyName==="value"&&g(n)&&s(e)}function de(e,t,a){e==="focusin"?(F(),A(t,a)):e==="focusout"&&F()}function he(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return g(n)}function fe(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function De(e,t){if(e==="click")return g(t)}function ze(e,t){if(e==="input"||e==="change")return g(t)}function je(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ec(e,"number",e.value)}function pn(e,t,a,u,f,v,y){var E=a?jf(a):window,C,k;if(r(E)?C=S:As(E)?x?C=ze:(C=he,k=de):fe(E)&&(C=De),C){var _=C(t,a);if(_){im(e,_,u,f);return}}k&&k(t,E,a),t==="focusout"&&je(E)}function W(){Dt("onMouseEnter",["mouseout","mouseover"]),Dt("onMouseLeave",["mouseout","mouseover"]),Dt("onPointerEnter",["pointerout","pointerover"]),Dt("onPointerLeave",["pointerout","pointerover"])}function H(e,t,a,u,f,v,y){var E=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(E&&!Zu(u)){var k=u.relatedTarget||u.fromElement;if(k&&(Fs(k)||Gp(k)))return}if(!(!C&&!E)){var _;if(f.window===f)_=f;else{var B=f.ownerDocument;B?_=B.defaultView||B.parentWindow:_=window}var I,X;if(C){var Z=u.relatedTarget||u.toElement;if(I=a,X=Z?Fs(Z):null,X!==null){var te=ea(X);(X!==te||X.tag!==L&&X.tag!==M)&&(X=null)}}else I=null,X=a;if(I!==X){var Oe=Tp,We="onMouseLeave",Ie="onMouseEnter",dt="mouse";(t==="pointerout"||t==="pointerover")&&(Oe=Zh,We="onPointerLeave",Ie="onPointerEnter",dt="pointer");var ut=I==null?_:jf(I),G=X==null?_:jf(X),ne=new Oe(We,dt+"leave",I,u,f);ne.target=ut,ne.relatedTarget=G;var Y=null,me=Fs(f);if(me===a){var Me=new Oe(Ie,dt+"enter",X,u,f);Me.target=G,Me.relatedTarget=ut,Y=Me}LR(e,ne,Y,I,X)}}}function Q(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var pe=typeof Object.is=="function"?Object.is:Q;function Ae(e,t){if(pe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),u=Object.keys(t);if(a.length!==u.length)return!1;for(var f=0;f<a.length;f++){var v=a[f];if(!Kt.call(t,v)||!pe(e[v],t[v]))return!1}return!0}function Ye(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qe(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ze(e,t){for(var a=Ye(e),u=0,f=0;a;){if(a.nodeType===Ti){if(f=u+a.textContent.length,u<=t&&f>=t)return{node:a,offset:t-u};u=f}a=Ye(qe(a))}}function Fn(e){var t=e.ownerDocument,a=t&&t.defaultView||window,u=a.getSelection&&a.getSelection();if(!u||u.rangeCount===0)return null;var f=u.anchorNode,v=u.anchorOffset,y=u.focusNode,E=u.focusOffset;try{f.nodeType,y.nodeType}catch{return null}return yt(e,f,v,y,E)}function yt(e,t,a,u,f){var v=0,y=-1,E=-1,C=0,k=0,_=e,B=null;e:for(;;){for(var I=null;_===t&&(a===0||_.nodeType===Ti)&&(y=v+a),_===u&&(f===0||_.nodeType===Ti)&&(E=v+f),_.nodeType===Ti&&(v+=_.nodeValue.length),(I=_.firstChild)!==null;)B=_,_=I;for(;;){if(_===e)break e;if(B===t&&++C===a&&(y=v),B===u&&++k===f&&(E=v),(I=_.nextSibling)!==null)break;_=B,B=_.parentNode}_=I}return y===-1||E===-1?null:{start:y,end:E}}function Sl(e,t){var a=e.ownerDocument||document,u=a&&a.defaultView||window;if(u.getSelection){var f=u.getSelection(),v=e.textContent.length,y=Math.min(t.start,v),E=t.end===void 0?y:Math.min(t.end,v);if(!f.extend&&y>E){var C=E;E=y,y=C}var k=Ze(e,y),_=Ze(e,E);if(k&&_){if(f.rangeCount===1&&f.anchorNode===k.node&&f.anchorOffset===k.offset&&f.focusNode===_.node&&f.focusOffset===_.offset)return;var B=a.createRange();B.setStart(k.node,k.offset),f.removeAllRanges(),y>E?(f.addRange(B),f.extend(_.node,_.offset)):(B.setEnd(_.node,_.offset),f.addRange(B))}}}function lm(e){return e&&e.nodeType===Ti}function Mb(e,t){return!e||!t?!1:e===t?!0:lm(e)?!1:lm(t)?Mb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function vR(e){return e&&e.ownerDocument&&Mb(e.ownerDocument.documentElement,e)}function hR(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function Lb(){for(var e=window,t=jl();t instanceof e.HTMLIFrameElement;){if(hR(t))e=t.contentWindow;else return t;t=jl(e.document)}return t}function Hy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function mR(){var e=Lb();return{focusedElem:e,selectionRange:Hy(e)?yR(e):null}}function gR(e){var t=Lb(),a=e.focusedElem,u=e.selectionRange;if(t!==a&&vR(a)){u!==null&&Hy(a)&&SR(a,u);for(var f=[],v=a;v=v.parentNode;)v.nodeType===zr&&f.push({element:v,left:v.scrollLeft,top:v.scrollTop});typeof a.focus=="function"&&a.focus();for(var y=0;y<f.length;y++){var E=f[y];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}}function yR(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Fn(e),t||{start:0,end:0}}function SR(e,t){var a=t.start,u=t.end;u===void 0&&(u=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(u,e.value.length)):Sl(e,t)}var wR=Et&&"documentMode"in document&&document.documentMode<=11;function bR(){Bt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Lf=null,By=null,Np=null,Vy=!1;function ER(e){if("selectionStart"in e&&Hy(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function TR(e){return e.window===e?e.document:e.nodeType===Ci?e:e.ownerDocument}function Nb(e,t,a){var u=TR(a);if(!(Vy||Lf==null||Lf!==jl(u))){var f=ER(Lf);if(!Np||!Ae(Np,f)){Np=f;var v=cm(By,"onSelect");if(v.length>0){var y=new oi("onSelect","select",null,t,a);e.push({event:y,listeners:v}),y.target=Lf}}}}function CR(e,t,a,u,f,v,y){var E=a?jf(a):window;switch(t){case"focusin":(As(E)||E.contentEditable==="true")&&(Lf=E,By=a,Np=null);break;case"focusout":Lf=null,By=null,Np=null;break;case"mousedown":Vy=!0;break;case"contextmenu":case"mouseup":case"dragend":Vy=!1,Nb(e,u,f);break;case"selectionchange":if(wR)break;case"keydown":case"keyup":Nb(e,u,f)}}function om(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Nf={animationend:om("Animation","AnimationEnd"),animationiteration:om("Animation","AnimationIteration"),animationstart:om("Animation","AnimationStart"),transitionend:om("Transition","TransitionEnd")},$y={},zb={};Et&&(zb=document.createElement("div").style,"AnimationEvent"in window||(delete Nf.animationend.animation,delete Nf.animationiteration.animation,delete Nf.animationstart.animation),"TransitionEvent"in window||delete Nf.transitionend.transition);function um(e){if($y[e])return $y[e];if(!Nf[e])return e;var t=Nf[e];for(var a in t)if(t.hasOwnProperty(a)&&a in zb)return $y[e]=t[a];return e}var Ab=um("animationend"),Pb=um("animationiteration"),jb=um("animationstart"),Ub=um("transitionend"),Fb=new Map,Ib=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function fu(e,t){Fb.set(e,t),Bt(t,[e])}function xR(){for(var e=0;e<Ib.length;e++){var t=Ib[e],a=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);fu(a,"on"+u)}fu(Ab,"onAnimationEnd"),fu(Pb,"onAnimationIteration"),fu(jb,"onAnimationStart"),fu("dblclick","onDoubleClick"),fu("focusin","onFocus"),fu("focusout","onBlur"),fu(Ub,"onTransitionEnd")}function RR(e,t,a,u,f,v,y){var E=Fb.get(t);if(E!==void 0){var C=oi,k=t;switch(t){case"keypress":if(hl(u)===0)return;case"keydown":case"keyup":C=Kh;break;case"focusin":k="focus",C=Ni;break;case"focusout":k="blur",C=Ni;break;case"beforeblur":case"afterblur":C=Ni;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=Tp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=so;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=em;break;case Ab:case Pb:case jb:C=Gh;break;case Ub:C=xa;break;case"scroll":C=$r;break;case"wheel":C=jy;break;case"copy":case"cut":case"paste":C=Cf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=Zh;break}var _=(v&ma)!==0;{var B=!_&&t==="scroll",I=_R(a,E,u.type,_,B);if(I.length>0){var X=new C(E,k,null,u,f);e.push({event:X,listeners:I})}}}}xR(),W(),Ps(),bR(),Uy();function OR(e,t,a,u,f,v,y){RR(e,t,a,u,f,v);var E=(v&Gd)===0;E&&(H(e,t,a,u,f),pn(e,t,a,u,f),CR(e,t,a,u,f),am(e,t,a,u,f))}var zp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Wy=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(zp));function Hb(e,t,a){var u=e.type||"unknown-event";e.currentTarget=a,Ka(u,t,void 0,e),e.currentTarget=null}function kR(e,t,a){var u;if(a)for(var f=t.length-1;f>=0;f--){var v=t[f],y=v.instance,E=v.currentTarget,C=v.listener;if(y!==u&&e.isPropagationStopped())return;Hb(e,C,E),u=y}else for(var k=0;k<t.length;k++){var _=t[k],B=_.instance,I=_.currentTarget,X=_.listener;if(B!==u&&e.isPropagationStopped())return;Hb(e,X,I),u=B}}function Bb(e,t){for(var a=(t&ma)!==0,u=0;u<e.length;u++){var f=e[u],v=f.event,y=f.listeners;kR(v,y,a)}ts()}function DR(e,t,a,u,f){var v=Yd(a),y=[];OR(y,e,u,a,v,t),Bb(y,t)}function Xt(e,t){Wy.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,u=ik(t),f=NR(e);u.has(f)||(Vb(t,e,Mc,a),u.add(f))}function Gy(e,t,a){Wy.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=ma),Vb(a,e,u,t)}var sm="_reactListening"+Math.random().toString(36).slice(2);function Ap(e){if(!e[sm]){e[sm]=!0,nt.forEach(function(a){a!=="selectionchange"&&(Wy.has(a)||Gy(a,!1,e),Gy(a,!0,e))});var t=e.nodeType===Ci?e:e.ownerDocument;t!==null&&(t[sm]||(t[sm]=!0,Gy("selectionchange",!1,t)))}}function Vb(e,t,a,u,f){var v=Xn(e,t,a),y=void 0;es&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(y=!0),e=e,u?y!==void 0?Ep(e,t,v,y):Vr(e,t,v):y!==void 0?ou(e,t,v,y):_s(e,t,v)}function $b(e,t){return e===t||e.nodeType===gn&&e.parentNode===t}function Yy(e,t,a,u,f){var v=u;if((t&Wd)===0&&(t&Mc)===0){var y=f;if(u!==null){var E=u;e:for(;;){if(E===null)return;var C=E.tag;if(C===R||C===D){var k=E.stateNode.containerInfo;if($b(k,y))break;if(C===D)for(var _=E.return;_!==null;){var B=_.tag;if(B===R||B===D){var I=_.stateNode.containerInfo;if($b(I,y))return}_=_.return}for(;k!==null;){var X=Fs(k);if(X===null)return;var Z=X.tag;if(Z===L||Z===M){E=v=X;continue e}k=k.parentNode}}E=E.return}}}gh(function(){return DR(e,t,a,v)})}function Pp(e,t,a){return{instance:e,listener:t,currentTarget:a}}function _R(e,t,a,u,f,v){for(var y=t!==null?t+"Capture":null,E=u?y:t,C=[],k=e,_=null;k!==null;){var B=k,I=B.stateNode,X=B.tag;if(X===L&&I!==null&&(_=I,E!==null)){var Z=nl(k,E);Z!=null&&C.push(Pp(k,Z,_))}if(f)break;k=k.return}return C}function cm(e,t){for(var a=t+"Capture",u=[],f=e;f!==null;){var v=f,y=v.stateNode,E=v.tag;if(E===L&&y!==null){var C=y,k=nl(f,a);k!=null&&u.unshift(Pp(f,k,C));var _=nl(f,t);_!=null&&u.push(Pp(f,_,C))}f=f.return}return u}function zf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==L);return e||null}function MR(e,t){for(var a=e,u=t,f=0,v=a;v;v=zf(v))f++;for(var y=0,E=u;E;E=zf(E))y++;for(;f-y>0;)a=zf(a),f--;for(;y-f>0;)u=zf(u),y--;for(var C=f;C--;){if(a===u||u!==null&&a===u.alternate)return a;a=zf(a),u=zf(u)}return null}function Wb(e,t,a,u,f){for(var v=t._reactName,y=[],E=a;E!==null&&E!==u;){var C=E,k=C.alternate,_=C.stateNode,B=C.tag;if(k!==null&&k===u)break;if(B===L&&_!==null){var I=_;if(f){var X=nl(E,v);X!=null&&y.unshift(Pp(E,X,I))}else if(!f){var Z=nl(E,v);Z!=null&&y.push(Pp(E,Z,I))}}E=E.return}y.length!==0&&e.push({event:t,listeners:y})}function LR(e,t,a,u,f){var v=u&&f?MR(u,f):null;u!==null&&Wb(e,t,u,v,!1),f!==null&&a!==null&&Wb(e,a,f,v,!0)}function NR(e,t){return e+"__bubble"}var Ra=!1,jp="dangerouslySetInnerHTML",fm="suppressContentEditableWarning",du="suppressHydrationWarning",Gb="autoFocus",js="children",Us="style",dm="__html",qy,pm,Up,Yb,vm,qb,Qb;qy={dialog:!0,webview:!0},pm=function(e,t){Bd(e,t),Dc(e,t),vh(e,t,{registrationNameDependencies:pt,possibleRegistrationNames:zt})},qb=Et&&!document.documentMode,Up=function(e,t,a){if(!Ra){var u=hm(a),f=hm(t);f!==u&&(Ra=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(f),JSON.stringify(u)))}},Yb=function(e){if(!Ra){Ra=!0;var t=[];e.forEach(function(a){t.push(a)}),m("Extra attributes from the server: %s",t)}},vm=function(e,t){t===!1?m("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Qb=function(e,t){var a=e.namespaceURI===Ei?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var zR=/\r\n?/g,AR=/\u0000|\uFFFD/g;function hm(e){Mr(e);var t=typeof e=="string"?e:""+e;return t.replace(zR,`
|
|
78
|
-
`).replace(AR,"")}function mm(e,t,a,u){var f=hm(t),v=hm(e);if(v!==f&&(u&&(Ra||(Ra=!0,m('Text content did not match. Server: "%s" Client: "%s"',v,f))),a&&$e))throw new Error("Text content does not match server-rendered HTML.")}function Xb(e){return e.nodeType===Ci?e:e.ownerDocument}function PR(){}function gm(e){e.onclick=PR}function jR(e,t,a,u,f){for(var v in u)if(u.hasOwnProperty(v)){var y=u[v];if(v===Us)y&&Object.freeze(y),uh(t,y);else if(v===jp){var E=y?y[dm]:void 0;E!=null&&Xv(t,E)}else if(v===js)if(typeof y=="string"){var C=e!=="textarea"||y!=="";C&&Vo(t,y)}else typeof y=="number"&&Vo(t,""+y);else v===fm||v===du||v===Gb||(pt.hasOwnProperty(v)?y!=null&&(typeof y!="function"&&vm(v,y),v==="onScroll"&&Xt("scroll",t)):y!=null&&gi(t,v,y,f))}}function UR(e,t,a,u){for(var f=0;f<t.length;f+=2){var v=t[f],y=t[f+1];v===Us?uh(e,y):v===jp?Xv(e,y):v===js?Vo(e,y):gi(e,v,y,u)}}function FR(e,t,a,u){var f,v=Xb(a),y,E=u;if(E===Ei&&(E=Ad(e)),E===Ei){if(f=el(e,t),!f&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=v.createElement("div");C.innerHTML="<script><\/script>";var k=C.firstChild;y=C.removeChild(k)}else if(typeof t.is=="string")y=v.createElement(e,{is:t.is});else if(y=v.createElement(e),e==="select"){var _=y;t.multiple?_.multiple=!0:t.size&&(_.size=t.size)}}else y=v.createElementNS(E,e);return E===Ei&&!f&&Object.prototype.toString.call(y)==="[object HTMLUnknownElement]"&&!Kt.call(qy,e)&&(qy[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),y}function IR(e,t){return Xb(t).createTextNode(e)}function HR(e,t,a,u){var f=el(t,a);pm(t,a);var v;switch(t){case"dialog":Xt("cancel",e),Xt("close",e),v=a;break;case"iframe":case"object":case"embed":Xt("load",e),v=a;break;case"video":case"audio":for(var y=0;y<zp.length;y++)Xt(zp[y],e);v=a;break;case"source":Xt("error",e),v=a;break;case"img":case"image":case"link":Xt("error",e),Xt("load",e),v=a;break;case"details":Xt("toggle",e),v=a;break;case"input":bi(e,a),v=yc(e,a),Xt("invalid",e);break;case"option":Ho(e,a),v=a;break;case"select":Cc(e,a),v=_d(e,a),Xt("invalid",e);break;case"textarea":Ld(e,a),v=Md(e,a),Xt("invalid",e);break;default:v=a}switch(Oc(t,v),jR(t,e,u,v,f),t){case"input":Ji(e),Od(e,a,!1);break;case"textarea":Ji(e),qv(e);break;case"option":cy(e,a);break;case"select":dy(e,a);break;default:typeof v.onClick=="function"&&gm(e);break}}function BR(e,t,a,u,f){pm(t,u);var v=null,y,E;switch(t){case"input":y=yc(e,a),E=yc(e,u),v=[];break;case"select":y=_d(e,a),E=_d(e,u),v=[];break;case"textarea":y=Md(e,a),E=Md(e,u),v=[];break;default:y=a,E=u,typeof y.onClick!="function"&&typeof E.onClick=="function"&&gm(e);break}Oc(t,E);var C,k,_=null;for(C in y)if(!(E.hasOwnProperty(C)||!y.hasOwnProperty(C)||y[C]==null))if(C===Us){var B=y[C];for(k in B)B.hasOwnProperty(k)&&(_||(_={}),_[k]="")}else C===jp||C===js||C===fm||C===du||C===Gb||(pt.hasOwnProperty(C)?v||(v=[]):(v=v||[]).push(C,null));for(C in E){var I=E[C],X=y!=null?y[C]:void 0;if(!(!E.hasOwnProperty(C)||I===X||I==null&&X==null))if(C===Us)if(I&&Object.freeze(I),X){for(k in X)X.hasOwnProperty(k)&&(!I||!I.hasOwnProperty(k))&&(_||(_={}),_[k]="");for(k in I)I.hasOwnProperty(k)&&X[k]!==I[k]&&(_||(_={}),_[k]=I[k])}else _||(v||(v=[]),v.push(C,_)),_=I;else if(C===jp){var Z=I?I[dm]:void 0,te=X?X[dm]:void 0;Z!=null&&te!==Z&&(v=v||[]).push(C,Z)}else C===js?(typeof I=="string"||typeof I=="number")&&(v=v||[]).push(C,""+I):C===fm||C===du||(pt.hasOwnProperty(C)?(I!=null&&(typeof I!="function"&&vm(C,I),C==="onScroll"&&Xt("scroll",e)),!v&&X!==I&&(v=[])):(v=v||[]).push(C,I))}return _&&(by(_,E[Us]),(v=v||[]).push(Us,_)),v}function VR(e,t,a,u,f){a==="input"&&f.type==="radio"&&f.name!=null&&Sc(e,f);var v=el(a,u),y=el(a,f);switch(UR(e,t,v,y),a){case"input":Io(e,f);break;case"textarea":Yv(e,f);break;case"select":py(e,f);break}}function $R(e){{var t=e.toLowerCase();return Xu.hasOwnProperty(t)&&Xu[t]||null}}function WR(e,t,a,u,f,v,y){var E,C;switch(E=el(t,a),pm(t,a),t){case"dialog":Xt("cancel",e),Xt("close",e);break;case"iframe":case"object":case"embed":Xt("load",e);break;case"video":case"audio":for(var k=0;k<zp.length;k++)Xt(zp[k],e);break;case"source":Xt("error",e);break;case"img":case"image":case"link":Xt("error",e),Xt("load",e);break;case"details":Xt("toggle",e);break;case"input":bi(e,a),Xt("invalid",e);break;case"option":Ho(e,a);break;case"select":Cc(e,a),Xt("invalid",e);break;case"textarea":Ld(e,a),Xt("invalid",e);break}Oc(t,a);{C=new Set;for(var _=e.attributes,B=0;B<_.length;B++){var I=_[B].name.toLowerCase();switch(I){case"value":break;case"checked":break;case"selected":break;default:C.add(_[B].name)}}}var X=null;for(var Z in a)if(a.hasOwnProperty(Z)){var te=a[Z];if(Z===js)typeof te=="string"?e.textContent!==te&&(a[du]!==!0&&mm(e.textContent,te,v,y),X=[js,te]):typeof te=="number"&&e.textContent!==""+te&&(a[du]!==!0&&mm(e.textContent,te,v,y),X=[js,""+te]);else if(pt.hasOwnProperty(Z))te!=null&&(typeof te!="function"&&vm(Z,te),Z==="onScroll"&&Xt("scroll",e));else if(y&&typeof E=="boolean"){var Oe=void 0,We=en(Z);if(a[du]!==!0){if(!(Z===fm||Z===du||Z==="value"||Z==="checked"||Z==="selected")){if(Z===jp){var Ie=e.innerHTML,dt=te?te[dm]:void 0;if(dt!=null){var ut=Qb(e,dt);ut!==Ie&&Up(Z,Ie,ut)}}else if(Z===Us){if(C.delete(Z),qb){var G=Sy(te);Oe=e.getAttribute("style"),G!==Oe&&Up(Z,Oe,G)}}else if(E)C.delete(Z.toLowerCase()),Oe=Po(e,Z,te),te!==Oe&&Up(Z,Oe,te);else if(!Vn(Z,We,E)&&!$n(Z,te,We,E)){var ne=!1;if(We!==null)C.delete(We.attributeName),Oe=mi(e,Z,te,We);else{var Y=u;if(Y===Ei&&(Y=Ad(t)),Y===Ei)C.delete(Z.toLowerCase());else{var me=$R(Z);me!==null&&me!==Z&&(ne=!0,C.delete(me)),C.delete(Z)}Oe=Po(e,Z,te)}var Me=tt;!Me&&te!==Oe&&!ne&&Up(Z,Oe,te)}}}}}switch(y&&C.size>0&&a[du]!==!0&&Yb(C),t){case"input":Ji(e),Od(e,a,!0);break;case"textarea":Ji(e),qv(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&gm(e);break}return X}function GR(e,t,a){var u=e.nodeValue!==t;return u}function Qy(e,t){{if(Ra)return;Ra=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Xy(e,t){{if(Ra)return;Ra=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Ky(e,t,a){{if(Ra)return;Ra=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Zy(e,t){{if(t===""||Ra)return;Ra=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function YR(e,t,a){switch(t){case"input":wc(e,a);return;case"textarea":hy(e,a);return;case"select":vy(e,a);return}}var Fp=function(){},Ip=function(){};{var qR=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Kb=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],QR=Kb.concat(["button"]),XR=["dd","dt","li","option","optgroup","p","rp","rt"],Zb={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Ip=function(e,t){var a=Ne({},e||Zb),u={tag:t};return Kb.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),QR.indexOf(t)!==-1&&(a.pTagInButtonScope=null),qR.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=u,t==="form"&&(a.formTag=u),t==="a"&&(a.aTagInScope=u),t==="button"&&(a.buttonTagInScope=u),t==="nobr"&&(a.nobrTagInScope=u),t==="p"&&(a.pTagInButtonScope=u),t==="li"&&(a.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=u),a};var KR=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return XR.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},ZR=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},Jb={};Fp=function(e,t,a){a=a||Zb;var u=a.current,f=u&&u.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var v=KR(e,f)?null:u,y=v?null:ZR(e,a),E=v||y;if(E){var C=E.tag,k=!!v+"|"+e+"|"+C;if(!Jb[k]){Jb[k]=!0;var _=e,B="";if(e==="#text"?/\S/.test(t)?_="Text nodes":(_="Whitespace text nodes",B=" Make sure you don't have any extra whitespace between tags on each line of your source code."):_="<"+e+">",v){var I="";C==="table"&&e==="tr"&&(I+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",_,C,B,I)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",_,C)}}}}var ym="suppressHydrationWarning",Sm="$",wm="/$",Hp="$?",Bp="$!",JR="style",Jy=null,eS=null;function eO(e){var t,a,u=e.nodeType;switch(u){case Ci:case jd:{t=u===Ci?"#document":"#fragment";var f=e.documentElement;a=f?f.namespaceURI:Pd(null,"");break}default:{var v=u===gn?e.parentNode:e,y=v.namespaceURI||null;t=v.tagName,a=Pd(y,t);break}}{var E=t.toLowerCase(),C=Ip(null,E);return{namespace:a,ancestorInfo:C}}}function tO(e,t,a){{var u=e,f=Pd(u.namespace,t),v=Ip(u.ancestorInfo,t);return{namespace:f,ancestorInfo:v}}}function f3(e){return e}function nO(e){Jy=Tn(),eS=mR();var t=null;return Ln(!1),t}function rO(e){gR(eS),Ln(Jy),Jy=null,eS=null}function aO(e,t,a,u,f){var v;{var y=u;if(Fp(e,null,y.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var E=""+t.children,C=Ip(y.ancestorInfo,e);Fp(null,E,C)}v=y.namespace}var k=FR(e,t,a,v);return Wp(f,k),uS(k,t),k}function iO(e,t){e.appendChild(t)}function lO(e,t,a,u,f){switch(HR(e,t,a,u),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function oO(e,t,a,u,f,v){{var y=v;if(typeof u.children!=typeof a.children&&(typeof u.children=="string"||typeof u.children=="number")){var E=""+u.children,C=Ip(y.ancestorInfo,t);Fp(null,E,C)}}return BR(e,t,a,u)}function tS(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function uO(e,t,a,u){{var f=a;Fp(null,e,f.ancestorInfo)}var v=IR(e,t);return Wp(u,v),v}function sO(){var e=window.event;return e===void 0?Ea:bf(e.type)}var nS=typeof setTimeout=="function"?setTimeout:void 0,cO=typeof clearTimeout=="function"?clearTimeout:void 0,rS=-1,eE=typeof Promise=="function"?Promise:void 0,fO=typeof queueMicrotask=="function"?queueMicrotask:typeof eE<"u"?function(e){return eE.resolve(null).then(e).catch(dO)}:nS;function dO(e){setTimeout(function(){throw e})}function pO(e,t,a,u){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function vO(e,t,a,u,f,v){VR(e,t,a,u,f),uS(e,f)}function tE(e){Vo(e,"")}function hO(e,t,a){e.nodeValue=a}function mO(e,t){e.appendChild(t)}function gO(e,t){var a;e.nodeType===gn?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var u=e._reactRootContainer;u==null&&a.onclick===null&&gm(a)}function yO(e,t,a){e.insertBefore(t,a)}function SO(e,t,a){e.nodeType===gn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function wO(e,t){e.removeChild(t)}function bO(e,t){e.nodeType===gn?e.parentNode.removeChild(t):e.removeChild(t)}function aS(e,t){var a=t,u=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===gn){var v=f.data;if(v===wm)if(u===0){e.removeChild(f),lo(t);return}else u--;else(v===Sm||v===Hp||v===Bp)&&u++}a=f}while(a);lo(t)}function EO(e,t){e.nodeType===gn?aS(e.parentNode,t):e.nodeType===zr&&aS(e,t),lo(e)}function TO(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function CO(e){e.nodeValue=""}function xO(e,t){e=e;var a=t[JR],u=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=Rc("display",u)}function RO(e,t){e.nodeValue=t}function OO(e){e.nodeType===zr?e.textContent="":e.nodeType===Ci&&e.documentElement&&e.removeChild(e.documentElement)}function kO(e,t,a){return e.nodeType!==zr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function DO(e,t){return t===""||e.nodeType!==Ti?null:e}function _O(e){return e.nodeType!==gn?null:e}function nE(e){return e.data===Hp}function iS(e){return e.data===Bp}function MO(e){var t=e.nextSibling&&e.nextSibling.dataset,a,u,f;return t&&(a=t.dgst,u=t.msg,f=t.stck),{message:u,digest:a,stack:f}}function LO(e,t){e._reactRetry=t}function bm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===zr||t===Ti)break;if(t===gn){var a=e.data;if(a===Sm||a===Bp||a===Hp)break;if(a===wm)return null}}return e}function Vp(e){return bm(e.nextSibling)}function NO(e){return bm(e.firstChild)}function zO(e){return bm(e.firstChild)}function AO(e){return bm(e.nextSibling)}function PO(e,t,a,u,f,v,y){Wp(v,e),uS(e,a);var E;{var C=f;E=C.namespace}var k=(v.mode<)!==Ve;return WR(e,t,a,E,u,k,y)}function jO(e,t,a,u){return Wp(a,e),a.mode<,GR(e,t)}function UO(e,t){Wp(t,e)}function FO(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===gn){var u=t.data;if(u===wm){if(a===0)return Vp(t);a--}else(u===Sm||u===Bp||u===Hp)&&a++}t=t.nextSibling}return null}function rE(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===gn){var u=t.data;if(u===Sm||u===Bp||u===Hp){if(a===0)return t;a--}else u===wm&&a++}t=t.previousSibling}return null}function IO(e){lo(e)}function HO(e){lo(e)}function BO(e){return e!=="head"&&e!=="body"}function VO(e,t,a,u){var f=!0;mm(t.nodeValue,a,u,f)}function $O(e,t,a,u,f,v){if(t[ym]!==!0){var y=!0;mm(u.nodeValue,f,v,y)}}function WO(e,t){t.nodeType===zr?Qy(e,t):t.nodeType===gn||Xy(e,t)}function GO(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===zr?Qy(a,t):t.nodeType===gn||Xy(a,t))}}function YO(e,t,a,u,f){(f||t[ym]!==!0)&&(u.nodeType===zr?Qy(a,u):u.nodeType===gn||Xy(a,u))}function qO(e,t,a){Ky(e,t)}function QO(e,t){Zy(e,t)}function XO(e,t,a){{var u=e.parentNode;u!==null&&Ky(u,t)}}function KO(e,t){{var a=e.parentNode;a!==null&&Zy(a,t)}}function ZO(e,t,a,u,f,v){(v||t[ym]!==!0)&&Ky(a,u)}function JO(e,t,a,u,f){(f||t[ym]!==!0)&&Zy(a,u)}function ek(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function tk(e){Ap(e)}var Af=Math.random().toString(36).slice(2),Pf="__reactFiber$"+Af,lS="__reactProps$"+Af,$p="__reactContainer$"+Af,oS="__reactEvents$"+Af,nk="__reactListeners$"+Af,rk="__reactHandles$"+Af;function ak(e){delete e[Pf],delete e[lS],delete e[oS],delete e[nk],delete e[rk]}function Wp(e,t){t[Pf]=e}function Em(e,t){t[$p]=e}function aE(e){e[$p]=null}function Gp(e){return!!e[$p]}function Fs(e){var t=e[Pf];if(t)return t;for(var a=e.parentNode;a;){if(t=a[$p]||a[Pf],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var f=rE(e);f!==null;){var v=f[Pf];if(v)return v;f=rE(f)}return t}e=a,a=e.parentNode}return null}function pu(e){var t=e[Pf]||e[$p];return t&&(t.tag===L||t.tag===M||t.tag===$||t.tag===R)?t:null}function jf(e){if(e.tag===L||e.tag===M)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Tm(e){return e[lS]||null}function uS(e,t){e[lS]=t}function ik(e){var t=e[oS];return t===void 0&&(t=e[oS]=new Set),t}var iE={},lE=o.ReactDebugCurrentFrame;function Cm(e){if(e){var t=e._owner,a=Al(e.type,e._source,t?t.type:null);lE.setExtraStackFrame(a)}else lE.setExtraStackFrame(null)}function Ai(e,t,a,u,f){{var v=Function.call.bind(Kt);for(var y in e)if(v(e,y)){var E=void 0;try{if(typeof e[y]!="function"){var C=Error((u||"React class")+": "+a+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}E=e[y](t,y,u,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(k){E=k}E&&!(E instanceof Error)&&(Cm(f),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",a,y,typeof E),Cm(null)),E instanceof Error&&!(E.message in iE)&&(iE[E.message]=!0,Cm(f),m("Failed %s type: %s",a,E.message),Cm(null))}}}var sS=[],xm;xm=[];var po=-1;function vu(e){return{current:e}}function Wr(e,t){if(po<0){m("Unexpected pop.");return}t!==xm[po]&&m("Unexpected Fiber popped."),e.current=sS[po],sS[po]=null,xm[po]=null,po--}function Gr(e,t,a){po++,sS[po]=e.current,xm[po]=a,e.current=t}var cS;cS={};var Ba={};Object.freeze(Ba);var vo=vu(Ba),wl=vu(!1),fS=Ba;function Uf(e,t,a){return a&&bl(t)?fS:vo.current}function oE(e,t,a){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=a}}function Ff(e,t){{var a=e.type,u=a.contextTypes;if(!u)return Ba;var f=e.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===t)return f.__reactInternalMemoizedMaskedChildContext;var v={};for(var y in u)v[y]=t[y];{var E=rt(e)||"Unknown";Ai(u,v,"context",E)}return f&&oE(e,t,v),v}}function Rm(){return wl.current}function bl(e){{var t=e.childContextTypes;return t!=null}}function Om(e){Wr(wl,e),Wr(vo,e)}function dS(e){Wr(wl,e),Wr(vo,e)}function uE(e,t,a){{if(vo.current!==Ba)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Gr(vo,t,e),Gr(wl,a,e)}}function sE(e,t,a){{var u=e.stateNode,f=t.childContextTypes;if(typeof u.getChildContext!="function"){{var v=rt(e)||"Unknown";cS[v]||(cS[v]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",v,v))}return a}var y=u.getChildContext();for(var E in y)if(!(E in f))throw new Error((rt(e)||"Unknown")+'.getChildContext(): key "'+E+'" is not defined in childContextTypes.');{var C=rt(e)||"Unknown";Ai(f,y,"child context",C)}return Ne({},a,y)}}function km(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||Ba;return fS=vo.current,Gr(vo,a,e),Gr(wl,wl.current,e),!0}}function cE(e,t,a){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(a){var f=sE(e,t,fS);u.__reactInternalMemoizedMergedChildContext=f,Wr(wl,e),Wr(vo,e),Gr(vo,f,e),Gr(wl,a,e)}else Wr(wl,e),Gr(wl,a,e)}}function lk(e){{if(!Gl(e)||e.tag!==T)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case R:return t.stateNode.context;case T:{var a=t.type;if(bl(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var hu=0,Dm=1,ho=null,pS=!1,vS=!1;function fE(e){ho===null?ho=[e]:ho.push(e)}function ok(e){pS=!0,fE(e)}function dE(){pS&&mu()}function mu(){if(!vS&&ho!==null){vS=!0;var e=0,t=Ca();try{var a=!0,u=ho;for(En(mr);e<u.length;e++){var f=u[e];do f=f(a);while(f!==null)}ho=null,pS=!1}catch(v){throw ho!==null&&(ho=ho.slice(e+1)),Qd(as,mu),v}finally{En(t),vS=!1}}return null}var If=[],Hf=0,_m=null,Mm=0,ui=[],si=0,Is=null,mo=1,go="";function uk(e){return Bs(),(e.flags&Za)!==Be}function sk(e){return Bs(),Mm}function ck(){var e=go,t=mo,a=t&~fk(t);return a.toString(32)+e}function Hs(e,t){Bs(),If[Hf++]=Mm,If[Hf++]=_m,_m=e,Mm=t}function pE(e,t,a){Bs(),ui[si++]=mo,ui[si++]=go,ui[si++]=Is,Is=e;var u=mo,f=go,v=Lm(u)-1,y=u&~(1<<v),E=a+1,C=Lm(t)+v;if(C>30){var k=v-v%5,_=(1<<k)-1,B=(y&_).toString(32),I=y>>k,X=v-k,Z=Lm(t)+X,te=E<<X,Oe=te|I,We=B+f;mo=1<<Z|Oe,go=We}else{var Ie=E<<v,dt=Ie|y,ut=f;mo=1<<C|dt,go=ut}}function hS(e){Bs();var t=e.return;if(t!==null){var a=1,u=0;Hs(e,a),pE(e,a,u)}}function Lm(e){return 32-wn(e)}function fk(e){return 1<<Lm(e)-1}function mS(e){for(;e===_m;)_m=If[--Hf],If[Hf]=null,Mm=If[--Hf],If[Hf]=null;for(;e===Is;)Is=ui[--si],ui[si]=null,go=ui[--si],ui[si]=null,mo=ui[--si],ui[si]=null}function dk(){return Bs(),Is!==null?{id:mo,overflow:go}:null}function pk(e,t){Bs(),ui[si++]=mo,ui[si++]=go,ui[si++]=Is,mo=t.id,go=t.overflow,Is=e}function Bs(){br()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var wr=null,ci=null,Pi=!1,Vs=!1,gu=null;function vk(){Pi&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function vE(){Vs=!0}function hk(){return Vs}function mk(e){var t=e.stateNode.containerInfo;return ci=zO(t),wr=e,Pi=!0,gu=null,Vs=!1,!0}function gk(e,t,a){return ci=AO(t),wr=e,Pi=!0,gu=null,Vs=!1,a!==null&&pk(e,a),!0}function hE(e,t){switch(e.tag){case R:{WO(e.stateNode.containerInfo,t);break}case L:{var a=(e.mode<)!==Ve;YO(e.type,e.memoizedProps,e.stateNode,t,a);break}case $:{var u=e.memoizedState;u.dehydrated!==null&&GO(u.dehydrated,t);break}}}function mE(e,t){hE(e,t);var a=bM();a.stateNode=t,a.return=e;var u=e.deletions;u===null?(e.deletions=[a],e.flags|=ga):u.push(a)}function gS(e,t){{if(Vs)return;switch(e.tag){case R:{var a=e.stateNode.containerInfo;switch(t.tag){case L:var u=t.type;t.pendingProps,qO(a,u);break;case M:var f=t.pendingProps;QO(a,f);break}break}case L:{var v=e.type,y=e.memoizedProps,E=e.stateNode;switch(t.tag){case L:{var C=t.type,k=t.pendingProps,_=(e.mode<)!==Ve;ZO(v,y,E,C,k,_);break}case M:{var B=t.pendingProps,I=(e.mode<)!==Ve;JO(v,y,E,B,I);break}}break}case $:{var X=e.memoizedState,Z=X.dehydrated;if(Z!==null)switch(t.tag){case L:var te=t.type;t.pendingProps,XO(Z,te);break;case M:var Oe=t.pendingProps;KO(Z,Oe);break}break}default:return}}}function gE(e,t){t.flags=t.flags&-4097|un,gS(e,t)}function yE(e,t){switch(e.tag){case L:{var a=e.type;e.pendingProps;var u=kO(t,a);return u!==null?(e.stateNode=u,wr=e,ci=NO(u),!0):!1}case M:{var f=e.pendingProps,v=DO(t,f);return v!==null?(e.stateNode=v,wr=e,ci=null,!0):!1}case $:{var y=_O(t);if(y!==null){var E={dehydrated:y,treeContext:dk(),retryLane:aa};e.memoizedState=E;var C=EM(y);return C.return=e,e.child=C,wr=e,ci=null,!0}return!1}default:return!1}}function yS(e){return(e.mode<)!==Ve&&(e.flags&He)===Be}function SS(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function wS(e){if(Pi){var t=ci;if(!t){yS(e)&&(gS(wr,e),SS()),gE(wr,e),Pi=!1,wr=e;return}var a=t;if(!yE(e,t)){yS(e)&&(gS(wr,e),SS()),t=Vp(a);var u=wr;if(!t||!yE(e,t)){gE(wr,e),Pi=!1,wr=e;return}mE(u,a)}}}function yk(e,t,a){var u=e.stateNode,f=!Vs,v=PO(u,e.type,e.memoizedProps,t,a,e,f);return e.updateQueue=v,v!==null}function Sk(e){var t=e.stateNode,a=e.memoizedProps,u=jO(t,a,e);if(u){var f=wr;if(f!==null)switch(f.tag){case R:{var v=f.stateNode.containerInfo,y=(f.mode<)!==Ve;VO(v,t,a,y);break}case L:{var E=f.type,C=f.memoizedProps,k=f.stateNode,_=(f.mode<)!==Ve;$O(E,C,k,t,a,_);break}}}return u}function wk(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");UO(a,e)}function bk(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return FO(a)}function SE(e){for(var t=e.return;t!==null&&t.tag!==L&&t.tag!==R&&t.tag!==$;)t=t.return;wr=t}function Nm(e){if(e!==wr)return!1;if(!Pi)return SE(e),Pi=!0,!1;if(e.tag!==R&&(e.tag!==L||BO(e.type)&&!tS(e.type,e.memoizedProps))){var t=ci;if(t)if(yS(e))wE(e),SS();else for(;t;)mE(e,t),t=Vp(t)}return SE(e),e.tag===$?ci=bk(e):ci=wr?Vp(e.stateNode):null,!0}function Ek(){return Pi&&ci!==null}function wE(e){for(var t=ci;t;)hE(e,t),t=Vp(t)}function Bf(){wr=null,ci=null,Pi=!1,Vs=!1}function bE(){gu!==null&&(vC(gu),gu=null)}function br(){return Pi}function bS(e){gu===null?gu=[e]:gu.push(e)}var Tk=o.ReactCurrentBatchConfig,Ck=null;function xk(){return Tk.transition}var ji={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var Rk=function(e){for(var t=null,a=e;a!==null;)a.mode&Mt&&(t=a),a=a.return;return t},$s=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},Yp=[],qp=[],Qp=[],Xp=[],Kp=[],Zp=[],Ws=new Set;ji.recordUnsafeLifecycleWarnings=function(e,t){Ws.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Yp.push(e),e.mode&Mt&&typeof t.UNSAFE_componentWillMount=="function"&&qp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Qp.push(e),e.mode&Mt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Xp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Kp.push(e),e.mode&Mt&&typeof t.UNSAFE_componentWillUpdate=="function"&&Zp.push(e))},ji.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Yp.length>0&&(Yp.forEach(function(I){e.add(rt(I)||"Component"),Ws.add(I.type)}),Yp=[]);var t=new Set;qp.length>0&&(qp.forEach(function(I){t.add(rt(I)||"Component"),Ws.add(I.type)}),qp=[]);var a=new Set;Qp.length>0&&(Qp.forEach(function(I){a.add(rt(I)||"Component"),Ws.add(I.type)}),Qp=[]);var u=new Set;Xp.length>0&&(Xp.forEach(function(I){u.add(rt(I)||"Component"),Ws.add(I.type)}),Xp=[]);var f=new Set;Kp.length>0&&(Kp.forEach(function(I){f.add(rt(I)||"Component"),Ws.add(I.type)}),Kp=[]);var v=new Set;if(Zp.length>0&&(Zp.forEach(function(I){v.add(rt(I)||"Component"),Ws.add(I.type)}),Zp=[]),t.size>0){var y=$s(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
79
|
-
|
|
80
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
81
|
-
|
|
82
|
-
Please update the following components: %s`,y)}if(u.size>0){var E=$s(u);m(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
83
|
-
|
|
84
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
85
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
86
|
-
|
|
87
|
-
Please update the following components: %s`,E)}if(v.size>0){var C=$s(v);m(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
88
|
-
|
|
89
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
90
|
-
|
|
91
|
-
Please update the following components: %s`,C)}if(e.size>0){var k=$s(e);h(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
92
|
-
|
|
93
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
94
|
-
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
95
|
-
|
|
96
|
-
Please update the following components: %s`,k)}if(a.size>0){var _=$s(a);h(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
97
|
-
|
|
98
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
99
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
100
|
-
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
101
|
-
|
|
102
|
-
Please update the following components: %s`,_)}if(f.size>0){var B=$s(f);h(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
103
|
-
|
|
104
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
105
|
-
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
106
|
-
|
|
107
|
-
Please update the following components: %s`,B)}};var zm=new Map,EE=new Set;ji.recordLegacyContextWarning=function(e,t){var a=Rk(e);if(a===null){m("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!EE.has(e.type)){var u=zm.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(u===void 0&&(u=[],zm.set(a,u)),u.push(e))}},ji.flushLegacyContextWarning=function(){zm.forEach(function(e,t){if(e.length!==0){var a=e[0],u=new Set;e.forEach(function(v){u.add(rt(v)||"Component"),EE.add(v.type)});var f=$s(u);try{Ft(a),m(`Legacy context API has been detected within a strict-mode tree.
|
|
108
|
-
|
|
109
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
110
|
-
|
|
111
|
-
Please update the following components: %s
|
|
112
|
-
|
|
113
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,f)}finally{nn()}}})},ji.discardPendingWarnings=function(){Yp=[],qp=[],Qp=[],Xp=[],Kp=[],Zp=[],zm=new Map}}var ES,TS,CS,xS,RS,TE=function(e,t){};ES=!1,TS=!1,CS={},xS={},RS={},TE=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var a=rt(t)||"Component";xS[a]||(xS[a]=!0,m('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Ok(e){return e.prototype&&e.prototype.isReactComponent}function Jp(e,t,a){var u=a.ref;if(u!==null&&typeof u!="function"&&typeof u!="object"){if((e.mode&Mt||it)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)&&!(a._owner&&a._owner.tag!==T)&&!(typeof a.type=="function"&&!Ok(a.type))&&a._owner){var f=rt(e)||"Component";CS[f]||(m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',f,u),CS[f]=!0)}if(a._owner){var v=a._owner,y;if(v){var E=v;if(E.tag!==T)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");y=E.stateNode}if(!y)throw new Error("Missing owner for string ref "+u+". This error is likely caused by a bug in React. Please file an issue.");var C=y;dr(u,"ref");var k=""+u;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===k)return t.ref;var _=function(B){var I=C.refs;B===null?delete I[k]:I[k]=B};return _._stringRef=k,_}else{if(typeof u!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+u+`) but no owner was set. This could happen for one of the following reasons:
|
|
114
|
-
1. You may be adding a ref to a function component
|
|
115
|
-
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
116
|
-
3. You have multiple copies of React loaded
|
|
117
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function Am(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function Pm(e){{var t=rt(e)||"Component";if(RS[t])return;RS[t]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function CE(e){var t=e._payload,a=e._init;return a(t)}function xE(e){function t(G,ne){if(e){var Y=G.deletions;Y===null?(G.deletions=[ne],G.flags|=ga):Y.push(ne)}}function a(G,ne){if(!e)return null;for(var Y=ne;Y!==null;)t(G,Y),Y=Y.sibling;return null}function u(G,ne){for(var Y=new Map,me=ne;me!==null;)me.key!==null?Y.set(me.key,me):Y.set(me.index,me),me=me.sibling;return Y}function f(G,ne){var Y=ec(G,ne);return Y.index=0,Y.sibling=null,Y}function v(G,ne,Y){if(G.index=Y,!e)return G.flags|=Za,ne;var me=G.alternate;if(me!==null){var Me=me.index;return Me<ne?(G.flags|=un,ne):Me}else return G.flags|=un,ne}function y(G){return e&&G.alternate===null&&(G.flags|=un),G}function E(G,ne,Y,me){if(ne===null||ne.tag!==M){var Me=bw(Y,G.mode,me);return Me.return=G,Me}else{var ke=f(ne,Y);return ke.return=G,ke}}function C(G,ne,Y,me){var Me=Y.type;if(Me===yi)return _(G,ne,Y.props.children,me,Y.key);if(ne!==null&&(ne.elementType===Me||_C(ne,Y)||typeof Me=="object"&&Me!==null&&Me.$$typeof===kn&&CE(Me)===ne.type)){var ke=f(ne,Y.props);return ke.ref=Jp(G,ne,Y),ke.return=G,ke._debugSource=Y._source,ke._debugOwner=Y._owner,ke}var Ke=ww(Y,G.mode,me);return Ke.ref=Jp(G,ne,Y),Ke.return=G,Ke}function k(G,ne,Y,me){if(ne===null||ne.tag!==D||ne.stateNode.containerInfo!==Y.containerInfo||ne.stateNode.implementation!==Y.implementation){var Me=Ew(Y,G.mode,me);return Me.return=G,Me}else{var ke=f(ne,Y.children||[]);return ke.return=G,ke}}function _(G,ne,Y,me,Me){if(ne===null||ne.tag!==U){var ke=ku(Y,G.mode,me,Me);return ke.return=G,ke}else{var Ke=f(ne,Y);return Ke.return=G,Ke}}function B(G,ne,Y){if(typeof ne=="string"&&ne!==""||typeof ne=="number"){var me=bw(""+ne,G.mode,Y);return me.return=G,me}if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case Ga:{var Me=ww(ne,G.mode,Y);return Me.ref=Jp(G,null,ne),Me.return=G,Me}case pr:{var ke=Ew(ne,G.mode,Y);return ke.return=G,ke}case kn:{var Ke=ne._payload,et=ne._init;return B(G,et(Ke),Y)}}if(Gn(ne)||Ce(ne)){var Nt=ku(ne,G.mode,Y,null);return Nt.return=G,Nt}Am(G,ne)}return typeof ne=="function"&&Pm(G),null}function I(G,ne,Y,me){var Me=ne!==null?ne.key:null;if(typeof Y=="string"&&Y!==""||typeof Y=="number")return Me!==null?null:E(G,ne,""+Y,me);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case Ga:return Y.key===Me?C(G,ne,Y,me):null;case pr:return Y.key===Me?k(G,ne,Y,me):null;case kn:{var ke=Y._payload,Ke=Y._init;return I(G,ne,Ke(ke),me)}}if(Gn(Y)||Ce(Y))return Me!==null?null:_(G,ne,Y,me,null);Am(G,Y)}return typeof Y=="function"&&Pm(G),null}function X(G,ne,Y,me,Me){if(typeof me=="string"&&me!==""||typeof me=="number"){var ke=G.get(Y)||null;return E(ne,ke,""+me,Me)}if(typeof me=="object"&&me!==null){switch(me.$$typeof){case Ga:{var Ke=G.get(me.key===null?Y:me.key)||null;return C(ne,Ke,me,Me)}case pr:{var et=G.get(me.key===null?Y:me.key)||null;return k(ne,et,me,Me)}case kn:var Nt=me._payload,St=me._init;return X(G,ne,Y,St(Nt),Me)}if(Gn(me)||Ce(me)){var Nn=G.get(Y)||null;return _(ne,Nn,me,Me,null)}Am(ne,me)}return typeof me=="function"&&Pm(ne),null}function Z(G,ne,Y){{if(typeof G!="object"||G===null)return ne;switch(G.$$typeof){case Ga:case pr:TE(G,Y);var me=G.key;if(typeof me!="string")break;if(ne===null){ne=new Set,ne.add(me);break}if(!ne.has(me)){ne.add(me);break}m("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",me);break;case kn:var Me=G._payload,ke=G._init;Z(ke(Me),ne,Y);break}}return ne}function te(G,ne,Y,me){for(var Me=null,ke=0;ke<Y.length;ke++){var Ke=Y[ke];Me=Z(Ke,Me,G)}for(var et=null,Nt=null,St=ne,Nn=0,wt=0,xn=null;St!==null&&wt<Y.length;wt++){St.index>wt?(xn=St,St=null):xn=St.sibling;var qr=I(G,St,Y[wt],me);if(qr===null){St===null&&(St=xn);break}e&&St&&qr.alternate===null&&t(G,St),Nn=v(qr,Nn,wt),Nt===null?et=qr:Nt.sibling=qr,Nt=qr,St=xn}if(wt===Y.length){if(a(G,St),br()){var kr=wt;Hs(G,kr)}return et}if(St===null){for(;wt<Y.length;wt++){var $a=B(G,Y[wt],me);$a!==null&&(Nn=v($a,Nn,wt),Nt===null?et=$a:Nt.sibling=$a,Nt=$a)}if(br()){var ca=wt;Hs(G,ca)}return et}for(var fa=u(G,St);wt<Y.length;wt++){var Qr=X(fa,G,wt,Y[wt],me);Qr!==null&&(e&&Qr.alternate!==null&&fa.delete(Qr.key===null?wt:Qr.key),Nn=v(Qr,Nn,wt),Nt===null?et=Qr:Nt.sibling=Qr,Nt=Qr)}if(e&&fa.forEach(function(od){return t(G,od)}),br()){var Co=wt;Hs(G,Co)}return et}function Oe(G,ne,Y,me){var Me=Ce(Y);if(typeof Me!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&Y[Symbol.toStringTag]==="Generator"&&(TS||m("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),TS=!0),Y.entries===Me&&(ES||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ES=!0);var ke=Me.call(Y);if(ke)for(var Ke=null,et=ke.next();!et.done;et=ke.next()){var Nt=et.value;Ke=Z(Nt,Ke,G)}}var St=Me.call(Y);if(St==null)throw new Error("An iterable object provided no iterator.");for(var Nn=null,wt=null,xn=ne,qr=0,kr=0,$a=null,ca=St.next();xn!==null&&!ca.done;kr++,ca=St.next()){xn.index>kr?($a=xn,xn=null):$a=xn.sibling;var fa=I(G,xn,ca.value,me);if(fa===null){xn===null&&(xn=$a);break}e&&xn&&fa.alternate===null&&t(G,xn),qr=v(fa,qr,kr),wt===null?Nn=fa:wt.sibling=fa,wt=fa,xn=$a}if(ca.done){if(a(G,xn),br()){var Qr=kr;Hs(G,Qr)}return Nn}if(xn===null){for(;!ca.done;kr++,ca=St.next()){var Co=B(G,ca.value,me);Co!==null&&(qr=v(Co,qr,kr),wt===null?Nn=Co:wt.sibling=Co,wt=Co)}if(br()){var od=kr;Hs(G,od)}return Nn}for(var Mv=u(G,xn);!ca.done;kr++,ca=St.next()){var Dl=X(Mv,G,kr,ca.value,me);Dl!==null&&(e&&Dl.alternate!==null&&Mv.delete(Dl.key===null?kr:Dl.key),qr=v(Dl,qr,kr),wt===null?Nn=Dl:wt.sibling=Dl,wt=Dl)}if(e&&Mv.forEach(function(JM){return t(G,JM)}),br()){var ZM=kr;Hs(G,ZM)}return Nn}function We(G,ne,Y,me){if(ne!==null&&ne.tag===M){a(G,ne.sibling);var Me=f(ne,Y);return Me.return=G,Me}a(G,ne);var ke=bw(Y,G.mode,me);return ke.return=G,ke}function Ie(G,ne,Y,me){for(var Me=Y.key,ke=ne;ke!==null;){if(ke.key===Me){var Ke=Y.type;if(Ke===yi){if(ke.tag===U){a(G,ke.sibling);var et=f(ke,Y.props.children);return et.return=G,et._debugSource=Y._source,et._debugOwner=Y._owner,et}}else if(ke.elementType===Ke||_C(ke,Y)||typeof Ke=="object"&&Ke!==null&&Ke.$$typeof===kn&&CE(Ke)===ke.type){a(G,ke.sibling);var Nt=f(ke,Y.props);return Nt.ref=Jp(G,ke,Y),Nt.return=G,Nt._debugSource=Y._source,Nt._debugOwner=Y._owner,Nt}a(G,ke);break}else t(G,ke);ke=ke.sibling}if(Y.type===yi){var St=ku(Y.props.children,G.mode,me,Y.key);return St.return=G,St}else{var Nn=ww(Y,G.mode,me);return Nn.ref=Jp(G,ne,Y),Nn.return=G,Nn}}function dt(G,ne,Y,me){for(var Me=Y.key,ke=ne;ke!==null;){if(ke.key===Me)if(ke.tag===D&&ke.stateNode.containerInfo===Y.containerInfo&&ke.stateNode.implementation===Y.implementation){a(G,ke.sibling);var Ke=f(ke,Y.children||[]);return Ke.return=G,Ke}else{a(G,ke);break}else t(G,ke);ke=ke.sibling}var et=Ew(Y,G.mode,me);return et.return=G,et}function ut(G,ne,Y,me){var Me=typeof Y=="object"&&Y!==null&&Y.type===yi&&Y.key===null;if(Me&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case Ga:return y(Ie(G,ne,Y,me));case pr:return y(dt(G,ne,Y,me));case kn:var ke=Y._payload,Ke=Y._init;return ut(G,ne,Ke(ke),me)}if(Gn(Y))return te(G,ne,Y,me);if(Ce(Y))return Oe(G,ne,Y,me);Am(G,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"?y(We(G,ne,""+Y,me)):(typeof Y=="function"&&Pm(G),a(G,ne))}return ut}var Vf=xE(!0),RE=xE(!1);function kk(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,u=ec(a,a.pendingProps);for(t.child=u,u.return=t;a.sibling!==null;)a=a.sibling,u=u.sibling=ec(a,a.pendingProps),u.return=t;u.sibling=null}}function Dk(e,t){for(var a=e.child;a!==null;)mM(a,t),a=a.sibling}var OS=vu(null),kS;kS={};var jm=null,$f=null,DS=null,Um=!1;function Fm(){jm=null,$f=null,DS=null,Um=!1}function OE(){Um=!0}function kE(){Um=!1}function DE(e,t,a){Gr(OS,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==kS&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=kS}function _S(e,t){var a=OS.current;Wr(OS,t),e._currentValue=a}function MS(e,t,a){for(var u=e;u!==null;){var f=u.alternate;if(io(u.childLanes,t)?f!==null&&!io(f.childLanes,t)&&(f.childLanes=at(f.childLanes,t)):(u.childLanes=at(u.childLanes,t),f!==null&&(f.childLanes=at(f.childLanes,t))),u===a)break;u=u.return}u!==a&&m("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function _k(e,t,a){Mk(e,t,a)}function Mk(e,t,a){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var f=void 0,v=u.dependencies;if(v!==null){f=u.child;for(var y=v.firstContext;y!==null;){if(y.context===t){if(u.tag===T){var E=ys(a),C=yo(At,E);C.tag=Hm;var k=u.updateQueue;if(k!==null){var _=k.shared,B=_.pending;B===null?C.next=C:(C.next=B.next,B.next=C),_.pending=C}}u.lanes=at(u.lanes,a);var I=u.alternate;I!==null&&(I.lanes=at(I.lanes,a)),MS(u.return,a,e),v.lanes=at(v.lanes,a);break}y=y.next}}else if(u.tag===z)f=u.type===e.type?null:u.child;else if(u.tag===J){var X=u.return;if(X===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");X.lanes=at(X.lanes,a);var Z=X.alternate;Z!==null&&(Z.lanes=at(Z.lanes,a)),MS(X,a,e),f=u.sibling}else f=u.child;if(f!==null)f.return=u;else for(f=u;f!==null;){if(f===e){f=null;break}var te=f.sibling;if(te!==null){te.return=f.return,f=te;break}f=f.return}u=f}}function Wf(e,t){jm=e,$f=null,DS=null;var a=e.dependencies;if(a!==null){var u=a.firstContext;u!==null&&(Hr(a.lanes,t)&&vv(),a.firstContext=null)}}function In(e){Um&&m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(DS!==e){var a={context:e,memoizedValue:t,next:null};if($f===null){if(jm===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");$f=a,jm.dependencies={lanes:ce,firstContext:a}}else $f=$f.next=a}return t}var Gs=null;function LS(e){Gs===null?Gs=[e]:Gs.push(e)}function Lk(){if(Gs!==null){for(var e=0;e<Gs.length;e++){var t=Gs[e],a=t.interleaved;if(a!==null){t.interleaved=null;var u=a.next,f=t.pending;if(f!==null){var v=f.next;f.next=u,a.next=v}t.pending=a}}Gs=null}}function _E(e,t,a,u){var f=t.interleaved;return f===null?(a.next=a,LS(t)):(a.next=f.next,f.next=a),t.interleaved=a,Im(e,u)}function Nk(e,t,a,u){var f=t.interleaved;f===null?(a.next=a,LS(t)):(a.next=f.next,f.next=a),t.interleaved=a}function zk(e,t,a,u){var f=t.interleaved;return f===null?(a.next=a,LS(t)):(a.next=f.next,f.next=a),t.interleaved=a,Im(e,u)}function Oa(e,t){return Im(e,t)}var Ak=Im;function Im(e,t){e.lanes=at(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=at(a.lanes,t)),a===null&&(e.flags&(un|ya))!==Be&&RC(e);for(var u=e,f=e.return;f!==null;)f.childLanes=at(f.childLanes,t),a=f.alternate,a!==null?a.childLanes=at(a.childLanes,t):(f.flags&(un|ya))!==Be&&RC(e),u=f,f=f.return;if(u.tag===R){var v=u.stateNode;return v}else return null}var ME=0,LE=1,Hm=2,NS=3,Bm=!1,zS,Vm;zS=!1,Vm=null;function AS(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ce},effects:null};e.updateQueue=t}function NE(e,t){var a=t.updateQueue,u=e.updateQueue;if(a===u){var f={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=f}}function yo(e,t){var a={eventTime:e,lane:t,tag:ME,payload:null,callback:null,next:null};return a}function yu(e,t,a){var u=e.updateQueue;if(u===null)return null;var f=u.shared;if(Vm===f&&!zS&&(m("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),zS=!0),N_()){var v=f.pending;return v===null?t.next=t:(t.next=v.next,v.next=t),f.pending=t,Ak(e,a)}else return zk(e,f,t,a)}function $m(e,t,a){var u=t.updateQueue;if(u!==null){var f=u.shared;if(dp(a)){var v=f.lanes;v=vp(v,e.pendingLanes);var y=at(v,a);f.lanes=y,gf(e,y)}}}function PS(e,t){var a=e.updateQueue,u=e.alternate;if(u!==null){var f=u.updateQueue;if(a===f){var v=null,y=null,E=a.firstBaseUpdate;if(E!==null){var C=E;do{var k={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};y===null?v=y=k:(y.next=k,y=k),C=C.next}while(C!==null);y===null?v=y=t:(y.next=t,y=t)}else v=y=t;a={baseState:f.baseState,firstBaseUpdate:v,lastBaseUpdate:y,shared:f.shared,effects:f.effects},e.updateQueue=a;return}}var _=a.lastBaseUpdate;_===null?a.firstBaseUpdate=t:_.next=t,a.lastBaseUpdate=t}function Pk(e,t,a,u,f,v){switch(a.tag){case LE:{var y=a.payload;if(typeof y=="function"){OE();var E=y.call(v,u,f);{if(e.mode&Mt){qt(!0);try{y.call(v,u,f)}finally{qt(!1)}}kE()}return E}return y}case NS:e.flags=e.flags&-65537|He;case ME:{var C=a.payload,k;if(typeof C=="function"){OE(),k=C.call(v,u,f);{if(e.mode&Mt){qt(!0);try{C.call(v,u,f)}finally{qt(!1)}}kE()}}else k=C;return k==null?u:Ne({},u,k)}case Hm:return Bm=!0,u}return u}function Wm(e,t,a,u){var f=e.updateQueue;Bm=!1,Vm=f.shared;var v=f.firstBaseUpdate,y=f.lastBaseUpdate,E=f.shared.pending;if(E!==null){f.shared.pending=null;var C=E,k=C.next;C.next=null,y===null?v=k:y.next=k,y=C;var _=e.alternate;if(_!==null){var B=_.updateQueue,I=B.lastBaseUpdate;I!==y&&(I===null?B.firstBaseUpdate=k:I.next=k,B.lastBaseUpdate=C)}}if(v!==null){var X=f.baseState,Z=ce,te=null,Oe=null,We=null,Ie=v;do{var dt=Ie.lane,ut=Ie.eventTime;if(io(u,dt)){if(We!==null){var ne={eventTime:ut,lane:vt,tag:Ie.tag,payload:Ie.payload,callback:Ie.callback,next:null};We=We.next=ne}X=Pk(e,f,Ie,X,t,a);var Y=Ie.callback;if(Y!==null&&Ie.lane!==vt){e.flags|=Pt;var me=f.effects;me===null?f.effects=[Ie]:me.push(Ie)}}else{var G={eventTime:ut,lane:dt,tag:Ie.tag,payload:Ie.payload,callback:Ie.callback,next:null};We===null?(Oe=We=G,te=X):We=We.next=G,Z=at(Z,dt)}if(Ie=Ie.next,Ie===null){if(E=f.shared.pending,E===null)break;var Me=E,ke=Me.next;Me.next=null,Ie=ke,f.lastBaseUpdate=Me,f.shared.pending=null}}while(!0);We===null&&(te=X),f.baseState=te,f.firstBaseUpdate=Oe,f.lastBaseUpdate=We;var Ke=f.shared.interleaved;if(Ke!==null){var et=Ke;do Z=at(Z,et.lane),et=et.next;while(et!==Ke)}else v===null&&(f.shared.lanes=ce);Rv(Z),e.lanes=Z,e.memoizedState=X}Vm=null}function jk(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function zE(){Bm=!1}function Gm(){return Bm}function AE(e,t,a){var u=t.effects;if(t.effects=null,u!==null)for(var f=0;f<u.length;f++){var v=u[f],y=v.callback;y!==null&&(v.callback=null,jk(y,a))}}var ev={},Su=vu(ev),tv=vu(ev),Ym=vu(ev);function qm(e){if(e===ev)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function PE(){var e=qm(Ym.current);return e}function jS(e,t){Gr(Ym,t,e),Gr(tv,e,e),Gr(Su,ev,e);var a=eO(t);Wr(Su,e),Gr(Su,a,e)}function Gf(e){Wr(Su,e),Wr(tv,e),Wr(Ym,e)}function US(){var e=qm(Su.current);return e}function jE(e){qm(Ym.current);var t=qm(Su.current),a=tO(t,e.type);t!==a&&(Gr(tv,e,e),Gr(Su,a,e))}function FS(e){tv.current===e&&(Wr(Su,e),Wr(tv,e))}var Uk=0,UE=1,FE=1,nv=2,Ui=vu(Uk);function IS(e,t){return(e&t)!==0}function Yf(e){return e&UE}function HS(e,t){return e&UE|t}function Fk(e,t){return e|t}function wu(e,t){Gr(Ui,t,e)}function qf(e){Wr(Ui,e)}function Ik(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function Qm(e){for(var t=e;t!==null;){if(t.tag===$){var a=t.memoizedState;if(a!==null){var u=a.dehydrated;if(u===null||nE(u)||iS(u))return t}}else if(t.tag===re&&t.memoizedProps.revealOrder!==void 0){var f=(t.flags&He)!==Be;if(f)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ka=0,Kn=1,El=2,Zn=4,Er=8,BS=[];function VS(){for(var e=0;e<BS.length;e++){var t=BS[e];t._workInProgressVersionPrimary=null}BS.length=0}function Hk(e,t){var a=t._getVersion,u=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var _e=o.ReactCurrentDispatcher,rv=o.ReactCurrentBatchConfig,$S,Qf;$S=new Set;var Ys=ce,Lt=null,Jn=null,er=null,Xm=!1,av=!1,iv=0,Bk=0,Vk=25,ae=null,fi=null,bu=-1,WS=!1;function Rt(){{var e=ae;fi===null?fi=[e]:fi.push(e)}}function Te(){{var e=ae;fi!==null&&(bu++,fi[bu]!==e&&$k(e))}}function Xf(e){e!=null&&!Gn(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ae,typeof e)}function $k(e){{var t=rt(Lt);if(!$S.has(t)&&($S.add(t),fi!==null)){for(var a="",u=30,f=0;f<=bu;f++){for(var v=fi[f],y=f===bu?e:v,E=f+1+". "+v;E.length<u;)E+=" ";E+=y+`
|
|
118
|
-
`,a+=E}m(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
119
|
-
|
|
120
|
-
Previous render Next render
|
|
121
|
-
------------------------------------------------------
|
|
122
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
123
|
-
`,t,a)}}}function Yr(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
124
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
125
|
-
2. You might be breaking the Rules of Hooks
|
|
126
|
-
3. You might have more than one copy of React in the same app
|
|
127
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function GS(e,t){if(WS)return!1;if(t===null)return m("%s 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.",ae),!1;e.length!==t.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
128
|
-
|
|
129
|
-
Previous: %s
|
|
130
|
-
Incoming: %s`,ae,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!pe(e[a],t[a]))return!1;return!0}function Kf(e,t,a,u,f,v){Ys=v,Lt=t,fi=e!==null?e._debugHookTypes:null,bu=-1,WS=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ce,e!==null&&e.memoizedState!==null?_e.current=oT:fi!==null?_e.current=lT:_e.current=iT;var y=a(u,f);if(av){var E=0;do{if(av=!1,iv=0,E>=Vk)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");E+=1,WS=!1,Jn=null,er=null,t.updateQueue=null,bu=-1,_e.current=uT,y=a(u,f)}while(av)}_e.current=sg,t._debugHookTypes=fi;var C=Jn!==null&&Jn.next!==null;if(Ys=ce,Lt=null,Jn=null,er=null,ae=null,fi=null,bu=-1,e!==null&&(e.flags&Sn)!==(t.flags&Sn)&&(e.mode<)!==Ve&&m("Internal React error: Expected static flag was missing. Please notify the React team."),Xm=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return y}function Zf(){var e=iv!==0;return iv=0,e}function IE(e,t,a){t.updateQueue=e.updateQueue,(t.mode>)!==Ve?t.flags&=-50333701:t.flags&=-2053,e.lanes=Ss(e.lanes,a)}function HE(){if(_e.current=sg,Xm){for(var e=Lt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Xm=!1}Ys=ce,Lt=null,Jn=null,er=null,fi=null,bu=-1,ae=null,eT=!1,av=!1,iv=0}function Tl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return er===null?Lt.memoizedState=er=e:er=er.next=e,er}function di(){var e;if(Jn===null){var t=Lt.alternate;t!==null?e=t.memoizedState:e=null}else e=Jn.next;var a;if(er===null?a=Lt.memoizedState:a=er.next,a!==null)er=a,a=er.next,Jn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Jn=e;var u={memoizedState:Jn.memoizedState,baseState:Jn.baseState,baseQueue:Jn.baseQueue,queue:Jn.queue,next:null};er===null?Lt.memoizedState=er=u:er=er.next=u}return er}function BE(){return{lastEffect:null,stores:null}}function YS(e,t){return typeof t=="function"?t(e):t}function qS(e,t,a){var u=Tl(),f;a!==void 0?f=a(t):f=t,u.memoizedState=u.baseState=f;var v={pending:null,interleaved:null,lanes:ce,dispatch:null,lastRenderedReducer:e,lastRenderedState:f};u.queue=v;var y=v.dispatch=qk.bind(null,Lt,v);return[u.memoizedState,y]}function QS(e,t,a){var u=di(),f=u.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var v=Jn,y=v.baseQueue,E=f.pending;if(E!==null){if(y!==null){var C=y.next,k=E.next;y.next=k,E.next=C}v.baseQueue!==y&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),v.baseQueue=y=E,f.pending=null}if(y!==null){var _=y.next,B=v.baseState,I=null,X=null,Z=null,te=_;do{var Oe=te.lane;if(io(Ys,Oe)){if(Z!==null){var Ie={lane:vt,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null};Z=Z.next=Ie}if(te.hasEagerState)B=te.eagerState;else{var dt=te.action;B=e(B,dt)}}else{var We={lane:Oe,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null};Z===null?(X=Z=We,I=B):Z=Z.next=We,Lt.lanes=at(Lt.lanes,Oe),Rv(Oe)}te=te.next}while(te!==null&&te!==_);Z===null?I=B:Z.next=X,pe(B,u.memoizedState)||vv(),u.memoizedState=B,u.baseState=I,u.baseQueue=Z,f.lastRenderedState=B}var ut=f.interleaved;if(ut!==null){var G=ut;do{var ne=G.lane;Lt.lanes=at(Lt.lanes,ne),Rv(ne),G=G.next}while(G!==ut)}else y===null&&(f.lanes=ce);var Y=f.dispatch;return[u.memoizedState,Y]}function XS(e,t,a){var u=di(),f=u.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var v=f.dispatch,y=f.pending,E=u.memoizedState;if(y!==null){f.pending=null;var C=y.next,k=C;do{var _=k.action;E=e(E,_),k=k.next}while(k!==C);pe(E,u.memoizedState)||vv(),u.memoizedState=E,u.baseQueue===null&&(u.baseState=E),f.lastRenderedState=E}return[E,v]}function d3(e,t,a){}function p3(e,t,a){}function KS(e,t,a){var u=Lt,f=Tl(),v,y=br();if(y){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");v=a(),Qf||v!==a()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),Qf=!0)}else{if(v=t(),!Qf){var E=t();pe(v,E)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),Qf=!0)}var C=kg();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");hf(C,Ys)||VE(u,t,v)}f.memoizedState=v;var k={value:v,getSnapshot:t};return f.queue=k,tg(WE.bind(null,u,k,e),[e]),u.flags|=Pr,lv(Kn|Er,$E.bind(null,u,k,v,t),void 0,null),v}function Km(e,t,a){var u=Lt,f=di(),v=t();if(!Qf){var y=t();pe(v,y)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),Qf=!0)}var E=f.memoizedState,C=!pe(E,v);C&&(f.memoizedState=v,vv());var k=f.queue;if(uv(WE.bind(null,u,k,e),[e]),k.getSnapshot!==t||C||er!==null&&er.memoizedState.tag&Kn){u.flags|=Pr,lv(Kn|Er,$E.bind(null,u,k,v,t),void 0,null);var _=kg();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");hf(_,Ys)||VE(u,t,v)}return v}function VE(e,t,a){e.flags|=Zo;var u={getSnapshot:t,value:a},f=Lt.updateQueue;if(f===null)f=BE(),Lt.updateQueue=f,f.stores=[u];else{var v=f.stores;v===null?f.stores=[u]:v.push(u)}}function $E(e,t,a,u){t.value=a,t.getSnapshot=u,GE(t)&&YE(e)}function WE(e,t,a){var u=function(){GE(t)&&YE(e)};return a(u)}function GE(e){var t=e.getSnapshot,a=e.value;try{var u=t();return!pe(a,u)}catch{return!0}}function YE(e){var t=Oa(e,Xe);t!==null&&ar(t,e,Xe,At)}function Zm(e){var t=Tl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:ce,dispatch:null,lastRenderedReducer:YS,lastRenderedState:e};t.queue=a;var u=a.dispatch=Qk.bind(null,Lt,a);return[t.memoizedState,u]}function ZS(e){return QS(YS)}function JS(e){return XS(YS)}function lv(e,t,a,u){var f={tag:e,create:t,destroy:a,deps:u,next:null},v=Lt.updateQueue;if(v===null)v=BE(),Lt.updateQueue=v,v.lastEffect=f.next=f;else{var y=v.lastEffect;if(y===null)v.lastEffect=f.next=f;else{var E=y.next;y.next=f,f.next=E,v.lastEffect=f}}return f}function e0(e){var t=Tl();{var a={current:e};return t.memoizedState=a,a}}function Jm(e){var t=di();return t.memoizedState}function ov(e,t,a,u){var f=Tl(),v=u===void 0?null:u;Lt.flags|=e,f.memoizedState=lv(Kn|t,a,void 0,v)}function eg(e,t,a,u){var f=di(),v=u===void 0?null:u,y=void 0;if(Jn!==null){var E=Jn.memoizedState;if(y=E.destroy,v!==null){var C=E.deps;if(GS(v,C)){f.memoizedState=lv(t,a,y,v);return}}}Lt.flags|=e,f.memoizedState=lv(Kn|t,a,y,v)}function tg(e,t){return(Lt.mode>)!==Ve?ov(Ja|Pr|Hc,Er,e,t):ov(Pr|Hc,Er,e,t)}function uv(e,t){return eg(Pr,Er,e,t)}function t0(e,t){return ov(st,El,e,t)}function ng(e,t){return eg(st,El,e,t)}function n0(e,t){var a=st;return a|=Ri,(Lt.mode>)!==Ve&&(a|=al),ov(a,Zn,e,t)}function rg(e,t){return eg(st,Zn,e,t)}function qE(e,t){if(typeof t=="function"){var a=t,u=e();return a(u),function(){a(null)}}else if(t!=null){var f=t;f.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(f).join(", ")+"}");var v=e();return f.current=v,function(){f.current=null}}}function r0(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=a!=null?a.concat([e]):null,f=st;return f|=Ri,(Lt.mode>)!==Ve&&(f|=al),ov(f,Zn,qE.bind(null,t,e),u)}function ag(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=a!=null?a.concat([e]):null;return eg(st,Zn,qE.bind(null,t,e),u)}function Wk(e,t){}var ig=Wk;function a0(e,t){var a=Tl(),u=t===void 0?null:t;return a.memoizedState=[e,u],e}function lg(e,t){var a=di(),u=t===void 0?null:t,f=a.memoizedState;if(f!==null&&u!==null){var v=f[1];if(GS(u,v))return f[0]}return a.memoizedState=[e,u],e}function i0(e,t){var a=Tl(),u=t===void 0?null:t,f=e();return a.memoizedState=[f,u],f}function og(e,t){var a=di(),u=t===void 0?null:t,f=a.memoizedState;if(f!==null&&u!==null){var v=f[1];if(GS(u,v))return f[0]}var y=e();return a.memoizedState=[y,u],y}function l0(e){var t=Tl();return t.memoizedState=e,e}function QE(e){var t=di(),a=Jn,u=a.memoizedState;return KE(t,u,e)}function XE(e){var t=di();if(Jn===null)return t.memoizedState=e,e;var a=Jn.memoizedState;return KE(t,a,e)}function KE(e,t,a){var u=!cp(Ys);if(u){if(!pe(a,t)){var f=pp();Lt.lanes=at(Lt.lanes,f),Rv(f),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,vv()),e.memoizedState=a,a}function Gk(e,t,a){var u=Ca();En(Uh(u,ri)),e(!0);var f=rv.transition;rv.transition={};var v=rv.transition;rv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(En(u),rv.transition=f,f===null&&v._updatedFibers){var y=v._updatedFibers.size;y>10&&h("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),v._updatedFibers.clear()}}}function o0(){var e=Zm(!1),t=e[0],a=e[1],u=Gk.bind(null,a),f=Tl();return f.memoizedState=u,[t,u]}function ZE(){var e=ZS(),t=e[0],a=di(),u=a.memoizedState;return[t,u]}function JE(){var e=JS(),t=e[0],a=di(),u=a.memoizedState;return[t,u]}var eT=!1;function Yk(){return eT}function u0(){var e=Tl(),t=kg(),a=t.identifierPrefix,u;if(br()){var f=ck();u=":"+a+"R"+f;var v=iv++;v>0&&(u+="H"+v.toString(32)),u+=":"}else{var y=Bk++;u=":"+a+"r"+y.toString(32)+":"}return e.memoizedState=u,u}function ug(){var e=di(),t=e.memoizedState;return t}function qk(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Ru(e),f={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null};if(tT(e))nT(t,f);else{var v=_E(e,t,f,u);if(v!==null){var y=sa();ar(v,e,u,y),rT(v,t,u)}}aT(e,u)}function Qk(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Ru(e),f={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null};if(tT(e))nT(t,f);else{var v=e.alternate;if(e.lanes===ce&&(v===null||v.lanes===ce)){var y=t.lastRenderedReducer;if(y!==null){var E;E=_e.current,_e.current=Fi;try{var C=t.lastRenderedState,k=y(C,a);if(f.hasEagerState=!0,f.eagerState=k,pe(k,C)){Nk(e,t,f,u);return}}catch{}finally{_e.current=E}}}var _=_E(e,t,f,u);if(_!==null){var B=sa();ar(_,e,u,B),rT(_,t,u)}}aT(e,u)}function tT(e){var t=e.alternate;return e===Lt||t!==null&&t===Lt}function nT(e,t){av=Xm=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function rT(e,t,a){if(dp(a)){var u=t.lanes;u=vp(u,e.pendingLanes);var f=at(u,a);t.lanes=f,gf(e,f)}}function aT(e,t,a){ss(e,t)}var sg={readContext:In,useCallback:Yr,useContext:Yr,useEffect:Yr,useImperativeHandle:Yr,useInsertionEffect:Yr,useLayoutEffect:Yr,useMemo:Yr,useReducer:Yr,useRef:Yr,useState:Yr,useDebugValue:Yr,useDeferredValue:Yr,useTransition:Yr,useMutableSource:Yr,useSyncExternalStore:Yr,useId:Yr,unstable_isNewReconciler:ue},iT=null,lT=null,oT=null,uT=null,Cl=null,Fi=null,cg=null;{var s0=function(){m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Je=function(){m("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};iT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Rt(),Xf(t),a0(e,t)},useContext:function(e){return ae="useContext",Rt(),In(e)},useEffect:function(e,t){return ae="useEffect",Rt(),Xf(t),tg(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Rt(),Xf(a),r0(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Rt(),Xf(t),t0(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Rt(),Xf(t),n0(e,t)},useMemo:function(e,t){ae="useMemo",Rt(),Xf(t);var a=_e.current;_e.current=Cl;try{return i0(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Rt();var u=_e.current;_e.current=Cl;try{return qS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Rt(),e0(e)},useState:function(e){ae="useState",Rt();var t=_e.current;_e.current=Cl;try{return Zm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Rt(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Rt(),l0(e)},useTransition:function(){return ae="useTransition",Rt(),o0()},useMutableSource:function(e,t,a){return ae="useMutableSource",Rt(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Rt(),KS(e,t,a)},useId:function(){return ae="useId",Rt(),u0()},unstable_isNewReconciler:ue},lT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Te(),a0(e,t)},useContext:function(e){return ae="useContext",Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Te(),tg(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Te(),r0(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Te(),t0(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Te(),n0(e,t)},useMemo:function(e,t){ae="useMemo",Te();var a=_e.current;_e.current=Cl;try{return i0(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Te();var u=_e.current;_e.current=Cl;try{return qS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Te(),e0(e)},useState:function(e){ae="useState",Te();var t=_e.current;_e.current=Cl;try{return Zm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Te(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Te(),l0(e)},useTransition:function(){return ae="useTransition",Te(),o0()},useMutableSource:function(e,t,a){return ae="useMutableSource",Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Te(),KS(e,t,a)},useId:function(){return ae="useId",Te(),u0()},unstable_isNewReconciler:ue},oT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Te(),lg(e,t)},useContext:function(e){return ae="useContext",Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Te();var a=_e.current;_e.current=Fi;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Te();var u=_e.current;_e.current=Fi;try{return QS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Te(),Jm()},useState:function(e){ae="useState",Te();var t=_e.current;_e.current=Fi;try{return ZS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Te(),QE(e)},useTransition:function(){return ae="useTransition",Te(),ZE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Te(),Km(e,t)},useId:function(){return ae="useId",Te(),ug()},unstable_isNewReconciler:ue},uT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Te(),lg(e,t)},useContext:function(e){return ae="useContext",Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Te();var a=_e.current;_e.current=cg;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Te();var u=_e.current;_e.current=cg;try{return XS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Te(),Jm()},useState:function(e){ae="useState",Te();var t=_e.current;_e.current=cg;try{return JS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Te(),XE(e)},useTransition:function(){return ae="useTransition",Te(),JE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Te(),Km(e,t)},useId:function(){return ae="useId",Te(),ug()},unstable_isNewReconciler:ue},Cl={readContext:function(e){return s0(),In(e)},useCallback:function(e,t){return ae="useCallback",Je(),Rt(),a0(e,t)},useContext:function(e){return ae="useContext",Je(),Rt(),In(e)},useEffect:function(e,t){return ae="useEffect",Je(),Rt(),tg(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Je(),Rt(),r0(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Je(),Rt(),t0(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Je(),Rt(),n0(e,t)},useMemo:function(e,t){ae="useMemo",Je(),Rt();var a=_e.current;_e.current=Cl;try{return i0(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Je(),Rt();var u=_e.current;_e.current=Cl;try{return qS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Je(),Rt(),e0(e)},useState:function(e){ae="useState",Je(),Rt();var t=_e.current;_e.current=Cl;try{return Zm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Je(),Rt(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Je(),Rt(),l0(e)},useTransition:function(){return ae="useTransition",Je(),Rt(),o0()},useMutableSource:function(e,t,a){return ae="useMutableSource",Je(),Rt(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Je(),Rt(),KS(e,t,a)},useId:function(){return ae="useId",Je(),Rt(),u0()},unstable_isNewReconciler:ue},Fi={readContext:function(e){return s0(),In(e)},useCallback:function(e,t){return ae="useCallback",Je(),Te(),lg(e,t)},useContext:function(e){return ae="useContext",Je(),Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Je(),Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Je(),Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Je(),Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Je(),Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Je(),Te();var a=_e.current;_e.current=Fi;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Je(),Te();var u=_e.current;_e.current=Fi;try{return QS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Je(),Te(),Jm()},useState:function(e){ae="useState",Je(),Te();var t=_e.current;_e.current=Fi;try{return ZS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Je(),Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Je(),Te(),QE(e)},useTransition:function(){return ae="useTransition",Je(),Te(),ZE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Je(),Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Je(),Te(),Km(e,t)},useId:function(){return ae="useId",Je(),Te(),ug()},unstable_isNewReconciler:ue},cg={readContext:function(e){return s0(),In(e)},useCallback:function(e,t){return ae="useCallback",Je(),Te(),lg(e,t)},useContext:function(e){return ae="useContext",Je(),Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Je(),Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Je(),Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Je(),Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Je(),Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Je(),Te();var a=_e.current;_e.current=Fi;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Je(),Te();var u=_e.current;_e.current=Fi;try{return XS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Je(),Te(),Jm()},useState:function(e){ae="useState",Je(),Te();var t=_e.current;_e.current=Fi;try{return JS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Je(),Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Je(),Te(),XE(e)},useTransition:function(){return ae="useTransition",Je(),Te(),JE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Je(),Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Je(),Te(),Km(e,t)},useId:function(){return ae="useId",Je(),Te(),ug()},unstable_isNewReconciler:ue}}var Eu=l.unstable_now,sT=0,fg=-1,sv=-1,dg=-1,c0=!1,pg=!1;function cT(){return c0}function Xk(){pg=!0}function Kk(){c0=!1,pg=!1}function Zk(){c0=pg,pg=!1}function fT(){return sT}function dT(){sT=Eu()}function f0(e){sv=Eu(),e.actualStartTime<0&&(e.actualStartTime=Eu())}function pT(e){sv=-1}function vg(e,t){if(sv>=0){var a=Eu()-sv;e.actualDuration+=a,t&&(e.selfBaseDuration=a),sv=-1}}function xl(e){if(fg>=0){var t=Eu()-fg;fg=-1;for(var a=e.return;a!==null;){switch(a.tag){case R:var u=a.stateNode;u.effectDuration+=t;return;case q:var f=a.stateNode;f.effectDuration+=t;return}a=a.return}}}function d0(e){if(dg>=0){var t=Eu()-dg;dg=-1;for(var a=e.return;a!==null;){switch(a.tag){case R:var u=a.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case q:var f=a.stateNode;f!==null&&(f.passiveEffectDuration+=t);return}a=a.return}}}function Rl(){fg=Eu()}function p0(){dg=Eu()}function v0(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ii(e,t){if(e&&e.defaultProps){var a=Ne({},t),u=e.defaultProps;for(var f in u)a[f]===void 0&&(a[f]=u[f]);return a}return t}var h0={},m0,g0,y0,S0,w0,vT,hg,b0,E0,T0,cv;{m0=new Set,g0=new Set,y0=new Set,S0=new Set,b0=new Set,w0=new Set,E0=new Set,T0=new Set,cv=new Set;var hT=new Set;hg=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;hT.has(a)||(hT.add(a),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},vT=function(e,t){if(t===void 0){var a=kt(e)||"Component";w0.has(a)||(w0.add(a),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(h0,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(h0)}function C0(e,t,a,u){var f=e.memoizedState,v=a(u,f);{if(e.mode&Mt){qt(!0);try{v=a(u,f)}finally{qt(!1)}}vT(t,v)}var y=v==null?f:Ne({},f,v);if(e.memoizedState=y,e.lanes===ce){var E=e.updateQueue;E.baseState=y}}var x0={isMounted:Eh,enqueueSetState:function(e,t,a){var u=Ko(e),f=sa(),v=Ru(u),y=yo(f,v);y.payload=t,a!=null&&(hg(a,"setState"),y.callback=a);var E=yu(u,y,v);E!==null&&(ar(E,u,v,f),$m(E,u,v)),ss(u,v)},enqueueReplaceState:function(e,t,a){var u=Ko(e),f=sa(),v=Ru(u),y=yo(f,v);y.tag=LE,y.payload=t,a!=null&&(hg(a,"replaceState"),y.callback=a);var E=yu(u,y,v);E!==null&&(ar(E,u,v,f),$m(E,u,v)),ss(u,v)},enqueueForceUpdate:function(e,t){var a=Ko(e),u=sa(),f=Ru(a),v=yo(u,f);v.tag=Hm,t!=null&&(hg(t,"forceUpdate"),v.callback=t);var y=yu(a,v,f);y!==null&&(ar(y,a,f,u),$m(y,a,f)),qc(a,f)}};function mT(e,t,a,u,f,v,y){var E=e.stateNode;if(typeof E.shouldComponentUpdate=="function"){var C=E.shouldComponentUpdate(u,v,y);{if(e.mode&Mt){qt(!0);try{C=E.shouldComponentUpdate(u,v,y)}finally{qt(!1)}}C===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",kt(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!Ae(a,u)||!Ae(f,v):!0}function Jk(e,t,a){var u=e.stateNode;{var f=kt(t)||"Component",v=u.render;v||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",f):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",f)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&m("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",f),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&m("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",f),u.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",f),u.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",f),t.childContextTypes&&!cv.has(t)&&(e.mode&Mt)===Ve&&(cv.add(t),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
131
|
-
|
|
132
|
-
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,f)),t.contextTypes&&!cv.has(t)&&(e.mode&Mt)===Ve&&(cv.add(t),m(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
133
|
-
|
|
134
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,f)),u.contextTypes&&m("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",f),t.contextType&&t.contextTypes&&!E0.has(t)&&(E0.add(t),m("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",f)),typeof u.componentShouldUpdate=="function"&&m("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",f),t.prototype&&t.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&m("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",kt(t)||"A pure component"),typeof u.componentDidUnmount=="function"&&m("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",f),typeof u.componentDidReceiveProps=="function"&&m("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",f),typeof u.componentWillRecieveProps=="function"&&m("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",f),typeof u.UNSAFE_componentWillRecieveProps=="function"&&m("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",f);var y=u.props!==a;u.props!==void 0&&y&&m("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",f,f),u.defaultProps&&m("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",f,f),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!y0.has(t)&&(y0.add(t),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",kt(t))),typeof u.getDerivedStateFromProps=="function"&&m("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof u.getDerivedStateFromError=="function"&&m("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof t.getSnapshotBeforeUpdate=="function"&&m("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",f);var E=u.state;E&&(typeof E!="object"||Gn(E))&&m("%s.state: must be set to an object or null",f),typeof u.getChildContext=="function"&&typeof t.childContextTypes!="object"&&m("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",f)}}function gT(e,t){t.updater=x0,e.stateNode=t,Wl(t,e),t._reactInternalInstance=h0}function yT(e,t,a){var u=!1,f=Ba,v=Ba,y=t.contextType;if("contextType"in t){var E=y===null||y!==void 0&&y.$$typeof===Xi&&y._context===void 0;if(!E&&!T0.has(t)){T0.add(t);var C="";y===void 0?C=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof y!="object"?C=" However, it is set to a "+typeof y+".":y.$$typeof===Qi?C=" Did you accidentally pass the Context.Provider instead?":y._context!==void 0?C=" Did you accidentally pass the Context.Consumer instead?":C=" However, it is set to an object with keys {"+Object.keys(y).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",kt(t)||"Component",C)}}if(typeof y=="object"&&y!==null)v=In(y);else{f=Uf(e,t,!0);var k=t.contextTypes;u=k!=null,v=u?Ff(e,f):Ba}var _=new t(a,v);if(e.mode&Mt){qt(!0);try{_=new t(a,v)}finally{qt(!1)}}var B=e.memoizedState=_.state!==null&&_.state!==void 0?_.state:null;gT(e,_);{if(typeof t.getDerivedStateFromProps=="function"&&B===null){var I=kt(t)||"Component";g0.has(I)||(g0.add(I),m("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",I,_.state===null?"null":"undefined",I))}if(typeof t.getDerivedStateFromProps=="function"||typeof _.getSnapshotBeforeUpdate=="function"){var X=null,Z=null,te=null;if(typeof _.componentWillMount=="function"&&_.componentWillMount.__suppressDeprecationWarning!==!0?X="componentWillMount":typeof _.UNSAFE_componentWillMount=="function"&&(X="UNSAFE_componentWillMount"),typeof _.componentWillReceiveProps=="function"&&_.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Z="componentWillReceiveProps":typeof _.UNSAFE_componentWillReceiveProps=="function"&&(Z="UNSAFE_componentWillReceiveProps"),typeof _.componentWillUpdate=="function"&&_.componentWillUpdate.__suppressDeprecationWarning!==!0?te="componentWillUpdate":typeof _.UNSAFE_componentWillUpdate=="function"&&(te="UNSAFE_componentWillUpdate"),X!==null||Z!==null||te!==null){var Oe=kt(t)||"Component",We=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";S0.has(Oe)||(S0.add(Oe),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
135
|
-
|
|
136
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
137
|
-
|
|
138
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
139
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,Oe,We,X!==null?`
|
|
140
|
-
`+X:"",Z!==null?`
|
|
141
|
-
`+Z:"",te!==null?`
|
|
142
|
-
`+te:""))}}}return u&&oE(e,f,v),_}function eD(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",rt(e)||"Component"),x0.enqueueReplaceState(t,t.state,null))}function ST(e,t,a,u){var f=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,u),t.state!==f){{var v=rt(e)||"Component";m0.has(v)||(m0.add(v),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",v))}x0.enqueueReplaceState(t,t.state,null)}}function R0(e,t,a,u){Jk(e,t,a);var f=e.stateNode;f.props=a,f.state=e.memoizedState,f.refs={},AS(e);var v=t.contextType;if(typeof v=="object"&&v!==null)f.context=In(v);else{var y=Uf(e,t,!0);f.context=Ff(e,y)}{if(f.state===a){var E=kt(t)||"Component";b0.has(E)||(b0.add(E),m("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",E))}e.mode&Mt&&ji.recordLegacyContextWarning(e,f),ji.recordUnsafeLifecycleWarnings(e,f)}f.state=e.memoizedState;var C=t.getDerivedStateFromProps;if(typeof C=="function"&&(C0(e,t,C,a),f.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function")&&(eD(e,f),Wm(e,a,f,u),f.state=e.memoizedState),typeof f.componentDidMount=="function"){var k=st;k|=Ri,(e.mode>)!==Ve&&(k|=al),e.flags|=k}}function tD(e,t,a,u){var f=e.stateNode,v=e.memoizedProps;f.props=v;var y=f.context,E=t.contextType,C=Ba;if(typeof E=="object"&&E!==null)C=In(E);else{var k=Uf(e,t,!0);C=Ff(e,k)}var _=t.getDerivedStateFromProps,B=typeof _=="function"||typeof f.getSnapshotBeforeUpdate=="function";!B&&(typeof f.UNSAFE_componentWillReceiveProps=="function"||typeof f.componentWillReceiveProps=="function")&&(v!==a||y!==C)&&ST(e,f,a,C),zE();var I=e.memoizedState,X=f.state=I;if(Wm(e,a,f,u),X=e.memoizedState,v===a&&I===X&&!Rm()&&!Gm()){if(typeof f.componentDidMount=="function"){var Z=st;Z|=Ri,(e.mode>)!==Ve&&(Z|=al),e.flags|=Z}return!1}typeof _=="function"&&(C0(e,t,_,a),X=e.memoizedState);var te=Gm()||mT(e,t,v,a,I,X,C);if(te){if(!B&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function")&&(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"){var Oe=st;Oe|=Ri,(e.mode>)!==Ve&&(Oe|=al),e.flags|=Oe}}else{if(typeof f.componentDidMount=="function"){var We=st;We|=Ri,(e.mode>)!==Ve&&(We|=al),e.flags|=We}e.memoizedProps=a,e.memoizedState=X}return f.props=a,f.state=X,f.context=C,te}function nD(e,t,a,u,f){var v=t.stateNode;NE(e,t);var y=t.memoizedProps,E=t.type===t.elementType?y:Ii(t.type,y);v.props=E;var C=t.pendingProps,k=v.context,_=a.contextType,B=Ba;if(typeof _=="object"&&_!==null)B=In(_);else{var I=Uf(t,a,!0);B=Ff(t,I)}var X=a.getDerivedStateFromProps,Z=typeof X=="function"||typeof v.getSnapshotBeforeUpdate=="function";!Z&&(typeof v.UNSAFE_componentWillReceiveProps=="function"||typeof v.componentWillReceiveProps=="function")&&(y!==C||k!==B)&&ST(t,v,u,B),zE();var te=t.memoizedState,Oe=v.state=te;if(Wm(t,u,v,f),Oe=t.memoizedState,y===C&&te===Oe&&!Rm()&&!Gm())return typeof v.componentDidUpdate=="function"&&(y!==e.memoizedProps||te!==e.memoizedState)&&(t.flags|=st),typeof v.getSnapshotBeforeUpdate=="function"&&(y!==e.memoizedProps||te!==e.memoizedState)&&(t.flags|=_n),!1;typeof X=="function"&&(C0(t,a,X,u),Oe=t.memoizedState);var We=Gm()||mT(t,a,E,u,te,Oe,B)||Se;return We?(!Z&&(typeof v.UNSAFE_componentWillUpdate=="function"||typeof v.componentWillUpdate=="function")&&(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(u,Oe,B),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(u,Oe,B)),typeof v.componentDidUpdate=="function"&&(t.flags|=st),typeof v.getSnapshotBeforeUpdate=="function"&&(t.flags|=_n)):(typeof v.componentDidUpdate=="function"&&(y!==e.memoizedProps||te!==e.memoizedState)&&(t.flags|=st),typeof v.getSnapshotBeforeUpdate=="function"&&(y!==e.memoizedProps||te!==e.memoizedState)&&(t.flags|=_n),t.memoizedProps=u,t.memoizedState=Oe),v.props=u,v.state=Oe,v.context=B,We}function qs(e,t){return{value:e,source:t,stack:hc(t),digest:null}}function O0(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function rD(e,t){return!0}function k0(e,t){try{var a=rD(e,t);if(a===!1)return;var u=t.value,f=t.source,v=t.stack,y=v!==null?v:"";if(u!=null&&u._suppressLogging){if(e.tag===T)return;console.error(u)}var E=f?rt(f):null,C=E?"The above error occurred in the <"+E+"> component:":"The above error occurred in one of your React components:",k;if(e.tag===R)k=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
143
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var _=rt(e)||"Anonymous";k="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+_+".")}var B=C+`
|
|
144
|
-
`+y+`
|
|
145
|
-
|
|
146
|
-
`+(""+k);console.error(B)}catch(I){setTimeout(function(){throw I})}}var aD=typeof WeakMap=="function"?WeakMap:Map;function wT(e,t,a){var u=yo(At,a);u.tag=NS,u.payload={element:null};var f=t.value;return u.callback=function(){X_(f),k0(e,t)},u}function D0(e,t,a){var u=yo(At,a);u.tag=NS;var f=e.type.getDerivedStateFromError;if(typeof f=="function"){var v=t.value;u.payload=function(){return f(v)},u.callback=function(){MC(e),k0(e,t)}}var y=e.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(u.callback=function(){MC(e),k0(e,t),typeof f!="function"&&q_(this);var C=t.value,k=t.stack;this.componentDidCatch(C,{componentStack:k!==null?k:""}),typeof f!="function"&&(Hr(e.lanes,Xe)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",rt(e)||"Unknown"))}),u}function bT(e,t,a){var u=e.pingCache,f;if(u===null?(u=e.pingCache=new aD,f=new Set,u.set(t,f)):(f=u.get(t),f===void 0&&(f=new Set,u.set(t,f))),!f.has(a)){f.add(a);var v=K_.bind(null,e,t,a);Ir&&Ov(e,a),t.then(v,v)}}function iD(e,t,a,u){var f=e.updateQueue;if(f===null){var v=new Set;v.add(a),e.updateQueue=v}else f.add(a)}function lD(e,t){var a=e.tag;if((e.mode<)===Ve&&(a===b||a===j||a===le)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function ET(e){var t=e;do{if(t.tag===$&&Ik(t))return t;t=t.return}while(t!==null);return null}function TT(e,t,a,u,f){if((e.mode<)===Ve){if(e===t)e.flags|=jr;else{if(e.flags|=He,a.flags|=Ic,a.flags&=-52805,a.tag===T){var v=a.alternate;if(v===null)a.tag=ee;else{var y=yo(At,Xe);y.tag=Hm,yu(a,y,Xe)}}a.lanes=at(a.lanes,Xe)}return e}return e.flags|=jr,e.lanes=f,e}function oD(e,t,a,u,f){if(a.flags|=rs,Ir&&Ov(e,f),u!==null&&typeof u=="object"&&typeof u.then=="function"){var v=u;lD(a),br()&&a.mode<&&vE();var y=ET(t);if(y!==null){y.flags&=-257,TT(y,t,a,e,f),y.mode<&&bT(e,v,f),iD(y,e,v);return}else{if(!_h(f)){bT(e,v,f),uw();return}var E=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");u=E}}else if(br()&&a.mode<){vE();var C=ET(t);if(C!==null){(C.flags&jr)===Be&&(C.flags|=Ar),TT(C,t,a,e,f),bS(qs(u,a));return}}u=qs(u,a),I_(u);var k=t;do{switch(k.tag){case R:{var _=u;k.flags|=jr;var B=ys(f);k.lanes=at(k.lanes,B);var I=wT(k,_,B);PS(k,I);return}case T:var X=u,Z=k.type,te=k.stateNode;if((k.flags&He)===Be&&(typeof Z.getDerivedStateFromError=="function"||te!==null&&typeof te.componentDidCatch=="function"&&!EC(te))){k.flags|=jr;var Oe=ys(f);k.lanes=at(k.lanes,Oe);var We=D0(k,X,Oe);PS(k,We);return}break}k=k.return}while(k!==null)}function uD(){return null}var fv=o.ReactCurrentOwner,Hi=!1,_0,dv,M0,L0,N0,Qs,z0,mg,pv;_0={},dv={},M0={},L0={},N0={},Qs=!1,z0={},mg={},pv={};function oa(e,t,a,u){e===null?t.child=RE(t,null,a,u):t.child=Vf(t,e.child,a,u)}function sD(e,t,a,u){t.child=Vf(t,e.child,null,u),t.child=Vf(t,null,a,u)}function CT(e,t,a,u,f){if(t.type!==t.elementType){var v=a.propTypes;v&&Ai(v,u,"prop",kt(a))}var y=a.render,E=t.ref,C,k;Wf(t,f),na(t);{if(fv.current=t,Wn(!0),C=Kf(e,t,y,u,E,f),k=Zf(),t.mode&Mt){qt(!0);try{C=Kf(e,t,y,u,E,f),k=Zf()}finally{qt(!1)}}Wn(!1)}return ra(),e!==null&&!Hi?(IE(e,t,f),So(e,t,f)):(br()&&k&&hS(t),t.flags|=Pa,oa(e,t,C,f),t.child)}function xT(e,t,a,u,f){if(e===null){var v=a.type;if(vM(v)&&a.compare===null&&a.defaultProps===void 0){var y=v;return y=ld(v),t.tag=le,t.type=y,j0(t,v),RT(e,t,y,u,f)}{var E=v.propTypes;if(E&&Ai(E,u,"prop",kt(v)),a.defaultProps!==void 0){var C=kt(v)||"Unknown";pv[C]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),pv[C]=!0)}}var k=Sw(a.type,null,u,t,t.mode,f);return k.ref=t.ref,k.return=t,t.child=k,k}{var _=a.type,B=_.propTypes;B&&Ai(B,u,"prop",kt(_))}var I=e.child,X=V0(e,f);if(!X){var Z=I.memoizedProps,te=a.compare;if(te=te!==null?te:Ae,te(Z,u)&&e.ref===t.ref)return So(e,t,f)}t.flags|=Pa;var Oe=ec(I,u);return Oe.ref=t.ref,Oe.return=t,t.child=Oe,Oe}function RT(e,t,a,u,f){if(t.type!==t.elementType){var v=t.elementType;if(v.$$typeof===kn){var y=v,E=y._payload,C=y._init;try{v=C(E)}catch{v=null}var k=v&&v.propTypes;k&&Ai(k,u,"prop",kt(v))}}if(e!==null){var _=e.memoizedProps;if(Ae(_,u)&&e.ref===t.ref&&t.type===e.type)if(Hi=!1,t.pendingProps=u=_,V0(e,f))(e.flags&Ic)!==Be&&(Hi=!0);else return t.lanes=e.lanes,So(e,t,f)}return A0(e,t,a,u,f)}function OT(e,t,a){var u=t.pendingProps,f=u.children,v=e!==null?e.memoizedState:null;if(u.mode==="hidden"||ye)if((t.mode<)===Ve){var y={baseLanes:ce,cachePool:null,transitions:null};t.memoizedState=y,Dg(t,a)}else if(Hr(a,aa)){var B={baseLanes:ce,cachePool:null,transitions:null};t.memoizedState=B;var I=v!==null?v.baseLanes:a;Dg(t,I)}else{var E=null,C;if(v!==null){var k=v.baseLanes;C=at(k,a)}else C=a;t.lanes=t.childLanes=aa;var _={baseLanes:C,cachePool:E,transitions:null};return t.memoizedState=_,t.updateQueue=null,Dg(t,C),null}else{var X;v!==null?(X=at(v.baseLanes,a),t.memoizedState=null):X=a,Dg(t,X)}return oa(e,t,f,a),t.child}function cD(e,t,a){var u=t.pendingProps;return oa(e,t,u,a),t.child}function fD(e,t,a){var u=t.pendingProps.children;return oa(e,t,u,a),t.child}function dD(e,t,a){{t.flags|=st;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var f=t.pendingProps,v=f.children;return oa(e,t,v,a),t.child}function kT(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=rn,t.flags|=Jo)}function A0(e,t,a,u,f){if(t.type!==t.elementType){var v=a.propTypes;v&&Ai(v,u,"prop",kt(a))}var y;{var E=Uf(t,a,!0);y=Ff(t,E)}var C,k;Wf(t,f),na(t);{if(fv.current=t,Wn(!0),C=Kf(e,t,a,u,y,f),k=Zf(),t.mode&Mt){qt(!0);try{C=Kf(e,t,a,u,y,f),k=Zf()}finally{qt(!1)}}Wn(!1)}return ra(),e!==null&&!Hi?(IE(e,t,f),So(e,t,f)):(br()&&k&&hS(t),t.flags|=Pa,oa(e,t,C,f),t.child)}function DT(e,t,a,u,f){{switch(DM(t)){case!1:{var v=t.stateNode,y=t.type,E=new y(t.memoizedProps,v.context),C=E.state;v.updater.enqueueSetState(v,C,null);break}case!0:{t.flags|=He,t.flags|=jr;var k=new Error("Simulated error coming from DevTools"),_=ys(f);t.lanes=at(t.lanes,_);var B=D0(t,qs(k,t),_);PS(t,B);break}}if(t.type!==t.elementType){var I=a.propTypes;I&&Ai(I,u,"prop",kt(a))}}var X;bl(a)?(X=!0,km(t)):X=!1,Wf(t,f);var Z=t.stateNode,te;Z===null?(yg(e,t),yT(t,a,u),R0(t,a,u,f),te=!0):e===null?te=tD(t,a,u,f):te=nD(e,t,a,u,f);var Oe=P0(e,t,a,te,X,f);{var We=t.stateNode;te&&We.props!==u&&(Qs||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",rt(t)||"a component"),Qs=!0)}return Oe}function P0(e,t,a,u,f,v){kT(e,t);var y=(t.flags&He)!==Be;if(!u&&!y)return f&&cE(t,a,!1),So(e,t,v);var E=t.stateNode;fv.current=t;var C;if(y&&typeof a.getDerivedStateFromError!="function")C=null,pT();else{na(t);{if(Wn(!0),C=E.render(),t.mode&Mt){qt(!0);try{E.render()}finally{qt(!1)}}Wn(!1)}ra()}return t.flags|=Pa,e!==null&&y?sD(e,t,C,v):oa(e,t,C,v),t.memoizedState=E.state,f&&cE(t,a,!0),t.child}function _T(e){var t=e.stateNode;t.pendingContext?uE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&uE(e,t.context,!1),jS(e,t.containerInfo)}function pD(e,t,a){if(_T(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,f=t.memoizedState,v=f.element;NE(e,t),Wm(t,u,null,a);var y=t.memoizedState;t.stateNode;var E=y.element;if(f.isDehydrated){var C={element:E,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},k=t.updateQueue;if(k.baseState=C,t.memoizedState=C,t.flags&Ar){var _=qs(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return MT(e,t,E,a,_)}else if(E!==v){var B=qs(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return MT(e,t,E,a,B)}else{mk(t);var I=RE(t,null,E,a);t.child=I;for(var X=I;X;)X.flags=X.flags&-3|ya,X=X.sibling}}else{if(Bf(),E===v)return So(e,t,a);oa(e,t,E,a)}return t.child}function MT(e,t,a,u,f){return Bf(),bS(f),t.flags|=Ar,oa(e,t,a,u),t.child}function vD(e,t,a){jE(t),e===null&&wS(t);var u=t.type,f=t.pendingProps,v=e!==null?e.memoizedProps:null,y=f.children,E=tS(u,f);return E?y=null:v!==null&&tS(u,v)&&(t.flags|=ja),kT(e,t),oa(e,t,y,a),t.child}function hD(e,t){return e===null&&wS(t),null}function mD(e,t,a,u){yg(e,t);var f=t.pendingProps,v=a,y=v._payload,E=v._init,C=E(y);t.type=C;var k=t.tag=hM(C),_=Ii(C,f),B;switch(k){case b:return j0(t,C),t.type=C=ld(C),B=A0(null,t,C,_,u),B;case T:return t.type=C=pw(C),B=DT(null,t,C,_,u),B;case j:return t.type=C=vw(C),B=CT(null,t,C,_,u),B;case se:{if(t.type!==t.elementType){var I=C.propTypes;I&&Ai(I,_,"prop",kt(C))}return B=xT(null,t,C,Ii(C.type,_),u),B}}var X="";throw C!==null&&typeof C=="object"&&C.$$typeof===kn&&(X=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+C+". "+("Lazy element type must resolve to a class or function."+X))}function gD(e,t,a,u,f){yg(e,t),t.tag=T;var v;return bl(a)?(v=!0,km(t)):v=!1,Wf(t,f),yT(t,a,u),R0(t,a,u,f),P0(null,t,a,!0,v,f)}function yD(e,t,a,u){yg(e,t);var f=t.pendingProps,v;{var y=Uf(t,a,!1);v=Ff(t,y)}Wf(t,u);var E,C;na(t);{if(a.prototype&&typeof a.prototype.render=="function"){var k=kt(a)||"Unknown";_0[k]||(m("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",k,k),_0[k]=!0)}t.mode&Mt&&ji.recordLegacyContextWarning(t,null),Wn(!0),fv.current=t,E=Kf(null,t,a,f,v,u),C=Zf(),Wn(!1)}if(ra(),t.flags|=Pa,typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){var _=kt(a)||"Unknown";dv[_]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",_,_,_),dv[_]=!0)}if(typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){{var B=kt(a)||"Unknown";dv[B]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",B,B,B),dv[B]=!0)}t.tag=T,t.memoizedState=null,t.updateQueue=null;var I=!1;return bl(a)?(I=!0,km(t)):I=!1,t.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,AS(t),gT(t,E),R0(t,a,f,u),P0(null,t,a,!0,I,u)}else{if(t.tag=b,t.mode&Mt){qt(!0);try{E=Kf(null,t,a,f,v,u),C=Zf()}finally{qt(!1)}}return br()&&C&&hS(t),oa(null,t,E,u),j0(t,a),t.child}}function j0(e,t){{if(t&&t.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",u=va();u&&(a+=`
|
|
147
|
-
|
|
148
|
-
Check the render method of \``+u+"`.");var f=u||"",v=e._debugSource;v&&(f=v.fileName+":"+v.lineNumber),N0[f]||(N0[f]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(t.defaultProps!==void 0){var y=kt(t)||"Unknown";pv[y]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",y),pv[y]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var E=kt(t)||"Unknown";L0[E]||(m("%s: Function components do not support getDerivedStateFromProps.",E),L0[E]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=kt(t)||"Unknown";M0[C]||(m("%s: Function components do not support contextType.",C),M0[C]=!0)}}}var U0={dehydrated:null,treeContext:null,retryLane:vt};function F0(e){return{baseLanes:e,cachePool:uD(),transitions:null}}function SD(e,t){var a=null;return{baseLanes:at(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function wD(e,t,a,u){if(t!==null){var f=t.memoizedState;if(f===null)return!1}return IS(e,nv)}function bD(e,t){return Ss(e.childLanes,t)}function LT(e,t,a){var u=t.pendingProps;_M(t)&&(t.flags|=He);var f=Ui.current,v=!1,y=(t.flags&He)!==Be;if(y||wD(f,e)?(v=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(f=Fk(f,FE)),f=Yf(f),wu(t,f),e===null){wS(t);var E=t.memoizedState;if(E!==null){var C=E.dehydrated;if(C!==null)return RD(t,C)}var k=u.children,_=u.fallback;if(v){var B=ED(t,k,_,a),I=t.child;return I.memoizedState=F0(a),t.memoizedState=U0,B}else return I0(t,k)}else{var X=e.memoizedState;if(X!==null){var Z=X.dehydrated;if(Z!==null)return OD(e,t,y,u,Z,X,a)}if(v){var te=u.fallback,Oe=u.children,We=CD(e,t,Oe,te,a),Ie=t.child,dt=e.child.memoizedState;return Ie.memoizedState=dt===null?F0(a):SD(dt,a),Ie.childLanes=bD(e,a),t.memoizedState=U0,We}else{var ut=u.children,G=TD(e,t,ut,a);return t.memoizedState=null,G}}}function I0(e,t,a){var u=e.mode,f={mode:"visible",children:t},v=H0(f,u);return v.return=e,e.child=v,v}function ED(e,t,a,u){var f=e.mode,v=e.child,y={mode:"hidden",children:t},E,C;return(f<)===Ve&&v!==null?(E=v,E.childLanes=ce,E.pendingProps=y,e.mode&mt&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=0,E.treeBaseDuration=0),C=ku(a,f,u,null)):(E=H0(y,f),C=ku(a,f,u,null)),E.return=e,C.return=e,E.sibling=C,e.child=E,C}function H0(e,t,a){return NC(e,t,ce,null)}function NT(e,t){return ec(e,t)}function TD(e,t,a,u){var f=e.child,v=f.sibling,y=NT(f,{mode:"visible",children:a});if((t.mode<)===Ve&&(y.lanes=u),y.return=t,y.sibling=null,v!==null){var E=t.deletions;E===null?(t.deletions=[v],t.flags|=ga):E.push(v)}return t.child=y,y}function CD(e,t,a,u,f){var v=t.mode,y=e.child,E=y.sibling,C={mode:"hidden",children:a},k;if((v<)===Ve&&t.child!==y){var _=t.child;k=_,k.childLanes=ce,k.pendingProps=C,t.mode&mt&&(k.actualDuration=0,k.actualStartTime=-1,k.selfBaseDuration=y.selfBaseDuration,k.treeBaseDuration=y.treeBaseDuration),t.deletions=null}else k=NT(y,C),k.subtreeFlags=y.subtreeFlags&Sn;var B;return E!==null?B=ec(E,u):(B=ku(u,v,f,null),B.flags|=un),B.return=t,k.return=t,k.sibling=B,t.child=k,B}function gg(e,t,a,u){u!==null&&bS(u),Vf(t,e.child,null,a);var f=t.pendingProps,v=f.children,y=I0(t,v);return y.flags|=un,t.memoizedState=null,y}function xD(e,t,a,u,f){var v=t.mode,y={mode:"visible",children:a},E=H0(y,v),C=ku(u,v,f,null);return C.flags|=un,E.return=t,C.return=t,E.sibling=C,t.child=E,(t.mode<)!==Ve&&Vf(t,e.child,null,f),C}function RD(e,t,a){return(e.mode<)===Ve?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=Xe):iS(t)?e.lanes=or:e.lanes=aa,null}function OD(e,t,a,u,f,v,y){if(a)if(t.flags&Ar){t.flags&=-257;var G=O0(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return gg(e,t,y,G)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=He,null;var ne=u.children,Y=u.fallback,me=xD(e,t,ne,Y,y),Me=t.child;return Me.memoizedState=F0(y),t.memoizedState=U0,me}else{if(vk(),(t.mode<)===Ve)return gg(e,t,y,null);if(iS(f)){var E,C,k;{var _=MO(f);E=_.digest,C=_.message,k=_.stack}var B;C?B=new Error(C):B=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var I=O0(B,E,k);return gg(e,t,y,I)}var X=Hr(y,e.childLanes);if(Hi||X){var Z=kg();if(Z!==null){var te=mp(Z,y);if(te!==vt&&te!==v.retryLane){v.retryLane=te;var Oe=At;Oa(e,te),ar(Z,e,te,Oe)}}uw();var We=O0(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return gg(e,t,y,We)}else if(nE(f)){t.flags|=He,t.child=e.child;var Ie=Z_.bind(null,e);return LO(f,Ie),null}else{gk(t,f,v.treeContext);var dt=u.children,ut=I0(t,dt);return ut.flags|=ya,ut}}}function zT(e,t,a){e.lanes=at(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=at(u.lanes,t)),MS(e.return,t,a)}function kD(e,t,a){for(var u=t;u!==null;){if(u.tag===$){var f=u.memoizedState;f!==null&&zT(u,a,e)}else if(u.tag===re)zT(u,a,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function DD(e){for(var t=e,a=null;t!==null;){var u=t.alternate;u!==null&&Qm(u)===null&&(a=t),t=t.sibling}return a}function _D(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!z0[e])if(z0[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function MD(e,t){e!==void 0&&!mg[e]&&(e!=="collapsed"&&e!=="hidden"?(mg[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(mg[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function AT(e,t){{var a=Gn(e),u=!a&&typeof Ce(e)=="function";if(a||u){var f=a?"array":"iterable";return m("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",f,t,f),!1}}return!0}function LD(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Gn(e)){for(var a=0;a<e.length;a++)if(!AT(e[a],a))return}else{var u=Ce(e);if(typeof u=="function"){var f=u.call(e);if(f)for(var v=f.next(),y=0;!v.done;v=f.next()){if(!AT(v.value,y))return;y++}}else m('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function B0(e,t,a,u,f){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:a,tailMode:f}:(v.isBackwards=t,v.rendering=null,v.renderingStartTime=0,v.last=u,v.tail=a,v.tailMode=f)}function PT(e,t,a){var u=t.pendingProps,f=u.revealOrder,v=u.tail,y=u.children;_D(f),MD(v,f),LD(y,f),oa(e,t,y,a);var E=Ui.current,C=IS(E,nv);if(C)E=HS(E,nv),t.flags|=He;else{var k=e!==null&&(e.flags&He)!==Be;k&&kD(t,t.child,a),E=Yf(E)}if(wu(t,E),(t.mode<)===Ve)t.memoizedState=null;else switch(f){case"forwards":{var _=DD(t.child),B;_===null?(B=t.child,t.child=null):(B=_.sibling,_.sibling=null),B0(t,!1,B,_,v);break}case"backwards":{var I=null,X=t.child;for(t.child=null;X!==null;){var Z=X.alternate;if(Z!==null&&Qm(Z)===null){t.child=X;break}var te=X.sibling;X.sibling=I,I=X,X=te}B0(t,!0,I,null,v);break}case"together":{B0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function ND(e,t,a){jS(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=Vf(t,null,u,a):oa(e,t,u,a),t.child}var jT=!1;function zD(e,t,a){var u=t.type,f=u._context,v=t.pendingProps,y=t.memoizedProps,E=v.value;{"value"in v||jT||(jT=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var C=t.type.propTypes;C&&Ai(C,v,"prop","Context.Provider")}if(DE(t,f,E),y!==null){var k=y.value;if(pe(k,E)){if(y.children===v.children&&!Rm())return So(e,t,a)}else _k(t,f,a)}var _=v.children;return oa(e,t,_,a),t.child}var UT=!1;function AD(e,t,a){var u=t.type;u._context===void 0?u!==u.Consumer&&(UT||(UT=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var f=t.pendingProps,v=f.children;typeof v!="function"&&m("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Wf(t,a);var y=In(u);na(t);var E;return fv.current=t,Wn(!0),E=v(y),Wn(!1),ra(),t.flags|=Pa,oa(e,t,E,a),t.child}function vv(){Hi=!0}function yg(e,t){(t.mode<)===Ve&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=un)}function So(e,t,a){return e!==null&&(t.dependencies=e.dependencies),pT(),Rv(t.lanes),Hr(a,t.childLanes)?(kk(e,t),t.child):null}function PD(e,t,a){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===u.child)u.child=a;else{var f=u.child;if(f===null)throw new Error("Expected parent to have a child.");for(;f.sibling!==t;)if(f=f.sibling,f===null)throw new Error("Expected to find the previous sibling.");f.sibling=a}var v=u.deletions;return v===null?(u.deletions=[e],u.flags|=ga):v.push(e),a.flags|=un,a}}function V0(e,t){var a=e.lanes;return!!Hr(a,t)}function jD(e,t,a){switch(t.tag){case R:_T(t),t.stateNode,Bf();break;case L:jE(t);break;case T:{var u=t.type;bl(u)&&km(t);break}case D:jS(t,t.stateNode.containerInfo);break;case z:{var f=t.memoizedProps.value,v=t.type._context;DE(t,v,f);break}case q:{var y=Hr(a,t.childLanes);y&&(t.flags|=st);{var E=t.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}}break;case $:{var C=t.memoizedState;if(C!==null){if(C.dehydrated!==null)return wu(t,Yf(Ui.current)),t.flags|=He,null;var k=t.child,_=k.childLanes;if(Hr(a,_))return LT(e,t,a);wu(t,Yf(Ui.current));var B=So(e,t,a);return B!==null?B.sibling:null}else wu(t,Yf(Ui.current));break}case re:{var I=(e.flags&He)!==Be,X=Hr(a,t.childLanes);if(I){if(X)return PT(e,t,a);t.flags|=He}var Z=t.memoizedState;if(Z!==null&&(Z.rendering=null,Z.tail=null,Z.lastEffect=null),wu(t,Ui.current),X)break;return null}case we:case Qe:return t.lanes=ce,OT(e,t,a)}return So(e,t,a)}function FT(e,t,a){if(t._debugNeedsRemount&&e!==null)return PD(e,t,Sw(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,f=t.pendingProps;if(u!==f||Rm()||t.type!==e.type)Hi=!0;else{var v=V0(e,a);if(!v&&(t.flags&He)===Be)return Hi=!1,jD(e,t,a);(e.flags&Ic)!==Be?Hi=!0:Hi=!1}}else if(Hi=!1,br()&&uk(t)){var y=t.index,E=sk();pE(t,E,y)}switch(t.lanes=ce,t.tag){case O:return yD(e,t,t.type,a);case ve:{var C=t.elementType;return mD(e,t,C,a)}case b:{var k=t.type,_=t.pendingProps,B=t.elementType===k?_:Ii(k,_);return A0(e,t,k,B,a)}case T:{var I=t.type,X=t.pendingProps,Z=t.elementType===I?X:Ii(I,X);return DT(e,t,I,Z,a)}case R:return pD(e,t,a);case L:return vD(e,t,a);case M:return hD(e,t);case $:return LT(e,t,a);case D:return ND(e,t,a);case j:{var te=t.type,Oe=t.pendingProps,We=t.elementType===te?Oe:Ii(te,Oe);return CT(e,t,te,We,a)}case U:return cD(e,t,a);case P:return fD(e,t,a);case q:return dD(e,t,a);case z:return zD(e,t,a);case N:return AD(e,t,a);case se:{var Ie=t.type,dt=t.pendingProps,ut=Ii(Ie,dt);if(t.type!==t.elementType){var G=Ie.propTypes;G&&Ai(G,ut,"prop",kt(Ie))}return ut=Ii(Ie.type,ut),xT(e,t,Ie,ut,a)}case le:return RT(e,t,t.type,t.pendingProps,a);case ee:{var ne=t.type,Y=t.pendingProps,me=t.elementType===ne?Y:Ii(ne,Y);return gD(e,t,ne,me,a)}case re:return PT(e,t,a);case oe:break;case we:return OT(e,t,a)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Jf(e){e.flags|=st}function IT(e){e.flags|=rn,e.flags|=Jo}var HT,$0,BT,VT;HT=function(e,t,a,u){for(var f=t.child;f!==null;){if(f.tag===L||f.tag===M)iO(e,f.stateNode);else if(f.tag!==D){if(f.child!==null){f.child.return=f,f=f.child;continue}}if(f===t)return;for(;f.sibling===null;){if(f.return===null||f.return===t)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},$0=function(e,t){},BT=function(e,t,a,u,f){var v=e.memoizedProps;if(v!==u){var y=t.stateNode,E=US(),C=oO(y,a,v,u,f,E);t.updateQueue=C,C&&Jf(t)}},VT=function(e,t,a,u){a!==u&&Jf(t)};function hv(e,t){if(!br())switch(e.tailMode){case"hidden":{for(var a=e.tail,u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var f=e.tail,v=null;f!==null;)f.alternate!==null&&(v=f),f=f.sibling;v===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:v.sibling=null;break}}}function Tr(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=ce,u=Be;if(t){if((e.mode&mt)!==Ve){for(var C=e.selfBaseDuration,k=e.child;k!==null;)a=at(a,at(k.lanes,k.childLanes)),u|=k.subtreeFlags&Sn,u|=k.flags&Sn,C+=k.treeBaseDuration,k=k.sibling;e.treeBaseDuration=C}else for(var _=e.child;_!==null;)a=at(a,at(_.lanes,_.childLanes)),u|=_.subtreeFlags&Sn,u|=_.flags&Sn,_.return=e,_=_.sibling;e.subtreeFlags|=u}else{if((e.mode&mt)!==Ve){for(var f=e.actualDuration,v=e.selfBaseDuration,y=e.child;y!==null;)a=at(a,at(y.lanes,y.childLanes)),u|=y.subtreeFlags,u|=y.flags,f+=y.actualDuration,v+=y.treeBaseDuration,y=y.sibling;e.actualDuration=f,e.treeBaseDuration=v}else for(var E=e.child;E!==null;)a=at(a,at(E.lanes,E.childLanes)),u|=E.subtreeFlags,u|=E.flags,E.return=e,E=E.sibling;e.subtreeFlags|=u}return e.childLanes=a,t}function UD(e,t,a){if(Ek()&&(t.mode<)!==Ve&&(t.flags&He)===Be)return wE(t),Bf(),t.flags|=Ar|rs|jr,!1;var u=Nm(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(wk(t),Tr(t),(t.mode&mt)!==Ve){var f=a!==null;if(f){var v=t.child;v!==null&&(t.treeBaseDuration-=v.treeBaseDuration)}}return!1}else{if(Bf(),(t.flags&He)===Be&&(t.memoizedState=null),t.flags|=st,Tr(t),(t.mode&mt)!==Ve){var y=a!==null;if(y){var E=t.child;E!==null&&(t.treeBaseDuration-=E.treeBaseDuration)}}return!1}else return bE(),!0}function $T(e,t,a){var u=t.pendingProps;switch(mS(t),t.tag){case O:case ve:case le:case b:case j:case U:case P:case q:case N:case se:return Tr(t),null;case T:{var f=t.type;return bl(f)&&Om(t),Tr(t),null}case R:{var v=t.stateNode;if(Gf(t),dS(t),VS(),v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),e===null||e.child===null){var y=Nm(t);if(y)Jf(t);else if(e!==null){var E=e.memoizedState;(!E.isDehydrated||(t.flags&Ar)!==Be)&&(t.flags|=_n,bE())}}return $0(e,t),Tr(t),null}case L:{FS(t);var C=PE(),k=t.type;if(e!==null&&t.stateNode!=null)BT(e,t,k,u,C),e.ref!==t.ref&&IT(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Tr(t),null}var _=US(),B=Nm(t);if(B)yk(t,C,_)&&Jf(t);else{var I=aO(k,u,C,_,t);HT(I,t,!1,!1),t.stateNode=I,lO(I,k,u,C)&&Jf(t)}t.ref!==null&&IT(t)}return Tr(t),null}case M:{var X=u;if(e&&t.stateNode!=null){var Z=e.memoizedProps;VT(e,t,Z,X)}else{if(typeof X!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var te=PE(),Oe=US(),We=Nm(t);We?Sk(t)&&Jf(t):t.stateNode=uO(X,te,Oe,t)}return Tr(t),null}case $:{qf(t);var Ie=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var dt=UD(e,t,Ie);if(!dt)return t.flags&jr?t:null}if((t.flags&He)!==Be)return t.lanes=a,(t.mode&mt)!==Ve&&v0(t),t;var ut=Ie!==null,G=e!==null&&e.memoizedState!==null;if(ut!==G&&ut){var ne=t.child;if(ne.flags|=yn,(t.mode<)!==Ve){var Y=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);Y||IS(Ui.current,FE)?F_():uw()}}var me=t.updateQueue;if(me!==null&&(t.flags|=st),Tr(t),(t.mode&mt)!==Ve&&ut){var Me=t.child;Me!==null&&(t.treeBaseDuration-=Me.treeBaseDuration)}return null}case D:return Gf(t),$0(e,t),e===null&&tk(t.stateNode.containerInfo),Tr(t),null;case z:var ke=t.type._context;return _S(ke,t),Tr(t),null;case ee:{var Ke=t.type;return bl(Ke)&&Om(t),Tr(t),null}case re:{qf(t);var et=t.memoizedState;if(et===null)return Tr(t),null;var Nt=(t.flags&He)!==Be,St=et.rendering;if(St===null)if(Nt)hv(et,!1);else{var Nn=H_()&&(e===null||(e.flags&He)===Be);if(!Nn)for(var wt=t.child;wt!==null;){var xn=Qm(wt);if(xn!==null){Nt=!0,t.flags|=He,hv(et,!1);var qr=xn.updateQueue;return qr!==null&&(t.updateQueue=qr,t.flags|=st),t.subtreeFlags=Be,Dk(t,a),wu(t,HS(Ui.current,nv)),t.child}wt=wt.sibling}et.tail!==null&&Mn()>fC()&&(t.flags|=He,Nt=!0,hv(et,!1),t.lanes=op)}else{if(!Nt){var kr=Qm(St);if(kr!==null){t.flags|=He,Nt=!0;var $a=kr.updateQueue;if($a!==null&&(t.updateQueue=$a,t.flags|=st),hv(et,!0),et.tail===null&&et.tailMode==="hidden"&&!St.alternate&&!br())return Tr(t),null}else Mn()*2-et.renderingStartTime>fC()&&a!==aa&&(t.flags|=He,Nt=!0,hv(et,!1),t.lanes=op)}if(et.isBackwards)St.sibling=t.child,t.child=St;else{var ca=et.last;ca!==null?ca.sibling=St:t.child=St,et.last=St}}if(et.tail!==null){var fa=et.tail;et.rendering=fa,et.tail=fa.sibling,et.renderingStartTime=Mn(),fa.sibling=null;var Qr=Ui.current;return Nt?Qr=HS(Qr,nv):Qr=Yf(Qr),wu(t,Qr),fa}return Tr(t),null}case oe:break;case we:case Qe:{ow(t);var Co=t.memoizedState,od=Co!==null;if(e!==null){var Mv=e.memoizedState,Dl=Mv!==null;Dl!==od&&(t.flags|=yn)}return!od||(t.mode<)===Ve?Tr(t):Hr(kl,aa)&&(Tr(t),t.subtreeFlags&(un|st)&&(t.flags|=yn)),null}case Ge:return null;case be:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function FD(e,t,a){switch(mS(t),t.tag){case T:{var u=t.type;bl(u)&&Om(t);var f=t.flags;return f&jr?(t.flags=f&-65537|He,(t.mode&mt)!==Ve&&v0(t),t):null}case R:{t.stateNode,Gf(t),dS(t),VS();var v=t.flags;return(v&jr)!==Be&&(v&He)===Be?(t.flags=v&-65537|He,t):null}case L:return FS(t),null;case $:{qf(t);var y=t.memoizedState;if(y!==null&&y.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Bf()}var E=t.flags;return E&jr?(t.flags=E&-65537|He,(t.mode&mt)!==Ve&&v0(t),t):null}case re:return qf(t),null;case D:return Gf(t),null;case z:var C=t.type._context;return _S(C,t),null;case we:case Qe:return ow(t),null;case Ge:return null;default:return null}}function WT(e,t,a){switch(mS(t),t.tag){case T:{var u=t.type.childContextTypes;u!=null&&Om(t);break}case R:{t.stateNode,Gf(t),dS(t),VS();break}case L:{FS(t);break}case D:Gf(t);break;case $:qf(t);break;case re:qf(t);break;case z:var f=t.type._context;_S(f,t);break;case we:case Qe:ow(t);break}}var GT=null;GT=new Set;var Sg=!1,Cr=!1,ID=typeof WeakSet=="function"?WeakSet:Set,Pe=null,ed=null,td=null;function HD(e){rl(null,function(){throw e}),ns()}var BD=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&mt)try{Rl(),t.componentWillUnmount()}finally{xl(e)}else t.componentWillUnmount()};function YT(e,t){try{Tu(Zn,e)}catch(a){It(e,t,a)}}function W0(e,t,a){try{BD(e,a)}catch(u){It(e,t,u)}}function VD(e,t,a){try{a.componentDidMount()}catch(u){It(e,t,u)}}function qT(e,t){try{XT(e)}catch(a){It(e,t,a)}}function nd(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var u;try{if(Ht&&bt&&e.mode&mt)try{Rl(),u=a(null)}finally{xl(e)}else u=a(null)}catch(f){It(e,t,f)}typeof u=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rt(e))}else a.current=null}function wg(e,t,a){try{a()}catch(u){It(e,t,u)}}var QT=!1;function $D(e,t){nO(e.containerInfo),Pe=t,WD();var a=QT;return QT=!1,a}function WD(){for(;Pe!==null;){var e=Pe,t=e.child;(e.subtreeFlags&il)!==Be&&t!==null?(t.return=e,Pe=t):GD()}}function GD(){for(;Pe!==null;){var e=Pe;Ft(e);try{YD(e)}catch(a){It(e,e.return,a)}nn();var t=e.sibling;if(t!==null){t.return=e.return,Pe=t;return}Pe=e.return}}function YD(e){var t=e.alternate,a=e.flags;if((a&_n)!==Be){switch(Ft(e),e.tag){case b:case j:case le:break;case T:{if(t!==null){var u=t.memoizedProps,f=t.memoizedState,v=e.stateNode;e.type===e.elementType&&!Qs&&(v.props!==e.memoizedProps&&m("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",rt(e)||"instance"),v.state!==e.memoizedState&&m("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",rt(e)||"instance"));var y=v.getSnapshotBeforeUpdate(e.elementType===e.type?u:Ii(e.type,u),f);{var E=GT;y===void 0&&!E.has(e.type)&&(E.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",rt(e)))}v.__reactInternalSnapshotBeforeUpdate=y}break}case R:{{var C=e.stateNode;OO(C.containerInfo)}break}case L:case M:case D:case ee:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}nn()}}function Bi(e,t,a){var u=t.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var v=f.next,y=v;do{if((y.tag&e)===e){var E=y.destroy;y.destroy=void 0,E!==void 0&&((e&Er)!==ka?Di(t):(e&Zn)!==ka&&is(t),(e&El)!==ka&&kv(!0),wg(t,a,E),(e&El)!==ka&&kv(!1),(e&Er)!==ka?sl():(e&Zn)!==ka&&ip())}y=y.next}while(y!==v)}}function Tu(e,t){var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var f=u.next,v=f;do{if((v.tag&e)===e){(e&Er)!==ka?ap(t):(e&Zn)!==ka&&Gc(t);var y=v.create;(e&El)!==ka&&kv(!0),v.destroy=y(),(e&El)!==ka&&kv(!1),(e&Er)!==ka?xh():(e&Zn)!==ka&&Rh();{var E=v.destroy;if(E!==void 0&&typeof E!="function"){var C=void 0;(v.tag&Zn)!==Be?C="useLayoutEffect":(v.tag&El)!==Be?C="useInsertionEffect":C="useEffect";var k=void 0;E===null?k=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof E.then=="function"?k=`
|
|
149
|
-
|
|
150
|
-
It looks like you wrote `+C+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
151
|
-
|
|
152
|
-
`+C+`(() => {
|
|
153
|
-
async function fetchData() {
|
|
154
|
-
// You can await here
|
|
155
|
-
const response = await MyAPI.getData(someId);
|
|
156
|
-
// ...
|
|
157
|
-
}
|
|
158
|
-
fetchData();
|
|
159
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
160
|
-
|
|
161
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:k=" You returned: "+E,m("%s must not return anything besides a function, which is used for clean-up.%s",C,k)}}}v=v.next}while(v!==f)}}function qD(e,t){if((t.flags&st)!==Be)switch(t.tag){case q:{var a=t.stateNode.passiveEffectDuration,u=t.memoizedProps,f=u.id,v=u.onPostCommit,y=fT(),E=t.alternate===null?"mount":"update";cT()&&(E="nested-update"),typeof v=="function"&&v(f,E,a,y);var C=t.return;e:for(;C!==null;){switch(C.tag){case R:var k=C.stateNode;k.passiveEffectDuration+=a;break e;case q:var _=C.stateNode;_.passiveEffectDuration+=a;break e}C=C.return}break}}}function QD(e,t,a,u){if((a.flags&ol)!==Be)switch(a.tag){case b:case j:case le:{if(!Cr)if(a.mode&mt)try{Rl(),Tu(Zn|Kn,a)}finally{xl(a)}else Tu(Zn|Kn,a);break}case T:{var f=a.stateNode;if(a.flags&st&&!Cr)if(t===null)if(a.type===a.elementType&&!Qs&&(f.props!==a.memoizedProps&&m("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",rt(a)||"instance"),f.state!==a.memoizedState&&m("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",rt(a)||"instance")),a.mode&mt)try{Rl(),f.componentDidMount()}finally{xl(a)}else f.componentDidMount();else{var v=a.elementType===a.type?t.memoizedProps:Ii(a.type,t.memoizedProps),y=t.memoizedState;if(a.type===a.elementType&&!Qs&&(f.props!==a.memoizedProps&&m("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",rt(a)||"instance"),f.state!==a.memoizedState&&m("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",rt(a)||"instance")),a.mode&mt)try{Rl(),f.componentDidUpdate(v,y,f.__reactInternalSnapshotBeforeUpdate)}finally{xl(a)}else f.componentDidUpdate(v,y,f.__reactInternalSnapshotBeforeUpdate)}var E=a.updateQueue;E!==null&&(a.type===a.elementType&&!Qs&&(f.props!==a.memoizedProps&&m("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",rt(a)||"instance"),f.state!==a.memoizedState&&m("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",rt(a)||"instance")),AE(a,E,f));break}case R:{var C=a.updateQueue;if(C!==null){var k=null;if(a.child!==null)switch(a.child.tag){case L:k=a.child.stateNode;break;case T:k=a.child.stateNode;break}AE(a,C,k)}break}case L:{var _=a.stateNode;if(t===null&&a.flags&st){var B=a.type,I=a.memoizedProps;pO(_,B,I)}break}case M:break;case D:break;case q:{{var X=a.memoizedProps,Z=X.onCommit,te=X.onRender,Oe=a.stateNode.effectDuration,We=fT(),Ie=t===null?"mount":"update";cT()&&(Ie="nested-update"),typeof te=="function"&&te(a.memoizedProps.id,Ie,a.actualDuration,a.treeBaseDuration,a.actualStartTime,We);{typeof Z=="function"&&Z(a.memoizedProps.id,Ie,Oe,We),G_(a);var dt=a.return;e:for(;dt!==null;){switch(dt.tag){case R:var ut=dt.stateNode;ut.effectDuration+=Oe;break e;case q:var G=dt.stateNode;G.effectDuration+=Oe;break e}dt=dt.return}}}break}case $:{r_(e,a);break}case re:case ee:case oe:case we:case Qe:case be:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Cr||a.flags&rn&&XT(a)}function XD(e){switch(e.tag){case b:case j:case le:{if(e.mode&mt)try{Rl(),YT(e,e.return)}finally{xl(e)}else YT(e,e.return);break}case T:{var t=e.stateNode;typeof t.componentDidMount=="function"&&VD(e,e.return,t),qT(e,e.return);break}case L:{qT(e,e.return);break}}}function KD(e,t){for(var a=null,u=e;;){if(u.tag===L){if(a===null){a=u;try{var f=u.stateNode;t?TO(f):xO(u.stateNode,u.memoizedProps)}catch(y){It(e,e.return,y)}}}else if(u.tag===M){if(a===null)try{var v=u.stateNode;t?CO(v):RO(v,u.memoizedProps)}catch(y){It(e,e.return,y)}}else if(!((u.tag===we||u.tag===Qe)&&u.memoizedState!==null&&u!==e)){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;a===u&&(a=null),u=u.return}a===u&&(a=null),u.sibling.return=u.return,u=u.sibling}}function XT(e){var t=e.ref;if(t!==null){var a=e.stateNode,u;switch(e.tag){case L:u=a;break;default:u=a}if(typeof t=="function"){var f;if(e.mode&mt)try{Rl(),f=t(u)}finally{xl(e)}else f=t(u);typeof f=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rt(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",rt(e)),t.current=u}}function ZD(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function KT(e){var t=e.alternate;t!==null&&(e.alternate=null,KT(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===L){var a=e.stateNode;a!==null&&ak(a)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function JD(e){for(var t=e.return;t!==null;){if(ZT(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function ZT(e){return e.tag===L||e.tag===R||e.tag===D}function JT(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||ZT(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==L&&t.tag!==M&&t.tag!==J;){if(t.flags&un||t.child===null||t.tag===D)continue e;t.child.return=t,t=t.child}if(!(t.flags&un))return t.stateNode}}function e_(e){var t=JD(e);switch(t.tag){case L:{var a=t.stateNode;t.flags&ja&&(tE(a),t.flags&=-33);var u=JT(e);Y0(e,u,a);break}case R:case D:{var f=t.stateNode.containerInfo,v=JT(e);G0(e,v,f);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function G0(e,t,a){var u=e.tag,f=u===L||u===M;if(f){var v=e.stateNode;t?SO(a,v,t):gO(a,v)}else if(u!==D){var y=e.child;if(y!==null){G0(y,t,a);for(var E=y.sibling;E!==null;)G0(E,t,a),E=E.sibling}}}function Y0(e,t,a){var u=e.tag,f=u===L||u===M;if(f){var v=e.stateNode;t?yO(a,v,t):mO(a,v)}else if(u!==D){var y=e.child;if(y!==null){Y0(y,t,a);for(var E=y.sibling;E!==null;)Y0(E,t,a),E=E.sibling}}}var xr=null,Vi=!1;function t_(e,t,a){{var u=t;e:for(;u!==null;){switch(u.tag){case L:{xr=u.stateNode,Vi=!1;break e}case R:{xr=u.stateNode.containerInfo,Vi=!0;break e}case D:{xr=u.stateNode.containerInfo,Vi=!0;break e}}u=u.return}if(xr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");eC(e,t,a),xr=null,Vi=!1}ZD(a)}function Cu(e,t,a){for(var u=a.child;u!==null;)eC(e,t,u),u=u.sibling}function eC(e,t,a){switch(tp(a),a.tag){case L:Cr||nd(a,t);case M:{{var u=xr,f=Vi;xr=null,Cu(e,t,a),xr=u,Vi=f,xr!==null&&(Vi?bO(xr,a.stateNode):wO(xr,a.stateNode))}return}case J:{xr!==null&&(Vi?EO(xr,a.stateNode):aS(xr,a.stateNode));return}case D:{{var v=xr,y=Vi;xr=a.stateNode.containerInfo,Vi=!0,Cu(e,t,a),xr=v,Vi=y}return}case b:case j:case se:case le:{if(!Cr){var E=a.updateQueue;if(E!==null){var C=E.lastEffect;if(C!==null){var k=C.next,_=k;do{var B=_,I=B.destroy,X=B.tag;I!==void 0&&((X&El)!==ka?wg(a,t,I):(X&Zn)!==ka&&(is(a),a.mode&mt?(Rl(),wg(a,t,I),xl(a)):wg(a,t,I),ip())),_=_.next}while(_!==k)}}}Cu(e,t,a);return}case T:{if(!Cr){nd(a,t);var Z=a.stateNode;typeof Z.componentWillUnmount=="function"&&W0(a,t,Z)}Cu(e,t,a);return}case oe:{Cu(e,t,a);return}case we:{if(a.mode<){var te=Cr;Cr=te||a.memoizedState!==null,Cu(e,t,a),Cr=te}else Cu(e,t,a);break}default:{Cu(e,t,a);return}}}function n_(e){e.memoizedState}function r_(e,t){var a=t.memoizedState;if(a===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var v=f.dehydrated;v!==null&&HO(v)}}}}function tC(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new ID),t.forEach(function(u){var f=J_.bind(null,e,u);if(!a.has(u)){if(a.add(u),Ir)if(ed!==null&&td!==null)Ov(td,ed);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(f,f)}})}}function a_(e,t,a){ed=a,td=e,Ft(t),nC(t,e),Ft(t),ed=null,td=null}function $i(e,t,a){var u=t.deletions;if(u!==null)for(var f=0;f<u.length;f++){var v=u[f];try{t_(e,t,v)}catch(C){It(v,t,C)}}var y=Iu();if(t.subtreeFlags&ll)for(var E=t.child;E!==null;)Ft(E),nC(E,e),E=E.sibling;Ft(y)}function nC(e,t,a){var u=e.alternate,f=e.flags;switch(e.tag){case b:case j:case se:case le:{if($i(t,e),Ol(e),f&st){try{Bi(El|Kn,e,e.return),Tu(El|Kn,e)}catch(Ke){It(e,e.return,Ke)}if(e.mode&mt){try{Rl(),Bi(Zn|Kn,e,e.return)}catch(Ke){It(e,e.return,Ke)}xl(e)}else try{Bi(Zn|Kn,e,e.return)}catch(Ke){It(e,e.return,Ke)}}return}case T:{$i(t,e),Ol(e),f&rn&&u!==null&&nd(u,u.return);return}case L:{$i(t,e),Ol(e),f&rn&&u!==null&&nd(u,u.return);{if(e.flags&ja){var v=e.stateNode;try{tE(v)}catch(Ke){It(e,e.return,Ke)}}if(f&st){var y=e.stateNode;if(y!=null){var E=e.memoizedProps,C=u!==null?u.memoizedProps:E,k=e.type,_=e.updateQueue;if(e.updateQueue=null,_!==null)try{vO(y,_,k,C,E,e)}catch(Ke){It(e,e.return,Ke)}}}}return}case M:{if($i(t,e),Ol(e),f&st){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var B=e.stateNode,I=e.memoizedProps,X=u!==null?u.memoizedProps:I;try{hO(B,X,I)}catch(Ke){It(e,e.return,Ke)}}return}case R:{if($i(t,e),Ol(e),f&st&&u!==null){var Z=u.memoizedState;if(Z.isDehydrated)try{IO(t.containerInfo)}catch(Ke){It(e,e.return,Ke)}}return}case D:{$i(t,e),Ol(e);return}case $:{$i(t,e),Ol(e);var te=e.child;if(te.flags&yn){var Oe=te.stateNode,We=te.memoizedState,Ie=We!==null;if(Oe.isHidden=Ie,Ie){var dt=te.alternate!==null&&te.alternate.memoizedState!==null;dt||U_()}}if(f&st){try{n_(e)}catch(Ke){It(e,e.return,Ke)}tC(e)}return}case we:{var ut=u!==null&&u.memoizedState!==null;if(e.mode<){var G=Cr;Cr=G||ut,$i(t,e),Cr=G}else $i(t,e);if(Ol(e),f&yn){var ne=e.stateNode,Y=e.memoizedState,me=Y!==null,Me=e;if(ne.isHidden=me,me&&!ut&&(Me.mode<)!==Ve){Pe=Me;for(var ke=Me.child;ke!==null;)Pe=ke,l_(ke),ke=ke.sibling}KD(Me,me)}return}case re:{$i(t,e),Ol(e),f&st&&tC(e);return}case oe:return;default:{$i(t,e),Ol(e);return}}}function Ol(e){var t=e.flags;if(t&un){try{e_(e)}catch(a){It(e,e.return,a)}e.flags&=-3}t&ya&&(e.flags&=-4097)}function i_(e,t,a){ed=a,td=t,Pe=e,rC(e,t,a),ed=null,td=null}function rC(e,t,a){for(var u=(e.mode<)!==Ve;Pe!==null;){var f=Pe,v=f.child;if(f.tag===we&&u){var y=f.memoizedState!==null,E=y||Sg;if(E){q0(e,t,a);continue}else{var C=f.alternate,k=C!==null&&C.memoizedState!==null,_=k||Cr,B=Sg,I=Cr;Sg=E,Cr=_,Cr&&!I&&(Pe=f,o_(f));for(var X=v;X!==null;)Pe=X,rC(X,t,a),X=X.sibling;Pe=f,Sg=B,Cr=I,q0(e,t,a);continue}}(f.subtreeFlags&ol)!==Be&&v!==null?(v.return=f,Pe=v):q0(e,t,a)}}function q0(e,t,a){for(;Pe!==null;){var u=Pe;if((u.flags&ol)!==Be){var f=u.alternate;Ft(u);try{QD(t,f,u,a)}catch(y){It(u,u.return,y)}nn()}if(u===e){Pe=null;return}var v=u.sibling;if(v!==null){v.return=u.return,Pe=v;return}Pe=u.return}}function l_(e){for(;Pe!==null;){var t=Pe,a=t.child;switch(t.tag){case b:case j:case se:case le:{if(t.mode&mt)try{Rl(),Bi(Zn,t,t.return)}finally{xl(t)}else Bi(Zn,t,t.return);break}case T:{nd(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&W0(t,t.return,u);break}case L:{nd(t,t.return);break}case we:{var f=t.memoizedState!==null;if(f){aC(e);continue}break}}a!==null?(a.return=t,Pe=a):aC(e)}}function aC(e){for(;Pe!==null;){var t=Pe;if(t===e){Pe=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Pe=a;return}Pe=t.return}}function o_(e){for(;Pe!==null;){var t=Pe,a=t.child;if(t.tag===we){var u=t.memoizedState!==null;if(u){iC(e);continue}}a!==null?(a.return=t,Pe=a):iC(e)}}function iC(e){for(;Pe!==null;){var t=Pe;Ft(t);try{XD(t)}catch(u){It(t,t.return,u)}if(nn(),t===e){Pe=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Pe=a;return}Pe=t.return}}function u_(e,t,a,u){Pe=t,s_(t,e,a,u)}function s_(e,t,a,u){for(;Pe!==null;){var f=Pe,v=f.child;(f.subtreeFlags&Oi)!==Be&&v!==null?(v.return=f,Pe=v):c_(e,t,a,u)}}function c_(e,t,a,u){for(;Pe!==null;){var f=Pe;if((f.flags&Pr)!==Be){Ft(f);try{f_(t,f,a,u)}catch(y){It(f,f.return,y)}nn()}if(f===e){Pe=null;return}var v=f.sibling;if(v!==null){v.return=f.return,Pe=v;return}Pe=f.return}}function f_(e,t,a,u){switch(t.tag){case b:case j:case le:{if(t.mode&mt){p0();try{Tu(Er|Kn,t)}finally{d0(t)}}else Tu(Er|Kn,t);break}}}function d_(e){Pe=e,p_()}function p_(){for(;Pe!==null;){var e=Pe,t=e.child;if((Pe.flags&ga)!==Be){var a=e.deletions;if(a!==null){for(var u=0;u<a.length;u++){var f=a[u];Pe=f,m_(f,e)}{var v=e.alternate;if(v!==null){var y=v.child;if(y!==null){v.child=null;do{var E=y.sibling;y.sibling=null,y=E}while(y!==null)}}}Pe=e}}(e.subtreeFlags&Oi)!==Be&&t!==null?(t.return=e,Pe=t):v_()}}function v_(){for(;Pe!==null;){var e=Pe;(e.flags&Pr)!==Be&&(Ft(e),h_(e),nn());var t=e.sibling;if(t!==null){t.return=e.return,Pe=t;return}Pe=e.return}}function h_(e){switch(e.tag){case b:case j:case le:{e.mode&mt?(p0(),Bi(Er|Kn,e,e.return),d0(e)):Bi(Er|Kn,e,e.return);break}}}function m_(e,t){for(;Pe!==null;){var a=Pe;Ft(a),y_(a,t),nn();var u=a.child;u!==null?(u.return=a,Pe=u):g_(e)}}function g_(e){for(;Pe!==null;){var t=Pe,a=t.sibling,u=t.return;if(KT(t),t===e){Pe=null;return}if(a!==null){a.return=u,Pe=a;return}Pe=u}}function y_(e,t){switch(e.tag){case b:case j:case le:{e.mode&mt?(p0(),Bi(Er,e,t),d0(e)):Bi(Er,e,t);break}}}function S_(e){switch(e.tag){case b:case j:case le:{try{Tu(Zn|Kn,e)}catch(a){It(e,e.return,a)}break}case T:{var t=e.stateNode;try{t.componentDidMount()}catch(a){It(e,e.return,a)}break}}}function w_(e){switch(e.tag){case b:case j:case le:{try{Tu(Er|Kn,e)}catch(t){It(e,e.return,t)}break}}}function b_(e){switch(e.tag){case b:case j:case le:{try{Bi(Zn|Kn,e,e.return)}catch(a){It(e,e.return,a)}break}case T:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&W0(e,e.return,t);break}}}function E_(e){switch(e.tag){case b:case j:case le:try{Bi(Er|Kn,e,e.return)}catch(t){It(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var mv=Symbol.for;mv("selector.component"),mv("selector.has_pseudo_class"),mv("selector.role"),mv("selector.test_id"),mv("selector.text")}var T_=[];function C_(){T_.forEach(function(e){return e()})}var x_=o.ReactCurrentActQueue;function R_(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function lC(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&x_.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var O_=Math.ceil,Q0=o.ReactCurrentDispatcher,X0=o.ReactCurrentOwner,Rr=o.ReactCurrentBatchConfig,Wi=o.ReactCurrentActQueue,tr=0,oC=1,Or=2,pi=4,wo=0,gv=1,Xs=2,bg=3,yv=4,uC=5,K0=6,ft=tr,ua=null,vn=null,nr=ce,kl=ce,Z0=vu(ce),rr=wo,Sv=null,Eg=ce,wv=ce,Tg=ce,bv=null,Da=null,J0=0,sC=500,cC=1/0,k_=500,bo=null;function Ev(){cC=Mn()+k_}function fC(){return cC}var Cg=!1,ew=null,rd=null,Ks=!1,xu=null,Tv=ce,tw=[],nw=null,D_=50,Cv=0,rw=null,aw=!1,xg=!1,__=50,ad=0,Rg=null,xv=At,Og=ce,dC=!1;function kg(){return ua}function sa(){return(ft&(Or|pi))!==tr?Mn():(xv!==At||(xv=Mn()),xv)}function Ru(e){var t=e.mode;if((t<)===Ve)return Xe;if((ft&Or)!==tr&&nr!==ce)return ys(nr);var a=xk()!==Ck;if(a){if(Rr.transition!==null){var u=Rr.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return Og===vt&&(Og=pp()),Og}var f=Ca();if(f!==vt)return f;var v=sO();return v}function M_(e){var t=e.mode;return(t<)===Ve?Xe:Lh()}function ar(e,t,a,u){tM(),dC&&m("useInsertionEffect must not schedule updates."),aw&&(xg=!0),ru(e,a,u),(ft&Or)!==ce&&e===ua?aM(t):(Ir&&bs(e,t,a),iM(t),e===ua&&((ft&Or)===tr&&(wv=at(wv,a)),rr===yv&&Ou(e,nr)),_a(e,u),a===Xe&&ft===tr&&(t.mode<)===Ve&&!Wi.isBatchingLegacy&&(Ev(),dE()))}function L_(e,t,a){var u=e.current;u.lanes=t,ru(e,t,a),_a(e,a)}function N_(e){return(ft&Or)!==tr}function _a(e,t){var a=e.callbackNode;pf(e,t);var u=df(e,e===ua?nr:ce);if(u===ce){a!==null&&kC(a),e.callbackNode=null,e.callbackPriority=vt;return}var f=dl(u),v=e.callbackPriority;if(v===f&&!(Wi.current!==null&&a!==fw)){a==null&&v!==Xe&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&kC(a);var y;if(f===Xe)e.tag===hu?(Wi.isBatchingLegacy!==null&&(Wi.didScheduleLegacyUpdate=!0),ok(hC.bind(null,e))):fE(hC.bind(null,e)),Wi.current!==null?Wi.current.push(mu):fO(function(){(ft&(Or|pi))===tr&&mu()}),y=null;else{var E;switch(Fh(u)){case mr:E=as;break;case ri:E=ul;break;case Ea:E=ki;break;case Ta:E=Yl;break;default:E=ki;break}y=dw(E,pC.bind(null,e))}e.callbackPriority=f,e.callbackNode=y}function pC(e,t){if(Kk(),xv=At,Og=ce,(ft&(Or|pi))!==tr)throw new Error("Should not already be working.");var a=e.callbackNode,u=To();if(u&&e.callbackNode!==a)return null;var f=df(e,e===ua?nr:ce);if(f===ce)return null;var v=!hf(e,f)&&!Mh(e,f)&&!t,y=v?V_(e,f):_g(e,f);if(y!==wo){if(y===Xs){var E=vf(e);E!==ce&&(f=E,y=iw(e,E))}if(y===gv){var C=Sv;throw Zs(e,ce),Ou(e,f),_a(e,Mn()),C}if(y===K0)Ou(e,f);else{var k=!hf(e,f),_=e.current.alternate;if(k&&!A_(_)){if(y=_g(e,f),y===Xs){var B=vf(e);B!==ce&&(f=B,y=iw(e,B))}if(y===gv){var I=Sv;throw Zs(e,ce),Ou(e,f),_a(e,Mn()),I}}e.finishedWork=_,e.finishedLanes=f,z_(e,y,f)}}return _a(e,Mn()),e.callbackNode===a?pC.bind(null,e):null}function iw(e,t){var a=bv;if(yf(e)){var u=Zs(e,t);u.flags|=Ar,ek(e.containerInfo)}var f=_g(e,t);if(f!==Xs){var v=Da;Da=a,v!==null&&vC(v)}return f}function vC(e){Da===null?Da=e:Da.push.apply(Da,e)}function z_(e,t,a){switch(t){case wo:case gv:throw new Error("Root did not complete. This is a bug in React.");case Xs:{Js(e,Da,bo);break}case bg:{if(Ou(e,a),ao(a)&&!DC()){var u=J0+sC-Mn();if(u>10){var f=df(e,ce);if(f!==ce)break;var v=e.suspendedLanes;if(!io(v,a)){sa(),mf(e,v);break}e.timeoutHandle=nS(Js.bind(null,e,Da,bo),u);break}}Js(e,Da,bo);break}case yv:{if(Ou(e,a),fp(a))break;if(!DC()){var y=Fa(e,a),E=y,C=Mn()-E,k=eM(C)-C;if(k>10){e.timeoutHandle=nS(Js.bind(null,e,Da,bo),k);break}}Js(e,Da,bo);break}case uC:{Js(e,Da,bo);break}default:throw new Error("Unknown root exit status.")}}function A_(e){for(var t=e;;){if(t.flags&Zo){var a=t.updateQueue;if(a!==null){var u=a.stores;if(u!==null)for(var f=0;f<u.length;f++){var v=u[f],y=v.getSnapshot,E=v.value;try{if(!pe(y(),E))return!1}catch{return!1}}}}var C=t.child;if(t.subtreeFlags&Zo&&C!==null){C.return=t,t=C;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Ou(e,t){t=Ss(t,Tg),t=Ss(t,wv),Ah(e,t)}function hC(e){if(Zk(),(ft&(Or|pi))!==tr)throw new Error("Should not already be working.");To();var t=df(e,ce);if(!Hr(t,Xe))return _a(e,Mn()),null;var a=_g(e,t);if(e.tag!==hu&&a===Xs){var u=vf(e);u!==ce&&(t=u,a=iw(e,u))}if(a===gv){var f=Sv;throw Zs(e,ce),Ou(e,t),_a(e,Mn()),f}if(a===K0)throw new Error("Root did not complete. This is a bug in React.");var v=e.current.alternate;return e.finishedWork=v,e.finishedLanes=t,Js(e,Da,bo),_a(e,Mn()),null}function P_(e,t){t!==ce&&(gf(e,at(t,Xe)),_a(e,Mn()),(ft&(Or|pi))===tr&&(Ev(),mu()))}function lw(e,t){var a=ft;ft|=oC;try{return e(t)}finally{ft=a,ft===tr&&!Wi.isBatchingLegacy&&(Ev(),dE())}}function j_(e,t,a,u,f){var v=Ca(),y=Rr.transition;try{return Rr.transition=null,En(mr),e(t,a,u,f)}finally{En(v),Rr.transition=y,ft===tr&&Ev()}}function Eo(e){xu!==null&&xu.tag===hu&&(ft&(Or|pi))===tr&&To();var t=ft;ft|=oC;var a=Rr.transition,u=Ca();try{return Rr.transition=null,En(mr),e?e():void 0}finally{En(u),Rr.transition=a,ft=t,(ft&(Or|pi))===tr&&mu()}}function mC(){return(ft&(Or|pi))!==tr}function Dg(e,t){Gr(Z0,kl,e),kl=at(kl,t)}function ow(e){kl=Z0.current,Wr(Z0,e)}function Zs(e,t){e.finishedWork=null,e.finishedLanes=ce;var a=e.timeoutHandle;if(a!==rS&&(e.timeoutHandle=rS,cO(a)),vn!==null)for(var u=vn.return;u!==null;){var f=u.alternate;WT(f,u),u=u.return}ua=e;var v=ec(e.current,null);return vn=v,nr=kl=t,rr=wo,Sv=null,Eg=ce,wv=ce,Tg=ce,bv=null,Da=null,Lk(),ji.discardPendingWarnings(),v}function gC(e,t){do{var a=vn;try{if(Fm(),HE(),nn(),X0.current=null,a===null||a.return===null){rr=gv,Sv=t,vn=null;return}if(Ht&&a.mode&mt&&vg(a,!0),Rn)if(ra(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;ni(a,u,nr)}else ls(a,t,nr);oD(e,a.return,a,t,nr),bC(a)}catch(f){t=f,vn===a&&a!==null?(a=a.return,vn=a):a=vn;continue}return}while(!0)}function yC(){var e=Q0.current;return Q0.current=sg,e===null?sg:e}function SC(e){Q0.current=e}function U_(){J0=Mn()}function Rv(e){Eg=at(e,Eg)}function F_(){rr===wo&&(rr=bg)}function uw(){(rr===wo||rr===bg||rr===Xs)&&(rr=yv),ua!==null&&(gs(Eg)||gs(wv))&&Ou(ua,nr)}function I_(e){rr!==yv&&(rr=Xs),bv===null?bv=[e]:bv.push(e)}function H_(){return rr===wo}function _g(e,t){var a=ft;ft|=Or;var u=yC();if(ua!==e||nr!==t){if(Ir){var f=e.memoizedUpdaters;f.size>0&&(Ov(e,nr),f.clear()),Ph(e,t)}bo=gp(),Zs(e,t)}Kl(t);do try{B_();break}catch(v){gC(e,v)}while(!0);if(Fm(),ft=a,SC(u),vn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Yc(),ua=null,nr=ce,rr}function B_(){for(;vn!==null;)wC(vn)}function V_(e,t){var a=ft;ft|=Or;var u=yC();if(ua!==e||nr!==t){if(Ir){var f=e.memoizedUpdaters;f.size>0&&(Ov(e,nr),f.clear()),Ph(e,t)}bo=gp(),Ev(),Zs(e,t)}Kl(t);do try{$_();break}catch(v){gC(e,v)}while(!0);return Fm(),SC(u),ft=a,vn!==null?(Oh(),wo):(Yc(),ua=null,nr=ce,rr)}function $_(){for(;vn!==null&&!Xd();)wC(vn)}function wC(e){var t=e.alternate;Ft(e);var a;(e.mode&mt)!==Ve?(f0(e),a=sw(t,e,kl),vg(e,!0)):a=sw(t,e,kl),nn(),e.memoizedProps=e.pendingProps,a===null?bC(e):vn=a,X0.current=null}function bC(e){var t=e;do{var a=t.alternate,u=t.return;if((t.flags&rs)===Be){Ft(t);var f=void 0;if((t.mode&mt)===Ve?f=$T(a,t,kl):(f0(t),f=$T(a,t,kl),vg(t,!1)),nn(),f!==null){vn=f;return}}else{var v=FD(a,t);if(v!==null){v.flags&=bh,vn=v;return}if((t.mode&mt)!==Ve){vg(t,!1);for(var y=t.actualDuration,E=t.child;E!==null;)y+=E.actualDuration,E=E.sibling;t.actualDuration=y}if(u!==null)u.flags|=rs,u.subtreeFlags=Be,u.deletions=null;else{rr=K0,vn=null;return}}var C=t.sibling;if(C!==null){vn=C;return}t=u,vn=t}while(t!==null);rr===wo&&(rr=uC)}function Js(e,t,a){var u=Ca(),f=Rr.transition;try{Rr.transition=null,En(mr),W_(e,t,a,u)}finally{Rr.transition=f,En(u)}return null}function W_(e,t,a,u){do To();while(xu!==null);if(nM(),(ft&(Or|pi))!==tr)throw new Error("Should not already be working.");var f=e.finishedWork,v=e.finishedLanes;if(np(v),f===null)return rp(),null;if(v===ce&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ce,f===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=vt;var y=at(f.lanes,f.childLanes);hp(e,y),e===ua&&(ua=null,vn=null,nr=ce),((f.subtreeFlags&Oi)!==Be||(f.flags&Oi)!==Be)&&(Ks||(Ks=!0,nw=a,dw(ki,function(){return To(),null})));var E=(f.subtreeFlags&(il|ll|ol|Oi))!==Be,C=(f.flags&(il|ll|ol|Oi))!==Be;if(E||C){var k=Rr.transition;Rr.transition=null;var _=Ca();En(mr);var B=ft;ft|=pi,X0.current=null,$D(e,f),dT(),a_(e,f,v),rO(e.containerInfo),e.current=f,os(v),i_(f,e,v),us(),Kd(),ft=B,En(_),Rr.transition=k}else e.current=f,dT();var I=Ks;if(Ks?(Ks=!1,xu=e,Tv=v):(ad=0,Rg=null),y=e.pendingLanes,y===ce&&(rd=null),I||xC(e.current,!1),Jd(f.stateNode,u),Ir&&e.memoizedUpdaters.clear(),C_(),_a(e,Mn()),t!==null)for(var X=e.onRecoverableError,Z=0;Z<t.length;Z++){var te=t[Z],Oe=te.stack,We=te.digest;X(te.value,{componentStack:Oe,digest:We})}if(Cg){Cg=!1;var Ie=ew;throw ew=null,Ie}return Hr(Tv,Xe)&&e.tag!==hu&&To(),y=e.pendingLanes,Hr(y,Xe)?(Xk(),e===rw?Cv++:(Cv=0,rw=e)):Cv=0,mu(),rp(),null}function To(){if(xu!==null){var e=Fh(Tv),t=Ts(Ea,e),a=Rr.transition,u=Ca();try{return Rr.transition=null,En(t),Y_()}finally{En(u),Rr.transition=a}}return!1}function G_(e){tw.push(e),Ks||(Ks=!0,dw(ki,function(){return To(),null}))}function Y_(){if(xu===null)return!1;var e=nw;nw=null;var t=xu,a=Tv;if(xu=null,Tv=ce,(ft&(Or|pi))!==tr)throw new Error("Cannot flush passive effects while already rendering.");aw=!0,xg=!1,Xl(a);var u=ft;ft|=pi,d_(t.current),u_(t,t.current,a,e);{var f=tw;tw=[];for(var v=0;v<f.length;v++){var y=f[v];qD(t,y)}}lp(),xC(t.current,!0),ft=u,mu(),xg?t===Rg?ad++:(ad=0,Rg=t):ad=0,aw=!1,xg=!1,ep(t);{var E=t.current.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}return!0}function EC(e){return rd!==null&&rd.has(e)}function q_(e){rd===null?rd=new Set([e]):rd.add(e)}function Q_(e){Cg||(Cg=!0,ew=e)}var X_=Q_;function TC(e,t,a){var u=qs(a,t),f=wT(e,u,Xe),v=yu(e,f,Xe),y=sa();v!==null&&(ru(v,Xe,y),_a(v,y))}function It(e,t,a){if(HD(a),kv(!1),e.tag===R){TC(e,e,a);return}var u=null;for(u=t;u!==null;){if(u.tag===R){TC(u,e,a);return}else if(u.tag===T){var f=u.type,v=u.stateNode;if(typeof f.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&!EC(v)){var y=qs(a,e),E=D0(u,y,Xe),C=yu(u,E,Xe),k=sa();C!==null&&(ru(C,Xe,k),_a(C,k));return}}u=u.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
162
|
-
|
|
163
|
-
Error message:
|
|
164
|
-
|
|
165
|
-
%s`,a)}function K_(e,t,a){var u=e.pingCache;u!==null&&u.delete(t);var f=sa();mf(e,a),lM(e),ua===e&&io(nr,a)&&(rr===yv||rr===bg&&ao(nr)&&Mn()-J0<sC?Zs(e,ce):Tg=at(Tg,a)),_a(e,f)}function CC(e,t){t===vt&&(t=M_(e));var a=sa(),u=Oa(e,t);u!==null&&(ru(u,t,a),_a(u,a))}function Z_(e){var t=e.memoizedState,a=vt;t!==null&&(a=t.retryLane),CC(e,a)}function J_(e,t){var a=vt,u;switch(e.tag){case $:u=e.stateNode;var f=e.memoizedState;f!==null&&(a=f.retryLane);break;case re:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),CC(e,a)}function eM(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:O_(e/1960)*1960}function tM(){if(Cv>D_)throw Cv=0,rw=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");ad>__&&(ad=0,Rg=null,m("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function nM(){ji.flushLegacyContextWarning(),ji.flushPendingUnsafeLifecycleWarnings()}function xC(e,t){Ft(e),Mg(e,al,b_),t&&Mg(e,Ja,E_),Mg(e,al,S_),t&&Mg(e,Ja,w_),nn()}function Mg(e,t,a){for(var u=e,f=null;u!==null;){var v=u.subtreeFlags&t;u!==f&&u.child!==null&&v!==Be?u=u.child:((u.flags&t)!==Be&&a(u),u.sibling!==null?u=u.sibling:u=f=u.return)}}var Lg=null;function RC(e){{if((ft&Or)!==tr||!(e.mode<))return;var t=e.tag;if(t!==O&&t!==R&&t!==T&&t!==b&&t!==j&&t!==se&&t!==le)return;var a=rt(e)||"ReactComponent";if(Lg!==null){if(Lg.has(a))return;Lg.add(a)}else Lg=new Set([a]);var u=hr;try{Ft(e),m("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{u?Ft(e):nn()}}}var sw;{var rM=null;sw=function(e,t,a){var u=zC(rM,t);try{return FT(e,t,a)}catch(v){if(hk()||v!==null&&typeof v=="object"&&typeof v.then=="function")throw v;if(Fm(),HE(),WT(e,t),zC(t,u),t.mode&mt&&f0(t),rl(null,FT,null,e,t,a),xi()){var f=ns();typeof f=="object"&&f!==null&&f._suppressLogging&&typeof v=="object"&&v!==null&&!v._suppressLogging&&(v._suppressLogging=!0)}throw v}}}var OC=!1,cw;cw=new Set;function aM(e){if(Ki&&!Yk())switch(e.tag){case b:case j:case le:{var t=vn&&rt(vn)||"Unknown",a=t;if(!cw.has(a)){cw.add(a);var u=rt(e)||"Unknown";m("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",u,t,t)}break}case T:{OC||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),OC=!0);break}}}function Ov(e,t){if(Ir){var a=e.memoizedUpdaters;a.forEach(function(u){bs(e,u,t)})}}var fw={};function dw(e,t){{var a=Wi.current;return a!==null?(a.push(t),fw):Qd(e,t)}}function kC(e){if(e!==fw)return Th(e)}function DC(){return Wi.current!==null}function iM(e){{if(e.mode<){if(!lC())return}else if(!R_()||ft!==tr||e.tag!==b&&e.tag!==j&&e.tag!==le)return;if(Wi.current===null){var t=hr;try{Ft(e),m(`An update to %s inside a test was not wrapped in act(...).
|
|
166
|
-
|
|
167
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
168
|
-
|
|
169
|
-
act(() => {
|
|
170
|
-
/* fire events that update state */
|
|
171
|
-
});
|
|
172
|
-
/* assert on the output */
|
|
173
|
-
|
|
174
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,rt(e))}finally{t?Ft(e):nn()}}}}function lM(e){e.tag!==hu&&lC()&&Wi.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
175
|
-
|
|
176
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
177
|
-
|
|
178
|
-
act(() => {
|
|
179
|
-
/* finish loading suspended data */
|
|
180
|
-
});
|
|
181
|
-
/* assert on the output */
|
|
182
|
-
|
|
183
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function kv(e){dC=e}var vi=null,id=null,oM=function(e){vi=e};function ld(e){{if(vi===null)return e;var t=vi(e);return t===void 0?e:t.current}}function pw(e){return ld(e)}function vw(e){{if(vi===null)return e;var t=vi(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=ld(e.render);if(e.render!==a){var u={$$typeof:qa,render:a};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function _C(e,t){{if(vi===null)return!1;var a=e.elementType,u=t.type,f=!1,v=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case T:{typeof u=="function"&&(f=!0);break}case b:{(typeof u=="function"||v===kn)&&(f=!0);break}case j:{(v===qa||v===kn)&&(f=!0);break}case se:case le:{(v===Zr||v===kn)&&(f=!0);break}default:return!1}if(f){var y=vi(a);if(y!==void 0&&y===vi(u))return!0}return!1}}function MC(e){{if(vi===null||typeof WeakSet!="function")return;id===null&&(id=new WeakSet),id.add(e)}}var uM=function(e,t){{if(vi===null)return;var a=t.staleFamilies,u=t.updatedFamilies;To(),Eo(function(){hw(e.current,u,a)})}},sM=function(e,t){{if(e.context!==Ba)return;To(),Eo(function(){Dv(t,e,null,null)})}};function hw(e,t,a){{var u=e.alternate,f=e.child,v=e.sibling,y=e.tag,E=e.type,C=null;switch(y){case b:case le:case T:C=E;break;case j:C=E.render;break}if(vi===null)throw new Error("Expected resolveFamily to be set during hot reload.");var k=!1,_=!1;if(C!==null){var B=vi(C);B!==void 0&&(a.has(B)?_=!0:t.has(B)&&(y===T?_=!0:k=!0))}if(id!==null&&(id.has(e)||u!==null&&id.has(u))&&(_=!0),_&&(e._debugNeedsRemount=!0),_||k){var I=Oa(e,Xe);I!==null&&ar(I,e,Xe,At)}f!==null&&!_&&hw(f,t,a),v!==null&&hw(v,t,a)}}var cM=function(e,t){{var a=new Set,u=new Set(t.map(function(f){return f.current}));return mw(e.current,u,a),a}};function mw(e,t,a){{var u=e.child,f=e.sibling,v=e.tag,y=e.type,E=null;switch(v){case b:case le:case T:E=y;break;case j:E=y.render;break}var C=!1;E!==null&&t.has(E)&&(C=!0),C?fM(e,a):u!==null&&mw(u,t,a),f!==null&&mw(f,t,a)}}function fM(e,t){{var a=dM(e,t);if(a)return;for(var u=e;;){switch(u.tag){case L:t.add(u.stateNode);return;case D:t.add(u.stateNode.containerInfo);return;case R:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function dM(e,t){for(var a=e,u=!1;;){if(a.tag===L)u=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return u;for(;a.sibling===null;){if(a.return===null||a.return===e)return u;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var gw;{gw=!1;try{var LC=Object.preventExtensions({})}catch{gw=!0}}function pM(e,t,a,u){this.tag=e,this.key=a,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=u,this.flags=Be,this.subtreeFlags=Be,this.deletions=null,this.lanes=ce,this.childLanes=ce,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!gw&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Va=function(e,t,a,u){return new pM(e,t,a,u)};function yw(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function vM(e){return typeof e=="function"&&!yw(e)&&e.defaultProps===void 0}function hM(e){if(typeof e=="function")return yw(e)?T:b;if(e!=null){var t=e.$$typeof;if(t===qa)return j;if(t===Zr)return se}return O}function ec(e,t){var a=e.alternate;a===null?(a=Va(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=Be,a.subtreeFlags=Be,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&Sn,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var u=e.dependencies;switch(a.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case O:case b:case le:a.type=ld(e.type);break;case T:a.type=pw(e.type);break;case j:a.type=vw(e.type);break}return a}function mM(e,t){e.flags&=Sn|un;var a=e.alternate;if(a===null)e.childLanes=ce,e.lanes=t,e.child=null,e.subtreeFlags=Be,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=Be,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var u=a.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function gM(e,t,a){var u;return e===Dm?(u=lt,t===!0&&(u|=Mt,u|=gt)):u=Ve,Ir&&(u|=mt),Va(R,null,null,u)}function Sw(e,t,a,u,f,v){var y=O,E=e;if(typeof e=="function")yw(e)?(y=T,E=pw(E)):E=ld(E);else if(typeof e=="string")y=L;else e:switch(e){case yi:return ku(a.children,f,v,t);case Ya:y=P,f|=Mt,(f<)!==Ve&&(f|=gt);break;case qi:return yM(a,f,v,t);case Ml:return SM(a,f,v,t);case jo:return wM(a,f,v,t);case Pu:return NC(a,f,v,t);case ju:case Au:case Uu:case Fu:case Ll:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Qi:y=z;break e;case Xi:y=N;break e;case qa:y=j,E=vw(E);break e;case Zr:y=se;break e;case kn:y=ve,E=null;break e}var C="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(C+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var k=u?rt(u):null;k&&(C+=`
|
|
184
|
-
|
|
185
|
-
Check the render method of \``+k+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+C))}}var _=Va(y,a,t,f);return _.elementType=e,_.type=E,_.lanes=v,_._debugOwner=u,_}function ww(e,t,a){var u=null;u=e._owner;var f=e.type,v=e.key,y=e.props,E=Sw(f,v,y,u,t,a);return E._debugSource=e._source,E._debugOwner=e._owner,E}function ku(e,t,a,u){var f=Va(U,e,u,t);return f.lanes=a,f}function yM(e,t,a,u){typeof e.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var f=Va(q,e,u,t|mt);return f.elementType=qi,f.lanes=a,f.stateNode={effectDuration:0,passiveEffectDuration:0},f}function SM(e,t,a,u){var f=Va($,e,u,t);return f.elementType=Ml,f.lanes=a,f}function wM(e,t,a,u){var f=Va(re,e,u,t);return f.elementType=jo,f.lanes=a,f}function NC(e,t,a,u){var f=Va(we,e,u,t);f.elementType=Pu,f.lanes=a;var v={isHidden:!1};return f.stateNode=v,f}function bw(e,t,a){var u=Va(M,e,null,t);return u.lanes=a,u}function bM(){var e=Va(L,null,null,Ve);return e.elementType="DELETED",e}function EM(e){var t=Va(J,null,null,Ve);return t.stateNode=e,t}function Ew(e,t,a){var u=e.children!==null?e.children:[],f=Va(D,u,e.key,t);return f.lanes=a,f.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},f}function zC(e,t){return e===null&&(e=Va(O,null,null,Ve)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function TM(e,t,a,u,f){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=rS,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=vt,this.eventTimes=ws(ce),this.expirationTimes=ws(At),this.pendingLanes=ce,this.suspendedLanes=ce,this.pingedLanes=ce,this.expiredLanes=ce,this.mutableReadLanes=ce,this.finishedLanes=ce,this.entangledLanes=ce,this.entanglements=ws(ce),this.identifierPrefix=u,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var v=this.pendingUpdatersLaneMap=[],y=0;y<Zl;y++)v.push(new Set)}switch(t){case Dm:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case hu:this._debugRootType=a?"hydrate()":"render()";break}}function AC(e,t,a,u,f,v,y,E,C,k){var _=new TM(e,t,a,E,C),B=gM(t,v);_.current=B,B.stateNode=_;{var I={element:u,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};B.memoizedState=I}return AS(B),_}var Tw="18.3.1";function CM(e,t,a){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return fr(u),{$$typeof:pr,key:u==null?null:""+u,children:e,containerInfo:t,implementation:a}}var Cw,xw;Cw=!1,xw={};function PC(e){if(!e)return Ba;var t=Ko(e),a=lk(t);if(t.tag===T){var u=t.type;if(bl(u))return sE(t,u,a)}return a}function xM(e,t){{var a=Ko(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var f=Ur(a);if(f===null)return null;if(f.mode&Mt){var v=rt(a)||"Component";if(!xw[v]){xw[v]=!0;var y=hr;try{Ft(f),a.mode&Mt?m("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,v):m("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,v)}finally{y?Ft(y):nn()}}}return f.stateNode}}function jC(e,t,a,u,f,v,y,E){var C=!1,k=null;return AC(e,t,C,k,a,u,f,v,y)}function UC(e,t,a,u,f,v,y,E,C,k){var _=!0,B=AC(a,u,_,e,f,v,y,E,C);B.context=PC(null);var I=B.current,X=sa(),Z=Ru(I),te=yo(X,Z);return te.callback=t??null,yu(I,te,Z),L_(B,Z,X),B}function Dv(e,t,a,u){Zd(t,e);var f=t.current,v=sa(),y=Ru(f);Qt(y);var E=PC(a);t.context===null?t.context=E:t.pendingContext=E,Ki&&hr!==null&&!Cw&&(Cw=!0,m(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
186
|
-
|
|
187
|
-
Check the render method of %s.`,rt(hr)||"Unknown"));var C=yo(v,y);C.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),C.callback=u);var k=yu(f,C,y);return k!==null&&(ar(k,f,y,v),$m(k,f,y)),y}function Ng(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case L:return t.child.stateNode;default:return t.child.stateNode}}function RM(e){switch(e.tag){case R:{var t=e.stateNode;if(yf(t)){var a=Dh(t);P_(t,a)}break}case $:{Eo(function(){var f=Oa(e,Xe);if(f!==null){var v=sa();ar(f,e,Xe,v)}});var u=Xe;Rw(e,u);break}}}function FC(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=zh(a.retryLane,t))}function Rw(e,t){FC(e,t);var a=e.alternate;a&&FC(a,t)}function OM(e){if(e.tag===$){var t=vs,a=Oa(e,t);if(a!==null){var u=sa();ar(a,e,t,u)}Rw(e,t)}}function kM(e){if(e.tag===$){var t=Ru(e),a=Oa(e,t);if(a!==null){var u=sa();ar(a,e,t,u)}Rw(e,t)}}function IC(e){var t=Wt(e);return t===null?null:t.stateNode}var HC=function(e){return null};function DM(e){return HC(e)}var BC=function(e){return!1};function _M(e){return BC(e)}var VC=null,$C=null,WC=null,GC=null,YC=null,qC=null,QC=null,XC=null,KC=null;{var ZC=function(e,t,a){var u=t[a],f=Gn(e)?e.slice():Ne({},e);return a+1===t.length?(Gn(f)?f.splice(u,1):delete f[u],f):(f[u]=ZC(e[u],t,a+1),f)},JC=function(e,t){return ZC(e,t,0)},ex=function(e,t,a,u){var f=t[u],v=Gn(e)?e.slice():Ne({},e);if(u+1===t.length){var y=a[u];v[y]=v[f],Gn(v)?v.splice(f,1):delete v[f]}else v[f]=ex(e[f],t,a,u+1);return v},tx=function(e,t,a){if(t.length!==a.length){h("copyWithRename() expects paths of the same length");return}else for(var u=0;u<a.length-1;u++)if(t[u]!==a[u]){h("copyWithRename() expects paths to be the same except for the deepest key");return}return ex(e,t,a,0)},nx=function(e,t,a,u){if(a>=t.length)return u;var f=t[a],v=Gn(e)?e.slice():Ne({},e);return v[f]=nx(e[f],t,a+1,u),v},rx=function(e,t,a){return nx(e,t,0,a)},Ow=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};VC=function(e,t,a,u){var f=Ow(e,t);if(f!==null){var v=rx(f.memoizedState,a,u);f.memoizedState=v,f.baseState=v,e.memoizedProps=Ne({},e.memoizedProps);var y=Oa(e,Xe);y!==null&&ar(y,e,Xe,At)}},$C=function(e,t,a){var u=Ow(e,t);if(u!==null){var f=JC(u.memoizedState,a);u.memoizedState=f,u.baseState=f,e.memoizedProps=Ne({},e.memoizedProps);var v=Oa(e,Xe);v!==null&&ar(v,e,Xe,At)}},WC=function(e,t,a,u){var f=Ow(e,t);if(f!==null){var v=tx(f.memoizedState,a,u);f.memoizedState=v,f.baseState=v,e.memoizedProps=Ne({},e.memoizedProps);var y=Oa(e,Xe);y!==null&&ar(y,e,Xe,At)}},GC=function(e,t,a){e.pendingProps=rx(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Oa(e,Xe);u!==null&&ar(u,e,Xe,At)},YC=function(e,t){e.pendingProps=JC(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Oa(e,Xe);a!==null&&ar(a,e,Xe,At)},qC=function(e,t,a){e.pendingProps=tx(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Oa(e,Xe);u!==null&&ar(u,e,Xe,At)},QC=function(e){var t=Oa(e,Xe);t!==null&&ar(t,e,Xe,At)},XC=function(e){HC=e},KC=function(e){BC=e}}function MM(e){var t=Ur(e);return t===null?null:t.stateNode}function LM(e){return null}function NM(){return hr}function zM(e){var t=e.findFiberByHostInstance,a=o.ReactCurrentDispatcher;return eu({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:VC,overrideHookStateDeletePath:$C,overrideHookStateRenamePath:WC,overrideProps:GC,overridePropsDeletePath:YC,overridePropsRenamePath:qC,setErrorHandler:XC,setSuspenseHandler:KC,scheduleUpdate:QC,currentDispatcherRef:a,findHostInstanceByFiber:MM,findFiberByHostInstance:t||LM,findHostInstancesForRefresh:cM,scheduleRefresh:uM,scheduleRoot:sM,setRefreshHandler:oM,getCurrentFiber:NM,reconcilerVersion:Tw})}var ax=typeof reportError=="function"?reportError:function(e){console.error(e)};function kw(e){this._internalRoot=e}zg.prototype.render=kw.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?m("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Ag(arguments[1])?m("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&m("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==gn){var u=IC(t.current);u&&u.parentNode!==a&&m("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Dv(e,t,null,null)},zg.prototype.unmount=kw.prototype.unmount=function(){typeof arguments[0]=="function"&&m("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;mC()&&m("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Eo(function(){Dv(null,e,null,null)}),aE(t)}};function AM(e,t){if(!Ag(e))throw new Error("createRoot(...): Target container is not a DOM element.");ix(e);var a=!1,u=!1,f="",v=ax;t!=null&&(t.hydrate?h("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ga&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
188
|
-
|
|
189
|
-
let root = createRoot(domContainer);
|
|
190
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(f=t.identifierPrefix),t.onRecoverableError!==void 0&&(v=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var y=jC(e,Dm,null,a,u,f,v);Em(y.current,e);var E=e.nodeType===gn?e.parentNode:e;return Ap(E),new kw(y)}function zg(e){this._internalRoot=e}function PM(e){e&&$h(e)}zg.prototype.unstable_scheduleHydration=PM;function jM(e,t,a){if(!Ag(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");ix(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=a??null,f=a!=null&&a.hydratedSources||null,v=!1,y=!1,E="",C=ax;a!=null&&(a.unstable_strictMode===!0&&(v=!0),a.identifierPrefix!==void 0&&(E=a.identifierPrefix),a.onRecoverableError!==void 0&&(C=a.onRecoverableError));var k=UC(t,null,e,Dm,u,v,y,E,C);if(Em(k.current,e),Ap(e),f)for(var _=0;_<f.length;_++){var B=f[_];Hk(k,B)}return new zg(k)}function Ag(e){return!!(e&&(e.nodeType===zr||e.nodeType===Ci||e.nodeType===jd))}function _v(e){return!!(e&&(e.nodeType===zr||e.nodeType===Ci||e.nodeType===jd||e.nodeType===gn&&e.nodeValue===" react-mount-point-unstable "))}function ix(e){e.nodeType===zr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Gp(e)&&(e._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var UM=o.ReactCurrentOwner,lx;lx=function(e){if(e._reactRootContainer&&e.nodeType!==gn){var t=IC(e._reactRootContainer.current);t&&t.parentNode!==e&&m("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var a=!!e._reactRootContainer,u=Dw(e),f=!!(u&&pu(u));f&&!a&&m("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===zr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function Dw(e){return e?e.nodeType===Ci?e.documentElement:e.firstChild:null}function ox(){}function FM(e,t,a,u,f){if(f){if(typeof u=="function"){var v=u;u=function(){var I=Ng(y);v.call(I)}}var y=UC(t,u,e,hu,null,!1,!1,"",ox);e._reactRootContainer=y,Em(y.current,e);var E=e.nodeType===gn?e.parentNode:e;return Ap(E),Eo(),y}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof u=="function"){var k=u;u=function(){var I=Ng(_);k.call(I)}}var _=jC(e,hu,null,!1,!1,"",ox);e._reactRootContainer=_,Em(_.current,e);var B=e.nodeType===gn?e.parentNode:e;return Ap(B),Eo(function(){Dv(t,_,a,u)}),_}}function IM(e,t){e!==null&&typeof e!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Pg(e,t,a,u,f){lx(a),IM(f===void 0?null:f,"render");var v=a._reactRootContainer,y;if(!v)y=FM(a,t,e,f,u);else{if(y=v,typeof f=="function"){var E=f;f=function(){var C=Ng(y);E.call(C)}}Dv(t,y,e,f)}return Ng(y)}var ux=!1;function HM(e){{ux||(ux=!0,m("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=UM.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||m("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",kt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===zr?e:xM(e,"findDOMNode")}function BM(e,t,a){if(m("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!_v(t))throw new Error("Target container is not a DOM element.");{var u=Gp(t)&&t._reactRootContainer===void 0;u&&m("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Pg(null,e,t,!0,a)}function VM(e,t,a){if(m("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!_v(t))throw new Error("Target container is not a DOM element.");{var u=Gp(t)&&t._reactRootContainer===void 0;u&&m("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Pg(null,e,t,!1,a)}function $M(e,t,a,u){if(m("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!_v(a))throw new Error("Target container is not a DOM element.");if(e==null||!Ry(e))throw new Error("parentComponent must be a valid React Component");return Pg(e,t,a,!1,u)}var sx=!1;function WM(e){if(sx||(sx=!0,m("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!_v(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Gp(e)&&e._reactRootContainer===void 0;t&&m("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var a=Dw(e),u=a&&!pu(a);u&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Eo(function(){Pg(null,null,e,!1,function(){e._reactRootContainer=null,aE(e)})}),!0}else{{var f=Dw(e),v=!!(f&&pu(f)),y=e.nodeType===zr&&_v(e.parentNode)&&!!e.parentNode._reactRootContainer;v&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",y?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}ur(RM),au(OM),Ih(kM),xs(Ca),yp(jh),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),zc(YR),xy(lw,j_,Eo);function GM(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Ag(t))throw new Error("Target container is not a DOM element.");return CM(e,t,null,a)}function YM(e,t,a,u){return $M(e,t,a,u)}var _w={usingClientEntryPoint:!1,Events:[pu,jf,Tm,Yo,Ac,lw]};function qM(e,t){return _w.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),AM(e,t)}function QM(e,t,a){return _w.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),jM(e,t,a)}function XM(e){return mC()&&m("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Eo(e)}var KM=zM({findFiberByHostInstance:Fs,bundleType:1,version:Tw,rendererPackageName:"react-dom"});if(!KM&&Et&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var cx=window.location.protocol;/^(https?|file):$/.test(cx)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(cx==="file:"?`
|
|
191
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}La.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_w,La.createPortal=GM,La.createRoot=qM,La.findDOMNode=HM,La.flushSync=XM,La.hydrate=BM,La.hydrateRoot=QM,La.render=VM,La.unmountComponentAtNode=WM,La.unstable_batchedUpdates=lw,La.unstable_renderSubtreeIntoContainer=YM,La.version=Tw,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),La}var Kx;function qz(){if(Kx)return Ug.exports;Kx=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(l){console.error(l)}}}return process.env.NODE_ENV==="production"?(i(),Ug.exports=Gz()):Ug.exports=Yz(),Ug.exports}var Qz=qz();function sb(i,l,o){return(i-l)/(o-l)}function kb(i,l,o,c){var p=sb(l,o,c),h={};switch(i){case"rtl":h.right="".concat(p*100,"%"),h.transform="translateX(50%)";break;case"btt":h.bottom="".concat(p*100,"%"),h.transform="translateY(50%)";break;case"ttb":h.top="".concat(p*100,"%"),h.transform="translateY(-50%)";break;default:h.left="".concat(p*100,"%"),h.transform="translateX(-50%)";break}return h}function nc(i,l){return Array.isArray(i)?i[l]:i}var cr={BACKSPACE:8,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},cc=V.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),Xz=V.createContext({}),Kz=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],cb=V.forwardRef(function(i,l){var o=i.prefixCls,c=i.value,p=i.valueIndex,h=i.onStartMove,m=i.onDelete,w=i.style,b=i.render,T=i.dragging,O=i.draggingDelete,R=i.onOffsetChange,D=i.onChangeComplete,L=i.onFocus,M=i.onMouseEnter,U=q1(i,Kz),P=V.useContext(cc),N=P.min,z=P.max,j=P.direction,q=P.disabled,$=P.keyboard,se=P.range,le=P.tabIndex,ve=P.ariaLabelForHandle,ee=P.ariaLabelledByForHandle,J=P.ariaRequired,re=P.ariaValueTextFormatterForHandle,oe=P.styles,we=P.classNames,Qe="".concat(o,"-handle"),Ge=function(bt){q||h(bt,p)},be=function(bt){L==null||L(bt,p)},$e=function(bt){M(bt,p)},ue=function(bt){if(!q&&$){var nt=null;switch(bt.which||bt.keyCode){case cr.LEFT:nt=j==="ltr"||j==="btt"?-1:1;break;case cr.RIGHT:nt=j==="ltr"||j==="btt"?1:-1;break;case cr.UP:nt=j!=="ttb"?1:-1;break;case cr.DOWN:nt=j!=="ttb"?-1:1;break;case cr.HOME:nt="min";break;case cr.END:nt="max";break;case cr.PAGE_UP:nt=2;break;case cr.PAGE_DOWN:nt=-2;break;case cr.BACKSPACE:case cr.DELETE:m(p);break}nt!==null&&(bt.preventDefault(),R(nt,p))}},Se=function(bt){switch(bt.which||bt.keyCode){case cr.LEFT:case cr.RIGHT:case cr.UP:case cr.DOWN:case cr.HOME:case cr.END:case cr.PAGE_UP:case cr.PAGE_DOWN:D==null||D();break}},ye=kb(j,c,N,z),tt={};if(p!==null){var it;tt={tabIndex:q?null:nc(le,p),role:"slider","aria-valuemin":N,"aria-valuemax":z,"aria-valuenow":c,"aria-disabled":q,"aria-label":nc(ve,p),"aria-labelledby":nc(ee,p),"aria-required":nc(J,p),"aria-valuetext":(it=nc(re,p))===null||it===void 0?void 0:it(c),"aria-orientation":j==="ltr"||j==="rtl"?"horizontal":"vertical",onMouseDown:Ge,onTouchStart:Ge,onFocus:be,onMouseEnter:$e,onKeyDown:ue,onKeyUp:Se}}var Rn=V.createElement("div",Hv({ref:l,className:lc(Qe,hi(hi(hi({},"".concat(Qe,"-").concat(p+1),p!==null&&se),"".concat(Qe,"-dragging"),T),"".concat(Qe,"-dragging-delete"),O),we.handle),style:Kr(Kr(Kr({},ye),w),oe.handle)},tt,U));return b&&(Rn=b(Rn,{index:p,prefixCls:o,value:c,dragging:T,draggingDelete:O})),Rn});process.env.NODE_ENV!=="production"&&(cb.displayName="Handle");var Zz=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],X1=V.forwardRef(function(i,l){var o=i.prefixCls,c=i.style,p=i.onStartMove,h=i.onOffsetChange,m=i.values,w=i.handleRender,b=i.activeHandleRender,T=i.draggingIndex,O=i.draggingDelete,R=i.onFocus,D=q1(i,Zz),L=V.useRef({}),M=V.useState(!1),U=Dr(M,2),P=U[0],N=U[1],z=V.useState(-1),j=Dr(z,2),q=j[0],$=j[1],se=function(re){$(re),N(!0)},le=function(re,oe){se(oe),R==null||R(re)},ve=function(re,oe){se(oe)};V.useImperativeHandle(l,function(){return{focus:function(re){var oe;(oe=L.current[re])===null||oe===void 0||oe.focus()},hideHelp:function(){Qz.flushSync(function(){N(!1)})}}});var ee=Kr({prefixCls:o,onStartMove:p,onOffsetChange:h,render:w,onFocus:le,onMouseEnter:ve},D);return V.createElement(V.Fragment,null,m.map(function(J,re){var oe=T===re;return V.createElement(cb,Hv({ref:function(Qe){Qe?L.current[re]=Qe:delete L.current[re]},dragging:oe,draggingDelete:oe&&O,style:nc(c,re),key:re,value:J,valueIndex:re},ee))}),b&&P&&V.createElement(cb,Hv({key:"a11y"},ee,{value:m[q],valueIndex:null,dragging:T!==-1,draggingDelete:O,render:b,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))});process.env.NODE_ENV!=="production"&&(X1.displayName="Handles");var Jz=function(l){var o=l.prefixCls,c=l.style,p=l.children,h=l.value,m=l.onClick,w=V.useContext(cc),b=w.min,T=w.max,O=w.direction,R=w.includedStart,D=w.includedEnd,L=w.included,M="".concat(o,"-text"),U=kb(O,h,b,T);return V.createElement("span",{className:lc(M,hi({},"".concat(M,"-active"),L&&R<=h&&h<=D)),style:Kr(Kr({},U),c),onMouseDown:function(N){N.stopPropagation()},onClick:function(){m(h)}},p)},eA=function(l){var o=l.prefixCls,c=l.marks,p=l.onClick,h="".concat(o,"-mark");return c.length?V.createElement("div",{className:h},c.map(function(m){var w=m.value,b=m.style,T=m.label;return V.createElement(Jz,{key:w,prefixCls:h,style:b,value:w,onClick:p},T)})):null},tA=function(l){var o=l.prefixCls,c=l.value,p=l.style,h=l.activeStyle,m=V.useContext(cc),w=m.min,b=m.max,T=m.direction,O=m.included,R=m.includedStart,D=m.includedEnd,L="".concat(o,"-dot"),M=O&&R<=c&&c<=D,U=Kr(Kr({},kb(T,c,w,b)),typeof p=="function"?p(c):p);return M&&(U=Kr(Kr({},U),typeof h=="function"?h(c):h)),V.createElement("span",{className:lc(L,hi({},"".concat(L,"-active"),M)),style:U})},nA=function(l){var o=l.prefixCls,c=l.marks,p=l.dots,h=l.style,m=l.activeStyle,w=V.useContext(cc),b=w.min,T=w.max,O=w.step,R=V.useMemo(function(){var D=new Set;if(c.forEach(function(M){D.add(M.value)}),p&&O!==null)for(var L=b;L<=T;)D.add(L),L+=O;return Array.from(D)},[b,T,O,p,c]);return V.createElement("div",{className:"".concat(o,"-step")},R.map(function(D){return V.createElement(tA,{prefixCls:o,key:D,value:D,style:h,activeStyle:m})}))},Zx=function(l){var o=l.prefixCls,c=l.style,p=l.start,h=l.end,m=l.index,w=l.onStartMove,b=l.replaceCls,T=V.useContext(cc),O=T.direction,R=T.min,D=T.max,L=T.disabled,M=T.range,U=T.classNames,P="".concat(o,"-track"),N=sb(p,R,D),z=sb(h,R,D),j=function(le){!L&&w&&w(le,-1)},q={};switch(O){case"rtl":q.right="".concat(N*100,"%"),q.width="".concat(z*100-N*100,"%");break;case"btt":q.bottom="".concat(N*100,"%"),q.height="".concat(z*100-N*100,"%");break;case"ttb":q.top="".concat(N*100,"%"),q.height="".concat(z*100-N*100,"%");break;default:q.left="".concat(N*100,"%"),q.width="".concat(z*100-N*100,"%")}var $=b||lc(P,hi(hi({},"".concat(P,"-").concat(m+1),m!==null&&M),"".concat(o,"-track-draggable"),w),U.track);return V.createElement("div",{className:$,style:Kr(Kr({},q),c),onMouseDown:j,onTouchStart:j})},rA=function(l){var o=l.prefixCls,c=l.style,p=l.values,h=l.startPoint,m=l.onStartMove,w=V.useContext(cc),b=w.included,T=w.range,O=w.min,R=w.styles,D=w.classNames,L=V.useMemo(function(){if(!T){if(p.length===0)return[];var U=h??O,P=p[0];return[{start:Math.min(U,P),end:Math.max(U,P)}]}for(var N=[],z=0;z<p.length-1;z+=1)N.push({start:p[z],end:p[z+1]});return N},[p,T,h,O]);if(!b)return null;var M=L!=null&&L.length&&(D.tracks||R.tracks)?V.createElement(Zx,{index:null,prefixCls:o,start:L[0].start,end:L[L.length-1].end,replaceCls:lc(D.tracks,"".concat(o,"-tracks")),style:R.tracks}):null;return V.createElement(V.Fragment,null,M,L.map(function(U,P){var N=U.start,z=U.end;return V.createElement(Zx,{index:P,prefixCls:o,style:Kr(Kr({},nc(c,P)),R.track),start:N,end:z,key:P,onStartMove:m})}))},aA=130;function Jx(i){var l="targetTouches"in i?i.targetTouches[0]:i;return{pageX:l.pageX,pageY:l.pageY}}function iA(i,l,o,c,p,h,m,w,b,T,O){var R=V.useState(null),D=Dr(R,2),L=D[0],M=D[1],U=V.useState(-1),P=Dr(U,2),N=P[0],z=P[1],j=V.useState(!1),q=Dr(j,2),$=q[0],se=q[1],le=V.useState(o),ve=Dr(le,2),ee=ve[0],J=ve[1],re=V.useState(o),oe=Dr(re,2),we=oe[0],Qe=oe[1],Ge=V.useRef(null),be=V.useRef(null),$e=V.useRef(null),ue=V.useContext(Xz),Se=ue.onDragStart,ye=ue.onDragChange;W1(function(){N===-1&&J(o)},[o,N]),V.useEffect(function(){return function(){document.removeEventListener("mousemove",Ge.current),document.removeEventListener("mouseup",be.current),$e.current&&($e.current.removeEventListener("touchmove",Ge.current),$e.current.removeEventListener("touchend",be.current))}},[]);var tt=function(nt,pt,zt){pt!==void 0&&M(pt),J(nt);var Bt=nt;zt&&(Bt=nt.filter(function(Dt,Et){return Et!==N})),m(Bt),ye&&ye({rawValues:nt,deleteIndex:zt?N:-1,draggingIndex:N,draggingValue:pt})},it=dd(function(bt,nt,pt){if(bt===-1){var zt=we[0],Bt=we[we.length-1],Dt=c-zt,Et=p-Bt,Kt=nt*(p-c);Kt=Math.max(Kt,Dt),Kt=Math.min(Kt,Et);var an=h(zt+Kt);Kt=an-zt;var Yt=we.map(function(dr){return dr+Kt});tt(Yt)}else{var Zt=(p-c)*nt,hn=_o(ee);hn[bt]=we[bt];var fr=b(hn,Zt,bt,"dist");tt(fr.values,fr.value,pt)}}),Rn=function(nt,pt,zt){nt.stopPropagation();var Bt=zt||o,Dt=Bt[pt];z(pt),M(Dt),Qe(Bt),J(Bt),se(!1);var Et=Jx(nt),Kt=Et.pageX,an=Et.pageY,Yt=!1;Se&&Se({rawValues:Bt,draggingIndex:pt,draggingValue:Dt});var Zt=function(dr){dr.preventDefault();var zn=Jx(dr),Mr=zn.pageX,mn=zn.pageY,On=Mr-Kt,Jt=mn-an,An=i.current.getBoundingClientRect(),ln=An.width,Bn=An.height,ir,lr;switch(l){case"btt":ir=-Jt/Bn,lr=On;break;case"ttb":ir=Jt/Bn,lr=On;break;case"rtl":ir=-On/ln,lr=Jt;break;default:ir=On/ln,lr=Jt}Yt=T?Math.abs(lr)>aA&&O<ee.length:!1,se(Yt),it(pt,ir,Yt)},hn=function fr(dr){dr.preventDefault(),document.removeEventListener("mouseup",fr),document.removeEventListener("mousemove",Zt),$e.current&&($e.current.removeEventListener("touchmove",Ge.current),$e.current.removeEventListener("touchend",be.current)),Ge.current=null,be.current=null,$e.current=null,w(Yt),z(-1),se(!1)};document.addEventListener("mouseup",hn),document.addEventListener("mousemove",Zt),nt.currentTarget.addEventListener("touchend",hn),nt.currentTarget.addEventListener("touchmove",Zt),Ge.current=Zt,be.current=hn,$e.current=nt.currentTarget},Ht=V.useMemo(function(){var bt=_o(o).sort(function(Dt,Et){return Dt-Et}),nt=_o(ee).sort(function(Dt,Et){return Dt-Et}),pt={};nt.forEach(function(Dt){pt[Dt]=(pt[Dt]||0)+1}),bt.forEach(function(Dt){pt[Dt]=(pt[Dt]||0)-1});var zt=T?1:0,Bt=Object.values(pt).reduce(function(Dt,Et){return Dt+Math.abs(Et)},0);return Bt<=zt?ee:o},[o,ee,T]);return[N,L,$,Ht,Rn]}function lA(i,l,o,c,p,h){var m=V.useCallback(function(L){return Math.max(i,Math.min(l,L))},[i,l]),w=V.useCallback(function(L){if(o!==null){var M=i+Math.round((m(L)-i)/o)*o,U=function(j){return(String(j).split(".")[1]||"").length},P=Math.max(U(o),U(l),U(i)),N=Number(M.toFixed(P));return i<=N&&N<=l?N:null}return null},[o,i,l,m]),b=V.useCallback(function(L){var M=m(L),U=c.map(function(z){return z.value});o!==null&&U.push(w(L)),U.push(i,l);var P=U[0],N=l-i;return U.forEach(function(z){var j=Math.abs(M-z);j<=N&&(P=z,N=j)}),P},[i,l,c,o,m,w]),T=function L(M,U,P){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof U=="number"){var z,j=M[P],q=j+U,$=[];c.forEach(function(J){$.push(J.value)}),$.push(i,l),$.push(w(j));var se=U>0?1:-1;N==="unit"?$.push(w(j+se*o)):$.push(w(q)),$=$.filter(function(J){return J!==null}).filter(function(J){return U<0?J<=j:J>=j}),N==="unit"&&($=$.filter(function(J){return J!==j}));var le=N==="unit"?j:q;z=$[0];var ve=Math.abs(z-le);if($.forEach(function(J){var re=Math.abs(J-le);re<ve&&(z=J,ve=re)}),z===void 0)return U<0?i:l;if(N==="dist")return z;if(Math.abs(U)>1){var ee=_o(M);return ee[P]=z,L(ee,U-se,P,N)}return z}else{if(U==="min")return i;if(U==="max")return l}},O=function(M,U,P){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",z=M[P],j=T(M,U,P,N);return{value:j,changed:j!==z}},R=function(M){return h===null&&M===0||typeof h=="number"&&M<h},D=function(M,U,P){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",z=M.map(b),j=z[P],q=T(z,U,P,N);if(z[P]=q,p===!1){var $=h||0;P>0&&z[P-1]!==j&&(z[P]=Math.max(z[P],z[P-1]+$)),P<z.length-1&&z[P+1]!==j&&(z[P]=Math.min(z[P],z[P+1]-$))}else if(typeof h=="number"||h===null){for(var se=P+1;se<z.length;se+=1)for(var le=!0;R(z[se]-z[se-1])&≤){var ve=O(z,1,se);z[se]=ve.value,le=ve.changed}for(var ee=P;ee>0;ee-=1)for(var J=!0;R(z[ee]-z[ee-1])&&J;){var re=O(z,-1,ee-1);z[ee-1]=re.value,J=re.changed}for(var oe=z.length-1;oe>0;oe-=1)for(var we=!0;R(z[oe]-z[oe-1])&&we;){var Qe=O(z,-1,oe-1);z[oe-1]=Qe.value,we=Qe.changed}for(var Ge=0;Ge<z.length-1;Ge+=1)for(var be=!0;R(z[Ge+1]-z[Ge])&&be;){var $e=O(z,1,Ge+1);z[Ge+1]=$e.value,be=$e.changed}}return{value:z[P],values:z}};return[b,D]}function oA(i){return Fe.useMemo(function(){if(i===!0||!i)return[!!i,!1,!1,0];var l=i.editable,o=i.draggableTrack,c=i.minCount,p=i.maxCount;return process.env.NODE_ENV!=="production"&&G1(!l||!o,"`editable` can not work with `draggableTrack`."),[!0,l,!l&&o,c||0,p]},[i])}var K1=V.forwardRef(function(i,l){var o=i.prefixCls,c=o===void 0?"rc-slider":o,p=i.className,h=i.style,m=i.classNames,w=i.styles,b=i.id,T=i.disabled,O=T===void 0?!1:T,R=i.keyboard,D=R===void 0?!0:R,L=i.autoFocus,M=i.onFocus,U=i.onBlur,P=i.min,N=P===void 0?0:P,z=i.max,j=z===void 0?100:z,q=i.step,$=q===void 0?1:q,se=i.value,le=i.defaultValue,ve=i.range,ee=i.count,J=i.onChange,re=i.onBeforeChange,oe=i.onAfterChange,we=i.onChangeComplete,Qe=i.allowCross,Ge=Qe===void 0?!0:Qe,be=i.pushable,$e=be===void 0?!1:be,ue=i.reverse,Se=i.vertical,ye=i.included,tt=ye===void 0?!0:ye,it=i.startPoint,Rn=i.trackStyle,Ht=i.handleStyle,bt=i.railStyle,nt=i.dotStyle,pt=i.activeDotStyle,zt=i.marks,Bt=i.dots,Dt=i.handleRender,Et=i.activeHandleRender,Kt=i.track,an=i.tabIndex,Yt=an===void 0?0:an,Zt=i.ariaLabelForHandle,hn=i.ariaLabelledByForHandle,fr=i.ariaRequired,dr=i.ariaValueTextFormatterForHandle,zn=V.useRef(null),Mr=V.useRef(null),mn=V.useMemo(function(){return Se?ue?"ttb":"btt":ue?"rtl":"ltr"},[ue,Se]),On=oA(ve),Jt=Dr(On,5),An=Jt[0],ln=Jt[1],Bn=Jt[2],ir=Jt[3],lr=Jt[4],Pn=V.useMemo(function(){return isFinite(N)?N:0},[N]),Ee=V.useMemo(function(){return isFinite(j)?j:100},[j]),Ue=V.useMemo(function(){return $!==null&&$<=0?1:$},[$]),ot=V.useMemo(function(){return typeof $e=="boolean"?$e?Ue:!1:$e>=0?$e:!1},[$e,Ue]),ht=V.useMemo(function(){return Object.keys(zt||{}).map(function(Tt){var Ce=zt[Tt],Ne={value:Number(Tt)};return Ce&&Mu(Ce)==="object"&&!V.isValidElement(Ce)&&("label"in Ce||"style"in Ce)?(Ne.style=Ce.style,Ne.label=Ce.label):Ne.label=Ce,Ne}).filter(function(Tt){var Ce=Tt.label;return Ce||typeof Ce=="number"}).sort(function(Tt,Ce){return Tt.value-Ce.value})},[zt]),Vt=lA(Pn,Ee,Ue,ht,Ge,ot),Vn=Dr(Vt,2),jt=Vn[0],$n=Vn[1],en=jz(le,{value:se}),Ut=Dr(en,2),_t=Ut[0],Yi=Ut[1],$t=V.useMemo(function(){var Tt=_t==null?[]:Array.isArray(_t)?_t:[_t],Ce=Dr(Tt,1),Ne=Ce[0],Ct=Ne===void 0?Pn:Ne,tn=_t===null?[]:[Ct];if(An){if(tn=_o(Tt),ee||_t===void 0){var Lr=ee>=0?ee+1:2;for(tn=tn.slice(0,Lr);tn.length<Lr;){var pa;tn.push((pa=tn[tn.length-1])!==null&&pa!==void 0?pa:Pn)}}tn.sort(function(Jr,vr){return Jr-vr})}return tn.forEach(function(Jr,vr){tn[vr]=jt(Jr)}),tn},[_t,An,Pn,ee,jt]),Na=function(Ce){return An?Ce:Ce[0]},_l=dd(function(Tt){var Ce=_o(Tt).sort(function(Ne,Ct){return Ne-Ct});J&&!Bz(Ce,$t,!0)&&J(Na(Ce)),Yi(Ce)}),Lu=dd(function(Tt){Tt&&zn.current.hideHelp();var Ce=Na($t);oe==null||oe(Ce),ac(!oe,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),we==null||we(Ce)}),Nu=function(Ce){if(!(O||!ln||$t.length<=ir)){var Ne=_o($t);Ne.splice(Ce,1),re==null||re(Na(Ne)),_l(Ne);var Ct=Math.max(0,Ce-1);zn.current.hideHelp(),zn.current.focus(Ct)}},zu=iA(Mr,mn,$t,Pn,Ee,jt,_l,Lu,$n,ln,ir),mi=Dr(zu,5),Po=mi[0],gi=mi[1],Ga=mi[2],pr=mi[3],yi=mi[4],Ya=function(Ce,Ne){if(!O){var Ct=_o($t),tn=0,Lr=0,pa=Ee-Pn;$t.forEach(function(on,Uo){var pc=Math.abs(Ce-on);pc<=pa&&(pa=pc,tn=Uo),on<Ce&&(Lr=Uo)});var Jr=tn;ln&&pa!==0&&(!lr||$t.length<lr)?(Ct.splice(Lr+1,0,Ce),Jr=Lr+1):Ct[tn]=Ce,An&&!$t.length&&ee===void 0&&Ct.push(Ce);var vr=Na(Ct);if(re==null||re(vr),_l(Ct),Ne){var Dn,Si;(Dn=document.activeElement)===null||Dn===void 0||(Si=Dn.blur)===null||Si===void 0||Si.call(Dn),zn.current.focus(Jr),yi(Ne,Jr,Ct)}else oe==null||oe(vr),ac(!oe,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),we==null||we(vr)}},qi=function(Ce){Ce.preventDefault();var Ne=Mr.current.getBoundingClientRect(),Ct=Ne.width,tn=Ne.height,Lr=Ne.left,pa=Ne.top,Jr=Ne.bottom,vr=Ne.right,Dn=Ce.clientX,Si=Ce.clientY,on;switch(mn){case"btt":on=(Jr-Si)/tn;break;case"ttb":on=(Si-pa)/tn;break;case"rtl":on=(vr-Dn)/Ct;break;default:on=(Dn-Lr)/Ct}var Uo=Pn+on*(Ee-Pn);Ya(jt(Uo),Ce)},Qi=V.useState(null),Xi=Dr(Qi,2),qa=Xi[0],Ml=Xi[1],jo=function(Ce,Ne){if(!O){var Ct=$n($t,Ce,Ne);re==null||re(Na($t)),_l(Ct.values),Ml(Ct.value)}};V.useEffect(function(){if(qa!==null){var Tt=$t.indexOf(qa);Tt>=0&&zn.current.focus(Tt)}Ml(null)},[qa]);var Zr=V.useMemo(function(){return Bn&&Ue===null?(process.env.NODE_ENV!=="production"&&ac(!1,"`draggableTrack` is not supported when `step` is `null`."),!1):Bn},[Bn,Ue]),kn=dd(function(Tt,Ce){yi(Tt,Ce),re==null||re(Na($t))}),Au=Po!==-1;V.useEffect(function(){if(!Au){var Tt=$t.lastIndexOf(gi);zn.current.focus(Tt)}},[Au]);var Ll=V.useMemo(function(){return _o(pr).sort(function(Tt,Ce){return Tt-Ce})},[pr]),Pu=V.useMemo(function(){return An?[Ll[0],Ll[Ll.length-1]]:[Pn,Ll[0]]},[Ll,An,Pn]),ju=Dr(Pu,2),Uu=ju[0],Fu=ju[1];V.useImperativeHandle(l,function(){return{focus:function(){zn.current.focus(0)},blur:function(){var Ce,Ne=document,Ct=Ne.activeElement;(Ce=Mr.current)!==null&&Ce!==void 0&&Ce.contains(Ct)&&(Ct==null||Ct.blur())}}}),V.useEffect(function(){L&&zn.current.focus(0)},[]);var dc=V.useMemo(function(){return{min:Pn,max:Ee,direction:mn,disabled:O,keyboard:D,step:Ue,included:tt,includedStart:Uu,includedEnd:Fu,range:An,tabIndex:Yt,ariaLabelForHandle:Zt,ariaLabelledByForHandle:hn,ariaRequired:fr,ariaValueTextFormatterForHandle:dr,styles:w||{},classNames:m||{}}},[Pn,Ee,mn,O,D,Ue,tt,Uu,Fu,An,Yt,Zt,hn,fr,dr,w,m]);return V.createElement(cc.Provider,{value:dc},V.createElement("div",{ref:Mr,className:lc(c,p,hi(hi(hi(hi({},"".concat(c,"-disabled"),O),"".concat(c,"-vertical"),Se),"".concat(c,"-horizontal"),!Se),"".concat(c,"-with-marks"),ht.length)),style:h,onMouseDown:qi,id:b},V.createElement("div",{className:lc("".concat(c,"-rail"),m==null?void 0:m.rail),style:Kr(Kr({},bt),w==null?void 0:w.rail)}),Kt!==!1&&V.createElement(rA,{prefixCls:c,style:Rn,values:$t,startPoint:it,onStartMove:Zr?kn:void 0}),V.createElement(nA,{prefixCls:c,marks:ht,dots:Bt,style:nt,activeStyle:pt}),V.createElement(X1,{ref:zn,prefixCls:c,style:Ht,values:pr,draggingIndex:Po,draggingDelete:Ga,onStartMove:kn,onOffsetChange:jo,onFocus:M,onBlur:U,handleRender:Dt,activeHandleRender:Et,onChangeComplete:Lu,onDelete:ln?Nu:void 0}),V.createElement(eA,{prefixCls:c,marks:ht,onClick:Ya})))});process.env.NODE_ENV!=="production"&&(K1.displayName="Slider");const uA=({block:i,...l})=>ge.jsx(K1,{className:Hn(i,"range-slider"),...l,range:!0}),sA=(i,l,o)=>{if(!o||!l.trim())return i;const c=i.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return c.length>0?c:null},cA=({options:i,onClick:l,handleSelect:o,onClickToOptions:c,isOpen:p,value:h,onChange:m,block:w,id:b="select",name:T="select",disabled:O,hasSearch:R=!1,...D})=>{const L=Fe.useMemo(()=>sA(i,h,R),[i,h,R]),M=U=>{m(U),o(R)};return ge.jsxs(rc.Wrapper,{onClickOutside:o,isOpen:p,block:w,disabled:O,children:[ge.jsxs(rc.Block,{onClick:l,block:"select",children:[ge.jsx(rc.Input,{disabled:O,id:b,name:T,value:h,onChange:M,hasSearch:R,...D}),ge.jsx(rc.Arrow,{})]}),ge.jsx(rc.List,{options:L,onClick:c,value:h})]})},fA=({options:i,onClick:l,value:o})=>i?ge.jsx("ul",{className:"select__options",children:i.map(c=>{const p=c===o,h=()=>{l(c)};return ge.jsx(rc.Option,{isSelected:p,onOptionClick:h,option:c},c)})}):ge.jsx("ul",{className:"select__options",children:ge.jsx("li",{className:"select__option select__option_empty",children:"Nothing found"})}),dA=({isSelected:i,option:l,onOptionClick:o})=>ge.jsx("li",{className:Hn("","select__option",{_selected:i}),onClick:o,children:l}),pA=({onChange:i,hasSearch:l,...o})=>ge.jsx(R1,{isReadOnly:!l,isTransparent:!0,onChange:i,...o}),vA=()=>ge.jsx(Gi.ArrowNarrowDown,{className:"select__arrow"}),hA=({children:i,onClick:l})=>ge.jsx("div",{onClick:l,className:"select__block",children:i}),mA="selectTestId",gA=hb(hA,"select"),yA=({children:i,isOpen:l,onClickOutside:o,block:c,disabled:p=!1})=>{const h=gb(o);return ge.jsx("div",{ref:h,"data-testid":mA,className:Hn(c,"select",{_open:l,disabled:p}),children:i})},rc=Object.assign(cA,{List:fA,Option:dA,Input:pA,Arrow:vA,Wrapper:yA,Block:gA});function e1(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function Db(i,l){i===void 0&&(i={}),l===void 0&&(l={});const o=["__proto__","constructor","prototype"];Object.keys(l).filter(c=>o.indexOf(c)<0).forEach(c=>{typeof i[c]>"u"?i[c]=l[c]:e1(l[c])&&e1(i[c])&&Object.keys(l[c]).length>0&&Db(i[c],l[c])})}const Z1={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function fc(){const i=typeof document<"u"?document:{};return Db(i,Z1),i}const SA={document:Z1,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function da(){const i=typeof window<"u"?window:{};return Db(i,SA),i}function wA(i){return i===void 0&&(i=""),i.trim().split(" ").filter(l=>!!l.trim())}function bA(i){const l=i;Object.keys(l).forEach(o=>{try{l[o]=null}catch{}try{delete l[o]}catch{}})}function fb(i,l){return l===void 0&&(l=0),setTimeout(i,l)}function ty(){return Date.now()}function EA(i){const l=da();let o;return l.getComputedStyle&&(o=l.getComputedStyle(i,null)),!o&&i.currentStyle&&(o=i.currentStyle),o||(o=i.style),o}function TA(i,l){l===void 0&&(l="x");const o=da();let c,p,h;const m=EA(i);return o.WebKitCSSMatrix?(p=m.transform||m.webkitTransform,p.split(",").length>6&&(p=p.split(", ").map(w=>w.replace(",",".")).join(", ")),h=new o.WebKitCSSMatrix(p==="none"?"":p)):(h=m.MozTransform||m.OTransform||m.MsTransform||m.msTransform||m.transform||m.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),c=h.toString().split(",")),l==="x"&&(o.WebKitCSSMatrix?p=h.m41:c.length===16?p=parseFloat(c[12]):p=parseFloat(c[4])),l==="y"&&(o.WebKitCSSMatrix?p=h.m42:c.length===16?p=parseFloat(c[13]):p=parseFloat(c[5])),p||0}function Ig(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function CA(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function Wa(){const i=Object(arguments.length<=0?void 0:arguments[0]),l=["__proto__","constructor","prototype"];for(let o=1;o<arguments.length;o+=1){const c=o<0||arguments.length<=o?void 0:arguments[o];if(c!=null&&!CA(c)){const p=Object.keys(Object(c)).filter(h=>l.indexOf(h)<0);for(let h=0,m=p.length;h<m;h+=1){const w=p[h],b=Object.getOwnPropertyDescriptor(c,w);b!==void 0&&b.enumerable&&(Ig(i[w])&&Ig(c[w])?c[w].__swiper__?i[w]=c[w]:Wa(i[w],c[w]):!Ig(i[w])&&Ig(c[w])?(i[w]={},c[w].__swiper__?i[w]=c[w]:Wa(i[w],c[w])):i[w]=c[w])}}}return i}function Hg(i,l,o){i.style.setProperty(l,o)}function J1(i){let{swiper:l,targetPosition:o,side:c}=i;const p=da(),h=-l.translate;let m=null,w;const b=l.params.speed;l.wrapperEl.style.scrollSnapType="none",p.cancelAnimationFrame(l.cssModeFrameID);const T=o>h?"next":"prev",O=(D,L)=>T==="next"&&D>=L||T==="prev"&&D<=L,R=()=>{w=new Date().getTime(),m===null&&(m=w);const D=Math.max(Math.min((w-m)/b,1),0),L=.5-Math.cos(D*Math.PI)/2;let M=h+L*(o-h);if(O(M,o)&&(M=o),l.wrapperEl.scrollTo({[c]:M}),O(M,o)){l.wrapperEl.style.overflow="hidden",l.wrapperEl.style.scrollSnapType="",setTimeout(()=>{l.wrapperEl.style.overflow="",l.wrapperEl.scrollTo({[c]:M})}),p.cancelAnimationFrame(l.cssModeFrameID);return}l.cssModeFrameID=p.requestAnimationFrame(R)};R()}function Mo(i,l){l===void 0&&(l="");const o=da(),c=[...i.children];return o.HTMLSlotElement&&i instanceof HTMLSlotElement&&c.push(...i.assignedElements()),l?c.filter(p=>p.matches(l)):c}function xA(i,l){const o=[l];for(;o.length>0;){const c=o.shift();if(i===c)return!0;o.push(...c.children,...c.shadowRoot?c.shadowRoot.children:[],...c.assignedElements?c.assignedElements():[])}}function RA(i,l){const o=da();let c=l.contains(i);return!c&&o.HTMLSlotElement&&l instanceof HTMLSlotElement&&(c=[...l.assignedElements()].includes(i),c||(c=xA(i,l))),c}function ny(i){try{console.warn(i);return}catch{}}function db(i,l){l===void 0&&(l=[]);const o=document.createElement(i);return o.classList.add(...Array.isArray(l)?l:wA(l)),o}function OA(i,l){const o=[];for(;i.previousElementSibling;){const c=i.previousElementSibling;l?c.matches(l)&&o.push(c):o.push(c),i=c}return o}function kA(i,l){const o=[];for(;i.nextElementSibling;){const c=i.nextElementSibling;l?c.matches(l)&&o.push(c):o.push(c),i=c}return o}function Du(i,l){return da().getComputedStyle(i,null).getPropertyValue(l)}function t1(i){let l=i,o;if(l){for(o=0;(l=l.previousSibling)!==null;)l.nodeType===1&&(o+=1);return o}}function DA(i,l){const o=[];let c=i.parentElement;for(;c;)o.push(c),c=c.parentElement;return o}function n1(i,l,o){const c=da();return i[l==="width"?"offsetWidth":"offsetHeight"]+parseFloat(c.getComputedStyle(i,null).getPropertyValue(l==="width"?"margin-right":"margin-top"))+parseFloat(c.getComputedStyle(i,null).getPropertyValue(l==="width"?"margin-left":"margin-bottom"))}function r1(i,l){l===void 0&&(l=""),typeof trustedTypes<"u"?i.innerHTML=trustedTypes.createPolicy("html",{createHTML:o=>o}).createHTML(l):i.innerHTML=l}let Iw;function _A(){const i=da(),l=fc();return{smoothScroll:l.documentElement&&l.documentElement.style&&"scrollBehavior"in l.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&l instanceof i.DocumentTouch)}}function eR(){return Iw||(Iw=_A()),Iw}let Hw;function MA(i){let{userAgent:l}=i===void 0?{}:i;const o=eR(),c=da(),p=c.navigator.platform,h=l||c.navigator.userAgent,m={ios:!1,android:!1},w=c.screen.width,b=c.screen.height,T=h.match(/(Android);?[\s\/]+([\d.]+)?/);let O=h.match(/(iPad).*OS\s([\d_]+)/);const R=h.match(/(iPod)(.*OS\s([\d_]+))?/),D=!O&&h.match(/(iPhone\sOS|iOS)\s([\d_]+)/),L=p==="Win32";let M=p==="MacIntel";const U=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!O&&M&&o.touch&&U.indexOf(`${w}x${b}`)>=0&&(O=h.match(/(Version)\/([\d.]+)/),O||(O=[0,1,"13_0_0"]),M=!1),T&&!L&&(m.os="android",m.android=!0),(O||D||R)&&(m.os="ios",m.ios=!0),m}function tR(i){return i===void 0&&(i={}),Hw||(Hw=MA(i)),Hw}let Bw;function LA(){const i=da(),l=tR();let o=!1;function c(){const w=i.navigator.userAgent.toLowerCase();return w.indexOf("safari")>=0&&w.indexOf("chrome")<0&&w.indexOf("android")<0}if(c()){const w=String(i.navigator.userAgent);if(w.includes("Version/")){const[b,T]=w.split("Version/")[1].split(" ")[0].split(".").map(O=>Number(O));o=b<16||b===16&&T<2}}const p=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent),h=c(),m=h||p&&l.ios;return{isSafari:o||h,needPerspectiveFix:o,need3dFix:m,isWebView:p}}function nR(){return Bw||(Bw=LA()),Bw}function NA(i){let{swiper:l,on:o,emit:c}=i;const p=da();let h=null,m=null;const w=()=>{!l||l.destroyed||!l.initialized||(c("beforeResize"),c("resize"))},b=()=>{!l||l.destroyed||!l.initialized||(h=new ResizeObserver(R=>{m=p.requestAnimationFrame(()=>{const{width:D,height:L}=l;let M=D,U=L;R.forEach(P=>{let{contentBoxSize:N,contentRect:z,target:j}=P;j&&j!==l.el||(M=z?z.width:(N[0]||N).inlineSize,U=z?z.height:(N[0]||N).blockSize)}),(M!==D||U!==L)&&w()})}),h.observe(l.el))},T=()=>{m&&p.cancelAnimationFrame(m),h&&h.unobserve&&l.el&&(h.unobserve(l.el),h=null)},O=()=>{!l||l.destroyed||!l.initialized||c("orientationchange")};o("init",()=>{if(l.params.resizeObserver&&typeof p.ResizeObserver<"u"){b();return}p.addEventListener("resize",w),p.addEventListener("orientationchange",O)}),o("destroy",()=>{T(),p.removeEventListener("resize",w),p.removeEventListener("orientationchange",O)})}function zA(i){let{swiper:l,extendParams:o,on:c,emit:p}=i;const h=[],m=da(),w=function(O,R){R===void 0&&(R={});const D=m.MutationObserver||m.WebkitMutationObserver,L=new D(M=>{if(l.__preventObserver__)return;if(M.length===1){p("observerUpdate",M[0]);return}const U=function(){p("observerUpdate",M[0])};m.requestAnimationFrame?m.requestAnimationFrame(U):m.setTimeout(U,0)});L.observe(O,{attributes:typeof R.attributes>"u"?!0:R.attributes,childList:l.isElement||(typeof R.childList>"u"?!0:R).childList,characterData:typeof R.characterData>"u"?!0:R.characterData}),h.push(L)},b=()=>{if(l.params.observer){if(l.params.observeParents){const O=DA(l.hostEl);for(let R=0;R<O.length;R+=1)w(O[R])}w(l.hostEl,{childList:l.params.observeSlideChildren}),w(l.wrapperEl,{attributes:!1})}},T=()=>{h.forEach(O=>{O.disconnect()}),h.splice(0,h.length)};o({observer:!1,observeParents:!1,observeSlideChildren:!1}),c("init",b),c("destroy",T)}var AA={on(i,l,o){const c=this;if(!c.eventsListeners||c.destroyed||typeof l!="function")return c;const p=o?"unshift":"push";return i.split(" ").forEach(h=>{c.eventsListeners[h]||(c.eventsListeners[h]=[]),c.eventsListeners[h][p](l)}),c},once(i,l,o){const c=this;if(!c.eventsListeners||c.destroyed||typeof l!="function")return c;function p(){c.off(i,p),p.__emitterProxy&&delete p.__emitterProxy;for(var h=arguments.length,m=new Array(h),w=0;w<h;w++)m[w]=arguments[w];l.apply(c,m)}return p.__emitterProxy=l,c.on(i,p,o)},onAny(i,l){const o=this;if(!o.eventsListeners||o.destroyed||typeof i!="function")return o;const c=l?"unshift":"push";return o.eventsAnyListeners.indexOf(i)<0&&o.eventsAnyListeners[c](i),o},offAny(i){const l=this;if(!l.eventsListeners||l.destroyed||!l.eventsAnyListeners)return l;const o=l.eventsAnyListeners.indexOf(i);return o>=0&&l.eventsAnyListeners.splice(o,1),l},off(i,l){const o=this;return!o.eventsListeners||o.destroyed||!o.eventsListeners||i.split(" ").forEach(c=>{typeof l>"u"?o.eventsListeners[c]=[]:o.eventsListeners[c]&&o.eventsListeners[c].forEach((p,h)=>{(p===l||p.__emitterProxy&&p.__emitterProxy===l)&&o.eventsListeners[c].splice(h,1)})}),o},emit(){const i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let l,o,c;for(var p=arguments.length,h=new Array(p),m=0;m<p;m++)h[m]=arguments[m];return typeof h[0]=="string"||Array.isArray(h[0])?(l=h[0],o=h.slice(1,h.length),c=i):(l=h[0].events,o=h[0].data,c=h[0].context||i),o.unshift(c),(Array.isArray(l)?l:l.split(" ")).forEach(b=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(T=>{T.apply(c,[b,...o])}),i.eventsListeners&&i.eventsListeners[b]&&i.eventsListeners[b].forEach(T=>{T.apply(c,o)})}),i}};function PA(){const i=this;let l,o;const c=i.el;typeof i.params.width<"u"&&i.params.width!==null?l=i.params.width:l=c.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?o=i.params.height:o=c.clientHeight,!(l===0&&i.isHorizontal()||o===0&&i.isVertical())&&(l=l-parseInt(Du(c,"padding-left")||0,10)-parseInt(Du(c,"padding-right")||0,10),o=o-parseInt(Du(c,"padding-top")||0,10)-parseInt(Du(c,"padding-bottom")||0,10),Number.isNaN(l)&&(l=0),Number.isNaN(o)&&(o=0),Object.assign(i,{width:l,height:o,size:i.isHorizontal()?l:o}))}function jA(){const i=this;function l(J,re){return parseFloat(J.getPropertyValue(i.getDirectionLabel(re))||0)}const o=i.params,{wrapperEl:c,slidesEl:p,size:h,rtlTranslate:m,wrongRTL:w}=i,b=i.virtual&&o.virtual.enabled,T=b?i.virtual.slides.length:i.slides.length,O=Mo(p,`.${i.params.slideClass}, swiper-slide`),R=b?i.virtual.slides.length:O.length;let D=[];const L=[],M=[];let U=o.slidesOffsetBefore;typeof U=="function"&&(U=o.slidesOffsetBefore.call(i));let P=o.slidesOffsetAfter;typeof P=="function"&&(P=o.slidesOffsetAfter.call(i));const N=i.snapGrid.length,z=i.slidesGrid.length;let j=o.spaceBetween,q=-U,$=0,se=0;if(typeof h>"u")return;typeof j=="string"&&j.indexOf("%")>=0?j=parseFloat(j.replace("%",""))/100*h:typeof j=="string"&&(j=parseFloat(j)),i.virtualSize=-j,O.forEach(J=>{m?J.style.marginLeft="":J.style.marginRight="",J.style.marginBottom="",J.style.marginTop=""}),o.centeredSlides&&o.cssMode&&(Hg(c,"--swiper-centered-offset-before",""),Hg(c,"--swiper-centered-offset-after",""));const le=o.grid&&o.grid.rows>1&&i.grid;le?i.grid.initSlides(O):i.grid&&i.grid.unsetSlides();let ve;const ee=o.slidesPerView==="auto"&&o.breakpoints&&Object.keys(o.breakpoints).filter(J=>typeof o.breakpoints[J].slidesPerView<"u").length>0;for(let J=0;J<R;J+=1){ve=0;let re;if(O[J]&&(re=O[J]),le&&i.grid.updateSlide(J,re,O),!(O[J]&&Du(re,"display")==="none")){if(o.slidesPerView==="auto"){ee&&(O[J].style[i.getDirectionLabel("width")]="");const oe=getComputedStyle(re),we=re.style.transform,Qe=re.style.webkitTransform;if(we&&(re.style.transform="none"),Qe&&(re.style.webkitTransform="none"),o.roundLengths)ve=i.isHorizontal()?n1(re,"width"):n1(re,"height");else{const Ge=l(oe,"width"),be=l(oe,"padding-left"),$e=l(oe,"padding-right"),ue=l(oe,"margin-left"),Se=l(oe,"margin-right"),ye=oe.getPropertyValue("box-sizing");if(ye&&ye==="border-box")ve=Ge+ue+Se;else{const{clientWidth:tt,offsetWidth:it}=re;ve=Ge+be+$e+ue+Se+(it-tt)}}we&&(re.style.transform=we),Qe&&(re.style.webkitTransform=Qe),o.roundLengths&&(ve=Math.floor(ve))}else ve=(h-(o.slidesPerView-1)*j)/o.slidesPerView,o.roundLengths&&(ve=Math.floor(ve)),O[J]&&(O[J].style[i.getDirectionLabel("width")]=`${ve}px`);O[J]&&(O[J].swiperSlideSize=ve),M.push(ve),o.centeredSlides?(q=q+ve/2+$/2+j,$===0&&J!==0&&(q=q-h/2-j),J===0&&(q=q-h/2-j),Math.abs(q)<1/1e3&&(q=0),o.roundLengths&&(q=Math.floor(q)),se%o.slidesPerGroup===0&&D.push(q),L.push(q)):(o.roundLengths&&(q=Math.floor(q)),(se-Math.min(i.params.slidesPerGroupSkip,se))%i.params.slidesPerGroup===0&&D.push(q),L.push(q),q=q+ve+j),i.virtualSize+=ve+j,$=ve,se+=1}}if(i.virtualSize=Math.max(i.virtualSize,h)+P,m&&w&&(o.effect==="slide"||o.effect==="coverflow")&&(c.style.width=`${i.virtualSize+j}px`),o.setWrapperSize&&(c.style[i.getDirectionLabel("width")]=`${i.virtualSize+j}px`),le&&i.grid.updateWrapperSize(ve,D),!o.centeredSlides){const J=[];for(let re=0;re<D.length;re+=1){let oe=D[re];o.roundLengths&&(oe=Math.floor(oe)),D[re]<=i.virtualSize-h&&J.push(oe)}D=J,Math.floor(i.virtualSize-h)-Math.floor(D[D.length-1])>1&&D.push(i.virtualSize-h)}if(b&&o.loop){const J=M[0]+j;if(o.slidesPerGroup>1){const re=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/o.slidesPerGroup),oe=J*o.slidesPerGroup;for(let we=0;we<re;we+=1)D.push(D[D.length-1]+oe)}for(let re=0;re<i.virtual.slidesBefore+i.virtual.slidesAfter;re+=1)o.slidesPerGroup===1&&D.push(D[D.length-1]+J),L.push(L[L.length-1]+J),i.virtualSize+=J}if(D.length===0&&(D=[0]),j!==0){const J=i.isHorizontal()&&m?"marginLeft":i.getDirectionLabel("marginRight");O.filter((re,oe)=>!o.cssMode||o.loop?!0:oe!==O.length-1).forEach(re=>{re.style[J]=`${j}px`})}if(o.centeredSlides&&o.centeredSlidesBounds){let J=0;M.forEach(oe=>{J+=oe+(j||0)}),J-=j;const re=J>h?J-h:0;D=D.map(oe=>oe<=0?-U:oe>re?re+P:oe)}if(o.centerInsufficientSlides){let J=0;M.forEach(oe=>{J+=oe+(j||0)}),J-=j;const re=(o.slidesOffsetBefore||0)+(o.slidesOffsetAfter||0);if(J+re<h){const oe=(h-J-re)/2;D.forEach((we,Qe)=>{D[Qe]=we-oe}),L.forEach((we,Qe)=>{L[Qe]=we+oe})}}if(Object.assign(i,{slides:O,snapGrid:D,slidesGrid:L,slidesSizesGrid:M}),o.centeredSlides&&o.cssMode&&!o.centeredSlidesBounds){Hg(c,"--swiper-centered-offset-before",`${-D[0]}px`),Hg(c,"--swiper-centered-offset-after",`${i.size/2-M[M.length-1]/2}px`);const J=-i.snapGrid[0],re=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(oe=>oe+J),i.slidesGrid=i.slidesGrid.map(oe=>oe+re)}if(R!==T&&i.emit("slidesLengthChange"),D.length!==N&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),L.length!==z&&i.emit("slidesGridLengthChange"),o.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!b&&!o.cssMode&&(o.effect==="slide"||o.effect==="fade")){const J=`${o.containerModifierClass}backface-hidden`,re=i.el.classList.contains(J);R<=o.maxBackfaceHiddenSlides?re||i.el.classList.add(J):re&&i.el.classList.remove(J)}}function UA(i){const l=this,o=[],c=l.virtual&&l.params.virtual.enabled;let p=0,h;typeof i=="number"?l.setTransition(i):i===!0&&l.setTransition(l.params.speed);const m=w=>c?l.slides[l.getSlideIndexByData(w)]:l.slides[w];if(l.params.slidesPerView!=="auto"&&l.params.slidesPerView>1)if(l.params.centeredSlides)(l.visibleSlides||[]).forEach(w=>{o.push(w)});else for(h=0;h<Math.ceil(l.params.slidesPerView);h+=1){const w=l.activeIndex+h;if(w>l.slides.length&&!c)break;o.push(m(w))}else o.push(m(l.activeIndex));for(h=0;h<o.length;h+=1)if(typeof o[h]<"u"){const w=o[h].offsetHeight;p=w>p?w:p}(p||p===0)&&(l.wrapperEl.style.height=`${p}px`)}function FA(){const i=this,l=i.slides,o=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let c=0;c<l.length;c+=1)l[c].swiperSlideOffset=(i.isHorizontal()?l[c].offsetLeft:l[c].offsetTop)-o-i.cssOverflowAdjustment()}const a1=(i,l,o)=>{l&&!i.classList.contains(o)?i.classList.add(o):!l&&i.classList.contains(o)&&i.classList.remove(o)};function IA(i){i===void 0&&(i=this&&this.translate||0);const l=this,o=l.params,{slides:c,rtlTranslate:p,snapGrid:h}=l;if(c.length===0)return;typeof c[0].swiperSlideOffset>"u"&&l.updateSlidesOffset();let m=-i;p&&(m=i),l.visibleSlidesIndexes=[],l.visibleSlides=[];let w=o.spaceBetween;typeof w=="string"&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*l.size:typeof w=="string"&&(w=parseFloat(w));for(let b=0;b<c.length;b+=1){const T=c[b];let O=T.swiperSlideOffset;o.cssMode&&o.centeredSlides&&(O-=c[0].swiperSlideOffset);const R=(m+(o.centeredSlides?l.minTranslate():0)-O)/(T.swiperSlideSize+w),D=(m-h[0]+(o.centeredSlides?l.minTranslate():0)-O)/(T.swiperSlideSize+w),L=-(m-O),M=L+l.slidesSizesGrid[b],U=L>=0&&L<=l.size-l.slidesSizesGrid[b],P=L>=0&&L<l.size-1||M>1&&M<=l.size||L<=0&&M>=l.size;P&&(l.visibleSlides.push(T),l.visibleSlidesIndexes.push(b)),a1(T,P,o.slideVisibleClass),a1(T,U,o.slideFullyVisibleClass),T.progress=p?-R:R,T.originalProgress=p?-D:D}}function HA(i){const l=this;if(typeof i>"u"){const O=l.rtlTranslate?-1:1;i=l&&l.translate&&l.translate*O||0}const o=l.params,c=l.maxTranslate()-l.minTranslate();let{progress:p,isBeginning:h,isEnd:m,progressLoop:w}=l;const b=h,T=m;if(c===0)p=0,h=!0,m=!0;else{p=(i-l.minTranslate())/c;const O=Math.abs(i-l.minTranslate())<1,R=Math.abs(i-l.maxTranslate())<1;h=O||p<=0,m=R||p>=1,O&&(p=0),R&&(p=1)}if(o.loop){const O=l.getSlideIndexByData(0),R=l.getSlideIndexByData(l.slides.length-1),D=l.slidesGrid[O],L=l.slidesGrid[R],M=l.slidesGrid[l.slidesGrid.length-1],U=Math.abs(i);U>=D?w=(U-D)/M:w=(U+M-L)/M,w>1&&(w-=1)}Object.assign(l,{progress:p,progressLoop:w,isBeginning:h,isEnd:m}),(o.watchSlidesProgress||o.centeredSlides&&o.autoHeight)&&l.updateSlidesProgress(i),h&&!b&&l.emit("reachBeginning toEdge"),m&&!T&&l.emit("reachEnd toEdge"),(b&&!h||T&&!m)&&l.emit("fromEdge"),l.emit("progress",p)}const Vw=(i,l,o)=>{l&&!i.classList.contains(o)?i.classList.add(o):!l&&i.classList.contains(o)&&i.classList.remove(o)};function BA(){const i=this,{slides:l,params:o,slidesEl:c,activeIndex:p}=i,h=i.virtual&&o.virtual.enabled,m=i.grid&&o.grid&&o.grid.rows>1,w=R=>Mo(c,`.${o.slideClass}${R}, swiper-slide${R}`)[0];let b,T,O;if(h)if(o.loop){let R=p-i.virtual.slidesBefore;R<0&&(R=i.virtual.slides.length+R),R>=i.virtual.slides.length&&(R-=i.virtual.slides.length),b=w(`[data-swiper-slide-index="${R}"]`)}else b=w(`[data-swiper-slide-index="${p}"]`);else m?(b=l.find(R=>R.column===p),O=l.find(R=>R.column===p+1),T=l.find(R=>R.column===p-1)):b=l[p];b&&(m||(O=kA(b,`.${o.slideClass}, swiper-slide`)[0],o.loop&&!O&&(O=l[0]),T=OA(b,`.${o.slideClass}, swiper-slide`)[0],o.loop&&!T===0&&(T=l[l.length-1]))),l.forEach(R=>{Vw(R,R===b,o.slideActiveClass),Vw(R,R===O,o.slideNextClass),Vw(R,R===T,o.slidePrevClass)}),i.emitSlidesClasses()}const Gg=(i,l)=>{if(!i||i.destroyed||!i.params)return;const o=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,c=l.closest(o());if(c){let p=c.querySelector(`.${i.params.lazyPreloaderClass}`);!p&&i.isElement&&(c.shadowRoot?p=c.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{c.shadowRoot&&(p=c.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`),p&&p.remove())})),p&&p.remove()}},$w=(i,l)=>{if(!i.slides[l])return;const o=i.slides[l].querySelector('[loading="lazy"]');o&&o.removeAttribute("loading")},pb=i=>{if(!i||i.destroyed||!i.params)return;let l=i.params.lazyPreloadPrevNext;const o=i.slides.length;if(!o||!l||l<0)return;l=Math.min(l,o);const c=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),p=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){const m=p,w=[m-l];w.push(...Array.from({length:l}).map((b,T)=>m+c+T)),i.slides.forEach((b,T)=>{w.includes(b.column)&&$w(i,T)});return}const h=p+c-1;if(i.params.rewind||i.params.loop)for(let m=p-l;m<=h+l;m+=1){const w=(m%o+o)%o;(w<p||w>h)&&$w(i,w)}else for(let m=Math.max(p-l,0);m<=Math.min(h+l,o-1);m+=1)m!==p&&(m>h||m<p)&&$w(i,m)};function VA(i){const{slidesGrid:l,params:o}=i,c=i.rtlTranslate?i.translate:-i.translate;let p;for(let h=0;h<l.length;h+=1)typeof l[h+1]<"u"?c>=l[h]&&c<l[h+1]-(l[h+1]-l[h])/2?p=h:c>=l[h]&&c<l[h+1]&&(p=h+1):c>=l[h]&&(p=h);return o.normalizeSlideIndex&&(p<0||typeof p>"u")&&(p=0),p}function $A(i){const l=this,o=l.rtlTranslate?l.translate:-l.translate,{snapGrid:c,params:p,activeIndex:h,realIndex:m,snapIndex:w}=l;let b=i,T;const O=L=>{let M=L-l.virtual.slidesBefore;return M<0&&(M=l.virtual.slides.length+M),M>=l.virtual.slides.length&&(M-=l.virtual.slides.length),M};if(typeof b>"u"&&(b=VA(l)),c.indexOf(o)>=0)T=c.indexOf(o);else{const L=Math.min(p.slidesPerGroupSkip,b);T=L+Math.floor((b-L)/p.slidesPerGroup)}if(T>=c.length&&(T=c.length-1),b===h&&!l.params.loop){T!==w&&(l.snapIndex=T,l.emit("snapIndexChange"));return}if(b===h&&l.params.loop&&l.virtual&&l.params.virtual.enabled){l.realIndex=O(b);return}const R=l.grid&&p.grid&&p.grid.rows>1;let D;if(l.virtual&&p.virtual.enabled&&p.loop)D=O(b);else if(R){const L=l.slides.find(U=>U.column===b);let M=parseInt(L.getAttribute("data-swiper-slide-index"),10);Number.isNaN(M)&&(M=Math.max(l.slides.indexOf(L),0)),D=Math.floor(M/p.grid.rows)}else if(l.slides[b]){const L=l.slides[b].getAttribute("data-swiper-slide-index");L?D=parseInt(L,10):D=b}else D=b;Object.assign(l,{previousSnapIndex:w,snapIndex:T,previousRealIndex:m,realIndex:D,previousIndex:h,activeIndex:b}),l.initialized&&pb(l),l.emit("activeIndexChange"),l.emit("snapIndexChange"),(l.initialized||l.params.runCallbacksOnInit)&&(m!==D&&l.emit("realIndexChange"),l.emit("slideChange"))}function WA(i,l){const o=this,c=o.params;let p=i.closest(`.${c.slideClass}, swiper-slide`);!p&&o.isElement&&l&&l.length>1&&l.includes(i)&&[...l.slice(l.indexOf(i)+1,l.length)].forEach(w=>{!p&&w.matches&&w.matches(`.${c.slideClass}, swiper-slide`)&&(p=w)});let h=!1,m;if(p){for(let w=0;w<o.slides.length;w+=1)if(o.slides[w]===p){h=!0,m=w;break}}if(p&&h)o.clickedSlide=p,o.virtual&&o.params.virtual.enabled?o.clickedIndex=parseInt(p.getAttribute("data-swiper-slide-index"),10):o.clickedIndex=m;else{o.clickedSlide=void 0,o.clickedIndex=void 0;return}c.slideToClickedSlide&&o.clickedIndex!==void 0&&o.clickedIndex!==o.activeIndex&&o.slideToClickedSlide()}var GA={updateSize:PA,updateSlides:jA,updateAutoHeight:UA,updateSlidesOffset:FA,updateSlidesProgress:IA,updateProgress:HA,updateSlidesClasses:BA,updateActiveIndex:$A,updateClickedSlide:WA};function YA(i){i===void 0&&(i=this.isHorizontal()?"x":"y");const l=this,{params:o,rtlTranslate:c,translate:p,wrapperEl:h}=l;if(o.virtualTranslate)return c?-p:p;if(o.cssMode)return p;let m=TA(h,i);return m+=l.cssOverflowAdjustment(),c&&(m=-m),m||0}function qA(i,l){const o=this,{rtlTranslate:c,params:p,wrapperEl:h,progress:m}=o;let w=0,b=0;const T=0;o.isHorizontal()?w=c?-i:i:b=i,p.roundLengths&&(w=Math.floor(w),b=Math.floor(b)),o.previousTranslate=o.translate,o.translate=o.isHorizontal()?w:b,p.cssMode?h[o.isHorizontal()?"scrollLeft":"scrollTop"]=o.isHorizontal()?-w:-b:p.virtualTranslate||(o.isHorizontal()?w-=o.cssOverflowAdjustment():b-=o.cssOverflowAdjustment(),h.style.transform=`translate3d(${w}px, ${b}px, ${T}px)`);let O;const R=o.maxTranslate()-o.minTranslate();R===0?O=0:O=(i-o.minTranslate())/R,O!==m&&o.updateProgress(i),o.emit("setTranslate",o.translate,l)}function QA(){return-this.snapGrid[0]}function XA(){return-this.snapGrid[this.snapGrid.length-1]}function KA(i,l,o,c,p){i===void 0&&(i=0),l===void 0&&(l=this.params.speed),o===void 0&&(o=!0),c===void 0&&(c=!0);const h=this,{params:m,wrapperEl:w}=h;if(h.animating&&m.preventInteractionOnTransition)return!1;const b=h.minTranslate(),T=h.maxTranslate();let O;if(c&&i>b?O=b:c&&i<T?O=T:O=i,h.updateProgress(O),m.cssMode){const R=h.isHorizontal();if(l===0)w[R?"scrollLeft":"scrollTop"]=-O;else{if(!h.support.smoothScroll)return J1({swiper:h,targetPosition:-O,side:R?"left":"top"}),!0;w.scrollTo({[R?"left":"top"]:-O,behavior:"smooth"})}return!0}return l===0?(h.setTransition(0),h.setTranslate(O),o&&(h.emit("beforeTransitionStart",l,p),h.emit("transitionEnd"))):(h.setTransition(l),h.setTranslate(O),o&&(h.emit("beforeTransitionStart",l,p),h.emit("transitionStart")),h.animating||(h.animating=!0,h.onTranslateToWrapperTransitionEnd||(h.onTranslateToWrapperTransitionEnd=function(D){!h||h.destroyed||D.target===this&&(h.wrapperEl.removeEventListener("transitionend",h.onTranslateToWrapperTransitionEnd),h.onTranslateToWrapperTransitionEnd=null,delete h.onTranslateToWrapperTransitionEnd,h.animating=!1,o&&h.emit("transitionEnd"))}),h.wrapperEl.addEventListener("transitionend",h.onTranslateToWrapperTransitionEnd))),!0}var ZA={getTranslate:YA,setTranslate:qA,minTranslate:QA,maxTranslate:XA,translateTo:KA};function JA(i,l){const o=this;o.params.cssMode||(o.wrapperEl.style.transitionDuration=`${i}ms`,o.wrapperEl.style.transitionDelay=i===0?"0ms":""),o.emit("setTransition",i,l)}function rR(i){let{swiper:l,runCallbacks:o,direction:c,step:p}=i;const{activeIndex:h,previousIndex:m}=l;let w=c;w||(h>m?w="next":h<m?w="prev":w="reset"),l.emit(`transition${p}`),o&&w==="reset"?l.emit(`slideResetTransition${p}`):o&&h!==m&&(l.emit(`slideChangeTransition${p}`),w==="next"?l.emit(`slideNextTransition${p}`):l.emit(`slidePrevTransition${p}`))}function eP(i,l){i===void 0&&(i=!0);const o=this,{params:c}=o;c.cssMode||(c.autoHeight&&o.updateAutoHeight(),rR({swiper:o,runCallbacks:i,direction:l,step:"Start"}))}function tP(i,l){i===void 0&&(i=!0);const o=this,{params:c}=o;o.animating=!1,!c.cssMode&&(o.setTransition(0),rR({swiper:o,runCallbacks:i,direction:l,step:"End"}))}var nP={setTransition:JA,transitionStart:eP,transitionEnd:tP};function rP(i,l,o,c,p){i===void 0&&(i=0),o===void 0&&(o=!0),typeof i=="string"&&(i=parseInt(i,10));const h=this;let m=i;m<0&&(m=0);const{params:w,snapGrid:b,slidesGrid:T,previousIndex:O,activeIndex:R,rtlTranslate:D,wrapperEl:L,enabled:M}=h;if(!M&&!c&&!p||h.destroyed||h.animating&&w.preventInteractionOnTransition)return!1;typeof l>"u"&&(l=h.params.speed);const U=Math.min(h.params.slidesPerGroupSkip,m);let P=U+Math.floor((m-U)/h.params.slidesPerGroup);P>=b.length&&(P=b.length-1);const N=-b[P];if(w.normalizeSlideIndex)for(let le=0;le<T.length;le+=1){const ve=-Math.floor(N*100),ee=Math.floor(T[le]*100),J=Math.floor(T[le+1]*100);typeof T[le+1]<"u"?ve>=ee&&ve<J-(J-ee)/2?m=le:ve>=ee&&ve<J&&(m=le+1):ve>=ee&&(m=le)}if(h.initialized&&m!==R&&(!h.allowSlideNext&&(D?N>h.translate&&N>h.minTranslate():N<h.translate&&N<h.minTranslate())||!h.allowSlidePrev&&N>h.translate&&N>h.maxTranslate()&&(R||0)!==m))return!1;m!==(O||0)&&o&&h.emit("beforeSlideChangeStart"),h.updateProgress(N);let z;m>R?z="next":m<R?z="prev":z="reset";const j=h.virtual&&h.params.virtual.enabled;if(!(j&&p)&&(D&&-N===h.translate||!D&&N===h.translate))return h.updateActiveIndex(m),w.autoHeight&&h.updateAutoHeight(),h.updateSlidesClasses(),w.effect!=="slide"&&h.setTranslate(N),z!=="reset"&&(h.transitionStart(o,z),h.transitionEnd(o,z)),!1;if(w.cssMode){const le=h.isHorizontal(),ve=D?N:-N;if(l===0)j&&(h.wrapperEl.style.scrollSnapType="none",h._immediateVirtual=!0),j&&!h._cssModeVirtualInitialSet&&h.params.initialSlide>0?(h._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{L[le?"scrollLeft":"scrollTop"]=ve})):L[le?"scrollLeft":"scrollTop"]=ve,j&&requestAnimationFrame(()=>{h.wrapperEl.style.scrollSnapType="",h._immediateVirtual=!1});else{if(!h.support.smoothScroll)return J1({swiper:h,targetPosition:ve,side:le?"left":"top"}),!0;L.scrollTo({[le?"left":"top"]:ve,behavior:"smooth"})}return!0}const se=nR().isSafari;return j&&!p&&se&&h.isElement&&h.virtual.update(!1,!1,m),h.setTransition(l),h.setTranslate(N),h.updateActiveIndex(m),h.updateSlidesClasses(),h.emit("beforeTransitionStart",l,c),h.transitionStart(o,z),l===0?h.transitionEnd(o,z):h.animating||(h.animating=!0,h.onSlideToWrapperTransitionEnd||(h.onSlideToWrapperTransitionEnd=function(ve){!h||h.destroyed||ve.target===this&&(h.wrapperEl.removeEventListener("transitionend",h.onSlideToWrapperTransitionEnd),h.onSlideToWrapperTransitionEnd=null,delete h.onSlideToWrapperTransitionEnd,h.transitionEnd(o,z))}),h.wrapperEl.addEventListener("transitionend",h.onSlideToWrapperTransitionEnd)),!0}function aP(i,l,o,c){i===void 0&&(i=0),o===void 0&&(o=!0),typeof i=="string"&&(i=parseInt(i,10));const p=this;if(p.destroyed)return;typeof l>"u"&&(l=p.params.speed);const h=p.grid&&p.params.grid&&p.params.grid.rows>1;let m=i;if(p.params.loop)if(p.virtual&&p.params.virtual.enabled)m=m+p.virtual.slidesBefore;else{let w;if(h){const D=m*p.params.grid.rows;w=p.slides.find(L=>L.getAttribute("data-swiper-slide-index")*1===D).column}else w=p.getSlideIndexByData(m);const b=h?Math.ceil(p.slides.length/p.params.grid.rows):p.slides.length,{centeredSlides:T}=p.params;let O=p.params.slidesPerView;O==="auto"?O=p.slidesPerViewDynamic():(O=Math.ceil(parseFloat(p.params.slidesPerView,10)),T&&O%2===0&&(O=O+1));let R=b-w<O;if(T&&(R=R||w<Math.ceil(O/2)),c&&T&&p.params.slidesPerView!=="auto"&&!h&&(R=!1),R){const D=T?w<p.activeIndex?"prev":"next":w-p.activeIndex-1<p.params.slidesPerView?"next":"prev";p.loopFix({direction:D,slideTo:!0,activeSlideIndex:D==="next"?w+1:w-b+1,slideRealIndex:D==="next"?p.realIndex:void 0})}if(h){const D=m*p.params.grid.rows;m=p.slides.find(L=>L.getAttribute("data-swiper-slide-index")*1===D).column}else m=p.getSlideIndexByData(m)}return requestAnimationFrame(()=>{p.slideTo(m,l,o,c)}),p}function iP(i,l,o){l===void 0&&(l=!0);const c=this,{enabled:p,params:h,animating:m}=c;if(!p||c.destroyed)return c;typeof i>"u"&&(i=c.params.speed);let w=h.slidesPerGroup;h.slidesPerView==="auto"&&h.slidesPerGroup===1&&h.slidesPerGroupAuto&&(w=Math.max(c.slidesPerViewDynamic("current",!0),1));const b=c.activeIndex<h.slidesPerGroupSkip?1:w,T=c.virtual&&h.virtual.enabled;if(h.loop){if(m&&!T&&h.loopPreventsSliding)return!1;if(c.loopFix({direction:"next"}),c._clientLeft=c.wrapperEl.clientLeft,c.activeIndex===c.slides.length-1&&h.cssMode)return requestAnimationFrame(()=>{c.slideTo(c.activeIndex+b,i,l,o)}),!0}return h.rewind&&c.isEnd?c.slideTo(0,i,l,o):c.slideTo(c.activeIndex+b,i,l,o)}function lP(i,l,o){l===void 0&&(l=!0);const c=this,{params:p,snapGrid:h,slidesGrid:m,rtlTranslate:w,enabled:b,animating:T}=c;if(!b||c.destroyed)return c;typeof i>"u"&&(i=c.params.speed);const O=c.virtual&&p.virtual.enabled;if(p.loop){if(T&&!O&&p.loopPreventsSliding)return!1;c.loopFix({direction:"prev"}),c._clientLeft=c.wrapperEl.clientLeft}const R=w?c.translate:-c.translate;function D(z){return z<0?-Math.floor(Math.abs(z)):Math.floor(z)}const L=D(R),M=h.map(z=>D(z)),U=p.freeMode&&p.freeMode.enabled;let P=h[M.indexOf(L)-1];if(typeof P>"u"&&(p.cssMode||U)){let z;h.forEach((j,q)=>{L>=j&&(z=q)}),typeof z<"u"&&(P=U?h[z]:h[z>0?z-1:z])}let N=0;if(typeof P<"u"&&(N=m.indexOf(P),N<0&&(N=c.activeIndex-1),p.slidesPerView==="auto"&&p.slidesPerGroup===1&&p.slidesPerGroupAuto&&(N=N-c.slidesPerViewDynamic("previous",!0)+1,N=Math.max(N,0))),p.rewind&&c.isBeginning){const z=c.params.virtual&&c.params.virtual.enabled&&c.virtual?c.virtual.slides.length-1:c.slides.length-1;return c.slideTo(z,i,l,o)}else if(p.loop&&c.activeIndex===0&&p.cssMode)return requestAnimationFrame(()=>{c.slideTo(N,i,l,o)}),!0;return c.slideTo(N,i,l,o)}function oP(i,l,o){l===void 0&&(l=!0);const c=this;if(!c.destroyed)return typeof i>"u"&&(i=c.params.speed),c.slideTo(c.activeIndex,i,l,o)}function uP(i,l,o,c){l===void 0&&(l=!0),c===void 0&&(c=.5);const p=this;if(p.destroyed)return;typeof i>"u"&&(i=p.params.speed);let h=p.activeIndex;const m=Math.min(p.params.slidesPerGroupSkip,h),w=m+Math.floor((h-m)/p.params.slidesPerGroup),b=p.rtlTranslate?p.translate:-p.translate;if(b>=p.snapGrid[w]){const T=p.snapGrid[w],O=p.snapGrid[w+1];b-T>(O-T)*c&&(h+=p.params.slidesPerGroup)}else{const T=p.snapGrid[w-1],O=p.snapGrid[w];b-T<=(O-T)*c&&(h-=p.params.slidesPerGroup)}return h=Math.max(h,0),h=Math.min(h,p.slidesGrid.length-1),p.slideTo(h,i,l,o)}function sP(){const i=this;if(i.destroyed)return;const{params:l,slidesEl:o}=i,c=l.slidesPerView==="auto"?i.slidesPerViewDynamic():l.slidesPerView;let p=i.clickedIndex,h;const m=i.isElement?"swiper-slide":`.${l.slideClass}`;if(l.loop){if(i.animating)return;h=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),l.centeredSlides?p<i.loopedSlides-c/2||p>i.slides.length-i.loopedSlides+c/2?(i.loopFix(),p=i.getSlideIndex(Mo(o,`${m}[data-swiper-slide-index="${h}"]`)[0]),fb(()=>{i.slideTo(p)})):i.slideTo(p):p>i.slides.length-c?(i.loopFix(),p=i.getSlideIndex(Mo(o,`${m}[data-swiper-slide-index="${h}"]`)[0]),fb(()=>{i.slideTo(p)})):i.slideTo(p)}else i.slideTo(p)}var cP={slideTo:rP,slideToLoop:aP,slideNext:iP,slidePrev:lP,slideReset:oP,slideToClosest:uP,slideToClickedSlide:sP};function fP(i,l){const o=this,{params:c,slidesEl:p}=o;if(!c.loop||o.virtual&&o.params.virtual.enabled)return;const h=()=>{Mo(p,`.${c.slideClass}, swiper-slide`).forEach((D,L)=>{D.setAttribute("data-swiper-slide-index",L)})},m=o.grid&&c.grid&&c.grid.rows>1,w=c.slidesPerGroup*(m?c.grid.rows:1),b=o.slides.length%w!==0,T=m&&o.slides.length%c.grid.rows!==0,O=R=>{for(let D=0;D<R;D+=1){const L=o.isElement?db("swiper-slide",[c.slideBlankClass]):db("div",[c.slideClass,c.slideBlankClass]);o.slidesEl.append(L)}};if(b){if(c.loopAddBlankSlides){const R=w-o.slides.length%w;O(R),o.recalcSlides(),o.updateSlides()}else ny("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");h()}else if(T){if(c.loopAddBlankSlides){const R=c.grid.rows-o.slides.length%c.grid.rows;O(R),o.recalcSlides(),o.updateSlides()}else ny("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");h()}else h();o.loopFix({slideRealIndex:i,direction:c.centeredSlides?void 0:"next",initial:l})}function dP(i){let{slideRealIndex:l,slideTo:o=!0,direction:c,setTranslate:p,activeSlideIndex:h,initial:m,byController:w,byMousewheel:b}=i===void 0?{}:i;const T=this;if(!T.params.loop)return;T.emit("beforeLoopFix");const{slides:O,allowSlidePrev:R,allowSlideNext:D,slidesEl:L,params:M}=T,{centeredSlides:U,initialSlide:P}=M;if(T.allowSlidePrev=!0,T.allowSlideNext=!0,T.virtual&&M.virtual.enabled){o&&(!M.centeredSlides&&T.snapIndex===0?T.slideTo(T.virtual.slides.length,0,!1,!0):M.centeredSlides&&T.snapIndex<M.slidesPerView?T.slideTo(T.virtual.slides.length+T.snapIndex,0,!1,!0):T.snapIndex===T.snapGrid.length-1&&T.slideTo(T.virtual.slidesBefore,0,!1,!0)),T.allowSlidePrev=R,T.allowSlideNext=D,T.emit("loopFix");return}let N=M.slidesPerView;N==="auto"?N=T.slidesPerViewDynamic():(N=Math.ceil(parseFloat(M.slidesPerView,10)),U&&N%2===0&&(N=N+1));const z=M.slidesPerGroupAuto?N:M.slidesPerGroup;let j=z;j%z!==0&&(j+=z-j%z),j+=M.loopAdditionalSlides,T.loopedSlides=j;const q=T.grid&&M.grid&&M.grid.rows>1;O.length<N+j||T.params.effect==="cards"&&O.length<N+j*2?ny("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):q&&M.grid.fill==="row"&&ny("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const $=[],se=[],le=q?Math.ceil(O.length/M.grid.rows):O.length,ve=m&&le-P<N&&!U;let ee=ve?P:T.activeIndex;typeof h>"u"?h=T.getSlideIndex(O.find(be=>be.classList.contains(M.slideActiveClass))):ee=h;const J=c==="next"||!c,re=c==="prev"||!c;let oe=0,we=0;const Ge=(q?O[h].column:h)+(U&&typeof p>"u"?-N/2+.5:0);if(Ge<j){oe=Math.max(j-Ge,z);for(let be=0;be<j-Ge;be+=1){const $e=be-Math.floor(be/le)*le;if(q){const ue=le-$e-1;for(let Se=O.length-1;Se>=0;Se-=1)O[Se].column===ue&&$.push(Se)}else $.push(le-$e-1)}}else if(Ge+N>le-j){we=Math.max(Ge-(le-j*2),z),ve&&(we=Math.max(we,N-le+P+1));for(let be=0;be<we;be+=1){const $e=be-Math.floor(be/le)*le;q?O.forEach((ue,Se)=>{ue.column===$e&&se.push(Se)}):se.push($e)}}if(T.__preventObserver__=!0,requestAnimationFrame(()=>{T.__preventObserver__=!1}),T.params.effect==="cards"&&O.length<N+j*2&&(se.includes(h)&&se.splice(se.indexOf(h),1),$.includes(h)&&$.splice($.indexOf(h),1)),re&&$.forEach(be=>{O[be].swiperLoopMoveDOM=!0,L.prepend(O[be]),O[be].swiperLoopMoveDOM=!1}),J&&se.forEach(be=>{O[be].swiperLoopMoveDOM=!0,L.append(O[be]),O[be].swiperLoopMoveDOM=!1}),T.recalcSlides(),M.slidesPerView==="auto"?T.updateSlides():q&&($.length>0&&re||se.length>0&&J)&&T.slides.forEach((be,$e)=>{T.grid.updateSlide($e,be,T.slides)}),M.watchSlidesProgress&&T.updateSlidesOffset(),o){if($.length>0&&re){if(typeof l>"u"){const be=T.slidesGrid[ee],ue=T.slidesGrid[ee+oe]-be;b?T.setTranslate(T.translate-ue):(T.slideTo(ee+Math.ceil(oe),0,!1,!0),p&&(T.touchEventsData.startTranslate=T.touchEventsData.startTranslate-ue,T.touchEventsData.currentTranslate=T.touchEventsData.currentTranslate-ue))}else if(p){const be=q?$.length/M.grid.rows:$.length;T.slideTo(T.activeIndex+be,0,!1,!0),T.touchEventsData.currentTranslate=T.translate}}else if(se.length>0&&J)if(typeof l>"u"){const be=T.slidesGrid[ee],ue=T.slidesGrid[ee-we]-be;b?T.setTranslate(T.translate-ue):(T.slideTo(ee-we,0,!1,!0),p&&(T.touchEventsData.startTranslate=T.touchEventsData.startTranslate-ue,T.touchEventsData.currentTranslate=T.touchEventsData.currentTranslate-ue))}else{const be=q?se.length/M.grid.rows:se.length;T.slideTo(T.activeIndex-be,0,!1,!0)}}if(T.allowSlidePrev=R,T.allowSlideNext=D,T.controller&&T.controller.control&&!w){const be={slideRealIndex:l,direction:c,setTranslate:p,activeSlideIndex:h,byController:!0};Array.isArray(T.controller.control)?T.controller.control.forEach($e=>{!$e.destroyed&&$e.params.loop&&$e.loopFix({...be,slideTo:$e.params.slidesPerView===M.slidesPerView?o:!1})}):T.controller.control instanceof T.constructor&&T.controller.control.params.loop&&T.controller.control.loopFix({...be,slideTo:T.controller.control.params.slidesPerView===M.slidesPerView?o:!1})}T.emit("loopFix")}function pP(){const i=this,{params:l,slidesEl:o}=i;if(!l.loop||!o||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();const c=[];i.slides.forEach(p=>{const h=typeof p.swiperSlideIndex>"u"?p.getAttribute("data-swiper-slide-index")*1:p.swiperSlideIndex;c[h]=p}),i.slides.forEach(p=>{p.removeAttribute("data-swiper-slide-index")}),c.forEach(p=>{o.append(p)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}var vP={loopCreate:fP,loopFix:dP,loopDestroy:pP};function hP(i){const l=this;if(!l.params.simulateTouch||l.params.watchOverflow&&l.isLocked||l.params.cssMode)return;const o=l.params.touchEventsTarget==="container"?l.el:l.wrapperEl;l.isElement&&(l.__preventObserver__=!0),o.style.cursor="move",o.style.cursor=i?"grabbing":"grab",l.isElement&&requestAnimationFrame(()=>{l.__preventObserver__=!1})}function mP(){const i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}var gP={setGrabCursor:hP,unsetGrabCursor:mP};function yP(i,l){l===void 0&&(l=this);function o(c){if(!c||c===fc()||c===da())return null;c.assignedSlot&&(c=c.assignedSlot);const p=c.closest(i);return!p&&!c.getRootNode?null:p||o(c.getRootNode().host)}return o(l)}function i1(i,l,o){const c=da(),{params:p}=i,h=p.edgeSwipeDetection,m=p.edgeSwipeThreshold;return h&&(o<=m||o>=c.innerWidth-m)?h==="prevent"?(l.preventDefault(),!0):!1:!0}function SP(i){const l=this,o=fc();let c=i;c.originalEvent&&(c=c.originalEvent);const p=l.touchEventsData;if(c.type==="pointerdown"){if(p.pointerId!==null&&p.pointerId!==c.pointerId)return;p.pointerId=c.pointerId}else c.type==="touchstart"&&c.targetTouches.length===1&&(p.touchId=c.targetTouches[0].identifier);if(c.type==="touchstart"){i1(l,c,c.targetTouches[0].pageX);return}const{params:h,touches:m,enabled:w}=l;if(!w||!h.simulateTouch&&c.pointerType==="mouse"||l.animating&&h.preventInteractionOnTransition)return;!l.animating&&h.cssMode&&h.loop&&l.loopFix();let b=c.target;if(h.touchEventsTarget==="wrapper"&&!RA(b,l.wrapperEl)||"which"in c&&c.which===3||"button"in c&&c.button>0||p.isTouched&&p.isMoved)return;const T=!!h.noSwipingClass&&h.noSwipingClass!=="",O=c.composedPath?c.composedPath():c.path;T&&c.target&&c.target.shadowRoot&&O&&(b=O[0]);const R=h.noSwipingSelector?h.noSwipingSelector:`.${h.noSwipingClass}`,D=!!(c.target&&c.target.shadowRoot);if(h.noSwiping&&(D?yP(R,b):b.closest(R))){l.allowClick=!0;return}if(h.swipeHandler&&!b.closest(h.swipeHandler))return;m.currentX=c.pageX,m.currentY=c.pageY;const L=m.currentX,M=m.currentY;if(!i1(l,c,L))return;Object.assign(p,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),m.startX=L,m.startY=M,p.touchStartTime=ty(),l.allowClick=!0,l.updateSize(),l.swipeDirection=void 0,h.threshold>0&&(p.allowThresholdMove=!1);let U=!0;b.matches(p.focusableElements)&&(U=!1,b.nodeName==="SELECT"&&(p.isTouched=!1)),o.activeElement&&o.activeElement.matches(p.focusableElements)&&o.activeElement!==b&&(c.pointerType==="mouse"||c.pointerType!=="mouse"&&!b.matches(p.focusableElements))&&o.activeElement.blur();const P=U&&l.allowTouchMove&&h.touchStartPreventDefault;(h.touchStartForcePreventDefault||P)&&!b.isContentEditable&&c.preventDefault(),h.freeMode&&h.freeMode.enabled&&l.freeMode&&l.animating&&!h.cssMode&&l.freeMode.onTouchStart(),l.emit("touchStart",c)}function wP(i){const l=fc(),o=this,c=o.touchEventsData,{params:p,touches:h,rtlTranslate:m,enabled:w}=o;if(!w||!p.simulateTouch&&i.pointerType==="mouse")return;let b=i;if(b.originalEvent&&(b=b.originalEvent),b.type==="pointermove"&&(c.touchId!==null||b.pointerId!==c.pointerId))return;let T;if(b.type==="touchmove"){if(T=[...b.changedTouches].find($=>$.identifier===c.touchId),!T||T.identifier!==c.touchId)return}else T=b;if(!c.isTouched){c.startMoving&&c.isScrolling&&o.emit("touchMoveOpposite",b);return}const O=T.pageX,R=T.pageY;if(b.preventedByNestedSwiper){h.startX=O,h.startY=R;return}if(!o.allowTouchMove){b.target.matches(c.focusableElements)||(o.allowClick=!1),c.isTouched&&(Object.assign(h,{startX:O,startY:R,currentX:O,currentY:R}),c.touchStartTime=ty());return}if(p.touchReleaseOnEdges&&!p.loop)if(o.isVertical()){if(R<h.startY&&o.translate<=o.maxTranslate()||R>h.startY&&o.translate>=o.minTranslate()){c.isTouched=!1,c.isMoved=!1;return}}else{if(m&&(O>h.startX&&-o.translate<=o.maxTranslate()||O<h.startX&&-o.translate>=o.minTranslate()))return;if(!m&&(O<h.startX&&o.translate<=o.maxTranslate()||O>h.startX&&o.translate>=o.minTranslate()))return}if(l.activeElement&&l.activeElement.matches(c.focusableElements)&&l.activeElement!==b.target&&b.pointerType!=="mouse"&&l.activeElement.blur(),l.activeElement&&b.target===l.activeElement&&b.target.matches(c.focusableElements)){c.isMoved=!0,o.allowClick=!1;return}c.allowTouchCallbacks&&o.emit("touchMove",b),h.previousX=h.currentX,h.previousY=h.currentY,h.currentX=O,h.currentY=R;const D=h.currentX-h.startX,L=h.currentY-h.startY;if(o.params.threshold&&Math.sqrt(D**2+L**2)<o.params.threshold)return;if(typeof c.isScrolling>"u"){let $;o.isHorizontal()&&h.currentY===h.startY||o.isVertical()&&h.currentX===h.startX?c.isScrolling=!1:D*D+L*L>=25&&($=Math.atan2(Math.abs(L),Math.abs(D))*180/Math.PI,c.isScrolling=o.isHorizontal()?$>p.touchAngle:90-$>p.touchAngle)}if(c.isScrolling&&o.emit("touchMoveOpposite",b),typeof c.startMoving>"u"&&(h.currentX!==h.startX||h.currentY!==h.startY)&&(c.startMoving=!0),c.isScrolling||b.type==="touchmove"&&c.preventTouchMoveFromPointerMove){c.isTouched=!1;return}if(!c.startMoving)return;o.allowClick=!1,!p.cssMode&&b.cancelable&&b.preventDefault(),p.touchMoveStopPropagation&&!p.nested&&b.stopPropagation();let M=o.isHorizontal()?D:L,U=o.isHorizontal()?h.currentX-h.previousX:h.currentY-h.previousY;p.oneWayMovement&&(M=Math.abs(M)*(m?1:-1),U=Math.abs(U)*(m?1:-1)),h.diff=M,M*=p.touchRatio,m&&(M=-M,U=-U);const P=o.touchesDirection;o.swipeDirection=M>0?"prev":"next",o.touchesDirection=U>0?"prev":"next";const N=o.params.loop&&!p.cssMode,z=o.touchesDirection==="next"&&o.allowSlideNext||o.touchesDirection==="prev"&&o.allowSlidePrev;if(!c.isMoved){if(N&&z&&o.loopFix({direction:o.swipeDirection}),c.startTranslate=o.getTranslate(),o.setTransition(0),o.animating){const $=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});o.wrapperEl.dispatchEvent($)}c.allowMomentumBounce=!1,p.grabCursor&&(o.allowSlideNext===!0||o.allowSlidePrev===!0)&&o.setGrabCursor(!0),o.emit("sliderFirstMove",b)}if(new Date().getTime(),p._loopSwapReset!==!1&&c.isMoved&&c.allowThresholdMove&&P!==o.touchesDirection&&N&&z&&Math.abs(M)>=1){Object.assign(h,{startX:O,startY:R,currentX:O,currentY:R,startTranslate:c.currentTranslate}),c.loopSwapReset=!0,c.startTranslate=c.currentTranslate;return}o.emit("sliderMove",b),c.isMoved=!0,c.currentTranslate=M+c.startTranslate;let j=!0,q=p.resistanceRatio;if(p.touchReleaseOnEdges&&(q=0),M>0?(N&&z&&c.allowThresholdMove&&c.currentTranslate>(p.centeredSlides?o.minTranslate()-o.slidesSizesGrid[o.activeIndex+1]-(p.slidesPerView!=="auto"&&o.slides.length-p.slidesPerView>=2?o.slidesSizesGrid[o.activeIndex+1]+o.params.spaceBetween:0)-o.params.spaceBetween:o.minTranslate())&&o.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),c.currentTranslate>o.minTranslate()&&(j=!1,p.resistance&&(c.currentTranslate=o.minTranslate()-1+(-o.minTranslate()+c.startTranslate+M)**q))):M<0&&(N&&z&&c.allowThresholdMove&&c.currentTranslate<(p.centeredSlides?o.maxTranslate()+o.slidesSizesGrid[o.slidesSizesGrid.length-1]+o.params.spaceBetween+(p.slidesPerView!=="auto"&&o.slides.length-p.slidesPerView>=2?o.slidesSizesGrid[o.slidesSizesGrid.length-1]+o.params.spaceBetween:0):o.maxTranslate())&&o.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:o.slides.length-(p.slidesPerView==="auto"?o.slidesPerViewDynamic():Math.ceil(parseFloat(p.slidesPerView,10)))}),c.currentTranslate<o.maxTranslate()&&(j=!1,p.resistance&&(c.currentTranslate=o.maxTranslate()+1-(o.maxTranslate()-c.startTranslate-M)**q))),j&&(b.preventedByNestedSwiper=!0),!o.allowSlideNext&&o.swipeDirection==="next"&&c.currentTranslate<c.startTranslate&&(c.currentTranslate=c.startTranslate),!o.allowSlidePrev&&o.swipeDirection==="prev"&&c.currentTranslate>c.startTranslate&&(c.currentTranslate=c.startTranslate),!o.allowSlidePrev&&!o.allowSlideNext&&(c.currentTranslate=c.startTranslate),p.threshold>0)if(Math.abs(M)>p.threshold||c.allowThresholdMove){if(!c.allowThresholdMove){c.allowThresholdMove=!0,h.startX=h.currentX,h.startY=h.currentY,c.currentTranslate=c.startTranslate,h.diff=o.isHorizontal()?h.currentX-h.startX:h.currentY-h.startY;return}}else{c.currentTranslate=c.startTranslate;return}!p.followFinger||p.cssMode||((p.freeMode&&p.freeMode.enabled&&o.freeMode||p.watchSlidesProgress)&&(o.updateActiveIndex(),o.updateSlidesClasses()),p.freeMode&&p.freeMode.enabled&&o.freeMode&&o.freeMode.onTouchMove(),o.updateProgress(c.currentTranslate),o.setTranslate(c.currentTranslate))}function bP(i){const l=this,o=l.touchEventsData;let c=i;c.originalEvent&&(c=c.originalEvent);let p;if(c.type==="touchend"||c.type==="touchcancel"){if(p=[...c.changedTouches].find($=>$.identifier===o.touchId),!p||p.identifier!==o.touchId)return}else{if(o.touchId!==null||c.pointerId!==o.pointerId)return;p=c}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(c.type)&&!(["pointercancel","contextmenu"].includes(c.type)&&(l.browser.isSafari||l.browser.isWebView)))return;o.pointerId=null,o.touchId=null;const{params:m,touches:w,rtlTranslate:b,slidesGrid:T,enabled:O}=l;if(!O||!m.simulateTouch&&c.pointerType==="mouse")return;if(o.allowTouchCallbacks&&l.emit("touchEnd",c),o.allowTouchCallbacks=!1,!o.isTouched){o.isMoved&&m.grabCursor&&l.setGrabCursor(!1),o.isMoved=!1,o.startMoving=!1;return}m.grabCursor&&o.isMoved&&o.isTouched&&(l.allowSlideNext===!0||l.allowSlidePrev===!0)&&l.setGrabCursor(!1);const R=ty(),D=R-o.touchStartTime;if(l.allowClick){const $=c.path||c.composedPath&&c.composedPath();l.updateClickedSlide($&&$[0]||c.target,$),l.emit("tap click",c),D<300&&R-o.lastClickTime<300&&l.emit("doubleTap doubleClick",c)}if(o.lastClickTime=ty(),fb(()=>{l.destroyed||(l.allowClick=!0)}),!o.isTouched||!o.isMoved||!l.swipeDirection||w.diff===0&&!o.loopSwapReset||o.currentTranslate===o.startTranslate&&!o.loopSwapReset){o.isTouched=!1,o.isMoved=!1,o.startMoving=!1;return}o.isTouched=!1,o.isMoved=!1,o.startMoving=!1;let L;if(m.followFinger?L=b?l.translate:-l.translate:L=-o.currentTranslate,m.cssMode)return;if(m.freeMode&&m.freeMode.enabled){l.freeMode.onTouchEnd({currentPos:L});return}const M=L>=-l.maxTranslate()&&!l.params.loop;let U=0,P=l.slidesSizesGrid[0];for(let $=0;$<T.length;$+=$<m.slidesPerGroupSkip?1:m.slidesPerGroup){const se=$<m.slidesPerGroupSkip-1?1:m.slidesPerGroup;typeof T[$+se]<"u"?(M||L>=T[$]&&L<T[$+se])&&(U=$,P=T[$+se]-T[$]):(M||L>=T[$])&&(U=$,P=T[T.length-1]-T[T.length-2])}let N=null,z=null;m.rewind&&(l.isBeginning?z=m.virtual&&m.virtual.enabled&&l.virtual?l.virtual.slides.length-1:l.slides.length-1:l.isEnd&&(N=0));const j=(L-T[U])/P,q=U<m.slidesPerGroupSkip-1?1:m.slidesPerGroup;if(D>m.longSwipesMs){if(!m.longSwipes){l.slideTo(l.activeIndex);return}l.swipeDirection==="next"&&(j>=m.longSwipesRatio?l.slideTo(m.rewind&&l.isEnd?N:U+q):l.slideTo(U)),l.swipeDirection==="prev"&&(j>1-m.longSwipesRatio?l.slideTo(U+q):z!==null&&j<0&&Math.abs(j)>m.longSwipesRatio?l.slideTo(z):l.slideTo(U))}else{if(!m.shortSwipes){l.slideTo(l.activeIndex);return}l.navigation&&(c.target===l.navigation.nextEl||c.target===l.navigation.prevEl)?c.target===l.navigation.nextEl?l.slideTo(U+q):l.slideTo(U):(l.swipeDirection==="next"&&l.slideTo(N!==null?N:U+q),l.swipeDirection==="prev"&&l.slideTo(z!==null?z:U))}}function l1(){const i=this,{params:l,el:o}=i;if(o&&o.offsetWidth===0)return;l.breakpoints&&i.setBreakpoint();const{allowSlideNext:c,allowSlidePrev:p,snapGrid:h}=i,m=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();const w=m&&l.loop;(l.slidesPerView==="auto"||l.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!w?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!m?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=p,i.allowSlideNext=c,i.params.watchOverflow&&h!==i.snapGrid&&i.checkOverflow()}function EP(i){const l=this;l.enabled&&(l.allowClick||(l.params.preventClicks&&i.preventDefault(),l.params.preventClicksPropagation&&l.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function TP(){const i=this,{wrapperEl:l,rtlTranslate:o,enabled:c}=i;if(!c)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-l.scrollLeft:i.translate=-l.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let p;const h=i.maxTranslate()-i.minTranslate();h===0?p=0:p=(i.translate-i.minTranslate())/h,p!==i.progress&&i.updateProgress(o?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function CP(i){const l=this;Gg(l,i.target),!(l.params.cssMode||l.params.slidesPerView!=="auto"&&!l.params.autoHeight)&&l.update()}function xP(){const i=this;i.documentTouchHandlerProceeded||(i.documentTouchHandlerProceeded=!0,i.params.touchReleaseOnEdges&&(i.el.style.touchAction="auto"))}const aR=(i,l)=>{const o=fc(),{params:c,el:p,wrapperEl:h,device:m}=i,w=!!c.nested,b=l==="on"?"addEventListener":"removeEventListener",T=l;!p||typeof p=="string"||(o[b]("touchstart",i.onDocumentTouchStart,{passive:!1,capture:w}),p[b]("touchstart",i.onTouchStart,{passive:!1}),p[b]("pointerdown",i.onTouchStart,{passive:!1}),o[b]("touchmove",i.onTouchMove,{passive:!1,capture:w}),o[b]("pointermove",i.onTouchMove,{passive:!1,capture:w}),o[b]("touchend",i.onTouchEnd,{passive:!0}),o[b]("pointerup",i.onTouchEnd,{passive:!0}),o[b]("pointercancel",i.onTouchEnd,{passive:!0}),o[b]("touchcancel",i.onTouchEnd,{passive:!0}),o[b]("pointerout",i.onTouchEnd,{passive:!0}),o[b]("pointerleave",i.onTouchEnd,{passive:!0}),o[b]("contextmenu",i.onTouchEnd,{passive:!0}),(c.preventClicks||c.preventClicksPropagation)&&p[b]("click",i.onClick,!0),c.cssMode&&h[b]("scroll",i.onScroll),c.updateOnWindowResize?i[T](m.ios||m.android?"resize orientationchange observerUpdate":"resize observerUpdate",l1,!0):i[T]("observerUpdate",l1,!0),p[b]("load",i.onLoad,{capture:!0}))};function RP(){const i=this,{params:l}=i;i.onTouchStart=SP.bind(i),i.onTouchMove=wP.bind(i),i.onTouchEnd=bP.bind(i),i.onDocumentTouchStart=xP.bind(i),l.cssMode&&(i.onScroll=TP.bind(i)),i.onClick=EP.bind(i),i.onLoad=CP.bind(i),aR(i,"on")}function OP(){aR(this,"off")}var kP={attachEvents:RP,detachEvents:OP};const o1=(i,l)=>i.grid&&l.grid&&l.grid.rows>1;function DP(){const i=this,{realIndex:l,initialized:o,params:c,el:p}=i,h=c.breakpoints;if(!h||h&&Object.keys(h).length===0)return;const m=fc(),w=c.breakpointsBase==="window"||!c.breakpointsBase?c.breakpointsBase:"container",b=["window","container"].includes(c.breakpointsBase)||!c.breakpointsBase?i.el:m.querySelector(c.breakpointsBase),T=i.getBreakpoint(h,w,b);if(!T||i.currentBreakpoint===T)return;const R=(T in h?h[T]:void 0)||i.originalParams,D=o1(i,c),L=o1(i,R),M=i.params.grabCursor,U=R.grabCursor,P=c.enabled;D&&!L?(p.classList.remove(`${c.containerModifierClass}grid`,`${c.containerModifierClass}grid-column`),i.emitContainerClasses()):!D&&L&&(p.classList.add(`${c.containerModifierClass}grid`),(R.grid.fill&&R.grid.fill==="column"||!R.grid.fill&&c.grid.fill==="column")&&p.classList.add(`${c.containerModifierClass}grid-column`),i.emitContainerClasses()),M&&!U?i.unsetGrabCursor():!M&&U&&i.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(se=>{if(typeof R[se]>"u")return;const le=c[se]&&c[se].enabled,ve=R[se]&&R[se].enabled;le&&!ve&&i[se].disable(),!le&&ve&&i[se].enable()});const N=R.direction&&R.direction!==c.direction,z=c.loop&&(R.slidesPerView!==c.slidesPerView||N),j=c.loop;N&&o&&i.changeDirection(),Wa(i.params,R);const q=i.params.enabled,$=i.params.loop;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),P&&!q?i.disable():!P&&q&&i.enable(),i.currentBreakpoint=T,i.emit("_beforeBreakpoint",R),o&&(z?(i.loopDestroy(),i.loopCreate(l),i.updateSlides()):!j&&$?(i.loopCreate(l),i.updateSlides()):j&&!$&&i.loopDestroy()),i.emit("breakpoint",R)}function _P(i,l,o){if(l===void 0&&(l="window"),!i||l==="container"&&!o)return;let c=!1;const p=da(),h=l==="window"?p.innerHeight:o.clientHeight,m=Object.keys(i).map(w=>{if(typeof w=="string"&&w.indexOf("@")===0){const b=parseFloat(w.substr(1));return{value:h*b,point:w}}return{value:w,point:w}});m.sort((w,b)=>parseInt(w.value,10)-parseInt(b.value,10));for(let w=0;w<m.length;w+=1){const{point:b,value:T}=m[w];l==="window"?p.matchMedia(`(min-width: ${T}px)`).matches&&(c=b):T<=o.clientWidth&&(c=b)}return c||"max"}var MP={setBreakpoint:DP,getBreakpoint:_P};function LP(i,l){const o=[];return i.forEach(c=>{typeof c=="object"?Object.keys(c).forEach(p=>{c[p]&&o.push(l+p)}):typeof c=="string"&&o.push(l+c)}),o}function NP(){const i=this,{classNames:l,params:o,rtl:c,el:p,device:h}=i,m=LP(["initialized",o.direction,{"free-mode":i.params.freeMode&&o.freeMode.enabled},{autoheight:o.autoHeight},{rtl:c},{grid:o.grid&&o.grid.rows>1},{"grid-column":o.grid&&o.grid.rows>1&&o.grid.fill==="column"},{android:h.android},{ios:h.ios},{"css-mode":o.cssMode},{centered:o.cssMode&&o.centeredSlides},{"watch-progress":o.watchSlidesProgress}],o.containerModifierClass);l.push(...m),p.classList.add(...l),i.emitContainerClasses()}function zP(){const i=this,{el:l,classNames:o}=i;!l||typeof l=="string"||(l.classList.remove(...o),i.emitContainerClasses())}var AP={addClasses:NP,removeClasses:zP};function PP(){const i=this,{isLocked:l,params:o}=i,{slidesOffsetBefore:c}=o;if(c){const p=i.slides.length-1,h=i.slidesGrid[p]+i.slidesSizesGrid[p]+c*2;i.isLocked=i.size>h}else i.isLocked=i.snapGrid.length===1;o.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),o.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),l&&l!==i.isLocked&&(i.isEnd=!1),l!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var jP={checkOverflow:PP},vb={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function UP(i,l){return function(c){c===void 0&&(c={});const p=Object.keys(c)[0],h=c[p];if(typeof h!="object"||h===null){Wa(l,c);return}if(i[p]===!0&&(i[p]={enabled:!0}),p==="navigation"&&i[p]&&i[p].enabled&&!i[p].prevEl&&!i[p].nextEl&&(i[p].auto=!0),["pagination","scrollbar"].indexOf(p)>=0&&i[p]&&i[p].enabled&&!i[p].el&&(i[p].auto=!0),!(p in i&&"enabled"in h)){Wa(l,c);return}typeof i[p]=="object"&&!("enabled"in i[p])&&(i[p].enabled=!0),i[p]||(i[p]={enabled:!1}),Wa(l,c)}}const Ww={eventsEmitter:AA,update:GA,translate:ZA,transition:nP,slide:cP,loop:vP,grabCursor:gP,events:kP,breakpoints:MP,checkOverflow:jP,classes:AP},Gw={};let _b=class Do{constructor(){let l,o;for(var c=arguments.length,p=new Array(c),h=0;h<c;h++)p[h]=arguments[h];p.length===1&&p[0].constructor&&Object.prototype.toString.call(p[0]).slice(8,-1)==="Object"?o=p[0]:[l,o]=p,o||(o={}),o=Wa({},o),l&&!o.el&&(o.el=l);const m=fc();if(o.el&&typeof o.el=="string"&&m.querySelectorAll(o.el).length>1){const O=[];return m.querySelectorAll(o.el).forEach(R=>{const D=Wa({},o,{el:R});O.push(new Do(D))}),O}const w=this;w.__swiper__=!0,w.support=eR(),w.device=tR({userAgent:o.userAgent}),w.browser=nR(),w.eventsListeners={},w.eventsAnyListeners=[],w.modules=[...w.__modules__],o.modules&&Array.isArray(o.modules)&&w.modules.push(...o.modules);const b={};w.modules.forEach(O=>{O({params:o,swiper:w,extendParams:UP(o,b),on:w.on.bind(w),once:w.once.bind(w),off:w.off.bind(w),emit:w.emit.bind(w)})});const T=Wa({},vb,b);return w.params=Wa({},T,Gw,o),w.originalParams=Wa({},w.params),w.passedParams=Wa({},o),w.params&&w.params.on&&Object.keys(w.params.on).forEach(O=>{w.on(O,w.params.on[O])}),w.params&&w.params.onAny&&w.onAny(w.params.onAny),Object.assign(w,{enabled:w.params.enabled,el:l,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return w.params.direction==="horizontal"},isVertical(){return w.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:w.params.allowSlideNext,allowSlidePrev:w.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:w.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:w.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),w.emit("_swiper"),w.params.init&&w.init(),w}getDirectionLabel(l){return this.isHorizontal()?l:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[l]}getSlideIndex(l){const{slidesEl:o,params:c}=this,p=Mo(o,`.${c.slideClass}, swiper-slide`),h=t1(p[0]);return t1(l)-h}getSlideIndexByData(l){return this.getSlideIndex(this.slides.find(o=>o.getAttribute("data-swiper-slide-index")*1===l))}recalcSlides(){const l=this,{slidesEl:o,params:c}=l;l.slides=Mo(o,`.${c.slideClass}, swiper-slide`)}enable(){const l=this;l.enabled||(l.enabled=!0,l.params.grabCursor&&l.setGrabCursor(),l.emit("enable"))}disable(){const l=this;l.enabled&&(l.enabled=!1,l.params.grabCursor&&l.unsetGrabCursor(),l.emit("disable"))}setProgress(l,o){const c=this;l=Math.min(Math.max(l,0),1);const p=c.minTranslate(),m=(c.maxTranslate()-p)*l+p;c.translateTo(m,typeof o>"u"?0:o),c.updateActiveIndex(),c.updateSlidesClasses()}emitContainerClasses(){const l=this;if(!l.params._emitClasses||!l.el)return;const o=l.el.className.split(" ").filter(c=>c.indexOf("swiper")===0||c.indexOf(l.params.containerModifierClass)===0);l.emit("_containerClasses",o.join(" "))}getSlideClasses(l){const o=this;return o.destroyed?"":l.className.split(" ").filter(c=>c.indexOf("swiper-slide")===0||c.indexOf(o.params.slideClass)===0).join(" ")}emitSlidesClasses(){const l=this;if(!l.params._emitClasses||!l.el)return;const o=[];l.slides.forEach(c=>{const p=l.getSlideClasses(c);o.push({slideEl:c,classNames:p}),l.emit("_slideClass",c,p)}),l.emit("_slideClasses",o)}slidesPerViewDynamic(l,o){l===void 0&&(l="current"),o===void 0&&(o=!1);const c=this,{params:p,slides:h,slidesGrid:m,slidesSizesGrid:w,size:b,activeIndex:T}=c;let O=1;if(typeof p.slidesPerView=="number")return p.slidesPerView;if(p.centeredSlides){let R=h[T]?Math.ceil(h[T].swiperSlideSize):0,D;for(let L=T+1;L<h.length;L+=1)h[L]&&!D&&(R+=Math.ceil(h[L].swiperSlideSize),O+=1,R>b&&(D=!0));for(let L=T-1;L>=0;L-=1)h[L]&&!D&&(R+=h[L].swiperSlideSize,O+=1,R>b&&(D=!0))}else if(l==="current")for(let R=T+1;R<h.length;R+=1)(o?m[R]+w[R]-m[T]<b:m[R]-m[T]<b)&&(O+=1);else for(let R=T-1;R>=0;R-=1)m[T]-m[R]<b&&(O+=1);return O}update(){const l=this;if(!l||l.destroyed)return;const{snapGrid:o,params:c}=l;c.breakpoints&&l.setBreakpoint(),[...l.el.querySelectorAll('[loading="lazy"]')].forEach(m=>{m.complete&&Gg(l,m)}),l.updateSize(),l.updateSlides(),l.updateProgress(),l.updateSlidesClasses();function p(){const m=l.rtlTranslate?l.translate*-1:l.translate,w=Math.min(Math.max(m,l.maxTranslate()),l.minTranslate());l.setTranslate(w),l.updateActiveIndex(),l.updateSlidesClasses()}let h;if(c.freeMode&&c.freeMode.enabled&&!c.cssMode)p(),c.autoHeight&&l.updateAutoHeight();else{if((c.slidesPerView==="auto"||c.slidesPerView>1)&&l.isEnd&&!c.centeredSlides){const m=l.virtual&&c.virtual.enabled?l.virtual.slides:l.slides;h=l.slideTo(m.length-1,0,!1,!0)}else h=l.slideTo(l.activeIndex,0,!1,!0);h||p()}c.watchOverflow&&o!==l.snapGrid&&l.checkOverflow(),l.emit("update")}changeDirection(l,o){o===void 0&&(o=!0);const c=this,p=c.params.direction;return l||(l=p==="horizontal"?"vertical":"horizontal"),l===p||l!=="horizontal"&&l!=="vertical"||(c.el.classList.remove(`${c.params.containerModifierClass}${p}`),c.el.classList.add(`${c.params.containerModifierClass}${l}`),c.emitContainerClasses(),c.params.direction=l,c.slides.forEach(h=>{l==="vertical"?h.style.width="":h.style.height=""}),c.emit("changeDirection"),o&&c.update()),c}changeLanguageDirection(l){const o=this;o.rtl&&l==="rtl"||!o.rtl&&l==="ltr"||(o.rtl=l==="rtl",o.rtlTranslate=o.params.direction==="horizontal"&&o.rtl,o.rtl?(o.el.classList.add(`${o.params.containerModifierClass}rtl`),o.el.dir="rtl"):(o.el.classList.remove(`${o.params.containerModifierClass}rtl`),o.el.dir="ltr"),o.update())}mount(l){const o=this;if(o.mounted)return!0;let c=l||o.params.el;if(typeof c=="string"&&(c=document.querySelector(c)),!c)return!1;c.swiper=o,c.parentNode&&c.parentNode.host&&c.parentNode.host.nodeName===o.params.swiperElementNodeName.toUpperCase()&&(o.isElement=!0);const p=()=>`.${(o.params.wrapperClass||"").trim().split(" ").join(".")}`;let m=c&&c.shadowRoot&&c.shadowRoot.querySelector?c.shadowRoot.querySelector(p()):Mo(c,p())[0];return!m&&o.params.createElements&&(m=db("div",o.params.wrapperClass),c.append(m),Mo(c,`.${o.params.slideClass}`).forEach(w=>{m.append(w)})),Object.assign(o,{el:c,wrapperEl:m,slidesEl:o.isElement&&!c.parentNode.host.slideSlots?c.parentNode.host:m,hostEl:o.isElement?c.parentNode.host:c,mounted:!0,rtl:c.dir.toLowerCase()==="rtl"||Du(c,"direction")==="rtl",rtlTranslate:o.params.direction==="horizontal"&&(c.dir.toLowerCase()==="rtl"||Du(c,"direction")==="rtl"),wrongRTL:Du(m,"display")==="-webkit-box"}),!0}init(l){const o=this;if(o.initialized||o.mount(l)===!1)return o;o.emit("beforeInit"),o.params.breakpoints&&o.setBreakpoint(),o.addClasses(),o.updateSize(),o.updateSlides(),o.params.watchOverflow&&o.checkOverflow(),o.params.grabCursor&&o.enabled&&o.setGrabCursor(),o.params.loop&&o.virtual&&o.params.virtual.enabled?o.slideTo(o.params.initialSlide+o.virtual.slidesBefore,0,o.params.runCallbacksOnInit,!1,!0):o.slideTo(o.params.initialSlide,0,o.params.runCallbacksOnInit,!1,!0),o.params.loop&&o.loopCreate(void 0,!0),o.attachEvents();const p=[...o.el.querySelectorAll('[loading="lazy"]')];return o.isElement&&p.push(...o.hostEl.querySelectorAll('[loading="lazy"]')),p.forEach(h=>{h.complete?Gg(o,h):h.addEventListener("load",m=>{Gg(o,m.target)})}),pb(o),o.initialized=!0,pb(o),o.emit("init"),o.emit("afterInit"),o}destroy(l,o){l===void 0&&(l=!0),o===void 0&&(o=!0);const c=this,{params:p,el:h,wrapperEl:m,slides:w}=c;return typeof c.params>"u"||c.destroyed||(c.emit("beforeDestroy"),c.initialized=!1,c.detachEvents(),p.loop&&c.loopDestroy(),o&&(c.removeClasses(),h&&typeof h!="string"&&h.removeAttribute("style"),m&&m.removeAttribute("style"),w&&w.length&&w.forEach(b=>{b.classList.remove(p.slideVisibleClass,p.slideFullyVisibleClass,p.slideActiveClass,p.slideNextClass,p.slidePrevClass),b.removeAttribute("style"),b.removeAttribute("data-swiper-slide-index")})),c.emit("destroy"),Object.keys(c.eventsListeners).forEach(b=>{c.off(b)}),l!==!1&&(c.el&&typeof c.el!="string"&&(c.el.swiper=null),bA(c)),c.destroyed=!0),null}static extendDefaults(l){Wa(Gw,l)}static get extendedDefaults(){return Gw}static get defaults(){return vb}static installModule(l){Do.prototype.__modules__||(Do.prototype.__modules__=[]);const o=Do.prototype.__modules__;typeof l=="function"&&o.indexOf(l)<0&&o.push(l)}static use(l){return Array.isArray(l)?(l.forEach(o=>Do.installModule(o)),Do):(Do.installModule(l),Do)}};Object.keys(Ww).forEach(i=>{Object.keys(Ww[i]).forEach(l=>{_b.prototype[l]=Ww[i][l]})});_b.use([NA,zA]);const iR=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function oc(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"&&!i.__swiper__}function pd(i,l){const o=["__proto__","constructor","prototype"];Object.keys(l).filter(c=>o.indexOf(c)<0).forEach(c=>{typeof i[c]>"u"?i[c]=l[c]:oc(l[c])&&oc(i[c])&&Object.keys(l[c]).length>0?l[c].__swiper__?i[c]=l[c]:pd(i[c],l[c]):i[c]=l[c]})}function lR(i){return i===void 0&&(i={}),i.navigation&&typeof i.navigation.nextEl>"u"&&typeof i.navigation.prevEl>"u"}function oR(i){return i===void 0&&(i={}),i.pagination&&typeof i.pagination.el>"u"}function uR(i){return i===void 0&&(i={}),i.scrollbar&&typeof i.scrollbar.el>"u"}function sR(i){i===void 0&&(i="");const l=i.split(" ").map(c=>c.trim()).filter(c=>!!c),o=[];return l.forEach(c=>{o.indexOf(c)<0&&o.push(c)}),o.join(" ")}function FP(i){return i===void 0&&(i=""),i?i.includes("swiper-wrapper")?i:`swiper-wrapper ${i}`:"swiper-wrapper"}function IP(i){let{swiper:l,slides:o,passedParams:c,changedParams:p,nextEl:h,prevEl:m,scrollbarEl:w,paginationEl:b}=i;const T=p.filter(ee=>ee!=="children"&&ee!=="direction"&&ee!=="wrapperClass"),{params:O,pagination:R,navigation:D,scrollbar:L,virtual:M,thumbs:U}=l;let P,N,z,j,q,$,se,le;p.includes("thumbs")&&c.thumbs&&c.thumbs.swiper&&!c.thumbs.swiper.destroyed&&O.thumbs&&(!O.thumbs.swiper||O.thumbs.swiper.destroyed)&&(P=!0),p.includes("controller")&&c.controller&&c.controller.control&&O.controller&&!O.controller.control&&(N=!0),p.includes("pagination")&&c.pagination&&(c.pagination.el||b)&&(O.pagination||O.pagination===!1)&&R&&!R.el&&(z=!0),p.includes("scrollbar")&&c.scrollbar&&(c.scrollbar.el||w)&&(O.scrollbar||O.scrollbar===!1)&&L&&!L.el&&(j=!0),p.includes("navigation")&&c.navigation&&(c.navigation.prevEl||m)&&(c.navigation.nextEl||h)&&(O.navigation||O.navigation===!1)&&D&&!D.prevEl&&!D.nextEl&&(q=!0);const ve=ee=>{l[ee]&&(l[ee].destroy(),ee==="navigation"?(l.isElement&&(l[ee].prevEl.remove(),l[ee].nextEl.remove()),O[ee].prevEl=void 0,O[ee].nextEl=void 0,l[ee].prevEl=void 0,l[ee].nextEl=void 0):(l.isElement&&l[ee].el.remove(),O[ee].el=void 0,l[ee].el=void 0))};p.includes("loop")&&l.isElement&&(O.loop&&!c.loop?$=!0:!O.loop&&c.loop?se=!0:le=!0),T.forEach(ee=>{if(oc(O[ee])&&oc(c[ee]))Object.assign(O[ee],c[ee]),(ee==="navigation"||ee==="pagination"||ee==="scrollbar")&&"enabled"in c[ee]&&!c[ee].enabled&&ve(ee);else{const J=c[ee];(J===!0||J===!1)&&(ee==="navigation"||ee==="pagination"||ee==="scrollbar")?J===!1&&ve(ee):O[ee]=c[ee]}}),T.includes("controller")&&!N&&l.controller&&l.controller.control&&O.controller&&O.controller.control&&(l.controller.control=O.controller.control),p.includes("children")&&o&&M&&O.virtual.enabled?(M.slides=o,M.update(!0)):p.includes("virtual")&&M&&O.virtual.enabled&&(o&&(M.slides=o),M.update(!0)),p.includes("children")&&o&&O.loop&&(le=!0),P&&U.init()&&U.update(!0),N&&(l.controller.control=O.controller.control),z&&(l.isElement&&(!b||typeof b=="string")&&(b=document.createElement("div"),b.classList.add("swiper-pagination"),b.part.add("pagination"),l.el.appendChild(b)),b&&(O.pagination.el=b),R.init(),R.render(),R.update()),j&&(l.isElement&&(!w||typeof w=="string")&&(w=document.createElement("div"),w.classList.add("swiper-scrollbar"),w.part.add("scrollbar"),l.el.appendChild(w)),w&&(O.scrollbar.el=w),L.init(),L.updateSize(),L.setTranslate()),q&&(l.isElement&&((!h||typeof h=="string")&&(h=document.createElement("div"),h.classList.add("swiper-button-next"),r1(h,l.hostEl.constructor.nextButtonSvg),h.part.add("button-next"),l.el.appendChild(h)),(!m||typeof m=="string")&&(m=document.createElement("div"),m.classList.add("swiper-button-prev"),r1(m,l.hostEl.constructor.prevButtonSvg),m.part.add("button-prev"),l.el.appendChild(m))),h&&(O.navigation.nextEl=h),m&&(O.navigation.prevEl=m),D.init(),D.update()),p.includes("allowSlideNext")&&(l.allowSlideNext=c.allowSlideNext),p.includes("allowSlidePrev")&&(l.allowSlidePrev=c.allowSlidePrev),p.includes("direction")&&l.changeDirection(c.direction,!1),($||le)&&l.loopDestroy(),(se||le)&&l.loopCreate(),l.update()}function HP(i,l){i===void 0&&(i={}),l===void 0&&(l=!0);const o={on:{}},c={},p={};pd(o,vb),o._emitClasses=!0,o.init=!1;const h={},m=iR.map(b=>b.replace(/_/,"")),w=Object.assign({},i);return Object.keys(w).forEach(b=>{typeof i[b]>"u"||(m.indexOf(b)>=0?oc(i[b])?(o[b]={},p[b]={},pd(o[b],i[b]),pd(p[b],i[b])):(o[b]=i[b],p[b]=i[b]):b.search(/on[A-Z]/)===0&&typeof i[b]=="function"?l?c[`${b[2].toLowerCase()}${b.substr(3)}`]=i[b]:o.on[`${b[2].toLowerCase()}${b.substr(3)}`]=i[b]:h[b]=i[b])}),["navigation","pagination","scrollbar"].forEach(b=>{o[b]===!0&&(o[b]={}),o[b]===!1&&delete o[b]}),{params:o,passedParams:p,rest:h,events:c}}function BP(i,l){let{el:o,nextEl:c,prevEl:p,paginationEl:h,scrollbarEl:m,swiper:w}=i;lR(l)&&c&&p&&(w.params.navigation.nextEl=c,w.originalParams.navigation.nextEl=c,w.params.navigation.prevEl=p,w.originalParams.navigation.prevEl=p),oR(l)&&h&&(w.params.pagination.el=h,w.originalParams.pagination.el=h),uR(l)&&m&&(w.params.scrollbar.el=m,w.originalParams.scrollbar.el=m),w.init(o)}function VP(i,l,o,c,p){const h=[];if(!l)return h;const m=b=>{h.indexOf(b)<0&&h.push(b)};if(o&&c){const b=c.map(p),T=o.map(p);b.join("")!==T.join("")&&m("children"),c.length!==o.length&&m("children")}return iR.filter(b=>b[0]==="_").map(b=>b.replace(/_/,"")).forEach(b=>{if(b in i&&b in l)if(oc(i[b])&&oc(l[b])){const T=Object.keys(i[b]),O=Object.keys(l[b]);T.length!==O.length?m(b):(T.forEach(R=>{i[b][R]!==l[b][R]&&m(b)}),O.forEach(R=>{i[b][R]!==l[b][R]&&m(b)}))}else i[b]!==l[b]&&m(b)}),h}const $P=i=>{!i||i.destroyed||!i.params.virtual||i.params.virtual&&!i.params.virtual.enabled||(i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.emit("_virtualUpdated"),i.parallax&&i.params.parallax&&i.params.parallax.enabled&&i.parallax.setTranslate())};function ry(){return ry=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},ry.apply(this,arguments)}function cR(i){return i.type&&i.type.displayName&&i.type.displayName.includes("SwiperSlide")}function fR(i){const l=[];return Fe.Children.toArray(i).forEach(o=>{cR(o)?l.push(o):o.props&&o.props.children&&fR(o.props.children).forEach(c=>l.push(c))}),l}function WP(i){const l=[],o={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return Fe.Children.toArray(i).forEach(c=>{if(cR(c))l.push(c);else if(c.props&&c.props.slot&&o[c.props.slot])o[c.props.slot].push(c);else if(c.props&&c.props.children){const p=fR(c.props.children);p.length>0?p.forEach(h=>l.push(h)):o["container-end"].push(c)}else o["container-end"].push(c)}),{slides:l,slots:o}}function GP(i,l,o){if(!o)return null;const c=O=>{let R=O;return O<0?R=l.length+O:R>=l.length&&(R=R-l.length),R},p=i.isHorizontal()?{[i.rtlTranslate?"right":"left"]:`${o.offset}px`}:{top:`${o.offset}px`},{from:h,to:m}=o,w=i.params.loop?-l.length:0,b=i.params.loop?l.length*2:l.length,T=[];for(let O=w;O<b;O+=1)O>=h&&O<=m&&T.push(l[c(O)]);return T.map((O,R)=>Fe.cloneElement(O,{swiper:i,style:p,key:O.props.virtualIndex||O.key||`slide-${R}`}))}function Iv(i,l){return typeof window>"u"?Fe.useEffect(i,l):Fe.useLayoutEffect(i,l)}const u1=Fe.createContext(null),YP=Fe.createContext(null),dR=Fe.forwardRef(function(i,l){let{className:o,tag:c="div",wrapperTag:p="div",children:h,onSwiper:m,...w}=i===void 0?{}:i,b=!1;const[T,O]=Fe.useState("swiper"),[R,D]=Fe.useState(null),[L,M]=Fe.useState(!1),U=Fe.useRef(!1),P=Fe.useRef(null),N=Fe.useRef(null),z=Fe.useRef(null),j=Fe.useRef(null),q=Fe.useRef(null),$=Fe.useRef(null),se=Fe.useRef(null),le=Fe.useRef(null),{params:ve,passedParams:ee,rest:J,events:re}=HP(w),{slides:oe,slots:we}=WP(h),Qe=()=>{M(!L)};Object.assign(ve.on,{_containerClasses(Se,ye){O(ye)}});const Ge=()=>{Object.assign(ve.on,re),b=!0;const Se={...ve};if(delete Se.wrapperClass,N.current=new _b(Se),N.current.virtual&&N.current.params.virtual.enabled){N.current.virtual.slides=oe;const ye={cache:!1,slides:oe,renderExternal:D,renderExternalUpdate:!1};pd(N.current.params.virtual,ye),pd(N.current.originalParams.virtual,ye)}};P.current||Ge(),N.current&&N.current.on("_beforeBreakpoint",Qe);const be=()=>{b||!re||!N.current||Object.keys(re).forEach(Se=>{N.current.on(Se,re[Se])})},$e=()=>{!re||!N.current||Object.keys(re).forEach(Se=>{N.current.off(Se,re[Se])})};Fe.useEffect(()=>()=>{N.current&&N.current.off("_beforeBreakpoint",Qe)}),Fe.useEffect(()=>{!U.current&&N.current&&(N.current.emitSlidesClasses(),U.current=!0)}),Iv(()=>{if(l&&(l.current=P.current),!!P.current)return N.current.destroyed&&Ge(),BP({el:P.current,nextEl:q.current,prevEl:$.current,paginationEl:se.current,scrollbarEl:le.current,swiper:N.current},ve),m&&!N.current.destroyed&&m(N.current),()=>{N.current&&!N.current.destroyed&&N.current.destroy(!0,!1)}},[]),Iv(()=>{be();const Se=VP(ee,z.current,oe,j.current,ye=>ye.key);return z.current=ee,j.current=oe,Se.length&&N.current&&!N.current.destroyed&&IP({swiper:N.current,slides:oe,passedParams:ee,changedParams:Se,nextEl:q.current,prevEl:$.current,scrollbarEl:le.current,paginationEl:se.current}),()=>{$e()}}),Iv(()=>{$P(N.current)},[R]);function ue(){return ve.virtual?GP(N.current,oe,R):oe.map((Se,ye)=>Fe.cloneElement(Se,{swiper:N.current,swiperSlideIndex:ye}))}return Fe.createElement(c,ry({ref:P,className:sR(`${T}${o?` ${o}`:""}`)},J),Fe.createElement(YP.Provider,{value:N.current},we["container-start"],Fe.createElement(p,{className:FP(ve.wrapperClass)},we["wrapper-start"],ue(),we["wrapper-end"]),lR(ve)&&Fe.createElement(Fe.Fragment,null,Fe.createElement("div",{ref:$,className:"swiper-button-prev"}),Fe.createElement("div",{ref:q,className:"swiper-button-next"})),uR(ve)&&Fe.createElement("div",{ref:le,className:"swiper-scrollbar"}),oR(ve)&&Fe.createElement("div",{ref:se,className:"swiper-pagination"}),we["container-end"]))});dR.displayName="Swiper";const pR=Fe.forwardRef(function(i,l){let{tag:o="div",children:c,className:p="",swiper:h,zoom:m,lazy:w,virtualIndex:b,swiperSlideIndex:T,...O}=i===void 0?{}:i;const R=Fe.useRef(null),[D,L]=Fe.useState("swiper-slide"),[M,U]=Fe.useState(!1);function P(q,$,se){$===R.current&&L(se)}Iv(()=>{if(typeof T<"u"&&(R.current.swiperSlideIndex=T),l&&(l.current=R.current),!(!R.current||!h)){if(h.destroyed){D!=="swiper-slide"&&L("swiper-slide");return}return h.on("_slideClass",P),()=>{h&&h.off("_slideClass",P)}}}),Iv(()=>{h&&R.current&&!h.destroyed&&L(h.getSlideClasses(R.current))},[h]);const N={isActive:D.indexOf("swiper-slide-active")>=0,isVisible:D.indexOf("swiper-slide-visible")>=0,isPrev:D.indexOf("swiper-slide-prev")>=0,isNext:D.indexOf("swiper-slide-next")>=0},z=()=>typeof c=="function"?c(N):c,j=()=>{U(!0)};return Fe.createElement(o,ry({ref:R,className:sR(`${D}${p?` ${p}`:""}`),"data-swiper-slide-index":b,onLoad:j},O),m&&Fe.createElement(u1.Provider,{value:N},Fe.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof m=="number"?m:void 0},z(),w&&!M&&Fe.createElement("div",{className:"swiper-lazy-preloader"}))),!m&&Fe.createElement(u1.Provider,{value:N},z(),w&&!M&&Fe.createElement("div",{className:"swiper-lazy-preloader"})))});pR.displayName="SwiperSlide";const qP="sliderTestId",QP=({spaceBetween:i,slidesPerView:l,block:o,breakpoints:c,modules:p,children:h})=>ge.jsx(dR,{className:Hn(o,"slider"),"data-testid":qP,modules:p,spaceBetween:i,slidesPerView:l,breakpoints:c,children:h}),XP=Object.assign(QP,{Slide:pR}),KP=Object.freeze({LEFT:"left",RIGHT:"right"}),ZP="sliderNavigateTestId",JP="navigateButtonTestId",e3={left:ge.jsx(Gi.ArrowNarrowLeft,{}),right:ge.jsx(Gi.ArrowNarrowRight,{})},t3=({placement:i})=>ge.jsx("button",{"data-testid":JP,type:"button",className:"slider-navigate__button",children:e3[i]}),n3=()=>ge.jsx("div",{"data-testid":ZP,className:"slider-navigate",children:Object.values(KP).map(i=>ge.jsx(t3,{placement:i},i))}),r3=({block:i,isOpen:l,textContent:o,title:c,onClick:p})=>ge.jsxs(ic.Layout,{isOpen:l,block:i,children:[ge.jsx(ic.Block,{title:c,onClick:p}),ge.jsx(ic.Content,{isOpen:l,children:o})]}),a3=({isOpen:i,children:l})=>{const{style:o,contentRef:c}=mb(i);return ge.jsx("div",{style:o,className:"accordion__content",children:ge.jsx("p",{className:"accordion__text",ref:c,children:l})})},i3=()=>ge.jsx(Gi.ArrowNarrowDown,{className:"accordion__arrow"}),l3=({title:i})=>ge.jsx("h3",{className:"accordion__title",children:i}),o3=({onClick:i,title:l})=>ge.jsxs(ic.Button,{onClick:i,children:[ge.jsx(ic.Title,{title:l}),ge.jsx(ic.Arrow,{})]}),u3="accordionTestId",s3=({block:i,isOpen:l,children:o})=>ge.jsx("div",{"data-testid":u3,className:Hn(i,"accordion",{_active:l}),children:o}),c3=({onClick:i,children:l})=>ge.jsx("button",{onClick:i,type:"button",className:"accordion__button",children:l}),ic=Object.assign(r3,{Content:a3,Arrow:i3,Title:l3,Block:o3,Layout:s3,Button:c3});exports.Accordion=ic;exports.Button=yb;exports.ButtonWithIcon=v1;exports.Category=TL;exports.Checkbox=Bg;exports.Dropdown=Av;exports.FavButton=FL;exports.Field=Yw;exports.FilterAccordion=sd;exports.FilterButton=nN;exports.Gallery=QN;exports.Icons=Gi;exports.Input=R1;exports.LinkWithIcon=mz;exports.NavLink=gz;exports.Pagination=Fv;exports.RangeSlider=uA;exports.RouterLink=V1;exports.Select=rc;exports.Slider=XP;exports.SliderNavigate=n3;exports.capitalizeFirstLetter=c1;exports.cn=Hn;exports.dropdownOptionsMock=yL;exports.imagesMock=gL;exports.pageSizeMock=mL;exports.rangeSliderArrayMock=SL;exports.selectOptionsMock=vL;exports.sliderSlideArrayMock=wL;exports.totalCountPageMock=hL;exports.useAccordionHeight=mb;exports.useClickOutside=gb;exports.useMatchMedia=bL;exports.withBlockClass=hb;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/global.css');;/* empty css */const i=require("./services/helpers.js"),t=require("./services/icons.js"),e=require("./services/mocks.js"),r=require("./services/hoc/withBlockClass.js"),o=require("./services/hooks/useAccordionHeight.js"),n=require("./services/hooks/useMatchMedia.js"),c=require("./services/hooks/useClickOutside.js"),s=require("./components/Category/Category.js"),u=require("./components/Checkbox/index.js"),a=require("./components/Dropdown/index.js"),l=require("./components/FavButton/FavButton.js"),d=require("./components/Field/index.js"),k=require("./components/FilterAccordion/index.js"),q=require("./components/FilterButton/FilterButton.js"),g=require("./components/Gallery/Gallery.js"),M=require("./components/Input/Input.js"),h=require("./components/LinkWithIcon/LinkWithIcon.js"),S=require("./components/NavLink/NavLink.js"),p=require("./components/Pagination/index.js"),B=require("./components/RangeSlider/RangeSlider.js"),C=require("./components/RouterLink/RouterLink.js"),y=require("./components/Select/index.js"),F=require("./components/Slider/index.js"),A=require("./components/SliderNavigate/SliderNavigate.js"),I=require("./components/Accordion/index.js"),L=require("./components/ButtonWithIcon/ButtonWithIcon.js"),v=require("./components/Button/Button.js");exports.capitalizeFirstLetter=i.capitalizeFirstLetter;exports.cn=i.cn;exports.Icons=t.Icons;exports.dropdownOptionsMock=e.dropdownOptionsMock;exports.imagesMock=e.imagesMock;exports.pageSizeMock=e.pageSizeMock;exports.rangeSliderArrayMock=e.rangeSliderArrayMock;exports.selectOptionsMock=e.selectOptionsMock;exports.sliderSlideArrayMock=e.sliderSlideArrayMock;exports.totalCountPageMock=e.totalCountPageMock;exports.withBlockClass=r.withBlockClass;exports.useAccordionHeight=o.useAccordionHeight;exports.useMatchMedia=n.useMatchMedia;exports.useClickOutside=c.useClickOutside;exports.Category=s.Category;exports.Checkbox=u.Checkbox;exports.Dropdown=a.Dropdown;exports.FavButton=l.FavButton;exports.Field=d.Field;exports.FilterAccordion=k.FilterAccordion;exports.FilterButton=q.FilterButton;exports.Gallery=g.Gallery;exports.Input=M.Input;exports.LinkWithIcon=h.LinkWithIcon;exports.NavLink=S.NavLink;exports.Pagination=p.Pagination;exports.RangeSlider=B.RangeSlider;exports.RouterLink=C.RouterLink;exports.Select=y.Select;exports.Slider=F.Slider;exports.SliderNavigate=A.SliderNavigate;exports.Accordion=I.Accordion;exports.ButtonWithIcon=L.ButtonWithIcon;exports.Button=v.Button;
|
|
192
2
|
//# sourceMappingURL=index.js.map
|